CN103888990B - Power consumption test method, the apparatus and system of terminal device Network application - Google Patents

Power consumption test method, the apparatus and system of terminal device Network application Download PDF

Info

Publication number
CN103888990B
CN103888990B CN201210560940.7A CN201210560940A CN103888990B CN 103888990 B CN103888990 B CN 103888990B CN 201210560940 A CN201210560940 A CN 201210560940A CN 103888990 B CN103888990 B CN 103888990B
Authority
CN
China
Prior art keywords
power consumption
signaling message
terminal device
unit
network application
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
Application number
CN201210560940.7A
Other languages
Chinese (zh)
Other versions
CN103888990A (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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201210560940.7A priority Critical patent/CN103888990B/en
Publication of CN103888990A publication Critical patent/CN103888990A/en
Application granted granted Critical
Publication of CN103888990B publication Critical patent/CN103888990B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the present application discloses a kind of power consumption test method of terminal device Network application, and the method includes:Signaling message of the identification in the Network application of server end and terminal device interaction;Start power consumption parameter measurement process when terminal device receives the signaling message, measure the power consumption parameter of the signaling message on the terminal device in implementation procedure;The power consumption parameter measured according to power consumption parameter measurement process obtains the corresponding power consumption of the signaling message.The embodiment of the present application also discloses the power consumption test device and system of a kind of terminal device Network application.The embodiment of the present application can on signaling message level testing power consumption.

Description

Power consumption test method, the apparatus and system of terminal device Network application
Technical field
The application is related to observation and control technology field, more particularly to a kind of power consumption test method of terminal network service application, Device and its corresponding system.
Background technology
With the development of information technology, it is integrated with more on terminal device (such as mobile terminal, PDA terminals, panel computer) It is common such as video calling, mobile TV, network trip come more network miscellaneous service applications for meeting user's needs Play etc..These Network application power consumption are high, and the power attenuation to terminal device is big, have influence on other behaviour of terminal device Make.The power consumption for how optimizing terminal device is asked as urgently to be resolved hurrily in Network application process of the research and development based on terminal device Topic.It is that the various Network applications based on terminal device are known by test to the premise that the power consumption of terminal device is optimized Power consumption situation, and then targetedly Optimized Measures can be proposed based on power consumption situation.
The power consumption test method of a kind of terminal device Network application that prior art is present is:First set measured terminal It is standby to be under certain Network application state, when standby service application is in stable state, measure the power consumption of the service application.By this The power consumption that power consumption test method test is obtained is conducive to carrying out the optimised power consumption of terminal device.However, due to Network application Generally realized by some Signalling exchanges, execution etc., in some cases, the optimised power consumption operation of terminal device is removed in " network industry Business application " tested in this level outside the overall power of the service application, in addition it is also necessary in each signaling procedure of service application The power consumption of the flow primitive is tested in level, and then can more meticulously carry out optimised power consumption operation.As can be seen here, prior art Service application hierarchial test power consumption without the signaling procedure in service application hierarchial test power consumption, it is impossible to meet reality Power consumption test demand.
The content of the invention
In order to solve the above technical problems, the power consumption that the embodiment of the present application provides a kind of terminal device Network application is surveyed Method for testing, device and its corresponding system, power consumption test is carried out to realize that terminal device Network is applied in signaling level, And then meet reality need.
The power consumption test method of the terminal device Network application that the embodiment of the present application is provided includes:
Signaling message of the identification in the Network application of server end and terminal device interaction;
Start power consumption parameter measurement process when terminal device receives the signaling message, measure the signaling message and exist Power consumption parameter in terminal device implementation procedure;
The power consumption parameter measured according to power consumption parameter measurement process obtains the corresponding power consumption of the signaling message.
Preferably, the identification disappears positioned at the Network application of server end with the signaling in terminal device interaction Breath includes:The signaling message in the Network application of server end and terminal device interaction is intercepted and captured, is obtained at least One identification information of signaling message, then when the signaling message being sent into terminal device synchronous power consumption parameter measurement process with Just power consumption parameter measurement process is started when terminal device receives the signaling message.
Preferably, methods described also includes:The preset automation pin comprising terminal device Network application power consumption test This, controls to complete the power consumption test of terminal device Network application by running the automatized script.
Preferably, methods described also includes:Power supply is provided to terminal device.
It is further preferred that each signaling message of the Network application is obtained in the power consumption parameter according to measurement After power consumption, the power consumption result of each signaling message of the Network application is exported.
The embodiment of the present application additionally provides a kind of power consumption test device of terminal device Network application.The device bag Include:Signaling message recognition unit, measurement process start unit, power consumption parameter measuring unit and power consumption obtaining unit, wherein:
The signaling message recognition unit, for recognizing that the Network application positioned at server end is interacted with terminal device During signaling message;
The measurement process start unit, surveys for starting power consumption parameter when terminal device receives the signaling message Amount process;
The power consumption parameter measuring unit, for measuring power consumption of the signaling message on the terminal device in implementation procedure Parameter;
The power consumption obtaining unit, the power consumption parameter for being measured according to power consumption parameter measurement process obtains the signaling and disappears Cease corresponding power consumption.
Preferably, the signaling message recognition unit includes that signaling message intercepts and captures subelement and time synchronized subelement, its In:
The signaling message intercepts and captures subelement, and the Network application for intercepting and capturing positioned at server end is handed over terminal device Signaling message during mutually, obtains the identification information of at least one signaling message;
The time synchronized subelement, surveys for the synchronous power consumption parameter when the signaling message is sent into terminal device Amount process starts power consumption parameter measurement process when terminal device receives the signaling message so as to measurement process start unit.
Preferably, described device also includes automatic test unit, for preset comprising terminal device Network application The automatized script of power consumption test, the work(that automatized script control completes terminal device Network application is run will pass through Consumption test.
Preferably, described device also includes power supply unit, for providing power supply to terminal device.
Preferably, described device also includes power consumption result output unit, for being obtained in the power consumption parameter obtained according to measurement After the power consumption of each signaling message for obtaining the Network application, each signaling message of the Network application is exported Power consumption result.
The embodiment of the present application additionally provides a kind of power consumption test system of terminal device Network application.The system bag Include:Network application server, terminal device and power consumption test device, wherein:
The Network application server is used to carry out Signalling exchange to realize Network application with terminal device;
The terminal device includes Network application execution unit and power supply unit, and the Network application is held Row unit, for carrying out Signalling exchange to realize Network application with Network application server;The power supply supply is single Unit, for supplying power supply to terminal device;
The power consumption test device include signaling message intercept and capture unit, time synchronized unit, power consumption parameter measuring unit and Power consumption obtaining unit, the signaling message intercepts and captures unit, and letter is carried out with terminal device for intercepting and capturing network service application service device The signaling message in interaction is made, the identification information of at least one signaling message is obtained;The time synchronized unit, for Synchronous power consumption parameter measurement process when the signaling message is sent into terminal device;The power consumption parameter measuring unit, is used for Measure the power consumption parameter of the signaling message;The power consumption obtaining unit, for the work(measured according to power consumption parameter measurement process The corresponding power consumption of signaling message described in consumption gain of parameter.
Preferably, the power consumption test device also includes data acquisition unit, is surveyed for storing power consumption parameter measuring unit The power consumption parameter for obtaining, and signaling message intercepts and captures the identification information of the signaling message that unit is obtained, then the power consumption obtaining unit Power consumption parameter specifically for being stored according to data acquisition unit obtains the power consumption of the signaling message.
Preferably, the power consumption test device also includes automatic test unit, for preset comprising terminal device network The automatized script of service application power consumption test, automatized script control completion terminal device Network is run will pass through The power consumption test of application.
The embodiment of the present application is by identification in the Network application of server end and terminal device interaction Signaling message, power consumption parameter measurement process is started when terminal device receives the signaling message, measures the signaling message Power consumption parameter in implementation procedure on the terminal device, and then obtain the corresponding power consumption of the signaling message.Compared with prior art, Implementation procedure of the embodiment of the present application by Network application on the terminal device is divided into the interaction of multiple signaling messages, The corresponding relation of measurement of power loss parameter and signaling message is set up, rather than the pass set up and between the overall power of the service application System, makes power consumption test process be carried out in signaling message this level, so as to any one letter of Network application can be obtained The power consumption situation of message is made, so as to meet reality need.Additionally, the embodiment of the present application is in the network industry positioned at server end Signaling message is recognized during business application and the alternating transmission of terminal device, because Signalling exchange transmission can be in " frame (subframe) " level Carried out on not, so that the measurement of power loss precision of the embodiment of the present application reaches " frame (subframe) " rank, improve terminal device net The precision level of the power consumption test of network service application.
Brief description of the drawings
In order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments described in application, for those of ordinary skill in the art, on the premise of not paying creative work, Other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the power consumption test method embodiment of the application terminal device Network application;
Fig. 2 is the composition frame chart of the power consumption test device embodiment of the application terminal device Network application;
Fig. 3 is the composition frame chart of the power consumption test system embodiment of the application terminal device Network application.
Specific embodiment
In order that those skilled in the art more fully understand the technical scheme in the application, below in conjunction with the application reality The accompanying drawing in example is applied, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described implementation Example is only some embodiments of the present application, rather than whole embodiments.Based on the embodiment in the application, this area is common The every other embodiment that technical staff is obtained under the premise of creative work is not made, should all belong to the application protection Scope.
Embodiment one
Referring to Fig. 1, the figure shows the power consumption test method embodiment of the terminal device Network application of the application Flow.The embodiment includes:
Step S101:Identification disappears positioned at the Network application of server end with the signaling in terminal device interaction Breath;
Terminal device can run miscellaneous service application as message processing device.The service application both may come from Outside terminal device, i.e., service application (signaling message) is sent to by other entities (such as server, internet) tested Run in the terminal device of examination, information data is carried out between terminal and service application source terminal interact to realize service application Overall process, such as, and mobile terminal access service cell (or base station), by the business throughput etc. of network measure terminal device, This kind of application is commonly referred to Network application, herein for sake of convenience, it will thus provide the entity of this Network application is referred to as It is Network application server;Can also be terminal device is self-contained or installs service application, this kind of application is referred to as this Ground service application, it is locally applied to be interacted without carrying out information data with other entities.By terminal device operational network service application The mode of (informational message), on the one hand can test work(when operation is applied on identical terminal device in different Networks Consumption situation, it is the scene of terminal device that this is applied to test emphasis, i.e., by running different networks in same terminal equipment Service application, checks the terminal device to characteristics such as adaptability, the compatibility of different network service application;On the other hand can test The power consumption situation during operation on different terminal devices is applied in identical Network, and it is network industry that this is applied to test emphasis The scene of business application, i.e., run in multiple terminal devices by by identical Network application, checks the service application pair The characteristics such as adaptability, the compatibility of different terminal equipment.
, it is necessary to carry out signaling when carrying out the operation of Network application between terminal device and Network application offer end The interaction of message, the present embodiment needs to recognize signaling message that its RM includes in the implementation procedure of Network application It is various.Such as, a kind of mode is one " terminal " of setting between the offer end of Network application and terminal device, should " terminal " first obtains Network application server and is sent to the signaling of terminal device and disappear from the offer end of Network application Breath, then recognizes and records (such as identification information) for information about of the signaling message, then the signaling message is sent into terminal Equipment perform, " terminal " in this mode actually serve analog network environment effect (should " terminal " can also claim It is network simulation module), for terminal device, " network " of the Network application that it is faced is " terminal ".Also Such as, another way is, when terminal device receives the signaling message of Network application server transmission, to recognize signaling Message, can so save single signaling message and intercept and capture process.Each of Network application is identified in several ways After signaling message, for the ease of description, the identification information of these signaling messages can be obtained, the identification information is used to distinguish different letters Make message, can be presented as No. ID of signaling message, the title of signaling message, the description information of signaling message etc. there is uniqueness Data message.
Step S102:Start power consumption parameter measurement process when terminal device receives the signaling message;
Due to needing the power consumption situation of measurement signaling message rather than whole service application, power consumption parameter measurement process is being carried out In, it is necessary to coordinate two " processes ", i.e. signaling message implementation procedure and measurement of power loss process on the terminal device, to set up Corresponding relation between signaling message and the power consumption parameter of measurement.In actual application, the coordination step can be same by clock Step circuit realizes that the mode of coordination is corresponding with the process of above-mentioned identification signaling message:Disappear for receiving signaling in terminal device The situation being identified during breath, will enter the execution stage after being received due to signaling message, therefore, it can start work(at the moment Consumption parameter measurement process, so that the implementation procedure of signaling message is synchronous with power consumption parameter measurement process, so measurement is obtained Power consumption parameter just can exactly reflect signaling message power consumption situation on the terminal device;For being taken in Network application The situation that independent network simulation module is identified is set between business device and terminal device, because network simulation module will be intercepted and captured After signaling message, signaling message is sent to terminal device and there is time delay, when receiving signaling message in order to ensure terminal device Power consumption parameter measurement process can be started, time synchronized unit, the time synchronized unit can be set in the network simulation module " synchronizing signal " is sent when network simulation module sends signaling messages to terminal device, " synchronizing signal " is somebody's turn to do and is sent to terminal Equipment there is also time delay, and the duration of the two " time delays " is of substantially equal, the synchronizing signal in signaling message incoming terminal equipment Incoming terminal equipment, and then startup power consumption parameter measurement process can be triggered.
Step S103:Measure power consumption parameter of the signaling message on the terminal device in implementation procedure;
After determining the signaling message for needing testing power consumption, in the signaling message on the terminal device implementation procedure, open Dynamic power consumption parameter measurement process carries out the measurement of power consumption parameter, and power consumption parameter here can be presented as various, common such as electricity Pressure value, current value.In actual application, in order to accelerate measurement process, carry out the measurement of power consumption parameter can include it is as follows Two ways:One is fixed voltage value, only measures the change of current value in signaling message implementation procedure;Two is fixed current value, The change of magnitude of voltage only in measurement signaling message implementation procedure.Fix a power consumption parameter and measure another power consumption parameter except this Mode outside, the application can also be using " double surveys " mode for measuring magnitude of voltage and current value simultaneously.It should be noted that:Signaling The execution of message is usually a period, and the power consumption parameter for measuring here can measure many numbers according to certain sampling period Value, under the situation, power consumption parameter can be multiple time points value it is average after average value (geometric average or arithmetic average), or Maximum, minimum value, median etc., it might even be possible to be by the value after other treatment, specifically using which kind of calculation by right The factors such as the required precision of measurement of power loss, the adaptability of terminal device are determined.
Step S104:Power consumption parameter according to measurement obtains the power consumption of the signaling message of the service application;
After abovementioned steps measure power consumption parameter, you can obtain the corresponding power consumption feelings of signaling message according to preset rules Condition.If the mode for measuring power consumption parameter is the dynamic testing current under voltage fixation, power consumption is the fixed voltage and electric current Product, similarly, if the mode of measurement power consumption parameter is the dynamic test voltage under electric current fixation, power consumption is fixed for this The product of electric current and voltage, if the other modes for using, obtain the power consumption of the signaling message otherwise.By this After step obtains the power consumption situation of signaling message, the power consumption result can be exported.
Signaling of the present embodiment by identification in the Network application of server end and terminal device interaction Message, power consumption parameter measurement process is started when terminal device receives the signaling message, measures the signaling message at end Power consumption parameter in end equipment in implementation procedure, and then obtain the corresponding power consumption of the signaling message.Compared with prior art, this reality The interaction that example implementation procedure by Network application on the terminal device is divided into multiple signaling messages is applied, power consumption is set up Measurement parameter and the corresponding relation of signaling message, rather than the relation set up and between the overall power of the service application, make work( Consumption test process is carried out in signaling message this level, so that any one signaling message of Network application can be obtained Power consumption situation, so as to meet reality need.Additionally, the present embodiment is positioned at the Network application of server end and terminal Signaling message is recognized during the alternating transmission of equipment, because Signalling exchange transmission can be carried out in " frame (subframe) " rank, from And the measurement of power loss precision of the embodiment of the present application is reached " frame (subframe) " rank, improve terminal device Network application The precision level of power consumption test.
Although above-described embodiment can realize present invention purpose, the technical problem of the application be solved, at some In the case of, can also carry out various improvement or deformation for special requirement.
Such as, during the power consumption test for carrying out terminal device, different terminal devices there may be in terms of power supply Difference, it is not self-powered that some terminal devices come with power supply (such as mobile phone), some equipment.Set for self-powered terminal It is standby to be powered using the own power supply of the terminal device, it would however also be possible to employ external power supply is powered.But, using different power supplys pair Power consumption test result is likely to result in Different Effects:Under using externally fed situation, the power consumption number for testing out is the terminal device sheet Body embodies to the performance of a certain Network application;Under using self-powered power supply situation, the power consumption number for testing out is that terminal sets Standby and terminal device is self-powered to be embodied as the overall performance to a certain Network application, i.e., under the situation, include certainly Performance impact of the charged to service application.To avoid this self-powered influence being likely to result in measurement of power loss, the application External power source mode can be used, i.e., provides power supply from external power supply to measured terminal equipment.
For another example, may be related to carry out large batch of terminal device or Network application in actual application Power consumption test, in this case, if control the whole power consumption test flow, workload will to increase using manual type, and Test result may be inaccurate due to human factor appearance.Therefore, the application can be using the test mode of automation, which The first preset automatized script comprising terminal device Network application power consumption test, after power consumption test is started, by operation The automatized script controls power consumption test process, that is, when running the automatized script, Network of the control positioned at server end Using with terminal device interaction in signaling message identification, control power consumption parameter measurement process, and control according to work( The process of the corresponding power consumption of consumption gain of parameter signaling message.
Embodiment two
Previous embodiment describes the implementation of the power consumption test method of the terminal device Network application of the application in detail Example, correspondingly, present invention also provides the embodiment of the power consumption test device of terminal device Network application.Referring to Fig. 2, should Figure shows the composition frame chart of the embodiment.Present apparatus embodiment includes:Signaling message recognition unit 201, measurement process starts Unit 202, power consumption parameter measuring unit 203 and power consumption obtaining unit 204, wherein:
Signaling message recognition unit 201, for recognizing that the Network application positioned at server end is interacted with terminal device During signaling message;
Measurement process start unit 202, surveys for starting power consumption parameter when terminal device receives the signaling message Amount process;
Power consumption parameter measuring unit 203, for measuring power consumption of the signaling message on the terminal device in implementation procedure Parameter;
Power consumption obtaining unit 204, the power consumption parameter for being measured according to power consumption parameter measurement process obtains the signaling and disappears The power consumption of breath.
The course of work of present apparatus embodiment is:Network industry of the identification of signaling message recognition unit 201 positioned at server end Business application with terminal device interaction in signaling message, then by measurement process start unit 202 terminal device receive To power consumption parameter measurement process is started during the signaling message, power consumption parameter measuring unit 203 measures the signaling message at end Power consumption parameter in end equipment in implementation procedure, then the letter is obtained according to the power consumption parameter of measurement by power consumption obtaining unit 204 Make the corresponding power consumption of message.
Present apparatus embodiment is by identification in the Network application of server end and terminal device interaction Signaling message, power consumption parameter measurement process is started when terminal device receives the signaling message, measures the signaling message Power consumption parameter in implementation procedure on the terminal device, and then obtain the corresponding power consumption of the signaling message.Compared with prior art, Implementation procedure of the present apparatus embodiment by Network application on the terminal device is divided into the interaction of multiple signaling messages, The corresponding relation of measurement of power loss parameter and signaling message is set up, rather than the pass set up and between the overall power of the service application System, makes power consumption test process be carried out in signaling message this level, so as to any one letter of Network application can be obtained The power consumption situation of message is made, so as to meet reality need.Additionally, present apparatus embodiment is in the network industry positioned at server end Signaling message is recognized during business application and the alternating transmission of terminal device, because Signalling exchange transmission can be in " frame (subframe) " level Carried out on not, so that the measurement of power loss precision of the embodiment of the present application reaches " frame (subframe) " rank, improve terminal device net The precision level of the power consumption test of network service application.
The signaling message recognition unit of said apparatus embodiment is based on different signaling RMs, and its internal structure may In the presence of difference.Such as, when RM is that signaling message recognition unit 201 can when being realized by independent network simulation module Subelement 2011 and time synchronized subelement 2012 are intercepted and captured with including signaling message, wherein:Signaling message intercepts and captures subelement 2011, For intercepting and capturing the signaling message in the Network application of server end and terminal device interaction, at least one is obtained The identification information of signaling message;Time synchronized subelement 2012, for same when the signaling message is sent into terminal device Step power consumption parameter measurement process, the synchronizing process is to be sent to measurement process start unit " together by time synchronized subelement What step signal " was realized, i.e., measurement process start unit receives " synchronizing signal " toggled start-up operation afterwards.Using it is this from Network application server is identified and synchronous mode with intercepting and capturing signaling message in terminal device interaction, its principle It is that signaling message is sent to terminal device and there is time delay, and the time delay disappears with from signaling after signaling message intercepts and captures subelement The time delay of the synchronizing signal incoming terminal equipment that time synchronized subelement sends is of substantially equal when breath sends, and thereby may be ensured that end End equipment starts the measurement process of power consumption parameter when receiving signaling message.In fact, except the mode of this identification signaling message Outward, its identification process (can also be sent to terminal device when terminal device receives signaling message rather than in signaling message In), triggering measurement process start unit proceeds by the measurement of power consumption parameter immediately by this moment identifying after signaling message Journey.
In order to adapt to some special requirements, aforementioned means embodiment can also increase some corresponding functional architecture units. Such as, for self-powered terminal device, when carrying out the measurement of power loss of Network application of the terminal device operation, Influence may be produced on measurement process because this is self-powered, therefore, it is single that said apparatus embodiment can also include that power supply is supplied Unit 205, for providing power supply to terminal device, i.e., does not use the self-powered of terminal device.For another example, to meet power consumption test Automation requirement, the Network application (signaling message) that will run on the terminal device and carry out to the service application The process of power consumption test be written as automatized script program, when needing to carry out power consumption test, the shell script is imported into Terminal device, and triggering carries out test process automatically.
Further, it is also possible to increase output unit 206 in said apparatus embodiment, for by according to the power consumption parameter of measurement After the power consumption of each signaling message of the Network application of acquisition, power consumption result is exported.The concrete mode of output can be with Comprising various, such as, disposably all export or export as needed the power consumption numbers of the signaling message specified.Also such as, may be used To set the pre-conditioned of output, exported when meeting pre-conditioned.The result of output can also be stored, so as to than less Power consumption situation of the same service application in identical terminal device or identical service application on different terminal devices, enters And optimised power consumption can be carried out for terminal device or service application.
Embodiment three
The embodiment of the present application additionally provides a kind of power consumption test system of terminal device Network application.Referring to Fig. 3, should Figure shows the composition structured flowchart of the power consumption test system of the present embodiment.The system embodiment includes:Network application takes Business device 301, terminal device 302 and power consumption test device 303, Network application server 301 are used to enter with terminal device 302 Row Signalling exchange to realize Network application, wherein:
Terminal device 302 includes Network application execution unit 3021 and power supply unit 3022, and Network should With execution unit 3021, for carrying out Signalling exchange to realize network application with Network application server;Power supply supply is single Unit 3022, for supplying power supply to terminal device;
Power consumption test device 303 includes that signaling message intercepts and captures unit 3031, the measurement of time synchronized unit 3032, power consumption parameter Unit 3033 and power consumption obtaining unit 3034, wherein:Signaling message intercepts and captures unit 3031, for intercepting and capturing network service application service Device carries out the information of the signaling message in signalling interactive process with terminal device, obtains the mark letter of at least one signaling message Breath;Time synchronized unit 3032, for the synchronous power consumption parameter measurement process when the signaling message is sent into terminal device; Power consumption parameter measuring unit 3033, for measuring power consumption parameter of the signaling message on the terminal device in implementation procedure;Work( Consumption obtaining unit 3034, the power consumption parameter for being measured according to power consumption parameter measurement process obtains the corresponding work(of the signaling message Consumption.
In actual application, each part of said system embodiment can according to actual needs using different Holding wire is connected, such as, the signaling message of power consumption test device intercepts and captures unit can be by signal emission lines and terminal device The execution unit connection of Network application, realizes transmission of wireless signals;The power consumption parameter measuring unit of power consumption test device can It is connected with terminal device with by electric wire, power consumption obtaining unit can be by data line and power consumption parameter measuring unit and letter Message interception unit is made to connect, to transmit the measurement result of power consumption parameter and the identification information of signaling message etc..
The process that said system embodiment carries out power consumption test is:After starting power consumption test work, the electricity of terminal device 302 Source feed unit 3022 is powered to terminal device 302, and Network application execution unit 3021 and the network of terminal device 302 should Signalling exchange is carried out with server 301 realize Network application, in this process, the signaling message of power consumption test device 303 The signaling message that unit is intercepted and captured between terminal device and Network application server is intercepted and captured, terminal is being sent signaling messages to By the synchronous measurement of power loss unit 3033 of time synchronized unit 3032 during equipment, by synchronous 3033 pairs of institutes of measurement of power loss unit Stating signaling message carries out power consumption test, and test result then is sent into power consumption obtaining unit 3034, by the power consumption obtaining unit 3034 power consumption parameters measured according to power consumption parameter measurement process obtain the power consumption of the signaling message.
Interaction between the different function units that the system embodiment passes through terminal device and power consumption test device is completed In the power consumption test of the signaling message rank of terminal device Network application.What deserves to be explained is:The system embodiment is only It is a kind of example of power consumption test system, does not represent by and only this kind of system constitutes structure.Such as, said system is implemented The power supply unit of the terminal device in example may be provided in power consumption test device, and terminal device is entered by power consumption test device Row power supply.Further, by power supply unit independently of terminal device after, power supply unit and power consumption parameter can be measured Unit merges into One function unit, i.e., on the one hand the power consumption parameter measuring unit from after merging supplies power supply to terminal device, On the other hand by the unit to service application on the terminal device running in different current values measure acquisition power consumption Then the power consumption parameter data are supplied to power consumption obtaining unit by supplemental characteristic.Based on same reason, in the system embodiment Signaling message intercept and capture unit except can be arranged on power consumption test device China and foreign countries, can also set on the terminal device, also can Play the recognition reaction of the signaling message performed on the terminal device to Network application.Also such as, in order to increase the power consumption The automaticity of test system, can increase an automatic test unit, and the in-cell editing has the pin that can be performed automatically This program, the shell script can include the automatized script of terminal device service application power consumption test, should will pass through operation Automatized script control completes the power consumption test of terminal device Network application, i.e. the process can be:Power consumption test starts Afterwards, automatized script program operation, generates control instruction respectively to signaling message recognition unit, terminal device in running Network execution unit and power consumption test unit etc. send, provide network environment namely to terminal device, perform The signaling message of Network and perform signaling message during carry out measurement of power consumption etc. operation.
Additionally, the system embodiment is needed based on some practical applications, some reasonability improvement can also be carried out.Such as, The power consumption test device of the system embodiment can also include data acquisition unit 3035, and on the one hand the unit can be used to store work( The power consumption parameter that consumption parameter measurement unit is measured, on the other hand can be used to store the signaling message that signaling message intercepts and captures unit acquisition Information, on this basis, power consumption obtaining unit is specifically for the power consumption parameter and signaling message that are stored according to data acquisition unit Information acquisition service application signaling message power consumption.By this improvement, power consumption test device can be made to use " i.e. To calculate " (power consumption parameter data must be calculated immediately after arriving, in order to avoid data disappearance or the data cover being sent to below) Mode, and increased memory function, you can completed and to each signaling message with all being performed in the signaling message of service application After measuring power consumption parameter, the power consumption situation of each signaling message of whole network service application is disposably given.Simultaneously as Once calculating is changed to by multiple calculating treatment to process, saved calculating process resource.Additionally, which can also be reduced to work( The requirement of the disposal ability of obtaining unit is consumed, is realized without using arithmetic speed chip higher, saved cost.
For the simplicity of narration, what each embodiment of this specification was stressed be it is different from other embodiment it Place, between each embodiment identical similar part mutually referring to.For especially for device, system embodiment, due to It is substantially similar to embodiment of the method, so describing fairly simple, related part is referring to the part explanation of embodiment of the method Can.Device described above, each unit of system embodiment can be or may not be it is physically separate, both can be with Positioned at a place, or can also be distributed under multiple network environments.In actual application, can be according to actual need Select some or all of unit therein to realize the purpose of this embodiment scheme, those of ordinary skill in the art are not paying In the case of going out creative work, you can to understand and implement.
The above is only the specific embodiment of the application, it is noted that for the ordinary skill people of the art For member, on the premise of the application principle is not departed from, some improvements and modifications can also be made, these improvements and modifications also should It is considered as the protection domain of the application.

Claims (13)

1. a kind of power consumption test method of terminal device Network application, it is characterised in that the method includes:
Signaling message of the identification in the Network application of server end and terminal device interaction;
Start power consumption parameter measurement process when terminal device receives the signaling message, measure the signaling message in terminal Power consumption parameter in equipment in implementation procedure;
The power consumption parameter measured according to power consumption parameter measurement process obtains the corresponding power consumption of the signaling message.
2. method according to claim 1, it is characterised in that the identification be located at the Network application of server end with Signaling message in terminal device interaction includes:
The signaling message in the Network application of server end and terminal device interaction is intercepted and captured, at least one is obtained The identification information of signaling message, then synchronous power consumption parameter measurement process is so as to end when the signaling message being sent into terminal device End equipment starts power consumption parameter measurement process when receiving the signaling message.
3. method according to claim 1, it is characterised in that methods described also includes:It is preset comprising terminal device network The automatized script of service application power consumption test, controls to complete terminal device Network application by running the automatized script Power consumption test.
4. method according to claim 1, it is characterised in that methods described also includes:Power supply is provided to terminal device.
5. the method according to any one of Claims 1-4, it is characterised in that obtained according to the power consumption parameter of measurement After the power consumption of each signaling message for obtaining the Network application, each signaling message of the Network application is exported Power consumption result.
6. a kind of power consumption test device of terminal device Network application, it is characterised in that the device includes:Signaling message is known Other unit, measurement process start unit, power consumption parameter measuring unit and power consumption obtaining unit, wherein:
The signaling message recognition unit, for recognizing Network application and terminal device interaction positioned at server end In signaling message;
The measurement process start unit, measured for starting power consumption parameter when terminal device receives the signaling message Journey;
The power consumption parameter measuring unit, for measuring power consumption ginseng of the signaling message on the terminal device in implementation procedure Number;
The power consumption obtaining unit, the power consumption parameter for being measured according to power consumption parameter measurement process obtains the signaling message pair The power consumption answered.
7. device according to claim 6, it is characterised in that the signaling message recognition unit includes that signaling message is intercepted and captured Subelement and time synchronized subelement, wherein:
The signaling message intercepts and captures subelement, and the Network application for intercepting and capturing positioned at server end was interacted with terminal device Signaling message in journey, obtains the identification information of at least one signaling message;
The time synchronized subelement, measured for the synchronous power consumption parameter when the signaling message is sent into terminal device Journey starts power consumption parameter measurement process when terminal device receives the signaling message so as to measurement process start unit.
8. device according to claim 6, it is characterised in that described device also includes automatic test unit, for pre- Put the automatized script comprising terminal device Network application power consumption test, with will pass through run the automatized script controlled Into the power consumption test of terminal device Network application.
9. device according to claim 6, it is characterised in that described device also includes power supply unit, for end End equipment provides power supply.
10. the device according to any one of claim 6 to 9, it is characterised in that described device also includes power consumption result Output unit, the power consumption of each signaling message for obtaining the Network application in the power consumption parameter obtained according to measurement Afterwards, the power consumption result of each signaling message of the Network application is exported.
11. a kind of power consumption test systems of terminal device Network application, it is characterised in that the system includes:Network Application server, terminal device and power consumption test device, wherein:
The Network application server is used to carry out Signalling exchange to realize Network application with terminal device;
The terminal device includes Network application execution unit and power supply unit, and the Network application performs list Unit, for carrying out Signalling exchange to realize Network application with Network application server;The power supply unit, uses In to terminal device supply power supply;
The power consumption test device includes that signaling message intercepts and captures unit, time synchronized unit, power consumption parameter measuring unit and power consumption Obtaining unit, the signaling message intercepts and captures unit, and signaling friendship is carried out with terminal device for intercepting and capturing network service application service device Signaling message during mutually, obtains the identification information of at least one signaling message;The time synchronized unit, for by institute State signaling message and be sent to synchronous power consumption parameter measurement process during terminal device;The power consumption parameter measuring unit, for measuring Signaling message power consumption parameter on the terminal device in implementation procedure;The power consumption obtaining unit, for being joined according to power consumption The power consumption parameter of number measurement process measurement obtains the corresponding power consumption of the signaling message.
12. systems according to claim 11, it is characterised in that the power consumption test device also includes data acquisition list Unit, for storing the power consumption parameter that power consumption parameter measuring unit is measured, and signaling message intercepts and captures the signaling message that unit is obtained Identification information, then the power consumption obtaining unit obtain the letter specifically for the power consumption parameter that is stored according to data acquisition unit Make the power consumption of message.
13. system according to claim 11 or 12, it is characterised in that the power consumption test device also includes that automation is surveyed Examination unit, for the preset automatized script comprising terminal device Network application power consumption test, should be certainly will pass through operation Dynamicization Script controlling completes the power consumption test of terminal device Network application.
CN201210560940.7A 2012-12-20 2012-12-20 Power consumption test method, the apparatus and system of terminal device Network application Active CN103888990B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210560940.7A CN103888990B (en) 2012-12-20 2012-12-20 Power consumption test method, the apparatus and system of terminal device Network application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210560940.7A CN103888990B (en) 2012-12-20 2012-12-20 Power consumption test method, the apparatus and system of terminal device Network application

Publications (2)

Publication Number Publication Date
CN103888990A CN103888990A (en) 2014-06-25
CN103888990B true CN103888990B (en) 2017-06-20

Family

ID=50957674

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210560940.7A Active CN103888990B (en) 2012-12-20 2012-12-20 Power consumption test method, the apparatus and system of terminal device Network application

Country Status (1)

Country Link
CN (1) CN103888990B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104506661B (en) * 2015-01-14 2018-09-04 西安电子科技大学 A kind of mobile telephone power consumption automatic production generation method based on usage scenario of Remote configuration
WO2020107415A1 (en) * 2018-11-30 2020-06-04 华为技术有限公司 Power consumption prediction method and apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018383A (en) * 2007-01-05 2007-08-15 华为技术有限公司 Test system of the mobile terminal power consumption
CN101808165A (en) * 2010-04-12 2010-08-18 中兴通讯股份有限公司 Method and device for constructing power model of mobile terminal
CN102156530A (en) * 2010-09-30 2011-08-17 华为终端有限公司 Power consumption management method and device thereof for mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120163261A1 (en) * 2010-12-23 2012-06-28 Texas Instruments Incorporated Timing measurements between wireless stations with reduced power consumption

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018383A (en) * 2007-01-05 2007-08-15 华为技术有限公司 Test system of the mobile terminal power consumption
CN101808165A (en) * 2010-04-12 2010-08-18 中兴通讯股份有限公司 Method and device for constructing power model of mobile terminal
CN102156530A (en) * 2010-09-30 2011-08-17 华为终端有限公司 Power consumption management method and device thereof for mobile terminal

Also Published As

Publication number Publication date
CN103888990A (en) 2014-06-25

Similar Documents

Publication Publication Date Title
CN105788227B (en) Fault diagnosis equipment for electricity consumption information acquisition system
CN106911826A (en) The automation power consumption test method and system of a kind of terminal
CN103678062A (en) Comprehensive test system and test method
CN108255618A (en) The data interactive processing method and system of measuring instrument
CN207851162U (en) A kind of Line Loss of Distribution Network System measuring and calculating device
CN106803792A (en) Data transfer equipment, electric equipment and electric equipment fault diagnosis system
CN103888990B (en) Power consumption test method, the apparatus and system of terminal device Network application
CN103986615A (en) Testing method and device
CN108683556A (en) Detect the method, apparatus and computer storage media of network interface card functional status
CN108053174A (en) Scene edit methods and system
CN103884905B (en) The power consumption test method of a kind of terminal unit service application, Apparatus and system
CN108833033A (en) RF calibration determination method for parameter, device, storage medium and mobile terminal
CN113590471A (en) Communication terminal equipment simulation system and use method thereof
CN105224437A (en) A kind ofly obtain affairs on mobile terminal and perform method and apparatus consuming time
CN110460497A (en) A kind of automated testing method, apparatus and system
CN106407062B (en) Industry control chip debugging system and adjustment method
CN207281247U (en) Circuit board detection equipment
CN107608723A (en) One kind application alignment awakening method, terminal and computer-readable recording medium
CN105207854A (en) Multi-terminal concurrent testing system and method
CN202433893U (en) Online debugging system for handheld equipment
CN102982783B (en) Video processor and video request processing method thereof
CN205263299U (en) Energy metering equipment function detecting device
CN211454579U (en) Multi-terminal cluster testing device and system
CN211426666U (en) Testing device for relay protection device
CN106405289A (en) Live detection device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant