CN113178906A - Charging method, charging device, electronic device and storage medium - Google Patents
Charging method, charging device, electronic device and storage medium Download PDFInfo
- Publication number
- CN113178906A CN113178906A CN202110395234.0A CN202110395234A CN113178906A CN 113178906 A CN113178906 A CN 113178906A CN 202110395234 A CN202110395234 A CN 202110395234A CN 113178906 A CN113178906 A CN 113178906A
- Authority
- CN
- China
- Prior art keywords
- charging
- protocol
- content
- target charging
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000003993 interaction Effects 0.000 claims abstract description 18
- 238000013507 mapping Methods 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 2
- 238000006243 chemical reaction Methods 0.000 description 19
- 238000004891 communication Methods 0.000 description 15
- 230000005540 biological transmission Effects 0.000 description 11
- 238000012545 processing Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 8
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000005669 field effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/00032—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
- H02J7/00036—Charger exchanging data with battery
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/44—Methods for charging or discharging
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J50/00—Circuit arrangements or systems for wireless supply or distribution of electric power
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J50/00—Circuit arrangements or systems for wireless supply or distribution of electric power
- H02J50/10—Circuit arrangements or systems for wireless supply or distribution of electric power using inductive coupling
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/00032—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
- H02J7/00045—Authentication, i.e. circuits for checking compatibility between one component, e.g. a battery or a battery charger, and another component, e.g. a power source
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/007—Regulation of charging or discharging current or voltage
- H02J7/00712—Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Abstract
The disclosure relates to a charging method, a charging device, an electronic device and a storage medium, wherein the charging method comprises the following steps: receiving a connection signal sent by a charging receiving end, wherein the connection signal carries an equipment identifier of the charging receiving end; determining a target charging protocol according to the equipment identifier, wherein the target charging protocol is a charging protocol corresponding to the charging receiving terminal; and according to the target charging protocol, performing information and electric energy interaction with the charging receiving terminal. Therefore, the corresponding target charging protocols can be determined for different charging receiving terminals, and the charging receiving terminals are charged and communicated by using the target charging protocols, so that the adaptability of the charging transmitting terminal to the charging receiving terminals can be improved, and the charging receiving terminals can be charged for various different charging receiving terminals.
Description
Technical Field
The present disclosure relates to the field of charging technologies, and in particular, to a charging method and apparatus, an electronic device, and a storage medium.
Background
With the progress of science and technology, the functions of terminal equipment are more and more, and the requirement on the battery endurance capacity is also improved at any time. The current improvement on battery endurance is mainly carried out from two aspects of battery capacity expansion and quick charging. The same quick charging protocol is used for the charging transmitting terminal and the charging receiving terminal in the quick charging, and the charging transmitting terminal in the related technology has poor adaptability to the charging receiving terminal, so that the quick charging of various charging receiving terminals cannot be realized.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide a charging method, an apparatus, an electronic device, and a storage medium, so as to solve the defects in the related art.
According to a first aspect of the embodiments of the present disclosure, there is provided a charging method applied to a charging transmitting terminal, including:
receiving a connection signal sent by a charging receiving end, wherein the connection signal carries an equipment identifier of the charging receiving end;
determining a target charging protocol according to the equipment identifier, wherein the target charging protocol is a charging protocol corresponding to the charging receiving terminal;
and according to the target charging protocol, performing information and electric energy interaction with the charging receiving terminal.
In one embodiment, the determining a target charging protocol according to the device identification includes:
demodulating the connection signal according to a basic protocol to obtain the equipment identifier carried by the connection signal;
and determining the private charging protocol corresponding to the equipment identifier as a target charging protocol according to the mapping relation between the equipment identifier and the private charging protocol.
In an embodiment, the interacting between information and electric energy with the charging receiving end according to the target charging protocol includes:
and acquiring the content of the target charging protocol from a controller, a protocol chip or a safety chip of the charging transmitting terminal according to the identifier of the target charging protocol, and performing information and electric energy interaction with the charging receiving terminal according to the content of the target charging protocol.
In an embodiment, the interacting between the information and the electric energy with the charging receiving end according to the content of the target charging protocol includes:
under the condition that the target charging protocol is obtained from the controller, the controller obtains the content of the target charging protocol and interacts information and electric energy with the charging receiving end according to the content of the target charging protocol;
under the condition that the target charging protocol is obtained from the protocol chip, the controller and/or the protocol chip obtains the content of the target charging protocol, and interacts information and electric energy with the charging receiving end according to the content of the target charging protocol;
and under the condition that the target charging protocol is obtained from the safety chip, the control chip and/or the protocol chip obtains the content of the target charging protocol and interacts information and electric energy with the charging receiving end according to the content of the target charging protocol.
In an embodiment, the interacting between information and electric energy with the charging receiving end according to the target charging protocol includes:
and authenticating the legal use of the target charging protocol, acquiring the content of the target charging protocol if the authentication is passed, and interacting information and electric energy with the charging receiving terminal according to the content of the target charging protocol.
In one embodiment, the obtaining the content of the target charging protocol after the authentication is passed includes:
if the authentication is passed, acquiring an access instruction and/or a reading authority of a storage area where the content of the target charging protocol is located;
and acquiring the content of the target charging protocol from the storage area by using the access instruction and/or the reading authority.
In one embodiment, further comprising:
and authenticating the legal use of the target charging protocol, and if the number of authentication failures exceeds a preset threshold value, locking a storage region where the content of the target charging protocol is located into a non-readable state, and/or deleting the content of the target charging protocol in a non-recoverable way.
In one embodiment, further comprising:
and sending a searching signal according to a basic protocol so that the charging receiving end receiving the searching signal returns a connection signal according to the basic protocol.
According to a second aspect of the embodiments of the present disclosure, there is provided a charging device applied to a charging transmitting terminal, including:
the receiving module is used for receiving a connection signal sent by a charging receiving terminal, wherein the connection signal carries an equipment identifier of the charging receiving terminal;
the protocol module is used for determining a target charging protocol according to the equipment identifier, wherein the target charging protocol is a charging protocol corresponding to the charging receiving terminal;
and the charging module is used for interacting information and electric energy with the charging receiving end according to the target charging protocol.
In one embodiment, the protocol module is specifically configured to:
demodulating the connection signal according to a basic protocol to obtain the equipment identifier carried by the connection signal;
and determining the private charging protocol corresponding to the equipment identifier as a target charging protocol according to the mapping relation between the equipment identifier and the private charging protocol.
In one embodiment, the charging module is specifically configured to:
and acquiring the content of the target charging protocol from a controller, a protocol chip or a safety chip of the charging transmitting terminal according to the identifier of the target charging protocol, and performing information and electric energy interaction with the charging receiving terminal according to the content of the target charging protocol.
In an embodiment, when the charging module is configured to perform information and electric energy interaction with the charging receiving end according to the content of the target charging protocol, the charging module is specifically configured to:
under the condition that the target charging protocol is obtained from the controller, the controller obtains the content of the target charging protocol and interacts information and electric energy with the charging receiving end according to the content of the target charging protocol;
under the condition that the target charging protocol is obtained from the protocol chip, the controller and/or the protocol chip obtains the content of the target charging protocol, and interacts information and electric energy with the charging receiving end according to the content of the target charging protocol;
and under the condition that the target charging protocol is obtained from the safety chip, the control chip and/or the protocol chip obtains the content of the target charging protocol and interacts information and electric energy with the charging receiving end according to the content of the target charging protocol.
In one embodiment, the charging module is specifically configured to:
and authenticating the legal use of the target charging protocol, acquiring the content of the target charging protocol if the authentication is passed, and interacting information and electric energy with the charging receiving terminal according to the content of the target charging protocol.
In an embodiment, when the charging module is configured to obtain the content of the target charging protocol after passing the authentication, the charging module is specifically configured to:
if the authentication is passed, acquiring an access instruction and/or a reading authority of a storage area where the content of the target charging protocol is located;
and acquiring the content of the target charging protocol from the storage area by using the access instruction and/or the reading authority.
In one embodiment, the charging module is further configured to:
and authenticating the legal use of the target charging protocol, and if the number of authentication failures exceeds a preset threshold value, locking a storage region where the content of the target charging protocol is located into a non-readable state, and/or deleting the content of the target charging protocol in a non-recoverable way.
In one embodiment, the system further comprises a finding module configured to:
and sending a searching signal according to a basic protocol so that the charging receiving end receiving the searching signal returns a connection signal according to the basic protocol.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device comprising a memory for storing computer instructions executable on a processor, the processor being configured to perform the charging method according to the first aspect when executing the computer instructions.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the method comprises the steps of receiving a connection signal sent by a charging receiving end, determining a target charging protocol corresponding to the charging receiving end according to a device identification of the charging receiving end carried by the connection signal, and finally interacting information and electric energy with the charging receiving end according to the target charging protocol. Therefore, the corresponding target charging protocols can be determined for different charging receiving terminals, and the charging receiving terminals are charged and communicated by using the target charging protocols, so that the adaptability of the charging transmitting terminal to the charging receiving terminals can be improved, and the charging receiving terminals can be charged for various different charging receiving terminals.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a schematic flow diagram illustrating a charging method according to an exemplary embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a charging transmitting terminal according to an exemplary embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a charging transmitting terminal according to another exemplary embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a charging transmitting terminal according to still another exemplary embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a charging device according to an exemplary embodiment of the present disclosure;
fig. 6 is a block diagram of a terminal device according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
In a first aspect, at least one embodiment of the present disclosure provides a charging method, please refer to fig. 1, which illustrates a flow of the method, including steps S101 to S103.
The charging method can be applied to a charging transmitting terminal, and the charging transmitting terminal can be a wireless charging base or a vehicle-mounted wireless charging transmitting terminal and the like; correspondingly, the charging receiving end can be a mobile phone, a tablet computer and other terminal equipment with a battery. Referring to fig. 2, the charging transmitting terminal may include a power port 101, a converting module 102, a transmitting module 103, and a controller 104; the power port 101 is connected with the conversion module 102, and the power port 101 is used for obtaining electric energy from a power supply side and providing the electric energy to the conversion module 102; the controller 104 is connected to the conversion module 102, and the controller 104 is configured to determine a target charging protocol, acquire content of the target charging protocol according to an identifier of the target charging protocol, and control the conversion module 102 to process the electric energy acquired by the power port 101 according to the content of the target charging protocol to form a target electric energy signal; the transmission module 103 is connected to the conversion module 102, and configured to transmit the target power signal obtained by the conversion module 102.
The power port 101 may be directly or indirectly connected to a power consumption side of a power grid or a vehicle-mounted battery, so as to obtain electric energy from a power supply side, where the obtained electric energy may be direct current or alternating current. The conversion module 102 may be an intelligent bridge composed of diodes, triodes, and/or field effect transistors (e.g., pmos or nmos), and may perform processing such as ac-dc conversion on the electric energy obtained by the power port 101, that is, convert dc power into ac power or convert ac power into dc power, and when converting dc power into ac power, may control the frequency of the ac power. The transmission module 103 may be composed of at least one coil, and thus, the target electric energy signal obtained by the conversion module 102 may be transmitted in a radiation form, and the wireless receiving terminal may also have a coil, so that the electric energy signal transmitted by the transmission module 103 may be received, and thus, the charging transmission terminal and the charging receiving terminal may implement communication and electric energy transmission through the coil, and further, the transmission module 103 may also receive the communication signal transmitted by the charging receiving terminal.
The charging transmitting terminal stores a plurality of charging protocols, including a basic protocol (i.e., a basic charging protocol in the communication industry, which can achieve a low charging power and cannot achieve a fast charging) and a proprietary charging protocol (i.e., a fast charging protocol of a different manufacturer). Each charging protocol has an identification that is a location indication for the charging protocol and a content that is an operating standard for the protocol. The controller 104 may be a Micro Controller Unit (MCU), and the target charging protocol may be a basic charging protocol or a proprietary charging protocol corresponding to the charging receiving end. The charging method may be applied to the controller 104 described above in particular.
In step S101, a connection signal sent by a charging receiving end is received, where the connection signal carries an equipment identifier of the charging receiving end.
The charging transmitting terminal and the charging receiving terminal can communicate through the coil, so that the charging transmitting terminal can utilize the transmission module 103 to send a searching signal according to a basic protocol, so that the charging receiving terminal receiving the searching signal returns a connection signal according to the basic protocol. The basic protocol is a common protocol in the communication industry, so that a search signal transmitted by the charging transmitting terminal can be received and demodulated by the charging receiving terminal in the signal coverage range of the charging transmitting terminal, and is determined as the search signal after demodulation, and then a connection signal carrying the equipment identifier is obtained by modulating the basic protocol, and the connection signal is returned to the charging transmitting terminal. Therefore, the charging transmitting terminal can receive the connection signal transmitted by the charging receiving terminal by using the transmission module 103 after transmitting the search signal.
In step S102, a target charging protocol is determined according to the device identifier, where the target charging protocol is a charging protocol corresponding to the charging receiving terminal.
The charging transmitting terminal can demodulate the connection signal according to a basic protocol after receiving the connection signal sent by the charging receiving terminal to obtain the device identifier carried by the connection signal, and determine the private charging protocol corresponding to the device identifier as a target charging protocol according to the mapping relation between the device identifier and the private charging protocol. The controller 104 and the conversion module 102 may be configured to demodulate the connection signal; each device manufacturer has a mapping relationship between its device identifier and the manufacturer's private charging protocol. Therefore, when the type, manufacturer, etc. of the charging receiver are identified differently, the controller 104 may determine that the different charging protocol is the target charging protocol.
In step S103, according to the target charging protocol, interacting information and electric energy with the charging receiving end.
The content of the stored target charging protocol can be acquired from the charging transmitting terminal according to the identifier of the target charging protocol, and then the information and electric energy interaction is carried out with the charging receiving terminal according to the content of the target charging protocol, namely, the charging and communication are carried out on the charging receiving terminal.
The method comprises the steps of receiving a connection signal sent by a charging receiving end, determining a target charging protocol corresponding to the charging receiving end according to a device identification of the charging receiving end carried by the connection signal, and finally interacting information and electric energy with the charging receiving end according to the target charging protocol. Therefore, the corresponding target charging protocols can be determined for different charging receiving terminals, and the charging receiving terminals are charged and communicated by using the target charging protocols, so that the adaptability of the charging transmitting terminal to the charging receiving terminals can be improved, and the charging receiving terminals can be charged for various different charging receiving terminals.
Referring to fig. 3, in some embodiments of the present disclosure, the charging transmitter further has a protocol chip 105 and/or a security chip 106. The protocol Chip 105 is connected to the controller 104 and the conversion module 102, respectively, and is configured to control the conversion module 102 according to a control instruction of the controller 104, where the protocol Chip 105 may be a System On Chip (SOC), or may be a Chip separately used for controlling the conversion module 102, and for example, the conversion module 102 may be controlled by a PWM signal or a driving signal. The security chip 106 may be a dedicated chip for storing protocol contents, for example, a device manufacturer may encapsulate a private charging protocol of the device in the security chip 106, and only provide an access interface, which cannot be edited, so as to ensure the security of the protocol contents.
The controller 104, the protocol chip 105 and the security chip 106 in the charging transmitting terminal can be provided with a protocol content storage module to store the content of the charging protocol. And the protocol content storage module is used for storing at least one charging protocol content. Each charging protocol content stored in the protocol content storage module is marked with an identifier corresponding to the charging protocol. And the protocol content storage module can be one or a plurality of modules, and each protocol content storage module is marked with a charging protocol identifier corresponding to the charging protocol content stored in the module. Therefore, when the content of the target charging protocol is acquired, the protocol content storage module can be locked according to the identifier of the target charging protocol, and then the content of the corresponding charging protocol can be searched from the protocol content storage module. It should be noted that, when the charging transmitter is provided with the protocol chip 105, a protocol content storage module may be disposed in the controller 104 to store the content of the charging protocol, a protocol content storage module may be disposed in the protocol chip 105 to store the content of the charging protocol, a protocol content storage module may be disposed in both the controller 104 and the protocol chip 105 to store the content of the charging protocol, and the distribution of different charging protocols in the controller 104 and the protocol chip 105 may be determined according to the requirement of the equipment manufacturer, the limitation of the storage space, the security level, and the like. When the charging transmitter is provided with the protocol chip 105 and the security chip 106, a protocol content storage module may be disposed in at least one of the controller 104, the protocol chip 105, and the security chip 106 to store the content of the charging protocol, and as for the distribution of different charging protocols in the controller 104 and the protocol chip 105, the distribution may also be determined according to the requirements of the equipment manufacturer, the limitation of the storage space, the security level, and the like.
Based on this, the step of interacting information and electric energy with the charging receiving end according to the target charging protocol may be performed as follows: according to the identification of the target charging protocol, the content of the target charging protocol is obtained from the controller 104, the protocol chip 105 or the security chip 106 of the charging transmitting terminal, and information and electric energy interaction is carried out with the charging receiving terminal according to the content of the target charging protocol. That is, according to the identifier of the target charging protocol, the position of the protocol content storage module storing the content of the target charging protocol, that is, the controller 104, the protocol chip 105 or the security chip 106, is locked, and then the content of the target charging protocol is acquired from the protocol content storage module in the corresponding position.
In addition, the storage locations of the contents of the target charging protocol are different, and the step of interacting information and electric energy with the charging receiving terminal can be executed according to the following manner: under the condition that the target charging protocol is acquired from the controller 104, the controller 104 acquires the content of the target charging protocol and interacts information and electric energy with the charging receiving end according to the content of the target charging protocol; under the condition that the target charging protocol is acquired from the protocol chip 105, the controller 104 and/or the protocol chip 105 acquires the content of the target charging protocol, and interacts information and electric energy with the charging receiving end according to the content of the target charging protocol; under the condition that the target charging protocol is obtained from the security chip 106, the control chip and/or the protocol chip 105 obtains the content of the target charging protocol, and performs information and electric energy interaction with the charging receiving end according to the content of the target charging protocol. That is, when the content of the target charging protocol is stored in the controller 104, the controller 104 may control the conversion module 102, and then interact with the charging receiving end through the transmission module 103; when the content of the target charging protocol is stored in the protocol chip 105 or the security chip 106, the controller 104 may control the conversion module 102 to interact with the charging receiving terminal through the transmission module 103, or the controller 104 may transfer the interactive right to the protocol chip 105, so that the protocol chip 105 controls the conversion module 102 to interact with the charging receiving terminal through the transmission module 103. Since both the protocol chip 105 and the controller 104 are connected to the conversion module 102, the control command of the conversion module 102 by the controller 104 may be executed instead of or independently after acquiring the authority.
In some embodiments of the present disclosure, the step of performing information and electric energy interaction with the charging receiving end according to the target charging protocol may be performed in the following manner: and authenticating the legal use of the target charging protocol, acquiring the content of the target charging protocol if the authentication is passed, and interacting information and electric energy with the charging receiving terminal according to the content of the target charging protocol.
The protocol content storage module comprises at least one storage area, and one type of charging protocol content is stored in each storage area. And each storage area is marked with a charging protocol identifier corresponding to the stored charging protocol content. Allowing legitimate users to access and obtain the contents of the target charging protocol may be achieved by setting the storage area to be hidden and/or configuring the storage area with read permissions. The hidden storage area refers to a storage area which needs a specific access instruction to access, and the security of the protocol content can be further improved by setting the hidden storage area. Therefore, when the content of the target charging protocol is stored in the hidden storage area, the controller 104 may use the access instruction corresponding to the hidden storage area to obtain the content of the target charging protocol from the hidden storage area. The read authority may be a key or a standard parameter, and when the storage area having the read authority is read, the storage area can be read only by using the corresponding key or standard parameter. The security of the protocol content can be further improved by setting the read authority. Therefore, when the content of the target charging protocol is stored in the storage area having the read right, the controller 104 may obtain the content of the target charging protocol from the storage area using the read right corresponding to the storage area.
Referring to fig. 4, the charging transmitting terminal may have an authentication module 107, and the authentication module 107 may be used to authenticate the legal use of the target charging protocol. And when the authentication is passed, acquiring an access instruction and/or a reading permission of a storage area where the content of the target charging protocol is located from the authentication module 107 or issuing the access instruction and/or the reading permission to the authentication module 107, and further acquiring the content of the target charging protocol from the storage area by using the access instruction and/or the reading permission. Thereby achieving the goal of allowing the controller 104 to obtain the target charging protocol.
In addition, when the legal use of the target charging protocol is authenticated, if the number of authentication failures exceeds a preset threshold (for example, 3 times, 5 times, and the like), the storage area where the content of the target charging protocol is located is locked into a non-readable state, and/or the content of the target charging protocol is deleted in a non-recoverable manner. Thereby thoroughly avoiding the target charging protocol from being illegally accessed.
According to a second aspect of the embodiments of the present disclosure, there is provided a charging device applied to a charging transmitting terminal, please refer to fig. 5, which shows a schematic structural diagram of the device, including:
a receiving module 501, configured to receive a connection signal sent by a charging receiving end, where the connection signal carries an equipment identifier of the charging receiving end;
a protocol module 502, configured to determine a target charging protocol according to the device identifier, where the target charging protocol is a charging protocol corresponding to the charging receiving end;
and the charging module 503 is configured to perform information and electric energy interaction with the charging receiving end according to the target charging protocol.
In some embodiments of the present disclosure, the protocol module is specifically configured to:
demodulating the connection signal according to a basic protocol to obtain the equipment identifier carried by the connection signal;
and determining the private charging protocol corresponding to the equipment identifier as a target charging protocol according to the mapping relation between the equipment identifier and the private charging protocol.
In some embodiments of the present disclosure, the charging module is specifically configured to:
and acquiring the content of the target charging protocol from a controller, a protocol chip or a safety chip of the charging transmitting terminal according to the identifier of the target charging protocol, and performing information and electric energy interaction with the charging receiving terminal according to the content of the target charging protocol.
In some embodiments of the present disclosure, when the charging module is configured to perform information and electric energy interaction with the charging receiving end according to the content of the target charging protocol, the charging module is specifically configured to:
under the condition that the target charging protocol is obtained from the controller, the controller obtains the content of the target charging protocol and interacts information and electric energy with the charging receiving end according to the content of the target charging protocol;
under the condition that the target charging protocol is obtained from the protocol chip, the controller and/or the protocol chip obtains the content of the target charging protocol, and interacts information and electric energy with the charging receiving end according to the content of the target charging protocol;
and under the condition that the target charging protocol is obtained from the safety chip, the control chip and/or the protocol chip obtains the content of the target charging protocol and interacts information and electric energy with the charging receiving end according to the content of the target charging protocol.
In some embodiments of the present disclosure, the charging module is specifically configured to:
and authenticating the legal use of the target charging protocol, acquiring the content of the target charging protocol if the authentication is passed, and interacting information and electric energy with the charging receiving terminal according to the content of the target charging protocol.
In some embodiments of the present disclosure, when the charging module is configured to obtain the content of the target charging protocol after passing the authentication, the charging module is specifically configured to:
if the authentication is passed, acquiring an access instruction and/or a reading authority of a storage area where the content of the target charging protocol is located;
and acquiring the content of the target charging protocol from the storage area by using the access instruction and/or the reading authority.
In some embodiments of the present disclosure, the charging module is further configured to:
and authenticating the legal use of the target charging protocol, and if the number of authentication failures exceeds a preset threshold value, locking a storage region where the content of the target charging protocol is located into a non-readable state, and/or deleting the content of the target charging protocol in a non-recoverable way.
In some embodiments of the present disclosure, the method further comprises a finding module configured to:
and sending a searching signal according to a basic protocol so that the charging receiving end receiving the searching signal returns a connection signal according to the basic protocol.
With regard to the apparatus in the above-mentioned embodiments, the specific manner in which each module performs the operation has been described in detail in the first aspect with respect to the embodiment of the method, and will not be elaborated here.
According to a third aspect of the embodiments of the present disclosure, please refer to fig. 6, which schematically illustrates a block diagram of an electronic device. For example, the apparatus 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 6, apparatus 600 may include one or more of the following components: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor component 614, and communication component 616.
The processing component 602 generally controls overall operation of the device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operation at the device 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The multimedia component 608 includes a screen that provides an output interface between the device 600 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 600 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is configured to output and/or input audio signals. For example, audio component 610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the apparatus 600. For example, the sensor component 614 may detect an open/closed state of the device 600, the relative positioning of components, such as a display and keypad of the device 600, the sensor component 614 may also detect a change in position of the device 600 or a component of the device 600, the presence or absence of user contact with the device 600, orientation or acceleration/deceleration of the device 600, and a change in temperature of the device 600. The sensor assembly 614 may also include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the apparatus 600 and other devices in a wired or wireless manner. The apparatus 600 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G or 5G or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the power supply method of the electronic devices.
In a fourth aspect, the present disclosure also provides, in an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 604 comprising instructions, executable by the processor 620 of the apparatus 600 to perform the method for powering the electronic device. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (18)
1. A charging method is applied to a charging transmitting terminal and comprises the following steps:
receiving a connection signal sent by a charging receiving end, wherein the connection signal carries an equipment identifier of the charging receiving end;
determining a target charging protocol according to the equipment identifier, wherein the target charging protocol is a charging protocol corresponding to the charging receiving terminal;
and according to the target charging protocol, performing information and electric energy interaction with the charging receiving terminal.
2. The charging method of claim 1, wherein the determining a target charging protocol according to the device identification comprises:
demodulating the connection signal according to a basic protocol to obtain the equipment identifier carried by the connection signal;
and determining the private charging protocol corresponding to the equipment identifier as a target charging protocol according to the mapping relation between the equipment identifier and the private charging protocol.
3. The charging method according to claim 1, wherein the interacting with the charging receiving end according to the target charging protocol includes:
and acquiring the content of the target charging protocol from a controller, a protocol chip or a safety chip of the charging transmitting terminal according to the identifier of the target charging protocol, and performing information and electric energy interaction with the charging receiving terminal according to the content of the target charging protocol.
4. The charging method according to claim 3, wherein the interacting of information and electric energy with the charging receiving end according to the content of the target charging protocol comprises:
under the condition that the target charging protocol is obtained from the controller, the controller obtains the content of the target charging protocol and interacts information and electric energy with the charging receiving end according to the content of the target charging protocol;
under the condition that the target charging protocol is obtained from the protocol chip, the controller and/or the protocol chip obtains the content of the target charging protocol, and interacts information and electric energy with the charging receiving end according to the content of the target charging protocol;
and under the condition that the target charging protocol is obtained from the safety chip, the control chip and/or the protocol chip obtains the content of the target charging protocol and interacts information and electric energy with the charging receiving end according to the content of the target charging protocol.
5. The charging method according to claim 1 or 3, wherein the interacting with the charging receiving end according to the target charging protocol includes:
and authenticating the legal use of the target charging protocol, acquiring the content of the target charging protocol if the authentication is passed, and interacting information and electric energy with the charging receiving terminal according to the content of the target charging protocol.
6. The charging method according to claim 5, wherein the obtaining the content of the target charging protocol after the authentication is passed comprises:
if the authentication is passed, acquiring an access instruction and/or a reading authority of a storage area where the content of the target charging protocol is located;
and acquiring the content of the target charging protocol from the storage area by using the access instruction and/or the reading authority.
7. The charging method according to claim 1, further comprising:
and authenticating the legal use of the target charging protocol, and if the number of authentication failures exceeds a preset threshold value, locking a storage region where the content of the target charging protocol is located into a non-readable state, and/or deleting the content of the target charging protocol in a non-recoverable way.
8. The charging method according to claim 1, further comprising:
and sending a searching signal according to a basic protocol so that the charging receiving end receiving the searching signal returns a connection signal according to the basic protocol.
9. A charging device, applied to a charging transmitting terminal, includes:
the receiving module is used for receiving a connection signal sent by a charging receiving terminal, wherein the connection signal carries an equipment identifier of the charging receiving terminal;
the protocol module is used for determining a target charging protocol according to the equipment identifier, wherein the target charging protocol is a charging protocol corresponding to the charging receiving terminal;
and the charging module is used for interacting information and electric energy with the charging receiving end according to the target charging protocol.
10. The charging device according to claim 9, wherein the protocol module is specifically configured to:
demodulating the connection signal according to a basic protocol to obtain the equipment identifier carried by the connection signal;
and determining the private charging protocol corresponding to the equipment identifier as a target charging protocol according to the mapping relation between the equipment identifier and the private charging protocol.
11. The charging device of claim 10, wherein the charging module is specifically configured to:
and acquiring the content of the target charging protocol from a controller, a protocol chip or a safety chip of the charging transmitting terminal according to the identifier of the target charging protocol, and performing information and electric energy interaction with the charging receiving terminal according to the content of the target charging protocol.
12. The charging device according to claim 11, wherein the charging module, when performing interaction between information and electric energy with the charging receiving end according to the content of the target charging protocol, is specifically configured to:
under the condition that the target charging protocol is obtained from the controller, the controller obtains the content of the target charging protocol and interacts information and electric energy with the charging receiving end according to the content of the target charging protocol;
under the condition that the target charging protocol is obtained from the protocol chip, the controller and/or the protocol chip obtains the content of the target charging protocol, and interacts information and electric energy with the charging receiving end according to the content of the target charging protocol;
and under the condition that the target charging protocol is obtained from the safety chip, the control chip and/or the protocol chip obtains the content of the target charging protocol and interacts information and electric energy with the charging receiving end according to the content of the target charging protocol.
13. The charging device according to claim 9 or 11, wherein the charging module is specifically configured to:
and authenticating the legal use of the target charging protocol, acquiring the content of the target charging protocol if the authentication is passed, and interacting information and electric energy with the charging receiving terminal according to the content of the target charging protocol.
14. The charging device of claim 13, wherein the charging module, when obtaining the content of the target charging protocol after passing the authentication, is specifically configured to:
if the authentication is passed, acquiring an access instruction and/or a reading authority of a storage area where the content of the target charging protocol is located;
and acquiring the content of the target charging protocol from the storage area by using the access instruction and/or the reading authority.
15. The charging device of claim 9, wherein the charging module is further configured to:
and authenticating the legal use of the target charging protocol, and if the number of authentication failures exceeds a preset threshold value, locking a storage region where the content of the target charging protocol is located into a non-readable state, and/or deleting the content of the target charging protocol in a non-recoverable way.
16. The charging device of claim 9, further comprising a finding module configured to:
and sending a searching signal according to a basic protocol so that the charging receiving end receiving the searching signal returns a connection signal according to the basic protocol.
17. An electronic device, comprising a memory for storing computer instructions executable on a processor, the processor being configured to perform the charging method according to any one of claims 1 to 8 when executing the computer instructions.
18. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110395234.0A CN113178906A (en) | 2021-04-13 | 2021-04-13 | Charging method, charging device, electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110395234.0A CN113178906A (en) | 2021-04-13 | 2021-04-13 | Charging method, charging device, electronic device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113178906A true CN113178906A (en) | 2021-07-27 |
Family
ID=76923332
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110395234.0A Pending CN113178906A (en) | 2021-04-13 | 2021-04-13 | Charging method, charging device, electronic device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113178906A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023024824A1 (en) * | 2021-08-25 | 2023-03-02 | Oppo广东移动通信有限公司 | Charging protocol determination method and apparatus, electronic device, and readable storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090039828A1 (en) * | 2007-08-08 | 2009-02-12 | Daniel Benjamin Jakubowski | Wireless charging of electronic devices |
CN103107571A (en) * | 2012-12-10 | 2013-05-15 | 惠州市亿能电子有限公司 | Method of battery management system for supporting various charging agreements |
US20140253025A1 (en) * | 2013-03-07 | 2014-09-11 | Ford Global Technologies, Llc | Wireless charger and charging system with multi-compatibility |
US20140266025A1 (en) * | 2013-03-15 | 2014-09-18 | Daniel B. Jakubowski | Wireless interrogation and wireless charging of electronic devices |
CN106230070A (en) * | 2016-08-31 | 2016-12-14 | 宇龙计算机通信科技(深圳)有限公司 | A kind of charging method and device |
CN107394859A (en) * | 2017-09-05 | 2017-11-24 | 深圳支点电子智能科技有限公司 | The charger and Related product that can dynamically charge |
CN110729792A (en) * | 2019-10-30 | 2020-01-24 | 深圳市沃特沃德股份有限公司 | Charging method, charging device, storage medium and computer equipment |
CN111490578A (en) * | 2020-05-29 | 2020-08-04 | 维沃移动通信有限公司 | Charging control method and device |
CN211405527U (en) * | 2019-12-25 | 2020-09-01 | 江苏紫米电子技术有限公司 | Wireless charging device and electronic equipment |
CN112448435A (en) * | 2019-09-03 | 2021-03-05 | 中兴通讯股份有限公司 | Terminal equipment charging method and device and storage medium |
-
2021
- 2021-04-13 CN CN202110395234.0A patent/CN113178906A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090039828A1 (en) * | 2007-08-08 | 2009-02-12 | Daniel Benjamin Jakubowski | Wireless charging of electronic devices |
CN103107571A (en) * | 2012-12-10 | 2013-05-15 | 惠州市亿能电子有限公司 | Method of battery management system for supporting various charging agreements |
US20140253025A1 (en) * | 2013-03-07 | 2014-09-11 | Ford Global Technologies, Llc | Wireless charger and charging system with multi-compatibility |
US20140266025A1 (en) * | 2013-03-15 | 2014-09-18 | Daniel B. Jakubowski | Wireless interrogation and wireless charging of electronic devices |
CN106230070A (en) * | 2016-08-31 | 2016-12-14 | 宇龙计算机通信科技(深圳)有限公司 | A kind of charging method and device |
CN107394859A (en) * | 2017-09-05 | 2017-11-24 | 深圳支点电子智能科技有限公司 | The charger and Related product that can dynamically charge |
CN112448435A (en) * | 2019-09-03 | 2021-03-05 | 中兴通讯股份有限公司 | Terminal equipment charging method and device and storage medium |
CN110729792A (en) * | 2019-10-30 | 2020-01-24 | 深圳市沃特沃德股份有限公司 | Charging method, charging device, storage medium and computer equipment |
CN211405527U (en) * | 2019-12-25 | 2020-09-01 | 江苏紫米电子技术有限公司 | Wireless charging device and electronic equipment |
CN111490578A (en) * | 2020-05-29 | 2020-08-04 | 维沃移动通信有限公司 | Charging control method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023024824A1 (en) * | 2021-08-25 | 2023-03-02 | Oppo广东移动通信有限公司 | Charging protocol determination method and apparatus, electronic device, and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2674328C2 (en) | Method and device for acquiring access authority | |
EP3232715B1 (en) | Method and apparatus for accessing wireless access point | |
EP3151507B1 (en) | Methods and apparatuses for controlling device | |
US20170019265A1 (en) | Method, terminal and server for controlling smart device | |
US10608988B2 (en) | Method and apparatus for bluetooth-based identity recognition | |
CN104714414A (en) | Smart home equipment control method and device and electronic equipment | |
RU2637466C2 (en) | Method, device and system for obtaining access to network | |
CN105243318A (en) | User equipment control right determining method and apparatus and terminal device | |
CN104079565A (en) | Authorization method and device | |
CN104869612A (en) | Method and device for accessing network | |
CN105517103A (en) | Network access method and device based on intelligent terminal device | |
CN105100190A (en) | Methods, devices and system for managing control relation of account and device | |
CN105516508A (en) | Method and device for activating virtual SIM card | |
CN104202624B (en) | The method of transmission picture and device | |
CN105163366A (en) | Wireless network connection method and device | |
CN105120505A (en) | Method, apparatus and system for making intelligent equipment accessed to router | |
CN104703252A (en) | Terminal device accessing into wireless network method and device | |
CN104837154A (en) | Wireless access point control method and device | |
CN105100074A (en) | Data operation processing method, device and terminal equipment | |
CN104320830A (en) | Wireless device list display method and apparatus, wireless device and broadcasting method thereof | |
CN105207994A (en) | Account number binding method and device | |
CN105068467A (en) | Method and device for controlling intelligent equipment | |
CN105511922A (en) | Application startup controlling method and device | |
CN105407070A (en) | Logging-in authorization method and device | |
CN105682071A (en) | Wireless local area network information configuring method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |