Fast charging method and computer-readable storage medium
By sending a protocol customization request and receiving key information generated by the server, the target protocol information is adjusted, solving the problem of high cost of matching fast charging protocols for power banks, and realizing convenient and efficient full-protocol fast charging.
Patent Information
- Application Number
- PCT/CN2024/112641
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-07-17
- Filing Date
- 2024-08-16
- Publication Date
- 2026-01-22
AI Technical Summary
Current power banks require hardware configuration to achieve fast charging protocol compatibility, which is costly and inconvenient for updates, and lacks a convenient and efficient protocol compatibility method.
By sending a protocol customization request, receiving key information generated by the server, and adjusting the target protocol information according to the key information, fast charging of power banks and charging devices can be achieved.
It enables efficient and safe compatibility with all types of fast charging protocols without the need for hardware setup, reducing costs and improving the ease of protocol updates.
Smart Images

Figure CN2024112641_22012026_PF_FP_ABST
Abstract
Description
Fast charging methods and computer-readable storage media
[0001] This application claims priority to Chinese Patent Application No. 2024109560746, filed on July 17, 2024, entitled "Fast Charging Method, Apparatus, Computer Equipment, Readable Storage Medium and Program Product", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of mobile charging technology, and in particular to a fast charging method and a computer-readable storage medium. Background Technology
[0003] With the development of mobile charging technology, utilizing power banks for fast charging of mobile devices has gradually become the mainstream technology. Power banks, also known as portable chargers, are portable chargers that integrate power supply and charging functions, allowing users to charge or power mobile phones and other digital devices anytime, anywhere. Fast charging requires compatibility between the charging device and the mobile device's fast charging protocols. However, current power bank technology only achieves full protocol fast charging through hardware configuration. This hardware configuration method, which integrates all protocol types into the power bank, is not only costly but also hinders the updating of fast charging protocols. Therefore, there is an urgent need for a more convenient and efficient method to achieve full fast charging protocol compatibility with power banks.
[0004] Summary of the Invention
[0005] According to various embodiments of this application, a fast charging method and a computer-readable storage medium are provided.
[0006] In a first aspect, this application provides a fast charging method applied to a power bank. The method includes: sending a protocol customization request; receiving key information sent by a charging device corresponding to the protocol customization request; wherein the key information is generated by a server based on device information of the charging device; adjusting target protocol information corresponding to the key information according to the key information to obtain usable protocol information; and fast charging the charging device according to the usable protocol information.
[0007] Secondly, this application also provides another fast charging method applied to a server. The method includes: responding to a protocol customization request and obtaining device information of a charging device according to the protocol customization request; customizing the protocol according to the device information to obtain key information; sending a protocol information adjustment instruction to a power bank, so that the power bank adjusts the target protocol information corresponding to the key information according to the key information to obtain usable protocol information, and causes the power bank to fast charge the charging device according to the usable protocol information; wherein the protocol information adjustment instruction is generated by the key information.
[0008] Thirdly, this application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, performs the following steps: sending a protocol customization request; receiving key information sent by a charging device corresponding to the protocol customization request; wherein the key information is generated by a server based on the device information of the charging device for protocol customization; adjusting the target protocol information corresponding to the key information according to the key information to obtain usable protocol information; and performing fast charging on the charging device according to the usable protocol information.
[0009] Details of one or more embodiments of this application are set forth in the following drawings and description. Other features and advantages of this application will become apparent from the specification, drawings, and claims. Attached Figure Description
[0010] Figure 1 is an application environment diagram of a fast charging method in one embodiment;
[0011] Figure 2 is a flowchart illustrating a fast charging method in one embodiment;
[0012] Figure 3 is a flowchart illustrating a fast charging method in one embodiment;
[0013] Figure 4 is a flowchart illustrating a fast charging method in one embodiment;
[0014] Figure 5 is a flowchart illustrating a fast charging method in another embodiment;
[0015] Figure 6 is a structural block diagram of a fast charging device in one embodiment;
[0016] Figure 7 is a structural block diagram of a fast charging device in another embodiment;
[0017] Figure 8 is an internal structure diagram of a computer device in one embodiment. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0019] The fast charging method provided in this application embodiment can be applied to the application environment shown in Figure 1. The charging device 102 communicates with the server 104 via a network and with the power bank 106 via a Bluetooth module. The power bank 106 connects to the charging device 102 via a protocol handshake. A 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 placed in the cloud or on another network server. The power bank 106 sends a protocol customization request and receives key information sent by the charging device corresponding to the protocol customization request. The key information is generated by the server based on the device information of the charging device, and the server adjusts the target protocol information corresponding to the key information to obtain usable protocol information. Finally, the power bank performs fast charging on the charging device according to the usable protocol information. The charging device 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, projection devices, etc. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted devices. Head-mounted devices can be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. Power bank 106 can be, but is not limited to, various types of power banks. Server 104 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.
[0020] In an exemplary embodiment, as shown in FIG2, a fast charging method is provided. Taking the application of this method to the power bank 106 in FIG1 as an example, the method includes the following steps 202 to 208. Wherein:
[0021] Step 202: Send a protocol customization request.
[0022] Among them, the protocol customization request is a request instruction used to customize the protocol based on the device information of the charging device after the power bank and the charging device are connected.
[0023] In some embodiments, after the power bank and the charging device are connected via a data cable, the power bank will perform a protocol handshake with the charging device. After the protocol handshake is successful, the power bank will make a protocol customization judgment based on the user's needs and the device information of the charging device. When the judgment result is that protocol customization is required, the power bank will send a protocol customization request so that the power bank can supplement support for the fast charging protocol of the charging device.
[0024] For example, after the power bank and the charging device successfully handshake, the power bank will determine whether it supports the fast charging protocol of the charging device based on the device information of the charging device. If it does not support the charging device, it will further obtain the user request instruction sent by the charging device. If the user request instruction is that the protocol needs to be customized, it will send a protocol customization request.
[0025] Step 204: Receive key information sent by the charging device corresponding to the protocol customization request; wherein the key information is generated by the server based on the device information of the charging device for protocol customization.
[0026] 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, generates key information for protocol customization based on the device information, and sends the key information to the charging device corresponding to the protocol customization request. The charging device then sends the key information to the power bank. The power bank receives the key information sent by the charging device corresponding to the protocol customization request, thereby responding to the power bank's protocol customization request and thus realizing the full protocol customization function.
[0027] In some embodiments, the server obtains the device information of the charging device corresponding to the protocol customization request, performs protocol customization based on the device information, obtains customization data, and sends the customization data to the server. This enables the accurate and efficient determination of the fast charging protocol corresponding to each device through protocol customization. Subsequently, through the transmission of customization data, the fast charging protocol information corresponding to the customization data can be transmitted to the power bank connected to the charging device in the form of key information. Therefore, through the above-mentioned protocol customization function, without setting all fast charging protocols on the power bank through hardware settings, the power bank can also meet the matching requirements of all types of fast charging protocols and realize the full protocol fast charging function.
[0028] The charging device can be a mobile device such as a mobile phone or laptop, or other devices that support power bank charging. The server stores a table that maps device information to fast charging protocols.
[0029] In some embodiments, after the charging device and the power bank are connected, the device information of the charging device input by the user can be obtained through the user interface of the APP software. The device information of the charging device can also be obtained through other means, and is not limited thereto.
[0030] In some embodiments, the device information includes: brand information and model information; customizing the protocol based on the device information to obtain customized data includes: determining the target protocol based on the brand information and model information; customizing the protocol information based on the target protocol to obtain customized data.
[0031] In some embodiments, after the user enters brand information and device 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 device model information, and open the target protocol in the charging device.
[0032] Among them, the protocol customization APP software is an APP interface that users can choose to input device information and store a device protocol correspondence table between device information and fast charging protocols, and is not limited to this.
[0033] In some embodiments, if a user needs to update the fast charging protocol supported by the power bank, they only need to update the device protocol correspondence table stored in the protocol customization APP software and the server to ensure that the power bank is compatible with all protocols for fast charging.
[0034] In some embodiments, the protocol customization APP software determines the corresponding protocol device information based on the target protocol, and customizes the protocol device information to obtain customized data for customizing the power bank fast charging protocol.
[0035] In some embodiments, the fast charging protocol corresponding to the power bank may 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., and is not limited to these.
[0036] Among them, PD protocol is a fast charging standard developed by the USB-IF organization; QC protocol is a fast charging standard developed by the USB-IF organization; QC protocol is a fast charging standard developed by the USB-IF organization; SCP fast charging protocol is a fast charging solution designed by Huawei; VOOC fast charging protocol is a fast charging solution designed by OPPO; Xiaomi fast charging protocol is a fast charging solution designed by Xiaomi; and PPS fast charging protocol is a new type of charging protocol proposed by the USB-IF organization. PPS fast charging protocol can dynamically adjust voltage and current to provide the most suitable charging parameters according to the needs of the device, thereby achieving a faster charging speed.
[0037] 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. Then, the charging device sends the key information to the power bank through the Bluetooth module of the charging device.
[0038] The encryption and decryption methods for key information can be one of various general encryption algorithms, and are not limited to this.
[0039] In this embodiment, after determining the target protocol based on the customized data, the target protocol is encrypted using a general encryption algorithm to determine the corresponding key information. This ensures the security of the protocol information transmission process. Furthermore, the subsequent decoding process of the key information by the power bank also uses the same general encryption algorithm as the encryption process. If the power bank fails to decrypt, it indicates that the received information is invalid, making the power bank less susceptible to interference from other devices. This further improves the security of protocol transmission between the device and the power bank.
[0040] Step 206: Adjust the target protocol information corresponding to the key information according to the key information to obtain usable protocol information.
[0041] In some embodiments, the power bank decrypts the key information to obtain decrypted information, and then adjusts the target protocol information corresponding to the key information according to the decrypted information to obtain usable protocol information.
[0042] In some embodiments, the target protocol information includes: protocol permission 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 includes: adjusting the protocol permission information according to the key information to obtain usable permission information; and constructing information according to the usable permission information and the protocol content information to obtain usable protocol information.
[0043] 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.
[0044] In some embodiments, the power bank adjusts the protocol permission information based on the decrypted information obtained from the key information, that is, it unlocks the restricted permissions corresponding to the target protocol, thereby obtaining the usable permission information of the target protocol. Then, the usable permission information and the protocol content of the target protocol are constructed to obtain the usable protocol information, thereby granting the power bank the right to use the target protocol. That is, the power bank can open the target protocol through the usable protocol information and quickly charge the corresponding charging device.
[0045] Step 208: Quickly charge the charging device according to the available protocol information.
[0046] The available protocol information includes the target protocol's usage rights information, the device information supported by the target protocol, and the charging power supported by the target protocol.
[0047] In some embodiments, after the power bank matches the fast charging protocol with the target protocol enabled by the charging device based on the available protocol information, the power bank will output energy according to the charging power supported by the target protocol, that is, to fast charge the charging device according to the charging power supported by the target protocol.
[0048] In this embodiment, by fast charging the charging device according to the available protocol information, the fast charging protocol matching between the power bank and the charging device can be performed quickly and effectively. After successful matching, the power bank 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.
[0049] In some embodiments, after fast charging the charging device according to the available protocol information, the method further includes: obtaining the charging status of the power bank; determining a signal indicator light based on the charging status; and displaying the signal indicator light on the display module of the power bank.
[0050] In some embodiments, after fast charging the charging device according to the available protocol information, the charging status of the power bank is obtained, and a signal indicator light is determined based on the charging status. The signal indicator light is then displayed on the power bank's display module. For example, when the power bank is fast charging, the corresponding signal indicator light for fast charging is a solid red light. Displaying the solid red light on the power bank's display module serves as a notification to the user that the power bank is currently fast charging.
[0051] In this embodiment, by acquiring the charging status of the power bank and determining the signal indicator light based on the charging status, the signal indicator light is displayed on the power bank's display module. This real-time signal feedback can more promptly notify the user that the charging device has successfully completed protocol matching with the power bank and is undergoing fast charging, thereby improving the user experience.
[0052] In the aforementioned fast charging method, a protocol customization request is sent, and key information sent by the charging device corresponding to the request is received. This key information is generated by the server based on the charging device's device information. The server then adjusts the target protocol information corresponding to the key information to obtain usable protocol information. Finally, fast charging is performed on the charging device based on this usable protocol information. Therefore, by receiving key information generated based on device information, fast charging protocols corresponding to different devices can be customized. Furthermore, the protocol is transmitted using confidential key information, thus achieving a highly secure fast charging method that matches all fast charging protocols without requiring hardware configuration of the entire fast charging protocol within the power bank.
[0053] In an exemplary embodiment, as shown in FIG3, before sending the root protocol customization request, the fast charging method further includes steps 302 to 306. Wherein:
[0054] Step 302: Obtain the fast charging protocol information of the power bank.
[0055] The fast charging protocol information includes the usage permission information of the fast charging protocols currently supported by the power bank and the energy output power of the currently supported fast charging protocols.
[0056] In some embodiments, the fast charging protocol information of the power bank can be obtained directly through third-party software, or through the power bank's built-in data storage unit, and is not limited thereto.
[0057] Step 304: Match the fast charging protocol information with the fast charging protocol information corresponding to the device information to obtain the matching result.
[0058] In some embodiments, the usage permission information of the fast charging protocol currently supported by the power bank in the fast charging protocol information is matched with the usage permission information of the fast charging protocol supported in the device information to obtain a matching result. If the usage permission information of the protocol currently supported by the power bank contains usage permission information of a 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.
[0059] 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 does not support protocol customization, then performing normal charging on the charging device; wherein the charging power of normal charging is lower than the charging power of fast charging.
[0060] The protocol customization instruction is obtained through the protocol customization APP software and is used to determine whether the user needs to customize the protocol through the protocol customization function. When the protocol customization instruction is "not supported", it means that the user does not want to customize the protocol. When the protocol customization instruction is "supported", it means that the user wants to customize the protocol.
[0061] In some embodiments, the triggering condition for sending the protocol customization instruction can be implemented through a paid method. For example, when a user needs to customize the protocol, a protocol customization instruction that supports protocol customization can be sent through a paid method. Alternatively, user permissions can be restricted in other ways to control the number of times the protocol customization is triggered, thereby reducing the server pressure when a large number of requests access the server.
[0062] In some embodiments, when the protocol customization APP software confirms that the matching result is a 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 to customize the protocol through the protocol customization function. The protocol customization instruction is generated according to the user's selection operation, thereby realizing timely acquisition of the protocol customization instruction generated by the user's selection operation in a visual way.
[0063] In some embodiments, if the protocol customization instruction is not supported, it means that the user does not want to achieve the fast charging function in the subsequent steps through protocol customization. In this case, the charging device will be charged normally, where the charging power of normal charging is lower than that of fast charging.
[0064] In some embodiments, if the protocol customization instruction is to support protocol customization, it means that the user wants to implement the fast charging function in steps S202 to S208 through protocol customization, and the power bank sends a protocol customization request to the charging device to perform subsequent protocol customization steps, thereby realizing the protocol customization function.
[0065] Step 306: If the matching result is successful, then the charging device is fast charged according to the fast charging protocol information corresponding to the matching result.
[0066] In some embodiments, if the matching result is successful, it means that there is a fast charging protocol in the current power bank that is compatible with the charging device. After successful matching, the fast charging output power 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.
[0067] In this embodiment, the fast charging protocol information of the power bank and the fast charging protocol information of the charging device are matched to obtain a matching result. When the matching result is successful, the charging device is directly fast charged according to the fast charging protocol information corresponding to the matching result. This allows the fast charging protocol information supported by the power bank to be screened and confirmed before the power bank is customized, thereby avoiding some unnecessary protocol customization operations and saving computer resources.
[0068] In some embodiments, for a clearer understanding of the fast charging process of this application, please refer to Figure 4 for the specific judgment process in the fast charging process.
[0069] In some embodiments, as shown in Figure 5, another fast charging method is provided. Taking the application of this method to server 104 as an example, it includes the following steps:
[0070] Step 502: In response to the protocol customization request, obtain the device information of the charging device according to the protocol customization request.
[0071] Step 504: Customize the protocol based on the device information to obtain key information.
[0072] Step 506: Send a protocol information adjustment instruction to the power bank so that the power bank adjusts the target protocol information corresponding to the key information according to the key information to obtain usable protocol information, and enables the power bank to quickly charge the charging device according to the usable protocol information; wherein, the protocol information adjustment instruction is generated by the key information.
[0073] In some embodiments, the device information includes: brand information and model information; the protocol customization based on the device information to obtain key information includes: determining a target protocol based on the brand information and model information; customizing protocol information based on the target protocol to obtain customized data; and determining key information based on the customized data.
[0074] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0075] Based on the same inventive concept, this application also provides a fast charging device for implementing the fast charging method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more fast charging device embodiments provided below can be found in the limitations of the fast charging method described above, and will not be repeated here.
[0076] In an exemplary embodiment, as shown in FIG6, a fast charging device is provided, including: a transmitting module 601, a receiving module 602, an adjusting module 603, and a fast charging module 604, wherein:
[0077] Sending module 601 is used to send protocol customization requests;
[0078] The receiving module 602 is 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 based on the device information of the charging device for protocol customization;
[0079] The 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;
[0080] Fast charging module 604 is used to fast charge the charging device according to the available protocol information.
[0081] In some embodiments, the target protocol information includes: protocol permission information and protocol content information; the adjustment module 603 is further configured to adjust the protocol permission information according to the key information to obtain usable permission information; and to construct information based on the usable permission information and the protocol content information to obtain usable protocol information.
[0082] In some embodiments, the device further includes: a fast charging protocol matching module, configured to acquire fast charging protocol information of the power bank; match 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 successful, then fast charge the charging device according to the fast charging protocol information corresponding to the matching result.
[0083] In some embodiments, the device further includes: a normal charging module, configured to acquire a protocol customization instruction; if the protocol customization instruction is not supported, then normal charging is performed on the charging device; wherein the charging power of normal charging is lower than that of fast charging.
[0084] In the aforementioned fast charging device, a protocol customization request is sent, and key information sent by the charging device corresponding to the request is received. This key information is generated by the server based on the charging device's device information. The server then adjusts the target protocol information corresponding to the key information to obtain usable protocol information. Finally, fast charging is performed on the charging device based on the usable protocol information. Therefore, by receiving key information generated based on device information, fast charging protocols corresponding to different devices can be customized, and the protocol is transmitted using confidential key information. This achieves a high-security fast charging device that supports all fast charging protocols without requiring hardware configuration of the entire fast charging protocol within the power bank.
[0085] In an exemplary embodiment, as shown in FIG7, another fast charging device is provided, including: a transmitting module 701, a second receiving module 702, and a second adjusting module 703, wherein:
[0086] 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.
[0087] The second receiving module 702 is used to customize the protocol based on the device information and obtain key information.
[0088] The second adjustment module 703 is used to send a protocol information adjustment instruction to the power bank, so that the power bank adjusts the target protocol information corresponding to the key information according to the key information to obtain usable protocol information, and enables the power bank to quickly charge the charging device according to the usable protocol information; wherein, the protocol information adjustment instruction is generated by the key information.
[0089] In some embodiments, the device information includes: brand information and model information; the receiving module 702 is further configured to determine a target protocol based on the brand information and model information; customize protocol information according to the target protocol to obtain customized data; and determine key information based on the customized data.
[0090] Each module in the aforementioned fast charging device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.
[0091] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram is shown in Figure 8. The computer device includes a processor, memory, input / output interfaces (I / O), and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is connected to the system bus via the I / O interfaces. The processor of the computer device provides computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database of the computer device stores protocol information data. The I / O interfaces of the computer device are used for exchanging information between the processor and external devices. The communication interface of the computer device is used for communicating with external terminals via a network connection. When the computer program is executed by the processor, it implements a fast charging method.
[0092] Those skilled in the art will understand that the structure shown in Figure 8 is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or may combine certain components, or may have different component arrangements.
[0093] In some embodiments, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.
[0094] In some embodiments, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps in the above method embodiments.
[0095] In some embodiments, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0096] 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, data stored, data displayed, 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 the relevant data must comply with relevant regulations.
[0097] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this 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. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0098] The technical features of the above embodiments can be combined in any way. For the sake of brevity, 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.
[0099] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A quick charging method applied to a mobile power supply, the method comprising: sending a protocol subscription request; receiving key information sent by a charging device corresponding to the protocol subscription request, wherein the key information is generated by a server according to device information of the charging device through protocol subscription; adjusting target protocol information corresponding to the key information according to the key information to obtain usable protocol information; quickly charging the charging device according to the usable protocol information.
2. The method of claim 1, the target protocol information comprising: 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, comprising: 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 the usable protocol information. 3.The method of claim 2, wherein adjusting the protocol authority information according to the key information to obtain usable authority information, comprises: obtaining decryption information by decrypting the key information; adjusting the target protocol information corresponding to the key information according to the decryption information to obtain the usable protocol information. 4.The method of claim 1, further comprising: obtaining quick charging protocol information of the mobile power supply; matching the quick charging protocol information corresponding to the device information according to the quick charging protocol information to obtain a matching result; if the matching result is a match, then quickly charging the charging device according to the quick charging protocol information corresponding to the matching result. 5.The method of claim 1, further comprising: obtaining a protocol subscription instruction; if the protocol subscription instruction does not support protocol subscription, then normally charging the charging device; wherein the charging power of the normal charging is lower than the charging power of the quick charging. 6.The method of claim 1, wherein quickly charging the charging device according to the usable protocol information, comprises: quickly charging protocol matching the target protocol opened by the charging device according to the usable protocol information to obtain a protocol matching result; if the protocol matching result is a match, then quickly charging the charging device according to the charging power supported by the target protocol. 7.The method of claim 1, after adjusting the target protocol information corresponding to the key information according to the key information to obtain usable protocol information, the method further comprising: obtaining a charging state of the mobile power supply; determining a signal prompt light according to the charging state; displaying the signal prompt light on a display module of the mobile power supply. 8.A quick charging method applied to a server, the method comprising: responding to a protocol subscription request and obtaining device information of a charging device according to the protocol subscription request; performing protocol subscription according to the device information to obtain key information. sending a protocol information adjustment instruction to the mobile power supply, so that the mobile power supply adjusts target protocol information corresponding to the key information according to the key information to obtain usable protocol information, and so that the mobile power supply performs fast charging on the charging device according to the usable protocol information; wherein the protocol information adjustment instruction is generated by the key information.
9. The method of claim 8, the device information comprising: brand information and model information; the protocol subscription according to the device information to obtain the key information comprises: determining the target protocol according to the brand information and the model information; performing protocol information subscription according to the target protocol to obtain subscription data; determining the key information according to the subscription data.
10. The method of claim 8, the target protocol information comprising: protocol authority information and protocol content information; the adjustment of the target protocol information corresponding to the key information according to the key information to obtain the usable protocol information comprises: adjusting the protocol authority information according to the key information to obtain usable authority information; performing information construction according to the usable authority information and the protocol content information to obtain the usable protocol information.
11. The method of claim 8, further comprising: obtaining fast-charging protocol information of the mobile power supply; matching the fast-charging protocol information corresponding to the device information according to the fast-charging protocol information to obtain a matching result; if the matching result is a matching success, performing fast charging on the charging device according to the fast-charging protocol information corresponding to the matching result.
12. The method of claim 8, further comprising: obtaining a protocol subscription instruction; if the protocol subscription instruction is not supporting protocol subscription, sending a normal charging instruction to the mobile power supply to make the mobile power supply perform normal charging on the charging device; wherein the charging power of the normal charging is lower than the charging power of the fast charging.
13. The method of claim 8, after the fast charging on the charging device according to the usable protocol information, the method further comprises: obtaining a charging state of the mobile power supply; determining a signal prompt light according to the charging state; displaying the signal prompt light on a display module of the mobile power supply.
14. A computer-readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to: send a protocol subscription request; receiving key information transmitted by the charging device corresponding to the protocol subscription request; wherein, the key information is generated by a server according to device information of the charging device; adjust target protocol information corresponding to the key information according to the key information to obtain usable protocol information; perform fast charging on the charging device according to the usable protocol information.
15. The computer-readable storage medium of claim 14, the target protocol information comprising: protocol authority information and protocol content information; the computer program is executed by the processor to further implement the following steps: adjust the protocol authority information according to the key information to obtain usable authority information; perform information construction according to the usable authority information and the protocol content information to obtain the usable protocol information. 16.The computer readable storage medium of claim 15, wherein the computer program, when executed by the processor, further implements the following steps: obtaining decryption information by decrypting the key information; adjusting target protocol information corresponding to the key information according to the decryption information to obtain usable protocol information. 17.The computer readable storage medium of claim 14, wherein the computer program, when executed by the processor, further implements the following steps: obtaining the fast-chargeable protocol information of the mobile power supply; matching the fast-chargeable protocol information corresponding to the device information according to the fast-chargeable protocol information to obtain a matching result; if the matching result is a match, then performing fast charging on the charging device according to the fast-chargeable protocol information corresponding to the matching result. 18.The computer readable storage medium of claim 14, wherein the computer program, when executed by the processor, further implements the following steps: obtaining a protocol subscription instruction; if the protocol subscription instruction is not supported protocol subscription, the charging device is normally charged; wherein, the charging power of the ordinary charging is lower than the charging power of the fast charging. 19.The computer readable storage medium of claim 14, wherein the computer program, when executed by the processor, further implements the following steps: performing fast charging protocol matching according to the usable protocol information and the target protocol opened by the charging device to obtain a protocol matching result; if the protocol matching result is a match, then performing fast charging on the charging device according to the charging power supported by the target protocol. 20.The computer readable storage medium of claim 14, wherein the computer program, when executed by the processor, further implements the following steps: obtaining a charging state of the mobile power supply; determining a signal prompt light according to the charging state; displaying the signal prompt light on a display module of the mobile power supply.
Citation Information
Patent Citations
Multi-standard compatible charger
CN103259299A
Power supply method, charging method, power supply equipment and equipment to be charged
CN111216587A
Multi-channel charging control method and system based on multiple charging standards
CN115782658A
Communication authentication method and device, computer equipment and storage medium
CN117041956A
Wireless charging confirmation method and device, computer equipment and storage medium
CN117141266A