CN107632266A - The test system and method for testing of mobile terminal, mobile terminal - Google Patents

The test system and method for testing of mobile terminal, mobile terminal Download PDF

Info

Publication number
CN107632266A
CN107632266A CN201710817530.9A CN201710817530A CN107632266A CN 107632266 A CN107632266 A CN 107632266A CN 201710817530 A CN201710817530 A CN 201710817530A CN 107632266 A CN107632266 A CN 107632266A
Authority
CN
China
Prior art keywords
mobile terminal
data
wire
battery
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710817530.9A
Other languages
Chinese (zh)
Other versions
CN107632266B (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.)
Qiku Internet Technology Shenzhen Co Ltd
Original Assignee
Qiku Internet Technology Shenzhen 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 Qiku Internet Technology Shenzhen Co Ltd filed Critical Qiku Internet Technology Shenzhen Co Ltd
Priority to CN201710817530.9A priority Critical patent/CN107632266B/en
Publication of CN107632266A publication Critical patent/CN107632266A/en
Application granted granted Critical
Publication of CN107632266B publication Critical patent/CN107632266B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of mobile terminal, the test system and method for testing of mobile terminal, belongs to electronic circuit technology field.Wherein, the mobile terminal includes:External wire module, data switching module and the sample circuit being sequentially connected;The external wire module is used to access the mobile terminal for p-wire or data wire;The data switching module is used to, when the external wire module connects the p-wire, connect the sample circuit;The sample circuit is connected with the battery drain loop of the mobile terminal, to carry out electrical parameter collection to the battery drain loop, the electrical parameter collected is exported to external equipment by the data switching module, the external wire module and the p-wire successively.By the present invention, convenience and accuracy that mobile terminal electricity consumption data gathers are improved.

Description

