CN105846263B - A kind of charging measurement method and system of mobile terminal - Google Patents

A kind of charging measurement method and system of mobile terminal Download PDF

Info

Publication number
CN105846263B
CN105846263B CN201610172304.5A CN201610172304A CN105846263B CN 105846263 B CN105846263 B CN 105846263B CN 201610172304 A CN201610172304 A CN 201610172304A CN 105846263 B CN105846263 B CN 105846263B
Authority
CN
China
Prior art keywords
mobile terminal
measured
usb
test result
control device
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.)
Expired - Fee Related
Application number
CN201610172304.5A
Other languages
Chinese (zh)
Other versions
CN105846263A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610172304.5A priority Critical patent/CN105846263B/en
Publication of CN105846263A publication Critical patent/CN105846263A/en
Application granted granted Critical
Publication of CN105846263B publication Critical patent/CN105846263B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R31/00Coupling parts supported only by co-operation with counterpart
    • H01R31/06Intermediate parts for linking two coupling parts, e.g. adapter
    • H01R31/065Intermediate parts for linking two coupling parts, e.g. adapter with built-in electric apparatus
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/70Structural association with built-in electrical component with built-in switch
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R29/00Coupling parts for selective co-operation with a counterpart in different ways to establish different circuits, e.g. for voltage selection, for series-parallel selection, programmable connectors
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R2201/00Connectors or connections adapted for particular applications
    • H01R2201/20Connectors or connections adapted for particular applications for testing or measuring purposes

Abstract

The embodiment of the invention discloses a kind of USB patchcords, the charging measurement method and system of mobile terminal.This method includes:Control device, charging measurement equipment and mobile terminal to be measured are based on USB patchcords provided in an embodiment of the present invention and establish connection, during charging measurement, USB patchcords make the power positive end of the USB port of mobile terminal to be measured be connected with the positive source of the output port of power source of charging measurement equipment, the interconnection of both ground terminals;When test result information is sent to mobile terminal to be measured by control device, USB patchcords make to realize communication between the USB port of mobile terminal to be measured and the USB port of control device, mobile terminal to be measured is write the result into flag bit.By using above-mentioned technical proposal, in the case where mobile terminal is integrated with current sense function chip, the charge function of mobile terminal can be tested and test result is write into mobile terminal, testing efficiency can be effectively improved.

Description

