CN111866932A - Network measurement method and device and electronic equipment - Google Patents

Network measurement method and device and electronic equipment Download PDF

Info

Publication number
CN111866932A
CN111866932A CN202010787642.6A CN202010787642A CN111866932A CN 111866932 A CN111866932 A CN 111866932A CN 202010787642 A CN202010787642 A CN 202010787642A CN 111866932 A CN111866932 A CN 111866932A
Authority
CN
China
Prior art keywords
network
measurement parameter
terminal
measured
measurement
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010787642.6A
Other languages
Chinese (zh)
Other versions
CN111866932B (en
Inventor
徐冬竹
周安福
张新宇
刘亮
马华东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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 University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN202010787642.6A priority Critical patent/CN111866932B/en
Publication of CN111866932A publication Critical patent/CN111866932A/en
Application granted granted Critical
Publication of CN111866932B publication Critical patent/CN111866932B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/10Scheduling measurement reports ; Arrangements for measurement reports
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The embodiment of the application provides a network measurement method, a device and electronic equipment, which relate to the technical field of network communication and comprise the following steps: obtaining a first measurement parameter reflecting the physical layer performance of a network to be measured; obtaining a second measurement parameter reflecting the performance of a data link layer of the network to be measured; obtaining a third measurement parameter reflecting the network layer performance of the network to be measured; obtaining a fourth measurement parameter reflecting the performance of the transmission layer of the network to be measured; acquiring a fifth measurement parameter reflecting the performance of the application layer of the network to be measured; and obtaining a network measurement result according to the first measurement parameter, the second measurement parameter, the third measurement parameter, the fourth measurement parameter and the fifth measurement parameter. Therefore, the accuracy of network measurement can be improved by applying the scheme provided by the embodiment of the application.

Description

Network measurement method and device and electronic equipment
Technical Field
The present application relates to the field of network communication technologies, and in particular, to a network measurement method and apparatus, and an electronic device.
Background
With the rapid development of network communication technology, the deployment of a fifth generation mobile communication technology 5G network is also actively proceeding. In order to facilitate the positioning of the development bottleneck of the 5G network ecology by the staff and the debugging and optimization of the network, the network needs to be measured to obtain the performance parameters of the network.
In the prior art, when a network is measured, the performance of a network base station is usually measured, such as a network coverage area, signal transmission energy consumption, signal modulation efficiency, and the like. Although the network measurement can be realized by applying the prior art, the measurement content is only used for representing the performance of the network base station, but the actual construction condition of the whole network ecology is difficult to represent, the measurement method is low in efficiency, and the obtained measurement result is one-sidedness, so that the measurement accuracy is low.
Disclosure of Invention
An object of the embodiments of the present application is to provide a network measurement method, a network measurement device, and an electronic device, so as to improve accuracy of network measurement. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a network measurement method, where the method includes:
obtaining a first measurement parameter reflecting physical layer performance of a network to be measured, wherein the first measurement parameter comprises: the intensity distribution of signals in the coverage area of the network to be tested and the energy consumption of a terminal accessed to the network to be tested;
obtaining a second measurement parameter reflecting the performance of the data link layer of the network to be measured, wherein the second measurement parameter comprises: the bit rate distribution of the signals in the coverage area of the network to be tested, the interference degree of the obstacles on the signals in the coverage area and the network switching efficiency of the terminal are calculated;
obtaining a third measurement parameter reflecting the network layer performance of the network to be measured, wherein the third measurement parameter comprises: the packet loss rate and the network time delay of the network to be detected;
obtaining a fourth measurement parameter reflecting the performance of the transport layer of the network to be measured, wherein the fourth measurement parameter comprises: the maximum bandwidth of the network to be tested occupied by the terminal and the energy utilization efficiency of the terminal during data transmission based on the network to be tested;
obtaining a fifth measurement parameter reflecting the application layer performance of the network to be measured, wherein the fifth measurement parameter comprises: the terminal loads the loading time of the service data requested by the network to be tested;
and obtaining a network measurement result according to the first measurement parameter, the second measurement parameter, the third measurement parameter, the fourth measurement parameter and the fifth measurement parameter.
In a second aspect, an embodiment of the present application provides a network measurement apparatus, where the apparatus includes:
a first measurement module, configured to obtain a first measurement parameter that reflects a physical layer performance of a network to be measured, where the first measurement parameter includes: the intensity distribution of signals in the coverage area of the network to be tested and the energy consumption of a terminal accessed to the network to be tested;
a second measurement module, configured to obtain a second measurement parameter that reflects performance of a data link layer of the network to be measured, where the second measurement parameter includes: the bit rate distribution of the signals in the coverage area of the network to be tested, the interference degree of the obstacles on the signals in the coverage area and the network switching efficiency of the terminal are calculated;
a third measurement module, configured to obtain a third measurement parameter that reflects a network layer performance of the network to be measured, where the third measurement parameter includes: the packet loss rate and the network time delay of the network to be detected;
a fourth measurement module, configured to obtain a fourth measurement parameter that reflects performance of a transport layer of the network to be measured, where the fourth measurement parameter includes: the maximum bandwidth of the network to be tested occupied by the terminal and the energy utilization efficiency of the terminal during data transmission based on the network to be tested;
a fifth measurement module, configured to obtain a fifth measurement parameter that reflects performance of an application layer of the network to be measured, where the fifth measurement parameter includes: the terminal loads the loading time of the service data requested by the network to be tested;
and the result obtaining module is used for obtaining a network measurement result according to the first measurement parameter, the second measurement parameter, the third measurement parameter, the fourth measurement parameter and the fifth measurement parameter.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the memory and the processor through the communication bus;
a memory for storing a computer program; a processor for implementing the method steps of any of the first aspect when executing a program stored in the memory.
In a fourth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the method steps of any one of the first aspect.
Embodiments of the present application also provide a computer program product containing instructions, which when run on a computer, cause the computer to perform any of the above described network measurement methods.
The embodiment of the application has the following beneficial effects:
when the network measurement scheme provided by the embodiment of the application is applied to network measurement, a first measurement parameter reflecting the physical layer performance of a network to be measured is obtained, wherein the first measurement parameter comprises: the signal intensity distribution in the coverage area of the network to be tested and the energy consumption of a terminal accessed to the network to be tested; obtaining a second measurement parameter reflecting the performance of the data link layer of the network to be measured, wherein the second measurement parameter comprises: the bit rate distribution of signals in the coverage area of the network to be tested, the interference degree of the obstacles on the signals in the coverage area and the network switching efficiency of the terminal are determined; obtaining a third measurement parameter reflecting the network layer performance of the network to be measured, wherein the third measurement parameter comprises: the packet loss rate and the network time delay of the network to be detected; obtaining a fourth measurement parameter reflecting the performance of the transmission layer of the network to be measured, wherein the fourth measurement parameter comprises: the maximum bandwidth of a network to be tested occupied by the terminal and the energy utilization efficiency of the terminal during data transmission based on the network to be tested; obtaining a fifth measurement parameter reflecting the application layer performance of the network to be measured, wherein the fifth measurement parameter comprises: the terminal loads the loading time of the service data requested by the network to be tested; and obtaining a network measurement result according to the first measurement parameter, the second measurement parameter, the third measurement parameter, the fourth measurement parameter and the fifth measurement parameter. The obtained network measurement result comprises measurement parameters reflecting the performance of a physical layer, a data link layer, a network layer, a transmission layer and an application layer of the network to be measured, and the measurement result is more comprehensive. Therefore, the accuracy of network measurement can be improved by applying the scheme provided by the embodiment of the application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a network measurement method according to an embodiment of the present application;
fig. 2 is a schematic network level diagram provided in an embodiment of the present application;
fig. 3 is a schematic diagram of an ultra high definition video loading process according to an embodiment of the present application;
fig. 4a is a schematic signaling interaction diagram of state transition of a 5G network under a non-independent networking architecture according to an embodiment of the present application;
fig. 4b is a schematic diagram of network mode conversion according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a network measurement apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application.
In order to improve the accuracy of network measurement, embodiments of the present application provide a network measurement method, a network measurement device, and an electronic device, which are described in detail below.
Referring to fig. 1, fig. 1 is a schematic flowchart of a network measurement method according to an embodiment of the present disclosure. The method can be applied to electronic equipment such as mobile phones, electronic computers, notebook computers, tablet computers and the like, and is used for measuring the performance of a physical layer, a data link layer, a network layer, a transmission layer and an application layer of a network to be measured.
The network to be tested may be a fifth generation mobile communication technology 5G network, but is not limited thereto, and may also be a fourth generation mobile communication technology 4G network, where the architecture of the network to be tested may be an SA (stand-alone) architecture, or an NSA (Non-stand-alone) architecture, and the embodiment of the present application is not limited thereto.
Referring to fig. 2, fig. 2 is a schematic network level diagram according to an embodiment of the present disclosure. Based on the Open Systems Interconnection (OSI) model, a network can be divided into a physical layer, a data link layer, a network layer, a transport layer, and an application layer according to a communication system of the network.
The physical layer is the first layer of a network OSI model, provides transmission media and interconnection equipment for data communication, and provides a reliable environment for data transmission;
the data link layer is the second layer of the network OSI model and is arranged between the physical layer and the network layer, and the data link layer provides services for the network layer on the basis of the services provided by the physical layer and is used for supporting the data transmission among all nodes of the network layer;
the network layer is the third layer of the network OSI model, is arranged between the transmission layer and the data link layer, and is used for further managing data communication in the network on the basis of the transmission function provided by the data link layer and providing the most basic data transmission service from the service end to the terminal for the transmission layer;
the transmission layer is the fourth layer of the network OSI model, is arranged between the network layer and the application layer and is used for realizing data transmission from the server to the terminal;
the application layer is the top layer of the network OSI model and directly provides services for the application processes, and is used for completing a series of network services required by business processing while realizing the mutual communication of a plurality of system application processes.
As shown in fig. 1, the network measurement method includes the following steps 101 to 106.
Step 101, obtaining a first measurement parameter reflecting the physical layer performance of the network to be measured.
Wherein the first measurement parameter comprises: the intensity distribution of signals in the coverage area of the network to be tested and the energy consumption of a terminal accessed to the network to be tested.
The coverage area of the network to be tested may be: a circular area taking the network signal base station to be tested as the center and the propagation distance of the network signal to be tested as the radius; or cellular areas of the network to be tested, which are divided based on network deployment, may be regular hexagons, regular octagons, regular pentagons, etc., with the network signal base station to be tested as the center, and the size of the cellular area is related to the propagation distance of the network signal to be tested and the location where each network base station is deployed.
The terminal can be an electronic device such as a mobile phone, a tablet computer and a notebook computer, and can be accessed to a network to be tested to perform data transmission based on the network to be tested.
In an embodiment of the present application, the intensity distribution of signals within the coverage area of the network to be tested may be obtained based on a drive test. Specifically, a plurality of test positions can be selected within the coverage area of the network to be tested, the signal intensity of the network to be tested is measured at the test positions by using the signal intensity detector, and the intensity distribution of the signal within the coverage area of the network to be tested is obtained according to the signal intensity of each test position.
In another embodiment of the present application, the terminal accessing the network to be tested may also be used to obtain the intensity distribution of the signal within the coverage area of the network to be tested. Specifically, the terminal may be accessed to the network to be tested, the terminal is controlled to move within the coverage area of the network to be tested, the position of the terminal and the signal intensity of the accessed network are obtained according to a preset time interval or a preset distance interval, and the signal intensity distribution within the coverage area of the network to be tested is obtained until the coverage area of the network to be tested is traversed.
Wherein, the terminal may be provided with a GPS (Global Positioning System) receiver, and the position of the terminal is obtained according to the GPS receiver; the terminal may also be pre-installed with drive test software, such as XCAL-Mobile, for monitoring the signal strength of the network to which the terminal is connected. When the control terminal moves in the coverage area of the network to be tested, the control terminal can move on a street according to a preset movement speed, wherein the movement speed can be 4km/h, 5km/h, 20km/h and the like. The preset time interval may be 30 seconds, 100 seconds, 500 seconds, etc., and the preset distance interval may be 10 meters, 50 meters, 200 meters, etc.
In an embodiment of the application, when obtaining the energy consumption of the terminal accessing to the network to be tested, the terminal may first access to the network to be tested, and then monitor the power consumption of the terminal in unit time, so as to obtain the energy consumption of the terminal.
Step 102, obtaining a second measurement parameter reflecting the performance of the data link layer of the network to be measured.
Wherein the second measurement parameter comprises: the bit rate distribution of signals in the coverage area of the network to be tested, the interference degree of the obstacles on the signals in the coverage area and the network switching efficiency of the terminal.
The bit rate is used to measure the transmission speed of the network when transmitting data. Specifically, the coverage area of the network to be tested can be divided into regions, the bit rates of the network signals to be tested are obtained in the divided different regions, and the bit rate distribution of the signals is obtained according to the bit rates in the regions.
The obstacles can be buildings, plants, mountains and the like, and the network signals are shielded, reflected and the like by the obstacles in the propagation process, so that the signals are interfered and attenuated.
In an embodiment of the present application, when obtaining the interference and attenuation degree of the signal in the coverage area caused by the obstacle, based on the same terminal accessing the network to be tested, at a position at the same distance from the base station of the network signal to be tested, the strength, bit rate, and the like of the signal measured by the terminal under the condition of being shielded by the obstacle can be obtained, and the strength, bit rate, and the like of the signal measured by the terminal under the condition of not being shielded by the obstacle, the difference between the strength and bit rate of the signal under the above two conditions can be calculated as the interference degree of the signal in the coverage area caused by the obstacle.
In one embodiment of the present application, there is an overlapping area between coverage areas of different networks, and when the terminal is in the overlapping area, the terminal may detect signals of different networks. The terminal can measure the quality of the detected network signal and select to connect with the network with higher signal quality. Specifically, the terminal may currently establish a connection with any network, and detect the signal quality of the currently connected current network and other networks. If the quality of the signals of other networks is detected to be higher, the current network is disconnected, and connection is established with other networks, so that network switching is realized. When the terminal switches the network, a certain time length needs to be consumed, and the network switching efficiency of the terminal can be obtained by measuring the time length consumed by the terminal for switching the network.
And 103, obtaining a third measurement parameter reflecting the network layer performance of the network to be measured.
Wherein the third measurement parameter comprises: and the packet loss rate and the network time delay of the network to be tested.
Specifically, in a network layer of a network to be tested, a data packet loss phenomenon usually occurs in a data transmission process based on a wired network or a wireless network, and the main reasons are as follows:
(1) the transmission error of the air interface of the data link layer cannot effectively recover the data packet, so that the data packet is lost, namely, the air interface defect;
(2) the wired path between the server and the network signal base station to be tested has poor performance, such as fierce traffic competition and insufficient buffer area;
(3) the CPU processing power and buffer size of the terminal limit the packet transmission.
In an embodiment of the application, based on a terminal accessing a network to be tested, a data packet stream may be sent to a server according to a preset data sending rate, and the number of data packets received by the server in unit time is detected, so as to calculate a packet loss rate of the network to be tested.
In addition, in an embodiment of the present application, a reason why the packet loss occurs in the network to be tested may also be determined. Specifically, the BLER (block error rate) of the network layer may be detected, and if the number of HARQ (Hybrid Automatic repeat request) retransmissions obtained by the detection is smaller than a preset number threshold, it may be determined that the performance of the data link layer is stable, that is, the network to be detected has no air interface defect. The number threshold may be 32 times, 40 times, 60 times, etc.
The size of the network middleware buffer can also be calculated to judge whether the data packet loss occurs at the wired network end. Specifically, a packet flow sending tool, such as a traceroute tool, may be used to send a packet flow to the server according to a preset data sending rate, and record RTT (Round-trip-time delay). If the ratio of the first time delay to the second time delay is greater than the preset time delay ratio and the first time delay is greater than the second time delay, the result shows that the round-trip time delay of the wired network end is significantly greater than the round-trip time delay of the access network end, and the buffer area of the wired network end is too small, so that the packet loss of the wired link is caused; otherwise, it indicates that the data packet loss does not occur at the wired network end, and further determines that the data packet loss is likely to be lost in the air interface or the terminal.
In addition, the size of the terminal buffer can be increased, and the amount of change in throughput of the access network can be detected, and if the throughput is increased and the packet loss rate is decreased, the processing capability of the terminal is weak, so that the loss of the data packet is caused.
In an embodiment of the application, when obtaining the network delay of the network to be tested, a data transmission link may be formed based on the signal base station of the network to be tested and any preset service end, and data transmission is performed based on the data transmission link, and the delay of transmission data during transmission in the data transmission link is measured as the network delay of the network to be tested.
The data size of the transmission data may be smaller than a preset data size threshold, and the data size threshold may be 1 bit, 3 bits, or 5 bits, and when the transmission data is small, the data transmission link does not perform transmission in segments when transmitting data, so that the accuracy of the measured network delay is higher. And the efficiency of measuring the network time delay can be improved under the condition that the data size of the transmission data is small.
When the time delay is measured, data transmission and time delay measurement can be performed based on a User Datagram Protocol (UDP), so that transmitted data can be prevented from being filtered, and the network time delay measurement efficiency can be improved.
In an embodiment of the application, a plurality of data transmission links may be formed based on a plurality of preset service terminals and a signal base station of a network to be tested, network time delays are calculated according to each data transmission link, an average value of the calculated network time delays is calculated, and the average value is used as a final network time delay, so that accuracy of the obtained network time delay can be improved.
And 104, obtaining a fourth measurement parameter reflecting the performance of the transmission layer of the network to be measured.
Wherein the fourth measurement parameter comprises: the maximum bandwidth of the network to be tested occupied by the terminal and the energy utilization efficiency of the terminal during data transmission based on the network to be tested.
Specifically, according to the terminal accessing the network to be tested, data transmission can be performed continuously, the data transmission rate is increased step by step, and the stable peak value of the terminal throughput is detected as the maximum bandwidth.
When the terminal sends data, the terminal can send the data based on the UDP protocol, and the peak UDP throughput of the terminal is measured as the maximum bandwidth.
When the maximum bandwidth is measured, the measurement may be performed based on a preset measurement tool, which may be iperf3 or the like.
In an embodiment of the application, the maximum bandwidth of the terminal during data transmission based on the network to be measured can be measured under the condition that the packet loss rate of the network to be measured is lower than a preset packet loss rate threshold. The maximum bandwidth thus measured is more accurate. The packet loss rate threshold may be 1%, 3%, 5%, or the like, which is not limited in this embodiment.
In one embodiment of the present application, when the maximum bandwidth of the terminal is measured, the measurement may be performed at preset time periods, where the time periods may be time periods of day, such as 8:00-10:00, 14:00-16:00, or time periods of night, such as 20:00-22:00, 01:00-03: 00. Because the number of terminals accessing the network to be tested in the daytime is large, the maximum bandwidth occupied by each terminal is small, the number of terminals accessing the network to be tested at night is small, the maximum bandwidth occupied by each terminal is large, the maximum bandwidth measurement is respectively carried out in different time periods, the influence caused by data stream competition among the terminals can be eliminated, and the accuracy of the obtained maximum bandwidth is high.
In addition, based on the maximum bandwidth, the adaptability of the congestion control algorithm can be obtained. Specifically, the network to be tested can perform data transmission based on different congestion control algorithms, and respectively calculate the maximum bandwidth of the terminal under each congestion control algorithm, wherein the larger the measured maximum bandwidth is, the better the adaptability of the congestion control algorithm to the network to be tested is, and otherwise, the smaller the maximum bandwidth is, the worse the adaptability of the congestion control algorithm to the network to be tested is. The congestion algorithm may be Reno algorithm, Cubic algorithm, Vegas algorithm, Veno algorithm, BBR algorithm, etc. The adopted transmission Protocol may be a TCP (transmission control Protocol) Protocol or the like.
In an embodiment of the application, when the energy utilization efficiency of the terminal is measured, data transmission may be performed at a preset saturation sending rate based on the terminal accessing the network to be measured, the energy consumption condition of the terminal is detected, and the energy consumption caused by the data transmission of the unit byte to the terminal is calculated, which is used as the energy utilization efficiency when the terminal performs the data transmission. The saturated transmission rate may be 500Mbps, 900Mbps, 1000Mbps, etc. The adopted transmission protocol may be UDP protocol or the like.
And 105, acquiring a fifth measurement parameter reflecting the performance of the application layer of the network to be measured.
Wherein the fifth measurement parameter includes: and the terminal loads the loading time of the service data requested by the network to be tested.
Specifically, a terminal accessing a network to be tested may be used to request data from a server, load the requested data, and calculate a loading time for loading the data. The data may be web page data, image data, map data, client data, video data, etc.
The loading time comprises the time of downloading the data by the terminal and the time of rendering the data. When data downloading and rendering are carried out based on the browser, the loading time can be obtained based on a loading time measuring tool in a development tool of the browser.
In an embodiment of the application, the loading time of the terminal for loading the ultra-high-definition video data requested by the network to be tested can be measured.
Wherein, the ultra-high definition video is: and the image acquisition equipment acquires and uploads the video with the resolution reaching the preset ultrahigh-definition resolution to the server. The ultra high definition resolution may be 3840 × 2160 pixels. The ultra high definition video may be a panoramic video.
Referring to fig. 3, fig. 3 is a schematic diagram of an ultra high definition video loading process according to an embodiment of the present application. The embodiment of the application provides a client supporting ultra-high definition panoramic real-time video. The client can be developed and obtained based on the Insta360 ONEXAPI, and ultrahigh-definition video real-time loading from the server to the terminal is supported. The client supports switching video encoding/decoding modes and adjusting video resolution and other parameter configurations. Specifically, the ultra-high-definition panoramic video may be acquired based on the Insta360 panoramic camera, and then the acquired video may be uploaded to the server based on the client. On the terminal, a player supporting the RTMP (Real Time Messaging Protocol) is operated, and the acquired video is obtained from the server and loaded. In addition, a computing processing module is built on the server as part of the server-to-terminal video stream. For example, a streaming media platform, such as an easysss platform, is deployed on the huawei cloud to meet the requirements of a C/S (Client/Server) architecture.
In an embodiment of the application, under the condition of measuring the loading time based on the ultra-high-definition video, parameters such as a video frame rate and a frame delay can be measured, so as to measure the data transmission performance of the network to be measured.
And 106, obtaining a network measurement result according to the first measurement parameter, the second measurement parameter, the third measurement parameter, the fourth measurement parameter and the fifth measurement parameter.
In an embodiment of the present application, the first measurement parameter, the second measurement parameter, the third measurement parameter, the fourth measurement parameter, and the fifth measurement parameter may be recorded, and the recorded measurement parameters may be directly used as the network measurement result.
In an embodiment of the application, each performance parameter of the network to be measured may be obtained according to the first measurement parameter, the second measurement parameter, the third measurement parameter, the fourth measurement parameter, and the fifth measurement parameter, respectively, based on a preset corresponding relationship between each measurement parameter and the performance parameter, and the performance parameters are added according to a preset weight coefficient to obtain a network measurement result.
The performance parameter may be a score for measuring network performance.
Specifically, the first measurement parameter includes intensity distribution of the signal and energy consumption of the terminal, and a corresponding relationship between the intensity distribution and the performance parameter and a corresponding relationship between the energy consumption and the performance parameter may be pre-established, and after the first measurement parameter is obtained, the performance parameter corresponding to the intensity distribution and the performance parameter corresponding to the energy consumption may be obtained according to the corresponding relationship;
the second measurement parameter includes bit rate distribution of the signal, interference degree and network switching efficiency of the terminal, and a corresponding relationship between the bit rate distribution and the performance parameter, a corresponding relationship between the interference degree and the performance parameter, and a corresponding relationship between the network switching efficiency and the performance parameter can be pre-established, and after the second measurement parameter is obtained, the performance parameter corresponding to the bit rate distribution, the performance parameter corresponding to the interference degree, and the performance parameter corresponding to the network switching efficiency can be obtained according to the corresponding relationship;
the third measurement parameter includes a packet loss rate of the network and a network delay, a corresponding relationship between the packet loss rate and the performance parameter and a corresponding relationship between the network delay and the performance parameter can be pre-established, and after the third measurement parameter is obtained, the performance parameter corresponding to the packet loss rate and the performance parameter corresponding to the network delay can be obtained according to the corresponding relationship;
the fourth measurement parameter includes a maximum bandwidth occupied by the terminal and energy utilization efficiency, a corresponding relationship between the maximum bandwidth and the performance parameter and a corresponding relationship between the energy utilization efficiency and the performance parameter can be established in advance, and after the fourth measurement parameter is obtained, the performance parameter corresponding to the maximum bandwidth and the performance parameter corresponding to the energy utilization efficiency can be obtained according to the corresponding relationship;
the fifth measurement parameter comprises loading time, a corresponding relation between the loading time and the performance parameter can be established in advance, and after the fifth measurement parameter is obtained, the performance parameter corresponding to the loading time can be obtained according to the corresponding relation;
the weights of the performance parameters corresponding to the measurement parameters can be pre-established, so that after the performance parameters corresponding to the measurement parameters are obtained, the performance parameters are weighted and summed according to the weight of each performance parameter to obtain a network measurement result.
When the network measurement scheme provided by the above embodiment is applied to network measurement, a first measurement parameter reflecting the physical layer performance of the network to be measured is obtained, where the first measurement parameter includes: the signal intensity distribution in the coverage area of the network to be tested and the energy consumption of a terminal accessed to the network to be tested; obtaining a second measurement parameter reflecting the performance of the data link layer of the network to be measured, wherein the second measurement parameter comprises: the bit rate distribution of signals in the coverage area of the network to be tested, the interference degree of the obstacles on the signals in the coverage area and the network switching efficiency of the terminal are determined; obtaining a third measurement parameter reflecting the network layer performance of the network to be measured, wherein the third measurement parameter comprises: the packet loss rate and the network time delay of the network to be detected; obtaining a fourth measurement parameter reflecting the performance of the transmission layer of the network to be measured, wherein the fourth measurement parameter comprises: the maximum bandwidth of a network to be tested occupied by the terminal and the energy utilization efficiency of the terminal during data transmission based on the network to be tested; obtaining a fifth measurement parameter reflecting the application layer performance of the network to be measured, wherein the fifth measurement parameter comprises: the terminal loads the loading time of the service data requested by the network to be tested; and obtaining a network measurement result according to the first measurement parameter, the second measurement parameter, the third measurement parameter, the fourth measurement parameter and the fifth measurement parameter. The obtained network measurement result comprises measurement parameters reflecting the performance of a physical layer, a data link layer, a network layer, a transmission layer and an application layer of the network to be measured, and the measurement result is more comprehensive. Therefore, the accuracy of network measurement can be improved by applying the scheme provided by the embodiment.
In an embodiment of the present application, when obtaining the bit rate distribution in step 102, the area of the coverage area of the network to be measured may be divided, an area to be measured is selected from the divided areas, the bit rate of the network signal to be measured in the area to be measured is measured for each area to be measured, and the bit rate distribution of the signal in the coverage area of the network to be measured is obtained according to the bit rate of the network signal to be measured in each area to be measured.
When the coverage area is divided into areas, the areas may be divided according to a preset area size, so that the sizes of the obtained areas are the same, and the preset area size may be 20 square meters, 50 square meters, 100 square meters, and the like. The coverage area may be equally divided into a preset number of areas, and the preset number may be 500, 900, 3000, and so on.
When the area to be measured is selected, the area to be measured may be selected according to a preset distance interval, and may also be selected randomly, which is not limited in the embodiment of the present application. Therefore, the bit rate of the network to be measured in the selected area to be measured can be measured subsequently, the bit rate of the network to be measured does not need to be measured for all areas, and the efficiency of obtaining the bit rate distribution can be improved.
In an embodiment of the present application, a terminal accessing a network to be tested may be frequency-locked, so as to force the terminal to access the network to be tested based on a specific frequency band. Therefore, the bit rate of the network to be tested measured based on the terminal is more stable and the accuracy is higher.
In the case that the architecture of the network to be tested is a non-independent networking architecture, the base station of the network to be tested may support multiple networks, and taking the common deployment of the base stations of the 4G network and the 5G network as an example, an RRC (Radio resource control) configuration message from the 5G terminal must be scheduled by a corresponding 4G eNB (4G base station) before reaching the 5G gbb (5G base station). Therefore, when the above frequency band is locked, the frequency band of the 4G base station can be locked.
In one embodiment of the present application, after obtaining the bit rate distribution, the bit rate distribution can be represented in a form of a graph, so that visualization of the bit rate distribution can be achieved. The graph may be a contour diagram, a bar diagram, a line diagram, or the like.
In an embodiment of the present application, when measuring the bit rate of each area to be measured, for each area to be measured, the number of carriers used when the network to be measured performs data transmission, the number of spatial layers occupied by each carrier, the modulation order of each carrier, the number of resource blocks borne by each carrier, and the maximum coding rate may be measured in the area to be measured, and the bit rate data rate of the network signal to be measured in the area to be measured is calculated by using the following formula:
Figure BDA0002622591840000131
wherein J represents the number of carriers,
Figure BDA0002622591840000132
characterize the number of spatial layers occupied by the jth carrier,
Figure BDA0002622591840000133
modulation order, f, characterizing the jth carrier(j)Characterizing a predetermined expansion coefficient, RmaxThe maximum code rate is characterized and,
Figure BDA0002622591840000134
the number of resource blocks carried by the jth carrier is characterized,
Figure BDA0002622591840000135
characterised by a predetermined symbol length, OH(j)A preset overhead value is characterized.
Specifically, for example, when the network to be tested is a 5G network, according to the specification of 3GPP R15 (protocol standard), the 5G modulates signals using OFDM (Orthogonal Frequency Division Multiplexing), and the channel resources are divided into time domain resources and Frequency domain resources. In the time domain resource, 5G networks provide 5 different subcarrier spacings. The OFDM symbol duration for different subcarrier intervals is different, but the frame duration in current commercial systems is fixed, i.e. 1 ms. The number of OFDM symbols included in a frame is different using different subcarrier durations. Since the subcarrier spacing is determined to be 30KHz in the 5G channel configuration, 28 OFDM symbols are included in one frame. Considering that the uplink and downlink symbol ratio is related to the service requirement of the operator, i.e. the configuration of each operator is not necessarily the same, the most common DDSD (symbol ratio calculation algorithm) can be used to calculate the uplink and downlink symbol ratio, i.e. 0.75. In the frequency domain Resource, one RB (Resource Block) has 12 consecutive subcarriers. The bandwidth used is determined to be 100MHz in the channel configuration of 5G, and the maximum number of PRBs (Per-Resource blocks, Resource blocks carried by a unit carrier) is determined to be 273 according to the 30KHz subcarrier spacing.
Secondly, the number of bits that an OFDM symbol can carry is related to the channel quality. The 5G base station and the terminal control the modulation method and the Coding rate by transmitting CQI (channel Quality indication) and calculating MCS (modulation and Coding Scheme) by the base station. The 3GPP R15 TS38.214 protocol provides a correspondence between modulation and coding strategies and modulation methods and coding rates, and a target coding rate and spectrum utilization rate can be obtained by direct table lookup. In addition, the 5G network air interface MIMO (Multiple-Input Multiple-Output) technology can transmit data in Multiple spatial layers, which effectively improves the utilization rate of spatial resources. In addition, the 5G network also uses a carrier aggregation technology, so that carriers of a plurality of cells can be aggregated, the bandwidth is increased, and the transmission rate is improved.
Finally, the 3GPP R15 TS38.306 protocol provides a method for calculating the maximum bit rate of the terminal under ideal conditions, and the maximum channel transmission rate can be calculated by using the maximum PRB and the highest coding rate.
In one embodiment of the present application, the power consumption of the terminal may be expressed based on the amount of power consumed by the terminal. The energy consumption of the terminal accessing the network to be tested comprises at least one of the following consumption:
(1) under the condition of closing the background program of the terminal, first energy consumption of the terminal is performed;
therefore, only the system which can be an android system, an apple system or a Windows system runs in the terminal, and the first energy consumption can represent the energy consumption brought by the running of the system in the terminal.
(2) Under the condition that the background program of the terminal is closed and the screen brightness of the terminal is set to be the maximum brightness, second energy consumption of the terminal is carried out;
the second energy consumption may represent energy consumption brought by system operation and a screen in a display state in the terminal.
(3) Under the condition that the terminal runs the preset application program offline, the third energy consumption of the terminal is achieved;
the preset application program can be a browser, a video player, a cloud game, a downloader and the like.
The third energy consumption may represent energy consumption caused by system operation, screen display state, and offline application program operation in the terminal.
(4) And under the condition that the terminal runs the preset application program on line, the fourth energy consumption of the terminal is consumed.
The fourth energy consumption may represent energy consumption caused by system operation, screen display state, and online application program operation in the terminal.
In an embodiment of the application, according to the first energy consumption, the second energy consumption, the third energy consumption, and the fourth energy consumption, each power consuming module of the terminal may be decomposed, so as to obtain energy consumption brought by each part of modules in the terminal.
In an embodiment of the application, power information of a terminal accessing a network to be tested can be read, and energy consumption of the terminal can be obtained according to the power information. The power information of the terminal can be read based on a preset power information reading tool, and the power information reading tool can be pwrStrip (smartphone energy consumption monitor). Specifically, pwrStrip may be run, and the power information of the Linux kernel of the terminal, such as now _ voltage (current voltage) and now _ current (current), may be read and analyzed in the listening window of 10 ms. In order to realize electric quantity visualization, the power consumption change of the mobile phone battery can be displayed in real time in a line graph form, and data is stored in a local file. In addition, other parameters of the battery, such as temperature, power, output voltage, etc., may also be displayed.
In one embodiment of the present application, in order to eliminate the influence of the signal quality change on the terminal energy consumption, the terminal energy consumption may be measured in an area where the signal strength of the network to be measured is in a preset strength interval, where the strength interval may be-80 to-60 dBm, or-60 to-40 dBm, or the like.
In an embodiment of the present application, the architecture of the network to be tested is a non-independent networking architecture, that is, the network to be tested and other networks may be deployed in the same network base station.
In an embodiment of the present application, when obtaining the network handover efficiency, an interval duration between a handover start instruction and a handover complete instruction triggered by a terminal may be detected as the network handover efficiency.
Wherein, the switching start command is: the terminal triggers an instruction for indicating the disconnection and connection of the current network to other networks when monitoring that the signal quality of other networks is higher than that of the current network, and the switching completion instruction is as follows: and the terminal triggers under the condition of successfully switching to other networks.
Specifically, the terminal may be controlled to move, the network connection between the terminal and the server is maintained, and the XCAL-Mobile is used to monitor a control signaling message related to the network handover in the terminal, that is, a radio connection reconfiguration message with a handover configuration measurement report of the eNB/gNB. According to the switching activation event of A3, if the signal quality of other networks detected by the terminal is continuously higher than that of the current network within a specific time period, the terminal actively switches the networks. For example, in the case of 5G networks, horizontal switching between 5G networks begins with the LTE MAC RACH command trigger and ends with the NRMAC RACH probe command, which may be captured by XCAL-Mobile. The captured switching instruction can be quantified for switching duration, and the network switching efficiency is determined according to the switching duration.
In addition, in an embodiment of the present application, throughput changes before and after network handover and handover policy parameter configuration may also be measured, and network handover performance is measured according to the measurement result.
Referring to table 1 below, table 1 is a schematic table of network measurements provided in the embodiments of the present application.
TABLE 1
Figure BDA0002622591840000161
As shown in table 1, the measurement modes for measuring the intensity distribution of signals within the coverage area of the network to be measured and the energy consumption of the terminal accessing the network to be measured belong to passive measurement, and the measurement modes for measuring the bit rate distribution, the interference degree, the network switching efficiency, the packet loss rate, the network delay, the maximum bandwidth, the energy utilization efficiency, and the loading time belong to active measurement.
The method combining the bottom-up cross-layer measurement and the active and passive measurement has the advantages of deep and comprehensive network measurement. In particular, cross-layer measurement can fully understand service performance of each layer of a network protocol stack and interaction performance of adjacent layers. However, the simple cross-layer measurement usually only focuses on the breadth of the measurement plane, and ignores the deep analysis of the specific network problem. On the other hand, active and passive measurement has the advantages of deep-level network analysis, which can adopt purposeful experimental design (namely, network elasticity measurement is carried out by sending a determined flow data packet probe to the network) and can also monitor wireless channel signaling and parameter interaction processes. Therefore, the integration of cross-layer measurement and active and passive measurement can meet the requirement of comprehensive and deep detection network. Taking a 5G network as an example, referring to fig. 4a and 4b, fig. 4a is a signaling interaction schematic diagram of 5G network state transition under a non-independent networking architecture provided in the embodiment of the present application, and fig. 4b is a schematic diagram of network mode transition provided in the embodiment of the present application. Wherein, the UE represents a User Equipment, i.e. a terminal.
The RRC _ CONNECTED (CONNECTED mode) includes an LTE (Long Term Evolution) mode, an NR (New Radio) mode, and TinacIndicating that the timer is not activated. Initially, the terminal is in an RRC _ IDLE state, and paging DRX (Discontinuous Reception) is used as a period TidleAnd monitoring a paging channel SRB 0/CCCH/UL-SCH/PUSCH. Once the terminal wants to send data into the internet or listen to a paging message, it immediately sends an LTE RRC connection request to the 4G base station eNB and enters RRC _ CONNECTED LTE connection mode. Next, the eNB sends control signaling to the terminal to configure the terminal to start a 5G base station gNB random access procedure. And the terminal enters an RRC _ CONNECTED NR connection mode after receiving the connection configuration returned by the base station, namely formally starting 5G data transmission. To avoid restarting the RRC state machine again for other data streams in a short period of time, thereby causing power consumption shock. When the data transmission is completed, the terminal is not standingI.e. back to RRC IDLE. But continues to repeatedly and discontinuously monitor the PUCCH/PDCCH channel until the terminal continues to transmit or receive no data traffic for a while, or receives a disconnect command from the base station to be sure that the "temporary" data stagnation is entered, the RRC connection is disconnected and returns to RRC _ IDLE. The process is an energy consumption tailing process. Currently, due to the limitation of NSA architecture, the RRC _ CONNECTED NR connection mode needs to be returned to the LTE connection mode and then degraded to the RRC _ IDLE state. In addition, the signaling interaction of the terminal from the RRC _ IDLE state to the RRC _ CONNECTED LTE mode causes a delay, which may be used to raise the delay TLTE_proTo indicate. Similarly, the delay from the RRC _ IDLE state into the RRC _ CONNECTED NR mode is denoted as TNR_pro. While the delay from LTE mode to NR mode is denoted T4r_5r
To reduce power drain, the DRX mechanism enables the terminal to sleep intermittently. In the 5G RRC state machine, there are 3 DRX modules — paging DRX, short DRX, and long DRX. The starting time and specific parameters of the 3 modules are different, but the basic process is approximately similar. The terminal may intermittently monitor the channel for one full DRX cycle. If the data is monitored, the continuous transmission is rapidly started; if no data exists, the sleep is continued, and the low energy consumption state is kept.
Table 2 below is a schematic table of timer parameters provided in the embodiments of the present application.
TABLE 2
Figure BDA0002622591840000181
In an embodiment of the present application, in combination with the timer parameter, the 5G network energy consumption based on the RRC state machine and the DRX mechanism may be simulated. Specifically, energy consumption management for 5G networks follows RRC state machine mechanisms. Generally, 5G network signals are switched between an IDLE state RRC _ IDLE when there is no data transmission and a CONNECTED state RRC _ CONNECTED when there is data transmission, and a DRX mechanism is used to save power. Through simulation experiments, a simple method for improving the power efficiency of a 5G state machine can be found: and (4) selecting a scheme of a dynamic network system. This scheme turns on the higher power consuming 5G radio module in the terminal only when necessary-if the instantaneous traffic intensity measured at the UE is close to 4G capacity, i.e. 100Mbps, the radio is switched to the 5GNR module; otherwise, the terminal should remain in 4G mode.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a network measurement apparatus according to an embodiment of the present application, where the apparatus includes:
a first measurement module 501, configured to obtain a first measurement parameter reflecting physical layer performance of a network to be measured, where the first measurement parameter includes: the intensity distribution of signals in the coverage area of the network to be tested and the energy consumption of a terminal accessed to the network to be tested;
a second measurement module 502, configured to obtain a second measurement parameter that reflects performance of a data link layer of the network to be measured, where the second measurement parameter includes: the bit rate distribution of the signals in the coverage area of the network to be tested, the interference degree of the obstacles on the signals in the coverage area and the network switching efficiency of the terminal are calculated;
a third measurement module 503, configured to obtain a third measurement parameter that reflects a network layer performance of the network to be measured, where the third measurement parameter includes: the packet loss rate and the network time delay of the network to be detected;
a fourth measurement module 504, configured to obtain a fourth measurement parameter that reflects performance of a transport layer of the network to be measured, where the fourth measurement parameter includes: the maximum bandwidth of the network to be tested occupied by the terminal and the energy utilization efficiency of the terminal during data transmission based on the network to be tested;
a fifth measurement module 505, configured to obtain a fifth measurement parameter that reflects an application layer performance of the network to be measured, where the fifth measurement parameter includes: the terminal loads the loading time of the service data requested by the network to be tested;
a result obtaining module 506, configured to obtain a network measurement result according to the first measurement parameter, the second measurement parameter, the third measurement parameter, the fourth measurement parameter, and the fifth measurement parameter.
In one embodiment of the present application, the second measurement module 502 includes:
the interference degree obtaining unit is used for obtaining the interference degree of the signal in the coverage range by the obstacle;
a switching efficiency obtaining unit, configured to obtain network switching efficiency of the terminal;
a bit rate distribution obtaining unit for obtaining the bit rate distribution by:
dividing the coverage area of the network to be measured, and selecting an area to be measured from the divided areas;
measuring the bit rate of the network signal to be measured in each area to be measured;
and obtaining the bit rate distribution of the signals in the coverage area of the network to be measured according to the bit rate of the network to be measured in each area to be measured.
In an embodiment of the application, the bit rate distribution obtaining unit is specifically configured to:
dividing the coverage area of the network to be measured, and selecting an area to be measured from the divided areas;
for each area to be measured, measuring the number of carriers adopted when the network to be measured performs data transmission, the number of spatial layers occupied by each carrier, the modulation order of each carrier, the number of resource blocks borne by each carrier and the maximum coding rate in the area to be measured, and calculating the bit rate of the network signal to be measured in the area to be measured by using the following formula:
Figure BDA0002622591840000201
wherein said J characterizes said number of carriers, said
Figure BDA0002622591840000202
Characterizing the number of spatial layers occupied by the jth carrier, said
Figure BDA0002622591840000203
A modulation order characterizing a jth carrier, said f(j)Characterizing a preset expansion coefficient, said RmaxCharacterizing a maximum coding rate, said
Figure BDA0002622591840000204
Characterizing a number of resource blocks carried by a jth carrier, said
Figure BDA0002622591840000205
Characterizing a predetermined symbol length, said OH(j)Representing a preset overhead value;
and obtaining the bit rate distribution of the signals in the coverage area of the network to be measured according to the bit rate of the network to be measured in each area to be measured.
In an embodiment of the present application, the energy consumption of the terminal accessing the network under test includes at least one of the following:
a first energy consumption of the terminal in case of closing the terminal daemon;
under the condition that the terminal background program is closed and the screen brightness of the terminal is set to be the maximum brightness, second energy consumption of the terminal is achieved;
under the condition that the terminal runs a preset application program offline, the terminal consumes third energy;
and under the condition that the terminal runs the preset application program on line, the fourth energy of the terminal is consumed.
In an embodiment of the present application, the fourth measurement module 504 is specifically configured to:
under the condition that the packet loss rate of the network to be detected is lower than a preset packet loss rate threshold, measuring the maximum bandwidth of the terminal during data transmission based on the network to be detected;
and obtaining the energy utilization efficiency of the terminal when the terminal transmits data based on the network to be tested.
In an embodiment of the present application, the architecture of the network to be tested is a non-independent networking architecture;
in an embodiment of the application, the handover efficiency obtaining unit is specifically configured to obtain the network handover efficiency of the terminal by:
detecting an interval duration between a switching start instruction and a switching completion instruction triggered by the terminal as the network switching efficiency, wherein the switching start instruction is as follows: the terminal triggers an instruction for indicating to disconnect the current network and connect the current network to the other network when monitoring that the signal quality of the other network is higher than that of the current network, and the switching completion instruction is as follows: and the terminal triggers under the condition of successfully switching to the other networks.
The fifth measurement module 505 is specifically configured to obtain a loading time for the terminal to load the service data requested by the network to be tested in the following manner:
measuring the loading time of the terminal for loading the ultra high definition video data requested by the network to be tested, wherein the ultra high definition video is as follows: the method comprises the steps that an image acquisition device acquires and uploads a video with resolution reaching preset ultra-high definition resolution to a server;
in one embodiment of the present application, the first measurement module 501 includes:
the intensity distribution obtaining unit is used for obtaining the intensity distribution of the signals in the coverage area of the network to be tested;
an energy consumption obtaining unit, configured to obtain energy consumption of a terminal accessing the network to be tested by:
and reading power information of a terminal accessed to the network to be tested, and acquiring energy consumption of the terminal according to the power information.
In an embodiment of the application, the result obtaining module 506 is specifically configured to:
based on the corresponding relation between each preset measurement parameter and a performance parameter, obtaining each performance parameter of the network to be measured according to the first measurement parameter, the second measurement parameter, the third measurement parameter, the fourth measurement parameter and the fifth measurement parameter respectively;
and adding the performance parameters according to a preset weight coefficient to obtain a network measurement result.
When the network measurement scheme provided by the above embodiment is applied to network measurement, a first measurement parameter reflecting the physical layer performance of the network to be measured is obtained, where the first measurement parameter includes: the signal intensity distribution in the coverage area of the network to be tested and the energy consumption of a terminal accessed to the network to be tested; obtaining a second measurement parameter reflecting the performance of the data link layer of the network to be measured, wherein the second measurement parameter comprises: the bit rate distribution of signals in the coverage area of the network to be tested, the interference degree of the obstacles on the signals in the coverage area and the network switching efficiency of the terminal are determined; obtaining a third measurement parameter reflecting the network layer performance of the network to be measured, wherein the third measurement parameter comprises: the packet loss rate and the network time delay of the network to be detected; obtaining a fourth measurement parameter reflecting the performance of the transmission layer of the network to be measured, wherein the fourth measurement parameter comprises: the maximum bandwidth of a network to be tested occupied by the terminal and the energy utilization efficiency of the terminal during data transmission based on the network to be tested; obtaining a fifth measurement parameter reflecting the application layer performance of the network to be measured, wherein the fifth measurement parameter comprises: the terminal loads the loading time of the service data requested by the network to be tested; and obtaining a network measurement result according to the first measurement parameter, the second measurement parameter, the third measurement parameter, the fourth measurement parameter and the fifth measurement parameter. The obtained network measurement result comprises measurement parameters reflecting the performance of a physical layer, a data link layer, a network layer, a transmission layer and an application layer of the network to be measured, and the measurement result is more comprehensive. Therefore, the accuracy of network measurement can be improved by applying the scheme provided by the embodiment.
The embodiment of the present application further provides an electronic device, as shown in fig. 6, which includes a processor 601, a communication interface 602, a memory 603, and a communication bus 604, where the processor 601, the communication interface 602, and the memory 603 complete mutual communication through the communication bus 604,
a memory 603 for storing a computer program;
the processor 601 is configured to implement the network measurement method steps when executing the program stored in the memory 603.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
In yet another embodiment provided by the present application, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any of the above network measurement methods.
In yet another embodiment provided by the present application, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the network measurement methods of the above embodiments.
When the network measurement scheme provided by the above embodiment is applied to network measurement, a first measurement parameter reflecting the physical layer performance of the network to be measured is obtained, where the first measurement parameter includes: the signal intensity distribution in the coverage area of the network to be tested and the energy consumption of a terminal accessed to the network to be tested; obtaining a second measurement parameter reflecting the performance of the data link layer of the network to be measured, wherein the second measurement parameter comprises: the bit rate distribution of signals in the coverage area of the network to be tested, the interference degree of the obstacles on the signals in the coverage area and the network switching efficiency of the terminal are determined; obtaining a third measurement parameter reflecting the network layer performance of the network to be measured, wherein the third measurement parameter comprises: the packet loss rate and the network time delay of the network to be detected; obtaining a fourth measurement parameter reflecting the performance of the transmission layer of the network to be measured, wherein the fourth measurement parameter comprises: the maximum bandwidth of a network to be tested occupied by the terminal and the energy utilization efficiency of the terminal during data transmission based on the network to be tested; obtaining a fifth measurement parameter reflecting the application layer performance of the network to be measured, wherein the fifth measurement parameter comprises: the terminal loads the loading time of the service data requested by the network to be tested; and obtaining a network measurement result according to the first measurement parameter, the second measurement parameter, the third measurement parameter, the fourth measurement parameter and the fifth measurement parameter. The obtained network measurement result comprises measurement parameters reflecting the performance of a physical layer, a data link layer, a network layer, a transmission layer and an application layer of the network to be measured, and the measurement result is more comprehensive. Therefore, the accuracy of network measurement can be improved by applying the scheme provided by the embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optics, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, microwave, millimeter wave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, apparatus embodiments, electronic device embodiments, computer-readable storage medium embodiments, and computer program product embodiments are substantially similar to method embodiments and therefore are described with relative ease, as appropriate, with reference to the partial description of the method embodiments.
The above description is only for the preferred embodiment of the present application and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims (10)

1. A method of network measurement, the method comprising:
obtaining a first measurement parameter reflecting physical layer performance of a network to be measured, wherein the first measurement parameter comprises: the intensity distribution of signals in the coverage area of the network to be tested and the energy consumption of a terminal accessed to the network to be tested;
obtaining a second measurement parameter reflecting the performance of the data link layer of the network to be measured, wherein the second measurement parameter comprises: the bit rate distribution of the signals in the coverage area of the network to be tested, the interference degree of the obstacles on the signals in the coverage area and the network switching efficiency of the terminal are calculated;
obtaining a third measurement parameter reflecting the network layer performance of the network to be measured, wherein the third measurement parameter comprises: the packet loss rate and the network time delay of the network to be detected;
obtaining a fourth measurement parameter reflecting the performance of the transport layer of the network to be measured, wherein the fourth measurement parameter comprises: the maximum bandwidth of the network to be tested occupied by the terminal and the energy utilization efficiency of the terminal during data transmission based on the network to be tested;
obtaining a fifth measurement parameter reflecting the application layer performance of the network to be measured, wherein the fifth measurement parameter comprises: the terminal loads the loading time of the service data requested by the network to be tested;
and obtaining a network measurement result according to the first measurement parameter, the second measurement parameter, the third measurement parameter, the fourth measurement parameter and the fifth measurement parameter.
2. The method according to claim 1, characterized in that the bitrate distribution is obtained by:
dividing the coverage area of the network to be measured, and selecting an area to be measured from the divided areas;
measuring the bit rate of the network signal to be measured in each area to be measured;
and obtaining the bit rate distribution of the signals in the coverage area of the network to be measured according to the bit rate of the network to be measured in each area to be measured.
3. The method according to claim 2, wherein said measuring, for each area to be measured, the bit rate of the network signal to be measured in the area to be measured comprises:
for each area to be measured, measuring the number of carriers adopted when the network to be measured performs data transmission, the number of spatial layers occupied by each carrier, the modulation order of each carrier, the number of resource blocks borne by each carrier and the maximum coding rate in the area to be measured, and calculating the bit rate datarate of the network signal to be measured in the area to be measured by using the following formula:
Figure FDA0002622591830000021
wherein said J characterizes said number of carriers, said
Figure FDA0002622591830000022
Characterizing the number of spatial layers occupied by the jth carrier, said
Figure FDA0002622591830000023
A modulation order characterizing a jth carrier, said f(j)Characterizing a preset expansion coefficient, said RmaxCharacterizing a maximum coding rate, said
Figure FDA0002622591830000024
Characterizing a number of resource blocks carried by a jth carrier, said
Figure FDA0002622591830000025
Characterizing a predetermined symbol length, said OH(j)A preset overhead value is characterized.
4. The method according to claim 1, wherein the energy consumption of the terminal accessing the network under test comprises at least one of the following:
a first energy consumption of the terminal in case of closing the terminal daemon;
under the condition that the terminal background program is closed and the screen brightness of the terminal is set to be the maximum brightness, second energy consumption of the terminal is achieved;
under the condition that the terminal runs a preset application program offline, the terminal consumes third energy;
and under the condition that the terminal runs the preset application program on line, the fourth energy of the terminal is consumed.
5. The method according to claim 1, wherein the maximum bandwidth of the network under test occupied by the terminal is obtained by:
and under the condition that the packet loss rate of the network to be detected is lower than a preset packet loss rate threshold, measuring the maximum bandwidth of the terminal during data transmission based on the network to be detected.
6. The method of claim 1,
the architecture of the network to be tested is a non-independent networking architecture;
obtaining the network switching efficiency of the terminal by the following method:
detecting an interval duration between a switching start instruction and a switching completion instruction triggered by the terminal as the network switching efficiency, wherein the switching start instruction is as follows: the terminal triggers an instruction for indicating to disconnect the current network and connect the current network to the other network when monitoring that the signal quality of the other network is higher than that of the current network, and the switching completion instruction is as follows: and the terminal triggers under the condition of successfully switching to the other networks.
7. The method of claim 1,
obtaining the loading time of the terminal for loading the service data requested by the network to be tested through the following modes:
measuring the loading time of the terminal for loading the ultra high definition video data requested by the network to be tested, wherein the ultra high definition video is as follows: the method comprises the steps that an image acquisition device acquires and uploads a video with resolution reaching preset ultra-high definition resolution to a server;
and/or
Obtaining energy consumption of a terminal accessing the network to be tested by the following method:
and reading power information of a terminal accessed to the network to be tested, and acquiring energy consumption of the terminal according to the power information.
8. The method according to any one of claims 1-7, wherein obtaining network measurement results according to the first measurement parameter, the second measurement parameter, the third measurement parameter, the fourth measurement parameter, and the fifth measurement parameter comprises:
based on the corresponding relation between each preset measurement parameter and a performance parameter, obtaining each performance parameter of the network to be measured according to the first measurement parameter, the second measurement parameter, the third measurement parameter, the fourth measurement parameter and the fifth measurement parameter respectively;
and adding the performance parameters according to a preset weight coefficient to obtain a network measurement result.
9. A network measurement device, the device comprising:
a first measurement module, configured to obtain a first measurement parameter that reflects a physical layer performance of a network to be measured, where the first measurement parameter includes: the intensity distribution of signals in the coverage area of the network to be tested and the energy consumption of a terminal accessed to the network to be tested;
a second measurement module, configured to obtain a second measurement parameter that reflects performance of a data link layer of the network to be measured, where the second measurement parameter includes: the bit rate distribution of the signals in the coverage area of the network to be tested, the interference degree of the obstacles on the signals in the coverage area and the network switching efficiency of the terminal are calculated;
a third measurement module, configured to obtain a third measurement parameter that reflects a network layer performance of the network to be measured, where the third measurement parameter includes: the packet loss rate and the network time delay of the network to be detected;
a fourth measurement module, configured to obtain a fourth measurement parameter that reflects performance of a transport layer of the network to be measured, where the fourth measurement parameter includes: the maximum bandwidth of the network to be tested occupied by the terminal and the energy utilization efficiency of the terminal during data transmission based on the network to be tested;
a fifth measurement module, configured to obtain a fifth measurement parameter that reflects performance of an application layer of the network to be measured, where the fifth measurement parameter includes: the terminal loads the loading time of the service data requested by the network to be tested;
and the result obtaining module is used for obtaining a network measurement result according to the first measurement parameter, the second measurement parameter, the third measurement parameter, the fourth measurement parameter and the fifth measurement parameter.
10. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program; a processor for implementing the method steps of any of claims 1 to 8 when executing a program stored in the memory.
CN202010787642.6A 2020-08-07 2020-08-07 Network measurement method and device and electronic equipment Active CN111866932B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010787642.6A CN111866932B (en) 2020-08-07 2020-08-07 Network measurement method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010787642.6A CN111866932B (en) 2020-08-07 2020-08-07 Network measurement method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111866932A true CN111866932A (en) 2020-10-30
CN111866932B CN111866932B (en) 2021-03-12

Family

ID=72972885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010787642.6A Active CN111866932B (en) 2020-08-07 2020-08-07 Network measurement method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111866932B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112600631A (en) * 2020-12-07 2021-04-02 深圳市康冠商用科技有限公司 WiFi signal stability automatic test method and related components thereof
CN113820608A (en) * 2021-08-20 2021-12-21 北京邮电大学 Method for predicting remaining capacity of battery in echelon and electronic equipment
KR102345315B1 (en) * 2021-07-19 2021-12-31 (주)아비스 System for measuring network transition time
CN114157861A (en) * 2021-12-28 2022-03-08 成都康特软件科技开发有限公司 Link quality detection method and device and computer equipment
CN115499350A (en) * 2021-06-03 2022-12-20 大唐移动通信设备有限公司 Method and device for testing downlink
CN117354838A (en) * 2023-12-04 2024-01-05 贝优特技术有限公司 Device, system and method for testing performance of wireless mobile communication network

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1719302A1 (en) * 2003-10-31 2006-11-08 Siemens Mobile Communications S.p.A. Fast signalling procedure for streaming services quality of service managing in wireless networks
CN101013912A (en) * 2007-02-05 2007-08-08 北京邮电大学 Power control method for centralized wireless multihop access network
CN101378577A (en) * 2008-09-27 2009-03-04 华为技术有限公司 Method and system for detecting link failure
US20090238095A1 (en) * 2008-03-20 2009-09-24 Warren Blackwell Methods and systems for network channel capacity planning, measuring and analyzing of WLAN networks
CN101577572A (en) * 2008-05-07 2009-11-11 中兴通讯股份有限公司 Resource multiplexing method for multiple input multiple output-orthogonal frequency division multi (MIMO-OFDM) system
US20100325267A1 (en) * 2009-06-22 2010-12-23 Qualcomm Incorporated Method and apparatus for network optimization using son solutions
CN102186084A (en) * 2011-06-07 2011-09-14 东莞电子科技大学电子信息工程研究院 Spatial enhancement layer code rate control realization method for scalable video coding
US20140233456A1 (en) * 2013-02-21 2014-08-21 Fujitsu Limited Communication device, communication method, storage medium, and communication system
CN104270204A (en) * 2014-08-30 2015-01-07 杭州华为数字技术有限公司 Testing method and testing equipment for wireless communication module
CN104640136A (en) * 2015-01-13 2015-05-20 中国联合网络通信集团有限公司 Neighbor cell configuration verification method and neighbor cell configuration verification device
US20150244620A1 (en) * 2014-02-21 2015-08-27 Marvell World Trade Ltd. Method and apparatus for aggregating and encoding received symbols including generation of a pointer for a control code
CN105072639A (en) * 2015-07-01 2015-11-18 北京科技大学 Cognitive radio system architecture based on sensor network
CN106576275A (en) * 2014-08-13 2017-04-19 三星电子株式会社 Ambient network sensing and handoff for device optimization in heterogeneous networks
CN107148009A (en) * 2017-07-01 2017-09-08 浙江省计量科学研究院 Multi-standard mobile communications network internet surfing data traffic measurement apparatus and its method
CN110896322A (en) * 2018-09-11 2020-03-20 上海朗帛通信技术有限公司 Method and apparatus in a node used for wireless communication

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1719302A1 (en) * 2003-10-31 2006-11-08 Siemens Mobile Communications S.p.A. Fast signalling procedure for streaming services quality of service managing in wireless networks
CN101013912A (en) * 2007-02-05 2007-08-08 北京邮电大学 Power control method for centralized wireless multihop access network
US20090238095A1 (en) * 2008-03-20 2009-09-24 Warren Blackwell Methods and systems for network channel capacity planning, measuring and analyzing of WLAN networks
CN101577572A (en) * 2008-05-07 2009-11-11 中兴通讯股份有限公司 Resource multiplexing method for multiple input multiple output-orthogonal frequency division multi (MIMO-OFDM) system
CN101378577A (en) * 2008-09-27 2009-03-04 华为技术有限公司 Method and system for detecting link failure
US20100325267A1 (en) * 2009-06-22 2010-12-23 Qualcomm Incorporated Method and apparatus for network optimization using son solutions
CN102186084A (en) * 2011-06-07 2011-09-14 东莞电子科技大学电子信息工程研究院 Spatial enhancement layer code rate control realization method for scalable video coding
US20140233456A1 (en) * 2013-02-21 2014-08-21 Fujitsu Limited Communication device, communication method, storage medium, and communication system
US20150244620A1 (en) * 2014-02-21 2015-08-27 Marvell World Trade Ltd. Method and apparatus for aggregating and encoding received symbols including generation of a pointer for a control code
CN106576275A (en) * 2014-08-13 2017-04-19 三星电子株式会社 Ambient network sensing and handoff for device optimization in heterogeneous networks
CN104270204A (en) * 2014-08-30 2015-01-07 杭州华为数字技术有限公司 Testing method and testing equipment for wireless communication module
CN104640136A (en) * 2015-01-13 2015-05-20 中国联合网络通信集团有限公司 Neighbor cell configuration verification method and neighbor cell configuration verification device
CN105072639A (en) * 2015-07-01 2015-11-18 北京科技大学 Cognitive radio system architecture based on sensor network
CN107148009A (en) * 2017-07-01 2017-09-08 浙江省计量科学研究院 Multi-standard mobile communications network internet surfing data traffic measurement apparatus and its method
CN110896322A (en) * 2018-09-11 2020-03-20 上海朗帛通信技术有限公司 Method and apparatus in a node used for wireless communication

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
刘亮; 陈卓; 金巴; 黄学艳; 刘光毅: "无线接入网架构探讨", 《移动通信》 *
周安福; 刘敏; 李忠诚; 谢高岗: "自适应的端到端可用带宽测量方法", 《通信学报》 *
曾彬: "应用层端到端性能测量技术研究", 《信息科技辑》 *
郝益勇: "提升移动网络用户体验质量的理论与方法研究", 《信息科技辑》 *
陈锋: "异构认知无线网络融合若干关键技术研究", 《信息科技辑》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112600631A (en) * 2020-12-07 2021-04-02 深圳市康冠商用科技有限公司 WiFi signal stability automatic test method and related components thereof
CN115499350A (en) * 2021-06-03 2022-12-20 大唐移动通信设备有限公司 Method and device for testing downlink
CN115499350B (en) * 2021-06-03 2023-10-20 大唐移动通信设备有限公司 Method and device for testing downlink
KR102345315B1 (en) * 2021-07-19 2021-12-31 (주)아비스 System for measuring network transition time
CN113820608A (en) * 2021-08-20 2021-12-21 北京邮电大学 Method for predicting remaining capacity of battery in echelon and electronic equipment
CN113820608B (en) * 2021-08-20 2022-08-05 北京邮电大学 Method for predicting remaining capacity of battery in echelon and electronic equipment
CN114157861A (en) * 2021-12-28 2022-03-08 成都康特软件科技开发有限公司 Link quality detection method and device and computer equipment
CN117354838A (en) * 2023-12-04 2024-01-05 贝优特技术有限公司 Device, system and method for testing performance of wireless mobile communication network
CN117354838B (en) * 2023-12-04 2024-02-23 贝优特技术有限公司 Device, system and method for testing performance of wireless mobile communication network

Also Published As

Publication number Publication date
CN111866932B (en) 2021-03-12

Similar Documents

Publication Publication Date Title
CN111866932B (en) Network measurement method and device and electronic equipment
Xu et al. Understanding operational 5G: A first measurement study on its coverage, performance and energy consumption
US11778493B2 (en) Data collection method, device, and system
US20220210031A1 (en) Method for Quality of Experience Measurement and Communication Apparatus
US20220417799A1 (en) Methods, apparatuses and systems directed to quality of experience data analytics for muliple wireless transmit and receive units
US20170303159A1 (en) Adapting communication parameters to link conditions, traffic types, and/or priorities
US20150365841A1 (en) Prediction Of Quality Of Service Of A Possible Future Connection Of A Device To A Wireless Network
US9351183B2 (en) Apparatus and method for measuring and using congestion in a wireless communication system
WO2015023253A1 (en) Managing communications in multiple radio access networks
KR101618062B1 (en) Systems and methods for network quality estimation, connectivity detection, and load management
WO2019191985A1 (en) Method and apparatus for transmitting and receiving information
KR20160003303A (en) Systems and methods for network quality estimation, connectivity detection, and load management
CN108667560B (en) Method and device for adjusting data sending rate of terminal
US11871265B2 (en) Method and an electronic device for dynamically controlling TCP congestion window
JP6177860B2 (en) Dynamic resource adaptation
US20210385646A1 (en) End to end troubleshooting of mobility services
JP6518760B2 (en) Highly reliable link design
KR20140068197A (en) Systems and methods for network quality estimation, connectivity detection, and load management
US20190044874A1 (en) Transmission control protocol receiver controlled interruption mitigation
Fezeu et al. An In-Depth measurement analysis of 5G mmwave PHY latency and its impact on End-to-End delay
Vidhya et al. Dynamic Carrier Aggregation in 5G network scenario
US11895532B2 (en) Detecting cellular network bottlenecks using data allocation patterns
WO2022242368A1 (en) Network connection control method, terminal device and storage medium
WO2021248505A1 (en) Base station reselection using a signal-to-noise ratio
Saranappa et al. Dynamic power saving techniques for mobile hotspot

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