CN109061342A - A kind of fast charge plug test method and device - Google Patents

A kind of fast charge plug test method and device Download PDF

Info

Publication number
CN109061342A
CN109061342A CN201810759550.XA CN201810759550A CN109061342A CN 109061342 A CN109061342 A CN 109061342A CN 201810759550 A CN201810759550 A CN 201810759550A CN 109061342 A CN109061342 A CN 109061342A
Authority
CN
China
Prior art keywords
plug
mobile terminal
test
parameter
fast charge
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.)
Pending
Application number
CN201810759550.XA
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810759550.XA priority Critical patent/CN109061342A/en
Publication of CN109061342A publication Critical patent/CN109061342A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides a kind of fast charge plug test method and devices.This method comprises:, according to preset plug test scene and corresponding plug test parameter, the connection opportunity of charging circuit between mobile terminal and fast charge power supply is controlled when receiving plug test instruction, to simulate plug operation;It obtains in the plug operating process, the communication message and charge parameter between the mobile terminal and the fast charge power supply;According to the communication message and the charge parameter and preset test condition up to standard, the fast charge plug test result of the mobile terminal is confirmed.The present invention carries out plug performance test by simulation plug operation, achieves the beneficial effect for improving the integrated testability progress of plug test performance and mobile terminal.

Description

