CN106610476B - Test method, device and the terminal of charge and discharge process - Google Patents
Test method, device and the terminal of charge and discharge process Download PDFInfo
- Publication number
- CN106610476B CN106610476B CN201510710732.4A CN201510710732A CN106610476B CN 106610476 B CN106610476 B CN 106610476B CN 201510710732 A CN201510710732 A CN 201510710732A CN 106610476 B CN106610476 B CN 106610476B
- Authority
- CN
- China
- Prior art keywords
- discharge
- procedures
- charge
- preset
- discharge procedures
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/385—Arrangements for measuring battery or accumulator variables
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The disclosure is directed to a kind of test method of charge and discharge process, device and terminals.The described method includes: detecting the charge value of the end cell during the charging process when detecting that terminal is connected to charging socket;After detecting that the charge value expression is completely filled, the charging curve in the charging process is determined, Xiang Suoshu socket, which is sent, stops charging instruction;After determining the socket according to the stopping charging instruction and disconnecting being electrically connected of the end cell and charge power supply, starting installation preset discharge procedures on the terminal determine the discharge curve of the end cell by the preset discharge procedures.Disclosed technique scheme by the manually connection of mode disconnected end and socket and can avoid tester from testing preset discharge process one by one manually to avoid tester, improve the degree of automation to end cell charge and discharge process.
Description
Technical field
This disclosure relates to field of terminal technology more particularly to a kind of test method of charge and discharge process, device and terminal.
Background technique
During testing battery of mobile phone, need to survey the charging curve and discharge curve of battery of mobile phone
Examination.In the test process to charging curve and discharge curve, tester is needed to manually control the charging process of mobile phone, in hand
Machine battery also needs to disconnect the connection of battery of mobile phone and socket manually after completely filling, manual test discharge process again, causes later
Entire charge and discharge process can not achieve automation.
Summary of the invention
To overcome the problems in correlation technique, the embodiment of the present disclosure provide a kind of charge and discharge process test method,
Device and terminal, to solve the problems, such as that terminal shop location can not automate in charge-discharge test.
According to the first aspect of the embodiments of the present disclosure, a kind of test method of charge and discharge process is provided, comprising:
When detecting that terminal is connected to charging socket, the charge value of the end cell during the charging process is detected;
After detecting that the charge value expression is completely filled, the charging curve in the charging process, Xiang Suoshu socket are determined
It sends and stops charging instruction;
Determining that the socket disconnects being electrically connected for the end cell and charge power supply according to the stopping charging instruction
Later, preset discharge procedures on the terminal are installed in starting, determine the terminal electricity by the preset discharge procedures
The discharge curve in pond.
In one embodiment, the method may also include that
During executing the preset discharge procedures, each electric discharge journey in the preset discharge procedures is determined
The corresponding discharge capacity threshold value of sequence;
Determine each electric discharge journey when starting to execute corresponding first charge value and terminate execute when it is corresponding
Second charge value;
It is determined and described is currently being held according to first charge value, second charge value and the discharge capacity threshold value
Capable discharge procedures are with the presence or absence of abnormal.
In one embodiment, the corresponding discharge capacity threshold of each discharge procedures in the determination preset discharge procedures
Value, it may include:
Determine the Program Type of each discharge procedures in the preset discharge procedures;
The corresponding discharge capacity threshold value of each discharge procedures is determined according to the Program Type of each discharge procedures.
In one embodiment, described according to first charge value, second charge value and the discharge capacity threshold value
The discharge procedures being currently executing described in determination are with the presence or absence of abnormal, it may include:
Determine the absolute difference of first charge value Yu second charge value;
According to the size of the absolute difference and the discharge capacity threshold value;
If the absolute difference is greater than the discharge capacity threshold value, the discharge procedures being currently executing described in determination are deposited
In exception, the exception is prompted;
If the absolute difference is less than or equal to the discharge capacity threshold value, what is be currently executing described in determination is put
Electric program is normal.
In one embodiment, the method may also include that
After the preset discharge procedures executive termination, to the electric discharge journey for occurring exception in the preset discharge procedures
The listed mode of sequence is recorded;
The file of abnormal text formatting is generated according to the list.
According to the second aspect of an embodiment of the present disclosure, a kind of test device of charge and discharge process is provided, comprising:
Detection module is configured as when detecting that terminal is connected to charging socket, is detected the end cell and is being charged
Charge value in the process;
First determining module is configured as after the detection module detects that the charge value expression is completely filled, determines institute
The charging curve in charging process is stated, Xiang Suoshu socket, which is sent, stops charging instruction;
Second determining module is configured as in the stopping for determining that the socket is sent according to first determining module
After charging instruction disconnects being electrically connected of the end cell and charge power supply, starting installation preset electric discharge on the terminal
Program determines the discharge curve of the end cell by the preset discharge procedures.
In one embodiment, described device may also include that
Third determining module is configured as determining described preset during executing the preset discharge procedures
The corresponding discharge capacity threshold value of each discharge procedures in discharge procedures;
4th determining module, be configured to determine that each electric discharge journey when starting to execute corresponding first charge value with
And corresponding second charge value when terminating execution;
5th determining module is configured as first charge value determined according to the 4th determining module, described the
The electric discharge journey being currently executing described in the discharge capacity threshold value that two charge values and the third determining module determine is determining
Sequence is with the presence or absence of abnormal.
In one embodiment, the third determining module can include:
First sub- determining module is configured to determine that the program class of each discharge procedures in the preset discharge procedures
Type;
Second determines submodule, is configured as each discharge procedures determined according to the described first sub- determining module
Program Type determines the corresponding discharge capacity threshold value of each discharge procedures.
In one embodiment, the 5th determining module can include:
Third determines submodule, is configured to determine that the difference of first charge value and second charge value is absolute
Value;
Comparative sub-module is configured as the absolute difference that third described in comparison determines that submodule determines and puts with described
The size of power threshold;
4th determines submodule, if being configured as the Comparative sub-module comparison result indicates the absolute difference
Greater than the discharge capacity threshold value, there is exception in the discharge procedures being currently executing described in determination, prompt the exception;
5th determines submodule, if being configured as the Comparative sub-module comparison result indicates the absolute difference
Less than or equal to the discharge capacity threshold value, the discharge procedures being currently executing described in determination are normal.
In one embodiment, described device may also include that
Logging modle is configured as after the preset discharge procedures executive termination, determines submodule to the described 4th
There is the listed mode of abnormal discharge procedures in the determining preset discharge procedures to be recorded;
File generating module is configured as the list recorded according to the logging modle and generates abnormal text formatting
File.
According to the third aspect of an embodiment of the present disclosure, a kind of terminal is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
When detecting that terminal is connected to charging socket, the charge value of the end cell during the charging process is detected;
After detecting that the charge value expression is completely filled, the charging curve in the charging process, Xiang Suoshu socket are determined
It sends and stops charging instruction;
Determining that the socket disconnects being electrically connected for the end cell and charge power supply according to the stopping charging instruction
Later, preset discharge procedures on the terminal are installed in starting, determine the terminal electricity by the preset discharge procedures
The discharge curve in pond.
The technical scheme provided by this disclosed embodiment can include the following benefits: detect that charge value expression is full
After filling, the charging curve in charging process is determined, send to socket and stop charging instruction, so as to so that socket is filled according to stopping
Electricity instruction disconnected end battery is electrically connected with charge power supply, therefore can disconnect end by manually mode to avoid tester
The connection at end and socket;After determining socket according to being electrically connected of charging instruction disconnected end battery and charge power supply is stopped,
Preset discharge procedures at the terminal are installed in starting, so as to avoid tester from testing preset discharged one by one manually
Journey improves the degree of automation to end cell charge and discharge process, substantially reduces the time cost of tester.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.
Figure 1A is the flow chart of the test method of charge and discharge process shown according to an exemplary embodiment.
Figure 1B is the scene figure of the test method of charge and discharge process shown according to an exemplary embodiment.
Fig. 2A is the flow chart according to the test method of the charge and discharge process shown in an exemplary embodiment one.
Fig. 2 B is the flow chart according to the step S201 shown in an exemplary embodiment one.
Fig. 3 is the flow chart according to the test method of the charge and discharge process shown in an exemplary embodiment two.
Fig. 4 is a kind of block diagram of the test device of charge and discharge process shown according to an exemplary embodiment.
Fig. 5 is the block diagram of the test device of another charge and discharge process shown according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of test device suitable for charge and discharge process shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended
The example of device and method being described in detail in claims, some aspects of the invention are consistent.
Figure 1A is the flow chart of the test method of charge and discharge process shown according to an exemplary embodiment, and Figure 1B is basis
The scene figure of the test method of charge and discharge process shown in one exemplary embodiment;The test method of the charge and discharge process can answer
In the terminal (such as: smart phone, tablet computer) for being equipped with application program, as shown in Figure 1A, the charge and discharge process
Test method includes the following steps S101-S103:
In step s101, when detecting that terminal is connected to charging socket, detection end cell is during the charging process
Charge value.
In one embodiment, the charge value of end cell can be obtained by the corresponding power management module of end cell.
In step s 102, after detecting that charge value expression is completely filled, the charging curve in charging process is determined, to socket
It sends and stops charging instruction.
In one embodiment, the specific charging curve of end cell during the charging process can according to the model of battery, fill
Temperature of environment etc. where the power of electric appliance, battery because usually determining, the disclosure to the concrete shape of charging curve with no restrictions.
As shown in Figure 1B, socket 11 can have communication interface and control circuit, and the order so as to be sent according to terminal 12 is held
The corresponding movement of row, for example, after socket 11 receives the stopping charging instruction come self terminal 12 by communication interface, control circuit
It can be according to the connection for stopping charging instruction execution disconnected end 12 and power supply.
In step s 103, determining socket according to stopping being electrically connected for charging instruction disconnected end battery and charge power supply
Later, preset discharge procedures at the terminal are installed in starting, and the discharge curve of end cell is determined by preset discharge procedures.
In one embodiment, preset discharge procedures may include multiple discharge procedures, by executing different electric discharge journeys
The discharge capacity of sequence monitoring end cell changes to obtain discharge curve, so as to so that tester identifies electricity by discharge curve
Whether pond is normal.
In the present embodiment, after detecting that charge value expression is completely filled, determines the charging curve in charging process, sent out to socket
Send stopping charging instruction, so as to so that socket according to stopping being electrically connected for charging instruction disconnected end battery and charge power supply,
Therefore it can pass through the connection of manually mode disconnected end and socket to avoid tester;Determining socket according to stopping charging
After being electrically connected of instruction disconnected end battery and charge power supply, starting installation preset discharge procedures at the terminal, so as to
Preset discharge process is tested one by one manually to avoid tester, improves the automation journey to end cell charge and discharge process
Degree, substantially reduces the time cost of tester.
In one embodiment, method may also include that
During executing preset discharge procedures, determine that each discharge procedures in preset discharge procedures are corresponding
Discharge capacity threshold value;
Determine each electric discharge journey when starting to execute corresponding first charge value and terminate execute when corresponding second
Charge value;
Whether the discharge procedures that are currently executing are determined according to the first charge value, the second charge value and discharge capacity threshold value
There are exceptions.
In one embodiment, it determines the corresponding discharge capacity threshold value of each discharge procedures in preset discharge procedures, can wrap
It includes:
Determine the Program Type of each discharge procedures in preset discharge procedures;
The corresponding discharge capacity threshold value of each discharge procedures is determined according to the Program Type of each discharge procedures.
In one embodiment, it is currently executing according to the determination of the first charge value, the second charge value and discharge capacity threshold value
Discharge procedures with the presence or absence of abnormal, it may include:
Determine the absolute difference of the first charge value and the second charge value;
According to the size of absolute difference and discharge capacity threshold value;
If absolute difference is greater than discharge capacity threshold value, it is abnormal to determine that the discharge procedures being currently executing exist, to different
Often prompted;
If absolute difference is less than or equal to discharge capacity threshold value, determine that the discharge procedures being currently executing are normal.
In one embodiment, method may also include that
After preset discharge procedures executive termination, to occurring the list of abnormal discharge procedures in preset discharge procedures
Mode recorded;
The file of abnormal text formatting is generated according to list.
Specifically how to realize charge-discharge test, please refers to subsequent embodiment.
So far, the above method that the embodiment of the present disclosure provides, can disconnect end by manually mode to avoid tester
It holds the connection with socket and tester is avoided to test preset discharge process one by one manually, improve to end cell charge and discharge
The degree of automation of process greatly shortens the time cost of tester.
The technical solution of embodiment of the present disclosure offer is provided below with specific embodiment.
Fig. 2A is according to the flow chart of the test method of the charge and discharge process shown in an exemplary embodiment one, and Fig. 2 B is root
According to the flow chart of the step S201 shown in an exemplary embodiment one;The above-mentioned side that the present embodiment utilizes the embodiment of the present disclosure to provide
Method carries out exemplary theory for how monitoring discharge procedures with the presence or absence of exception during executing preset discharge procedures
It is bright, as shown in Figure 2 A, include the following steps:
In step s 201, it during executing preset discharge procedures, determines each in preset discharge procedures
The corresponding discharge capacity threshold value of discharge procedures.
In step S202, determine that each electric discharge journey corresponding first charge value and is executed when starting to execute terminating
When corresponding second charge value.
In step S203, the absolute difference of the first charge value and the second charge value is determined.
In step S204, determine whether absolute difference is greater than discharge capacity threshold value, if absolute difference is greater than electric discharge
Threshold value is measured, step S205 is executed, if absolute difference is less than or equal to discharge capacity threshold value, executes step S206.
In step S205, if absolute difference is greater than discharge capacity threshold value, the discharge procedures being currently executing are determined
There are exceptions, prompt abnormal.
In step S206, if absolute difference is less than or equal to discharge capacity threshold value, what determination was currently executing
Discharge procedures are normal.
To be equipped with 10 preset discharge procedures in terminal as illustrating for power consumption program, 10 pre-
If discharge procedures title be respectively A1, A2 ..., A10, the A1, A2 ..., A10 respectively can for it is different types of apply journey
Sequence, for example, A1 is the application program of video class, A2 is the application program etc. of text class, the discharge capacity of A1 in the process of implementation
The discharge capacity of A2 in the process of implementation can be obviously greater than, determine the corresponding electric discharge of each discharge procedures in preset discharge procedures
Threshold value is measured, discharge capacity threshold value specifically how is determined, may refer to the description of following Fig. 2 B.In the test process of discharge procedures
In, if the discharge procedures being currently executing are A1, it can recorde A1 corresponding power consumption a% when starting to execute, in A1
After being finished, record A1 corresponding first charge value a% and corresponding second electricity when terminating execution when starting to execute
Magnitude b%, if absolute difference | a%-b% | it is greater than the corresponding discharge capacity threshold value of A1, indicates that A1 exists during the test
Such as the exception of program endless loop is executed, tester can be prompted to detect A1.
In one embodiment, as shown in Figure 2 B, the corresponding electric discharge of each discharge procedures in preset discharge procedures is determined
Amount threshold value can be realized by following processes, comprising:
In step S211, the Program Type of each discharge procedures in preset discharge procedures is determined.
In one embodiment, can classify to the Program Type of each discharge procedures in preset discharge procedures,
Program Type example be can be video class or text class.
In step S212, the corresponding discharge capacity threshold of each discharge procedures is determined according to the Program Type of each discharge procedures
Value.
In one embodiment, the corresponding discharge capacity threshold value of each discharge procedures can be according to passing through the test to discharge procedures
It obtains, for example, discharge capacity threshold value can be 15%, the discharge procedures of text class, discharge capacity threshold for the discharge procedures of video class
Value can be 7%, and by the setting of discharge capacity threshold value, may be implemented whether there is discharge procedures itself detects extremely,
If the power consumption of discharge procedures in the process of implementation is larger, it is abnormal to illustrate that the discharge procedures exist, so as to prompt to test
Personnel adjust the Test Strategy of terminal, avoid reducing the testing efficiency to terminal since the testing time of discharge procedures is too long.
The present embodiment is on the basis of the advantageous effects with above-described embodiment, by existing to preset discharge procedures
The variation that the discharge capacity of end cell is detected in implementation procedure, can also in the detection process to end cell so as to realize
It enough determines that discharge procedures with the presence or absence of exception, keep the test to terminal more comprehensive, improves tester and the test of terminal is imitated
Rate.
Fig. 3 is the flow chart according to the test method of the charge and discharge process shown in an exemplary embodiment two;The present embodiment
Using the embodiment of the present disclosure provide the above method, with after preset discharge procedures executive termination how to preset electric discharge journey
Whether sequence illustrates for exception, as shown in figure 3, including the following steps:
In step S301, after preset discharge procedures executive termination, abnormal to appearance in preset discharge procedures
The listed mode of discharge procedures is recorded.
In step s 302, the file for indicating abnormal program is generated according to list.
For example, 10 preset discharge procedures being equipped with again using in terminal in above-mentioned Fig. 2A illustrated embodiment are as power consumption
Illustrated for program, successively execute A1, A2 ..., A10 during, if pass through above-mentioned Figure 1A or figure
It is abnormal that 2A illustrated embodiment detects that A1, A3, A6 occur, then A1, A3, A6 and corresponding discharge capacity are in a manner of list
It is recorded, and is generated according to the list recorded for indicating the file of abnormal program, filled so that tester be facilitated to consult
Where the problems in discharge process.
The present embodiment is on the basis of the advantageous effects with above-described embodiment, by going out in preset discharge procedures
The now abnormal listed mode of discharge procedures is recorded, and generates the file for indicating abnormal program according to list, can be with
Make to have more specific aim to the charge-discharge test of terminal.
Fig. 4 is a kind of block diagram of the test device of charge and discharge process shown according to an exemplary embodiment, such as Fig. 4 institute
Show, the test device of charge and discharge process includes:
Detection module 41 is configured as when detecting that terminal is connected to charging socket, and detection end cell was charging
Charge value in journey;
First determining module 42 is configured as after detection module 41 detects that charge value expression is completely filled, and determination was charged
Charging curve in journey sends to socket and stops charging instruction;
Second determining module 43 is configured as in the stopping charging instruction for determining that socket is sent according to the first determining module 42
After being electrically connected of disconnected end battery and charge power supply, starting installation preset discharge procedures at the terminal, by preset
Discharge procedures determine the discharge curve of end cell.
Fig. 5 is the block diagram of the test device of another charge and discharge process shown according to an exemplary embodiment, such as Fig. 5 institute
Show, on the basis of above-mentioned embodiment illustrated in fig. 4, in one embodiment, device may also include that
Third determining module 44 is configured as determining preset electric discharge journey during executing preset discharge procedures
The corresponding discharge capacity threshold value of each discharge procedures in sequence;
4th determining module 45, be configured to determine that each electric discharge journey when starting to execute corresponding first charge value and
Corresponding second charge value when terminating execution;
5th determining module 46 is configured as the first charge value, the second charge value determined according to the 4th determining module 45
And the discharge capacity threshold value that third determining module 44 determines determines the discharge procedures being currently executing with the presence or absence of abnormal.
In one embodiment, third determining module 44 can include:
First sub- determining module 441, is configured to determine that the program class of each discharge procedures in preset discharge procedures
Type;
Second determines submodule 442, is configured as the journey of each discharge procedures determined according to the first sub- determining module 441
Sequence type determines the corresponding discharge capacity threshold value of each discharge procedures.
In one embodiment, the 5th determining module 46 can include:
Third determines submodule 461, is configured to determine that the absolute difference of the first charge value and the second charge value;
Comparative sub-module 462 is configured as comparing the absolute difference and discharge capacity threshold that third determines that submodule 461 determines
The size of value;
4th determines submodule 463, if being configured as 462 comparison result of Comparative sub-module indicates that absolute difference is big
In discharge capacity threshold value, it is abnormal to determine that the discharge procedures being currently executing exist, prompts abnormal;
5th determines submodule 464, if being configured as 462 comparison result of Comparative sub-module indicates that absolute difference is small
In or equal to discharge capacity threshold value, determine that the discharge procedures being currently executing are normal.
In one embodiment, device may also include that
Logging modle 47 is configured as after preset discharge procedures executive termination, determines that submodule 463 determines to the 4th
Preset discharge procedures in there is the listed mode of abnormal discharge procedures and recorded;
File generating module 48 is configured as the text that the list recorded according to logging modle 47 generates abnormal text formatting
Part.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 6 is a kind of block diagram of test device suitable for charge and discharge process shown according to an exemplary embodiment.Example
Such as, device 600 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, and plate is set
It is standby, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig. 6, device 600 may include following one or more components: processing component 602, memory 604, power supply
Component 606, multimedia component 608, audio component 610, the interface 612 of input/output (I/O), sensor module 614, and
Communication component 616.
The integrated operation of the usual control device 600 of processing component 602, such as with display, telephone call, data communication, phase
Machine operation and record operate associated operation.Processing element 602 may include that one or more processors 620 refer to execute
It enables, to perform all or part of the steps of the methods described above.In addition, processing component 602 may include one or more modules, just
Interaction between processing component 602 and other assemblies.For example, processing component 602 may include multi-media module, it is more to facilitate
Interaction between media component 608 and processing component 602.
Memory 604 is configured as storing various types of data to support the operation in equipment 600.These data are shown
Example includes the instruction of any application or method for operating on device 600, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 604 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Electric power assembly 606 provides electric power for the various assemblies of device 600.Electric power assembly 606 may include power management system
System, one or more power supplys and other with for device 600 generate, manage, and distribute the associated component of electric power.
Multimedia component 608 includes the screen of one output interface of offer between described device 600 and user.One
In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings
Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action
Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers
Body component 608 includes a front camera and/or rear camera.When equipment 600 is in operation mode, such as screening-mode or
When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 610 is configured as output and/or input audio signal.For example, audio component 610 includes a Mike
Wind (MIC), when device 600 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched
It is set to reception external audio signal.The received audio signal can be further stored in memory 604 or via communication set
Part 616 is sent.In some embodiments, audio component 610 further includes a loudspeaker, is used for output audio signal.
I/O interface 612 provides interface between processing component 602 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock
Determine button.
Sensor module 614 includes one or more sensors, and the state for providing various aspects for device 600 is commented
Estimate.For example, sensor module 614 can detecte the state that opens/closes of equipment 600, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 600, and sensor module 614 can be with 600 1 components of detection device 600 or device
Position change, the existence or non-existence that user contacts with device 600,600 orientation of device or acceleration/deceleration and device 600
Temperature change.Sensor module 614 may include proximity sensor, be configured to detect without any physical contact
Presence of nearby objects.Sensor module 614 can also include optical sensor, such as CMOS or ccd image sensor, at
As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 616 is configured to facilitate the communication of wired or wireless way between device 600 and other equipment.Device
600 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation
In example, communication component 616 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 616 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 600 can be believed by one or more application specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 604 of instruction, above-metioned instruction can be executed by the processor 620 of device 600 to complete the above method.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (10)
1. a kind of test method of charge and discharge process, which is characterized in that the described method includes:
When detecting that terminal is connected to charging socket, the charge value of the end cell during the charging process is detected;
After detecting that the charge value expression is completely filled, determine that the charging curve in the charging process, Xiang Suoshu socket are sent
Stop charging instruction;
After determining the socket according to the stopping charging instruction and disconnecting being electrically connected of the end cell and charge power supply,
Preset discharge procedures on the terminal are installed in starting, determine putting for the end cell by the preset discharge procedures
Electric curve;
During executing the preset discharge procedures, each discharge procedures pair in the preset discharge procedures are determined
The discharge capacity threshold value answered;
Determine each electric discharge journey when starting to execute corresponding first charge value and terminate execute when corresponding second
Charge value;
It is currently executing according to the determination of first charge value, second charge value and the discharge capacity threshold value
Discharge procedures are with the presence or absence of abnormal.
2. the method according to claim 1, wherein each in the determination preset discharge procedures is put
The corresponding discharge capacity threshold value of electric program, comprising:
Determine the Program Type of each discharge procedures in the preset discharge procedures;
The corresponding discharge capacity threshold value of each discharge procedures is determined according to the Program Type of each discharge procedures.
3. the method according to claim 1, wherein described according to first charge value, second electricity
The discharge procedures being currently executing described in value and discharge capacity threshold value determination are with the presence or absence of abnormal, comprising:
Determine the absolute difference of first charge value Yu second charge value;
Compare the size of the absolute difference Yu the discharge capacity threshold value;
If the absolute difference is greater than the discharge capacity threshold value, there are different for the discharge procedures being currently executing described in determination
Often, the exception is prompted;
If the absolute difference is less than or equal to the discharge capacity threshold value, the electric discharge journey being currently executing described in determination
Sequence is normal.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
After the preset discharge procedures executive termination, to having there are abnormal discharge procedures in the preset discharge procedures
The mode of list is recorded;
The file of abnormal text formatting is generated according to the list.
5. a kind of test device of charge and discharge process, which is characterized in that described device includes:
Detection module is configured as when detecting that terminal is connected to charging socket, detects the end cell in charging process
In charge value;
First determining module is configured as after the detection module detects that the charge value expression is completely filled, fills described in determination
Charging curve in electric process, Xiang Suoshu socket, which is sent, stops charging instruction;
Second determining module is configured as in the stopping charging for determining that the socket is sent according to first determining module
After instruction disconnects being electrically connected of the end cell and charge power supply, starting installation preset electric discharge journey on the terminal
Sequence determines the discharge curve of the end cell by the preset discharge procedures;
Third determining module is configured as determining the preset electric discharge during executing the preset discharge procedures
The corresponding discharge capacity threshold value of each discharge procedures in program;
4th determining module, be configured to determine that each electric discharge journey when starting to execute corresponding first charge value and
Terminate corresponding second charge value when executing;
5th determining module is configured as first charge value determined according to the 4th determining module, second electricity
The discharge capacity threshold value that magnitude and the third determining module determine determine described in the discharge procedures that are currently executing be
It is no to there is exception.
6. device according to claim 5, which is characterized in that the third determining module includes:
First sub- determining module is configured to determine that the Program Type of each discharge procedures in the preset discharge procedures;
Second determines submodule, is configured as the program of each discharge procedures determined according to the described first sub- determining module
Type determines the corresponding discharge capacity threshold value of each discharge procedures.
7. device according to claim 5, which is characterized in that the 5th determining module includes:
Third determines submodule, is configured to determine that the absolute difference of first charge value Yu second charge value;
Comparative sub-module is configured as the absolute difference and the discharge capacity that third described in comparison determines that submodule determines
The size of threshold value;
4th determines submodule, if being configured as the Comparative sub-module comparison result indicates that the absolute difference is greater than
The discharge capacity threshold value, determine described in the discharge procedures that are currently executing exist abnormal, the exception is prompted;
5th determines submodule, if being configured as the Comparative sub-module comparison result indicates that the absolute difference is less than
Or it is equal to the discharge capacity threshold value, the discharge procedures being currently executing described in determination are normal.
8. device according to claim 5, which is characterized in that described device further include:
Logging modle is configured as after the preset discharge procedures executive termination, determines that submodule determines to the described 4th
The preset discharge procedures in there is the listed mode of abnormal discharge procedures and recorded;
File generating module is configured as the text that the list recorded according to the logging modle generates abnormal text formatting
Part.
9. a kind of terminal, which is characterized in that the terminal includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
When detecting that terminal is connected to charging socket, the charge value of the end cell during the charging process is detected;
After detecting that the charge value expression is completely filled, determine that the charging curve in the charging process, Xiang Suoshu socket are sent
Stop charging instruction;
After determining the socket according to the stopping charging instruction and disconnecting being electrically connected of the end cell and charge power supply,
Preset discharge procedures on the terminal are installed in starting, determine putting for the end cell by the preset discharge procedures
Electric curve;
During executing the preset discharge procedures, each discharge procedures pair in the preset discharge procedures are determined
The discharge capacity threshold value answered;
Determine each electric discharge journey when starting to execute corresponding first charge value and terminate execute when corresponding second
Charge value;
It is currently executing according to the determination of first charge value, second charge value and the discharge capacity threshold value
Discharge procedures are with the presence or absence of abnormal.
10. a kind of computer readable storage medium, is stored thereon with computer instruction, which is characterized in that the instruction is by processor
The step of any one of Claims 1 to 4 the method is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510710732.4A CN106610476B (en) | 2015-10-27 | 2015-10-27 | Test method, device and the terminal of charge and discharge process |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510710732.4A CN106610476B (en) | 2015-10-27 | 2015-10-27 | Test method, device and the terminal of charge and discharge process |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106610476A CN106610476A (en) | 2017-05-03 |
CN106610476B true CN106610476B (en) | 2019-05-07 |
Family
ID=58614437
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510710732.4A Active CN106610476B (en) | 2015-10-27 | 2015-10-27 | Test method, device and the terminal of charge and discharge process |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106610476B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109116241A (en) * | 2018-06-28 | 2019-01-01 | 厦门美图移动科技有限公司 | A kind of battery testing method, mobile terminal and storage medium |
CN109189616A (en) * | 2018-07-26 | 2019-01-11 | 上海与德通讯技术有限公司 | A kind of discharge test method and terminal to be measured |
CN109116248A (en) * | 2018-07-26 | 2019-01-01 | 郑州云海信息技术有限公司 | A kind of ageing testing method and device of battery module |
CN111044813B (en) * | 2019-11-27 | 2021-04-27 | 深圳猛犸电动科技有限公司 | Charging mode identification method and device and terminal equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1389950A (en) * | 2001-05-31 | 2003-01-08 | 深圳市中兴通讯股份有限公司 | Judging method of accumulator charging and discharging state |
CN102439472A (en) * | 2009-05-20 | 2012-05-02 | 日产自动车株式会社 | Battery voltage monitoring device |
CN102608533A (en) * | 2011-01-20 | 2012-07-25 | 鸿富锦精密工业(深圳)有限公司 | System and method for testing charge-discharge reliability of battery |
CN202614911U (en) * | 2012-02-17 | 2012-12-19 | 中国船舶重工集团公司第七一二研究所 | Charging/discharging test device of lithium ion battery |
CN104635164A (en) * | 2015-01-26 | 2015-05-20 | 上海天奕达电子科技有限公司 | Battery charging and discharging stability testing method of intelligent terminal and intelligent terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3799254B2 (en) * | 2001-08-31 | 2006-07-19 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Electric apparatus, computer apparatus, charging method in electric apparatus, and program |
-
2015
- 2015-10-27 CN CN201510710732.4A patent/CN106610476B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1389950A (en) * | 2001-05-31 | 2003-01-08 | 深圳市中兴通讯股份有限公司 | Judging method of accumulator charging and discharging state |
CN102439472A (en) * | 2009-05-20 | 2012-05-02 | 日产自动车株式会社 | Battery voltage monitoring device |
CN102608533A (en) * | 2011-01-20 | 2012-07-25 | 鸿富锦精密工业(深圳)有限公司 | System and method for testing charge-discharge reliability of battery |
CN202614911U (en) * | 2012-02-17 | 2012-12-19 | 中国船舶重工集团公司第七一二研究所 | Charging/discharging test device of lithium ion battery |
CN104635164A (en) * | 2015-01-26 | 2015-05-20 | 上海天奕达电子科技有限公司 | Battery charging and discharging stability testing method of intelligent terminal and intelligent terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106610476A (en) | 2017-05-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104951335B (en) | The processing method and processing device of application program installation kit | |
CN107843802A (en) | Internal short-circuit detection method and device | |
CN105071473B (en) | USB charging methods and device | |
CN105896666A (en) | Charging method and device of terminal and terminal | |
CN106610476B (en) | Test method, device and the terminal of charge and discharge process | |
CN105720644A (en) | Charging control method and device and terminal device | |
CN104578372A (en) | Method and device for controlling charging of terminal device | |
CN105162193A (en) | Charging method and charging apparatus for terminal, and terminal | |
CN105530384A (en) | Method and device for power reminding based on alarm clock | |
CN106231093A (en) | Alarm clock prompting method and device | |
CN105356529A (en) | Prompting method and apparatus for rapid charging state | |
CN106230066A (en) | Charge prompting method and apparatus | |
CN106067571A (en) | Method and electronic equipment for battery charging | |
CN106407079A (en) | Mobile terminal charging prompting method, device and equipment | |
CN105630655B (en) | A kind of method and apparatus of prompt charging connection | |
CN105975038A (en) | Prompt method and device of charging port detection result | |
US20220029444A1 (en) | Charging Management Method, Graphical User Interface, and Related Apparatus | |
CN105357386A (en) | Short message sequencing method and device | |
CN106026232A (en) | Detecting method and apparatus for USB port type | |
CN109951701A (en) | Monitor fault handling method and device | |
CN106231072A (en) | The control method of prompting message, device and terminal unit | |
CN106877451B (en) | Charging port short-circuit protection method and device | |
CN105630354A (en) | Application control method and device | |
CN109149669A (en) | Battery modules and its control method, charging adapter and its control method | |
CN107681727A (en) | The control method and device of 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |