CN112512103A - Power-saving accurate mobile terminal network measurement method - Google Patents

Power-saving accurate mobile terminal network measurement method Download PDF

Info

Publication number
CN112512103A
CN112512103A CN202011206455.0A CN202011206455A CN112512103A CN 112512103 A CN112512103 A CN 112512103A CN 202011206455 A CN202011206455 A CN 202011206455A CN 112512103 A CN112512103 A CN 112512103A
Authority
CN
China
Prior art keywords
measurement
background
time
flow time
background flow
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
CN202011206455.0A
Other languages
Chinese (zh)
Other versions
CN112512103B (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.)
Southwest University of Science and Technology
Peng Cheng Laboratory
Original Assignee
Southwest University of Science and Technology
Peng Cheng Laboratory
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 Southwest University of Science and Technology, Peng Cheng Laboratory filed Critical Southwest University of Science and Technology
Priority to CN202011206455.0A priority Critical patent/CN112512103B/en
Publication of CN112512103A publication Critical patent/CN112512103A/en
Application granted granted Critical
Publication of CN112512103B publication Critical patent/CN112512103B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • H04W52/0254Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity detecting a user operation or a tactile contact or a motion of the device
    • 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

Abstract

The invention discloses a power-saving accurate mobile terminal network measuring method, which comprises the following steps: acquiring configuration information corresponding to a terminal; wherein the configuration information comprises a background traffic time; measuring the terminal according to the configuration information to obtain a measured value; and updating the background flow time according to the measured value to obtain the updated background flow time. Acquiring configuration information corresponding to a terminal; wherein the configuration information comprises a background traffic time; measuring the terminal according to the configuration information to obtain a measured value; and updating the background flow time according to the measured value to obtain updated background flow time, wherein different updated background flow times are obtained due to different measured values obtained when different terminals measure, so that the electric quantity can be saved on the basis of smooth measurement of the terminals when the terminals measure according to the updated background flow time.

Description

Power-saving accurate mobile terminal network measurement method
Technical Field
The invention relates to the technical field of network measurement, in particular to a power-saving accurate mobile terminal network measurement method.
Background
Due to the popularity of mobile terminals (such as android mobile phones), many measurement platforms use the mobile terminals to perform active measurement on some networks, and a large amount of measurement data is collected and analyzed in a numerous measurement manner, however, the direct active measurement performed by the mobile terminals often causes large errors due to the SDIO sleep mode.
In the prior art, a very power-consuming mode is used to prevent the system from entering sleep, for example, a mode of sending a network packet to wake up a terminal device all the time is adopted, which causes very power consumption in the measurement process.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
The present invention provides a power-saving accurate mobile terminal network measurement method, aiming at solving the problem of power consumption in the measurement process in the prior art.
The technical scheme adopted by the invention for solving the technical problem is as follows:
a power-saving accurate mobile terminal network measurement method comprises the following steps:
acquiring configuration information corresponding to a terminal; wherein the configuration information comprises a background traffic time;
measuring the terminal according to the configuration information to obtain a measured value;
and updating the background flow time according to the measured value to obtain the updated background flow time.
The power-saving accurate mobile terminal network measurement method comprises the following steps that the measurement values comprise a first measurement value and a second measurement value;
the measuring the terminal according to the configuration information to obtain a measured value includes:
measuring the terminal according to the configuration information to obtain a first measurement value corresponding to the background flow time;
determining an extended background flow time according to the background flow time;
and measuring the terminal according to the prolonged background flow time to obtain a second measured value corresponding to the prolonged background flow time.
The power-saving accurate mobile terminal network measurement method, wherein the terminal comprises: the system comprises an active measurement module, an intelligent monitoring module and a forwarding module;
the measuring the terminal according to the configuration information to obtain a first measurement value corresponding to the background traffic time includes:
controlling the active measurement module to send first notification information to the forwarding module according to the configuration information so that the forwarding module intercepts and forwards all incoming and outgoing flows;
controlling the active measurement module to send second notification information to the intelligent monitoring module so that the intelligent monitoring module monitors the forwarding module;
and controlling the active measurement module to start measurement to obtain a first measurement value corresponding to the background flow time.
The power-saving accurate measurement method for the mobile terminal network, wherein the controlling the active measurement module to start measurement to obtain a first measurement value corresponding to the background traffic time, includes:
and controlling the active measurement module to start measurement, and controlling the intelligent monitoring module to send awakening flow to the forwarding module so that the forwarding module forwards the awakening flow outwards.
The power-saving accurate mobile terminal network measurement method comprises the following steps that an intelligent monitoring module is used for constructing a background flow packet and sending the background flow packet to a forwarding module when the forwarding module does not forward incoming and outgoing flows at a preset moment; and the preset moment is determined according to the background flow time and the awakening flow time.
The method for measuring a power-saving accurate mobile terminal network, wherein the updating the background traffic time according to the measurement value to obtain an updated background traffic time, comprises:
and when the first measurement value and the second measurement value meet a preset condition, taking the prolonged background flow time as an updated background flow time.
The power-saving accurate measurement method for the mobile terminal network comprises a plurality of first measurement values, and the preset condition is that the second measurement value is located in a preset confidence interval of the first measurement values.
The method for measuring a power-saving accurate mobile terminal network, wherein the updating the background traffic time according to the measurement value to obtain an updated background traffic time, further comprises:
and when the first measurement value and the second measurement value do not meet the preset condition, continuing to execute the step of determining the prolonged background flow time according to the background flow time until the first measurement value and the second measurement value meet the preset condition, and taking the prolonged background flow time as the updated background flow time.
A power-saving accurate mobile terminal network measurement system comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps of any one of the methods when executing the computer program.
A computer-readable storage medium, on which a computer program is stored, wherein the computer program, when being executed by a processor, carries out the steps of the method of any of the above.
Has the advantages that: acquiring configuration information corresponding to a terminal; wherein the configuration information comprises a background traffic time; measuring the terminal according to the configuration information to obtain a measured value; and updating the background flow time according to the measured value to obtain updated background flow time, wherein different updated background flow times are obtained due to different measured values obtained when different terminals measure, so that the electric quantity can be saved on the basis of smooth measurement of the terminals when the terminals measure according to the updated background flow time.
Drawings
Fig. 1 is a first flowchart of a power-saving accurate measurement method of a mobile station network according to an embodiment of the present invention.
Fig. 2 is a second flowchart of a power-saving accurate measurement method of the mobile station network according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1-2, the present invention provides embodiments of a power-saving accurate measurement method for a mobile terminal network.
The inventor finds that many measurement platforms (or system platforms) at home and abroad use the mobile terminal to perform active measurement on some networks, and a large amount of measurement data is collected and analyzed in a mass measurement mode, however, the direct active measurement performed by the mobile terminal often causes a large error due to the SDIO sleep mode.
The prior technical scheme is that a kernel is modified or a very power-consuming mode is used for preventing a system from entering sleep, the goal of mass measurement cannot be achieved by modifying the kernel, and if the mode of sending network packets continuously to wake up terminal equipment is used, very power consumption is caused.
The invention obtains the corresponding configuration information of the terminal; wherein the configuration information comprises a background traffic time; measuring the terminal according to the configuration information to obtain a measured value; and updating the background flow time according to the measured value to obtain updated background flow time, wherein different updated background flow times are obtained due to different measured values obtained when different terminals measure, so that the electric quantity can be saved on the basis of smooth measurement of the terminals when the terminals measure according to the updated background flow time.
It should be noted that the terminal may obtain configuration information corresponding to the terminal from the measurement platform, and perform measurement according to the configuration information to obtain a measurement value, the terminal sends the measurement value to the measurement platform, and the measurement platform updates the background traffic time according to the measurement value to obtain an updated background traffic time.
It will be appreciated that in the application scenarios described above, the actions of the embodiments of the invention have been described as being performed in part by the terminal and in part by the measurement platform. However, such actions may be entirely with the measurement platform or entirely performed by the terminal. The invention is not limited in its implementation to the details of execution, provided that the acts disclosed in the embodiments of the invention are performed. The terminal includes a desktop terminal or a mobile terminal, such as a desktop computer, a tablet computer, a notebook computer, a smart phone, and the like. The measurement platform may be a server comprising a stand-alone physical server, a cluster of physical servers, or a virtual server.
As shown in fig. 1-2, a power-saving accurate measurement method for a mobile terminal network according to the present invention includes the following steps:
s100, acquiring configuration information corresponding to a terminal; wherein the configuration information comprises a background traffic time.
Specifically, the configuration information refers to information of parameters configured by the terminal during measurement, and the configuration information may be stored on the terminal or on a measurement platform. Specifically, the terminal may obtain the configuration information corresponding to the terminal according to a user instruction.
Specifically, the configuration information includes background traffic time, where the background traffic refers to traffic sent in a certain period to avoid the terminal entering the sleep state, and the background traffic time refers to time for sending the background traffic, and may be fixed at a time interval between two adjacent times of sending the background traffic, for example, the background traffic time is T1, and a background traffic is sent every T1 time to avoid the terminal entering the sleep state. Because the time for different terminals to enter the sleep state is different, the uniform background flow time is adopted, so that all the terminals cannot enter the sleep state, the background flow time is inevitably short, and for some terminals, the background flow is sent too frequently and the power consumption is high in the background flow time. Therefore, it is necessary to configure a corresponding background traffic time for each terminal. The maximum background flow time of the terminals of different models is different and is only related to the model of the terminal, and the maximum background flow time refers to the maximum background flow time which can not cause the abnormity of the measured value.
And S200, measuring the terminal according to the configuration information to obtain a measured value.
Specifically, when the terminal performs measurement, the measurement is performed according to the configuration information, and a measurement result is obtained, for example, the measurement result may be a measurement value. Of course, the measurement result may also include a handset signal, a normal type or a test type flag. When the terminal performs measurement, the measurement is performed according to the configuration information, and if the configuration information is updated, the measurement is performed according to the updated configuration information, for example, the background traffic time is updated according to the measurement value, and after the updated background traffic time is obtained, the updated configuration information is also formed, and the terminal can continue to perform measurement according to the updated configuration information.
In particular, the measurement values comprise a first measurement value and a second measurement value. In the embodiment of the invention, the measurement is divided into a first measurement and a second measurement, and the first measurement is carried out according to the obtained background flow time, so the first measurement is recorded as a 'normal type' measurement. The second measurement is based on an extended background flow time and is therefore referred to as a "test-type" measurement.
Specifically, the configuration information further includes: whether to perform the second measurement, that is, when performing the measurement according to the configuration information, if the second measurement is not performed, only the first measurement is performed, and if the second measurement is performed, the first measurement and the second measurement are required.
Specifically, step S200, according to the configuration information, measuring the terminal to obtain a measurement value, includes:
step S210, measuring the terminal according to the configuration information to obtain a first measurement value corresponding to the background flow time.
Specifically, according to the configuration information, a first measurement value is obtained by performing a first measurement on the terminal, and since the configuration information includes the background traffic time, the first measurement value is obtained under the condition of the background traffic time.
Specifically, the terminal includes: the device comprises an active measurement module, an intelligent monitoring module and a forwarding module. The intelligent monitoring module is used for constructing a background flow packet and sending the background flow packet to the forwarding module when the forwarding module does not forward the incoming and outgoing flow at a preset moment; the preset moment is determined according to the background flow time and the awakening flow time, and the forwarding module is used for intercepting and forwarding all incoming and outgoing flows.
Specifically, the preset time is a time for sending the wake-up traffic and the background traffic, when the terminal performs measurement, the wake-up traffic needs to be sent to wake up the terminal, the wake-up traffic time is a time for sending the wake-up traffic, in order to ensure that the terminal remains in the wake-up state, the background traffic needs to be sent to keep the terminal in the wake-up state, and the background traffic time is a time for sending the background traffic.
Specifically, step S210, measuring the terminal according to the configuration information to obtain a first measurement value corresponding to the background traffic time, includes:
step S211, according to the configuration information, controlling the active measurement module to send a first notification message to the forwarding module, so that the forwarding module intercepts and forwards all ingress and egress traffic.
Step S212, controlling the active measurement module to send a second notification message to the intelligent monitoring module, so that the intelligent monitoring module monitors the forwarding module.
Step S213, controlling the active measurement module to start measurement, and obtaining a first measurement value corresponding to the background flow time.
Specifically, after the terminal acquires the configuration information, the active measurement module sends first notification information to the forwarding module, and after the forwarding module receives the first notification information, the forwarding module intercepts all ingress and egress traffic of the terminal and forwards all ingress and egress traffic from the forwarding module, where the ingress and egress traffic refers to traffic sent and received by the terminal, that is, all traffic of the terminal passes through the forwarding module. For example, when a terminal sends out traffic or receives traffic, the traffic is intercepted by the forwarding module and forwarded by the forwarding module.
After the terminal acquires the configuration information, the active measurement module sends second notification information to the intelligent monitoring module, and the intelligent monitoring module starts to monitor the forwarding module after receiving the second notification information, and specifically monitors all traffic passing through the forwarding module. When the intelligent monitoring module starts to monitor the forwarding module, ready information is fed back to the active measurement module, which indicates that the intelligent monitoring module starts to monitor the forwarding module.
After the intelligent monitoring module is ready, that is, after the intelligent monitoring module receives ready information fed back by the intelligent monitoring module, the active measurement module starts to measure according to the configuration information to obtain a first measurement value.
Specifically, step S213, controlling the active measurement module to start measurement to obtain a first measurement value corresponding to the background flow time includes:
step S2131, controlling the active measurement module to start measurement, and controlling the intelligent monitoring module to send a wake-up traffic to the forwarding module, so that the forwarding module forwards the wake-up traffic outwards.
Step S2132, after the intelligent monitoring module sends the wake-up traffic to the forwarding module and a preset time elapses, according to the background traffic time, controlling the intelligent monitoring module to send a background traffic to the forwarding module, so as to obtain a first measurement value corresponding to the background traffic time.
Specifically, the wake-up flow refers to a flow for waking up the terminal, when the active module starts measurement, the active measurement module sends a wake-up instruction to the intelligent monitoring module, the intelligent monitoring module sends the wake-up flow to the forwarding module after receiving the wake-up instruction, and the forwarding module sends the wake-up flow outwards after receiving the wake-up flow so as to wake up the terminal.
The intelligent monitoring module sends the awakening flow to the forwarding module, and after the preset time, the intelligent monitoring module starts to send the background flow to the forwarding module according to the background flow time so as to prevent the terminal from entering a sleep state and influencing measurement, the measured values of the terminal in the sleep state and the awakening state are different, if the terminal enters the sleep state, the measured values are abnormal, and in order to ensure that the measured values are normal, the terminal needs to be kept in the awakening state. The terminal cannot keep the awakening state by sending flow among modules in the terminal, and the terminal can keep the awakening state by receiving the flow sent by the outside or sending the flow to the outside.
And step S220, determining the prolonged background flow time according to the background flow time.
Specifically, during the first measurement, since the measurement is performed according to the background flow rate time, the first measurement value is normal, and in order to save power, the background flow rate time is extended to obtain an extended background flow rate time, where the extended background flow rate time is:
t2=t1+t0
where t2 represents extended background flow time, t1 represents background flow time, t0 represents extended time, t2, t1 and t0 are in milliseconds ms, and t0 ranges from 1 to 10ms, for example, t0 may be 5 ms. t0 can be set as desired. T0 may not be the same when different measurements are made.
And step S230, measuring the terminal according to the prolonged background flow time to obtain a second measurement value corresponding to the prolonged background flow time.
Specifically, the terminal is measured for the second time according to the extended background flow time to obtain a second measurement value, and since the second measurement value is measured under the condition of the extended background flow time, if the extended background flow time is too long, that is, the interval time between two adjacent background flows is too long, and the terminal has entered the sleep state, the measured second measurement value is abnormal. If the extended background traffic time is still short, that is, the interval time between two adjacent background traffic is short, and the terminal will not enter the sleep state, the measured second measurement value is normal.
The procedure of the second measurement is different from that of the first measurement in that the second measurement is performed based on the extended background flow rate time, and the first measurement is performed based on the background flow rate time. Specifically, in step S230, measuring the terminal according to the extended background traffic time, and obtaining a second measurement value corresponding to the extended background traffic time includes:
step S231, according to the extended background traffic time, controlling the active measurement module to send a first notification message to the forwarding module, so that the forwarding module intercepts and forwards all ingress and egress traffic.
Step S232, controlling the active measurement module to send second notification information to the intelligent monitoring module, so that the intelligent monitoring module monitors the forwarding module.
And step S233, controlling the active measurement module to start measurement to obtain a second measurement value corresponding to the prolonged background flow time.
Specifically, after the terminal obtains the prolonged background traffic time, the active measurement module sends a first notification message to the forwarding module, and after receiving the first notification message, the forwarding module intercepts all ingress and egress traffic of the terminal and forwards all ingress and egress traffic from the forwarding module, where the ingress and egress traffic refers to traffic sent and received by the terminal, that is, all traffic of the terminal passes through the forwarding module. For example, when a terminal sends out traffic or receives traffic, the traffic is intercepted by the forwarding module and forwarded by the forwarding module.
And after the terminal obtains the prolonged background flow time, the active measurement module sends second notification information to the intelligent monitoring module, and the intelligent monitoring module starts to monitor the forwarding module after receiving the second notification information, and specifically monitors all the flows passing through the forwarding module. When the intelligent monitoring module starts to monitor the forwarding module, ready information is fed back to the active measurement module, which indicates that the intelligent monitoring module starts to monitor the forwarding module.
After the intelligent monitoring module is ready, that is, after the intelligent monitoring module receives ready information fed back by the intelligent monitoring module, the active measuring module starts to measure according to the prolonged background flow time to obtain a second measured value.
And step S300, updating the background flow time according to the measured value to obtain the updated background flow time.
Specifically, the background traffic time is updated according to the measured value, so as to obtain the updated background traffic time, and of course, obtain the updated configuration information. It should be noted that, after obtaining the measured value, the terminal may send the measured value to the measurement platform, and update the background traffic time through the measurement platform.
For example, after the terminal acquires the configuration information, the terminal performs a first measurement to obtain a first measurement value, the first measurement value is sent to the measurement platform, and the measurement platform updates the background traffic time according to the first measurement value obtained by the measurement of the terminal of the same model.
For example, after the terminal acquires the configuration information, the terminal performs a first measurement to obtain a first measurement value, then extends the background flow time, performs a second measurement according to the background flow time to obtain a second measurement value, and updates the background flow time according to the first measurement value and the second measurement value.
The terminal is divided into two types, one type is a common terminal, the common terminal receives a user instruction to acquire configuration information corresponding to the terminal, first measurement is carried out, and the user instruction is detected once each time the user instruction is received. One is a terminal joining the plan, which performs not only one first measurement but also a plurality of first measurements, and extends the background flow rate time on the basis of the first measurement to perform a second measurement.
Specifically, step S300, updating the background flow time according to the measured value to obtain an updated background flow time, includes:
and step S310, when the first measurement value and the second measurement value meet a preset condition, taking the prolonged background flow time as an updated background flow time.
Specifically, the background flow rate time is updated according to the first measurement value and the second measurement value, and when the first measurement value and the second measurement value meet the preset condition, the extended background flow rate time is used as the updated background flow rate time.
Specifically, no matter which terminal will perform the first measurement, that is, there are more first measurement values, that is, there are a plurality of first measurement values, and a plurality of first measurement values of terminals of the same model are not completely the same, but vary within a certain range, and usually a plurality of first measurement values conform to gaussian distribution, that is, a plurality of first measurement values are distributed with two ends few and the middle part many. The preset condition is that the second measured value is located in a plurality of preset confidence intervals of the first measured values. The predetermined confidence interval may be 80%, 90% or 95%, for example, the predetermined confidence interval is 80%, and if the second measurement value is within the predetermined confidence interval of the first measurement value, that is, the first measurement value and the second measurement value are not very different, indicating that the second measurement value is the same as the first measurement value and is normal, the extended background flow time may be used as the updated background flow time. It should be noted that, since a large number of terminals participate in the measurement in sequence, after the configuration information is updated, the subsequent terminals perform measurement by using the updated configuration information.
Step S320, when the first measurement value and the second measurement value do not satisfy a preset condition, continuing to execute the step of determining an extended background flow time according to the background flow time until the first measurement value and the second measurement value satisfy the preset condition, and taking the extended background flow time as an updated background flow time.
Specifically, the first measurement value and the second measurement value do not satisfy the preset condition, that is, the second measurement value is outside the preset confidence interval of the first measurement value, that is, the difference between the second measurement value and the first measurement value is large, which indicates that the second measurement value is abnormal, that is, the prolonged background flow time is too long, and the terminal enters a sleep state, which causes the second measurement value to be abnormal. Therefore, it is necessary to re-determine the extended background flow rate time, that is, returning to step S220, when the extended background flow rate time is re-determined, since the last extended background flow rate time is too long, that is, t0 is too large, t0 may be reduced, for example, t0 is halved, resulting in the extended background flow rate time.
After multiple measurements, the maximum background flow time can be obtained, the terminal can smoothly measure the maximum background flow time, the abnormal situation of the measured value can not occur, and the electric quantity can be saved due to the large maximum background flow time. For example, when t0 is less than a preset extension value (e.g., the preset extension may be 1ms), the measurement may be terminated, and the extended background traffic time at this time is taken as the updated background traffic time; or when the number of times of the second measurement reaches the preset number, the measurement can be terminated, and the prolonged background flow time is taken as the updated background flow time. When the maximum background flow time is adopted, the number of background flows in unit time can be reduced for terminals of different types, so that the aim of saving more electricity is fulfilled.
Specifically, after the measurement is completed, the active measurement module is controlled to send third notification information to the forwarding module, so that the forwarding module is closed to intercept and forward all incoming and outgoing traffic, and the forwarding module is controlled to be closed.
Detailed description of the preferred embodiment
Step 1: and the terminal pulls different configuration information from the measuring platform according to different models.
Step 2: when the active measurement is to be started, the forwarding module of the Mbt application developed on the terminal device will intercept and forward all incoming and outgoing traffic.
And step 3: the active measurement module of the Mbt application will inform the intelligent monitoring module to monitor the traffic in the forwarding module and track the traffic to or from the outside.
And 4, step 4: the intelligent monitoring module finishes preparation and informs the active measurement module to start normal active measurement, then the active measurement module starts working, firstly, the flow is wakened up, after the T0 time is waited, the terminal equipment does not sleep through the periodic background flow with the time length of T1 so as to ensure the accuracy of measurement (the wakened-up flow and the periodic background flow are both related to the monitoring module, if the flow (generated by other APP applications) coming from the outside or sent to the outside exists at the moment when the flow is needed, the operation is not needed, and if the external flow is not received or sent when the wakened-up flow and the periodic background flow are needed to be sent, the intelligent monitoring module manually constructs an external flow packet to be sent out).
And 5: after the measurement is finished, the 'test type' active measurement is carried out once according to the configuration of whether the test type active measurement is carried out or not, the 'test type' active measurement with background flow is carried out by prolonging the time of t1 for 5ms, and the measurement results of the 'normal type' and the 'test type' are uploaded to the measurement platform.
Step 6: when the active measurement is completed, the active measurement module informs the intelligent monitoring module that the background flow is not monitored any more, and the forwarding is closed.
And 7: the measuring platform collects the measuring results of the terminal equipment with the same terminal model, performs big data analysis, compares the testing type measuring result with the normal type measuring result on the measuring platform, and finally determines the issued configuration information of the terminals with different models.
And 8: steps 1 to 7 are repeated until the measurement is terminated.
Based on the above power-saving accurate mobile terminal network measurement method, the present invention also discloses an embodiment of a power-saving accurate mobile terminal network measurement system, the power-saving accurate mobile terminal network measurement system of the present embodiment includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
acquiring configuration information corresponding to a terminal; wherein the configuration information comprises a background traffic time;
measuring the terminal according to the configuration information to obtain a measured value;
and updating the background flow time according to the measured value to obtain the updated background flow time.
Based on the above power-saving accurate mobile terminal network measurement method, the present invention also discloses an embodiment of a computer-readable storage medium, where the computer-readable storage medium of this embodiment stores a computer program thereon, and the computer program, when executed by a processor, implements the following steps:
acquiring configuration information corresponding to a terminal; wherein the configuration information comprises a background traffic time;
measuring the terminal according to the configuration information to obtain a measured value;
and updating the background flow time according to the measured value to obtain the updated background flow time.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (10)

