CN111263388B - Mobile network environment testing method and device, computer equipment and storage medium - Google Patents
Mobile network environment testing method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN111263388B CN111263388B CN202010091209.9A CN202010091209A CN111263388B CN 111263388 B CN111263388 B CN 111263388B CN 202010091209 A CN202010091209 A CN 202010091209A CN 111263388 B CN111263388 B CN 111263388B
- Authority
- CN
- China
- Prior art keywords
- network
- mobile
- test
- wireless
- operator
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/06—Testing, supervising or monitoring using simulated traffic
Abstract
The invention relates to the field of mobile test, and discloses a mobile network environment test method, a device, computer equipment and a storage medium, wherein the method comprises the following steps: establishing connection with an operator network through a network access end; sending a mobile network signal, and constructing a wireless test network so that the mobile equipment is accessed to the wireless test network after receiving the mobile network signal, and the mobile equipment is connected with an operator network through the wireless test network; when the number of the mobile devices accessing the wireless test network reaches a preset threshold value, adjusting the attribute of the mobile network signal according to preset parameters; network status data between a mobile device and an operator network is obtained. Compared with the traditional virtual network test method, the method can truly simulate the equipment access and mobile network connection characteristics of mobile test, obtain the test result with smaller deviation and improve the test effectiveness from the network layer.
Description
Technical Field
The present invention relates to the field of mobile testing, and in particular, to a method and an apparatus for testing a mobile network environment, a computer device, and a storage medium.
Background
With the popularization of mobile devices, the demand for mobile device performance testing has proliferated. Mobile network environment testing is an important component of mobile device performance testing. The authenticity of the test environment has a significant impact on the test results.
In the existing network environment test of the mobile device, a mode of simulating a network is generally used to obtain test data. That is, when the server communicates with the mobile device, a simulation network is constructed by software, the mobile device is connected to the simulation network, and then test data is collected. However, the network characteristics simulated by the test method are still the traditional network, and the test result only simulates the characteristics of the traditional network such as the network speed, the packet loss rate and the like to a certain extent. Most mobile devices do not access a communication core network, and meanwhile, the network characteristics of the mobile access terminal cannot be detected.
Therefore, a new mobile network environment testing method is needed to provide a testing environment closer to the real one and improve the testing quality of the mobile device during network testing.
Disclosure of Invention
Therefore, it is necessary to provide a method, an apparatus, a computer device and a storage medium for testing a mobile network environment to provide a more real testing environment and improve the testing quality of the mobile device during network testing.
A mobile network environment testing method comprises the following steps:
establishing connection with an operator network through a network access end;
sending a mobile network signal, and constructing a wireless test network so that mobile equipment is accessed to the wireless test network after receiving the mobile network signal, wherein the mobile equipment is connected with the operator network through the wireless test network;
when the number of the mobile devices accessing the wireless test network reaches a preset threshold value, adjusting the attribute of the mobile network signal according to preset parameters;
network status data between the mobile device and the operator network is obtained.
A mobile network environment testing apparatus, comprising:
the connection module is used for establishing connection with an operator network through a network access end;
the access module is used for sending a mobile network signal and constructing a wireless test network so that mobile equipment can be accessed to the wireless test network after receiving the mobile network signal, and the mobile equipment is connected with the operator network through the wireless test network;
the network adjusting module is used for adjusting the attribute of the mobile network signal according to preset parameters when the number of the mobile devices accessing the wireless test network reaches a preset threshold value;
a monitoring module for obtaining network status data between the mobile device and the operator network.
A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the above mobile network environment testing method when executing the computer program.
A computer-readable storage medium storing a computer program which, when executed by a processor, implements the above-described mobile network environment testing method.
According to the mobile network environment testing method, the mobile network environment testing device, the computer equipment and the storage medium, the wireless testing network is constructed by sending the mobile network signals, a highly real and highly diversified testing environment is provided for the mobile equipment, meanwhile, network state data between the mobile equipment and an operator network can be collected, the collection of testing data of different mobile equipment in the same network environment can be realized, and the testing efficiency is improved. Compared with the traditional virtual network test method, the method can truly simulate the equipment access and mobile network connection characteristics of mobile test, obtain the test result with smaller deviation and improve the test effectiveness from the network layer.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flow chart illustrating a mobile network environment testing method according to an embodiment of the invention;
FIG. 2 is a flow chart illustrating a mobile network environment testing method according to an embodiment of the invention;
FIG. 3 is a flow chart illustrating a mobile network environment testing method according to an embodiment of the invention;
FIG. 4 is a schematic structural diagram of an apparatus for testing a mobile network environment according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a computer device according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In one embodiment, as shown in fig. 1, a method for testing a mobile network environment is provided, which includes the following steps:
s10, establishing connection with the operator network through the network access end;
s20, sending a mobile network signal, and constructing a wireless test network, so that a mobile device is accessed to the wireless test network after receiving the mobile network signal, and the mobile device is connected with the operator network through the wireless test network;
s30, when the number of the mobile devices accessing the wireless test network reaches a preset threshold value, adjusting the attribute of the mobile network signal according to preset parameters;
s40, acquiring network state data between the mobile equipment and the operator network.
The mobile network environment testing method provided by the embodiment can be applied to a mobile equipment room and used for network testing of mobile equipment. The mobile equipment machine room is provided with a network access end, and is connected with an operator network through the network access end. The connection between the network access terminal and the operator network may be a wireless connection or a wired connection. The operator network may be accessed through an operator provided private mobile network access line. The operator network may comprise a connectivity/mobile/telecommunications network.
The wireless test network can be constructed by sending mobile network signals through the wireless signal modulation generator. In the mobile equipment room, at least one wireless signal modulation generator can be arranged as required. In a wireless test network, the number of mobile devices accessed may be one or more. A computing chip is arranged in the wireless signal modulation generator, and can identify the accessed mobile equipment and collect network state data of each mobile equipment.
To ensure the requirement of the mobile network environment test, the preset threshold is generally greater than or equal to one. When the preset threshold value is larger than one, the mobile equipment can be tested simultaneously, and the testing efficiency is improved. The wireless signal modulation generator is greatly different from a common wireless router. The wireless signal modulation generator can adjust the intensity of the mobile network signal in real time according to preset parameters so as to meet the requirement of network testing.
Attributes of mobile network signals include, but are not limited to, signal type, signal strength, operator channel. The preset parameters include a plurality of setting values associated with attributes of the mobile network signal. The signal type comprises at least one of Edge/2g/3g/4g/5 g/WIFI. The signal type can be switched according to the test requirement, and the network state data after switching (which can include the time length required for the access of the mobile device, etc.) can be collected. Signal strength can be divided into strong nets and weak nets. Here, the strong network and the weak network reflect the performance of the network layer and the application layer, such as http, tcp delay, bandwidth, delay, jitter, and the like. The selection of the appropriate strong or weak mesh criteria may be based on the actual application requirements in general. After entering the weak network state, the application layer is provided with a corresponding detection method, such as quality detection, prompting of abnormal service failure, and the like. In addition, a plurality of operator channels can be preset, and one of the operator channels can be selected to be connected according to actual needs. For example, the operator channel may include a channel provided by unicom/mobile/telecommunications.
Network status data between the mobile device and the operator network may be collected simultaneously while adjusting attributes of the mobile network signals. Network status data includes, but is not limited to, traffic, network speed, packet loss rate, delay data (which may also be referred to as delay data), jitter data. The network speed includes an upload speed and a download speed. The delay data may refer to HTTP delay or TCP delay. Jitter data refers to variations in delay data, i.e., variations in various delays result in variations in the arrival rate of data packets in the network. In some cases, the wireless signal modulation generator adjusts the strength of the mobile network signal based on network status data associated with the mobile device to achieve dynamic adjustment of the mobile network signal.
Optionally, the signal type of the mobile network signal is at least one of Edge/2g/3g/4g/5 g/WIFI.
In this embodiment, the appropriate signal type may be selected according to actual needs to establish a connection between the mobile device and the operator network. The wireless signal modulation generator is provided with a plurality of wireless communication modules, at least one of which can work according to requirements and generate corresponding mobile network signals.
Optionally, the network state data includes at least one of traffic, network speed, packet loss rate, time delay, and jitter.
In this embodiment, the network status data between the mobile device and the operator network may be collected by a monitoring module disposed on the wireless signal modulation generator. Network status data includes, but is not limited to, traffic, network speed, packet loss rate, latency, jitter. And the collected network state data is used for evaluating the test result of the mobile network environment test.
Optionally, as shown in fig. 2, after step S40, the method further includes:
and S50, storing the network state data to a designated storage position or sending the network state data to a designated terminal.
In this embodiment, the designated storage location may be a local storage or a cloud storage. The designated terminal may be a computer device preset to store network status data, such as a computer device used by an administrator.
Optionally, as shown in fig. 3, after step S40, the method further includes:
s41, judging whether the network state data exceeds a preset alarm threshold value;
and S42, if the network state data exceeds a preset alarm threshold value, sending alarm information.
In this embodiment, the preset alarm threshold may be set according to actual needs. The corresponding preset alarm threshold values may be different for different test conditions. And if the network state data exceeds a preset alarm threshold value, sending alarm information. After receiving the alarm information, the administrator can perform manual intervention as required to ensure that the mobile network environment test can be normally completed. For example, when the mobile device is disconnected, alarm information can be sent out.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
In an embodiment, a mobile network environment testing apparatus is provided, which corresponds to the mobile network environment testing methods in the above embodiments one to one. As shown in fig. 4, the mobile network environment testing apparatus includes a connection module 10, an access module 20, a network regulation module 30, and a monitoring module 40. The functional modules are explained in detail as follows:
a connection module 10, configured to establish a connection with an operator network through a network access end;
the access module 20 is configured to send a mobile network signal and construct a wireless test network, so that a mobile device accesses the wireless test network after receiving the mobile network signal, and the mobile device is connected to the operator network through the wireless test network;
the network adjusting module 30 is configured to adjust an attribute of the mobile network signal according to a preset parameter when the number of mobile devices accessing the wireless test network reaches a preset threshold;
a monitoring module 40, configured to obtain network status data between the mobile device and the operator network.
Optionally, the signal type of the mobile network signal is at least one of Edge/2g/3g/4g/5 g/WIFI.
Optionally, the network state data includes at least one of traffic, network speed, packet loss rate, time delay, and jitter.
Optionally, the mobile network environment testing apparatus further includes:
the data storage module is used for storing the network state data to a specified storage position;
and the data sending module is used for sending the network state data to a specified terminal.
Optionally, the mobile network environment testing apparatus further includes:
the threshold judging module is used for judging whether the network state data exceeds a preset alarm threshold;
and the alarm module is used for sending alarm information if the network state data exceeds a preset alarm threshold value.
For specific limitations of the mobile network environment testing apparatus, reference may be made to the above limitations of the mobile network environment testing method, which are not described herein again. The modules in the mobile network environment testing device may be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 5. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer equipment is used for storing the data related to the mobile network environment testing method. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a mobile network environment testing method.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
establishing connection with an operator network through a network access end;
sending a mobile network signal, and constructing a wireless test network so that mobile equipment is accessed to the wireless test network after receiving the mobile network signal, wherein the mobile equipment is connected with the operator network through the wireless test network;
when the number of the mobile devices accessing the wireless test network reaches a preset threshold value, adjusting the attribute of the mobile network signal according to preset parameters;
network status data between the mobile device and the operator network is obtained.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
establishing connection with an operator network through a network access end;
sending a mobile network signal, and constructing a wireless test network so that mobile equipment is accessed to the wireless test network after receiving the mobile network signal, wherein the mobile equipment is connected with the operator network through the wireless test network;
when the number of the mobile devices accessing the wireless test network reaches a preset threshold value, adjusting the attribute of the mobile network signal according to preset parameters;
network status data between the mobile device and the operator network is obtained.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.
Claims (10)
1. A mobile network environment testing method is characterized by comprising the following steps:
the wireless signal modulation generator establishes connection with an operator network through a network access end;
the wireless signal modulation generator sends a mobile network signal to construct a wireless test network, so that mobile equipment is accessed to the wireless test network after receiving the mobile network signal, and the mobile equipment is connected with the operator network through the wireless test network;
when the number of the mobile devices accessing the wireless test network reaches a preset threshold value, the wireless signal modulation generator adjusts the attribute of the mobile network signal according to preset parameters;
the wireless signal modulation generator obtains network status data between the mobile device and the operator network.
2. The method for testing a mobile network environment of claim 1, wherein the signal type of the mobile network signal is at least one of Edge/2g/3g/4g/5 g/WIFI.
3. The method of claim 1, wherein the network status data comprises at least one of traffic, network speed, packet loss rate, delay, and jitter.
4. The mobile network environment testing method of claim 1, wherein after obtaining the network status data between the mobile device and the operator network, further comprising:
and storing the network state data to a specified storage position or sending the network state data to a specified terminal.
5. The mobile network environment testing method of claim 1, wherein after obtaining the network status data between the mobile device and the operator network, further comprising:
judging whether the network state data exceeds a preset alarm threshold value;
and if the network state data exceeds a preset alarm threshold value, sending alarm information.
6. A mobile network environment testing device stored in a wireless signal modulation generator, comprising:
the connection module is used for establishing connection with an operator network through a network access end;
the access module is used for sending a mobile network signal and constructing a wireless test network so that mobile equipment can be accessed to the wireless test network after receiving the mobile network signal, and the mobile equipment is connected with the operator network through the wireless test network;
the network adjusting module is used for adjusting the attribute of the mobile network signal according to preset parameters when the number of the mobile devices accessing the wireless test network reaches a preset threshold value;
a monitoring module for obtaining network status data between the mobile device and the operator network.
7. The mobile network environment testing apparatus of claim 6, further comprising:
the data storage module is used for storing the network state data to a specified storage position;
and the data sending module is used for sending the network state data to a specified terminal.
8. The mobile network environment testing apparatus of claim 6, further comprising:
the threshold judging module is used for judging whether the network state data exceeds a preset alarm threshold;
and the alarm module is used for sending alarm information if the network state data exceeds a preset alarm threshold value.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the mobile network environment testing method according to any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, implements the mobile network environment testing method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010091209.9A CN111263388B (en) | 2020-02-13 | 2020-02-13 | Mobile network environment testing method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010091209.9A CN111263388B (en) | 2020-02-13 | 2020-02-13 | Mobile network environment testing method and device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111263388A CN111263388A (en) | 2020-06-09 |
CN111263388B true CN111263388B (en) | 2021-03-30 |
Family
ID=70952565
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010091209.9A Active CN111263388B (en) | 2020-02-13 | 2020-02-13 | Mobile network environment testing method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111263388B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114143211A (en) * | 2021-11-26 | 2022-03-04 | 惠州Tcl移动通信有限公司 | Simulation network generation method, device, terminal and storage medium |
CN115460642B (en) * | 2022-07-29 | 2023-10-03 | 荣耀终端有限公司 | Network name display test method and device |
CN116781529A (en) * | 2023-06-25 | 2023-09-19 | 哈尔滨市法智科技开发有限公司 | Network planning system and method based on big data analysis |
CN117354838B (en) * | 2023-12-04 | 2024-02-23 | 贝优特技术有限公司 | Device, system and method for testing performance of wireless mobile communication network |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104185195A (en) * | 2014-09-12 | 2014-12-03 | 北京瑞汛世纪科技有限公司 | Mobile web performance measuring method, device and system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107171895A (en) * | 2017-07-01 | 2017-09-15 | 浙江省计量科学研究院 | A kind of communication network data flow-measuring method |
US10880196B2 (en) * | 2018-01-25 | 2020-12-29 | Charter Communications Operating, Llc | Bi-directional speed test method and system for customer premises equipment (CPE) devices |
CN109218133B (en) * | 2018-09-27 | 2022-04-01 | 深圳市网心科技有限公司 | Network speed testing system, method, device and computer readable storage medium |
-
2020
- 2020-02-13 CN CN202010091209.9A patent/CN111263388B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104185195A (en) * | 2014-09-12 | 2014-12-03 | 北京瑞汛世纪科技有限公司 | Mobile web performance measuring method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN111263388A (en) | 2020-06-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111263388B (en) | Mobile network environment testing method and device, computer equipment and storage medium | |
US20150363522A1 (en) | Network switch simulation | |
CN104978263A (en) | Mobile terminal application program test method and mobile terminal application program test system | |
KR20090050990A (en) | Method and system to manage communications | |
CN111865736A (en) | Equipment control method and device | |
CN107769986B (en) | Network performance test system, extension system and test method | |
CN114553752A (en) | Network performance testing method and device based on simulation software and computer equipment | |
CN110875825B (en) | Fault judgment method and device | |
CN113452556A (en) | Product skill configuration method and device, storage medium and electronic device | |
CN110519080B (en) | Session monitoring adjustment method, device, storage medium and apparatus | |
CN111343655A (en) | Method for implementing wireless network, device for implementing wireless network and storage medium | |
CN109587013A (en) | APP network compatibility test method, device, computer equipment and storage medium | |
CN112420019B (en) | Equipment testing method and device | |
US10834616B2 (en) | Method and apparatus for transmitting a control signal to a self organizing network controller | |
CN111741487B (en) | Wireless mesh network route selection test method, device and terminal equipment | |
CN114460443A (en) | System, method and storage medium for virtualization automatic test equipment | |
CN112350879B (en) | Data communication equipment test management method, device, system and storage medium | |
CN106941705A (en) | A kind of network setting method and device | |
US20210328910A1 (en) | Traffic Splitting Device | |
CN112242910B (en) | Network element fault positioning method and device, computing equipment and computer storage medium | |
CN108667671B (en) | Network management system communication method, device, storage medium and computer equipment | |
US20230370333A1 (en) | Automated network generation, validation and implementation in a production environment | |
CN114780381A (en) | Wi-Fi pressure test method and device | |
CN116455594A (en) | Distributed intelligent lighting system, access method and related device | |
CN117955838A (en) | Network information determining method and device, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: Mobile network environment test method, device, computer equipment and storage medium Effective date of registration: 20211207 Granted publication date: 20210330 Pledgee: Shanghai Pudong Development Bank Co.,Ltd. Xuhui sub branch Pledgor: Shanghai Fu Shen Lan Software Co.,Ltd. Registration number: Y2021310000117 |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right |