CN112770337A - Drive test method, device, terminal and storage medium - Google Patents

Drive test method, device, terminal and storage medium Download PDF

Info

Publication number
CN112770337A
CN112770337A CN201911002497.XA CN201911002497A CN112770337A CN 112770337 A CN112770337 A CN 112770337A CN 201911002497 A CN201911002497 A CN 201911002497A CN 112770337 A CN112770337 A CN 112770337A
Authority
CN
China
Prior art keywords
test
terminal
drive test
transmission link
data transmission
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
Application number
CN201911002497.XA
Other languages
Chinese (zh)
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.)
Beijing Jingdong Zhenshi Information Technology Co Ltd
Original Assignee
Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Zhenshi Information Technology Co Ltd filed Critical Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority to CN201911002497.XA priority Critical patent/CN112770337A/en
Publication of CN112770337A publication Critical patent/CN112770337A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a drive test method, a drive test device, a drive test terminal and a storage medium, wherein the method comprises the following steps: receiving a test instruction sent by a control terminal, and acquiring test parameters corresponding to the test instruction from a remote server according to the test instruction; creating a test task based on the test parameters, and acquiring a data stream related to the wireless network, which is generated in the process of executing the test task; and analyzing the data stream to determine network environment parameters corresponding to the data stream, and sending the network environment parameters to the control terminal through a preset data transmission link so as to optimize the network according to the network environment parameters. According to the technical scheme of the embodiment of the invention, one control terminal can simultaneously control at least one drive test terminal to carry out drive test, so that the technical effects of improving the drive test efficiency and accuracy and saving time are achieved.

Description

Drive test method, device, terminal and storage medium
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a drive test method, a drive test device, a drive test terminal and a storage medium.
Background
In recent years, mobile internet has become a hotspot of IT industry, and brings a great economic benefit, and the mobile internet can stably and efficiently operate without leaving the bottom millions of wireless network facilities. When a user accesses each website through a mobile terminal, it is essential to stabilize a high-speed network environment, and at this time, a wireless communication network is important as an infrastructure of a mobile internet.
When the wireless network is poor and the experience of the user is poor, the wireless network optimization needs to be implemented. The existing wireless network optimization means mainly have two implementation modes, one mode is realized through a professional drive test instrument, and the other mode is realized through drive test software installed on a terminal. In both of the two embodiments, the network parameters need to be tested and collected along a given route, then the collected network parameters are analyzed and processed, and the current network facilities are improved and upgraded according to the analysis and processing result, so that high-quality network service is ensured.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
both of the above embodiments have certain limitations. When a professional instrument is adopted for road measurement, a special worker is required to take charge of the road measurement, the range of data acquisition is wide, and the implementation in a wide range is difficult to obtain; based on the drive test software of the mobile terminal, in the real drive test process, a tester often needs to drive a car or ride a high-speed rail and carry intelligent terminals produced by various mainstream manufacturers to carry out test comparison. After the drive test starts, a tester operates the drive test software installed on a plurality of terminals simultaneously, the steps of service scene selection, parameter configuration and the like are carried out, then the service is executed, the requirements of the links on the professional performance of the tester are high, if the service scene is complex, the cost of manpower and material resources needs to be invested, and more test time needs to be consumed.
Disclosure of Invention
The embodiment of the invention provides a drive test method, a system device, a terminal and a storage medium, which are used for realizing the technical effect of improving the drive test efficiency.
In a first aspect, an embodiment of the present invention provides a drive test method, where the method is applied to a drive test terminal, and includes:
receiving a test instruction sent by a control terminal, and acquiring test parameters corresponding to the test instruction from a remote server according to the test instruction;
creating a test task based on the test parameters, and acquiring a data stream related to the wireless network, which is generated in the process of executing the test task;
and analyzing and processing the data stream to determine a network environment parameter corresponding to the data stream, and sending the network environment parameter to the control terminal through a preset transmission link so as to optimize the network according to the network environment parameter.
In a second aspect, an embodiment of the present invention further provides a drive test method, where the method is applied to a control terminal, and includes:
establishing a data transmission link with at least one drive test terminal;
respectively sending a test instruction to the at least one drive test terminal based on the data transmission link so as to enable the at least one drive test terminal to execute a test task according to the test instruction;
and receiving the network environment parameters which are fed back by the at least one drive test terminal and are obtained by executing the test task based on the data transmission link.
In a third aspect, an embodiment of the present invention further provides a drive test apparatus, where the apparatus may be configured in a drive test terminal, and the apparatus includes:
the test parameter acquisition module is used for receiving a test instruction sent by the control terminal and acquiring test parameters corresponding to the test instruction from the remote server according to the test instruction;
the data flow acquisition module is used for creating a test task based on the test parameters and acquiring data flows which are generated in the process of executing the test task and are related to the wireless network;
and the network environment parameter sending module is used for analyzing and processing the data stream to determine a network environment parameter corresponding to the data stream, and sending the network environment parameter to the control terminal through a preset transmission link so as to optimize the network according to the network environment parameter.
In a fourth aspect, an embodiment of the present invention further provides a drive test apparatus, where the drive test apparatus is configured in a control terminal, and the drive test apparatus includes:
the transmission link establishing module is used for establishing a data transmission link with at least one drive test terminal;
the test instruction sending module is used for respectively sending test instructions to the at least one drive test terminal based on the data transmission link so as to enable the at least one drive test terminal to execute a test task according to the test instructions;
and the network environment parameter receiving module is used for receiving the network environment parameters which are fed back by the at least one drive test terminal and are obtained by executing the test task based on the data transmission link.
In a fifth aspect, an embodiment of the present invention further provides a terminal, where the terminal includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the drive test method according to any one of the embodiments of the present invention.
In a sixth aspect, the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method according to any one of the embodiments of the present invention.
According to the technical scheme of the embodiment of the invention, the test instruction sent by the control terminal is received, and the test parameters corresponding to the test instruction are obtained from the remote server according to the test instruction; creating a test task based on the test parameters, and acquiring a data stream related to the wireless network, which is generated in the process of executing the test task; the data flow is analyzed and processed to determine network environment parameters corresponding to the data flow, and the network environment parameters are sent to the control terminal through the preset data transmission link, so that the network can be optimized according to the network environment parameters, the technical problems that in the prior art, when the road test is carried out through a road test terminal, testers need to simultaneously operate road test software installed on a plurality of terminals, service scene selection, parameter configuration and the like are needed, the operation is complex and complicated, when the executed service scene is complex, more labor cost needs to be invested, and more test time needs to be consumed are solved, one control terminal can simultaneously control at least one road test terminal to carry out the road test, and the technical effects of improving the road test efficiency, accuracy and saving time are achieved.
Drawings
In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, a brief description is given below of the drawings used in describing the embodiments. It should be clear that the described figures are only views of some of the embodiments of the invention to be described, not all, and that for a person skilled in the art, other figures can be derived from these figures without inventive effort.
Fig. 1 is a schematic flow chart of a drive test method according to a first embodiment of the present invention;
fig. 2 is a schematic flow chart of the establishment of the dual-channel data transmission link according to the second embodiment of the present invention;
fig. 3 is a schematic flowchart of establishing a dual-channel data transmission link between a drive test terminal and a control terminal according to a second embodiment of the present invention;
fig. 4 is a schematic flowchart of establishing a dual-channel data transmission link between a drive test terminal and a control terminal according to a third embodiment of the present invention;
fig. 5 is a schematic flow chart of a drive test method according to a fourth embodiment of the present invention;
fig. 6 is a schematic flow chart illustrating information interaction between a drive test terminal and a control terminal according to a fifth embodiment of the present invention;
fig. 7 is a schematic flow chart of a preferred embodiment of a drive test method according to a fifth embodiment of the present invention;
fig. 8 is a schematic structural diagram of a drive test apparatus according to a sixth embodiment of the present invention;
fig. 9 is a schematic structural diagram of a drive test apparatus according to a seventh embodiment of the present invention;
fig. 10 is a schematic structural diagram of a terminal according to an eighth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a schematic flow chart of a drive test method according to a first embodiment of the present invention, where the present embodiment is applicable to a drive test terminal, and the method may be executed by a drive test apparatus, and the apparatus may be implemented in a form of software and/or hardware.
As shown in fig. 1, the method of this embodiment includes:
s101, receiving a test instruction sent by a control terminal, and acquiring a test parameter corresponding to the test instruction from a remote server according to the test instruction.
The control terminal may be understood as a terminal that sends the control instruction and the test instruction, and optionally, the control terminal may be a mobile terminal such as a mobile phone and a Pad. The number of control terminals may be one. The receiving of the test instruction sent by the control terminal may be performed by the drive test terminal. The drive test terminal can be a mobile terminal, optionally a smart phone. The drive test terminals may be the same device or different devices, and when different devices are used for driving, parameters corresponding to the devices may need to be acquired. That is, when a drive test terminal is used for driving, parameters corresponding to each device need to be acquired to implement a drive test function. In order to make the drive test data as accurate as possible, the number of the drive test terminals may be as large as possible, optionally, the number of the drive test terminals is 50 or 100, and the number of the drive test terminals may be set by a user according to actual requirements. That is, one control terminal may control at least one drive test terminal, that is, when the control terminal transmits a test instruction, the test instruction may be transmitted to at least one drive test terminal, respectively. The remote server may be understood to store parameter information generated during the test as well as the test parameters.
Wherein, the test instruction may be: downloading a test instruction of a file, sending a test instruction of a short message and a multimedia message, and sending a test instruction of a video/voice telephone and the like. The drive test terminal can execute a test task corresponding to the test instruction according to the test instruction. Before executing the test task, it is necessary to obtain the test parameters corresponding to the test instruction from the remote server, where the test parameters correspond to the model of each drive test terminal, that is, the remote server stores the parameters corresponding to the models of the drive test terminals, and when the drive test terminal is used, the corresponding test parameters can be directly obtained.
Specifically, when the road test terminal receives a test instruction sent by the control terminal, the test parameters corresponding to the test instruction are obtained from the remote server according to the test instruction.
S102, creating a test task based on the test parameters, and acquiring data streams related to the wireless network and generated in the process of executing the test task.
And creating a test task corresponding to the test instruction according to the acquired test parameters corresponding to each drive test terminal, and optionally creating a test task for downloading the file. The test task can also be understood as a service scene which needs to be executed by at least one drive test terminal, wherein the service scene can be TP large file downloading, HTTP video website access, call making, short and multimedia messages and the like.
The drive test terminal can also be provided with a recording device which can record data flow which is generated when the test task is executed and is related to the wireless network. When executing the testing task, the wireless network can be used as a medium to carry out data transmission with various remote resource servers. For example, if the test task of downloading the file is executed, data transmission may be performed with the file server during the execution of the test task of downloading the file. When the file is transmitted, a data stream related to the wireless network may be generated, and optionally, other data such as data of each base station, data of a cell, and the like may be generated during the file transmission process. It should be noted that, at this time, the data stream related to the wireless network, which is acquired by the drive test terminal, is transmitted in a binary form.
S103, analyzing and processing the data stream to determine network environment parameters corresponding to the data stream, and sending the network environment parameters to the control terminal through a preset data transmission link so as to optimize the network according to the network environment parameters.
It should be noted that, during the data stream transmission process, the drive test terminal may parse the data stream, that is, parse the binary data into decimal data, where the presented data corresponds to the wireless network parameters generated during the test task. And transmitting the network environment parameters generated when the test task is executed to the control terminal through a preset transmission link, so that the control terminal analyzes and processes the received network environment parameters and determines network optimization measures.
Certainly, in the actual application process, the network environment parameter information may also be stored in a file form and then sent to a remote server.
The network environment parameters are sent to the control terminal or the remote server, so that the staff can optimize the network according to the received network environment parameters, and optionally, whether the base station needs to be maintained, whether the base station needs to be established and the like are determined according to the network environment parameters.
According to the technical scheme of the embodiment of the invention, the test instruction sent by the control terminal is received, and the test parameters corresponding to the test instruction are obtained from the remote server according to the test instruction; creating a test task based on the test parameters, and acquiring a data stream related to the wireless network, which is generated in the process of executing the test task; the data flow is analyzed and processed to determine network environment parameters corresponding to the data flow, and the network environment parameters are sent to the control terminal through the preset data transmission link, so that the network can be optimized according to the network environment parameters, the technical problems that in the prior art, when the road test is carried out through a road test terminal, testers need to simultaneously operate road test software installed on a plurality of terminals, service scene selection, parameter configuration and the like are needed, the operation is complex and complicated, when the executed service scene is complex, more labor cost needs to be invested, and more test time needs to be consumed are solved, one control terminal can simultaneously control at least one road test terminal to carry out the road test, and the technical effects of improving the road test efficiency, accuracy and saving time are achieved.
Example two
When the test instruction is issued and the test task is executed, in order to avoid the inaccuracy of the network environment parameters obtained in the test process, a dual-channel data transmission link between the drive test terminal and the control terminal can be established before the test instruction is sent. That is, one data transmission link is used for executing the test task, and one data transmission link is used for sending the test instruction and transmitting the network environment parameters generated in the test process. Wherein, each data transmission link is independent, that is, the generated data flow is independent in the process of executing task and transmitting data. Fig. 2 is a schematic flow chart of the establishment of the dual-channel data transmission link according to the second embodiment of the present invention.
Before describing the establishment of the dual channel data transmission link, a simple description of the dual channel data transmission link is provided. It can be understood that one channel data transmission link is a WIFI data communication link, and is used to transmit network environment parameters generated by the drive test terminal in the process of executing the test task, and also can transmit a test instruction sent by the control terminal. The other data transmission link is a mobile network communication link, in short a 4G data transmission link, which is mainly used to perform testing tasks. In order to establish the dual-channel data transmission link on the drive test terminal, an application program can be installed in the drive test, and the application program can realize the function of establishing the WIFI data transmission link.
Specifically, as shown in fig. 2, the method of the embodiment of the present invention includes:
s201, receiving an instruction of connecting a mobile network and executing operation of connecting the mobile network so as to establish a mobile network communication link.
It should be noted that each Android device is provided with an Android Framework. The Android frame in the Android device limits the device to preferentially use the WIFI, that is, if the 4G network and the WIFI are started at the same time and can be used, the Android frame in the terminal preferentially uses the WIFI, and meanwhile, the 4G network is shielded. Because a test task needs to be executed through a 4G network, that is, a mobile network communication link, in a drive test process, and a data stream related to a wireless network generated in the task execution process is further determined, so as to determine a network optimization measure, the mobile network communication link and a WIFI data transmission link need to be independent of each other.
In order to avoid the situation that the testing task cannot be executed through the mobile network communication link, the Framework in the android device can be bypassed, and the WIFI can be started directly through the core management module in the android device.
The establishing of the mobile network communication link may be to close a switch connected to the WIFI on the drive test terminal or to make the WIFI connection in a closed state. And triggering an instruction of connecting the 4G network, and when the 4G network is connected, establishing a 4G data transmission link, namely a mobile network communication link. In order to determine whether the mobile network communication link establishment was successful, PING detection can be used to determine whether the 4G data transmission link establishment was successful.
If the detection result is that the mobile network communication link is successfully established, no operation is required to be executed, if the mobile network communication link is not successfully established, the network condition can be detected, and the 4G data transmission link is reestablished, namely the mobile network communication link is established.
S202, receiving an instruction of connecting a wireless local area network WIFI and executing an operation of connecting the WIFI so as to establish a WIFI data transmission link between the control terminal and the drive test terminal.
It should be noted that the drive test terminal may be connected to a hot spot corresponding to the control terminal. Therefore, when the WIFI data transmission link is established between the drive test terminal and the control terminal, the wireless hotspot of the control terminal can be opened, so that at least one drive test terminal is connected to the wireless hotspot, and the WIFI data transmission link between the control terminal and the drive test terminal is established.
Optionally, the establishing of the WIFI data transmission link in the dual-channel data transmission link may be implemented by an application program installed in the drive test terminal. Specifically, see fig. 3, as shown in fig. 3:
s301, when a trigger command for connecting the network card is detected, based on a preset linux command, the operation of loading the WIFI driver is executed, so that the wireless network card is started.
Specifically, a command for connecting the wireless network card to the application program is triggered, and when the command for connecting the wireless network card is received, the WIFI driver may be loaded based on a pre-written Linux command. That is to say, a Linux command may be written into the device port in advance, and when a trigger operation of a user is received, the command may be acquired to load an operation of the WIFI driver, so that the wireless network card is started.
It should be noted that, at this time, the wireless network card is turned on based on a pre-written Linux command, and the frame in the android device is not passed, so that it can be determined that even though a WIFI data transmission link and a mobile network communication link exist in data transmission, a situation that the WIFI data transmission link is preferentially used does not exist.
S302, when a trigger instruction for connecting the hotspot is detected, acquiring and accessing a target wireless hotspot corresponding to the control terminal based on a preset hotspot connecting instruction.
The target hotspot can be understood as a hotspot corresponding to the control terminal. When the wireless network card is started, an instruction for connecting to the hot spot can be triggered, and then the target hot spot is connected.
The method specifically comprises the following steps: wpa instructions can be written in advance in ports of application programs or ports of drive test terminal equipment. The wpa (Wi-Fi Protected Access, which protects the wireless computer network security system) is middleware of a WIFI driver and a user (WIFI application program), and supports a relevant protocol and encryption authentication. It is an open source program. When receiving the instruction of connecting the hotspot, driving the wpa _ suppplierant of the wpa layer to execute the instruction of connecting the wireless hotspot. Where wpa _ suppernant is the code or unit in the wpa layer used to implement very specific content. When the wpa _ suppernant is driven, all hotspots in a preset range of the drive test terminal can be obtained, and a target wireless hotspot corresponding to the control terminal is screened out from all hotspots and connected.
It can be understood that when the target wireless hotspot corresponding to the control terminal is connected, a unidirectional data transmission link between the control terminal and the drive test terminal is already established, that is, only data or test instructions sent by the control terminal to the drive test terminal can be realized, and data communication from the drive test terminal to the control terminal is not yet realized.
S303, acquiring a wireless gateway address and a wireless network card address corresponding to the target wireless hotspot; and establishing routing information from the drive test terminal to the control terminal according to the wireless gateway address and the wireless network card address, and updating the global routing rule to obtain a WIFI data transmission link between the drive test terminal and the control terminal.
In order to establish a WIFI data transmission link between the drive test terminal and the control terminal, a wireless gateway address and a wireless network card address corresponding to the target wireless hotspot are also required, and according to the addresses, the drive test terminal can determine to which terminal the obtained network environment parameters are to be sent, that is, determine to which terminal the network environment parameters are to be sent. That is to say, according to the obtained wireless gateway address and the wireless network card address, routing information between the drive test terminal and the control terminal can be created to obtain a WIFI data transmission link between the two terminals. The purpose of updating the routing rules is to determine which link is used to perform the test tasks associated with the test instructions, which link is used to send the test instructions, and the network environment parameter transmissions. After the routing rule is updated, a mobile network communication link can be defined to execute a test task corresponding to the test instruction, and the WIFI data transmission link is used for transmitting the test instruction and transmitting the network environment parameters.
After the WIFI data transmission link is established, the drive test terminal can send heartbeats to the control terminal, and long connection is established to obtain the dual-channel data transmission link.
On the basis of the technical scheme, after the dual-channel data transmission link is established, the connection state of the mobile network communication link and the WIFI data transmission link is monitored respectively, and if the mobile network communication link is in a non-connection state, the mobile network communication link is reconnected; and if the WIFI data transmission link is in a non-connection state, establishing the WIFI data transmission link between the drive test terminal and the control terminal.
It should be noted that, if the data transmission link is in the unconnected state, the dual-channel data transmission link can be reestablished by using the method described in the embodiment of the present invention.
According to the technical scheme of the embodiment of the invention, the test instruction sent by the control terminal is received, and the test parameters corresponding to the test instruction are obtained from the remote server according to the test instruction; creating a test task based on the test parameters, and acquiring a data stream related to the wireless network, which is generated in the process of executing the test task; the data flow is analyzed and processed to determine network environment parameters corresponding to the data flow, and the network environment parameters are sent to the control terminal through the preset data transmission link, so that the network can be optimized according to the network environment parameters, the technical problems that in the prior art, when the road test is carried out through a road test terminal, testers need to simultaneously operate road test software installed on a plurality of terminals, service scene selection, parameter configuration and the like are needed, the operation is complex and complicated, when the executed service scene is complex, more labor cost needs to be invested, and more test time needs to be consumed are solved, one control terminal can simultaneously control at least one road test terminal to carry out the road test, and the technical effects of improving the road test efficiency, accuracy and saving time are achieved.
EXAMPLE III
As a preferred embodiment of the foregoing embodiment, fig. 4 is a schematic flow chart of establishing a dual-channel data transmission link between a drive test terminal and a control terminal according to a third embodiment of the present invention.
S401, starting.
Wherein, the "start" can be understood as the start of establishing the dual channel data transmission link, and has no specific meaning. Namely, the drive test terminal establishes mobile network communication and establishes a WIFI data transmission link. And the control terminal opens the hot spot as a target wireless hot spot.
S402, starting a drive test terminal mobile network and establishing a 4G link.
The establishing of the mobile network communication link may be to close a switch connected to the WIFI on the drive test terminal or to make the WIFI connection in a closed state. And triggering an instruction for connecting the 4G network, and when the 4G network is connected, establishing a 4G data transmission link, namely a mobile network communication link. After the mobile network communication link is successfully established, PING detection can be utilized to determine whether the 4G data transmission link is successfully established.
If the detection result is that the mobile network communication link is successfully established, no operation is required to be executed, if the mobile network communication link is not successfully established, the network condition can be detected, and the 4G data transmission link is reestablished, namely the mobile network communication link is established.
And S403, starting a wireless hotspot of the control terminal, and taking the wireless hotspot as a target wireless hotspot.
It can be understood that the wireless hotspot function of the control terminal is started, and the hotspot of the control terminal is opened. Because more than one hotspot in the preset range is controlled by one control terminal, the hotspot corresponding to the control terminal can be used as the target wireless hotspot.
S404, loading a driver and starting the wireless network card.
The loading of the driver and the starting of the wireless network card are executed by the drive test terminal. The method specifically comprises the following steps: and triggering a command for connecting the wireless network card on the application program, and loading the WIFI driver based on a pre-written Linux command when the command for connecting the wireless network card is received.
S405, scanning hotspots, and driving wpa _ suppernant to access to the target wireless hotspot.
The method includes the steps that after the wireless network card is started, the drive test terminal needs to be accessed into a target wireless hotspot corresponding to the control terminal, and then a WIFI data transmission link between the control terminal and the drive test terminal is established. Specifically, the method comprises the following steps: when receiving the instruction of connecting the hotspot, driving the wpa _ suppplierant of the wpa layer to execute the instruction of connecting the wireless hotspot. Where wpa _ suppernant is the code or unit in the wpa layer used to implement very specific content. When the wpa _ suppernant is driven, all hotspots in a preset range of the drive test terminal can be obtained, and a target wireless hotspot corresponding to the control terminal is screened out from all hotspots and connected.
S406, judging whether to acquire a wireless network card address and a wireless gateway address; if so, execution of S407 is performed, and if not, execution of S405 is returned to.
When determining to access the hotspot, it is also required to confirm whether the wireless network card address and the wireless gateway address corresponding to the control terminal are acquired. The purpose of obtaining this address is to create routing information between the control terminal and the drive test terminal.
If the address mentioned above is not obtained, the routing information between the control terminal and the drive test terminal cannot be created, and thus the WIFI data transmission link between the control terminal and the drive test terminal cannot be created, so that S405 needs to be executed again to obtain the wireless network card address and the network cable gateway address corresponding to the control terminal. If the address corresponding to the control terminal is present, S407 is executed.
And S407, establishing a WIFI route, and updating the global routing rule.
According to the obtained wireless gateway address and the wireless network card address, routing information between the drive test terminal and the control terminal can be created to obtain a WIFI data transmission link between the two terminals. The purpose of updating the routing rules is to determine which channel is used to perform the test associated with the test instruction, and which channel is used to send the test instruction and the data transfer. After the routing rule is updated, a mobile network communication link can be defined to execute a test task corresponding to the test instruction, and the WIFI data transmission link is used for transmitting the test instruction and transmitting the network environment parameter.
And S408, the drive test terminal sends heartbeat to the control terminal and establishes long connection with the control terminal.
The drive test terminal sends heartbeat to the control terminal, detects the connection state between the control terminal and the drive test terminal, and can establish long connection with the drive test terminal in order to send a test instruction to the drive test terminal in real time and receive network environment parameters sent by the drive test terminal.
And S409, obtaining the WIFI data transmission link and the 4G double-channel data transmission link.
The WIFI data transmission link and the 4G dual-channel data plug-out link can be obtained through S402 to S408.
According to the technical scheme of the embodiment of the invention, the test instruction sent by the control terminal is received, and the test parameters corresponding to the test instruction are obtained from the remote server according to the test instruction; creating a test task based on the test parameters, and acquiring a data stream related to the wireless network, which is generated in the process of executing the test task; the data flow is analyzed and processed to determine network environment parameters corresponding to the data flow, and the network environment parameters are sent to the control terminal through the preset data transmission link, so that the network can be optimized according to the network environment parameters, the technical problems that in the prior art, when the road test is carried out through a road test terminal, testers need to simultaneously operate road test software installed on a plurality of terminals, service scene selection, parameter configuration and the like are needed, the operation is complex and complicated, when the executed service scene is complex, more labor cost needs to be invested, and more test time needs to be consumed are solved, one control terminal can simultaneously control at least one road test terminal to carry out the road test, and the technical effects of improving the road test efficiency, accuracy and saving time are achieved.
Example four
Fig. 5 is a flowchart of a drive test method according to a fourth embodiment of the present invention, where the present embodiment is applicable to a situation of a control terminal, and the method may be executed by a drive test apparatus, and the apparatus may be implemented in a form of software and/or hardware.
As shown in fig. 5, the method of this embodiment includes:
and S510, establishing a data transmission link with at least one drive test terminal.
The method is performed by the control terminal in this embodiment. The control terminal may be an iPad. Specifically, a data transmission link between the control terminal and at least one drive test terminal is established. That is to say, before the control terminal sends the test instruction, a data transmission link, namely a WIFI data transmission link, between the control terminal and at least one drive test terminal is established. The way of establishing a data transmission link can be seen in embodiment two of the present invention.
Specifically, the control terminal starts a wireless hotspot so that at least one drive test is accessed to the control terminal.
S520, respectively sending the test instruction to at least one drive test terminal based on the data transmission link, so that the at least one drive test terminal executes the test task according to the test instruction.
It should be noted that the number of the control terminals may be one, and in order to accurately determine the data tested by the drive test terminal, the number of the drive test terminals may include at least one, and optionally, the number of the drive test terminals may be 10. Each drive test terminal can establish a dual-channel data transmission link with the control terminal, namely, 10 drive test terminals have WIFI data transmission links with the control terminal.
Based on the WIFI data transmission link between the control terminal and the drive test terminal, the test instruction sent by the control terminal can be respectively sent to at least one drive test terminal. The at least one drive test terminal may perform a test task according to the received test.
And S530, receiving network environment parameters which are fed back by at least one drive test terminal and are obtained by executing the test task based on the data transmission link.
When the drive test terminal executes the test task according to the test instruction, data flow related to the wireless network can be generated. In order to enable the staff to analyze and process the data stream generated by executing the test task and further optimize the network, the data stream generated by executing the test task by the drive test terminal can be sent to the control terminal through the WIFI data transmission link.
It should be noted that the drive test terminal may analyze a data stream generated when the test task is executed to obtain decimal data, and send the decimal data to the control terminal, where the data at this time is a network environment parameter related to the execution of the test task.
On the basis of the above technical solution, after the data transmission link with at least one drive test terminal is established, the method further includes: and if the connection number with the at least one drive test terminal is less than the preset number, sending prompt information to prompt that the drive test terminal which is not connected to the control terminal exists in the at least one drive test terminal.
The preset number may be understood as the number of the drive test terminals performing the drive test, and optionally, the number of the drive test terminals performing the drive test is 10, so that the preset number may be 10. It can be understood that, can set up monitoring devices in the control terminal for whether the quantity that the drive test is connected to control terminal is less than the predetermined figure, exemplarily, if the quantity that the monitoring is connected to control terminal is 9, when being less than the predetermined figure 10, then explain that there is disconnection between drive test terminal and the control terminal, can remind the user this moment, optionally, control terminal sends out the police dispatch newspaper sound in order to remind the user, and then makes disconnected drive test terminal establish connection with control terminal again.
The technical scheme of the embodiment of the invention solves the technical problems that when a driver tests a road through a drive test terminal, testers need to simultaneously operate drive test software installed on a plurality of terminals to select a service scene and configure parameters, the operation is complicated, when the executed service scene is complicated, the cost of manpower and material resources needs to be increased, and more test time needs to be consumed, and one control terminal can simultaneously control at least one drive test terminal to carry out drive test, the technical effects of improving the efficiency and accuracy of the drive test and saving time are achieved.
EXAMPLE five
Fig. 6 is a fourth intention of a process of interaction between the drive test terminal and the control terminal according to the fifth embodiment of the present invention. As illustrated in fig. 6, the method of the embodiment of the present invention includes:
s610, the control terminal monitors the connected drive test terminal and sends a test instruction to the drive test terminal.
It should be noted that, in this embodiment, information interaction is performed when the control terminal and the drive test terminal have established the dual-channel data transmission link.
The control terminal can detect the connection state of at least one drive test terminal and the control terminal in real time or at intervals. If the drive test terminal is not connected, the user can be reminded to establish connection between the drive test terminal and the control terminal.
Meanwhile, when the road test is carried out, the control terminal can simultaneously send a test instruction to the road test terminal. The test instruction may be an instruction to perform a task, optionally, download a file, talk over video or voice, watch a video, and so on. Illustratively, when a user triggers a file downloading instruction on the control terminal, the file downloading test instruction may be sent to the drive test terminal by the control terminal through the WIFI data transmission link.
And S620, the drive test terminal receives the test instruction and executes the test task corresponding to the test instruction.
And the drive test terminal acquires the test parameters corresponding to the test instruction from the remote server according to the received test instruction. The parameters also correspond to devices of the drive test terminals, that is, the drive test terminals are different, and even if the test instructions are the same, the obtained test parameters are different.
And the drive test terminal creates a test task according to the test parameters, optionally creates a test task for downloading the file, and executes the task for downloading the file.
S630, the drive test terminal records binary data generated in the process of executing the test task, and analyzes the binary data to obtain network environment parameters.
And recording data flow related to the wireless network generated when the test task is executed in the process of executing the test task by the drive test terminal. It should be noted that the execution of the testing task is performed by the 4G link. At the moment, the data stream is stored in the bottom chip in a binary form, and the stored binary data can be analyzed and processed, so that the network environment parameters generated when the test task is executed are determined.
And S640, sending the network environment parameters generated by the drive test terminal to the control terminal through the WIFI data transmission link.
In the above embodiment, the mobile network communication link is used to execute a test task corresponding to the test instruction, and the WIFI data transmission link is used to transmit the test instruction and a network environment parameter generated when the drive test terminal records the execution of the test task.
Specifically, the network environment parameters generated by the network drive test terminal can be sent to the control terminal through the WIFI data transmission link, or sent to the remote server, so that a worker can determine network optimization measures according to the received data.
The technical scheme of the embodiment of the invention solves the technical problems that when a driver tests a road through a drive test terminal, testers need to simultaneously operate drive test software installed on a plurality of terminals to select a service scene and configure parameters, the operation is complicated, when the executed service scene is complicated, the cost of manpower and material resources needs to be increased, and more test time needs to be consumed, and one control terminal can simultaneously control at least one drive test terminal to carry out drive test, the technical effects of improving the efficiency and accuracy of the drive test and saving time are achieved.
As a preferred embodiment of the foregoing embodiment, fig. 7 is a schematic diagram of information interaction between a control terminal and a drive test terminal according to a fifth embodiment of the present invention.
Referring to fig. 7, a tester starts the control terminal, opens a hot spot of the PAD, that is, executes 1 to start the PAD hot spot, and simultaneously the control terminal may monitor a link and send an instruction, that is, 3, monitors the link between the control terminal and the drive test terminal in real time, that is, confirms that each drive test terminal and the control terminal are in a long connection state. Meanwhile, at the drive test terminal, the mobile network data of the drive test terminal is started, i.e. the step 2 is executed, so as to establish the mobile network communication link of the drive test terminal. After the mobile network communication link is established, bypassing a frame in the android device, establishing a WIFI data transmission link between the control terminal and the drive test terminal, and enabling data transmission between the WIFI data transmission link and the mobile network communication connection to be mutually independent. The WIFI data transmission link between the control terminal and the drive test terminal is established by executing 2.1 and 2.2 to detect WIFI hotspots, trying to link, reestablishing a WIFI route after connection is established, and keeping heartbeat between the drive test terminal and the control terminal.
With continued reference to fig. 7, the drive test terminal receives the test instruction sent by the control terminal, i.e. executes 4, and obtains the test parameters (working parameters) corresponding to the test instruction from the remote server, and establishes a test task according to the test parameters, i.e. 5 in fig. 7.
With continued reference to fig. 7, after the test task is determined, i.e. 6 and 6.1 in fig. 7 are executed, and the test task is executed through the mobile network communication link, optionally, the test task is file downloading, video or audio call, and the like, then a service request, i.e. 7 in fig. 7, may be sent to the corresponding server, optionally, a request for downloading a file, and the file is sent to the server corresponding to the service request, i.e. 8 in fig. 7, according to the service request. When acquiring the download file, network environment parameters related to the wireless network may be generated, which may be understood as that the base station responds to the request, i.e. 9, and optionally, the data of the base station, the cell, etc. is sent back to the drive test terminal, i.e. 10. The monitoring device in the drive test terminal can monitor, i.e. receive, the binary data stream, i.e. 11, associated with the wireless network, generated during the execution of the test task. After the drive test terminal analyzes and processes the binary data, namely, after the obtained binary data is analyzed and processed, namely 12, the binary data is sent to the control terminal through the WIFI data transmission link, namely 13.1, real-time data is reported, or the remote server, namely 13, sends the data to the remote server, and the remote server stores offline data.
According to fig. 7, it can be determined that the drive test terminals may be provided by different manufacturers, and even if the drive test is performed by different drive test terminals, the drive test mode is the same, so that the smart phone of manufacturer a in fig. 7 is different from the smart phone of manufacturer B only in explaining the drive test terminals, and the number of the smart phones may be more than one. The specific drive test flowchart can be seen in fig. 7. It should be further noted that, 2.1, 2.2, etc. mentioned in fig. 7 are for clarity of description and implementation steps, and are not limited thereto.
According to the technical scheme of the embodiment of the invention, the WIFI data channel and the 4G data channel are simultaneously established on the drive test terminal, so that a tester can control at least one drive test terminal on the WIFI data transmission link by taking one control terminal as a central controller, the drive test terminal carries out drive test through the 4G link, namely, the drive test is carried out through the mobile network communication link, and the two links are mutually independent, namely, the flow of the two links is isolated. That is to say, the normal test result can not be influenced to the flow that produces on the WIFI data transmission link, and the tester can use the knapsack to carry at least one drive test terminal, only needs through a control terminal, just can accomplish whole drive test.
The technical scheme of the embodiment of the invention solves the technical problems that when a driver tests a road through a drive test terminal, testers need to simultaneously operate drive test software installed on a plurality of terminals to select a service scene and configure parameters, the operation is complicated, when the executed service scene is complicated, the cost of manpower and material resources needs to be increased, and more test time needs to be consumed, and one control terminal can simultaneously control at least one drive test terminal to carry out drive test, the technical effects of improving the efficiency and accuracy of the drive test and saving time are achieved.
EXAMPLE six
Fig. 8 is a schematic structural diagram of a drive test apparatus according to a sixth embodiment of the present invention, where the apparatus includes: a test parameter acquiring module 810, a data stream acquiring module 820 and a network environment parameter sending module 830.
The test parameter acquiring module 810 is configured to receive a test instruction sent by the control terminal, and acquire a test parameter corresponding to the test instruction from the remote server according to the test instruction; a data flow obtaining module 820, configured to create a test task based on the test parameters, and obtain a data flow related to the wireless network, which is generated in a process of executing the test task; and a network environment parameter sending module 830, configured to analyze and process the data stream to determine a network environment parameter corresponding to the data stream, and send the network environment parameter to the control terminal through a preset transmission link, so as to optimize a network according to the network environment parameter.
On the basis of the above technical solutions, the apparatus further includes a mobile network communication link establishing module and a WIFI data transmission link establishing module, and before the test parameter acquiring module receives the test instruction sent by the control terminal, the mobile network communication link establishing module and the WIFI data transmission link establishing module are respectively configured to:
the mobile network communication link establishing module is used for receiving an instruction for connecting a mobile network and executing the operation of connecting the mobile network to obtain a mobile network communication link; the WIFI data transmission link establishing module is used for establishing a WIFI data transmission link between the control terminal and the drive test terminal when receiving a WIFI connection instruction; wherein the mobile network communication link is used for data communication with a network side when the test task is executed; the WIFI data transmission link is used for transmitting the network environment parameters obtained by the drive test terminal and the test instruction sent by the control terminal; the WIFI data transmission link and the mobile network communication link are independent of each other.
On the basis of the above technical solutions, the WIFI data transmission link establishing module includes:
the wireless network card starting unit is used for executing the operation of loading the WIFI driver based on a preset linux command to start the wireless network card when a triggering command for connecting the network card is detected;
the hot spot scanning unit is used for acquiring and accessing a target wireless hot spot corresponding to the control terminal based on a preset hot spot connecting instruction when a hot spot connecting triggering instruction is detected;
the address acquisition unit is used for acquiring a wireless gateway address and a wireless network card address corresponding to the target wireless hotspot; and creating routing information from the drive test terminal to the control terminal according to the wireless gateway address and the wireless network card address, and updating a global routing rule to obtain a WIFI data transmission link between the drive test terminal and the control terminal.
On the basis of the technical schemes: after the mobile network communication link and the WIFI data transmission link are established, the connection state of the mobile network communication link and the WIFI data transmission link is monitored respectively, and if the mobile network communication link is in a non-connection state, the mobile network communication link is reconnected; and if the WIFI data transmission link is in a non-connection state, establishing the WIFI data transmission link between the drive test terminal and the control terminal.
According to the technical scheme of the embodiment of the invention, the test instruction sent by the control terminal is received, and the test parameters corresponding to the test instruction are obtained from the remote server according to the test instruction; creating a test task based on the test parameters, and acquiring a data stream related to the wireless network, which is generated in the process of executing the test task; the data flow is analyzed and processed to determine network environment parameters corresponding to the data flow, and the network environment parameters are sent to the control terminal through the preset data transmission link, so that the network can be optimized according to the network environment parameters, the technical problems that in the prior art, when the road test is carried out through a road test terminal, testers need to simultaneously operate road test software installed on a plurality of terminals, service scene selection, parameter configuration and the like are needed, the operation is complex and complicated, when the executed service scene is complex, more labor cost needs to be invested, and more test time needs to be consumed are solved, one control terminal can simultaneously control at least one road test terminal to carry out the road test, and the technical effects of improving the road test efficiency, accuracy and saving time are achieved.
The drive test device provided by the embodiment of the invention can execute the drive test method provided by the first embodiment to the fourth embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
It should be noted that, the units and modules included in the apparatus are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiment of the invention.
EXAMPLE seven
Fig. 9 is a schematic structural diagram of a drive test apparatus according to a seventh embodiment of the present invention, where the drive test apparatus may be disposed in a control terminal, and the drive test apparatus includes: a transmission link establishing module 910, a test instruction sending module 920 and a network environment parameter receiving module 930.
The transmission link establishing module 910 is configured to establish a data transmission link with at least one drive test terminal; a test instruction sending module 920, configured to send test instructions to the at least one drive test terminal based on the data transmission link, so that the at least one drive test terminal executes a test task according to the test instructions; a network environment parameter receiving module 930, configured to receive, based on the data transmission link, a network environment parameter obtained by executing a test task and fed back by the at least one drive test terminal.
On the basis of the above technical solution, the transmission link establishing module is further configured to:
starting a wireless hotspot as a target wireless hotspot based on the wireless hotspot starting instruction; and receiving a request that the at least one drive test terminal accesses the target wireless hotspot, and establishing a WIFI data transmission link with the at least one drive test terminal.
On the basis of the above technical solutions, after the transmission link establishing module is configured to establish a data transmission link with at least one drive test terminal, the transmission link establishing module is further configured to:
and if the connection number with the at least one drive test terminal is less than the preset number, sending a prompt message to prompt that the at least one drive test terminal has a terminal which is not connected.
The technical scheme of the embodiment of the invention solves the technical problems that when a driver tests a road through a drive test terminal, testers need to simultaneously operate drive test software installed on a plurality of terminals to select a service scene and configure parameters, the operation is complicated, when the executed service scene is complicated, the cost of manpower and material resources needs to be increased, and more test time needs to be consumed, and one control terminal can simultaneously control at least one drive test terminal to carry out drive test, the technical effects of improving the efficiency and accuracy of the drive test and saving time are achieved.
The drive test device provided by the embodiment of the invention can execute the drive test method provided by the fifth embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
It should be noted that, the units and modules included in the apparatus are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiment of the invention.
Example eight
Fig. 10 is a schematic structural diagram of a terminal according to an eighth embodiment of the present invention. Fig. 10 illustrates a block diagram of an exemplary terminal 100 suitable for use in implementing embodiments of the present invention. The terminal 10 shown in fig. 10 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 10, the terminal 100 is embodied in the form of a general purpose computing device. The components of terminal 100 may include, but are not limited to: one or more processors or processing units 1001, a system memory 1002, and a bus 1003 that couples the various system components (including the system memory 1002 and the processing unit 1001).
Bus 1003 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Terminal 100 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by terminal 100 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 1002 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)1004 and/or cache memory 1005. The terminal 100 can further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 1006 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 10, commonly referred to as a "hard disk drive"). Although not shown in FIG. 10, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 1003 by one or more data media interfaces. Memory 1002 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 1008 having a set (at least one) of program modules 1007 may be stored, for example, in memory 1002, such program modules 1007 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may include an implementation of a network environment. Program modules 1007 generally perform functions and/or methods in the described embodiments of the invention.
The terminal 100 can also communicate with one or more external devices 1009 (e.g., keyboard, pointing device, display 1010, etc.), with one or more devices that enable a user to interact with the terminal 100, and/or with any devices (e.g., network card, modem, etc.) that enable the terminal 100 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 1011. Also, the terminal 100 can communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) through the network adapter 1012. As shown, the network adapter 1012 communicates with the other modules of the terminal 100 via the bus 1003. It should be appreciated that although not shown in FIG. 10, other hardware and/or software modules may be used in conjunction with terminal 100, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 1001 executes various functional applications and data processing by running a program stored in the system memory 1002, for example, to implement the drive test method provided in the first to fifth embodiments of the present invention.
Example nine
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a drive test method.
The drive test method comprises the following steps: receiving a test instruction sent by a control terminal, and acquiring test parameters corresponding to the test instruction from a remote server according to the test instruction;
creating a test task based on the test parameters, and acquiring a data stream related to the wireless network, which is generated in the process of executing the test task;
analyzing and processing the data stream to determine a network environment parameter corresponding to the data stream, and sending the network environment parameter to the control terminal through a preset data transmission link so as to optimize a network according to the network environment parameter; or the like, or, alternatively,
the drive test method comprises the following steps: establishing a data transmission link with at least one drive test terminal;
respectively sending a test instruction to the at least one drive test terminal based on the data transmission link so as to enable the at least one drive test terminal to execute a test task according to the test instruction;
and receiving the network environment parameters which are fed back by the at least one drive test terminal and are obtained by executing the test task based on the data transmission link.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing. Computer program code for carrying out operations for embodiments of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (11)

