CN112512103B - Power-saving accurate mobile terminal network measurement method - Google Patents
Power-saving accurate mobile terminal network measurement method Download PDFInfo
- Publication number
- CN112512103B CN112512103B CN202011206455.0A CN202011206455A CN112512103B CN 112512103 B CN112512103 B CN 112512103B CN 202011206455 A CN202011206455 A CN 202011206455A CN 112512103 B CN112512103 B CN 112512103B
- Authority
- CN
- China
- Prior art keywords
- measurement
- flow time
- background flow
- measured value
- background
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000691 measurement method Methods 0.000 title claims abstract description 19
- 238000005259 measurement Methods 0.000 claims description 196
- 238000012544 monitoring process Methods 0.000 claims description 42
- 230000002035 prolonged effect Effects 0.000 claims description 29
- 238000000034 method Methods 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 12
- 238000012360 testing method Methods 0.000 description 7
- 230000002159 abnormal effect Effects 0.000 description 6
- 230000000737 periodic effect Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002618 waking effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
- H04W52/0254—Power 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
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a power-saving accurate mobile terminal network measurement method, which comprises the following steps: acquiring configuration information corresponding to a terminal; wherein the configuration information includes background traffic time; according to the configuration information, measuring the terminal to obtain a measured value; and updating the background flow time according to the measured value to obtain updated background flow time. Acquiring configuration information corresponding to a terminal; wherein the configuration information includes 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 the measured values obtained are different when different terminals measure, so that different updated background flow times are obtained, and the terminal can save electric quantity on the basis of smoothly measuring when measuring according to the updated background flow times.
Description
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
Because of the popularity of mobile terminals (such as android mobile phones), many measurement platforms use the mobile terminals to actively measure certain networks, collect a large amount of measurement data in a crowded measurement manner and analyze the measurement data, however, direct active measurement of the mobile terminals often causes larger errors due to the SDIO sleep mode.
In the prior art, a very power-consuming manner is used to prevent the system from going to sleep, for example, a manner that a network packet is not stopped at all times to wake up the terminal device is adopted, so that the measurement process consumes very power.
Accordingly, the prior art is still in need of improvement and development.
Disclosure of Invention
The invention aims to solve the technical problems of the prior art, provides a power-saving accurate mobile terminal network measurement method, and aims to solve the power consumption problem in the measurement process in the prior art.
The technical scheme adopted for solving the technical problems 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 includes background traffic time;
according to the configuration information, measuring the terminal to obtain a measured value;
and updating the background flow time according to the measured value to obtain updated background flow time.
The power-saving accurate mobile terminal network measurement method comprises the steps that the measurement value comprises a first measurement value and a second measurement value;
and measuring the terminal according to the configuration information to obtain a measured value, wherein the method comprises the following steps:
measuring the terminal according to the configuration information to obtain a first measured 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 step of measuring the terminal according to the configuration information to obtain a first measurement value corresponding to the background flow time, including:
according to the configuration information, the active measurement module is controlled to send first notification information to the forwarding module so that the forwarding module intercepts and forwards all incoming and outgoing traffic;
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 method for measuring the network of the power-saving accurate mobile terminal comprises the steps of controlling the active measurement module to start measurement to obtain a first measured value corresponding to the background flow time, wherein the method comprises the following steps:
and controlling the active measurement module to start measurement, and controlling the intelligent monitoring module to send wake-up flow to the forwarding module so that the forwarding module forwards the wake-up flow outwards.
According to the power-saving accurate mobile terminal network measurement method, 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 in-out flow at a preset moment; the preset time is determined according to the background flow time and the wake-up flow time.
The method for measuring the power-saving accurate mobile terminal network, wherein the step of updating the background flow time according to the measured value to obtain updated background flow time comprises the following steps:
and when the first measured value and the second measured value meet preset conditions, taking the prolonged background flow time as updated background flow time.
The power-saving accurate mobile terminal network measurement method includes that a plurality of first measurement values are provided, and the preset condition is that the second measurement values are located in preset confidence intervals of the plurality of first measurement values.
The method for measuring the power-saving accurate mobile terminal network, wherein the updating the background flow time according to the measured value to obtain updated background flow time, further comprises:
and when the first measured value and the second measured 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 measured value and the second measured value meet the preset condition, and taking the prolonged background flow time as the updated background flow time.
A power saving accurate mobile end network measurement system comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program implements the steps of any of the methods described above.
A computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the steps of any of the methods described above.
The beneficial effects are that: acquiring configuration information corresponding to a terminal; wherein the configuration information includes 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 the measured values obtained are different when different terminals measure, so that different updated background flow times are obtained, and the terminal can save electric quantity on the basis of smoothly measuring when measuring according to the updated background flow times.
Drawings
Fig. 1 is a first flowchart of a power-saving accurate mobile terminal network measurement method according to an embodiment of the invention.
Fig. 2 is a second flowchart of a power-saving accurate mobile terminal network measurement method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clear and clear, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1-2, embodiments of a power saving accurate mobile end network measurement method are provided.
The inventor finds that many measuring platforms (or system platforms) at home and abroad use the mobile terminal to actively measure certain networks, and collect a large amount of measurement data in a crowded measurement mode and analyze the measurement data, however, direct active measurement of the mobile terminal often causes larger errors due to an SDIO sleep mode.
The prior technical scheme is to modify the kernel or prevent the system from sleeping in a very power-consuming mode, the purpose of mass measurement cannot be achieved by modifying the kernel, and the very power consumption is caused if the mode of continuously sending the network packet to wake up the terminal equipment is used.
The method and the device acquire the configuration information corresponding to the terminal; wherein the configuration information includes 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 the measured values obtained are different when different terminals measure, so that different updated background flow times are obtained, and the terminal can save electric quantity on the basis of smoothly measuring when measuring according to the updated background flow times.
It should be noted that, the terminal may obtain configuration information corresponding to the terminal from the measurement platform, and measure according to the configuration information to obtain a measurement value, where the terminal sends the measurement value to the measurement platform, and the measurement platform updates the background flow time according to the measurement value to obtain updated background flow time.
It will be appreciated that in the above application scenario, the actions of the embodiments of the present invention are described as being performed in part by the terminal and in part by the measurement platform. However, such actions may be performed entirely with the measurement platform or entirely by the terminal. The present invention is not limited to the execution subject, and may be executed by performing the operations disclosed in the embodiments of the present invention. The terminal comprises 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 separate physical server, a cluster of physical servers, or a virtual server.
As shown in fig. 1-2, the method for measuring a power-saving accurate mobile terminal network of the present invention includes the following steps:
step S100, acquiring configuration information corresponding to a terminal; wherein the configuration information includes a background traffic time.
Specifically, the configuration information refers to information of parameters configured by the terminal when the terminal performs 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 the user instruction.
Specifically, the configuration information includes background traffic time, where background traffic refers to traffic sent out according to a certain period in order to avoid the terminal from entering a sleep state, and the background traffic time refers to time for sending out background traffic, and may be fixed at time intervals of two adjacent times of sending out background traffic, for example, the background traffic time is T1, and a background traffic is sent out every T1 time, so as to avoid the terminal from entering the sleep state. Because the time for different terminals to enter the sleep state is different, a unified background flow time is adopted, so that all terminals cannot enter the sleep state, the background flow time is inevitably short, and for some terminals, the background flow is sent too frequently under the background flow time, and the power consumption is high. Therefore, a corresponding background traffic time needs to be configured for each terminal. The maximum background flow time of the terminals of different types is different, and is only related to the type of the terminal, and the maximum background flow time refers to the maximum background flow time which does not cause abnormal measured values.
And step 200, 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 cell phone signal, a normal type or a test type flag. When the terminal measures according to the configuration information, if the configuration information is updated, the terminal measures according to the updated configuration information, for example, the background flow time is updated according to the measured value, the updated configuration information is formed after the updated background flow time is obtained, and the terminal can continue to measure according to the updated configuration information.
Specifically, the measurement values include a first measurement value and a second measurement value. When measuring according to the configuration information, one measurement or a plurality of measurements can be performed, and one measurement value can be obtained in each measurement. In the second measurement, the measurement is performed according to the extended background flow time, and thus the second measurement is referred to as a "test" measurement.
Specifically, the configuration information further includes: whether or not to perform the second measurement, that is, if the second measurement is not performed when the measurement is performed according to the configuration information, only the first measurement is performed, and if the second measurement is performed, the first measurement and the second measurement are required to be performed.
Specifically, step S200, measuring the terminal according to the configuration information to obtain a measured value, includes:
step S210, according to the configuration information, measuring the terminal to obtain a first measured value corresponding to the background flow time.
Specifically, the first measurement is performed on the terminal according to the configuration information, so as to obtain a first measurement value, and the configuration information comprises the background traffic time, so that the first measurement value is obtained under the condition of the background traffic time.
Specifically, the terminal includes: the system comprises an active measurement module, an intelligent monitoring module and a forwarding module. The active measurement module is used for controlling the terminal to measure according to the configuration information, and 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 in-out flow at a preset moment; the preset time is determined according to the background flow time and the wake-up flow time, and the forwarding module is used for intercepting and forwarding all the incoming and outgoing flows.
Specifically, the preset time refers to a time of sending a wake-up flow and a background flow, when the terminal performs measurement, firstly, the wake-up flow needs to be sent to wake up the terminal, the wake-up flow time is a time of sending the wake-up flow, in order to ensure that the terminal is kept in a wake-up state, the background flow needs to be sent to enable the terminal to keep the wake-up state, and the background flow time is a time of sending the background flow.
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, the active measurement module is controlled to send first notification information to the forwarding module, so that the forwarding module intercepts and forwards all the incoming and outgoing traffic.
And step S212, 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 S213, controlling the active measurement module to start measurement to obtain a first measurement value corresponding to the background flow time.
Specifically, after the terminal obtains 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, all the in-out traffic of the terminal is intercepted and forwarded from the forwarding module, wherein the in-out 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 the terminal sends out traffic or receives traffic, the traffic is intercepted by the forwarding module and forwarded by the forwarding module.
After the terminal obtains 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 flow passing through the forwarding module. When the intelligent monitoring module starts to monitor the forwarding module, ready information is fed back to the active measuring module, and the intelligent monitoring module is indicated to start to monitor the forwarding module.
After the intelligent monitoring module is ready, namely after the ready information fed back by the intelligent monitoring module is received, the active measuring module starts measuring according to the configuration information to obtain a first measured 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 wake-up traffic to the forwarding module, so that the forwarding module forwards the wake-up traffic outwards.
Step S2132, when the intelligent monitoring module sends the wake-up flow to the forwarding module and the preset time elapses, controlling the intelligent monitoring module to send the background flow to the forwarding module according to the background flow time, so as to obtain a first measurement value corresponding to the background flow time.
Specifically, the wake-up flow is 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.
After the intelligent monitoring module sends the wake-up flow to the forwarding module and the preset time is elapsed, the intelligent monitoring module starts to send the background flow to the forwarding module according to the background flow time so as to avoid the terminal from entering a sleep state and affecting measurement, and if the terminal enters the sleep state, the measured value of the terminal is different from the measured value of the terminal in the wake-up state, and if the terminal enters the sleep state, the measured value is abnormal, so that the measured value is ensured to be normal, and the terminal needs to be kept in the wake-up state. The mutual traffic among the modules in the terminal can not keep the terminal in a wake-up state, and the terminal can keep the wake-up state by receiving traffic sent by the outside or sending traffic to the outside.
Step S220, determining the prolonged background flow time according to the background flow time.
Specifically, in the first measurement, since the measurement is performed according to the background flow time, the first measurement is normal, and in order to save electric quantity, the background flow time is prolonged, and the prolonged background flow time is obtained, where the prolonged background flow time is:
t2=t1+t0
where t2 represents an extended background flow time, t1 represents a background flow time, t0 represents an extended time, t2, t1 and t0 are in units of milliseconds ms, and t0 ranges from 1 to 10ms, for example, t0 may be 5ms. t0 may be set as necessary. T0 may be different when different measurements are made.
And step S230, measuring the terminal according to the prolonged background flow time to obtain a second measured value corresponding to the prolonged background flow time.
Specifically, the second measurement is performed on the terminal 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, the terminal has already entered the sleep state, the measured second measurement value is abnormal. If the prolonged background traffic time is still short, that is, the interval between two adjacent background traffic is short, the terminal will not enter a sleep state, the second measured value obtained by measurement is normal.
The second measurement is performed according to an extended background flow time, unlike the first measurement, which is performed according to a background flow time. Specifically, step S230, measuring the terminal according to the extended background flow time, where obtaining a second measurement value corresponding to the extended background flow time includes:
and step S231, controlling the active measurement module to send first notification information to the forwarding module according to the prolonged background flow time so that the forwarding module intercepts and forwards all incoming and outgoing flows.
And 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 first notification information to the forwarding module, and after the forwarding module receives the first notification information, all the incoming and outgoing traffic of the terminal is intercepted and forwarded from the forwarding module, wherein the incoming and outgoing 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 the terminal sends out traffic or receives traffic, the traffic is intercepted by the forwarding module and forwarded by the forwarding module.
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 flow passing through the forwarding module. When the intelligent monitoring module starts to monitor the forwarding module, ready information is fed back to the active measuring module, and the intelligent monitoring module is indicated to start to monitor the forwarding module.
After the intelligent monitoring module is ready, that is, after the ready information fed back by the intelligent monitoring module is received, the active measuring module starts measuring 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 updated background flow time.
Specifically, the background flow time is updated according to the measured value, so as to obtain updated background flow time, and of course, updated configuration information is also obtained. After obtaining the measured value, the terminal may send the measured value to the measurement platform, and update the background flow time through the measurement platform.
For example, after the terminal obtains the configuration information, the terminal performs a first measurement to obtain a first measurement value, and sends the first measurement value to the measurement platform, and the measurement platform updates the background flow time according to the first measurement value obtained by measuring the terminal with the same model.
For example, after the terminal obtains the configuration information, a first measurement is performed to obtain a first measurement value, then the background flow time is prolonged, a second measurement is performed according to the background flow time to obtain a second measurement value, and the background flow time is updated according to the first measurement value and the second measurement value.
Terminals are divided into two types, one is a common terminal, and the common terminal receives a user instruction to acquire configuration information corresponding to the terminal, performs first measurement, and detects once every time the user instruction is received. One is a terminal to which a plan is added, which not only performs a first measurement, but also performs a second measurement by extending the background flow time based on the first measurement.
Specifically, step S300 is to update the background flow time according to the measured value, to obtain an updated background flow time, and includes:
and step S310, when the first measured value and the second measured value meet a preset condition, taking the prolonged background flow time as updated background flow time.
Specifically, the background flow time is updated according to the first measured value and the second measured value, and when the first measured value and the second measured value meet the preset condition, the extended background flow time is taken as the updated background flow time.
Specifically, the first measurement is performed regardless of the terminal, that is, there are more first measurement values, that is, there are a plurality of first measurement values, and the plurality of first measurement values of the same type of terminal are not identical but vary within a certain range, and generally, the plurality of first measurement values conform to a gaussian distribution, that is, the plurality of first measurement values have a distribution with two ends and more middle. The preset condition is that the second measured value is located in preset confidence intervals of a plurality of first measured values. The preset confidence interval may be 80%, 90% or 95%, for example, the preset confidence interval is 80%, and if the second measurement is within the preset confidence interval of the first measurement, that is, the first measurement and the second measurement are not significantly different, indicating that the second measurement is normal as the first measurement, the extended background flow time may be taken as the updated background flow time. It should be noted that, since a large number of terminals participate in measurement successively, after the configuration information is updated, the measurement is performed by using the updated configuration information when the subsequent terminals measure.
And step 320, when the first measured value and the second measured 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 measured value and the second measured value meet the preset condition, and taking the prolonged background flow time as the updated background flow time.
Specifically, the first measurement value and the second measurement value do not meet the preset condition, that is, the second measurement value is located 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, so that the second measurement value is abnormal. Therefore, it is necessary to re-determine the extended background flow time, that is, to return to step S220, when the extended background flow time is re-determined, since the last extended background flow time was too long, that is, t0 is too large, t0 may be reduced, for example, t0 may be halved, resulting in the extended background flow time.
After multiple measurements, the maximum background flow time can be obtained, under the maximum background flow time, the terminal can smoothly measure, the abnormal situation of the measured value can not occur, and the electric quantity can be saved due to the larger maximum background flow time. For example, when t0 is less than a preset extension value (e.g., the preset extension may be 1 ms), then the measurement may be terminated, with the background flow time extended at that time being taken as the updated background flow time; or when the number of times of the second measurement reaches the preset number of times, the measurement can be terminated, and the prolonged background flow time at this time is taken as the updated background flow time. When the maximum background flow time is adopted, the number of background flow sent in unit time can be reduced by different types of terminals, so that the purpose of saving electricity is achieved.
Specifically, after 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 embodiments
Step 1: and the terminal pulls different configuration information from the measurement platform according to different models.
Step 2: when active measurement is started, a forwarding module of an Mbt application developed on the terminal device intercepts and forwards all incoming and outgoing traffic.
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 traffic to or from the outside.
Step 4: the intelligent monitoring module is ready to inform the active measuring module to start 'normal' active measurement, then the active measuring module starts working, firstly wakes up the flow, after waiting for T0 time, the terminal equipment does not enter sleep through the periodic background flow with the time length of T1 to ensure the measurement accuracy (the wake-up flow and the periodic background flow are both related to the monitoring module, if the flow from outside or sent outwards (generated by other APP applications) is needed at the moment of the flow, no operation is needed, and if no external flow is received or sent when the wake-up flow and the periodic background flow are needed to be sent, the intelligent monitoring module manually constructs an outwards-facing flow packet to be sent out).
Step 5: after the measurement is finished, performing one-time 'test type' active measurement according to the configuration of whether the test type active measurement is performed, performing the 'test type' active measurement with background flow for a time which is prolonged by 5ms at t1, and uploading the measurement results of the 'normal type' and the 'test type' to a measurement platform.
Step 6: when the active measurement is completed, the active measurement module notifies the intelligent monitoring module that the background flow is no longer monitored, and the forwarding is closed.
Step 7: the measurement platform gathers the measurement results of the terminal equipment and the terminal model, performs big data analysis, compares the measurement results of the test type with the measurement results of the normal type in the measurement platform, and finally determines the issuing configuration information of the terminals of different types.
Step 8: steps 1 to 7 are repeated until the measurement is terminated.
Based on the above-mentioned power-saving accurate mobile terminal network measurement method, the invention also discloses an embodiment of a power-saving accurate mobile terminal network measurement system, which comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the following steps when executing the computer program:
acquiring configuration information corresponding to a terminal; wherein the configuration information includes background traffic time;
according to the configuration information, measuring the terminal to obtain a measured value;
and updating the background flow time according to the measured value to obtain updated background flow time.
Based on the above-mentioned power-saving accurate mobile terminal network measurement method, the invention also discloses an embodiment of a computer readable storage medium, the computer readable storage medium of this embodiment stores a computer program thereon, and the computer program when executed by a processor realizes the following steps:
acquiring configuration information corresponding to a terminal; wherein the configuration information includes background traffic time;
according to the configuration information, measuring the terminal to obtain a measured value;
and updating the background flow time according to the measured value to obtain updated background flow time.
It is to be understood that the invention is not limited in its application to the examples described above, but is capable of modification and variation in light of the above teachings by those skilled in the art, and that all such modifications and variations are intended to be included within the scope of the appended claims.
Claims (7)
1. The 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 includes background traffic time; the configuration information is stored in the measurement platform, and the number of the terminals is a plurality of terminals which are all the same type;
according to the configuration information, measuring the terminal to obtain a measured value and sending the measured value to the measurement platform;
the measuring platform updates the background flow time according to the measured value to obtain updated background flow time;
the measurements include a first measurement and a second measurement;
and measuring the terminal according to the configuration information to obtain a measured value, wherein the method comprises the following steps:
measuring the terminal according to the configuration information to obtain a first measured value corresponding to the background flow time;
determining an extended background flow time according to the background flow time;
measuring the terminal according to the prolonged background flow time to obtain a second measured value corresponding to the prolonged background flow time;
the measurement platform updates the background flow time according to the measured value to obtain updated background flow time, and the method comprises the following steps:
when the first measured value and the second measured value meet a preset condition, taking the prolonged background flow time as updated background flow time; the first measured values are in a plurality, and the preset condition is that the second measured values are located in preset confidence intervals of the first measured values.
2. The power saving accurate mobile terminal network measurement method according to claim 1, wherein the terminal comprises: the system comprises an active measurement module, an intelligent monitoring module and a forwarding module;
the step of measuring the terminal according to the configuration information to obtain a first measurement value corresponding to the background flow time, including:
according to the configuration information, the active measurement module is controlled to send first notification information to the forwarding module so that the forwarding module intercepts and forwards all incoming and outgoing traffic;
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.
3. The method for power-saving accurate mobile terminal network measurement according to claim 2, wherein the controlling the active measurement module to start measurement to obtain the 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 flow to the forwarding module so that the forwarding module forwards the wake-up flow outwards;
and when the intelligent monitoring module sends the wake-up flow to the forwarding module and the preset time passes, controlling the intelligent monitoring module to send the background flow to the forwarding module according to the background flow time to obtain a first measured value corresponding to the background flow time.
4. The power-saving accurate mobile terminal network measurement method according to claim 3, 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 incoming and outgoing traffic at a preset time; the preset time is determined according to the background flow time and the wake-up flow time.
5. The power saving accurate mobile terminal network measurement method according to claim 1, wherein the measurement platform updates the background traffic time according to the measurement value to obtain an updated background traffic time, further comprising:
and when the first measured value and the second measured 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 measured value and the second measured value meet the preset condition, and taking the prolonged background flow time as the updated background flow time.
6. A power saving accurate mobile end network measurement system comprising a memory and a processor, said memory storing a computer program, characterized in that said processor implements the steps of the method of any of claims 1 to 5 when said computer program is executed.
7. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 5.
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 CN112512103A (en) | 2021-03-16 |
CN112512103B true 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 (6)
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 |
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107078925B (en) * | 2014-10-29 | 2020-07-07 | 华为技术有限公司 | Heartbeat period setting method and terminal |
-
2020
- 2020-11-02 CN CN202011206455.0A patent/CN112512103B/en active Active
Patent Citations (6)
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 |
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)
Title |
---|
何晓明等.小流量长在线业务对Ev-Do网络的影响及优化.《电信科学》.2013,第142-146页. * |
Also Published As
Publication number | Publication date |
---|---|
CN112512103A (en) | 2021-03-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9927857B2 (en) | Profiling a job power and energy consumption for a data processing system | |
US10067551B2 (en) | Power state transition analysis | |
CN109803359A (en) | A kind of method and terminal waking up terminal system | |
WO2020228289A1 (en) | Log acquisition method and apparatus, and terminal and storage medium | |
CN111475213B (en) | Power consumption reduction method and device for solid state disk with multi-core structure and computer equipment | |
US11181969B2 (en) | Method and system for graphics processor unit busy state detection | |
CN105915328B (en) | To the receiving handling method and device of synchronization frame | |
Lentz et al. | Drowsy power management | |
CN111200864A (en) | Data processing method, device, equipment and storage medium | |
CN110928586B (en) | APP background keep-alive method and device | |
CN112512103B (en) | Power-saving accurate mobile terminal network measurement method | |
US20160091949A1 (en) | Performance management for a multiple-cpu platform | |
CN114257474B (en) | Power utilization control method and device for intelligent gateway, computer equipment and storage medium | |
US11943127B2 (en) | Network-based control method for power consumption of applications, terminal and storage medium | |
CN109002381A (en) | Process communication monitoring method, electronic device and computer readable storage medium | |
CN106598193A (en) | Power consumption control method and apparatus | |
CN106376023A (en) | Data downloading method based on context awareness and system thereof | |
CN111385859A (en) | Terminal power consumption detection optimization method and device | |
US20210064757A1 (en) | System and method for secure image loading with optimized performance and power consumption | |
WO2019127081A1 (en) | Power consumption stabilization method and apparatus for intelligent terminal, and electronic device | |
WO2020206703A1 (en) | Terminal control method and apparatus, storage medium, and electronic device | |
CN107977294B (en) | Method and device for monitoring temperature of electronic element | |
CN115118534B (en) | Low-power-consumption state control method, device, terminal and storage medium of MBB equipment | |
Björkholm | Background scheduling in Android and its effect on battery usage | |
Brocanelli et al. | Smartphone Radio Interface Management for Longer Battery Lifetime |
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 |