Quick charging method and device, computer equipment, readable storage medium and program product
By sending protocol customization requests and receiving key information, generating user-friendly protocol information based on device information, solving the problem of high matching cost of power bank fast charging protocols, achieving convenient and efficient fast charging protocol matching, reducing hardware demand and improving Charging speed and safety.
Patent Information
- Application Number
- CN202410956074.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-11-22
AI Technical Summary
The existing power banks need hardware configuration to achieve fast charging protocol matching, which is costly and unfavorable to protocol updates, and lacks a convenient and efficient matching method.
By sending a protocol customization request, receiving key information and generating user-friendly protocol information based on the device information, the fast charging protocol matching between the charging device and the mobile power supply is achieved, avoiding the need for hardware to set up a full fast charging protocol.
It realizes efficient and secure matching of fast charging protocols for different devices without replacing hardware, reducing costs and improving charging speed and user experience.
Smart Images

Figure CN119011132A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of mobile charging technology, and in particular to a fast charging method, device, computer equipment, computer-readable storage medium and computer program product. Background Art
[0002] With the development of mobile charging technology, how to use power banks to quickly charge mobile devices has gradually become the mainstream technology of mobile charging technology. Power banks, also known as mobile power banks, are portable chargers that integrate power supply and charging functions. They can charge or power digital devices such as mobile phones anytime and anywhere. Since fast charging requires fast charging protocol matching between charging devices and mobile devices, however, in the current application technology of power banks, the fast charging requirements of the full protocol can only be achieved through hardware configuration. The hardware configuration method is to put all protocol types into the power bank through hardware configuration. This method is not only costly but also not conducive to the update of fast charging protocols. Therefore, there is an urgent need for a fast charging method that can more conveniently and efficiently achieve full fast charging protocol matching of power banks. Summary of the invention
[0003] Based on this, it is necessary to provide a fast charging method, device, computer equipment, computer-readable storage medium and computer program product that can conveniently and efficiently achieve full fast charging protocol matching of power banks in response to the above technical problems.
[0004] In a first aspect, the present application provides a fast charging method, which is applied to a mobile power supply, and the method comprises:
[0005] Send a protocol customization request;
[0006] Receiving key information sent by the charging device corresponding to the protocol customization request; wherein the key information is generated by the server through protocol customization according to the device information of the charging device;
[0007] Adjust the target protocol information corresponding to the key information according to the key information to obtain usable protocol information;
[0008] The charging device can be quickly charged according to the usable protocol information.
[0009] In one embodiment, the target protocol information includes: protocol authority information and protocol content information; the target protocol information corresponding to the key information is adjusted according to the key information to obtain the usable protocol information, including:
[0010] Adjust the protocol permission information according to the key information to obtain usable permission information;
[0011] Information is constructed according to the usable permission information and the protocol content information to obtain the usable protocol information.
[0012] In one embodiment, the method further comprises:
[0013] Obtaining fast charging protocol information of the mobile power supply;
[0014] Matching the fast charging protocol information with the fast charging protocol information corresponding to the device information to obtain a matching result;
[0015] If the matching result is a successful match, the charging device is quickly charged according to the fast charging protocol information corresponding to the matching result.
[0016] In one embodiment, the method further comprises:
[0017] Get protocol customization instructions;
[0018] If the protocol customization instruction indicates that protocol customization is not supported, the charging device is subjected to normal charging; wherein the charging power of the normal charging is lower than the charging power of the fast charging.
[0019] In a second aspect, the present application also provides another fast charging method, which is applied to a server, and the method includes:
[0020] Responding to the protocol subscription request, and acquiring device information of the charging device according to the protocol subscription request;
[0021] Customize the protocol according to the device information to obtain key information;
[0022] Send a protocol information adjustment instruction to the mobile power supply, so that the mobile power supply adjusts the target protocol information corresponding to the key information according to the key information to obtain the usable protocol information, and enables the mobile power supply to quickly charge the charging device according to the usable protocol information; wherein the protocol information adjustment instruction is generated by the key information.
[0023] In one embodiment, the device information includes: brand information and model information; the protocol customization according to the device information to obtain the key information includes:
[0024] Determine the target protocol according to the brand information and the model information;
[0025] Customizing protocol information according to the target protocol to obtain customized data;
[0026] The key information is determined according to the customization data.
[0027] In a third aspect, the present application also provides a fast charging device, comprising:
[0028] A sending module, used for sending a protocol customization request;
[0029] A receiving module, used to receive key information sent by the charging device corresponding to the protocol customization request; wherein the key information is generated by the server through protocol customization according to the device information of the charging device;
[0030] An adjustment module, used to adjust the target protocol information corresponding to the key information according to the key information to obtain usable protocol information;
[0031] A fast charging module is used to quickly charge the charging device according to the usable protocol information.
[0032] In a fourth aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0033] Send a protocol customization request;
[0034] Receiving key information sent by the charging device corresponding to the protocol customization request; wherein the key information is generated by the server through protocol customization according to the device information of the charging device;
[0035] Adjust the target protocol information corresponding to the key information according to the key information to obtain usable protocol information;
[0036] The charging device can be quickly charged according to the usable protocol information.
[0037] In a fifth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0038] Send a protocol customization request;
[0039] Receiving key information sent by the charging device corresponding to the protocol customization request; wherein the key information is generated by the server through protocol customization according to the device information of the charging device;
[0040] Adjust the target protocol information corresponding to the key information according to the key information to obtain usable protocol information;
[0041] The charging device can be quickly charged according to the usable protocol information.
[0042] In a sixth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0043] Send a protocol customization request;
[0044] Receiving key information sent by the charging device corresponding to the protocol customization request; wherein the key information is generated by the server through protocol customization according to the device information of the charging device;
[0045] Adjust the target protocol information corresponding to the key information according to the key information to obtain usable protocol information;
[0046] The charging device can be quickly charged according to the usable protocol information.
[0047] The above-mentioned fast charging method, device, computer equipment, computer-readable storage medium and computer program product send a protocol customization request and receive key information sent by the charging device corresponding to the protocol customization request, wherein the key information is generated by the server through protocol customization according to the device information of the charging device, and then the target protocol information corresponding to the key information is adjusted according to the key information to obtain the usable protocol information, and finally the charging device is fast charged according to the usable protocol information. Therefore, by receiving the key information generated by protocol customization according to the device information, the fast charging protocol corresponding to the device information of different devices can be customized, and the protocol is transmitted through the confidential key information, thereby realizing a fast charging method with high security of full fast charging protocol matching without setting the full fast charging protocol in hardware on the mobile power supply. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0049] Figure 1 A diagram showing an application environment of a fast charging method in an embodiment;
[0050] Figure 2 A schematic diagram of a process of a fast charging method in one embodiment;
[0051] Figure 3 A schematic diagram of a process of a fast charging method in one embodiment;
[0052] Figure 4A schematic diagram of a process of a fast charging method in one embodiment;
[0053] Figure 5 is a schematic flow chart of a fast charging method in another embodiment;
[0054] Figure 6 is a structural block diagram of a fast charging device in one embodiment;
[0055] Figure 7 is a structural block diagram of a fast charging device in another embodiment;
[0056] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0057] 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.
[0058] The fast charging method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the charging device 102 communicates with the server 104 through the network, the charging device 102 communicates with the mobile power supply 106 through the Bluetooth module, and the mobile power supply 106 is connected to the charging device 102 by means of a protocol handshake. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The mobile power supply 106 sends a protocol customization request and receives the key information sent by the charging device corresponding to the protocol customization request, wherein the key information is generated by the server according to the device information of the charging device through protocol customization, and the target protocol information corresponding to the key information is adjusted according to the key information to obtain the usable protocol information, and finally the charging device is quickly charged according to the usable protocol information. Among them, the charging device 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices, and the Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The head mounted device may be a virtual reality (VR) device, an augmented reality (AR) device, smart glasses, etc. The mobile power source 106 may be, but is not limited to, various types of power banks. The server 104 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.
[0059] In an exemplary embodiment, Figure 2 As shown, a fast charging method is provided, which is applied to Figure 1 The mobile power source 106 in the embodiment is used as an example to illustrate the method, which includes the following steps 202 to 208.
[0060] in:
[0061] Step 202: Send a protocol customization request.
[0062] The protocol customization request is a request instruction for performing protocol customization according to the device information of the charging device after the mobile power supply and the charging device are connected.
[0063] Step 204, receiving the key information sent by the charging device corresponding to the protocol customization request; wherein the key information is generated by the server through protocol customization according to the device information of the charging device.
[0064] In some embodiments, when the server receives a protocol customization request, it obtains the device information of the charging device corresponding to the protocol customization request, customizes the protocol according to the device information to generate key information, and sends the key information to the charging device corresponding to the protocol customization request, which is then sent to the mobile power supply by the charging device. The mobile power supply receives the key information sent by the charging device corresponding to the protocol customization request, thereby responding to the protocol customization request of the mobile power supply, and further realizing the full protocol customization function.
[0065] In some embodiments, the server obtains the device information of the charging device corresponding to the protocol customization request, customizes the protocol according to the device information, obtains customized data, and sends the customized data to the server, thereby realizing the accurate and efficient determination of the fast charging protocol corresponding to each device through protocol customization. Subsequently, through the transmission of customized data, the fast charging protocol information corresponding to the customized data can be transmitted to the mobile power supply connected to the charging device in the form of key information. Therefore, through the above-mentioned protocol customization function, all fast charging protocols can be set on the mobile power supply without hardware settings, and the mobile power supply can also meet all types of fast charging protocol matching requirements and realize full-protocol fast charging function.
[0066] The charging device may be a mobile device such as a mobile phone or a laptop, or other device that supports mobile power charging. The server stores a device protocol correspondence table between device information and fast charging protocols.
[0067] In some embodiments, after the charging device and the mobile power supply are connected, the device information about the charging device input by the user can be obtained through the user operation interface of the APP software, and the device information of the charging device can also be obtained through other methods, but is not limited to this.
[0068] In some embodiments, the device information includes: brand information and model information; customizing the protocol according to the device information to obtain customized data includes: determining the target protocol according to the brand information and model information; customizing the protocol information according to the target protocol to obtain customized data.
[0069] In some embodiments, after the user enters brand information and model information in the protocol customization APP software, the protocol customization APP software will determine the target protocol from the device protocol correspondence table based on the brand information and model information, and open the target protocol in the charging device.
[0070] Among them, the protocol customization APP software is an APP interface for users to choose, which can be used to input device information, and stores the device protocol correspondence table between device information and fast charging protocol.
[0071] In some embodiments, the protocol customization APP software determines the corresponding protocol device information according to the target protocol, and customizes the protocol information for the protocol device information to obtain customized data for customizing the mobile power fast charging protocol.
[0072] In some embodiments, the fast charging protocol corresponding to the mobile power supply can be PD (Power Delivery) fast charging protocol, QC (Quick Charge) fast charging protocol, PPS (Programmable Power Supply) fast charging protocol, SCP fast charging protocol, Xiaomi fast charging protocol, VOOC fast charging protocol, etc., but not limited to this.
[0073] Among them, it should be noted that the PD protocol is a fast charging specification formulated by the USB-IF organization, the QC protocol is through D+D- network communication, and the application of the QC protocol requires the use of a fast charging data cable for fast charging. The SCP fast charging protocol is a fast charging solution designed by Huawei, the VOOC fast charging protocol is a fast charging solution designed by OPPO, and the Xiaomi fast charging protocol is a fast charging solution designed by Xiaomi. The PPS fast charging protocol is a new charging protocol proposed by USB-IF. The PPS fast charging protocol can dynamically adjust the voltage and current, and provide the most suitable charging parameters according to the needs of the device, thereby achieving faster charging speeds.
[0074] In some embodiments, the server determines the target protocol from the device protocol correspondence table based on the brand information and model information in the customized data, obtains the key information corresponding to the target protocol by encrypting the target protocol, and sends the key information to the charging device, which then sends the key information to the mobile power supply through the Bluetooth module of the charging device.
[0075] The encryption and decryption method of the key information may be one of various general encryption algorithms, but is not limited thereto.
[0076] In this embodiment, after determining the target protocol according to the customized data, the target protocol is encrypted by a universal encryption algorithm to determine the corresponding key information, which can ensure the security of the protocol information transmission process, and the subsequent decoding process of the key information by the mobile power supply is also decrypted using a universal encryption algorithm consistent with the encryption process. If the decryption of the mobile power supply fails, it indicates that the received information is invalid information, which makes the mobile power supply less susceptible to information interference from other devices, thereby further improving the security of the protocol transmission between the device and the mobile power supply.
[0077] Step 206: adjust the target protocol information corresponding to the key information according to the key information to obtain usable protocol information.
[0078] In some embodiments, the mobile power source decrypts the key information to obtain decrypted information, and adjusts the target protocol information corresponding to the key information according to the decrypted information to obtain usable protocol information.
[0079] In some embodiments, the target protocol information includes: protocol authority information and protocol content information; adjusting the target protocol information corresponding to the key information according to the key information to obtain usable protocol information, including: adjusting the protocol authority information according to the key information to obtain usable authority information; constructing information according to the usable authority information and the protocol content information to obtain usable protocol information.
[0080] The protocol permission information includes permission information on whether the target protocol can be used, and the protocol content information includes device information supported by the target protocol and the charging power supported by the target protocol.
[0081] In some embodiments, the mobile power supply adjusts the protocol permission information according to the decrypted information after decrypting the key information, that is, opens the restricted permissions corresponding to the target protocol, thereby obtaining the usable permission information that can be used by the target protocol, and then constructs the usable permission information and the protocol content of the target protocol to obtain the usable protocol information, thereby granting the mobile power supply the permission to use the target protocol, that is, the mobile power supply can open the target protocol through the usable protocol information and quickly charge the corresponding charging device.
[0082] Step 208: fast charge the charging device according to the available protocol information.
[0083] The usable protocol information includes usable permission information of the target protocol, device information supported by the target protocol, and charging power supported by the target protocol.
[0084] In some embodiments, after the mobile power source matches the fast charging protocol with the target protocol opened by the charging device based on the available protocol information, the mobile power source outputs energy according to the charging power supported by the target protocol, that is, quickly charges the charging device according to the charging power supported by the target protocol.
[0085] In this embodiment, by fast charging the charging device according to the available protocol information, the fast charging protocol matching between the mobile power supply and the charging device can be quickly and effectively performed, and after the matching is successful, the mobile power supply can safely and efficiently fast charge the charging device according to the charging power supported by the target protocol based on the available protocol information.
[0086] In some embodiments, after quickly charging the charging device according to the available protocol information, the method further includes: obtaining the charging status of the mobile power supply; determining a signal prompt light according to the charging status; and displaying the signal prompt light on a display module of the mobile power supply.
[0087] In some embodiments, after the charging device is fast charged according to the available protocol information, the charging status of the mobile power supply is obtained, and a signal prompt light is determined according to the charging status, and the signal prompt light is displayed on the display module of the mobile power supply. For example, when the charging status of the mobile power supply is fast charging, the signal prompt light corresponding to fast charging is a red light that is always on. The red light is displayed on the display module of the mobile power supply to prompt the user that the mobile power supply is currently in a fast charging state.
[0088] In this embodiment, by obtaining the charging status of the mobile power supply and determining the signal prompt light according to the charging status, the signal prompt light is displayed on the display module of the mobile power supply. This real-time signal feedback can more promptly prompt the user's charging device that has successfully completed the protocol matching with the mobile power supply and is undergoing fast charging, thereby improving the user experience.
[0089] In the above-mentioned fast charging method, a protocol customization request is sent, and key information sent by the charging device corresponding to the protocol customization request is received, wherein the key information is generated by the server through protocol customization according to the device information of the charging device, and then the target protocol information corresponding to the key information is adjusted according to the key information to obtain the usable protocol information, and finally the charging device is fast charged according to the usable protocol information. Therefore, by receiving the key information generated through protocol customization according to the device information, the fast charging protocol corresponding to the device information of different devices can be customized, and the protocol is transmitted through the confidential key information, thereby realizing a fast charging method with high security of full fast charging protocol matching without setting the full fast charging protocol in hardware on the mobile power supply.
[0090] In an exemplary embodiment, Figure 3 As shown, before the root sends the protocol customization request, the fast charging method further includes: step 302 to step 306. Among them:
[0091] Step 302, obtaining the fast charging protocol information of the mobile power source.
[0092] Among them, the fast charging protocol information includes the usage permission information of the fast charging protocol currently supported by the mobile power supply and the energy output power of the fast charging protocol currently supported.
[0093] In some embodiments, the fast charging protocol information of the mobile power supply can be directly obtained through third-party software, or the fast charging protocol information can be obtained through a built-in data storage unit of the mobile power supply, but is not limited thereto.
[0094] Step 304, matching the fast charging protocol information corresponding to the device information with the fast charging protocol information to obtain a matching result.
[0095] In some embodiments, the usage permission information of the fast charging protocol currently supported by the mobile power supply in the fast charging protocol information is matched with the usage permission information of the fast charging protocol supported in the fast charging protocol information corresponding to the device information to obtain a matching result. If the usage permission information corresponding to the protocol currently supported by the mobile power supply contains usage permission information of the fast charging protocol that matches the usage permission information of the fast charging protocol supported in the fast charging protocol information, the matching result is a successful matching result; otherwise, the matching result is a failed matching result.
[0096] In some embodiments, if the matching result is a matching failure, the fast charging method further includes: obtaining a protocol customization instruction; if the protocol customization instruction indicates that protocol customization is not supported, performing normal charging on the charging device; wherein the charging power of normal charging is lower than the charging power of fast charging.
[0097] Among them, the protocol customization instruction is obtained through the protocol customization APP software, and the protocol customization instruction is used to determine whether the user needs instruction information for protocol customization through the protocol customization function.
[0098] In some embodiments, when the protocol customization APP software confirms that the matching result is a matching failure, the protocol customization APP software sends a matching failure message through the message prompt function of the charging device, and pops up a message pop-up window asking whether the protocol customization function is required, and generates a protocol customization instruction based on the user's selection operation, thereby realizing timely acquisition of the protocol customization instruction generated by the user's selection operation in a visual manner.
[0099] In some embodiments, if the protocol customization instruction indicates that protocol customization is not supported, it means that the user does not want to implement the fast charging function in the subsequent steps through protocol customization, then the charging device will be charged normally, where the charging power of normal charging is lower than the charging power of fast charging.
[0100] In some embodiments, if the protocol customization instruction supports protocol customization, it means that the user hopes to implement the fast charging function in steps S202 to S208 through protocol customization, and the mobile power supply sends a protocol customization request to the charging device to perform subsequent protocol customization steps, thereby realizing the protocol customization function.
[0101] Step 306: If the matching result is successful, the charging device is quickly charged according to the fast charging protocol information corresponding to the matching result.
[0102] In some embodiments, if the matching result is a successful match, it means that there is a fast charging protocol in the current mobile power supply that matches the charging device. After the match is successful, the output power of the fast charging is determined by obtaining the fast charging protocol information corresponding to the successfully matched fast charging protocol in the matching result, and the charging device is fast charged according to the output power.
[0103] In this embodiment, a matching result is obtained by matching the fast charging protocol information of the mobile power source with the fast charging protocol information corresponding to the charging device. When the matching result is a successful match, the charging device is directly fast charged according to the fast charging protocol information corresponding to the matching result, thereby realizing the screening and confirmation of the fast charging protocol information supported by the current mobile power source before the mobile power source performs protocol customization, thereby avoiding some unnecessary protocol customization operations, thereby saving computer resources.
[0104] In some embodiments, in order to more clearly understand the fast charging process of the present application, the specific judgment process of the fast charging process can be found in Figure 4 .
[0105] In some embodiments, Figure 5 As shown, another fast charging method is provided, which is described by taking the method applied to the server 104 as an example, and includes the following steps:
[0106] Step 502: respond to the protocol customization request and obtain device information of the charging device according to the protocol customization request.
[0107] Step 504: Customize the protocol according to the device information to obtain key information.
[0108] Step 506, sending a protocol information adjustment instruction to the mobile power supply, so that the mobile power supply adjusts the target protocol information corresponding to the key information according to the key information, obtains the usable protocol information, and enables the mobile power supply to quickly charge the charging device according to the usable protocol information; wherein the protocol information adjustment instruction is generated by the key information.
[0109] In some embodiments, the device information includes: brand information and model information; customizing the protocol according to the device information to obtain key information includes: determining the target protocol according to the brand information and model information; customizing the protocol information according to the target protocol to obtain customized data; determining the key information according to the customized data.
[0110] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0111] Based on the same inventive concept, the embodiment of the present application also provides a fast charging device for implementing the fast charging method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more fast charging device embodiments provided below can refer to the limitations of the fast charging method above, and will not be repeated here.
[0112] In an exemplary embodiment, Figure 6 As shown, a fast charging device is provided, including: a sending module 601, a receiving module 602, an adjustment module 603 and a fast charging module 604, wherein:
[0113] The sending module 601 is used to send a protocol customization request;
[0114] The receiving module 602 is used to receive the key information sent by the charging device corresponding to the protocol customization request; wherein the key information is generated by the server through protocol customization according to the device information of the charging device;
[0115] An adjustment module 603 is used to adjust the target protocol information corresponding to the key information according to the key information to obtain usable protocol information;
[0116] The fast charging module 604 is used to quickly charge the charging device according to the available protocol information.
[0117] In some embodiments, the target protocol information includes: protocol authority information and protocol content information; the adjustment module 603 is also used to adjust the protocol authority information according to the key information to obtain usable authority information; and construct information according to the usable authority information and the protocol content information to obtain usable protocol information.
[0118] In some embodiments, the device also includes: a fast charging protocol matching module, which is used to obtain the fast charging protocol information of the mobile power supply; match the fast charging protocol information corresponding to the device information with the fast charging protocol information to obtain a matching result; if the matching result is a successful match, the charging device is quickly charged according to the fast charging protocol information corresponding to the matching result.
[0119] In some embodiments, the device also includes: a normal charging module, used to obtain a protocol customization instruction; if the protocol customization instruction indicates that protocol customization is not supported, the charging device is normally charged; wherein the charging power of the normal charging is lower than the charging power of the fast charging.
[0120] In the above-mentioned fast charging device, by sending a protocol customization request and receiving the key information sent by the charging device corresponding to the protocol customization request, the key information is generated by the server through protocol customization according to the device information of the charging device, and then the target protocol information corresponding to the key information is adjusted according to the key information to obtain the usable protocol information, and finally the charging device is quickly charged according to the usable protocol information. Therefore, by receiving the key information generated through protocol customization according to the device information, the fast charging protocol corresponding to the device information of different devices can be customized, and the protocol is transmitted through the confidential key information, thereby realizing a fast charging device with high security matching of the full fast charging protocol without setting the full fast charging protocol in the mobile power supply through hardware.
[0121] In an exemplary embodiment, Figure 7As shown, another fast charging device is provided, including: a sending module 701, a second receiving module 702 and a second adjusting module 703, wherein:
[0122] The response module 701 is used to respond to the protocol customization request and obtain the device information of the charging device according to the protocol customization request.
[0123] The second receiving module 702 is used to customize the protocol according to the device information to obtain the key information.
[0124] The second adjustment module 703 is used to send a protocol information adjustment instruction to the mobile power supply, so that the mobile power supply adjusts the target protocol information corresponding to the key information according to the key information, obtains the usable protocol information, and enables the mobile power supply to quickly charge the charging device according to the usable protocol information; wherein the protocol information adjustment instruction is generated by the key information.
[0125] In some embodiments, the device information includes: brand information and model information; the receiving module 702 is further used to determine the target protocol according to the brand information and model information; customize the protocol information according to the target protocol to obtain customized data; and determine the key information according to the customized data.
[0126] Each module in the above-mentioned fast charging device can be implemented in whole or in part by software, hardware or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0127] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 8 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store protocol information data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a fast charging method is implemented.
[0128] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0129] In some embodiments, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0130] In some embodiments, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0131] In some embodiments, a computer program product is provided, including a computer program, which implements the steps in the above-mentioned method embodiments when executed by a processor.
[0132] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0133] 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 memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0134] 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 application.
[0135] The above-described 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 present application. 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 present application shall be subject to the attached claims.
Claims
1. A fast charging method, It is characterized in that Applied to a mobile power source, the method comprises: Send a protocol customization request; Receiving key information sent by the charging device corresponding to the protocol customization request; wherein the key information is generated by the server through protocol customization according to the device information of the charging device; Adjust the target protocol information corresponding to the key information according to the key information to obtain usable protocol information; The charging device can be quickly charged according to the usable protocol information.
2. The method according to claim 1, It is characterized in that The target protocol information includes: protocol authority information and protocol content information; the target protocol information corresponding to the key information is adjusted according to the key information to obtain the usable protocol information, including: Adjust the protocol permission information according to the key information to obtain usable permission information; Information is constructed according to the usable permission information and the protocol content information to obtain the usable protocol information.
3. The method according to claim 1, It is characterized in that The method further comprises: Obtaining fast charging protocol information of the mobile power supply; Matching the fast charging protocol information with the fast charging protocol information corresponding to the device information to obtain a matching result; If the matching result is a successful match, the charging device is quickly charged according to the fast charging protocol information corresponding to the matching result.
4. The method according to claim 3, It is characterized in that The method further comprises: Get protocol customization instructions; If the protocol customization instruction indicates that protocol customization is not supported, the charging device is subjected to normal charging; wherein the charging power of the normal charging is lower than the charging power of the fast charging.
5. A fast charging method, It is characterized in that Applied to a server, the method comprises: Responding to the protocol subscription request, and acquiring device information of the charging device according to the protocol subscription request; Customize the protocol according to the device information to obtain key information; Send a protocol information adjustment instruction to the mobile power supply, so that the mobile power supply adjusts the target protocol information corresponding to the key information according to the key information to obtain the usable protocol information, and enables the mobile power supply to quickly charge the charging device according to the usable protocol information; wherein the protocol information adjustment instruction is generated by the key information.
6. The method according to claim 5, It is characterized in that The device information includes: brand information and model information; the protocol customization is performed according to the device information to obtain key information, including: Determine the target protocol according to the brand information and the model information; Customizing protocol information according to the target protocol to obtain customized data; The key information is determined according to the customization data.
7. A fast charging device, It is characterized in that The device comprises: A sending module, used for sending a protocol customization request; A receiving module, used to receive key information sent by the charging device corresponding to the protocol customization request; wherein the key information is generated by the server through protocol customization according to the device information of the charging device; An adjustment module, used to adjust the target protocol information corresponding to the key information according to the key information to obtain usable protocol information; A fast charging module is used to quickly charge the charging device according to the usable protocol information.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