A kind of charging measurement method and system of mobile terminal
Technical field
The present embodiments relate to mobile terminal test technical field, more particularly to a kind of charging measurement side of mobile terminal Method and system.
Background technology
With the popularization of mobile terminal, many mobile terminals turn into the indispensable instrument that people work and lived.In movement It is required to carry out various functions test in the research and development of terminal and production process, wherein, the charge function of mobile terminal is tested It is essential link.
At present, be to the charging measurement of mobile terminal can by it is integrated on mobile terminals carry current sense function Chip complete, mobile terminal preserves the method for test result typically by reading said chip inside mobile terminal The test result of feedback is simultaneously write in flag bit.However, the chip with current sense function is substantially more expensive, and test Process is typically to research and develop and completed in production process, and after mobile terminal dispatches from the factory, user to mobile terminal without carrying out again Charging measurement, so the higher chip with current sense function of cost is not necessarily to for a user.In order to save The about manufacturing cost of mobile terminal, producer wish the low side chip for using cost lower without current sense function more. Using, it is necessary to completed by charging measurement equipment, also, mobile terminal can not directly read survey from inside again after low side chip Test result, moved so how to be tested using charging measurement equipment the charge function of mobile terminal and write test result The problem of flag bit of dynamic terminal turns into a urgent need to resolve.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of charging measurement method and system of mobile terminal, with mobile terminal Do not integrate in the case of carrying current sense function chip, the charge function of mobile terminal is tested and writes test result Enter mobile terminal.
In a first aspect, the embodiments of the invention provide a kind of charging measurement method of mobile terminal, including:
Charging measurement equipment is powered to mobile terminal to be measured, gathers the charge data of the mobile terminal to be measured, and The charge data is sent to control device, wherein, the control device, the charging measurement equipment and the movement to be measured Terminal is based on general-purpose serial bus USB patchcord and establishes connection;The USB patchcords include the first USB plug, power supply output is inserted Head, the second USB plug and change-over switch;First USB plug, for being connected with the USB port of mobile terminal to be measured;It is described Power output plug, for being connected with the output port of power source of charging measurement equipment;Second USB plug, for control The USB port connection of equipment;The change-over switch includes first end and the second end, the first end and first USB plug It is fixedly connected;When the change-over switch is in first state, second end is connected with the power output plug, and makes institute State power positive end, data anode, data negative terminal and the ground terminal of the first USB plug and the positive source of the power output plug End, the first idle end, the second idle end and ground terminal connect one to one, wherein, the first idle end and second free time Short circuit is held, so that the charging measurement equipment is powered to the mobile terminal to be measured, and gathers the mobile terminal to be measured Charge data;When the change-over switch is in the second state, second end is connected with second USB plug, and is made Power positive end, data anode, data negative terminal and the ground terminal of first USB plug and the power supply of second USB plug are just Extremely, data anode, data negative terminal and ground terminal connect one to one, so that the control device enters with the mobile terminal to be measured Row communication, and test result is sent to the mobile terminal to be measured;The change-over switch of the USB patchcords is surveyed in the charging Examination equipment is powered to mobile terminal to be measured and is in first during gathering the charge data of the mobile terminal to be measured State;
The control device determines test result information according to the charge data, and the test result information is sent To the mobile terminal to be measured, wherein, the change-over switch of the USB patchcords believes the test result in the control device Breath is in the second state during sending to the mobile terminal to be measured;
The mobile terminal to be measured is marked according to corresponding to the test result information received determines the test result information Will place value, and identified mark place value is write into test result flag bit.
Second aspect, the embodiments of the invention provide a kind of charging measurement system of mobile terminal, including:Control device, USB patchcords, charging measurement equipment and mobile terminal to be measured provided in an embodiment of the present invention;The control device, the charging Test equipment and the mobile terminal to be measured are based on the USB patchcords and establish connection;
The USB patchcords include the first USB plug, power output plug, the second USB plug and change-over switch;It is described First USB plug, for being connected with the USB port of mobile terminal to be measured;The power output plug, for being set with charging measurement Standby output port of power source connection;Second USB plug, is connected for the USB port with control device;The change-over switch Including first end and the second end, the first end is fixedly connected with first USB plug;When the change-over switch is in first During state, second end is connected with the power output plug, and makes the power positive end of first USB plug, data Anode, data negative terminal and ground terminal and power positive end, the first idle end, the second idle end and the ground terminal of the power output plug Connect one to one, wherein, the first idle end and the second idle end short circuit, so that the charging measurement equipment is to institute State mobile terminal to be measured to be powered, and gather the charge data of the mobile terminal to be measured;When the change-over switch is in the During two-state, second end is connected with second USB plug, and makes the power positive end of first USB plug, data Anode, data negative terminal and ground terminal and power positive end, data anode, data negative terminal and the ground terminal of second USB plug are one by one Corresponding connection, so that the control device is communicated with the mobile terminal to be measured, and test result is sent to described and treated Survey mobile terminal;
The charging measurement equipment, for being powered to mobile terminal to be measured, gather filling for the mobile terminal to be measured Electric data, and the charge data is sent to control device, wherein, the change-over switch of the USB patchcords is in the charging Test equipment is powered to mobile terminal to be measured and gathered during the charge data of the mobile terminal to be measured in the One state;
The control device, for determining test result information according to the charge data, and the test result is believed Breath is sent to the mobile terminal to be measured, wherein, the change-over switches of the USB patchcords is in the control device by the test Object information is in the second state during sending to the mobile terminal to be measured;
The mobile terminal to be measured, for determining that the test result information is corresponding according to the test result information received Mark place value, and by it is identified mark place value write-in test result flag bit.
The charging measurement scheme of the mobile terminal provided in the embodiment of the present invention, control device, charging measurement equipment and is treated Survey mobile terminal and be based on USB patchcords provided in an embodiment of the present invention foundation connection, when charging measurement equipment is needed for shifting to be measured During dynamic terminal power supply, the change-over switch of USB patchcords can be made to be in first state, realize the USB port of mobile terminal to be measured Power positive end is connected with the positive source of the output port of power source of charging measurement equipment, and the USB port of mobile terminal to be measured Ground terminal be connected with the ground terminal of the output port of power source of charging measurement equipment;When charging measurement equipment completes the collection of charge data Afterwards, charge data is sent to control device, now control device needs the test result information analyzed being sent to be measured Mobile terminal, the change-over switch of USB patchcords can be made to be in the second state, realize USB port and the control of mobile terminal to be measured The communication based on USB between the USB port of equipment, last mobile terminal to be measured determine according to the test result information received Corresponding mark place value, and write test result flag bit.By using above-mentioned technical proposal, do not integrate and carry in mobile terminal In the case of current sense function chip, the charge function of mobile terminal can be tested and be write test result mobile whole End, also, charging measurement and test result write-in realize that operating personnel can be easily by the USB port of mobile terminal Switch mobile terminal and charging measurement equipment and the connection between control device by switching the switching switch of USB patchcords Switching, can effectively improve testing efficiency.
Brief description of the drawings
Fig. 1 is a kind of structural representation for USB patchcords that the embodiment of the present invention one provides;
Fig. 2 is a kind of schematic flow sheet of the charging measurement method for mobile terminal that the embodiment of the present invention two provides;
Fig. 3 is a kind of structured flowchart of the charging measurement system for mobile terminal that the embodiment of the present invention three provides.
Embodiment
Further illustrate technical scheme below in conjunction with the accompanying drawings and by embodiment.It is appreciated that It is that specific embodiment described herein is used only for explaining the present invention, rather than limitation of the invention.Further need exist for illustrating , for the ease of description, part related to the present invention rather than entire infrastructure are illustrate only in accompanying drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing described as flow chart or method.Although each step is described as the processing of order, many of which by flow chart Step can be implemented concurrently, concomitantly or simultaneously.In addition, the order of each step can be rearranged.When its operation The processing can be terminated during completion, it is also possible to the additional step being not included in accompanying drawing.The processing can be with Corresponding to method, function, code, subroutine, subprogram etc..
Embodiment one
Fig. 1 is a kind of structural representation for USB patchcords that the embodiment of the present invention one provides, and the USB patchcords are used to move The charging measurement of dynamic terminal.As shown in figure 1, the USB patchcords include:First USB plug 10, power output plug 20, second USB plug 30 and change-over switch 40.
Wherein, the first USB plug 10 is used to be connected with the USB port of mobile terminal to be measured;Power output plug 20 is used for It is connected with the output port of power source of charging measurement equipment;Second USB plug 30 is used to be connected with the USB port of control device.
Change-over switch 40 includes the end 42 of first end 41 and second, and first end 41 is fixedly connected with the first USB plug 10;When turn Switch 40 is changed when being in first state, the second end 42 is connected with power output plug 20, and makes the power supply of the first USB plug 10 just Extremely the power supply of (VCC), data anode (Data+), data negative terminal (Data-) and ground terminal (GND) and power output plug 20 is being just Extremely (V), the first idle end (k1), the second idle end (k2) and ground terminal (GND) connect one to one, wherein, the first idle end (k1) and the second idle end (k2) short circuit, so that charging measurement equipment is powered to mobile terminal to be measured, and shifting to be measured is gathered The charge data of dynamic terminal;When change-over switch 40 is in the second state, the second end 42 is connected with the second USB plug 30, and is made Power positive end (VCC), data anode (Data+), data negative terminal (Data-) and the ground terminal (GND) of first USB plug 10 and the A pair of the power positive ends (VCC) of two USB plugs 30, data anode (Data+), data negative terminal (Data-) and ground terminal (GND) 1 It should connect, so that control device is communicated with mobile terminal to be measured, and test result be sent to mobile terminal to be measured.
More specifically, the number order one at four sub- ends at the number order at four sub- ends of first end 41 and the second end 42 Cause, and four sub- ends of first end 41 and four sub- ends at the second end 42 connect one to one.Press at four sub- ends of first end 41 Power positive end (VCC), data anode (Data+), data minus of the wire respectively with the first USB plug 10 are sequentially passed through according to numbering End (Data-) is fixedly connected with ground terminal (GND).When change-over switch 40 is in first state, four sub- ends at the second end 42 are pressed Power positive end (V) of the wire respectively with power output plug 20, the first idle end (k1), second idle is sequentially passed through according to numbering (k2) and ground terminal (GND) connection, the first idle end (k1) and the second idle end (k2) short circuit are held, so that charging measurement equipment is treated Survey mobile terminal to be powered, and gather the charge data of mobile terminal to be measured;When change-over switch 40 is in the second state, the Four sub- ends at two ends 42 sequentially pass through power positive end (VCC) of the wire respectively with the second USB plug 30, data according to numbering Anode (Data+), data negative terminal (Data-) and ground terminal (GND) connection, so that control device is led to mobile terminal to be measured Letter, and test result is sent to mobile terminal to be measured.
It is exemplary, the concretely equipment such as computer of control device described in the present embodiment;The mobile terminal is specific Can be the terminals such as mobile phone and tablet personal computer;The charging measurement equipment concretely programmable power supply.
Exemplary, the switching switch can be mechanical switch, and such as four double-pole double throw switches, operating personnel can be manually Operate to realize the switching of the working condition of switching switch, to change the different connected modes of USB patchcords, into different surveys The examination stage.
The USB patchcords that the embodiment of the present invention one provides, can be by control device, charging measurement equipment and mobile terminal to be measured Connection is established, when charging measurement equipment needs power for mobile terminal to be measured, the change-over switches of USB patchcords can be made in the One state, realize the power positive end and the electricity of the output port of power source of charging measurement equipment of the USB port of mobile terminal to be measured Source positive pole connection, and the ground terminal of the ground terminal of the USB port of mobile terminal to be measured and the output port of power source of charging measurement equipment connects Connect;After charging measurement equipment completes the collection of charge data, charge data is sent to control device, now control device need to The test result information analyzed is sent to mobile terminal to be measured, the change-over switch of USB patchcords can be made to be in the second shape State, the communication based on USB between the USB port of mobile terminal to be measured and the USB port of control device is realized, last shifting to be measured Dynamic terminal indicates place value according to corresponding to determining the test result information received, and writes test result flag bit.By adopting With above-mentioned technical proposal, in the case where mobile terminal is integrated with current sense function chip, mobile terminal can be filled Electricity Functional is tested and test result is write into mobile terminal, also, charging measurement and test result write-in pass through movement The USB port of terminal realizes that the switching that operating personnel can be easily by switching USB patchcords is switched to switch mobile terminal Connection with charging measurement equipment and control device switches, and can effectively improve testing efficiency.
Embodiment two
A kind of schematic flow sheet of the charging measurement method for mobile terminal that Fig. 2 provides for the embodiment of the present invention two, the party Method can be performed by the charging measurement system of mobile terminal, each equipment that can be specifically included by the charging measurement system of mobile terminal In integrate software and/or hardware realize.As shown in Fig. 2 this method includes:
Step 201, charging measurement equipment are powered to mobile terminal to be measured, gather the charging number of mobile terminal to be measured According to, and charge data is sent to control device.
Wherein, control device, charging measurement equipment and mobile terminal to be measured are turned based on the USB that the embodiment of the present invention is provided Connection is established in wiring, and the change-over switch of the USB patchcords is in first state.
It is exemplary, the concretely equipment such as computer of control device described in the present embodiment;The mobile terminal is specific Can be the terminals such as mobile phone and tablet personal computer;The charging measurement equipment concretely programmable power supply.
The model of charging measurement equipment is not especially limited in the present embodiment.Use can all be provided by being typically filled with electric test equipment In the port to be communicated with control device, such as general purpose interface bus (General-Purpose Interface Bus, GPIB) Port, USB port, RS-232 ports and LAN (Local Area Network, LAN) port etc., the present embodiment pair The communication mode of charging measurement equipment and control device is not especially limited.
Operating personnel can transfer USB after control device, charging measurement equipment are connected with mobile terminal to be measured The switching switch of line is placed in first state, now, power positive end and the charging measurement equipment of the USB port of mobile terminal to be measured Output port of power source positive source connection, and the electricity of the ground terminal of the USB port of mobile terminal to be measured and charging measurement equipment The ground terminal connection of source output terminal mouth, the data anode and data negative terminal short circuit of the USB port of mobile terminal to be measured.Operating personnel can By being operated on the control device or in charging measurement equipment, charging measurement equipment output voltage is controlled, is shifting to be measured Dynamic terminal power supply, the charge data of mobile terminal to be measured is gathered while power supply.The charge data specifically may include electric current The data such as data, voltage data and charging interval.Charging measurement equipment after the charge data of mobile terminal to be measured is collected, It is sent to control device.
Step 202, control device determine test result information according to charge data, and test result information is sent to treating Survey mobile terminal.
Wherein, the change-over switch of the USB patchcords is in the second state.
Exemplary, control device can analyze specific test result information according to the charge data received.Institute Stating test result information may include to be successfully tested information and test crash information.
Further, charge data includes charging current, and control device determines test result information according to charge data, can Including:Control device judges whether the charging current in the charge data is in preset charged current range, if so, then true Settled preceding test result information includes being successfully tested information;Otherwise, it determines current test result information includes test crash information. Wherein, preset charged current range is different because of concrete configuration and the model of mobile terminal to be measured, and specific scope the present embodiment is not made Limit.The determination mode of preset charged current range can have many kinds, such as, can be according to the standard charging of mobile terminal to be measured The percentage of electric current determines, such as the 40% to 100% of standard charging current.
Further, test crash information may also include Fail Type.It is exemplary, may during mobile terminal charging measurement The bad machine of various situations occurs, therefore test crash can be caused, Fail Type area can be analyzed according to charging current, so as to area Divide bad machine class and make prompting, facilitate producing line to judge.For example, the first, when charging current is always 0, is judged as charging Path is opened a way or contact is abnormal;Second, when charging current is more than 3.5A, it is judged as charging path short circuit (2A marks fill); The third, when charging current is consistently less than 500mA, is judged as recognizing non-standard battery charging.
, can be right after control device terminates to the receive process of charge data, or after test result information is analyzed Operating personnel are prompted, and the switching switch of USB patchcords can be switched to the second state by operating personnel.Now, movement to be measured Power positive end, data anode, data negative terminal and the ground terminal of the USB port of the terminal electricity with the USB port of control device successively Source positive terminal, data anode, data negative terminal connect with ground terminal, that is to say, that USB patchcords now are equivalent to one common USB data line, the communication based on USB between the USB port of mobile terminal to be measured and the USB port of control device can be achieved. Control device is sent test result information to mobile terminal to be measured based on USB connections.
Step 203, mobile terminal to be measured are marked according to corresponding to the test result information received determines test result information Will place value, and identified mark place value is write into test result flag bit.
It is exemplary, if test result information be divided into be successfully tested with two kinds of test crash, be successfully tested corresponding mark Place value is 1, and mark place value is 0 corresponding to test crash.The test result letter that mobile terminal to be measured receives at control device When ceasing to be successfully tested, then " 1 " is write into the test result flag bit for representing whether to be successfully tested;If the test received Object information is test crash, then " 0 " is write into the test result flag bit for representing whether to be successfully tested.It is appreciated that It is that default value may be provided with test result flag bit, when the mark place value that mobile terminal to be measured determines is consistent with default value When, it can re-write and also be not written into.
Exemplary, illustrate as described above, when charging measurement fails, there may be different Fail Types, it is to be measured mobile whole End can be determined according to the different test result informations received it is corresponding with Fail Type indicate place value, and will determined by Mark place value writes the test result flag bit for representing Fail Type.For example, the test result for representing Fail Type Flag bit has two, and " 01 " represents that Fail Type is the first, and " 10 " represent that Fail Type is second, and " 11 " represent failure class Type is the third.
The charging measurement method of mobile terminal provided in an embodiment of the present invention, do not integrated in mobile terminal and carry current detecting In the case of functional chip, the charge function of mobile terminal can be tested and test result is write into mobile terminal, also, Charging measurement and test result write-in realize that operating personnel can be conveniently by switching by the USB port of mobile terminal The switching switch of USB patchcords switches to switch mobile terminal and charging measurement equipment and the connection between control device, can Effectively improve testing efficiency.
USB provided in an embodiment of the present invention has been applied in the charging measurement method for the mobile terminal that above-described embodiment provides Patchcord, the ins and outs of detailed description not can be found in USB patchcords provided in an embodiment of the present invention in the above-described embodiments.
Embodiment three
Fig. 3 is a kind of structured flowchart of the charging measurement system for mobile terminal that the embodiment of the present invention three provides, such as Fig. 3 institutes Show, the system includes:USB patchcords 302, charging measurement equipment 303 described in control device 301, the embodiment of the present invention and treat Survey mobile terminal 304.
Wherein, the charging measurement equipment 303, for being powered to mobile terminal 304 to be measured, the shifting to be measured is gathered The charge data of dynamic terminal 304, and the charge data is sent to control device 301, wherein, the control device 301, institute State charging measurement equipment 303 and the mobile terminal to be measured 304 is based on the USB patchcords 302 and establishes connection, the USB turns The change-over switch of wiring 302 is in first state.The control device 301, for determining test knot according to the charge data Fruit information, and the test result information is sent to the mobile terminal 304 to be measured, wherein, the USB patchcords 302 Change-over switch is in the second state.The mobile terminal to be measured 304, described in being determined according to the test result information received Mark place value corresponding to test result information, and identified mark place value is write into test result flag bit.
The charging measurement system of mobile terminal provided in an embodiment of the present invention, do not integrated in mobile terminal and carry current detecting In the case of functional chip, the charge function of mobile terminal can be tested and test result is write into mobile terminal, also, Charging measurement and test result write-in realize that operating personnel can be conveniently by switching by the USB port of mobile terminal The switching switch of USB patchcords switches to switch mobile terminal and charging measurement equipment and the connection between control device, can Effectively improve testing efficiency.
On the basis of above-described embodiment, the charging measurement equipment can be programmable power supply.
On the basis of above-described embodiment, the test result information includes being successfully tested information and test crash information.
On the basis of above-described embodiment, the charge data includes charging current;
The control device is specifically used for:Judge whether the charging current in the charge data is in preset charged electric current In the range of, if, it is determined that current test result information includes being successfully tested information;Otherwise, it determines current test result information Including test crash information.
On the basis of above-described embodiment, the test crash information includes Fail Type.
The charging measurement system of the mobile terminal provided in above-described embodiment can perform the shifting that the embodiment of the present invention is provided The charging measurement method of dynamic terminal, possess and perform the corresponding functional module of this method and beneficial effect.Not in the above-described embodiments The ins and outs of detailed description, reference can be made to the charging measurement method for the mobile terminal that the embodiment of the present invention is provided.
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. a kind of charging measurement method of mobile terminal, it is characterised in that including:
Charging measurement equipment is powered to mobile terminal to be measured, gathers the charge data of the mobile terminal to be measured, and by institute Charge data is stated to send to control device, wherein, the control device, the charging measurement equipment and the mobile terminal to be measured Established and connected based on general-purpose serial bus USB patchcord;The USB patchcords include the first USB plug, power output plug, Second USB plug and change-over switch;First USB plug, for being connected with the USB port of mobile terminal to be measured;The electricity Source output plug, for being connected with the output port of power source of charging measurement equipment;Second USB plug, for being set with control Standby USB port connection;The change-over switch includes first end and the second end, and the first end is consolidated with first USB plug Fixed connection;When the change-over switch is in first state, second end is connected with the power output plug, and is made described Power positive end, data anode, data negative terminal and the ground terminal of first USB plug and the positive source of the power output plug End, the first idle end, the second idle end and ground terminal connect one to one, wherein, the first idle end and second free time Short circuit is held, so that the charging measurement equipment is powered to the mobile terminal to be measured, and gathers the mobile terminal to be measured Charge data;When the change-over switch is in the second state, second end is connected with second USB plug, and is made Power positive end, data anode, data negative terminal and the ground terminal of first USB plug and the power supply of second USB plug are just Extremely, data anode, data negative terminal and ground terminal connect one to one, so that the control device enters with the mobile terminal to be measured Row communication, and test result is sent to the mobile terminal to be measured;The change-over switch of the USB patchcords is surveyed in the charging Examination equipment is powered to mobile terminal to be measured and is in first during gathering the charge data of the mobile terminal to be measured State;
The control device determines test result information according to the charge data, and the test result information is sent to institute Mobile terminal to be measured is stated, wherein, the change-over switch of the USB patchcords sends out the test result information in the control device The second state is in during delivering to the mobile terminal to be measured;
The mobile terminal to be measured flag bit according to corresponding to the test result information received determines the test result information Value, and identified mark place value is write into test result flag bit.
2. according to the method for claim 1, it is characterised in that the charging measurement equipment is programmable power supply.
3. according to the method for claim 1, it is characterised in that the test result information includes being successfully tested information and survey Try failure information.
4. according to the method for claim 3, it is characterised in that the charge data includes charging current;
The control device determines test result information according to the charge data, including:
The control device judges whether the charging current in the charge data is in preset charged current range, if so, Then determine that current test result information includes being successfully tested information;Otherwise, it determines current test result information includes test crash Information.
5. the method according to claim 3 or 4, it is characterised in that the test crash information includes Fail Type.
A kind of 6. charging measurement system of mobile terminal, it is characterised in that including:Control device, general-purpose serial bus USB switching Line, charging measurement equipment and mobile terminal to be measured;The control device, the charging measurement equipment and the mobile terminal to be measured Established and connected based on the USB patchcords;
The USB patchcords include the first USB plug, power output plug, the second USB plug and change-over switch;Described first USB plug, for being connected with the USB port of mobile terminal to be measured;The power output plug, for charging measurement equipment Output port of power source connects;Second USB plug, is connected for the USB port with control device;The change-over switch includes First end and the second end, the first end are fixedly connected with first USB plug;When the change-over switch is in first state When, second end is connected with the power output plug, and make the power positive end of first USB plug, data anode, Data negative terminal and ground terminal and power positive end, the first idle end, the second idle end and the ground terminal of the power output plug are one by one Corresponding connection, wherein, the first idle end and the second idle end short circuit, so that the charging measurement equipment is treated to described Survey mobile terminal to be powered, and gather the charge data of the mobile terminal to be measured;When the change-over switch is in the second shape During state, second end is connected with second USB plug, and makes the power positive end of first USB plug, data just A pair of end, the power positive end of data negative terminal and ground terminal and second USB plug, data anode, data negative terminal and ground terminal 1 It should connect, so that the control device is communicated with the mobile terminal to be measured, and test result be sent to described to be measured Mobile terminal;
The charging measurement equipment, for being powered to mobile terminal to be measured, gather the charging number of the mobile terminal to be measured According to, and the charge data is sent to control device, wherein, the change-over switch of the USB patchcords is in the charging measurement Equipment is powered to mobile terminal to be measured and is in the first shape during gathering the charge data of the mobile terminal to be measured State;
The control device, for determining test result information according to the charge data, and the test result information is sent out The mobile terminal to be measured is delivered to, wherein, the change-over switches of the USB patchcords is in the control device by the test result Information is in the second state during sending to the mobile terminal to be measured;
The mobile terminal to be measured, for determining mark corresponding to the test result information according to the test result information received Know place value, and identified mark place value is write into test result flag bit.
7. system according to claim 6, it is characterised in that the charging measurement equipment is programmable power supply.
8. system according to claim 6, it is characterised in that the test result information includes being successfully tested information and survey Try failure information.
9. system according to claim 8, it is characterised in that the charge data includes charging current;
The control device is specifically used for:Judge whether the charging current in the charge data is in preset charged current range It is interior, if, it is determined that current test result information includes being successfully tested information;Otherwise, it determines current test result information includes Test crash information.
10. system according to claim 8 or claim 9, it is characterised in that the test crash information includes Fail Type.
CN201610172304.5A 2016-03-23 2016-03-23 A kind of charging measurement method and system of mobile terminal Expired - Fee Related CN105846263B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610172304.5A CN105846263B (en) 2016-03-23 2016-03-23 A kind of charging measurement method and system of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610172304.5A CN105846263B (en) 2016-03-23 2016-03-23 A kind of charging measurement method and system of mobile terminal

Publications (2)

Publication Number Publication Date
CN105846263A CN105846263A (en) 2016-08-10
CN105846263B true CN105846263B (en) 2018-02-02

Family

ID=56583140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610172304.5A Expired - Fee Related CN105846263B (en) 2016-03-23 2016-03-23 A kind of charging measurement method and system of mobile terminal

Country Status (1)

Country Link
CN (1) CN105846263B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109238468A (en) * 2018-07-27 2019-01-18 上海与德通讯技术有限公司 Temperature rise automatic test device and method
CN111598589A (en) * 2020-05-20 2020-08-28 闻泰通讯股份有限公司 Electronic equipment detection method and device, storage medium and electronic equipment
CN113267736B (en) * 2021-05-31 2022-04-12 荣耀终端有限公司 Charging test device and method
CN113917274A (en) * 2021-10-25 2022-01-11 展讯通信(上海)有限公司 Charging test board and charging test system
CN115622177B (en) * 2022-09-30 2023-10-27 荣耀终端有限公司 Charging method, mobile terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202159328U (en) * 2011-06-30 2012-03-07 鸿富锦精密工业(深圳)有限公司 USB (universal serial bus) port test device
CN102590609A (en) * 2012-02-16 2012-07-18 惠州Tcl移动通信有限公司 Mobile terminal and method for measuring power consumption of mobile terminal
CN103312852A (en) * 2013-06-07 2013-09-18 广东欧珀移动通信有限公司 Automatic mobile terminal current testing device and testing method thereof
CN105226741A (en) * 2014-07-03 2016-01-06 腾讯科技(深圳)有限公司 A kind of charging method of mobile terminal, electric quantity test method, relevant device and system
CN105403764A (en) * 2015-11-04 2016-03-16 上海斐讯数据通信技术有限公司 Mobile terminal power consumption test system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202159328U (en) * 2011-06-30 2012-03-07 鸿富锦精密工业(深圳)有限公司 USB (universal serial bus) port test device
CN102590609A (en) * 2012-02-16 2012-07-18 惠州Tcl移动通信有限公司 Mobile terminal and method for measuring power consumption of mobile terminal
CN103312852A (en) * 2013-06-07 2013-09-18 广东欧珀移动通信有限公司 Automatic mobile terminal current testing device and testing method thereof
CN105226741A (en) * 2014-07-03 2016-01-06 腾讯科技(深圳)有限公司 A kind of charging method of mobile terminal, electric quantity test method, relevant device and system
CN105403764A (en) * 2015-11-04 2016-03-16 上海斐讯数据通信技术有限公司 Mobile terminal power consumption test system and method

Also Published As

Publication number Publication date
CN105846263A (en) 2016-08-10

Similar Documents

Publication Publication Date Title
CN105846263B (en) A kind of charging measurement method and system of mobile terminal
CN104459400B (en) Detection circuit and detection method for self-tolerant touch screen
CN101639698B (en) Electrical test system and method of automotive body based on CAN bus
CN102866322B (en) A kind of touching device detection method
CN105842559B (en) Test result wiring method, device and test macro and mobile terminal
CN105510763A (en) Integrated circuit pin testing device
CN107515370A (en) A kind of PCBA detection means and detection method
CN102129061A (en) Automatic wiring detection device and method for three-phase simulation electric energy meter
CN107505520A (en) Scene-type intelligence automatically testing platform and method
CN102288849B (en) Highway addressable remote transducer (HART) loop fault diagnosis instrument and method
CN103543368A (en) Open/short test method and open/short test machine for integrated circuits
CN104464016A (en) Mobile intelligent inspection system of cable device and inspection method
CN206369789U (en) A kind of multifunctional digital wafer prober
CN201774675U (en) Mini microphone testing device
CN210839614U (en) Handheld terminal supporting detection of communication protocols of multiple types of ammeter modules
CN107942177A (en) A kind of active information component test device and test method
CN208239888U (en) Entire car controller automatic testing equipment
CN207611103U (en) A kind of active information component test device and test fixture
CN108051767B (en) A kind of automatic diagnosis method for integrated circuit tester
CN105743166A (en) Programmable power supply and electronic equipment detection system
CN207488442U (en) A kind of POS machine mainboard automatic test circuit
CN109342878A (en) A kind of Electrical Power Line Parameter detection auxiliary system based on Internet of Things
CN105701049B (en) System, method, apparatus and the mobile terminal of charge flag position is written
CN104021748A (en) LED display screen dead point detecting system
CN105872164A (en) Adapter cable, test result writing method, test result writing apparatus, mobile terminal and test system

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
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180202

CF01 Termination of patent right due to non-payment of annual fee