The test system and method for testing of mobile terminal, mobile terminal
Technical field
The present invention relates to electronic circuit technology field, in particular to the test system of a kind of mobile terminal, mobile terminal System and method of testing.
Background technology
At present, tested for battery power consumption of the mobile terminals such as mobile phone under various scenes, mainly there are two kinds of method of testings. First method is:Take phone housing apart, remove the battery in mobile phone, by programmable power supply simulated battery, to testing mobile phone Hold the electric current under various scenes.Second method is:By cell phone software, the current data of the various scenes of mobile phone terminal is recorded, so The current data of record is exported into analysis again afterwards.
First method is tested due to needing to tear machine open, is cut off battery feed circuit, can be destroyed test scene at that time Present situation, it is unfavorable for retaining field scene progress case study.Second method by the software records current data of mobile phone itself, The background process of mobile phone can be increased, and then increase the scene power consumption of mobile phone, cause the current data of measurement inaccurate;Also, electricity Flow data preservation can postpone or even lose data compared with the data of actual scene electric current, cause intuitively can not accurately analyze field Scape electric current.
The content of the invention
In view of this, the purpose of the embodiment of the present invention be to provide a kind of mobile terminal, mobile terminal test system and Method of testing, to improve the accuracy and convenience of the collection of mobile terminal electricity consumption data.
To achieve these goals, the technical scheme that the embodiment of the present invention uses is as follows:
Technical solution of the present invention one proposes a kind of mobile terminal, including be sequentially connected external wire module, data switching Module and sample circuit;
The external wire module is used to access the mobile terminal for p-wire or data wire;
The data switching module is used to, when the external wire module connects the p-wire, connect the sampling electricity Road;
The sample circuit is connected with the battery drain loop of the mobile terminal, to be carried out to the battery drain loop Electrical parameter gathers, by the electrical parameter collected successively by the data switching module, the external wire module and described P-wire is exported to external equipment.
Technical solution of the present invention two proposes that the external wire module includes on the basis of technical scheme one:External interface The identifier being connected with the external interface;
The identifier is used to identify the voltage of the external interface, and described external connect is determined according to the magnitude of voltage identified Whether mouth connects the p-wire, if it is, sending first to the data switching module specifies signal;
The data switching module is additionally operable to after receiving the described first specified signal, determines the external wire module connection The p-wire.
Technical solution of the present invention three proposes that the identifier is additionally operable to identify outside described on the basis of technical scheme two When connection interface connects the data wire, send second to the data switching module and specify signal;
The data switching module is additionally operable to after receiving the described second specified signal, switches to the number of the mobile terminal According to path.
Technical solution of the present invention four proposes that the external interface is the mobile terminal on the basis of technical scheme two USB tail sockets.
Technical solution of the present invention five proposes that the sample circuit includes sampling resistor and electricity on the basis of technical scheme one Press sample circuit;
The sampling resistor is connected between the battery and battery connector in the battery drain loop;
The voltage sampling circuit connects the both ends of the sampling resistor respectively, for obtaining the sampling resistor two respectively The electrical parameter at end, the electrical parameter include magnitude of voltage.
Technical solution of the present invention six also proposed a kind of test system of mobile terminal, including above-mentioned technical proposal one is to skill Mobile terminal any one of art scheme five, in addition to p-wire, the sampling computing module that is connected with the p-wire;
The sampling computing module is used for the electrical parameter for receiving the p-wire output, according to determining the electrical parameter The power consumption data of battery.
Technical solution of the present invention seven proposes that the sampling computing module is additionally operable on the basis of technical scheme six:
When the electrical parameter received includes the sampling resistor both ends between the battery and battery connector During magnitude of voltage, the current data of the battery is calculated;
By the current data, and the sampling resistor close to described battery one end magnitude of voltage as the battery Power consumption data.
Technical solution of the present invention eight proposes that the system also includes on the basis of technical scheme six:
The display device being connected with the sampling computing module, for obtaining the battery from the sampling computing module Power consumption data, show the power consumption data of the battery.
Technical solution of the present invention nine proposes that the system also includes device for testing temperature rise on the basis of technical scheme eight, For gathering the temperature data of the mobile terminal, the temperature data is transmitted to the display device;
The display device is additionally operable to the reception time of the power consumption data according to the temperature data Yu the battery, sets The temperature data and the corresponding relation of the power consumption data of the battery, and according to the corresponding relation, show the temperature Data and the power consumption data of the battery.
Technical solution of the present invention ten also proposed a kind of method of testing of mobile terminal, applied to above-mentioned technical proposal one to Mobile terminal any one of technical scheme five, methods described include:
When identifying that the mobile terminal is connected with p-wire, the sample circuit is connected;
Electrical parameter collection is carried out to the battery drain loop of the mobile terminal by the sample circuit;
The electrical parameter collected is exported to external equipment by the p-wire.
Compared with prior art, mobile terminal provided in an embodiment of the present invention, the test system of mobile terminal and test side Method, in mobile terminal connecting test line, the electrical parameter in the battery drain loop of the mobile terminal gathered by sample circuit, and Being exported the electrical parameter by external wire module and p-wire can be according to practical application scene pair to external equipment, external equipment Power consumption of mobile terminal etc. is analyzed.Which, can be with automatic start data acquisition in application process, and does not have to broken The complete machine environment of bad mobile terminal, improve the convenience of electrical parameter collection.The electrical parameter of collection and mobile terminal are current simultaneously Scene combine closely, improve the accuracy of electrical parameter.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by embodiment it is required use it is attached Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore be not construed as pair The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 is the structured flowchart of mobile terminal provided in an embodiment of the present invention;
Fig. 2 is the structural representation of mobile terminal provided in an embodiment of the present invention;
Fig. 3 is the structural representation of data switching module provided in an embodiment of the present invention;
Fig. 4 is the structured flowchart of the test system of mobile terminal provided in an embodiment of the present invention;
Fig. 5 is another structured flowchart of the test system of mobile terminal provided in an embodiment of the present invention;
Fig. 6 is the flow chart of the method for testing of mobile terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Ground describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Generally exist The component of the embodiment of the present invention described and illustrated in accompanying drawing can be configured to arrange and design with a variety of herein.Cause This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
Scene electric current intuitively can not be accurately analyzed for existing mobile terminal test method, is unfavorable for scene power consumption The problem of being analyzed, the embodiments of the invention provide the test system and method for testing of a kind of mobile terminal, mobile terminal.With Under first to the present invention mobile terminal describe in detail.
Embodiment one
A kind of mobile terminal is present embodiments provided, as depicted in figs. 1 and 2, the mobile terminal is outer including what is be sequentially connected Wiring module 11, data switching module 12 and sample circuit 13.Sample circuit 13 is connected with the battery drain loop of mobile terminal, To carry out electrical parameter collection, including collection current value or magnitude of voltage to battery drain loop.External wire module 11 is used for for testing Line 2 or data wire access mobile terminal.Data switching module 12 is used for when external 11 connecting test line of wire module, connects sampling Circuit 13.
Wherein, p-wire 2 uses when testing the scene power consumption of mobile terminal, is mainly used in gather sample circuit 13 Electrical parameter is transmitted to external equipment.Data wire is mainly used in entering row data communication between mobile terminal and external equipment, can also It is that the battery of mobile terminal charges for obtaining electric energy from external equipment.Data wire can be understood as conventional USB line.
The mobile terminal of the present embodiment is in connecting test line, the battery drain of the mobile terminal gathered by sample circuit The electrical parameter in loop, and exported the electrical parameter by external wire module and p-wire can root to external equipment, external equipment Power consumption of mobile terminal etc. is analyzed according to practical application scene.Which, can be with automatic start data in application process Gatherer process, and without destroying the complete machine environment of mobile terminal, improve the convenience of electrical parameter collection.The electricity ginseng of collection simultaneously The number scene current with mobile terminal is combined closely, and improves the accuracy of electrical parameter.
In one more preferably embodiment, sample circuit 13 can be current sampling circuit, be returned for gathering battery drain Current value in road.Specifically, current sampling circuit can use the circuit of image current source structure, can also use other electricity Line structure, such as current sampling circuit include:The Hall current sensor and and Hall current being serially connected in battery drain loop The current regulating circuit of sensor connection.Wherein, current regulating circuit can use conventional current regulating circuit, to Hall electricity The electric current that flow sensor senses is exported to external wire module after being sampled by data switching module.
In another more preferably embodiment, as shown in Fig. 2 sample circuit 13 can include sampling resistor 131 and voltage Sample circuit 132.Sampling resistor 131 is connected between the battery 10 in battery drain loop and battery connector 14.Voltage is adopted Sample circuit 132 connects the both ends of sampling resistor respectively, for obtaining the magnitude of voltage at the both ends of sampling resistor 131 respectively, wherein, Fig. 2 Middle test point A magnitude of voltage is the magnitude of voltage of battery 10, and the magnitude of voltage measured is exported to external connection by data switching module Module, so that external wire module transmits magnitude of voltage to external equipment by p-wire.External equipment is according to the two of sampling resistor The magnitude of voltage at end and the resistance of sampling resistor, the current value in battery drain loop can be calculated, by obtained current value and Battery power consumption data of the test point A magnitude of voltage as mobile terminal, so as to obtain mobile terminal in a certain application scenarios Under scene electric current and battery power consumption.
Wherein, battery 10 is the power supply of mobile terminal, passes through battery connector 14 and all parts of mobile terminal Connection, it is that each part of mobile terminal is powered.
Voltage sampling circuit includes differential ratio circuit, low-pass filter circuit and voltage follower circuit, or two Wire.
Certainly, sample circuit 13 can include above-mentioned current sampling circuit, sampling resistor and voltage sampling circuit simultaneously, lead to Overcurrent sample circuit obtains the current value in battery drain loop, and battery 10 and sampling resistor are obtained by voltage sampling circuit The magnitude of voltage of test point A between 131, so as to the battery power consumption by the way that mobile terminal is calculated.
External wire module 11 includes external interface 111 and the identifier 112 being connected with external interface 111.External interface 111 Can be the USB tail sockets of mobile terminal.Identifier 112 is used for the voltage for identifying external interface, according to the magnitude of voltage identified Determine external interface whether connecting test line, if it is, to data switching module 12 send first specify signal.Data switch mould Block 12 is after the first specified signal is received, and determine the external connection of wire module 12 is p-wire 2, so as to connect sample circuit 13 With the connection of external interface 111.
When identifier 112 identifies that external interface 111 connects data wire, send second to data switching module 12 and specify Signal.After data switching module 12 receives the second specified signal, the data path 15 and external interface 111 of mobile terminal are connected Connection.
Data switching module 12 can use switching switch to realize, when switching switch to the left, connect sample circuit 13 With the connection of external interface 111;When switching switchs to the right, the connection of data path 15 and external interface 111 is connected.
The structural representation of data switching module as shown in Figure 3, above-mentioned data switching module 12 include:With external connection mould The first interface that block 11 connects, the second interface being connected with sample circuit 13, and the 3rd interface being connected with data path 15; Wherein, the number of pins of second interface determines according to the concrete structure of sample circuit, can be two pins or more draw Pin.The number of pins of 3rd interface is according to the actual circuit structure determination of the data path and charging circuit of mobile terminal, this hair It is bright to this without limit.
Data path 15 can be data/address bus, for mobile terminal processor, memory and external interface it Between establish data path.
Because data wire generally comprises four power line, two data wires and signal ground wires, power line can be from external Equipment obtains 5V voltage, and the not no voltage of p-wire, and therefore, identifier can be by identifying the voltage of external interface, really Whether determine to be connected with external interface is p-wire.Identifier can use conventional voltage sampling circuit to realize.
It is appreciated that external wire module 11 can also include two external interfaces, and it is not provided with identifier.Wherein, one External interface is exclusively used in connecting test line, and another external interface is exclusively used in connecting data wire, and based on this, two external interfaces divide It is not connected with above-mentioned data switching module 12.
Above-mentioned mobile terminal can be smart mobile phone, E-book reader, pocket computer on knee, vehicle-mounted computer, intelligence Energy wearable device etc..By taking smart mobile phone as an example, the mobile terminal is except that including foregoing circuit or module, can also include radio frequency electrical The parts such as road, memory, input block, display unit, sensor, voicefrequency circuit and processor.
Radio circuit can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by under base station After row information receives, processor processing is given;In addition, it is sent to base station by up data are designed.
Memory can be used for storage software program and module, and processor is stored in the software program of memory by operation And module, so as to perform the various function application of mobile terminal and data processing.Memory can include depositing at random at a high speed Access to memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or other are easy The property lost solid-state memory.
Input block can be used for the numeral or character information for receiving input, and produce with the user of mobile terminal set with And the key signals input that function control is relevant.Specifically, input block may include contact panel and other input equipments.Touch-control Panel, also referred to as touch-screen, collecting touch operation of the user on or near it, (for example user is appointed using finger, stylus etc. What operation of suitable object or annex on contact panel or near contact panel), and driven according to formula set in advance Move corresponding attachment means.Optionally, contact panel may include both touch detecting apparatus and touch controller.Wherein, Touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch control Device;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor, And the order sent of reception processing device and it can be performed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray and surface The polytypes such as sound wave realize contact panel.
Display unit can be used for display by user input information or be supplied to user information and mobile terminal it is each Kind menu.Display unit may include display panel, optionally, can use the forms such as liquid crystal display, Organic Light Emitting Diode To configure display panel.Further, contact panel can cover display panel, when contact panel is detected on or near it After touch operation, processor is sent to determine the type of touch event, is followed by subsequent processing device and is done according to the type of touch event and is located Reason.
Mobile terminal may also include at least one sensor, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel, proximity transducer can when mobile terminal is moved in one's ear, close display panel and/ Or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (generally three axles) acceleration Size, size and the direction of gravity are can detect that when static, (for example horizontal/vertical screen is cut available for the application of identification mobile terminal posture Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;As for mobile terminal The other sensors such as the gyroscope that can also configure, barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Voicefrequency circuit, loudspeaker, microphone can provide the COBBAIF between user and mobile terminal.Voicefrequency circuit can incite somebody to action Electric signal after the voice data conversion received, is transferred to loudspeaker, and voice signal output is converted to by loudspeaker;The opposing party The voice signal of collection is converted to electric signal by face, microphone, is converted to voice data after being received by voicefrequency circuit, then by audio After the processing of data output processing device, through radio circuit to be sent to such as another mobile terminal, or by voice data export to Memory is further to handle.
Processor is the control centre of mobile terminal, utilizes each portion of various interfaces and the whole mobile terminal of connection Point, by running or performing the software program and/or module that are stored in memory, and call the number being stored in memory According to the various functions and processing data of mobile terminal being performed, so as to carry out integral monitoring to mobile terminal.
The mobile terminal that the present embodiment provides, the electricity in the battery drain loop of the mobile terminal of sample circuit collection is joined Number, is exported to external equipment by external wire module and p-wire, passes through reality of the external equipment to mobile terminal under each scene When power consumption analyzed, do not destroy the complete machine environment of mobile terminal, the actual scene power consumption of mobile terminal do not influenceed, so as to improve The accuracy of mobile terminal electricity consumption data collection, and the field scene for being easy to retain mobile terminal is analyzed problem.
Embodiment two
Present embodiments provide a kind of test system of mobile terminal, as shown in Figure 4 and Figure 5, the test system include according to The mobile terminal 1 of secondary connection, p-wire 2, sampling computing module 31 and display device 32.
Mobile terminal 1 can use the mobile terminal described in above-described embodiment one, and its concrete structure will not be repeated here.
P-wire 2 is provided at both ends with connecting interface, is respectively used to connect mobile terminal 2 and samples computing module 31.Test Line 2 transmits the electrical parameter of the battery drain of mobile terminal 1 to sampling computing module 31.
It is the external equipment described in above-described embodiment to sample computing module 31, for receiving the electricity of the output of p-wire 2 Parameter, the power consumption data of the battery of mobile terminal 1 is determined according to the electrical parameter received.It can be monolithic to sample computing module 31 Machine or microprocessor.
Sampling computing module 31 is additionally operable to:When the electrical parameter received includes adopting between battery and battery connector During the magnitude of voltage at sample resistance both ends, the current data of battery is calculated, the current data is the current value in battery drain loop;Will Power consumption data of the magnitude of voltage as battery of the current data and sampling resistor close to battery one end.
Display device 32 is used for the power consumption data that battery is obtained from sampling computing module 31, shows the power consumption data of battery.
In the test system shown in Fig. 4, sample computing module 31 and display device 32 is independently arranged.Certainly, sampling meter Calculating module 31 and display device 32 can also be arranged in same device, for example, in the test system shown in Fig. 5, sampling meter Calculate module 31 and display device 32 may be contained within same host computer 3.The host computer 3 can be that computer or mobile phone test are used Main frame, mobile phone test software is provided with the host computer 3, and sampling computing module 31 can be calculated by mobile phone test software To the real-time power consumption data of battery of mobile phone, and shown on output to display device 32, facilitate user intuitively to observe mobile phone each The real time power consumption of Run-time scenario, it is easy to analyze scene power consumption data in real time.
Said system also includes can be with device for testing temperature rise, for gathering the temperature data of the mobile terminal, by temperature number According to transmitting to display device;
Above-mentioned display device is additionally operable to the reception time of the power consumption data according to temperature data Yu the battery, sets temperature The corresponding relation of data and the power consumption data of battery, and according to the corresponding relation, the power consumption figure of displays temperature data and battery According to.The display mode of data can be figure shows, such as block diagram;The display mode of data can also be form.
The test system for the mobile terminal that the present embodiment provides, the battery drain of the mobile terminal of sample circuit collection is returned The electrical parameter on road, exported by external wire module and p-wire to host computer, by host computer to mobile terminal under each scene Real time power consumption analyzed, do not destroy the complete machine environment of mobile terminal, do not influence the actual scene power consumption of mobile terminal, so as to The accuracy of mobile terminal electricity consumption data collection is improved, and the field scene for being easy to retain mobile terminal is divided problem Analysis.
Embodiment three
A kind of method of testing of mobile terminal is present embodiments provided, applied to the mobile end described in above-described embodiment one End, as shown in fig. 6, methods described includes:
Step S601, when identifying that mobile terminal is connected with p-wire, connect sample circuit;It ought identify mobile whole When being connected with p-wire on the external interface at end, the connection of sample circuit and external interface is connected;
Step S602, electrical parameter collection is carried out to the battery drain loop of mobile terminal by sample circuit;
Step S603, the electrical parameter collected is exported to external equipment by p-wire.
Below for an application example, illustrate using mobile terminal test system provided in an embodiment of the present invention and method of testing The process tested mobile phone.
When mobile phone normal operation, external interface connection data wire, row data communication is entered by data wire and external equipment. When carrying out complete machine temperature rise test to mobile phone, if test is warm to some Run-time scenario (scene such as played by WiFi) The abnormal rise of degree, it is necessary to test the power consumption of battery of mobile phone under the Run-time scenario.Mobile phone is connected by p-wire to calculate with sampling Module or host computer, when p-wire is connected on the external interface of mobile phone, data switching module connect sample circuit with it is external The connection of wire module, the electrical parameter in the battery drain loop of mobile phone is transmitted to sampling computing module, sampling computing module and passed through The real-time power consumption data of battery of mobile phone is calculated, and real-time display is carried out on output to display device, does not influence scene power consumption, Improve the obtained accuracy of battery drain data.Meanwhile the test process avoids and tears machine test scene electric current open, does not destroy Complete machine environment, complete machine temperature rise test is not influenceed, can be while testing temperature rise, real-time record scene power consumption, contributes to asking on one side Topic is positioned and analyzed.
Certainly, mobile terminal test system and the method for testing processing that the embodiment of the present invention is provided can be tested in temperature rise When use outside, other occasions applicatory can also be applied to.It is for instance possible to use the test system and method for testing monitoring The power consumption of a game, unit interval in the game play or the power consumption in setting duration can be recorded, or, record should Power consumption during the entire process of game running.Host computer with automatic identification and can record the current Run-time scenario of mobile phone and the scene Corresponding battery power consumption, it is easy to analyze scene power consumption.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight Point explanation is all difference with other embodiment, between each embodiment identical similar part mutually referring to.
The test system and method for testing for the mobile terminal that the embodiment of the present invention is provided, its realization principle and caused skill Art effect and previous embodiment one are identical, and to briefly describe, embodiment two and embodiment three do not refer to part, refer to foregoing reality Apply the corresponding contents in example one.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, can also pass through Other modes are realized.Device embodiment described above is only schematical, for example, flow chart and block diagram in accompanying drawing Show the device of multiple embodiments according to the present invention, method and computer program product architectural framework in the cards, Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of a module, program segment or code Part, a part for the module, program segment or code include one or more and are used to realize holding for defined logic function Row instruction.It should also be noted that at some as in the implementation replaced, the function that is marked in square frame can also with different from The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially perform substantially in parallel, they are sometimes It can perform in the opposite order, this is depending on involved function.It is it is also noted that every in block diagram and/or flow chart The combination of individual square frame and block diagram and/or the square frame in flow chart, function or the special base of action as defined in performing can be used Realize, or can be realized with the combination of specialized hardware and computer instruction in the system of hardware.
In addition, each functional module or unit in each embodiment of the present invention can integrate and to form an independence Part or modules individualism, can also two or more modules be integrated to form an independent portion Point.
If the function is realized in the form of software function module and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access Memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation In any this actual relation or order, can not be interpreted as indicating or implying relative importance.Moreover, term " bag Include ", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion so that the mistake including a series of elements Journey, method, article or equipment not only include those key elements, but also the other element including being not expressly set out, either Also include for this process, method, article or the intrinsic key element of equipment.In the absence of more restrictions, by sentence The key element that "including a ..." limits, it is not excluded that also deposited in the process including the key element, method, article or equipment In other identical element.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.It should be noted that:Similar label and letter exists Similar terms is represented in following accompanying drawing, therefore, once being defined in a certain Xiang Yi accompanying drawing, is then not required in subsequent accompanying drawing It is further defined and explained.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (10)

  1. A kind of 1. mobile terminal, it is characterised in that including:External wire module, data switching module and the sampling electricity being sequentially connected Road;
    The external wire module is used to access the mobile terminal for p-wire or data wire;
    The data switching module is used to, when the external wire module connects the p-wire, connect the sample circuit;
    The sample circuit is connected with the battery drain loop of the mobile terminal, to carry out electric ginseng to the battery drain loop Number collection, passes through the data switching module, the external wire module and the test successively by the electrical parameter collected Line is exported to external equipment.
  2. 2. mobile terminal according to claim 1, it is characterised in that the external wire module includes:External interface and with The identifier of the external interface connection;
    The identifier is used for the voltage for identifying the external interface, determines that the external interface is according to the magnitude of voltage identified The no connection p-wire, if it is, sending first to the data switching module specifies signal;
    The data switching module is additionally operable to after receiving the described first specified signal, is determined described in the external wire module connection P-wire.
  3. 3. mobile terminal according to claim 2, it is characterised in that the identifier is additionally operable to identify described external connect When mouth connects the data wire, send second to the data switching module and specify signal;
    The data switching module is additionally operable to after receiving the described second specified signal, and the data for switching to the mobile terminal are led to Road.
  4. 4. mobile terminal according to claim 2, it is characterised in that the external interface is the USB of the mobile terminal Tail socket.
  5. 5. mobile terminal according to claim 1, it is characterised in that the sample circuit includes sampling resistor and voltage is adopted Sample circuit;
    The sampling resistor is connected between the battery and battery connector in the battery drain loop;
    The voltage sampling circuit connects the both ends of the sampling resistor respectively, for obtaining the sampling resistor both ends respectively Electrical parameter, the electrical parameter include magnitude of voltage.
  6. A kind of 6. test system of mobile terminal, it is characterised in that including:Mobile terminal described in claim any one of 1-5, The sampling computing module for also include p-wire, being connected with the p-wire;
    The sampling computing module is used for the electrical parameter for receiving the p-wire output, and the battery is determined according to the electrical parameter Power consumption data.
  7. 7. test system according to claim 6, it is characterised in that the sampling computing module is additionally operable to:
    When the electrical parameter received includes the voltage at the sampling resistor both ends between the battery and battery connector During value, the current data of the battery is calculated;
    By the current data, and the sampling resistor is close to the power consumption of the magnitude of voltage as the battery of described battery one end Data.
  8. 8. test system according to claim 6, it is characterised in that the system also includes:
    The display device being connected with the sampling computing module, for obtaining the power consumption of the battery from the sampling computing module Data, show the power consumption data of the battery.
  9. 9. test system according to claim 8, it is characterised in that the system also includes device for testing temperature rise, is used for The temperature data of the mobile terminal is gathered, the temperature data is transmitted to the display device;
    The display device is additionally operable to the reception time of the power consumption data according to the temperature data Yu the battery, described in setting Temperature data and the corresponding relation of the power consumption data of the battery, and according to the corresponding relation, show the temperature data With the power consumption data of the battery.
  10. 10. a kind of method of testing of mobile terminal, it is characterised in that applied to movement according to any one of claims 1 to 5 Terminal, methods described include:
    When identifying that the mobile terminal is connected with p-wire, the sample circuit is connected;
    Electrical parameter collection is carried out to the battery drain loop of the mobile terminal by the sample circuit;
    The electrical parameter collected is exported to external equipment by the p-wire.
CN201710817530.9A 2017-09-08 2017-09-08 Mobile terminal, test system and test method of mobile terminal Active CN107632266B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710817530.9A CN107632266B (en) 2017-09-08 2017-09-08 Mobile terminal, test system and test method of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710817530.9A CN107632266B (en) 2017-09-08 2017-09-08 Mobile terminal, test system and test method of mobile terminal

Publications (2)

Publication Number Publication Date
CN107632266A true CN107632266A (en) 2018-01-26
CN107632266B CN107632266B (en) 2020-10-09

Family

ID=61100338

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710817530.9A Active CN107632266B (en) 2017-09-08 2017-09-08 Mobile terminal, test system and test method of mobile terminal

Country Status (1)

Country Link
CN (1) CN107632266B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116413632A (en) * 2023-06-12 2023-07-11 荣耀终端有限公司 Leakage current testing device and leakage current testing method

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6316913B1 (en) * 2000-04-26 2001-11-13 Subhas C. Chalasani Low dissipation system and method for determining battery capacity and battery plant incorporating the same
CN1749925A (en) * 2004-09-14 2006-03-22 乐金电子(中国)研究开发中心有限公司 Mobile communication terminal with general serial bus port and driving method
KR20060091269A (en) * 2005-02-14 2006-08-18 가부시키가이샤 덴소 Method and apparatus for detecting charged state of secondary battery based on neural network calculation
CN102098392A (en) * 2011-01-25 2011-06-15 中兴通讯股份有限公司 Energy-saving device and method for portable terminal
CN102521107A (en) * 2011-12-13 2012-06-27 惠州Tcl移动通信有限公司 Mobile terminal and power consumption information display method and device thereof
CN103186483A (en) * 2011-12-27 2013-07-03 比亚迪股份有限公司 Terminal, and OTG (On-The-Go) function-charging function paralleled execution method used for same
CN103344863A (en) * 2013-07-15 2013-10-09 惠州Tcl移动通信有限公司 Mobile terminal testing method and mobile terminal testing system
US20140225621A1 (en) * 2011-10-13 2014-08-14 Toyota Jidosha Kabushiki Kaisha Control device and control method for secondary battery
US8880367B1 (en) * 2011-11-10 2014-11-04 Energy Pass Incorporation Method for accurately performing power estimation on a battery of an electronic device, and associated apparatus
CN104569673A (en) * 2014-12-30 2015-04-29 广东欧珀移动通信有限公司 Test circuit, method and device
CN105187608A (en) * 2014-06-17 2015-12-23 腾讯科技(深圳)有限公司 Method and device obtaining power consumption of application program in mobile terminal
CN105403764A (en) * 2015-11-04 2016-03-16 上海斐讯数据通信技术有限公司 Mobile terminal power consumption test system and method
CN105812250A (en) * 2016-05-11 2016-07-27 北京奇虎科技有限公司 Control method and device for pushing message to wearable device and mobile terminal
JP2016223797A (en) * 2015-05-27 2016-12-28 株式会社マキタ Battery disconnection detector, charging device, and battery pack
CN106771562A (en) * 2017-02-23 2017-05-31 上海与德信息技术有限公司 The power consumption test method and device of a kind of terminal

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6316913B1 (en) * 2000-04-26 2001-11-13 Subhas C. Chalasani Low dissipation system and method for determining battery capacity and battery plant incorporating the same
CN1749925A (en) * 2004-09-14 2006-03-22 乐金电子(中国)研究开发中心有限公司 Mobile communication terminal with general serial bus port and driving method
KR20060091269A (en) * 2005-02-14 2006-08-18 가부시키가이샤 덴소 Method and apparatus for detecting charged state of secondary battery based on neural network calculation
CN102098392A (en) * 2011-01-25 2011-06-15 中兴通讯股份有限公司 Energy-saving device and method for portable terminal
US20140225621A1 (en) * 2011-10-13 2014-08-14 Toyota Jidosha Kabushiki Kaisha Control device and control method for secondary battery
US8880367B1 (en) * 2011-11-10 2014-11-04 Energy Pass Incorporation Method for accurately performing power estimation on a battery of an electronic device, and associated apparatus
CN102521107A (en) * 2011-12-13 2012-06-27 惠州Tcl移动通信有限公司 Mobile terminal and power consumption information display method and device thereof
CN103186483A (en) * 2011-12-27 2013-07-03 比亚迪股份有限公司 Terminal, and OTG (On-The-Go) function-charging function paralleled execution method used for same
CN103344863A (en) * 2013-07-15 2013-10-09 惠州Tcl移动通信有限公司 Mobile terminal testing method and mobile terminal testing system
CN105187608A (en) * 2014-06-17 2015-12-23 腾讯科技(深圳)有限公司 Method and device obtaining power consumption of application program in mobile terminal
CN104569673A (en) * 2014-12-30 2015-04-29 广东欧珀移动通信有限公司 Test circuit, method and device
JP2016223797A (en) * 2015-05-27 2016-12-28 株式会社マキタ Battery disconnection detector, charging device, and battery pack
CN105403764A (en) * 2015-11-04 2016-03-16 上海斐讯数据通信技术有限公司 Mobile terminal power consumption test system and method
CN105812250A (en) * 2016-05-11 2016-07-27 北京奇虎科技有限公司 Control method and device for pushing message to wearable device and mobile terminal
CN106771562A (en) * 2017-02-23 2017-05-31 上海与德信息技术有限公司 The power consumption test method and device of a kind of terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王双星: "基于Android系统的能耗计算研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116413632A (en) * 2023-06-12 2023-07-11 荣耀终端有限公司 Leakage current testing device and leakage current testing method
CN116413632B (en) * 2023-06-12 2023-10-20 荣耀终端有限公司 Leakage current testing device and leakage current testing method

Also Published As

Publication number Publication date
CN107632266B (en) 2020-10-09

Similar Documents

Publication Publication Date Title
US20160305797A1 (en) Modular System Including Multiple Detachable Sensors
CN104170360A (en) Intelligent response method of user equipment, and user equipment
CN103218906B (en) To fall data collection and analysis platform
CN104919396B (en) Shaken hands in head mounted display using body
CN102973275B (en) Acquisition system and acquisition method of human motion state
CN107908551A (en) Terminal software test method, device, terminal and computer-readable storage medium
CN109753425A (en) Pop-up processing method and processing device
CN106463897A (en) Apparatus and method for preventing malfunction in an electronic device
CN104568227A (en) Circuit, method and device for detecting temperature sensing bulb
CN110456923A (en) A kind of posture sensing data processing method and electronic equipment
CN107632266A (en) The test system and method for testing of mobile terminal, mobile terminal
CN204964008U (en) A MEMS microphone that is used for multi -direction test high -speed railway noise
US20160056902A1 (en) Systems for module and modular mobile electronic device testing
CN113495609A (en) Sleep state judgment method and system, wearable device and storage medium
CN110069407A (en) A kind of function test method and device of application program
CN106197803A (en) Fall acquisition method and the terminal unit of data
CN105893203A (en) CEC verification method and device
CN109860743A (en) A kind of charging method and terminal device
CN112771893A (en) 3D sound effect implementation method and device, storage medium and electronic equipment
CN108255632A (en) Method for computing data and Related product are fallen based on artificial intelligence
CN115328770A (en) Application program testing method and device, electronic equipment and storage medium
CN108200290A (en) Electronic device falls damage bad determinations method and Related product
CN110787424A (en) Anti-cheating pull-up intelligent test system and method
CN105868063A (en) Method, system and apparatus for writing functional detection result and mobile terminal
CN204481986U (en) The automatic creation system of television set running background information

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