A kind of fast charge plug test method and device
Technical field
The present invention relates to terminal test technical field more particularly to a kind of fast charge plug test method and devices.
Background technique
With communication and the fast development of computer technology, the function of the mobile terminals such as mobile phone is also stronger and stronger, The installable application program of mobile terminal is also more and more, therefore the standby time of mobile terminal in use is also increasingly It is important.And in the case where user increasingly values standby time, the battery capacity for increasing mobile terminal is the solution expected first Certainly method, but it is constrained to the slow development of battery technology, quick charge scheme is just come into being.Currently, rapid nitriding It is a kind of charging modes that the mobile terminals such as mobile phone producer generallys use.
Quick charge scheme is mainly to be realized by improving the input power of mobile terminal.And improve input power master It is improved input voltage and improves input current two schemes, and two kinds of charging schemes respectively have advantage and disadvantage, two kinds of charging schemes There is certain application market.For different fast charge agreements, requires mobile terminal and charger both ends performs the following operation: Line detection is pulled out in handshake communication, pressure regulation tune stream communication, fault detection communication and constant pressure and flow conversion and control, communication timeout control Control etc..Moreover, regardless of fast charge agreement, agreement process is all more complicated, so mobile terminal producer is carrying out fastly When filling solution development, needs to put into a large amount of manpower and the time carries out the test of charge protocol.Wherein inserted in progress mobile terminal When pulling out test, needs to put into a large amount of tester and ceaselessly the plug for carrying out mobile terminal charging cable is tested, and charging The plug of device end charging cable is tested, it is assumed that each charging port plugs 5000 times, then 100 mobile terminals carry out plug survey Examination, 1 tester just need to carry out up to ten thousand plug experiments, and then cause plug testing efficiency not high and influence movement eventually The integrated testability progress at end.
Summary of the invention
The embodiment of the present invention provides a kind of fast charge plug test method and mobile terminal, to solve existing plug test side Method it is inefficient and influence mobile terminal integrated testability progress the problem of.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, the embodiment of the invention provides a kind of fast charge plug test methods, which comprises
When receiving plug test instruction, according to preset plug test scene and corresponding plug test parameter, The connection opportunity of charging circuit between mobile terminal and fast charge power supply is controlled, to simulate plug operation;
It obtains in the plug operating process, communication message between the mobile terminal and the fast charge power supply and fills Electrical parameter;
According to the communication message and the charge parameter and preset test condition up to standard, the movement is confirmed The fast charge plug test result of terminal.
Second aspect, the embodiment of the invention also provides a kind of fast charge plug test device, described device includes:
Plug operation simulation module, for when receive plug test instruction when, according to preset plug test scene with And corresponding plug test parameter, the connection opportunity of charging circuit between mobile terminal and fast charge power supply is controlled, to simulate plug Operation;
Plug parameter acquisition module, for obtaining in the plug operating process, the mobile terminal and the charging quickly Communication message and charge parameter between source;
Test result confirmation module, for according to the communication message and the charge parameter and preset test Condition up to standard confirms the fast charge plug test result of the mobile terminal.
The third aspect, the embodiment of the invention also provides a kind of mobile terminals, comprising: memory, processor and is stored in On the memory and the computer program that can run on the processor, the computer program are executed by the processor The step of Shi Shixian for example above-mentioned fast charge plug test method.
Fourth aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium It is stored with computer program on storage media, realizes that above-mentioned fast charge plug such as is tested when the computer program is executed by processor Step in method.
In embodiments of the present invention, by when receive plug test instruction when, according to preset plug test scene with And corresponding plug test parameter, the connection opportunity of charging circuit between mobile terminal and fast charge power supply is controlled, to simulate plug Operation;It obtains in the plug operating process, communication message and charging between the mobile terminal and the fast charge power supply Parameter;According to the communication message and the charge parameter and preset test condition up to standard, the mobile terminal is confirmed Fast charge plug test result.It can be realized the technology effect for the integrated testability progress for improving plug test performance and mobile terminal Fruit.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is one of the flow chart of one of embodiment of the present invention fast charge plug test;
Fig. 2 is one of one of embodiment of the present invention fast charge plug testing scheme block diagram;
Fig. 3 is the two of the flow chart of one of embodiment of the present invention fast charge plug test;
Fig. 4 is one of one of embodiment of the present invention plug test parameter setting schematic diagram;
Fig. 5 is one of the block diagram of one of embodiment of the present invention fast charge plug test device;
Fig. 6 is the two of the block diagram of one of embodiment of the present invention fast charge plug test device;
Fig. 7 is the hardware structural diagram of the mobile terminal of one embodiment of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Embodiment one
Referring to Fig.1, a kind of flow chart of fast charge plug test method of one embodiment of the invention is shown, is applied to move Dynamic terminal, the method can specifically include following steps:
Step 110, it when receiving plug test instruction, is surveyed according to preset plug test scene and corresponding plug Parameter is tried, the connection opportunity of charging circuit between mobile terminal and fast charge power supply is controlled, to simulate plug operation.
It has been observed that rapid nitriding comes into being in order to meet the needs of mobile terminal user is for charge efficiency.Fastly Filling scheme is mainly to be realized by improving the input power of the mobile terminals such as mobile phone, and improve input power and be mainly improved Input voltage and raising input current two schemes.Currently, two kinds of fast charge schemes have application in mobile terminal charging process. Improve the typical agreement of project plan comparison such as QC (Quick Charge), the PD (Power Delivery) etc. of input voltage;It improves The scheme of input current, than more typical agreement such as SCP, VOOC etc..For different fast charge agreements, require mobile terminal and Fast charge both ends of power performs the following operation: carrying out handshake communication, carries out pressure regulation tune stream communication, carries out fault detection communication and perseverance Press constant current conversion and control, communication timeout control, pull out line detection control etc..And regardless of fast charge agreement, the processing of agreement Process is all more complicated, so mobile terminal producer needs to put into a large amount of manpower and time when carrying out fast charge solution development Carry out the test of fast charge agreement.Wherein when the fast charge for carrying out mobile terminal plugs test, need to put into a large amount of tester Ceaselessly carry out the plug test of mobile terminal charging port and charging cable and the charging port of fast charge power supply and charging cable Plug test, it is assumed that each charging port plugs 5000 times, then 100 mobile terminals carry out fast charge plug test, 1 test Personnel just need up to ten thousand plug experiments, need a very long time that could complete, testing efficiency is very low;And plugging test is Mobile terminal carries out one must carried out in charging verification process test, therefore carrying out plug verifying above by manpower can shadow Ring testing progress.
Need ceaselessly to carry out plug experiment, cause in fast charge plug test process for above-mentioned mobile terminal The problem of testing manpower and the waste of testing time, the present invention provides a kind of fast charge plug test method, passes through this method Testing efficiency can be improved with optimal inspection manpower and testing time by improving.
In embodiments of the present invention, the specific plug test for needing to carry out mobile terminal plug test can be preset Scene and plug test parameter, and then when receiving plug test instruction, i.e., according to preset plug test scene and Corresponding plug test parameter controls the connection opportunity of charging circuit between mobile terminal and fast charge power supply, to simulate plug behaviour Make.Plug test scene therein and corresponding plug test parameter can be preset according to demand, to this this hair Bright embodiment is not limited.Furthermore, it is possible to a variety of plug test scenes be arranged, sufficiently to test mobile terminal in different plugs Fast charge plug test result under scene.
In practical applications, for mobile terminal in charging, the charging circuit between charge power supply may include Vbus (Voltage Bus, power bus) route, D+/DP (Data Positive, data positive signal) route, D-/DM (Data Minus, data negative signal) route, GND (Ground) ground line, etc..And when carrying out plug test by hand, i.e. control movement The connection situation of above-mentioned each charging circuit of the terminal between charge power supply.So in embodiments of the present invention, then may be used To pass through the opportunity that is connected to for controlling above-mentioned Vbus route, D+ route and D- route, and then simulate plug operation.
It specifically can be as shown in Fig. 2, Vbus route, D+ route and D- line in mobile terminal between fast charge power supply It is respectively set switch S1, S2 and a S3 in road, and then by the closure that switchs in control respective lines and opportunity can be disconnected, Achieve the purpose that the connection opportunity for controlling corresponding charging circuit, it is final to simulate plug operation.Phone therein is to carry out plug The mobile terminal of test, TA are fast charge power supply.For example, can be by plug test scene and the setting of plug test parameter in a clothes In tool model in business device for carrying out plug test, while three analog switches are set in the tool model, then should Tool model can then be tested when receiving plug test instruction according to preset plug test scene and corresponding plug Parameter controls the connection opportunity of charging circuit between mobile terminal and fast charge power supply, to simulate plug operation.
Plug test scene therein may include the setting to the on-off opportunity of Vbus route, D+ route and D- route. For example, it is as follows that a plug test scene can be set:
Vbus is first powered on;After Vbus powers on the T1 time, D+ is powered on;After Vbus powers on the T2 time, D- is powered on;Vbus powers on T3 It is powered off after time;D+ is powered off after Vbus powers off the T11 time;D- is powered off after Vbus powers off the T22 time;It is laggard that Vbus powers off the T4 time Enter the test of plug next time.
T1, T2, T3, T4, T11, T22 therein can be understood as above-mentioned plug test parameter, and T1, T2, T3, T4, The specific value of T11, T22 can be preset according to demand, be not limited to this embodiment of the present invention.Moreover, its In T11 and T22 can be set to positive value either negative value namely D+ and D- and can be powered off before and after Vbus power-off;T1,T2 May be set to be positive value either negative value namely T1, T2 can power on before and after Vbus is powered on;In same plug checkout area Jing Zhong, if the value of T1, T2, T11 and T22 are positive value, the value of T1 and T2 are required to the value less than T3, T11 The value less than T4 is required to the value of T22.In addition, respectively being pulled out to improve testing efficiency simultaneously close to manual plug effect The unit for inserting test parameter can be set to millisecond, naturally it is also possible to which the unit that plug test parameter is arranged according to demand is other Situation is not limited this embodiment of the present invention.
Step 120, it obtains in the plug operating process, the communication report between the mobile terminal and the fast charge power supply Text and charge parameter.
It has been observed that mobile terminal carries out handshake communication when connecting with fast charge power supply between mobile terminal and fast charge power supply Etc. a variety of communications.Moreover, if connecting normal and can normally fill in plug operation, between mobile terminal and fast charge power supply Electricity, then the communication message needs between mobile terminal and fast charge power supply meet some requirements, such as handshake communication is corresponding Whether communication message meets success conditions of shaking hands, and stream is either adjusted in the pressure regulation instruction in the corresponding communication message of pressure regulation tune stream communication Whether instruction is normal, etc..
Moreover, charge parameter is also required to meet some requirements.For example, for the fast charge scheme for improving input voltage, then Need for the charging voltage in charging circuit to be adjusted to predetermined voltage range, and for the fast charge scheme of raising input current, then It needs for the charging current in charging circuit to be adjusted to predetermined current range, waits.Therefore, in embodiments of the present invention, in order to It is operated based on plug, judges whether mobile terminal can be tested by fast charge plug, then need to obtain the plug operating process In, communication message and charge parameter between the mobile terminal and the fast charge power supply.Charge parameter therein can wrap It includes but is not limited to above-mentioned charging voltage, charging current;Communication message then can include but is not limited to mobile terminal and charging quickly Connection is established between source and establishes the communication message in the charging process after connection, such as handshake communication message, pressure regulation tune Stream communication message etc..Certainly, specifically need the communication message obtained and charge parameter that can be set in advance according to demand It sets, this embodiment of the present invention is not limited.In addition, in embodiments of the present invention, by any methods availalbe or can set Standby to obtain in plug operating process, communication message and charge parameter between the mobile terminal and the fast charge power supply are right This embodiment of the present invention is also not limited.
Step 130, according to the communication message and the charge parameter and preset test condition up to standard, confirmation The fast charge plug test result of the mobile terminal.
It has been observed that if connecting normal and can charge normal in plug operation, between mobile terminal and fast charge power supply, Communication message needs so between mobile terminal and fast charge power supply meet some requirements, and charge parameter is also required to meet Certain condition.Therefore in embodiments of the present invention, the communication message of simulation plug operation and charging every time are being acquired After parameter, then the fast charge of the mobile terminal can be confirmed according to the communication message and charge parameter of each secondary plug operation Plug test result.It specifically may determine that whether the communication message acquired and charge parameter meet preset fast charge plug The test of test condition up to standard, and then determine the fast charge plug test result of mobile terminal.Test therein condition up to standard can be with It is preset according to demand, this embodiment of the present invention is not limited.
Moreover, in embodiments of the present invention, multiple plug operation can be simulated based on preset plug test scene, then In the communication message and the charge parameter that are operated based on each plug and preset test condition up to standard, described in confirmation When the fast charge plug test result of mobile terminal, then can be set if it exceeds the communication message that operates of the plug of preset ratio with And charge parameter all meets corresponding fast charge plug performance requirement, then the fast charge plug test knot of corresponding mobile terminal can be confirmed Fruit is to be tested by fast charge plug;Otherwise the fast charge plug test result for confirming corresponding mobile terminal is not surveyed by fast charge plug Examination.Preset ratio therein can be preset according to demand, be not limited to this embodiment of the present invention.
For example, it is assumed that preset ratio is 0.8, if that according to preset plug test scene and plug test ginseng Number simulates 10 plugs operation for a certain mobile terminal, then needs the logical of the simulation plug operation of therein 9 and the above number Letter message and charge parameter meet the fast charge plug performance requirement of the mobile terminal, then it is current to can be confirmed that the mobile terminal passes through Fast charge plug test;And if communication message and charge parameter that the simulation plug only lower than 9 times operates meet the movement The fast charge plug performance requirement of terminal then can be confirmed that the mobile terminal is not tested by current fast charge plug.
In addition, in embodiments of the present invention, it is various when carrying out fast charge plug test that each mobile terminal can also be recorded Test data, can specifically include but be not limited to the version number of mobile terminal, fast charge power supply version number, testing tool version number, Preset plug test scene, the plug test parameter of each plug test scene, charge parameter, mobile terminal and fast charge power supply it Between communication message, etc..It, then can be based on so for the mobile terminal of plug test crash either fast charge power supply The test parameter of record is analyzed plug test crash reason, is targetedly improved with facilitating.For example, for probability mistake The plug operation test lost, can restore test scene according to the test data of record, according to the plug test scene pair of failure The server for carrying out plug test is configured, and carries out specific aim test, as far as possible reproduction test problem, convenient for probability problem point Analysis positioning.
Optionally, in embodiments of the present invention, the step 130 can further include:
Sub-step 131, judges whether the number of the plug operation is less than default testing time;
Sub-step 132, if the number of plug operation is more than or equal to the default testing time, according to described logical Believe message and the charge parameter and preset test condition up to standard, confirms the fast charge plug test of the mobile terminal As a result.
In practical applications, in order to guarantee mobile terminal charging port plug performance, mobile terminal factory before, Need to carry out multiple fast charge plug test for same mobile terminal.Therefore, in embodiments of the present invention, in order to avoid due to pulling out Slotting testing time is less to cause test result inaccurate, can preset a default testing time, then implementing in the present invention In example, then multiple plug can be simulated based on preset plug test scene and corresponding plug test parameter and operated, and Before plug based on simulation operates the fast charge plug test result for determining mobile terminal, first need to judge for the mobile terminal Whether the number of the plug operation of simulation is less than the corresponding default testing time of the mobile terminal;If for the mobile terminal The number of the plug operation of simulation is less than the corresponding default testing time of the mobile terminal, then illustrates the plug number of operations of simulation Not enough, then can then be continued at this time with return step 110 based on preset plug test scene and corresponding plug test ginseng Number, controls the connection opportunity of charging circuit between the mobile terminal and fast charge power supply, to simulate plug operation, until simulation is pulled out The number for inserting operation is more than or equal to the corresponding default testing time of the mobile terminal;And if the number of plug operation is more than or equal to Default testing time can then be directly based upon the communication message and charge parameter of the plug operation of each simulation, and default Test condition up to standard, confirm the fast charge plug test result of the mobile terminal.
Wherein, can be different for the default testing time of different mobile terminal, can also be identical, specifically may be used To be preset according to demand, this embodiment of the present invention is not limited.
In embodiments of the present invention, by when receive plug test instruction when, according to preset plug test scene with And corresponding plug test parameter, the connection opportunity of charging circuit between mobile terminal and fast charge power supply is controlled, to simulate plug Operation;It obtains in the plug operating process, communication message and charging between the mobile terminal and the fast charge power supply Parameter;According to the communication message and the charge parameter and preset test condition up to standard, the mobile terminal is confirmed Fast charge plug test result.It can be improved the integrated testability progress of plug test performance and mobile terminal.
Moreover, in embodiments of the present invention, can also judge whether the number of the plug operation is less than default test time Number;If the number of plug operation is more than or equal to the default testing time, according to the communication message and described Charge parameter and preset test condition up to standard, confirm the fast charge plug test result of the mobile terminal.So as into One step improves the accuracy of fast charge plug test.
Embodiment two
Referring to Fig. 3, a kind of flow chart of fast charge plug test method of another embodiment of the present invention is shown, specifically may be used To include the following steps:
Step 210, it when receiving plug test instruction, is surveyed according to preset plug test scene and corresponding plug Parameter is tried, the connection opportunity of charging circuit between mobile terminal and fast charge power supply is controlled, to simulate plug operation.
Optionally, in embodiments of the present invention, the plug test parameter includes: positive signal power on delay time, negative letter Number power on delay time, power supply line power on duration, power supply line interruption duration, positive signal power-off delay time and negative letter At least one of number power-off delay time.
It has been observed that the charging circuit between mobile terminal and fast charge power supply includes Vbus route, D+ route, D- route and connects Ground wire, and plug test is tested primarily directed to Vbus route therein, D+ route, D- route, namely of the invention real It applies in example, mainly according to preset plug test scene and plug test parameter, controls the mobile terminal and charging quickly Vbus route, D+ route between source are connected to opportunity with D- route, to simulate plug operation.
Therefore, plug test parameter in embodiments of the present invention includes: that positive signal power on delay time, negative signal power on Delay time, power supply line power on duration, power supply line interruption duration, positive signal power-off delay time and negative signal power-off At least one of delay time.When the positive signal power on delay time therein can be power on delay of the D+ relative to Vbus Between, or power on delay time of the D+ relative to D-;The negative signal power on delay time can be D- relative to the upper of Vbus The electric delay time, or power on delay time of the D- relative to D+;Power supply line powers on the duration to grasp in a plug Vbus is from powering on the duration to power-cut time constantly in work;Power supply line interruption duration is to operate in a preceding plug Vbus power-cut time powers on the duration between the moment to the Vbus that plug next time operates;The positive signal power-off delay time can Think power-off delay time of the D+ relative to Vbus, or power-off delay time of the D+ relative to D-;Negative signal power-off is prolonged The slow time can be power-off delay time of the D- relative to Vbus, or power-off delay time of the D- relative to D+.Wherein The reference quantity of each plug test parameter can be configured according to demand simultaneously when plug test scene is arranged, to this present invention Embodiment is not limited.
For example, for plug test scene described in embodiment one:
Vbus is first powered on;After Vbus powers on the T1 time, D+ is powered on;After Vbus powers on the T2 time, D- is powered on;Vbus powers on T3 It is powered off after time;D+ is powered off after Vbus powers off the T11 time;D- is powered off after Vbus powers off the T22 time;It is laggard that Vbus powers off the T4 time Enter the test of plug next time.
T1 therein is the positive signal power on delay time, and T2 is the negative signal power on delay time, and T3 is power supply line Power on the duration, T4 is that power supply line interruption duration, T11 are positive powerdown signal delay time and T22 is negative powerdown signal Delay time.
If Fig. 4 is for one of above-mentioned plug test scene plug test parameter schematic diagram.From fig. 4, it can be seen that The positive signal power on delay time at this time is power on delay time of the D+ relative to Vbus, and the negative signal power on delay time is D- phase For the power on delay time of Vbus, the positive signal power-off delay time is power-off delay time of the D+ relative to Vbus, negative signal The power-off delay time is power-off delay time of the D- relative to Vbus, moreover, the value of T1, T2, T11 and T22 at this time are positive Value.
In embodiments of the present invention, for same plug test scene, plug test parameter therein can be set and take It is worth different, and then multiple plug test is carried out to same plug test scene, to improve the accuracy of plug test.Example Such as, for above-mentioned plug test scene, can be set T1, T2, T11 and T22 value be from 20 milliseconds to 10000 millisecond it Between the value for the first time of numerical value namely T1, T2, T11 and T22 as unit of 5 milliseconds be 20 milliseconds, be then once directed to rear When the plug test scene carries out plug test, then the value of T1, T2, T11 and T22 can all be increased than previous value 5 milliseconds.The value of T3 is always 2000 milliseconds, and the value of T4 is always 500 milliseconds.
If table 1 is the optional plug test scene in part.Preset plug test scene can be in embodiments of the present invention For the part in table 1, naturally it is also possible to be in addition arranged according to demand, be not limited to this embodiment of the present invention.
1 part plug test scene of table
1 part plug test scene of table
Step 220, it obtains in the plug operating process, the communication report between the mobile terminal and the fast charge power supply Text and charge parameter.
Optionally, in embodiments of the present invention, the charge parameter includes charging voltage and/or charging current;It is described to fill Piezoelectric voltage includes at least one of power line voltage, data positive signal line voltage distribution and data negative signal line road voltage.
It has been observed that fast charge scheme in practical applications includes improving input voltage and raising two kinds of fast charge sides of input current Case, therefore charge parameter in embodiments of the present invention may include charging voltage and/or charging current, in addition, mobile terminal Charging circuit between fast charge power supply includes Vbus route, D+ route, D- route and ground line, wherein the voltage one being grounded As be zero, and can have value range requirement to the voltage in Vbus route, D+ route, D- route during the charging process, because This, charging voltage in embodiments of the present invention may include power line voltage, data positive signal line voltage distribution and data minus again Signal line voltage.Power line voltage therein is Vbus line voltage distribution, can be indicated with Vbus;Data positive signal line electricity Pressure is D+ line voltage distribution, can be indicated with D+;Data minus signal line voltage is D- line voltage distribution, can be indicated with D-.
Specifically, for the fast charge scheme for improving input voltage, filling between available mobile terminal and fast charge power supply Piezoelectric voltage is as charge parameter, for improving the fast charge scheme of input current, between available mobile terminal and fast charge power supply Charging current as charge parameter, certainly for the fast charge scheme for improving input voltage and improve the fast charge side of input current Case can also obtain charging voltage between mobile terminal and fast charge power supply and charging current as charge parameter, tool simultaneously Can being configured according to demand for body, is not limited this embodiment of the present invention.Moreover, when obtaining mobile terminal and fast charge Charging voltage between power supply, specific available power line voltage, data positive signal line voltage distribution and data negative signal line One or more of road voltage specifically obtains which voltage value can equally be preset according to demand, to this this hair Bright embodiment is not limited.
Optionally, in embodiments of the present invention, the step 220 can further include:
Sub-step A221 is obtained the communication message in the plug operating process, and is analyzed based on the communication message Charge parameter between the mobile terminal and the fast charge power supply.
Alternatively, sub-step B221, obtains the communication message in the plug operating process, and detect the mobile terminal with The charge parameter of charging circuit between the fast charge power supply.
In embodiments of the present invention, communication message, example can be obtained based on the communication between mobile terminal and fast charge power supply Such as when mobile terminal and fast charge power supply carry out handshake communication, handshake communication message between the two is obtained;And in mobile terminal When carrying out pressure regulation tune stream communication with fast charge power supply, pressure regulation tune stream communication message between the two is obtained;Etc..Can specifically it lead to The communication message between any methods availalbe or equipment acquisition mobile terminal and fast charge power supply is crossed, this embodiment of the present invention is not added To limit.
And the charge parameter between mobile terminal and fast charge power supply can when mobile terminal is communicated with fast charge power supply, Charging circuit between mobile terminal and fast charge power supply is embodied.For example, charging current namely charging cable in charge parameter Electric current in road, and the voltage in the charging voltage namely charging circuit in charge parameter.Therefore, in embodiments of the present invention, In order to obtain charge parameter, then the charge parameter of charging circuit between mobile terminal and fast charge power supply can be directly detected, namely The charging voltage and/or charging current of charging circuit are detected, can specifically be moved using any methods availalbe or equipment detection The charge parameter of charging circuit, is not limited this embodiment of the present invention between dynamic terminal and fast charge power supply.
In addition, mobile terminal can also be directed to charging voltage in the plug communication process of mobile terminal and fast charge power supply The charge parameters such as charging current send inquiry request to fast charge power supply, then fast charge power supply can then return accordingly for inquiry request Query result to mobile terminal.Therefore, in embodiments of the present invention, mobile terminal and fast charge power supply can also acquired Communication message after, be directly based upon the charge parameter that communication message query analysis goes out between mobile terminal and fast charge power supply.
Step 230, for each plug operate, judge respectively the communication message whether with preset fast charge communication message Unanimously and whether the value of the charge parameter is within the scope of preset parameter threshold.
Step 240, if the communication message is consistent with preset fast charge communication message, while the value of the charge parameter Within the scope of preset parameter threshold, then confirm that current plug operation is up to standard.
Step 250, if the test of mobile terminal ratio up to standard is greater than preset first ratio, confirm the shifting Dynamic terminal passes through plug performance test;Wherein, the test ratio up to standard is the number up to standard of mobile terminal plug operation With the ratio of total degree.
It has been observed that needing the completion in plug if can normally connect charging between mobile terminal and fast charge power supply Handshake communication, pressure regulation tune stream communication etc., and mobile terminal also can centainly require the charge parameter in charging process, to protect Card charging is normally carried out.Therefore, in embodiments of the present invention, if mobile terminal plug test meet it is preset test it is up to standard Condition, then the communication message for needing the plug of preset first ratio to operate is consistent with preset fast charge communication message, and charges Parameter is within the scope of preset parameter threshold.Preset first ratio, fast charge communication message and parameter threshold therein all may be used To be preset before the either step according to demand before this step or before this step, to this present invention Embodiment is not limited.And it can be different for the parameter threshold of different charge parameters, naturally it is also possible to it is identical, it is right This embodiment of the present invention is not limited.
Specifically, can then operate for each plug, judge whether the communication message is logical with preset fast charge respectively Believe that message is consistent and the value of the charge parameter is whether within the scope of preset parameter threshold;If the communication message with Preset fast charge communication message is consistent, while the value of the charge parameter within the scope of preset parameter threshold, then confirmation is current Plug operation it is up to standard;If the test of mobile terminal ratio up to standard is greater than preset first ratio, the shifting is confirmed Dynamic terminal passes through plug performance test;Wherein, the test ratio up to standard is the number up to standard of mobile terminal plug operation With the ratio of total degree.
For example, it is assumed that being directed to mobile terminal A, 10 plugs test has been carried out, then can be operated for 10 plugs, point Do not judge whether the communication message of each plug operation is consistent with preset fast charge communication message, and plug operation is filled every time Whether the value of electrical parameter is within the scope of preset parameter threshold.If the communication that confirmation has 8 plugs to operate after above-mentioned judgement Message is consistent with preset fast charge communication message, and the value of charge parameter is within the scope of preset parameter threshold namely this 8 times are pulled out It is up to standard to insert operation.And then the test ratio up to standard that mobile terminal A can be calculated is 8/10 namely 0.8.And if default The first ratio be 0.9, then can be confirmed that mobile terminal A does not pass through plug performance test, and if the first ratio is 0.75, It then can be confirmed that mobile terminal A passes through plug performance test.
For example, for the handshake communication of mobile terminal, then the handshake communication message that needs to judge to acquire whether in advance If fast charge communication message in shake hands instruct it is consistent;For improving the fast charge scheme of input voltage, then need to judge communication report Whether pressure regulation instruction in preset fast charge communication message is consistent for pressure regulation instruction in text;Etc..Alternatively, in charging circuit Vbus, for the value range of Vbus be 3.5V (volt) to 5V in preset parameter threshold range, then then may determine that The Vbus in charge parameter is acquired whether between 3.5V-5V, if the Vbus acquired in charge parameter exceeds Between 3.5V-5V, then illustrate that charging circuit has OVP (Over voltage protection overvoltage protection) failure;Together Sample, then can detecte out charging circuit for electric current has OCP (over currentprotection, overcurrent protection) failure Occur.
In embodiments of the present invention, by when receive plug test instruction when, according to preset plug test scene with And corresponding plug test parameter, the connection opportunity of charging circuit between mobile terminal and fast charge power supply is controlled, to simulate plug Operation;It obtains in the plug operating process, communication message and charging between the mobile terminal and the fast charge power supply Parameter;According to the communication message and the charge parameter and preset test condition up to standard, the mobile terminal is confirmed Fast charge plug test result.It can be improved the integrated testability progress of plug test performance and mobile terminal.
Moreover, the embodiment of the present invention can obtain the plug behaviour by means of the technical solution of the above embodiment of the present invention Communication message during work, and analyze to obtain between the mobile terminal and the fast charge power supply based on the communication message Charge parameter;Alternatively, obtaining the communication message in the plug operating process, and detect the mobile terminal and the charging quickly The charge parameter of charging circuit between source.So as to facilitate the communication message and charging ginseng that obtain in plug operating process Number, further increases plug testing efficiency.
In addition, in embodiments of the present invention, the charge parameter includes charging voltage and/or charging current;The charging Voltage includes at least one of power line voltage, data positive signal line voltage distribution and data negative signal line road voltage.It is described to pull out Slotting test parameter includes: that positive signal power on delay time, negative signal power on delay time, power supply line power on duration, power supply At least one of line interruption duration, positive signal power-off delay time and negative signal power-off delay time.And for every Secondary plug operation, judges communication message charge parameter whether consistent and described with preset fast charge communication message respectively Value whether within the scope of preset parameter threshold;If the communication message is consistent with preset fast charge communication message, simultaneously The value of the charge parameter then confirms that current plug operation is up to standard within the scope of preset parameter threshold;If the movement The test of terminal ratio up to standard is greater than preset first ratio, then confirms that the mobile terminal passes through plug performance test;Wherein, The test ratio up to standard is the ratio of the number and total degree up to standard of mobile terminal plug operation.So as to further Improve the accuracy of plug test result.
Embodiment three
Referring to Fig. 5, a kind of block diagram of fast charge plug test device of one embodiment of the invention is shown.The present invention is implemented The fast charge plug test device of example is able to achieve the details of fast charge plug test method of the embodiment one into embodiment two, and reaches Identical effect.The test device of fast charge plug shown in Fig. 5 300 includes:
Plug operation simulation module 310, for when receive plug test instruction when, according to preset plug test scene And corresponding plug test parameter, the connection opportunity of charging circuit between mobile terminal and fast charge power supply is controlled, is pulled out with simulation Insert operation.
Plug parameter acquisition module 320, for obtaining in the plug operating process, the mobile terminal and the fast charge Communication message and charge parameter between power supply.
Test result confirmation module 330, for according to the communication message and the charge parameter and preset survey Condition up to standard is tried, confirms the fast charge plug test result of the mobile terminal.
Optionally, in embodiments of the present invention, the test result confirmation module 330, can further include:
Plug number judging submodule, for judging whether the number of the plug operation is less than default testing time.
Test result confirms submodule, if the number for plug operation is more than or equal to the default test time Number confirms the mobile terminal then according to the communication message and the charge parameter and preset test condition up to standard Fast charge plug test result.
Fast charge plug test device 300 provided in an embodiment of the present invention can be realized moves in the embodiment of the method for Fig. 1 and Fig. 4 Each process that dynamic terminal is realized, to avoid repeating, which is not described herein again.
In embodiments of the present invention, by when receive plug test instruction when, according to preset plug test scene with And corresponding plug test parameter, the connection opportunity of charging circuit between mobile terminal and fast charge power supply is controlled, to simulate plug Operation;It obtains in the plug operating process, communication message and charging between the mobile terminal and the fast charge power supply Parameter;According to the communication message and the charge parameter and preset test condition up to standard, the mobile terminal is confirmed Fast charge plug test result.It can be improved the integrated testability progress of plug test performance and mobile terminal.
Moreover, in embodiments of the present invention, can also judge whether the number of the plug operation is less than default test time Number;If the number of plug operation is more than or equal to the default testing time, according to the communication message and described Charge parameter and preset test condition up to standard, confirm the fast charge plug test result of the mobile terminal.So as into One step improves the accuracy of fast charge plug test.
Example IV
Referring to Fig. 6, a kind of block diagram of fast charge plug test device of one embodiment of the invention is shown.The present invention is implemented The fast charge plug test device of example is able to achieve the details of fast charge plug test method of the embodiment one into embodiment two, and reaches Identical effect.The test device of fast charge plug shown in Fig. 6 400 includes:
Plug operation simulation module 410, for when receive plug test instruction when, according to preset plug test scene And corresponding plug test parameter, the connection opportunity of charging circuit between mobile terminal and fast charge power supply is controlled, is pulled out with simulation Insert operation.
Optionally, in embodiments of the present invention, the charge parameter includes charging voltage and/or charging current;It is described to fill Piezoelectric voltage includes at least one of power line voltage, data positive signal line voltage distribution and data negative signal line road voltage.
Optionally, in embodiments of the present invention, the plug test parameter includes: positive signal power on delay time, negative letter Number power on delay time, power supply line power on duration, power supply line interruption duration, positive signal power-off delay time and negative letter At least one of number power-off delay time.
Plug parameter acquisition module 420, for obtaining in the plug operating process, the mobile terminal and the fast charge Communication message and charge parameter between power supply.
Optionally, in embodiments of the present invention, the plug parameter acquisition module 420, can further include:
First plug parameter acquisition submodule for obtaining the communication message in the plug operating process, and is based on institute Communication message is stated to analyze to obtain the charge parameter between the mobile terminal and the fast charge power supply.
Alternatively, the second plug parameter acquisition submodule, for obtaining the communication message in the plug operating process, and is examined Survey the charge parameter of charging circuit between the mobile terminal and the fast charge power supply.
Test result confirmation module 430, for according to the communication message and the charge parameter and preset survey Condition up to standard is tried, confirms the fast charge plug test result of the mobile terminal.
Optionally, in embodiments of the present invention, the test result confirmation module 430, can further include:
Plug parameter judging submodule 431, for for each plug operate, judge respectively the communication message whether with Preset fast charge communication message is consistent and whether the value of the charge parameter is within the scope of preset parameter threshold.
Plug operates submodule 432 up to standard, if consistent with preset fast charge communication message for the communication message, together The value of Shi Suoshu charge parameter then confirms that current plug operation is up to standard within the scope of preset parameter threshold.
Test is by confirmation submodule 433, if test ratio up to standard for the mobile terminal is greater than preset the One ratio then confirms that the mobile terminal passes through plug performance test;Wherein, the test ratio up to standard is the mobile terminal The ratio of the number and total degree up to standard of plug operation.
Fast charge plug test device 400 provided in an embodiment of the present invention can be realized moves in the embodiment of the method for Fig. 1 and Fig. 4 Each process that dynamic terminal is realized, to avoid repeating, which is not described herein again.
In embodiments of the present invention, by when receive plug test instruction when, according to preset plug test scene with And corresponding plug test parameter, the connection opportunity of charging circuit between mobile terminal and fast charge power supply is controlled, to simulate plug Operation;It obtains in the plug operating process, communication message and charging between the mobile terminal and the fast charge power supply Parameter;According to the communication message and the charge parameter and preset test condition up to standard, the mobile terminal is confirmed Fast charge plug test result.It can be improved the integrated testability progress of plug test performance and mobile terminal.
Moreover, the embodiment of the present invention can obtain the plug behaviour by means of the technical solution of the above embodiment of the present invention Communication message during work, and analyze to obtain between the mobile terminal and the fast charge power supply based on the communication message Charge parameter;Alternatively, obtaining the communication message in the plug operating process, and detect the mobile terminal and the charging quickly The charge parameter of charging circuit between source.So as to facilitate the communication message and charging ginseng that obtain in plug operating process Number, further increases plug testing efficiency.
In addition, in embodiments of the present invention, the charge parameter includes charging voltage and/or charging current;The charging Voltage includes at least one of power line voltage, data positive signal line voltage distribution and data negative signal line road voltage.It is described to pull out Slotting test parameter includes: that positive signal power on delay time, negative signal power on delay time, power supply line power on duration, power supply Line interruption duration, at least one of positive signal power-off delay time and negative signal power-off delay time.And for each Plug operation, judges communication message charge parameter whether consistent and described with preset fast charge communication message respectively Whether value is within the scope of preset parameter threshold;If the communication message is consistent with preset fast charge communication message, while institute The value of charge parameter is stated within the scope of preset parameter threshold, then confirms that current plug operation is up to standard;If described mobile whole The test at end ratio up to standard is greater than preset first ratio, then confirms that the mobile terminal passes through plug performance test;Wherein, institute State the ratio for testing number and total degree up to standard that ratio up to standard is mobile terminal plug operation.So as to further mention The accuracy of high plug test result.
Embodiment five
Fig. 7 is a kind of hardware structural diagram of mobile terminal of each embodiment of the present invention,
The mobile terminal 500 includes but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, defeated Enter unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor The components such as 510 and power supply 511.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 7 is not constituted Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 510, for when receiving plug test instruction, according to preset plug test scene and Corresponding plug test parameter controls the connection opportunity of charging circuit between mobile terminal and fast charge power supply, to simulate plug behaviour Make;It obtains in the plug operating process, communication message and charging ginseng between the mobile terminal and the fast charge power supply Number;According to the communication message and the charge parameter and preset test condition up to standard, the mobile terminal is confirmed Fast charge plug test result
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 501 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 502 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be received by radio frequency unit 501 or network module 502 or in memory 509 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 500 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 503 includes loudspeaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include graphics processor (Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 506.Through graphics processor 5041, treated that picture frame can be deposited Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike Wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 501 is converted in the case where telephone calling model.
Mobile terminal 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 5061, and proximity sensor can close when mobile terminal 500 is moved in one's ear Display panel 5061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 506 can wrap Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 507 include touch panel 5071 and Other input equipments 5072.Touch panel 5071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 5071 or in touch panel 5071 Neighbouring operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area It manages the order that device 510 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments 5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touching The type for touching event provides corresponding visual output on display panel 5061.Although in Fig. 7, touch panel 5071 and display Panel 5061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 508 is the interface that external device (ED) is connect with mobile terminal 500.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 500 or can be used in 500 He of mobile terminal Data are transmitted between external device (ED).
Memory 509 can be used for storing software program and various data.Memory 509 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 509, and calls and is stored in storage Data in device 509 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511 Can be logically contiguous by power-supply management system and processor 510, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 510, and memory 509 is stored in On memory 509 and the computer program that can run on the processor 510, the computer program are executed by processor 510 Each process of the above-mentioned fast charge plug test method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, Which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned fast charge plug test method embodiment when being executed by processor, And identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, Such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, letter Claim RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (11)

1. a kind of fast charge plug test method, which is characterized in that the described method includes:
When receiving plug test instruction, according to preset plug test scene and corresponding plug test parameter, control The connection opportunity of charging circuit between mobile terminal and fast charge power supply, to simulate plug operation;
It obtains in the plug operating process, communication message and charging ginseng between the mobile terminal and the fast charge power supply Number;
According to the communication message and the charge parameter and preset test condition up to standard, the mobile terminal is confirmed Fast charge plug test result.
2. the method according to claim 1, wherein the charge parameter includes charging voltage and/or charging electricity Stream;The charging voltage include in power line voltage, data positive signal line voltage distribution and data negative signal line road voltage at least It is a kind of;The plug test parameter includes: that positive signal power on delay time, negative signal power on delay time, power supply line are powered on and held At least one of continuous time, power supply line interruption duration, positive signal power-off delay time and negative signal power-off delay time.
3. the method according to claim 1, wherein described obtain in the plug operating process, the movement The step of communication message and charge parameter between terminal and the fast charge power supply, comprising:
Obtain the communication message in the plug operating process, and based on the communication message analyze to obtain the mobile terminal and Charge parameter between the fast charge power supply;
Alternatively, obtain the communication message in the plug operating process, and detect the mobile terminal and the fast charge power supply it Between charging circuit charge parameter.
4. the method according to claim 1, wherein described join according to the communication message and the charging Several and preset the step of testing condition up to standard, confirming the fast charge plug test result of the mobile terminal, comprising:
Judge whether the number of the plug operation is less than default testing time;
If the number of plug operation is more than or equal to the default testing time, according to the communication message and described Charge parameter and preset test condition up to standard, confirm the fast charge plug test result of the mobile terminal.
5. method according to claim 1-4, which is characterized in that described according to the communication message and described Charge parameter and preset the step of testing condition up to standard, confirming the fast charge plug test result of the mobile terminal, packet It includes:
It is operated for each plug, judges whether the communication message is consistent with preset fast charge communication message respectively, Yi Jisuo The value of charge parameter is stated whether within the scope of preset parameter threshold;
If the communication message is consistent with preset fast charge communication message, while the value of the charge parameter is in preset parameter In threshold range, then confirm that current plug operation is up to standard;
If the test of mobile terminal ratio up to standard is greater than preset first ratio, confirm the mobile terminal by pulling out Insert performance test;
Wherein, the test ratio up to standard is the ratio of the number and total degree up to standard of mobile terminal plug operation.
6. a kind of fast charge plug test device, which is characterized in that described device includes:
Plug operation simulation module, for when receiving plug test instruction, according to preset plug test scene and right The plug test parameter answered controls the connection opportunity of charging circuit between mobile terminal and fast charge power supply, to simulate plug operation;
Plug parameter acquisition module, for obtaining in the plug operating process, the mobile terminal and the fast charge power supply it Between communication message and charge parameter;
Test result confirmation module, for up to standard according to the communication message and the charge parameter and preset test Condition confirms the fast charge plug test result of the mobile terminal.
7. device according to claim 6, which is characterized in that the charge parameter includes charging voltage and/or charging electricity Stream;The charging voltage include in power line voltage, data positive signal line voltage distribution and data negative signal line road voltage at least It is a kind of;The plug test parameter includes: that positive signal power on delay time, negative signal power on delay time, power supply line are powered on and held At least one of continuous time, power supply line interruption duration, positive signal power-off delay time and negative signal power-off delay time.
8. device according to claim 6, which is characterized in that the plug parameter acquisition module, comprising:
First plug parameter acquisition submodule, for obtaining the communication message in the plug operating process, and based on described logical Letter message analysis obtains the charge parameter between the mobile terminal and the fast charge power supply;
Alternatively, the second plug parameter acquisition submodule, for obtaining the communication message in the plug operating process, and detects institute State the charge parameter of charging circuit between mobile terminal and the fast charge power supply.
9. device according to claim 6, which is characterized in that the test result confirmation module, comprising:
Plug number judging submodule, for judging whether the number of the plug operation is less than default testing time;
Test result confirms submodule, if the number for plug operation is more than or equal to the default testing time, According to the communication message and the charge parameter and preset test condition up to standard, the fast of the mobile terminal is confirmed Fill plug test result.
10. according to the described in any item devices of claim 6-9, which is characterized in that the test result confirmation module, comprising:
Plug parameter judging submodule, for for each plug operate, judge respectively the communication message whether with it is preset Fast charge communication message is consistent and whether the value of the charge parameter is within the scope of preset parameter threshold;
Plug operates submodule up to standard, if consistent while described for the communication message and preset fast charge communication message The value of charge parameter then confirms that current plug operation is up to standard within the scope of preset parameter threshold;
Test is by confirmation submodule, if the test ratio up to standard for the mobile terminal is greater than preset first ratio, Then confirm that the mobile terminal passes through plug performance test;Wherein, the test ratio up to standard is mobile terminal plug behaviour The ratio of the number and total degree up to standard made.
11. a kind of mobile terminal characterized by comprising memory, processor and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor Any one of described in fast charge plug test method the step of.
CN201810759550.XA 2018-07-11 2018-07-11 A kind of fast charge plug test method and device Pending CN109061342A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810759550.XA CN109061342A (en) 2018-07-11 2018-07-11 A kind of fast charge plug test method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810759550.XA CN109061342A (en) 2018-07-11 2018-07-11 A kind of fast charge plug test method and device

Publications (1)

Publication Number Publication Date
CN109061342A true CN109061342A (en) 2018-12-21

Family

ID=64815922

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810759550.XA Pending CN109061342A (en) 2018-07-11 2018-07-11 A kind of fast charge plug test method and device

Country Status (1)

Country Link
CN (1) CN109061342A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750403A (en) * 2019-10-25 2020-02-04 宁波三星智能电气有限公司 Power-off test method based on power terminal and related device
CN111030226A (en) * 2019-12-20 2020-04-17 维沃移动通信有限公司 Equipment detection method and electronic equipment
CN112859821A (en) * 2021-03-19 2021-05-28 东风汽车集团股份有限公司 Method and system for verifying quick charging function of battery management system for electric vehicle carried real vehicle
CN112881951A (en) * 2021-01-15 2021-06-01 上海闻泰信息技术有限公司 Interface plug-in analog circuit

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104615524A (en) * 2015-02-15 2015-05-13 易测智能科技(天津)有限公司 USB (universal serial bus) plug testing method for mobile terminal
CN104932962A (en) * 2015-06-05 2015-09-23 惠州Tcl移动通信有限公司 USB (Universal Serial Bus) plug testing system and method thereof
CN105762863A (en) * 2015-04-17 2016-07-13 维沃移动通信有限公司 Charge method and charge apparatus
CN105814767A (en) * 2014-07-16 2016-07-27 华为技术有限公司 Electronic device quick charging method, apparatus and device
CN105891736A (en) * 2016-05-25 2016-08-24 东莞博力威新能源有限公司 QC2.0 fast charge detection circuit and detection method
CN107544880A (en) * 2017-07-18 2018-01-05 惠州市德赛西威汽车电子股份有限公司 A kind of USB hot plugs stability test method and test device
CN206990731U (en) * 2017-06-27 2018-02-09 深圳市显盈科技股份有限公司 A kind of charging measurement circuit

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105814767A (en) * 2014-07-16 2016-07-27 华为技术有限公司 Electronic device quick charging method, apparatus and device
CN104615524A (en) * 2015-02-15 2015-05-13 易测智能科技(天津)有限公司 USB (universal serial bus) plug testing method for mobile terminal
CN105762863A (en) * 2015-04-17 2016-07-13 维沃移动通信有限公司 Charge method and charge apparatus
CN104932962A (en) * 2015-06-05 2015-09-23 惠州Tcl移动通信有限公司 USB (Universal Serial Bus) plug testing system and method thereof
CN105891736A (en) * 2016-05-25 2016-08-24 东莞博力威新能源有限公司 QC2.0 fast charge detection circuit and detection method
CN206990731U (en) * 2017-06-27 2018-02-09 深圳市显盈科技股份有限公司 A kind of charging measurement circuit
CN107544880A (en) * 2017-07-18 2018-01-05 惠州市德赛西威汽车电子股份有限公司 A kind of USB hot plugs stability test method and test device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750403A (en) * 2019-10-25 2020-02-04 宁波三星智能电气有限公司 Power-off test method based on power terminal and related device
CN110750403B (en) * 2019-10-25 2023-10-24 宁波三星智能电气有限公司 Power-on-off electric measurement method based on power terminal and related device
CN111030226A (en) * 2019-12-20 2020-04-17 维沃移动通信有限公司 Equipment detection method and electronic equipment
CN112881951A (en) * 2021-01-15 2021-06-01 上海闻泰信息技术有限公司 Interface plug-in analog circuit
CN112859821A (en) * 2021-03-19 2021-05-28 东风汽车集团股份有限公司 Method and system for verifying quick charging function of battery management system for electric vehicle carried real vehicle

Similar Documents

Publication Publication Date Title
CN109061342A (en) A kind of fast charge plug test method and device
CN109445736A (en) A kind of multi-screen display method and mobile terminal
CN109672254A (en) A kind of charging control circuit, terminal device and control method
CN108494030A (en) A kind of wireless charging method, terminal and transmitting end equipment
CN108491123A (en) A kind of adjusting application program image target method and mobile terminal
CN107911445A (en) A kind of information push method, mobile terminal and storage medium
CN108810701B (en) A kind of Type-C interface method for detecting abnormality and mobile terminal
CN109194899A (en) A kind of method and terminal of audio-visual synchronization
CN109888928A (en) A kind of terminal and wireless charging control method
CN109743503A (en) Reminding method and terminal
CN108616650B (en) Dust removal method and mobile terminal
CN108196815A (en) A kind of adjusting method and mobile terminal of sound of conversing
CN107834640A (en) A kind of charging method and terminal
CN107887947A (en) A kind of guard method of charging port and mobile terminal
CN110213686A (en) A kind of detection method and terminal of earphone socket
CN109831359A (en) A kind of detection method and its terminal device of data network connection state
CN109755997A (en) A kind of charging method and terminal device
CN109144393A (en) A kind of image display method and mobile terminal
CN110267142A (en) A kind of mobile terminal and control method
CN110287655A (en) A kind of verifying code imput method, device and mobile terminal
CN109831582A (en) Non- response events processing method and terminal
CN108718360A (en) A kind of charging method and mobile terminal
CN108595352A (en) A kind of guard method of mobile terminal and device
CN108448177A (en) A kind of charging method and terminal
CN210894629U (en) Electric meter assembly and electronic equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181221

RJ01 Rejection of invention patent application after publication