Charging test method, device, terminal and storage medium

By installing a recording tool on the mobile terminal to record the charging process and generate operating files, the problems of short circuit risk and high cost in the existing charging test methods are solved, and a safe, stable and low-cost charging test is achieved.

CN112684360BActive Publication Date: 2025-01-21NANTONG TEDA INTERNET OF THINGS TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202011476973.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-15
Publication Date
2025-01-21
Estimated Expiration
2040-12-15

AI Technical Summary

Technical Problem

The existing charging testing methods have the risk of short circuits on the motherboard and burning the motherboard, and it takes a lot of time. The special testing instruments are expensive, resulting in high testing costs.

Method used

By installing a recording tool on the first terminal, when the terminal is in charging state, its operation is recorded, and when the set conditions are reached, the recording is stopped, a running file is generated, and then the file is sent to the second terminal so that the second terminal can Get charging data based on file.

Benefits of technology

This method avoids the risk of disassembling the terminal and connecting the motherboard, improves the safety and stability of charging testing, and reduces testing costs because no dedicated testing instruments are required.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112684360B_ABST
    Figure CN112684360B_ABST
Patent Text Reader

Abstract

The present application relates to the field of charging technology, and provides a charging test method, device, terminal and storage medium. The method is applied to a first terminal, and the first terminal is connected to a second terminal in communication. When the first terminal is in a charging state, the first terminal responds to a first instruction and calls a recording tool to record the operation of the first terminal; when the set conditions are met, the operation of the first terminal is stopped, and the operation file of the first terminal is obtained; and the operation file is sent to the second terminal, so that the second terminal obtains the charging data of the first terminal according to the operation file. The safety and stability of the charging test are improved, and the test cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of charging technology, and in particular to a charging test method, device, terminal and storage medium. Background Art

[0002] Before leaving the factory, the battery of a mobile terminal usually needs to be charged and tested to ensure the charging performance of the battery.

[0003] The existing charging test method usually connects the mainboard of the mobile terminal to a dedicated test instrument for testing. This method not only has the risk of short-circuiting or burning the mainboard, but also takes a lot of time. In addition, the dedicated test instrument is expensive, resulting in high testing costs. Summary of the invention

[0004] In view of this, the purpose of the present application is to provide a charging test method, device, terminal and storage medium.

[0005] In order to achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:

[0006] In a first aspect, the present invention provides a charging test method, which is applied to a first terminal, wherein a recording tool is installed in the first terminal; the first terminal is in communication connection with a second terminal; the method comprises:

[0007] When the first terminal is in a charging state, responding to a first instruction, calling the recording tool to record the operation status of the first terminal;

[0008] When a set condition is met, stop recording the operation status of the first terminal and obtain the operation file of the first terminal;

[0009] The operation file is sent to the second terminal, so that the second terminal obtains the charging data of the first terminal according to the operation file.

[0010] In an optional implementation manner, when a set condition is met, the step of stopping recording the operation status of the first terminal and obtaining the operation file of the first terminal includes:

[0011] In response to the second instruction, the operation status of the first terminal is stopped from being recorded, and the operation file of the first terminal is obtained.

[0012] In an optional implementation manner, when a set condition is met, the step of stopping recording the operation status of the first terminal and obtaining the operation file of the first terminal includes:

[0013] When the duration of calling the recording tool to record the operation status of the first terminal exceeds a set duration, the recording of the operation status of the first terminal is stopped, and the operation file of the first terminal is obtained.

[0014] In an optional implementation, the operation file includes a plurality of logs, one of the logs corresponds to a hardware identifier of the first terminal, and each of the logs includes a plurality of fields and data corresponding to each field; the second terminal is installed with a processing tool; and the process of the second terminal obtaining the charging data of the first terminal according to the operation file includes:

[0015] The second terminal responds to the third instruction and calls the processing tool to read the operation file;

[0016] The second terminal receives a fourth instruction, where the fourth instruction includes a battery identifier of the first terminal;

[0017] The second terminal calls the processing tool to obtain a target log corresponding to the battery identifier from the plurality of logs according to the battery identifier;

[0018] The second terminal receives a fifth instruction, the fifth instruction includes a target field, and the target field includes a voltage field and a current field;

