Detection method and device, terminal and storage medium
By decoding the handshake response information of the charging device to determine whether it supports the UFCS integrated fast charging protocol, it solves the problem of detecting that the device supports the UFCS protocol and achieves an accurate and efficient detection process.
Patent Information
- Application Number
- CN202310208438.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-27
- Publication Date
- 2024-08-27
AI Technical Summary
How to detect whether the charging device supports the UFCS integrated fast charging protocol standard? It is difficult to effectively implement this detection with existing technology.
By obtaining the handshake response information sent by the charging device under test to the powered device, and decoding the information to determine whether it contains the handshake response information and capability package information of the integrated fast charging protocol, it is determined whether the device supports the UFCS protocol.
It achieves accurate detection of the ability of charging equipment to integrate fast charging protocols, improves detection efficiency, and provides detailed information on supported protocol capabilities.
Smart Images

Figure CN118555318A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of terminal technology, and in particular to a detection method, device, terminal and storage medium. Background Art
[0002] With the release of UFCS (Universal Fast Charging Specification), the country has begun to unify the fast charging protocol standards for mobile terminals. More and more charging devices have begun to support the UFCS fast charging protocol. How to detect whether the charging device supports the UFCS fast charging protocol has become an urgent problem to be solved. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides a detection method, device, system and storage medium.
[0004] According to a first aspect of an embodiment of the present disclosure, a detection method is provided, the detection method comprising:
[0005] Obtaining handshake response information sent by the charging device under test to the powered device; wherein the handshake response information is generated by the charging device under test receiving handshake request information that complies with the fusion fast charging protocol and is sent by the powered device;
[0006] According to the handshake response information, a detection result of the integrated fast charging protocol capability of the charging device to be tested is determined.
[0007] Optionally, determining the detection result of the integrated fast charging protocol capability of the charging device to be tested according to the handshake response information includes:
[0008] If the handshake response information is decoded and no handshake response information of the fused fast charging protocol and / or capability package information of the fused fast charging protocol is obtained, it is determined that the detection result is that the charging device to be tested does not support the fused fast charging protocol.
[0009] Optionally, after determining that the detection result is that the charging device to be tested does not support the fusion fast charging protocol, the detection method includes:
[0010] A first prompt message is output, wherein the prompt message indicates that the charging device to be tested does not support the fusion fast charging protocol.
[0011] Optionally, determining the detection result of the integrated fast charging protocol capability of the charging device to be tested according to the handshake response information includes:
[0012] If the handshake response information is decoded to obtain the capability package information of the integrated fast charging protocol, it is determined that the detection result is that the charging device to be tested supports the integrated fast charging protocol.
[0013] Optionally, determining the detection result of the integrated fast charging protocol capability of the charging device to be tested according to the handshake response information includes:
[0014] If the handshake response information is decoded to obtain the handshake response information of the fused fast charging protocol and the capability package information of the fused fast charging protocol, it is determined that the detection result is that the charging device to be tested supports the fused fast charging protocol.
[0015] Optionally, after determining that the detection result is that the charging device to be tested supports the fusion fast charging protocol, the detection method includes:
[0016] Output second prompt information, where the second prompt information represents capability level information of the integrated fast charging protocol supported by the charging device to be tested.
[0017] According to a second aspect of an embodiment of the present disclosure, a detection device is provided, the detection device comprising:
[0018] An acquisition module, used to acquire handshake response information sent by the charging device under test to the powered device; wherein the handshake response information is generated by the charging device under test receiving handshake request information that complies with the fusion fast charging protocol and is sent by the powered device;
[0019] A determination module is used to determine the detection result of the integrated fast charging protocol capability of the charging device to be tested according to the handshake response information.
[0020] Optionally, the determining module is used to:
[0021] If the handshake response information is decoded and no handshake response information of the fused fast charging protocol and / or capability package information of the fused fast charging protocol is obtained, it is determined that the detection result is that the charging device to be tested does not support the fused fast charging protocol.
[0022] Optionally, the detection device comprises:
[0023] The output module is used to output a first prompt message after determining that the detection result is that the charging device to be tested does not support the fusion fast charging protocol, and the prompt message indicates that the charging device to be tested does not support the fusion fast charging protocol.
[0024] Optionally, the determining module is used to:
[0025] If the handshake response information is decoded to obtain the capability package information of the integrated fast charging protocol, it is determined that the detection result is that the charging device to be tested supports the integrated fast charging protocol.
[0026] Optionally, the determining module is used to:
[0027] If the handshake response information is decoded to obtain the handshake response information of the fused fast charging protocol and the capability package information of the fused fast charging protocol, it is determined that the detection result is that the charging device to be tested supports the fused fast charging protocol.
[0028] Optionally, after determining that the detection result is that the charging device to be tested supports the fusion fast charging protocol, the detection device includes:
[0029] The output module is used to output second prompt information after determining that the detection result is that the charging device to be tested supports the integrated fast charging protocol, and the second prompt information represents the capability gear information of the integrated fast charging protocol supported by the charging device to be tested.
[0030] According to a third aspect of an embodiment of the present disclosure, a detection system is provided, the detection system comprising a detection device and a processing device.
[0031] The detection device is configured to obtain handshake response information sent by the charging device under test to the powered device, and send the handshake response information to the processing device; wherein the handshake response information is generated by the charging device under test receiving handshake request information that complies with the fusion fast charging protocol and is sent by the powered device;
[0032] The processing device is configured to receive the handshake response information sent by the detection device, and determine the detection result of the integrated fast charging protocol capability of the charging device to be tested based on the handshake response information.
[0033] According to a fourth aspect of an embodiment of the present disclosure, a detection system is provided, the detection system comprising a detection device and a processing device.
[0034] The detection device is configured to obtain handshake response information sent by the charging device under test to the powered device, decode the handshake response information, and send the decoded information to the processing device; wherein the handshake response information is generated by the charging device under test receiving the handshake request information that complies with the fusion fast charging protocol and is sent by the powered device;
[0035] The processing device is configured to receive the decoded information sent by the detection device, and determine the detection result of the integrated fast charging protocol capability of the charging device to be tested based on the decoded information.
[0036] According to a fifth aspect of an embodiment of the present disclosure, a detection system is provided, the detection system comprising:
[0037] processor;
[0038] a memory for storing instructions executable by the processor;
[0039] Wherein, the processor is configured to execute the detection method as described in the first aspect.
[0040] According to a sixth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of a detection system, the terminal is enabled to execute the detection method as described in the first aspect.
[0041] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: In the present disclosure, the handshake response information of the charging protocol sent by the charging device under test to the powered device can be first obtained, and then the integrated fast charging protocol capability of the charging device under test can be judged based on the above handshake response information, thereby realizing the detection of the integrated fast charging protocol capability of the charging device under test.
[0042] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0044] Figure 1 is a flow chart of a detection method according to an exemplary embodiment.
[0045] Figure 2 is a block diagram of a detection device according to an exemplary embodiment.
[0046] Figure 3 is a block diagram of a detection system according to an exemplary embodiment (the diagram includes a charging device to be tested and a powered device).
[0047] Figure 4 is a block diagram of a processing device according to an exemplary embodiment. DETAILED DESCRIPTION
[0048] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are only examples of devices and methods of some embodiments of the present disclosure.
[0049] The disclosed embodiment provides a detection method, which is applied to a detection system. In the method, the handshake response information of the charging protocol sent by the charging device to the powered device can be obtained first, and then the integrated fast charging protocol capability of the charging device to be tested can be determined based on the handshake response information, thereby realizing the detection of the integrated fast charging protocol capability of the charging device to be tested.
[0050] In an exemplary embodiment, a detection method is provided, which is applied to a detection system. The detection system may include a processing device, a detection device, or other devices, which are not limited to this. Figure 1 As shown, the method may include:
[0051] S110, obtaining a handshake response message of a charging protocol sent by the charging device under test to the powered device; wherein the handshake response message is generated by the charging device under test receiving a handshake request message of a fusion fast charging protocol sent by the powered device;
[0052] S120: Determine the detection result of the integrated fast charging protocol capability of the charging device to be tested according to the handshake response information.
[0053] In step S110, the powered device may be electrically connected to the charging device to be tested, wherein the powered device may have the capability of integrating the fast charging protocol, that is, the powered device supports the integrated fast charging protocol standard (UFCS). Then, the powered device sends a handshake request message of the integrated fast charging protocol to the charging device to be tested. Upon receiving the above handshake request message, the charging device to be tested may send a handshake response message to the powered device based on the above handshake request message.
[0054] Among them, if the charging device under test does not support UFCS, that is, the charging device under test does not have the ability to integrate the fast charging protocol, the charging device under test receives the above-mentioned handshake request information, and the handshake response information it feedbacks will not include the handshake response information corresponding to UFCS, nor will it include the capability level information of the integrated fast charging protocol capability.
[0055] If the charging device under test supports UFCS, that is, the charging device under test has the capability of integrating the fast charging protocol, the charging device under test receives the above-mentioned handshake request information, and the handshake response information it feedbacks may include the handshake response information corresponding to UFCS, and may also include the capability level information of the integrated fast charging protocol capability supported by the charging device under test.
[0056] In this step, the handshake response information can be detected by a detection device, and then the detection device sends the detected handshake response information to a terminal such as a computer. The terminal can obtain the handshake response information, and then based on the obtained handshake response information, perform a test on the fast charging protocol integration capability of the charging device to be tested.
[0057] It should be noted that, in addition to obtaining the handshake response information in the above manner, this step can also be obtained in other manners, which are not limited to this.
[0058] In step S120, in general, the handshake response information may include the charging protocol capabilities supported by the charging device to be tested. In this step, after obtaining the handshake response information, the integrated fast charging protocol capabilities of the charging device to be tested can be detected based on the content included in the handshake response information.
[0059] In this method, the handshake response information of the charging protocol sent by the charging device under test to the powered device can be obtained first, and then the integrated fast charging protocol capability of the charging device under test can be judged based on the above handshake response information, thereby realizing the detection of the integrated fast charging protocol capability of the charging device under test, facilitating the detection of the integrated fast charging protocol capability of the charging device and the debugging of the integrated fast charging protocol capability, thereby improving the detection efficiency of the charging device.
[0060] In an exemplary embodiment, a detection method is provided. In the method, determining the detection result of the integrated fast charging protocol capability of the charging device to be tested according to the handshake response information may include:
[0061] S210. If the handshake response information is decoded and no handshake response information of the integrated fast charging protocol and / or capability package information of the integrated fast charging protocol is obtained, it is determined that the detection result is that the charging device to be tested does not support the integrated fast charging protocol.
[0062] In step S210, the handshake response information can generally be detected based on the cable communication signal link (such as D+, D-), and then the detected handshake response information can be decoded to determine the content included in the handshake response information.
[0063] Among them, the information used to decode the handshake response information can be recorded as decoding configuration information. The decoding configuration information can be set according to actual needs, and there is no limitation on this. The decoding configuration information can be set before the terminal leaves the factory, or it can be set after the terminal leaves the factory, and there is no limitation on this. In addition, after the decoding configuration information is set, it can be modified later to better meet different decoding needs.
[0064] In this step, the processor of the terminal can obtain the decoding configuration information corresponding to the fusion fast charging protocol from the storage unit of the terminal, and this decoding configuration information is used to decode the handshake response information corresponding to the fusion fast charging protocol. Of course, the terminal can also obtain the above decoding configuration information in other ways, which is not limited to this.
[0065] For example, when the handshake response information is detected based on the cable communication signal link (such as D+, D-), the handshake response information can be decoded based on the adaptive baud rate of the signal in the cable communication signal link. Of course, decoding can also be performed in other ways, which are not limited to this.
[0066] In this step, after decoding, the detection result of the integrated fast charging protocol capability of the charging device to be tested can be determined based on the decoding result.
[0067] For example, if the handshake response information of the integrated fast charging protocol is not obtained based on the decoding result, it can be determined that the charging device under test does not have the ability to integrate the fast charging protocol.
[0068] For another example, if the capability package information of the integrated fast charging protocol is not obtained based on the decoding result, it can be determined that the charging device under test does not have the capability of integrating the fast charging protocol.
[0069] For another example, if the handshake response information of the integrated fast charging protocol and the capability package information of the integrated fast charging protocol are not obtained based on the decoding result, it can be determined that the charging device under test does not have the capability of integrating the fast charging protocol.
[0070] It should be noted that in addition to determining the test results by the above-mentioned methods, the test results may also be determined by other methods, which are not limited to this.
[0071] After determining that the test result is that the charging device to be tested does not support the fusion fast charging protocol, the detection system can output a first prompt message. The first prompt message can be output by a computer of the detection system or by other devices, without limitation. The first prompt message can include text, images, voice, etc., without limitation.
[0072] For example, when the test result is determined to be that the charging device under test does not support the integrated fast charging protocol, the display screen of the computer of the detection system can output a text prompt of "non-UFCS device" to indicate that the charging device under test does not support the integrated fast charging protocol, does not have the integrated fast charging protocol capability, and cannot perform a UFCS-based charging process.
[0073] In this method, the handshake response information can be decoded to determine the detection result of the integrated fast charging protocol capability of the charging device to be tested, which is convenient for the integrated fast charging protocol capability detection and the debugging of the integrated fast charging protocol capability of the charging device, and improves the detection efficiency of the charging device.
[0074] In an exemplary embodiment, a detection method is provided. In the method, determining the detection result of the integrated fast charging protocol capability of the charging device to be tested according to the handshake response information may include:
[0075] S310: If the handshake response information is decoded to obtain capability package information of the integrated fast charging protocol, it is determined that the detection result is that the charging device to be tested supports the integrated fast charging protocol.
[0076] Among them, it should be noted that the fusion fast charging protocol capability can generally include multiple capability levels. If the charging device to be tested supports the fusion fast charging protocol, its handshake response information can include the capability package information of the fusion fast charging protocol. The capability package information can represent the capability level information of the fusion fast charging protocol it supports.
[0077] In this step, if the capability package information of the integrated fast charging protocol is obtained after decoding the handshake response information, it can be said that the charging device under test has the capability of integrating the fast charging protocol, that is, the charging device under test supports the integrated fast charging protocol, and the test result can be determined as that the charging device under test supports the integrated fast charging protocol.
[0078] Among them, if it is determined that the charging device to be tested supports the fusion fast charging protocol, the detection system can output the second prompt information. Among them, the second prompt information can represent the capability level information of the fusion fast charging protocol supported by the charging device to be tested. For example, the computer can output the waveform information of the voltage and current of the charging capability of the charging device to be tested, so as to facilitate relevant personnel to understand the capability level information of the fusion fast charging protocol supported by the charging device to be tested.
[0079] In this method, after decoding the handshake response information, the detection result of the integrated fast charging protocol capability of the charging device to be tested can be determined according to whether the capability package information of the integrated fast charging protocol is obtained, which facilitates the integrated fast charging capability protocol capability detection and the debugging of the integrated fast charging protocol capability of the charging device, and improves the detection efficiency of the charging device.
[0080] In an exemplary embodiment, a detection method is provided. In the method, determining the detection result of the integrated fast charging protocol capability of the charging device to be tested according to the handshake response information may include:
[0081] S310: If the handshake response information is decoded to obtain the handshake response information of the integrated fast charging protocol and the capability package information of the integrated fast charging protocol, it is determined that the detection result is that the charging device to be tested supports the integrated fast charging protocol.
[0082] It should be noted that if the charging device under test supports the fusion fast charging protocol, its handshake response information may generally include the handshake response information of the fusion fast charging protocol and the capability package information of the fusion fast charging protocol.
[0083] In this step, if the handshake response information is decoded and the handshake response information of the integrated fast charging protocol and the capability package information of the integrated fast charging protocol are obtained, it can be said that the charging device to be tested has the ability to integrate the fast charging protocol, that is, the charging device to be tested supports the integrated fast charging protocol, and the test result can be determined to be that the charging device to be tested supports the integrated fast charging protocol.
[0084] It should be noted that by integrating the handshake response information of the fast charging protocol and the capability package information of the fast charging protocol, it is possible to determine whether the charging device under test supports the integrated fast charging protocol. This can avoid misjudgment based solely on capability package information or handshake response information, thereby improving the accuracy and reliability of the detection results of the integrated fast charging protocol capability of the charging device under test.
[0085] Among them, if it is determined that the charging device to be tested supports the fusion fast charging protocol, the detection system can output the second prompt information. Among them, the second prompt information can represent the capability level information of the fusion fast charging protocol supported by the charging device to be tested. For example, the computer can output the waveform information of the voltage and current of the charging capability of the charging device to be tested, so as to facilitate relevant personnel to understand the capability level information of the fusion fast charging protocol supported by the charging device to be tested.
[0086] In this method, after decoding the handshake response information, the detection result of the integrated fast charging protocol capability of the charging device to be tested can be determined according to whether the handshake response information and capability package information of the integrated fast charging protocol are obtained. This facilitates the detection of the integrated fast charging capability protocol capability of the charging device and the debugging of the integrated fast charging protocol capability, improves the detection efficiency of the charging device, and better ensures the reliability and accuracy of the detection results.
[0087] In an exemplary embodiment, a detection device is provided for implementing the above detection method. Figure 2 As shown, the detection device may include an acquisition module 101 and a determination module 102, wherein the device, during the implementation of the above method,
[0088] The acquisition module 101 is used to acquire the handshake response information sent by the charging device under test to the powered device; wherein the handshake response information is generated by the charging device under test receiving the handshake request information that complies with the fusion fast charging protocol and is sent by the powered device;
[0089] The determination module 102 is used to determine the detection result of the integrated fast charging protocol capability of the charging device to be tested according to the handshake response information.
[0090] In an exemplary embodiment, a detection device is provided for implementing the above detection method. Figure 2 As shown, in the detection device, the determination module 102 is used to:
[0091] If the handshake response information is decoded and no handshake response information of the integrated fast charging protocol and / or capability package information of the integrated fast charging protocol is obtained, it is determined that the detection result is that the charging device to be tested does not support the integrated fast charging protocol.
[0092] In an exemplary embodiment, a detection device is provided for implementing the above detection method. Figure 2 As shown, the detection device comprises:
[0093] The output module 103 is used to output first prompt information after determining that the detection result is that the charging device to be tested does not support the integrated fast charging protocol, and the prompt information indicates that the charging device to be tested does not support the integrated fast charging protocol.
[0094] In an exemplary embodiment, a detection device is provided for implementing the above detection method. Figure 2 As shown, in the detection device, the determination module 102 is used to:
[0095] If the handshake response information is decoded to obtain the capability package information of the integrated fast charging protocol, the detection result is determined to be that the charging device to be tested supports the integrated fast charging protocol.
[0096] In an exemplary embodiment, a detection device is provided for implementing the above detection method. Figure 2 As shown, in the detection device, the determination module 102 is used to:
[0097] If the handshake response information is decoded to obtain the handshake response information of the integrated fast charging protocol and the capability package information of the integrated fast charging protocol, the detection result is determined to be that the charging device to be tested supports the integrated fast charging protocol.
[0098] In an exemplary embodiment, a detection device is provided for implementing the above detection method. Figure 2 As shown, the detection device comprises:
[0099] The output module 103 is used to output second prompt information after determining that the detection result is that the charging device to be tested supports the integrated fast charging protocol, and the second prompt information represents the capability level information of the integrated fast charging protocol supported by the charging device to be tested.
[0100] In one exemplary embodiment, a detection system is provided. Figure 3 As shown, the detection system may include a processing device 400 and a detection device 300. The processing device 400 may be a computer, or a device with processing capabilities such as a mobile phone, which is not limited to this. The detection device 300 is electrically connected to the processing device 400 to ensure information transmission between the detection device 300 and the processing device 400.
[0101] Among them, the detection device 300 can be configured to obtain the handshake response information sent by the charging device 100 under test to the powered device 200, and send the handshake response information to the processing device 400; wherein, the handshake response information is generated by the charging device 100 under test receiving the handshake request information sent by the powered device 200 that complies with the integrated fast charging protocol.
[0102] It should be noted that the detection device 300 can be used as a part of the powered device 200 to send handshake request information to the charging device 100 to be tested.
[0103] The processing device 400 may be configured to receive the handshake response information sent by the detection device 300 , and determine the detection result of the integrated fast charging protocol capability of the charging device 100 to be tested according to the handshake response information.
[0104] The processing device 400 may decode the handshake response information, and then determine the detection result of the integrated fast charging protocol capability of the charging device 100 to be tested based on the decoding result. In addition, the processing device 400 may include an output module, and after the detection result is determined, the output module may output prompt information.
[0105] For example, if the test result is that the charging device 100 under test does not support the fusion fast charging protocol, the output module can output the first prompt information to indicate that the charging device 100 under test does not support the fusion fast charging protocol. If the test result is that the charging device 100 under test supports the fusion fast charging protocol, the output module outputs the second prompt information to indicate the capability level information of the fusion fast charging protocol supported by the charging device 100 under test.
[0106] In the detection system, the detection device 300 can first obtain the handshake response information of the charging protocol sent by the charging device 100 to the powered device 200, and then the processing device 400 can judge the integrated fast charging protocol capability of the charging device 100 to be tested based on the above handshake response information, thereby realizing the detection of the integrated fast charging protocol capability of the charging device 100 to be tested, facilitating the detection of the integrated fast charging protocol capability of the charging device and the debugging of the integrated fast charging protocol capability, thereby improving the detection efficiency of the charging device.
[0107] In one exemplary embodiment, a detection system is provided. Figure 3 As shown, the detection system may include a processing device 400 and a detection device 300. The processing device 400 may be a computer, or a device with processing capabilities such as a mobile phone, which is not limited to this. The detection device 300 is electrically connected to the processing device 400 to ensure information transmission between the detection device 300 and the processing device 400.
[0108] Among them, the detection device 300 can be configured to obtain the handshake response information sent by the charging device 100 under test to the powered device 200, decode the handshake response information, and send the decoded information to the processing device 400; wherein, the handshake response information is generated by the charging device 100 under test receiving the handshake request information sent by the powered device 200 that complies with the integrated fast charging protocol.
[0109] It should be noted that the detection device 300 can be used as a part of the powered device 200 to send handshake request information to the charging device 100 to be tested.
[0110] The processing device 400 may be configured to receive the decoded information sent by the detection device 300 , and determine the detection result of the integrated fast charging protocol capability of the charging device 100 to be tested based on the decoded information.
[0111] The processing device 400 may include an output module, and after the detection result is determined, the output module may output prompt information.
[0112] For example, if the test result is that the charging device 100 under test does not support the fusion fast charging protocol, the output module can output the first prompt information to indicate that the charging device 100 under test does not support the fusion fast charging protocol. If the test result is that the charging device 100 under test supports the fusion fast charging protocol, the output module outputs the second prompt information to indicate the capability level information of the fusion fast charging protocol supported by the charging device 100 under test.
[0113] In the detection system, the detection device 300 can first obtain the handshake response information of the charging protocol sent by the charging device 100 to the powered device 200, and decode it. Then, the processing device 400 determines the integrated fast charging protocol capability of the charging device 100 to be tested based on the information obtained by the above decoding, thereby realizing the detection of the integrated fast charging protocol capability of the charging device 100 to be tested, facilitating the detection of the integrated fast charging protocol capability of the charging device and the debugging of the integrated fast charging protocol capability, thereby improving the detection efficiency of the charging device.
[0114] In an exemplary embodiment, a detection system is provided. The detection system may include a processing device or a detection device, which is not limited to this. The processing device may be a computer or a mobile phone, which is not limited to this.
[0115] refer to Figure 4 As shown, processing device 400 may include one or more of the following components: processing component 402 , memory 404 , power component 406 , multimedia component 408 , audio component 410 , input / output (I / O) interface 412 , sensor component 414 , and communication component 416 .
[0116] The processing component 402 generally controls the overall operation of the device 400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 402 may include one or more modules to facilitate the interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate the interaction between the multimedia component 408 and the processing component 402.
[0117] The memory 404 is configured to store various types of data to support operations on the device 400. Examples of such data include instructions for any application or method operating on the device 400, contact data, phone book data, messages, pictures, videos, etc. The memory 404 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0118] The power component 406 provides power to the various components of the device 400. The power component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 400.
[0119] The multimedia component 408 includes a screen that provides an output interface between the device 400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input instructions from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front camera and / or a rear camera. When the processing device 400 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0120] The audio component 410 is configured to output and / or input audio instructions. For example, the audio component 410 includes a microphone (MIC), and when the device 400 is in an operating mode, such as a call mode, a recording mode, and a speech understanding mode, the microphone is configured to receive external audio instructions. The received audio instructions can be further stored in the memory 404 or sent via the communication component 416. In some embodiments, the audio component 410 also includes a speaker for outputting audio instructions.
[0121] I / O interface 412 provides an interface between processing component 402 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a run button, and a lock button.
[0122] The sensor assembly 414 includes one or more sensors for providing various aspects of status assessment for the processing device 400. For example, the sensor assembly 414 can receive the on / off state of the processing device 400, the relative positioning of components, such as the display and keypad of the processing device 400, and the sensor assembly 414 can also detect the position change of the device 400 or a component of the processing device 400, the presence or absence of user contact with the device 400, the orientation or acceleration / deceleration of the device 400, and the temperature change of the device 400. The sensor assembly 414 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 414 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0123] The communication component 416 is configured to facilitate wired or wireless communication between the device 400 and other devices. The device 700 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives broadcast instructions or broadcast related information from an external broadcast management system via a broadcast setting channel. In an exemplary embodiment, the communication component 416 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0124] In an exemplary embodiment, the device 400 may be implemented by one or more application-specific integrated circuits (ASICs), digital instruction processors (DSPs), digital instruction processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-described methods.
[0125] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 404 including instructions, and the instructions can be executed by a processor 420 of the device 400 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a tape, a floppy disk, and an optical data storage device. When the instructions in the storage medium are executed by the processor of the terminal, the terminal is enabled to perform the method in the above embodiment.
[0126] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
[0127] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A detection method, characterized in that: The detection method comprises: Obtaining handshake response information sent by the charging device under test to the powered device; wherein the handshake response information is generated by the charging device under test receiving handshake request information that complies with the fusion fast charging protocol and is sent by the powered device; According to the handshake response information, a detection result of the integrated fast charging protocol capability of the charging device to be tested is determined.
2. The detection method according to claim 1, characterized in that The step of determining the detection result of the integrated fast charging protocol capability of the charging device to be tested according to the handshake response information includes: If the handshake response information is decoded and no handshake response information of the fused fast charging protocol and / or capability package information of the fused fast charging protocol is obtained, it is determined that the detection result is that the charging device to be tested does not support the fused fast charging protocol.
3. The detection method according to claim 2, characterized in that: After determining that the detection result is that the charging device to be tested does not support the fusion fast charging protocol, the detection method includes: A first prompt message is output, wherein the prompt message indicates that the charging device to be tested does not support the fusion fast charging protocol.
4. The detection method according to claim 1, characterized in that: The step of determining the detection result of the integrated fast charging protocol capability of the charging device to be tested according to the handshake response information includes: If the handshake response information is decoded to obtain the capability package information of the integrated fast charging protocol, it is determined that the detection result is that the charging device to be tested supports the integrated fast charging protocol.
5. The detection method according to claim 1, characterized in that: The step of determining the detection result of the integrated fast charging protocol capability of the charging device to be tested according to the handshake response information includes: If the handshake response information is decoded to obtain the handshake response information of the fused fast charging protocol and the capability package information of the fused fast charging protocol, it is determined that the detection result is that the charging device to be tested supports the fused fast charging protocol.
6. The detection method according to claim 4 or 5, characterized in that: After determining that the detection result is that the charging device to be tested supports the fusion fast charging protocol, the detection method includes: Output second prompt information, where the second prompt information represents capability level information of the integrated fast charging protocol supported by the charging device to be tested.
7. A detection device, characterized in that: The detection device comprises: An acquisition module, used to acquire handshake response information sent by the charging device under test to the powered device; wherein the handshake response information is generated by the charging device under test receiving handshake request information that complies with the fusion fast charging protocol and is sent by the powered device; The determination module is used to determine the detection result of the integrated fast charging protocol capability of the charging device to be tested according to the handshake response information.
8. The detection device according to claim 7, characterized in that: The determining module is used to: If the handshake response information is decoded and no handshake response information of the fused fast charging protocol and / or capability package information of the fused fast charging protocol is obtained, it is determined that the detection result is that the charging device to be tested does not support the fused fast charging protocol.
9. The detection device according to claim 8, characterized in that: The detection device comprises: The output module is used to output a first prompt message after determining that the detection result is that the charging device to be tested does not support the fusion fast charging protocol, and the prompt message indicates that the charging device to be tested does not support the fusion fast charging protocol.
10. The detection device according to claim 7, characterized in that: The determining module is used to: If the handshake response information is decoded to obtain the capability package information of the integrated fast charging protocol, it is determined that the detection result is that the charging device to be tested supports the integrated fast charging protocol.
11. The detection device according to claim 7, characterized in that: The determining module is used to: If the handshake response information is decoded to obtain the handshake response information of the fused fast charging protocol and the capability package information of the fused fast charging protocol, it is determined that the detection result is that the charging device to be tested supports the fused fast charging protocol.
12. The detection device according to claim 10 or 11, characterized in that: After determining that the detection result is that the charging device to be tested supports the fusion fast charging protocol, the detection device includes: The output module is used to output second prompt information after determining that the detection result is that the charging device to be tested supports the integrated fast charging protocol, and the second prompt information represents the capability gear information of the integrated fast charging protocol supported by the charging device to be tested.
13. A detection system, characterized in that: The detection system includes a detection device and a processing device. The detection device is configured to obtain handshake response information sent by the charging device under test to the powered device, and send the handshake response information to the processing device; wherein the handshake response information is generated by the charging device under test receiving handshake request information that complies with the fusion fast charging protocol and is sent by the powered device; The processing device is configured to receive the handshake response information sent by the detection device, and determine the detection result of the integrated fast charging protocol capability of the charging device to be tested based on the handshake response information.
14. A detection system, characterized in that: The detection system includes a detection device and a processing device. The detection device is configured to obtain handshake response information sent by the charging device under test to the powered device, decode the handshake response information, and send the decoded information to the processing device; wherein the handshake response information is generated by the charging device under test receiving the handshake request information that complies with the fusion fast charging protocol and is sent by the powered device; The processing device is configured to receive the decoded information sent by the detection device, and determine the detection result of the integrated fast charging protocol capability of the charging device to be tested based on the decoded information.
15. A detection system, characterized in that: The detection system comprises: processor; a memory for storing instructions executable by the processor; Wherein, the processor is configured to execute the detection method as described in any one of claims 1-6.
16. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of a terminal, the terminal is enabled to execute the detection method according to any one of claims 1 to 6.