1. A power-saving accurate mobile terminal network measurement method is characterized by comprising the following steps:
acquiring configuration information corresponding to a terminal; wherein the configuration information comprises a background traffic time;
measuring the terminal according to the configuration information to obtain a measured value;
and updating the background flow time according to the measured value to obtain the updated background flow time.
2. The power-saving accurate measurement method for the mobile terminal network according to claim 1, wherein the measurement values comprise a first measurement value and a second measurement value;
the measuring the terminal according to the configuration information to obtain a measured value includes:
measuring the terminal according to the configuration information to obtain a first measurement value corresponding to the background flow time;
determining an extended background flow time according to the background flow time;
and measuring the terminal according to the prolonged background flow time to obtain a second measured value corresponding to the prolonged background flow time.
3. The power-saving accurate mobile-side network measurement method according to claim 2, wherein the terminal comprises: the system comprises an active measurement module, an intelligent monitoring module and a forwarding module;
the measuring the terminal according to the configuration information to obtain a first measurement value corresponding to the background traffic time includes:
controlling the active measurement module to send first notification information to the forwarding module according to the configuration information so that the forwarding module intercepts and forwards all incoming and outgoing flows;
controlling the active measurement module to send second notification information to the intelligent monitoring module so that the intelligent monitoring module monitors the forwarding module;
and controlling the active measurement module to start measurement to obtain a first measurement value corresponding to the background flow time.
4. The method as claimed in claim 3, wherein the controlling the active measurement module to start measurement to obtain a first measurement value corresponding to the background traffic time comprises:
controlling the active measurement module to start measurement, and controlling the intelligent monitoring module to send wake-up traffic to the forwarding module, so that the forwarding module forwards the wake-up traffic outwards;
and after the intelligent monitoring module sends the awakening flow to the forwarding module and a preset time elapses, controlling the intelligent monitoring module to send background flow to the forwarding module according to the background flow time to obtain a first measured value corresponding to the background flow time.
5. The power-saving accurate mobile terminal network measurement method according to claim 4, wherein the intelligent monitoring module is configured to construct a background traffic packet and send the background traffic packet to the forwarding module when the forwarding module does not forward ingress and egress traffic at a preset time; and the preset moment is determined according to the background flow time and the awakening flow time.
6. The method as claimed in claim 2, wherein the updating the background traffic time according to the measurement value to obtain an updated background traffic time comprises:
and when the first measurement value and the second measurement value meet a preset condition, taking the prolonged background flow time as an updated background flow time.
7. The method as claimed in claim 6, wherein there are a plurality of the first measurements, and the predetermined condition is that the second measurement is within a predetermined confidence interval of the first measurements.
8. The method as claimed in claim 6, wherein the updating the background traffic time according to the measurement value to obtain an updated background traffic time further comprises:
and when the first measurement value and the second measurement value do not meet the preset condition, continuing to execute the step of determining the prolonged background flow time according to the background flow time until the first measurement value and the second measurement value meet the preset condition, and taking the prolonged background flow time as the updated background flow time.
9. A power-saving accurate measurement system of a mobile terminal network, comprising a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the steps of the method according to any one of claims 1 to 8 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 8.
CN202011206455.0A 2020-11-02 2020-11-02 Power-saving accurate mobile terminal network measurement method Active CN112512103B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011206455.0A CN112512103B (en) 2020-11-02 2020-11-02 Power-saving accurate mobile terminal network measurement method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011206455.0A CN112512103B (en) 2020-11-02 2020-11-02 Power-saving accurate mobile terminal network measurement method

Publications (2)

Publication Number Publication Date
CN112512103A true CN112512103A (en) 2021-03-16
CN112512103B CN112512103B (en) 2023-08-18

Family

ID=74954990

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011206455.0A Active CN112512103B (en) 2020-11-02 2020-11-02 Power-saving accurate mobile terminal network measurement method

Country Status (1)

Country Link
CN (1) CN112512103B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103875302A (en) * 2012-07-18 2014-06-18 华为技术有限公司 Data connection management method, device and system
CN104144159A (en) * 2014-06-26 2014-11-12 腾讯科技(深圳)有限公司 Intelligent heartbeat keeping method and system
CN107197509A (en) * 2017-05-22 2017-09-22 深圳市沃特沃德股份有限公司 heartbeat connection method and device
US20170317910A1 (en) * 2014-10-29 2017-11-02 Huawei Technologies Co., Ltd. Heartbeat period setting method, and terminal
CN110519795A (en) * 2018-05-21 2019-11-29 华为技术有限公司 A kind of method and device of determining background traffic transmission strategy
CN110755061A (en) * 2018-07-27 2020-02-07 九阳股份有限公司 Heartbeat detection method of household appliance and household appliance
CN111031598A (en) * 2020-01-08 2020-04-17 Oppo广东移动通信有限公司 Network communication control method, device, communication equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103875302A (en) * 2012-07-18 2014-06-18 华为技术有限公司 Data connection management method, device and system
CN104144159A (en) * 2014-06-26 2014-11-12 腾讯科技(深圳)有限公司 Intelligent heartbeat keeping method and system
US20160308748A1 (en) * 2014-06-26 2016-10-20 Tencent Technology (Shenzhen) Company Limited Method and system for heartbeat adaptation
US20170317910A1 (en) * 2014-10-29 2017-11-02 Huawei Technologies Co., Ltd. Heartbeat period setting method, and terminal
CN107197509A (en) * 2017-05-22 2017-09-22 深圳市沃特沃德股份有限公司 heartbeat connection method and device
CN110519795A (en) * 2018-05-21 2019-11-29 华为技术有限公司 A kind of method and device of determining background traffic transmission strategy
CN110755061A (en) * 2018-07-27 2020-02-07 九阳股份有限公司 Heartbeat detection method of household appliance and household appliance
CN111031598A (en) * 2020-01-08 2020-04-17 Oppo广东移动通信有限公司 Network communication control method, device, communication equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
何晓明等: "小流量长在线业务对Ev-Do网络的影响及优化" *

Also Published As

Publication number Publication date
CN112512103B (en) 2023-08-18

Similar Documents

Publication Publication Date Title
US9285857B2 (en) Application idle current drain measurement
US9749888B1 (en) System for network characteristic assessment
JP6955092B2 (en) Methods for reducing terminal power consumption, and terminals
CN106294108B (en) Application program testing method and device
CN111475213B (en) Power consumption reduction method and device for solid state disk with multi-core structure and computer equipment
US11032672B2 (en) Method for acquiring location information, terminal, storage medium, and electronic device
KR20130022488A (en) Apparatus and method for controlling polling
CN112486745A (en) SSD (solid State disk) safety power failure test method and device, computer equipment and storage medium
CN110837456B (en) Control method and device and electronic equipment
CN111107612A (en) Method and device for configuring bandwidth part
CN108197958B (en) Method and device for counting off-line cattle and storage medium
US20220360514A1 (en) Network-based control method for power consumption of applications, terminal and storage medium
CN112512103A (en) Power-saving accurate mobile terminal network measurement method
CN112583617B (en) Fault determination method, server, control terminal and storage medium
CN111949460A (en) Method and device for testing D3-supported characteristic of solid state disk, computer equipment and storage medium
CN107566215B (en) Wireless network cutout detection method, device, storage medium and mobile terminal
CN115348656A (en) MiFi device, power adjusting method thereof, electronic device and system
CN111182526A (en) Data updating method, mobile terminal and computer storage medium
US10986221B2 (en) Execution of testing processes on apparatuses
CN110650259B (en) Call request response method, device, server, terminal and storage medium
US10966104B2 (en) Email synchronization method and device
CN112436974B (en) CDN data resource consistency detection method and device and computer equipment
CN112181775B (en) Method and device for measuring power consumption of single-disk SSD PS4, computer equipment and storage medium
US20220357789A1 (en) Application freezing control method and device, terminal, and readable storage medium
CN113849356B (en) Equipment testing method and device, electronic equipment and storage medium

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