[0019] The second terminal calls the processing tool to obtain data corresponding to the target field from the target log according to the target field, and obtains charging data, where the charging data includes data corresponding to the voltage field and data corresponding to the current field.

[0020] In an optional implementation manner, after the step of sending the operation file to the second terminal so that the second terminal obtains the charging data of the first terminal according to the operation file, the method further includes:

[0021] The second terminal generates a charging curve of the first terminal according to the charging data.

[0022] In a second aspect, the present invention provides a charging test device, which is applied to a first terminal, wherein a recording tool is installed in the first terminal; the first terminal is communicatively connected with a second terminal; and the device comprises:

[0023] A first calling module, configured to, when the first terminal is in a charging state, respond to a first instruction and call the recording tool to record the operation status of the first terminal;

[0024] A second calling module is used to stop recording the operation status of the first terminal and obtain the operation file of the first terminal when a set condition is met;

[0025] The sending module is used to send the operation file to the second terminal, so that the second terminal obtains the charging data of the first terminal according to the operation file.

[0026] In an optional implementation manner, the second calling module is specifically used to:

[0027] In response to the second instruction, the operation status of the first terminal is stopped from being recorded, and the operation file of the first terminal is obtained.

[0028] In an optional implementation manner, the second calling module is specifically used to:

[0029] When the duration of calling the recording tool to record the operation status of the first terminal exceeds a set duration, the recording of the operation status of the first terminal is stopped, and the operation file of the first terminal is obtained.

[0030] In a third aspect, the present invention provides a terminal, including a processor and a memory, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the charging test method described in any one of the aforementioned embodiments are implemented.

[0031] In a fourth aspect, the present invention provides a storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the charging test method described in any one of the aforementioned embodiments are implemented.

[0032] The embodiments of the present application provide a charging test method, device, terminal and storage medium. The charging test method is applied to a first terminal. When the first terminal is in a charging state, the first terminal responds to a first instruction, calls a recording tool to start recording the operation status, and stops recording the operation status when the set conditions are met, obtains an operation file, and sends the operation file to a second terminal, so that the second terminal obtains the charging data of the first terminal according to the operation file. Through the charging test method, device, terminal, and readable storage medium provided by the embodiments of the present application, during the charging test process, there is no need to disassemble the terminal or connect to the mainboard of the terminal, which avoids the risk of short circuit, improves the safety and stability of the charging test, and does not require expensive dedicated test instruments, thereby reducing the test cost.

[0033] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0035] Figure 1 A schematic diagram of a charging test method provided in an embodiment of the present application is shown;

[0036] Figure 2 Another schematic diagram of a charging test method provided in an embodiment of the present application is shown;

[0037] Figure 3 Another schematic diagram of a charging test method provided in an embodiment of the present application is shown;

[0038] Figure 4 Another schematic diagram of a charging test method provided in an embodiment of the present application is shown;

[0039] Figure 5 An example diagram of a charging test method provided by an embodiment of the present application is shown;

[0040] Figure 6 A functional module diagram of a charging test device provided in an embodiment of the present application is shown;

[0041] Figure 7 A block diagram of a terminal provided in an embodiment of the present application is shown.

[0042] Icons: 100 - charging test device; 110 - first calling module; 120 - second calling module; 130 - sending module. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0044] Before leaving the factory, the battery of a mobile terminal usually needs to be charged and tested to ensure the charging performance of the battery.

[0045] The designers of this application discovered during their research that in the related art, the battery charging test requires connecting a sampling resistor between the positive electrode and the negative electrode of the battery on the mobile terminal mainboard, and using a dedicated test instrument to detect the real-time voltage of the battery and the real-time current on the sampling resistor, to obtain charging test data for analysis. During the test, the mobile terminal needs to be disassembled, and wires need to be strung together on the mobile terminal mainboard. If the operation is improper, there is a risk of short circuit and board burn. At the same time, continuous testing is required to ensure that the charging power is within an acceptable range, which takes a lot of time and requires the use of dedicated test instruments. Dedicated test instruments are expensive, and the cost of charging testing is high. Therefore, in order to improve the above problems, the embodiments of this application provide a charging test method, device, terminal, and storage medium.

[0046] like Figure 1 As shown, a flow chart of a charging test method is provided. The embodiment uses the method applied to the first terminal as an example. It can be understood that the method can also be applied to a system including the first terminal and the second terminal, and is implemented through the interaction between the first terminal and the second terminal. In this embodiment, the first terminal is installed with a recording tool, and the second terminal is installed with a processing tool. The method includes the following steps:

[0047] Step S102: When the first terminal is in a charging state, in response to a first instruction, a recording tool is called to record the operation status of the first terminal.

[0048] Among them, the first terminal can be a smart phone, a smart watch, a portable wearable device, etc. It should be noted that these terminals are usually installed with operating systems that support their operation, such as Android system and IOS system.

[0049] The recording tool is an application installed on the terminal, which can record the operation status of the terminal during operation and generate operation files, such as LOG capture tools and Xcode tools.

[0050] In this implementation, the smartphone is connected to a power source to be charged. Taking a smartphone installed with an Android system as an example, the test instructions set by the smartphone manufacturer can be entered on the phone call page to enter the hardware test list. In the hardware test list, click the LOG capture tool to start recording the operation status of the smartphone.

[0051] Step S104: when the set condition is met, stop recording the operation status of the first terminal and obtain the operation file of the first terminal.

[0052] The operation file is a text file that records the operation status of the terminal, which can be understood as a log file that records the operation records of each hardware unit of the terminal. It can be a file in .txt format or a file in .log format.

[0053] In this embodiment, the terminal can stop recording the operation status by responding to an instruction, or by setting a time length. When the set time length is exceeded, the operation status can be stopped. The operation status can also be stopped by receiving a stop message sent by other terminals.

[0054] Step S106: sending the operation file to the second terminal, so that the second terminal obtains the charging data of the first terminal according to the operation file.

[0055] The second terminal may be a computer, and a processing tool is installed on the second terminal. The processing tool is a text editing tool that can find, search, and edit text files, such as Notepad++ tool, editplus tool, and UltraEdit tool.

[0056] In this embodiment, the USB bus can be used to connect the smart phone to the computer to establish communication, and then the operation file can be stored in the computer. The operation file can be viewed through a processing tool to obtain the charging data of the smart phone.

[0057] Through the above steps, when the first terminal is in a charging state, the first terminal responds to the first instruction, calls the recording tool to record the operation status of the first terminal, and stops recording the operation status when the set condition is met, obtains the operation file, and sends the operation file to the second terminal, so that the second terminal obtains the charging data of the first terminal according to the operation file. The above method does not require the disassembly of the terminal or the use of a dedicated test instrument. By using the recording tool to record the operation status of the terminal during the charging process and obtaining the charging data according to the operation file, the safety and stability of the charging test are improved and the risk of short circuit is avoided.

[0058] like Figure 2 As shown, another flow chart of the charging test method is provided. In this embodiment, a possible implementation method is provided for the above step S104, and step S104 includes the following sub-steps:

[0059] Step S104A, responding to the second instruction, stopping recording the operation status of the first terminal, and obtaining the operation file of the first terminal.

[0060] The second instruction is an operation performed by a user on the first terminal and is received by the first terminal.

[0061] In this embodiment, when it is checked that the battery of the smartphone is fully charged, or when the initial battery charge and the current battery charge reach a certain difference, such as when the difference is 20%, the LOG capture tool can be clicked so that the smartphone receives a response, the LOG capture tool is closed, and the operation status of the smartphone is stopped.

[0062] The first terminal can close the recording tool and stop recording the operation status by responding to the second instruction, and obtain the operation file. According to the actual situation of the charging test, the recording tool can be turned on and off, and the recording time of the operation status can be controlled, thereby simplifying the operation of the charging test and reducing the test cost.

[0063] like Figure 3 As shown, another flow chart of the charging test method is provided. In this embodiment, a possible implementation method is provided for the above step S104, and step S104 includes the following sub-steps:

[0064] Step S104B: when the duration of calling the recording tool to record the operation status of the first terminal exceeds the set duration, the operation status of the first terminal is stopped to obtain the operation file of the first terminal.

[0065] The set duration is a pre-set duration value, such as 30 minutes or 60 minutes.

[0066] In this embodiment, when the recording tool is called, a duration is set. When the recording time of the recording tool exceeds the set duration, the recording tool is closed and the recording of the operation of the first terminal is stopped.

[0067] Preferably, the set time can be set to 30 minutes. The recording time is related to the charging data obtained. When the recording time is short, less charging data is obtained, which is not convenient for subsequent data analysis.

[0068] By setting the set time, the recording time can be automatically controlled, and multiple charging tests can be performed, thereby simplifying the operation of the charging test and reducing the test cost.

[0069] like Figure 4 As shown, another flow chart of the charging test method is provided. In this embodiment, a possible implementation method is provided for the above step S106, and step S106 includes the following sub-steps:

[0070] Step S1062: The second terminal responds to the third instruction and calls a processing tool to read the operation file.

[0071] The third instruction is an operation performed by the user on the second terminal and is received by the second terminal.

[0072] In this embodiment, the user clicks on the processing tool installed on the computer to open the running file, so that the processing tool reads the content in the running file and obtains the logs of each hardware unit of the smart phone.

[0073] Step S1064: the second terminal receives a fourth instruction, the fourth instruction including the battery identification of the first terminal, and the second terminal calls a processing tool to obtain a target log corresponding to the battery identification from multiple logs according to the battery identification.

[0074] It should be noted that the hardware identification corresponding to each hardware unit of the smartphone is recorded in the running file, such as the battery identification is battery I, and the log corresponding to each hardware of the smartphone can be found through the hardware identification.

[0075] The fourth instruction is an operation performed by the user on the second terminal, and the second terminal receives the instruction. The target log is a log corresponding to the battery identifier.

[0076] In this embodiment, the user uses the search function in the processing tool to enter "battery 1" in the search target column to find the log corresponding to the battery, such as Figure 5 (a) in the figure is part of the log information corresponding to the battery of the smartphone.

[0077] Step S1066, the second terminal receives the fifth instruction, the fifth instruction includes a target field, the target field includes a voltage field and a current field, and the second terminal calls the processing tool to obtain data corresponding to the target field from the target log based on the target field to obtain charging data, the charging data includes data corresponding to the voltage field and data corresponding to the current field.

[0078] The fifth instruction is an operation performed by the user on the second terminal and is received by the second terminal.

[0079] In this embodiment, the log corresponding to the battery records fields related to the battery, such as field V representing the voltage of the battery, field C representing the current of the battery, and data corresponding to the fields, such as voltage data and current data.

[0080] In this embodiment, voltage data corresponding to the voltage field and current data corresponding to the current field are obtained through the voltage field and the current field.

[0081] After obtaining the charging data, the charging curve of the first terminal can also be generated according to the charging data. Please continue to refer to Figure 4 , after step S1066, step S108 can also be performed.

[0082] Step S108: The second terminal obtains charging data of the first terminal according to the operation file, and generates a charging curve of the first terminal according to the charging data.

[0083] In this embodiment, the voltage data and current data can be obtained to generate a charging curve of the first terminal. Optionally, the charging curve can be generated using a spreadsheet software Excel tool, such as Figure 5 (b) in FIG. 1 is a charging curve generated based on voltage data and current data, where H represents the voltage curve and L represents the current curve.

[0084] Through the above steps, the first terminal sends the operation file to the second terminal, the second terminal reads the operation file by calling the processing tool, obtains the log corresponding to the battery from multiple logs through the hardware identifier, obtains the voltage field and current field and corresponding data from the log, obtains the charging data of the first terminal, and generates a charging curve based on the charging data. This simplifies the operation of the charging test, obtains the charging data, improves the safety and stability of the charging test, and reduces the test cost.

[0085] like Figure 6 As shown, a charging test device 100 is provided, comprising: a first calling module 110, a second calling module 120 and a sending module 130, wherein:

[0086] The first calling module 110 is used to call a recording tool to record the operation status of the first terminal in response to a first instruction when the first terminal is in a charging state.

[0087] The second calling module 120 is used to stop recording the operation status of the first terminal and obtain the operation file of the first terminal when a set condition is met.

[0088] The sending module 130 is used to send the operation file to the second terminal, so that the second terminal obtains the charging data of the first terminal according to the operation file.

[0089] Optionally, the second calling module 120 is specifically configured to respond to the second instruction, stop recording the operation status of the first terminal, and obtain the operation file of the first terminal.

[0090] Optionally, the second calling module 120 is specifically configured to stop recording the operation status of the first terminal and obtain the operation file of the first terminal when the duration of calling the recording tool to record the operation status of the first terminal exceeds a set duration.

[0091] Optionally, the operation file includes a plurality of logs, one log corresponds to a hardware identifier of the first terminal, and each log includes a plurality of fields and data corresponding to each field; the second terminal is installed with a processing tool;

[0092] The sending module 130 executes the method in which the second terminal obtains the charging data of the first terminal according to the operation file, including:

[0093] The second terminal responds to the third instruction and calls the processing tool to read the operation file;

[0094] The second terminal receives a fourth instruction, where the fourth instruction includes a battery identifier of the first terminal;

[0095] The second terminal calls a processing tool to obtain a target log corresponding to the battery identifier from multiple logs according to the battery identifier;

[0096] The second terminal receives a fifth instruction, the fifth instruction includes a target field, and the target field includes a voltage field and a current field;

[0097] The second terminal calls a processing tool to obtain data corresponding to the target field from the target log according to the target field, and obtains charging data, where the charging data includes data corresponding to the voltage field and data corresponding to the current field.

[0098] The sending module 130 executes the method of sending the operation file to the second terminal so that the second terminal obtains the charging data of the first terminal according to the operation file, including:

[0099] The operation file is sent to the second terminal, so that the second terminal obtains the charging data of the first terminal according to the operation file, and generates a charging curve of the first terminal according to the charging data.

[0100] Since it is possible to implement the charging test without disassembling the terminal or using special testing instruments, the operation of the terminal during the charging process can be recorded by using recording tools, and the charging data can be obtained based on the operation file, thereby improving the safety and stability of the charging test and avoiding the risk of short circuit.

[0101] For the specific definition of the charging test device, please refer to the definition of the charging test method above, which will not be repeated here. Each module in the above-mentioned charging test device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the terminal in the form of hardware, or can be stored in the memory in the terminal in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0102] like Figure 7 As shown, a terminal is provided, and the internal structure diagram of the terminal can be shown as Figure 7As shown. The terminal includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the terminal is used to provide computing and control capabilities. The memory of the terminal includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the terminal is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a charging test method is implemented. The display screen of the terminal can be a liquid crystal display screen or an electronic ink display screen, and the input device of the terminal can be a touch layer covered on the display screen, or a button, a trackball or a touchpad provided on the terminal housing, or an external keyboard, touchpad or mouse, etc.

[0103] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the terminal to which the scheme of the present application is applied. The specific terminal may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0104] The charging test device 100 provided in the present application can be implemented in the form of a computer program. The computer program can be Figure 7 The terminal memory may store various program modules constituting the charging test device, for example, Figure 6 The first calling module 110, the second calling module 120 and the sending module 130 are shown. The computer program composed of various program modules enables the processor to execute the steps of the charging test method of each embodiment of the present application described in this specification.

[0105] Figure 7 The terminal shown can be Figure 6 The first calling module 110 in the charging test device shown executes step S102. The terminal may execute step S104 through the second calling module 120. The terminal may execute step S106 through the sending module 130.

[0106] In this embodiment, a terminal is provided, including a memory and a processor, the memory storing a computer program, and the processor implementing the following steps when executing the computer program: Step S102: when the first terminal is in a charging state, responding to a first instruction, calling a recording tool to record the operation status of the first terminal; Step S104: when a set condition is met, stopping recording the operation status of the first terminal, and obtaining an operation file of the first terminal; Step S106: sending the operation file to the second terminal, so that the second terminal obtains the charging data of the first terminal according to the operation file.

[0107] In this embodiment, the processor further implements the following steps when executing the computer program: Step S104A: responding to the second instruction, stopping recording the operation status of the first terminal, and obtaining the operation file of the first terminal.

[0108] In this embodiment, the processor further implements the following steps when executing the computer program: Step S104B: When the duration of calling the recording tool to record the operation status of the first terminal exceeds the set duration, stop recording the operation status of the first terminal and obtain the operation file of the first terminal.

[0109] In this embodiment, the processor also implements the following steps when executing the computer program: Step S1062: The second terminal responds to the third instruction and calls the processing tool to read the operation file; Step S1064: The second terminal receives the fourth instruction, the fourth instruction includes the battery identification of the first terminal, and the second terminal calls the processing tool to obtain the target log corresponding to the battery identification from multiple logs according to the battery identification; Step S1066: The second terminal receives the fifth instruction, the fifth instruction includes a target field, the target field includes a voltage field and a current field, and the second terminal calls the processing tool to obtain data corresponding to the target field from the target log according to the target field to obtain charging data, the charging data includes data corresponding to the voltage field and data corresponding to the current field; Step S108: The second terminal obtains the charging data of the first terminal according to the operation file, and generates a charging curve of the first terminal according to the charging data.

[0110] Since it is possible to implement the charging test without disassembling the terminal or using special testing instruments, the operation of the terminal during the charging process can be recorded by using recording tools, and the charging data can be obtained based on the operation file, thereby improving the safety and stability of the charging test and avoiding the risk of short circuit.

[0111] In this embodiment, a storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: Step S102: when the first terminal is in a charging state, respond to a first instruction and call a recording tool to record the operation status of the first terminal; Step S104: when a set condition is met, stop recording the operation status of the first terminal and obtain an operation file of the first terminal; Step S106: send the operation file to the second terminal, so that the second terminal obtains the charging data of the first terminal according to the operation file.

[0112] In this embodiment, when the computer program is executed by the processor, the following steps are further implemented: Step S104A: responding to the second instruction, stopping recording the operation status of the first terminal, and obtaining the operation file of the first terminal.

[0113] In this embodiment, when the computer program is executed by the processor, the following steps are also implemented: Step S104B: When the duration of calling the recording tool to record the operation status of the first terminal exceeds the set duration, stop recording the operation status of the first terminal and obtain the operation file of the first terminal.

[0114] In this embodiment, when the computer program is executed by the processor, the following steps are also implemented: Step S1062: The second terminal responds to the third instruction and calls the processing tool to read the operation file; Step S1064: The second terminal receives the fourth instruction, the fourth instruction includes the battery identification of the first terminal, and the second terminal calls the processing tool to obtain the target log corresponding to the battery identification from multiple logs according to the battery identification; Step S1066: The second terminal receives the fifth instruction, the fifth instruction includes a target field, the target field includes a voltage field and a current field, and the second terminal calls the processing tool to obtain the data corresponding to the target field from the target log according to the target field to obtain the charging data, the charging data includes the data corresponding to the voltage field and the data corresponding to the current field; Step S108: The second terminal obtains the charging data of the first terminal according to the operation file, and generates the charging curve of the first terminal according to the charging data.

[0115] Since it is possible to implement the charging test without disassembling the terminal or using special testing instruments, the operation of the terminal during the charging process can be recorded by using recording tools, and the charging data can be obtained based on the operation file, thereby improving the safety and stability of the charging test and avoiding the risk of short circuit.

[0116] In summary, the method, device, terminal and storage medium for charging test provided in the embodiments of the present application. When the first terminal is in a charging state, the first terminal responds to the first instruction, calls the recording tool to start recording the operation status, and stops recording the operation status when the set conditions are met, obtains the operation file, and sends the operation file to the second terminal, so that the second terminal obtains the charging data of the first terminal according to the operation file. Since there is no need to disassemble the terminal or connect to the mainboard of the terminal, the risk of short circuit is avoided, the safety and stability of the charging test are improved, and no expensive dedicated test instruments are required, thereby reducing the test cost.

[0117] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in various forms, such as static random access memory (SRAM) and dynamic random access memory (DRAM).

[0118] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0119] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A charging test method, characterized in that: Applied to a first terminal, the first terminal is installed with a recording tool; the first terminal is in communication connection with a second terminal; the method comprises: When the first terminal is in a charging state, respond to a first instruction and call the recording tool to record the operation status of the first terminal; the first instruction is generated by entering a test instruction on a phone dialing page of the first terminal to enter a hardware test list, and clicking the recording tool in the hardware test list; When a set condition is met, stop recording the operation status of the first terminal and obtain the operation file of the first terminal; The step of stopping recording the operation status of the first terminal and obtaining the operation file of the first terminal when the set condition is met includes: When the duration of calling the recording tool to record the operation status of the first terminal exceeds a set duration, stopping recording the operation status of the first terminal and obtaining an operation file of the first terminal; sending the operation file to the second terminal, so that the second terminal obtains the charging data of the first terminal according to the operation file; The operation file includes a plurality of logs, one of the logs corresponds to a hardware identifier of the first terminal, and each of the logs includes a plurality of fields and data corresponding to each field; the second terminal is installed with a processing tool; and the process of the second terminal obtaining the charging data of the first terminal according to the operation file includes: The second terminal responds to the third instruction and calls the processing tool to read the operation file; The second terminal receives a fourth instruction, where the fourth instruction includes a battery identifier of the first terminal; The second terminal calls the processing tool to obtain a target log corresponding to the battery identifier from the plurality of logs according to the battery identifier; The second terminal receives a fifth instruction, the fifth instruction includes a target field, and the target field includes a voltage field and a current field; The second terminal calls the processing tool to obtain data corresponding to the target field from the target log according to the target field, and obtains charging data, wherein the charging data includes data corresponding to the voltage field and data corresponding to the current field; The second terminal generates a charging curve of the first terminal according to the charging data, where the charging curve includes a voltage curve and a current curve.

2. The method according to claim 1, characterized in that The step of stopping recording the operation status of the first terminal and obtaining the operation file of the first terminal when the set condition is met includes: In response to the second instruction, the operation status of the first terminal is stopped from being recorded, and the operation file of the first terminal is obtained.

3. A charging test device, characterized in that: Applied to a first terminal, the first terminal is equipped with a recording tool; the first terminal is connected to a second terminal for communication; the device comprises: A first calling module is used to respond to a first instruction and call the recording tool to record the operation status of the first terminal when the first terminal is in a charging state; the first instruction is generated by inputting a test instruction on a phone dialing page of the first terminal to enter a hardware test list, and clicking the recording tool in the hardware test list; A second calling module is used to stop recording the operation status of the first terminal and obtain the operation file of the first terminal when a set condition is met; The second calling module is specifically configured to: when the duration of calling the recording tool to record the operation status of the first terminal exceeds a set duration, stop recording the operation status of the first terminal and obtain the operation file of the first terminal; a sending module, configured to send the operation file to the second terminal, so that the second terminal obtains the charging data of the first terminal according to the operation file; The operation file includes multiple logs, one of the logs corresponds to a hardware identifier of the first terminal, and each of the logs includes multiple fields and data corresponding to each field; the second terminal is installed with a processing tool; the sending module executes the method in which the second terminal obtains the charging data of the first terminal according to the operation file, including: the second terminal responds to a third instruction and calls the processing tool to read the operation file; the second terminal receives a fourth instruction, and the fourth instruction includes the battery identifier of the first terminal; the second terminal calls the processing tool to obtain a target log corresponding to the battery identifier from multiple logs according to the battery identifier; the second terminal receives a fifth instruction, and the fifth instruction includes a target field, and the target field includes a voltage field and a current field; the second terminal calls the processing tool to obtain the data corresponding to the target field from the target log according to the target field to obtain the charging data, and the charging data includes the data corresponding to the voltage field and the data corresponding to the current field; the second terminal generates a charging curve of the first terminal according to the charging data, and the charging curve includes a voltage curve and a current curve.

4. The device according to claim 3, characterized in that The second calling module is specifically used for: In response to the second instruction, the operation status of the first terminal is stopped from being recorded, and the operation file of the first terminal is obtained.

5. A terminal, characterized in that: The method comprises a processor and a memory, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the charging test method according to any one of claims 1 to 2 are implemented.

6. A storage medium, characterized in that: The storage medium stores a computer program, which, when executed by a processor, implements the steps of the charging test method according to any one of claims 1 to 2.

Citation Information

Patent Citations

  • Handset standby current, standby time as well as test equipment for charging flow

    CN101282526A

  • Mobile terminal, charger and charging method thereof

    CN105449741A

  • Information recording method, information recording device, and intelligent terminal

    CN108009068A