1. A drive test method is applied to a drive test terminal and comprises the following steps:
receiving a test instruction sent by a control terminal, and acquiring test parameters corresponding to the test instruction from a remote server according to the test instruction;
creating a test task based on the test parameters, and acquiring a data stream related to the wireless network, which is generated in the process of executing the test task;
and analyzing and processing the data stream to determine a network environment parameter corresponding to the data stream, and sending the network environment parameter to the control terminal through a preset data transmission link so as to optimize the network according to the network environment parameter.
2. The method according to claim 1, wherein before receiving the test instruction sent by the control terminal, the method further comprises:
receiving an instruction of connecting a mobile network and executing operation of connecting the mobile network so as to establish a mobile network communication link;
receiving an instruction of connecting a wireless local area network WIFI and executing an operation of connecting the WIFI so as to establish a WIFI data transmission link between the control terminal and the drive test terminal;
the mobile network communication link is used for data communication between the drive test terminal and a network side when the test task is executed; the WIFI data transmission link is used for transmitting the network environment parameters obtained by the drive test terminal and the test instruction sent by the control terminal; the WIFI data transmission link and the mobile network communication link are independent of each other.
3. The method of claim 2, wherein the performing the operation of connecting the WIFI to establish a WIFI data transmission link between the control terminal and the drive test terminal comprises:
when a triggering command for connecting a network card is detected, based on a preset linux command, executing the operation of loading a WIFI driver to start the wireless network card;
when a trigger instruction for connecting the hotspot is detected, acquiring and accessing a target wireless hotspot corresponding to the control terminal based on a preset hotspot connecting instruction;
acquiring a wireless gateway address and a wireless network card address corresponding to the target wireless hotspot; and creating routing information from the drive test terminal to the control terminal according to the wireless gateway address and the wireless network card address, and updating a global routing rule to obtain a WIFI data transmission link between the drive test terminal and the control terminal.
4. The method of claim 2, further comprising:
after the mobile network communication link and the WIFI data transmission link are established, the connection state of the mobile network communication link and the WIFI data transmission link is monitored respectively, and if the mobile network communication link is in a non-connection state, the mobile network communication link is reconnected; and if the WIFI data transmission link is in a non-connection state, establishing the WIFI data transmission link between the drive test terminal and the control terminal.
5. A drive test method is applied to a control terminal and comprises the following steps:
establishing a data transmission link with at least one drive test terminal;
respectively sending a test instruction to the at least one drive test terminal based on the data transmission link so as to enable the at least one drive test terminal to execute a test task according to the test instruction;
and receiving the network environment parameters which are fed back by the at least one drive test terminal and are obtained by executing the test task based on the data transmission link.
6. The method of claim 5, wherein the establishing a data transmission link with at least one drive test terminal comprises:
starting a wireless hotspot as a target wireless hotspot based on the wireless hotspot starting instruction;
and receiving a request that the at least one drive test terminal accesses the target wireless hotspot, and establishing a WIFI data transmission link with the at least one drive test terminal.
7. The method of claim 5, further comprising, after the establishing a data transmission link with at least one drive test terminal:
and if the connection number with the at least one drive test terminal is less than the preset number, sending prompt information to prompt that the drive test terminal which is not connected to the control terminal exists in the at least one drive test terminal.
8. A drive test apparatus, configured in a drive test terminal, comprising:
the test parameter acquisition module is used for receiving a test instruction sent by the control terminal and acquiring test parameters corresponding to the test instruction from the remote server according to the test instruction;
the data flow acquisition module is used for creating a test task based on the test parameters and acquiring data flows which are generated in the process of executing the test task and are related to the wireless network;
and the network environment parameter sending module is used for analyzing and processing the data stream to determine a network environment parameter corresponding to the data stream, and sending the network environment parameter to the control terminal through a preset transmission link so as to optimize the network according to the network environment parameter.
9. A drive test apparatus, configured in a control terminal, comprising:
the transmission link establishing module is used for establishing a data transmission link with at least one drive test terminal;
the test instruction sending module is used for respectively sending test instructions to the at least one drive test terminal based on the data transmission link so as to enable the at least one drive test terminal to execute a test task according to the test instructions;
and the network environment parameter receiving module is used for receiving the network environment parameters which are fed back by the at least one drive test terminal and are obtained by executing the test task based on the data transmission link.
10. A terminal, characterized in that the terminal comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the drive test method of any of claims 1-4 or 5-7.
11. A storage medium containing computer-executable instructions for performing the drive test method of any of claims 1-4 or 5-7 when executed by a computer processor.
CN201911002497.XA 2019-10-21 2019-10-21 Drive test method, device, terminal and storage medium Pending CN112770337A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911002497.XA CN112770337A (en) 2019-10-21 2019-10-21 Drive test method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911002497.XA CN112770337A (en) 2019-10-21 2019-10-21 Drive test method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN112770337A true CN112770337A (en) 2021-05-07

Family

ID=75691950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911002497.XA Pending CN112770337A (en) 2019-10-21 2019-10-21 Drive test method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112770337A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473504A (en) * 2021-07-01 2021-10-01 国网信息通信产业集团有限公司 Method for measuring 5G network signal quality, related device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103619040A (en) * 2013-12-06 2014-03-05 上海寰创通信科技股份有限公司 LTE automatic drive test method
CN105094960A (en) * 2015-07-20 2015-11-25 努比亚技术有限公司 Data loading device and method based on two channels
CN108243433A (en) * 2016-12-23 2018-07-03 大唐移动通信设备有限公司 A kind of drive test terminal test system and network test method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103619040A (en) * 2013-12-06 2014-03-05 上海寰创通信科技股份有限公司 LTE automatic drive test method
CN105094960A (en) * 2015-07-20 2015-11-25 努比亚技术有限公司 Data loading device and method based on two channels
CN108243433A (en) * 2016-12-23 2018-07-03 大唐移动通信设备有限公司 A kind of drive test terminal test system and network test method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473504A (en) * 2021-07-01 2021-10-01 国网信息通信产业集团有限公司 Method for measuring 5G network signal quality, related device and storage medium

Similar Documents

Publication Publication Date Title
CN111177617A (en) Web direct operation and maintenance method and device based on operation and maintenance management system and electronic equipment
WO2021259013A1 (en) Data processing method and apparatus, electronic device, and computer-readable medium
CN111008135B (en) APP test method, device, equipment and storage medium
US10461990B2 (en) Diagnostic traffic generation for automatic testing and troubleshooting
CN111177112A (en) Database blocking method and device based on operation and maintenance management system and electronic equipment
US20120185624A1 (en) Automated Cabling Process for a Complex Environment
CN111930709B (en) Data storage method, apparatus, electronic device, and computer readable medium
US20180367940A1 (en) Distributed testing of wireless networks
CN113485918B (en) Test method, test device, electronic equipment and storage medium
CN112311620A (en) Method, apparatus, electronic device and readable medium for diagnosing network
US20210281640A1 (en) Method and apparatus for monitoring global failure in virtual gateway cluster
CN109491908B (en) Page detection method and device, electronic equipment and storage medium
CN112770337A (en) Drive test method, device, terminal and storage medium
US8893091B2 (en) Running an executable during a debug session
CN103338382B (en) A kind of method of remote monitoring digital TV terminal, device and digital television system
TW201628433A (en) Testing system and testing method for mobile network performance
CN115600964A (en) Voice approval method and device and related equipment
CN115391770A (en) Program monitoring method, device, electronic equipment and computer readable storage medium
KR20140030553A (en) Apparatus and method for displaying indicator according to interwork network
CN115996179A (en) Service node testing method and device, readable medium and electronic equipment
CN107991904B (en) Simulated wireless block center message generator
CN107171824B (en) Wifi disconnection processing method of terminal, terminal and storage device
US9961534B2 (en) Program and information processing apparatus
CN112769627B (en) Network environment simulation method, system and computer program product
KR20190077269A (en) Apparatus and Method for Displaying Indicator According to Interwork Network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination