CN111163044B - Battery management method, equipment, server and system - Google Patents

Battery management method, equipment, server and system Download PDF

Info

Publication number
CN111163044B
CN111163044B CN201910732168.4A CN201910732168A CN111163044B CN 111163044 B CN111163044 B CN 111163044B CN 201910732168 A CN201910732168 A CN 201910732168A CN 111163044 B CN111163044 B CN 111163044B
Authority
CN
China
Prior art keywords
battery
battery management
user equipment
verification
feedback
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.)
Active
Application number
CN201910732168.4A
Other languages
Chinese (zh)
Other versions
CN111163044A (en
Inventor
杨磊
宋蒙
曾兵
宋光伟
艾光祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Junzheng Network Technology Co Ltd
Original Assignee
Shanghai Junzheng Network Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai Junzheng Network Technology Co Ltd filed Critical Shanghai Junzheng Network Technology Co Ltd
Priority to CN201910732168.4A priority Critical patent/CN111163044B/en
Publication of CN111163044A publication Critical patent/CN111163044A/en
Application granted granted Critical
Publication of CN111163044B publication Critical patent/CN111163044B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0063Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with circuits adapted for supplying loads from the battery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0435Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply symmetric encryption, i.e. same key used for encryption and decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0866Generation of secret information including derivation or calculation of cryptographic keys or passwords involving user or device identifiers, e.g. serial number, physical or biometrical information, DNA, hand-signature or measurable physical characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0869Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3271Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using challenge-response

Abstract

The invention provides a battery management method, a device, a server and a system, wherein the battery management method is implemented by a battery side battery management device, and the battery management method comprises the following steps: storing key information, wherein the key information comprises a user key; when the battery is detected to be connected with the user equipment, the battery is subjected to pre-discharge; receiving a verification invitation sent by the user equipment and sending response verification information; receiving feedback key information and feedback verification information sent by the user equipment, and verifying whether the received feedback key information and feedback verification information are legal or not; if yes, the battery management equipment controls the battery to discharge formally; if not, the battery management equipment controls the battery to stop discharging. The invention acquires the use authority of the battery through the user key authentication, prevents the battery of the shared object from being stolen for other use, prevents the battery of the individual user from being stolen by other people, increases the use cost of stealing the battery, and maximally ensures the property safety of the user and the use safety of the battery.

Description

Battery management method, equipment, server and system
Technical Field
The present invention relates to the field of battery management technologies, and in particular, to a battery management method, device, server, and system.
Background
At present, the sharing economy has been developed in the industries of accommodation, transportation, trip, finance, education and the like, and the battery as a recyclable, necessary, independent and distributed power energy source is small enough to be used as a lithium battery for a charger and large enough to be used as a power battery for a new energy vehicle, and has penetrated into the lives of people. Along with the intelligent demand of people on batteries, a battery management system is gradually perfected, the working state of the batteries can be monitored in real time, and the real-time data of the batteries can be recorded, but along with the continuous expansion of the use range of the batteries, the problems that the batteries are stolen and the batteries of individual users are stolen by others can occur on the moped where the batteries are rented or shared externally due to the large number of the batteries and the complex use scenes, and the existing battery management system does not have an effective solution to the problems.
Accordingly, the applicant has improved the prior art with respect to the above-mentioned problems.
Disclosure of Invention
It is an object of the present invention to provide a solution for battery management.
A first aspect of the present invention provides a battery management method, where a battery is used to supply power to a user equipment, and the battery management method is implemented by a battery-side battery management device, where the battery management method includes:
storing key information, wherein the key information comprises a user key;
when the battery is detected to be connected with the user equipment, the battery is subjected to pre-discharge;
receiving a verification invitation sent by the user equipment and sending response verification information;
receiving feedback key information and feedback verification information sent by the user equipment, and verifying whether the received feedback key information and feedback verification information are legal or not;
if yes, the battery management equipment controls the battery to discharge formally;
if not, the battery management equipment controls the battery to stop discharging.
Further, the response verification information sent by the battery management device to the user equipment is a verification serial number, and the feedback verification information sent by the user equipment to the battery management device is a feedback serial number.
Further, the generation mode of the verification serial number is as follows:
generating plaintext information;
encrypting the plaintext information and generating a set of random numbers;
and extracting partial data of the encrypted plaintext information by using the random number as an index to generate the verification serial number.
Further, the method for the battery management device to verify the key information of the user equipment includes:
receiving feedback key information and a feedback serial number sent by the user equipment;
decrypting the received feedback key information and the feedback serial number;
comparing whether the received feedback key information is the same as the pre-stored key information or not;
if yes, comparing whether the received feedback serial number is the same as the sent verification serial number;
and if so, the user equipment and the battery are verified to be passed.
Further, the battery management device sets a verification time limit within which the user equipment is transmitting
The feedback verification information is the same as the response verification information sent by the battery management equipment, and the feedback key information sent by the user equipment
The same key information as stored by the battery management device is the legal case.
Further, after the battery management device controls the battery to formally discharge, periodically verifying whether the feedback key information and the feedback verification information are legal, wherein the specific process comprises the following steps:
setting verification period time;
recording the authentication success state of the user equipment;
clearing the identity authentication timing information of the user equipment, and restarting timing until the verification cycle time is reached;
clearing the identity authentication success state and retransmitting the response verification information;
verifying whether the received feedback key information and the feedback verification information are legal or not;
if yes, controlling the battery to formally discharge;
and if not, controlling the battery to stop discharging.
Further, the discharge current of the battery in the pre-discharge process is smaller than that of the battery in the formal discharge process.
Further, the battery management method comprises the following steps:
setting the discharge time for pre-discharging the battery;
and controlling the battery to stop pre-discharging until the discharging time is up and the received feedback key information and the feedback verification information are still in an illegal condition.
A second aspect of the present invention provides a battery management method for supplying power to a user equipment, the battery management method being implemented by a battery-side battery management device, the battery management method comprising:
when the condition that the battery is connected with the user equipment through a channel is detected, the battery is formally discharged;
and stopping discharging the battery when the disconnection between the battery and the user equipment is detected.
A third aspect of the present invention provides a battery management apparatus comprising:
a memory to store key information and executable instructions;
and a processor, configured to operate the battery management apparatus to execute the battery management method according to the control of the executable instruction.
Furthermore, the battery management device comprises a switch circuit, the switch circuit comprises a first switch and a second switch which are connected in parallel, the current passing through the first switch tube is smaller than the current passing through the second switch tube, and the executable instruction is used for controlling the battery management device to close the first switch tube in the process of pre-discharging the battery, so that the battery supplies power to the user equipment at a low current.
A fourth aspect of the present invention provides a battery management apparatus comprising:
a memory to store key information and executable instructions;
and the processor is used for operating the battery management equipment to execute the battery management method according to the control of the executable instruction.
A fifth aspect of the present invention provides a battery management method, implemented by a server, the battery management method comprising:
generating a super key according to the battery ID;
storing the super key in a database of a server;
a user key is generated.
Further, the battery management method comprises the following steps: and regenerating the user key after the user equipment is replaced.
A sixth aspect of the present invention provides a server comprising:
a memory to store key information and executable instructions;
and the processor is used for operating the battery management equipment to execute the battery management method according to the control of the executable instruction.
A seventh aspect of the present invention provides a battery management system, characterized in that: the battery management method according to the first aspect of the present invention includes a battery, the battery management apparatus according to the third aspect of the present invention, and the server according to the sixth aspect of the present invention.
An eighth aspect of the present invention provides a battery management system, characterized in that: the battery management method for implementing the first aspect of the present invention includes a processor and a server, where the processor is loaded with executable instructions in the controller according to the third aspect of the present invention, and the server is loaded with executable instructions according to the sixth aspect of the present invention.
As described above, the battery management method, the battery management equipment, the battery management system and the battery management server provided by the invention have the advantages that the identity authentication function is added, the use permission of the battery is acquired through the key information authentication, the battery of a shared article is prevented from being stolen for other use, the battery of an individual user is prevented from being stolen for other use, the use cost of stealing the battery is increased, and the property safety and the battery use safety of the user are guaranteed to the maximum extent.
Drawings
Fig. 1 is a flowchart of a battery management method according to a first embodiment of the invention;
FIG. 2 is a flowchart illustrating an authentication process according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a periodic authentication process according to a first embodiment of the present invention;
FIG. 4 is a flowchart illustrating a generation method of a verification serial number according to a first embodiment of the present invention;
fig. 5 is a block diagram of a battery management apparatus according to a first embodiment of the present invention;
FIG. 6 is a flowchart of a battery management method according to a first embodiment of the present invention;
fig. 7 is a block diagram of a server according to a first embodiment of the present invention;
fig. 8 is a flowchart of a user equipment according to a first embodiment of the present invention;
fig. 9 is a block diagram of a ue according to a first embodiment of the present invention;
fig. 10 is a block diagram of a battery management system according to a first embodiment of the invention;
fig. 11 is a block diagram of a battery management system according to a second embodiment of the present invention;
FIG. 12 is a flowchart of a battery management method according to a third embodiment of the present invention;
fig. 13 is a block diagram of a battery management apparatus according to a third embodiment of the present invention;
fig. 14 is a block diagram of a battery management system according to a third embodiment of the present invention;
fig. 15 is a block diagram of a battery management system according to a fourth embodiment of the present invention.
Detailed Description
Other features and advantages of the present invention will become more apparent from the following detailed description of exemplary embodiments of the invention, which proceeds with reference to the accompanying drawings.
Other advantages and effects of the present invention will be readily apparent to those skilled in the art from the disclosure herein. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the drawings only show the components related to the present invention rather than the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
The first embodiment:
fig. 1 is a schematic overall flow chart of a battery management method according to a first embodiment of the present invention.
In the battery management method provided in this embodiment, the battery is used to supply power to the user equipment, and the battery management method is implemented by the battery management device on the battery side, where the specific battery management method includes:
and step S110, storing the key information. The key information comprises a user key, and the user key is a character string with a fixed length, comprises letters and numbers and can be used for identifying the identity of the battery.
And step S120, when the battery is detected to be connected with the user equipment, pre-discharging the battery. In this embodiment, the user equipment may be a vehicle terminal including, but not limited to, an antenna box. And identifying whether the battery is connected with the user equipment according to the change of the voltage of the battery. For example, when the voltage of the battery momentarily increases, it indicates that the battery is connected to the user equipment. At this time, the current is pre-discharged to operate the user equipment. The pre-discharging refers to charging the user equipment by adopting a small current. The method can prevent the user equipment from being incapable of authenticating with the battery when the power is off, and improve the anti-theft property.
Step S130, receiving the verification invitation sent by the user equipment and sending response verification information. When the battery is connected with the user equipment, the user equipment sends an authentication invitation to the battery, and when the battery receives the authentication invitation sent by the user equipment, the battery sends response authentication information. In this embodiment, the response verification information sent by the battery management device to the user equipment is a verification serial number, and the feedback verification information sent by the user equipment to the battery management device is a feedback serial number.
Step S140, receiving the feedback key information and the feedback verification information sent by the user equipment, and verifying whether the received feedback key information and the feedback verification information are legal. In this embodiment, the legal condition means that the feedback verification information sent by the user equipment is the same as the response verification information sent by the battery management equipment, and the feedback key information sent by the user equipment is the same as the key information stored in the battery management equipment. In other embodiments, other validation rules may be set to implement the authentication between the battery and the user equipment.
And S150, if yes, controlling the battery to discharge formally by the battery management equipment. When the user equipment identity is legal, the battery enters formal discharge from pre-discharge.
And step S160, if not, the battery management equipment controls the battery to stop discharging.
In this embodiment, the key information of the battery further includes a super key. The super key is equivalent to the unique identity key of the battery, so the super key can be generated only by the server, the server generates a corresponding super key by using an internal self-defining rule according to the ID number of the battery, the internal self-defining rule can be a common coding rule in the prior art, and a battery manufacturer can define the super key according to the battery condition and the battery batch number as long as a group of super keys can be generated and stored in the database;
in order to protect the super key, the super key is usually only known by the battery manufacturer, and the user key needs to be changed after the user equipment is replaced. Wherein the user key can be modified by the super key.
As an important verification index, the verification serial number needs to be generated in a manner of confidentiality and difficult to break, as shown in fig. 4, the generation manner of the verification serial number in this embodiment is as follows:
step S1201, generating plaintext information in advance;
and step S1202, generating a group of random numbers after encrypting the plaintext information. The plaintext information is encrypted by the super key, and the encryption algorithm may be preset, for example, a specific symmetric encryption algorithm.
Step S1203, using the random number as an index to extract data of the encrypted plaintext information, and generating a verification serial number. The generation of the verification serial number may be implemented in the server or in the battery management device. The encrypted plaintext information data is extracted by using the random number as an index to generate the verification serial number, and the verification serial number may be partial data obtained by extracting the plaintext information or all data obtained by extracting the plaintext information.
Referring to fig. 2, the specific verification method in step S140 of this embodiment is:
step S1401, receiving feedback key information and a feedback verification serial number sent by the user equipment. When the battery is connected with the user equipment, the user equipment sends an authentication invitation to the battery, and when the battery receives the authentication invitation sent by the user equipment, the battery sends response authentication information. In this embodiment, the response authentication information includes key information and authentication serial number information, and the user equipment sends feedback key information and feedback authentication serial number to the battery according to the key information and the authentication serial number information sent by the battery.
Step S1402 decrypts the received feedback key information and feedback sequence number. Decryption here may use the same algorithm as encryption described above, for example, both use a specific symmetric decryption algorithm.
Step S1403, comparing whether the received feedback key information is the same as the pre-stored key information;
step S1404, if yes, comparing whether the received feedback serial number is the same as the sent verification serial number;
if not, go to step S1406;
step S1405, if the received feedback serial number is the same as the sent verification serial number, the ue and the battery pass verification, otherwise, step S1406 is performed;
and step S1406, the user equipment and the battery are not verified.
In the prior art, personal information can be leaked in a plurality of ways, particularly, battery management equipment is better intelligent, so that a user key of a battery and use data of the personal battery stored in the battery are likely to cause leakage, great potential safety hazard can be brought to a user, the risk of battery embezzlement is increased in the use of the battery, a plurality of lawbreakers can acquire the user key and an authentication serial number of the battery through some illegal means, so that the possibility of battery embezzlement is greatly increased, the battery management equipment sets an authentication time limit, the feedback authentication information sent by the user equipment is the same as response authentication information sent by the battery management equipment in the authentication time limit, and the feedback key information sent by the user equipment and the key information stored by the battery management equipment are the same as the legal condition, and the response authentication information sent by the battery management equipment has authentication timeliness, the verification aging time is set by the battery management equipment, so that even if a thief knows a user key and a correct verification serial number, the battery cannot be normally used if the identity verification is not carried out within the verification aging time, and the further protection of the battery is realized.
After the battery starts to be charged formally, the battery management device periodically verifies whether the feedback key information and the feedback verification information are legal, as shown in fig. 3, specifically including:
in step S1701, the cycle time t is set to 5 min. That is, the battery will resend the response authentication information to the user equipment every 5min for authentication. The verification cycle time can be selected according to the power consumption condition. The set period time is shorter, the power consumption of the anti-theft alarm is higher, but the anti-theft effect is better.
Step 1702, when the battery formal discharge starts, recording the authentication success state of the user equipment. When the user equipment is verified to be in a legal condition, the battery management equipment or the background server records the authentication success state of the user equipment. For example, a user key and a verification serial number used when the user equipment is authenticated with the battery may be recorded accordingly.
Step S1703, identity authentication timing information of the user equipment is cleared, and timing is restarted until the verification period time is reached. And clearing the information of the user equipment and the battery during the authentication, and starting timing from the formal discharge of the battery. For example, the user equipment is re-authenticated within 5 minutes from the start of the regular discharge.
And S1704, clearing the identity authentication success state and retransmitting the response verification information. The user equipment authentication success status may be cleared, for example, the user key and the verification serial number used when the user equipment is authenticated with the battery, which are stored in the battery management device or the server, may be cleared.
Step S1705, verifying whether the received feedback key information and feedback verification information are legal or not;
step 1706, if the battery is legal, controlling the battery to continue to formally discharge the user equipment;
in step S1707, if the battery is not legitimate, the battery is controlled to stop discharging.
In the invention, the identity authentication is carried out through the combination of the user key and the authentication serial number, the battery is authenticated only under the condition that the combination of the user key and the authentication serial number is legal, and the battery starts to discharge formally after the authentication is successful, but in order to further ensure the battery, the periodic authentication process is added in the authentication mode of the invention, so that only a truly legal user can obtain the user key and the continuously changed authentication serial number simultaneously, even if the user key and the initially authenticated serial number are embezzled, the battery is only used for completing the discharge within a period of time, and the battery cannot be used continuously in the follow-up process, thereby improving the use safety of the battery, preventing other people from embezzleing the battery, and reducing the property loss; the legal condition described in this embodiment is a condition that a user key input by a user is the same as a user key stored in the battery management device, and an input authentication serial number is the same as a serial number generated by the battery management system.
In order to prevent the user key from being repeated, the user key is generated by the server by default, the generation mode is associated with the user registration account, and the server generates the user password according to the user ID to ensure the uniqueness of the user key due to different registration IDs used by different users; however, due to different battery usage occasions, the user password also supports user setting in consideration of user experience problems, for example, in a personal rental usage scenario, the user can be supported to set the user password, and the anti-theft performance is improved.
The battery management equipment controls the battery to provide the discharging current for the user equipment during pre-discharging to be smaller than the discharging current provided by the battery management equipment for the user equipment during formal discharging, because the user equipment usually has no standby battery, the user equipment is in a shutdown state after the electric energy of the user equipment is exhausted, the battery is in a shutdown discharging state by default under the normal condition, the battery management equipment cannot detect the connection state of the battery and the user equipment under the condition that the user equipment has insufficient electric energy and can be started, and at the moment, the battery management equipment or a battery management system cannot be triggered to be started, so that the battery performs low-current pre-discharging on the user equipment under the condition that the identity is not authenticated, the user can be connected with the battery in a communicating and electrically connected mode under the condition that a standby power supply does not exist, and the.
In the pre-discharging process, in order to establish electrical connection and communication between the user equipment and the battery, the battery is pre-discharged to enable the user equipment to operate, and the battery and the user equipment perform identity authentication within the pre-discharging time. For example, the battery management device presets a pre-discharge time of 1min, so that the pre-discharge time of the battery is 1min, and if the authentication cannot be successfully performed in the battery and the user equipment within 1min, the pre-discharge is finished.
In order to leave a buffering time for the discharging device, the battery management device of this embodiment sets a pre-discharge delay time 2s in advance, when the battery management device controls the battery to formally discharge the user device, the battery management device 100 starts the pre-discharge delay time 2s, and when the pre-discharge delay time 2s is reached, the pre-discharge process is ended.
Referring to fig. 5, a block diagram of a battery management apparatus 100 in the present embodiment includes:
a memory 101 to store key information and executable instructions;
the processor 102 is configured to execute the battery management device to perform the following operations according to the control of the executable instruction:
when the battery is detected to be connected with the user equipment through a channel, the user equipment is pre-discharged, and a verification invitation sent by the user equipment is received and response verification information is sent;
verifying the key information of the user equipment and the response verification information fed back by the user equipment to obtain a verification result;
when the verification result meets the authentication passing condition, the battery management device 100 controls the battery to formally discharge;
when the authentication result does not satisfy the authentication passing condition, the battery management apparatus 100 controls the battery to stop discharging.
The battery shown in this embodiment may be a shared discharging device, an electric vehicle battery, a shared electric vehicle battery, and the like, the user equipment may be a user mobile phone, a computer, an electric vehicle, and the like, and the user equipment is charged by the battery in the application process.
The battery management device comprises a switch circuit, the switch circuit comprises a first switch 103 and a second switch 104 which are connected in parallel, the current passing through the first switch 103 is smaller than the current passing through the second switch 104, and the executable instruction is used for controlling the battery management device to close the first switch 103 in the pre-discharging process of the battery, so that the battery supplies power to the user equipment at a low current. The first switch 103 is a low current MOS transistor, and the second switch 104 is a high current MOS transistor.
Referring to fig. 6, a battery management method according to an embodiment of the present invention is implemented by a server, and includes:
step S310, generating a super key according to the battery ID;
step S320, storing the super key in a database of the server;
and step S330, generating a user key and sending the user key to the battery management equipment.
And after the user equipment is replaced, the server regenerates the user key and replaces the user key stored in the battery management equipment.
Referring to fig. 7, the server 200 in the present embodiment includes:
a memory 201 for storing key information and executable instructions;
and the processor 202 is used for operating the battery management equipment to execute the battery management method implemented by the server according to the control of the executable instruction.
Please refer to fig. 8, which is a schematic diagram of a user equipment workflow according to a first embodiment of the present invention, including:
step S410, the user equipment acquires plaintext information;
step S420, the user equipment stores a user key;
and step S430, the user equipment encrypts the verification serial number and the system start-up discharge information by using the user key, and transmits the encrypted information to the battery management equipment.
Referring to fig. 9, the ue 300 of the present embodiment includes:
a memory 301 in which executable instructions are stored;
a processor 302 that controls the executable instructions to perform the following operations:
plaintext information is obtained;
storing the user key;
and encrypting the verification serial number and the system start discharge information by using the user key, and transmitting the encrypted information to the battery management equipment.
Referring to fig. 10, a battery management system 1000 according to a first embodiment of the present invention is provided for implementing the battery management method of the present embodiment, and includes a battery 400, a battery management device 100 according to the present embodiment, a server 200 according to the present embodiment, and a user device 300 according to the present embodiment.
One battery management system only supports one user key, when the user key is forgotten, the user key needs to be reset, and the resetting mode is the same as the process of changing the user key.
The battery management device 100 of the battery management system records battery information used by the latest user authentication, mainly records the device number of the authenticated user, the authentication result, and records whether the battery is used by which users recently and the identity is legal, and stores the information in the corresponding storage device.
Second embodiment:
in the prior art, in order to further realize the intelligence of the battery management, there is a battery management system with a relatively perfect structure, and the battery management provided in the first embodiment of the present invention can be used alone, but in some cases needs to be loaded into the existing battery management system in the prior art, if the battery management system is connected by direct loading and communication in physical aspect, the battery management system is complicated in structure and connection, and is a minor challenge for energy consumption, so as shown in fig. 11, the present embodiment is different from the first embodiment in that a battery management system is provided, which includes an existing battery management system 500, on a processor 501 of which an executable program in the processor 102 of the user management device 100 provided in the first embodiment is loaded, and on a battery loop, the switch circuit 502 described in the first embodiment is installed, accordingly, during operation, the user device transmits encrypted information to the processor 501. In this way, in the practical application process, the hardware modification of the battery management system is reduced, the executable program loaded on the battery management device in the first embodiment is directly loaded into the original battery management system, the modification cost is reduced, and the safety of the existing battery management system in the prior art is also improved.
The control of the battery management system can record the battery information used by the latest user authentication, mainly record the equipment number of the authenticated user, the authentication result, record whether the battery is used by which users recently and the identity is legal or not, and store the information in the corresponding storage equipment.
The third embodiment:
because battery usage scenarios are different, some user groups do not need to use authentication, and if authentication is used, user experience is affected, a third embodiment of the present invention provides a battery management method, where a battery is used to supply power to user equipment, and the battery management method is implemented by a battery management device on a battery side, as shown in fig. 12, the battery management method in this embodiment includes:
step S210, when the battery management equipment detects that the battery is connected with the user equipment through a channel, the battery management equipment controls the battery to formally discharge the user equipment;
step S220, when the battery management device detects that the battery is disconnected from the user equipment, the battery management device controls the battery to stop discharging.
The present embodiment provides a battery management apparatus 600, as shown in fig. 13, including:
a memory 601 to store executable instructions;
a processor 602, the executable instructions to control the battery management device to:
when the battery management equipment detects that the battery is connected with the user equipment through a channel, the battery management equipment controls the battery to formally discharge the user equipment;
when the battery management device detects that the battery is disconnected from the user equipment, the battery management device controls the battery to stop discharging.
As shown in fig. 14, there is provided a battery management system 2000 for implementing the battery management method according to the third embodiment of the present invention, which includes a battery 400, a user equipment 300, and a switch circuit 603, wherein the battery management apparatus 600 is described in this embodiment.
The present embodiment is different from the first embodiment in that authentication is not required, and then a battery management device, a server, and the like that perform authentication are not required, and the requirements can be satisfied as long as the process of detecting discharge is completed.
The fourth embodiment:
referring to fig. 15, a battery management system 700 of the present embodiment is a battery management system in the prior art, and is used for implementing a battery management method according to the third embodiment of the present invention, and includes the battery management system 700, a battery 400, and a user equipment 300, where the battery management system is a battery management system in the prior art and includes a processor 701, and the processor 701 is loaded with an executable program in a processor 601 of a battery management device 600 according to the third embodiment of the present invention.
If the functions described in the present invention are implemented in the form of software functional units and sold or used as independent products, they may be stored in a computer readable storage medium, and the technical solution of the present invention, or a part of the technical solution that contributes to the prior art, or a part of the technical solution may be embodied in the form of a software product, where the computer software product is stored in a storage medium and includes several instructions to make a computer device execute all or part of the steps of the methods described in the embodiments of the present invention, and the storage medium includes a medium that can store program codes, such as a usb disk, a read-only memory, a random access memory, a magnetic disk, or an optical disk.
The structures of the battery management device, the server and the user equipment described in the embodiments of the present invention are merely exemplary, and in no way limit the present invention, and it should be understood by those skilled in the art that the description of the hardware equipment such as the device is simple because it is related to the method embodiment, the processor in this embodiment may be a central processing unit, a microprocessor, etc., and the memory is a writable and non-readable memory; however, the battery management apparatus of this embodiment may further include a display device, a collection device, a common interface device, a communication device, and the like, where the display device may be a liquid crystal display, a touch display, and the like, the interface device may adopt a SUB interface and the like commonly used in the prior art, and the communication device may adopt a wired communication device or a wireless communication device commonly used in the prior art.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the present invention, and it will be understood by those skilled in the art that various changes and modifications may be made therein without departing from the spirit and scope of the invention.

Claims (17)

1. A battery management method, the battery being for powering a user device, the method comprising: the battery management method is implemented by a battery side battery management device, and comprises the following steps:
storing key information, wherein the key information comprises a user key;
when the battery is detected to be connected with the user equipment, the battery is subjected to pre-discharge;
receiving a verification invitation sent by the user equipment and sending response verification information;
receiving feedback key information and feedback verification information sent by the user equipment, and verifying whether the received feedback key information and feedback verification information are legal or not;
if yes, the battery management equipment controls the battery to discharge formally;
if not, the battery management equipment controls the battery to stop discharging.
2. A battery management method according to claim 1, wherein: the response verification information sent by the battery management equipment to the user equipment is a verification serial number, and the feedback verification information sent by the user equipment to the battery management equipment is a feedback serial number.
3. A battery management method according to claim 2, wherein: the generation mode of the verification serial number is as follows:
generating plaintext information;
encrypting the plaintext information and generating a set of random numbers;
and extracting partial data of the encrypted plaintext information by using the random number as an index to generate the verification serial number.
4. A battery management method according to claim 3, wherein: the verification method of the battery management equipment to the key information of the user equipment comprises the following steps:
receiving feedback key information and a feedback serial number sent by the user equipment;
decrypting the received feedback key information and the feedback serial number;
comparing whether the received feedback key information is the same as the pre-stored key information or not;
if so, comparing whether the received feedback serial number is the same as the sent verification serial number;
and if so, the user equipment and the battery are verified to be passed.
5. A battery management method according to claim 1, wherein: and the battery management equipment sets a verification time limit, and in the verification time limit, the feedback verification information sent by the user equipment is the same as the response verification information sent by the battery management equipment, and the feedback key information sent by the user equipment is the legal condition when the feedback key information is the same as the key information stored by the battery management equipment.
6. A battery management method according to claim 1, wherein: after the battery management equipment controls the battery to formally discharge, periodically verifying whether the feedback key information and the feedback verification information are legal conditions, wherein the specific process comprises the following steps:
setting verification period time;
recording the authentication success state of the user equipment;
clearing the identity authentication timing information of the user equipment, and restarting timing until the verification cycle time is reached;
clearing the identity authentication success state and retransmitting the response verification information;
verifying whether the received feedback key information and the feedback verification information are legal or not;
if yes, controlling the battery to formally discharge;
and if not, controlling the battery to stop discharging.
7. A battery management method according to claim 1, wherein: the discharging current of the battery in the pre-discharging process is smaller than that of the battery in the formal discharging process.
8. The battery management method according to claim 1, wherein the battery management method comprises:
setting the discharge time for pre-discharging the battery;
and controlling the battery to stop pre-discharging until the discharging time is up and the received feedback key information and the feedback verification information are still in an illegal condition.
9. A battery management method, the battery being for powering a user device, the method comprising: the battery management method is implemented by a battery side battery management device, and comprises the following steps:
when the battery is detected to be connected with the user equipment through a channel, the user equipment is pre-discharged, and a verification invitation sent by the user equipment is received and response verification information is sent; verifying the key information of the user equipment and the response verification information fed back by the user equipment to obtain a verification result; when the verification result meets the passing condition of the identity verification, the battery management equipment controls the battery to formally discharge; and when the verification result does not meet the authentication passing condition, the battery management equipment controls the battery to stop discharging;
and stopping discharging the battery when the disconnection between the battery and the user equipment is detected.
10. A battery management apparatus characterized by: the method comprises the following steps:
a memory to store key information and executable instructions;
a processor configured to operate the battery management apparatus to perform the battery management method according to any one of claims 1 to 8, according to the control of the executable instructions.
11. The battery management apparatus of claim 10, wherein: the battery management equipment comprises a switch circuit, the switch circuit comprises a first switch and a second switch which are connected in parallel, the current passing through the first switch tube is smaller than the current passing through the second switch tube, and the executable instruction is used for controlling the battery management equipment to close the first switch tube in the battery pre-discharging process, so that the battery supplies power to the user equipment at a low current.
12. A battery management apparatus characterized by: the method comprises the following steps:
a memory to store key information and executable instructions;
a processor configured to operate the battery management apparatus to perform the battery management method according to the control of the executable instructions.
13. A battery management method, characterized by: the battery management method is implemented by a server and comprises the following steps:
generating a super key according to the battery ID;
storing the super key in a database of a server;
generating a user key;
sending the user key to a battery management device to cause the battery management device to: storing key information, the key information including the user key; when the battery is detected to be connected with the user equipment, the battery is subjected to pre-discharge; receiving a verification invitation sent by the user equipment and sending response verification information; receiving feedback key information and feedback verification information sent by the user equipment, and verifying whether the received feedback key information and feedback verification information are legal or not; if yes, the battery management equipment controls the battery to discharge formally; and if not, the battery management equipment controls the battery to stop discharging.
14. A battery management method according to claim 13, wherein: the battery management method comprises the following steps: and regenerating the user key after the user equipment is replaced.
15. A server, characterized by: the method comprises the following steps:
a memory to store key information and executable instructions;
a processor configured to operate the battery management apparatus to perform the battery management method according to the control of the executable instructions, according to claim 13 or 14.
16. A battery management system, characterized by: a battery management apparatus for implementing a battery management method according to any of claims 1 to 8, comprising a battery, a battery management apparatus according to any of claims 10 to 11, a server according to claim 15.
17. A battery management system, characterized by: the method for implementing any one of claims 1 to 8, comprising a processor and a server, wherein the processor is loaded with the executable instructions in the battery management device according to any one of claims 10 to 11, and the server is loaded with the executable instructions in the server according to claim 15.
CN201910732168.4A 2019-08-07 2019-08-07 Battery management method, equipment, server and system Active CN111163044B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910732168.4A CN111163044B (en) 2019-08-07 2019-08-07 Battery management method, equipment, server and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910732168.4A CN111163044B (en) 2019-08-07 2019-08-07 Battery management method, equipment, server and system

Publications (2)

Publication Number Publication Date
CN111163044A CN111163044A (en) 2020-05-15
CN111163044B true CN111163044B (en) 2020-08-21

Family

ID=70555912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910732168.4A Active CN111163044B (en) 2019-08-07 2019-08-07 Battery management method, equipment, server and system

Country Status (1)

Country Link
CN (1) CN111163044B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111660872B (en) * 2020-06-24 2021-12-24 湖南行必达网联科技有限公司 Control system and method of lithium battery
CN111784999A (en) * 2020-07-17 2020-10-16 广州道源信息科技有限公司 Electric quantity use condition recording and detecting system for 5G network networking synchronous information
CN112507359B (en) * 2020-12-08 2021-09-07 湖南炬神电子有限公司 Shared charger encryption and decryption method and system
CN112995411A (en) * 2021-02-23 2021-06-18 西安稳先半导体科技有限责任公司 Mobile phone power supply safety protection circuit, mobile phone battery assembly and mobile phone
WO2023239268A1 (en) * 2022-06-07 2023-12-14 Telefonaktiebolaget Lm Ericsson (Publ) Systems and methods related to a battery management system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101438219A (en) * 2006-03-10 2009-05-20 爱特梅尔公司 Random number generator in a battery pack
CN106972569A (en) * 2017-04-13 2017-07-21 江苏唯天智能无人机研发有限公司 Intelligent battery terminal, intelligent power terminal and its matching detection method
CN108510657A (en) * 2018-04-18 2018-09-07 广州电乐源科技有限公司 A kind of shared charger and charging method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291228B (en) * 2008-06-18 2011-05-18 成都市华为赛门铁克科技有限公司 Generating, authenticating method for super code, system and device thereof
JP2010179694A (en) * 2009-02-03 2010-08-19 Denso Corp Plug-in vehicle management system
CN104517366B (en) * 2013-09-27 2019-04-16 中兴通讯股份有限公司 A kind of wireless charging method and corresponding vehicle-mounted charging equipment, equipment manager
CN107104484B (en) * 2017-05-19 2020-12-18 上海掌门科技有限公司 Method and equipment for charging user equipment through charging device
CN107483184B (en) * 2017-07-19 2019-02-01 北京摩拜科技有限公司 Battery management method, equipment, battery, article and system
CN109484236B (en) * 2018-11-30 2021-12-14 深圳市元征科技股份有限公司 Method and system for safely charging vehicle, terminal device and vehicle-mounted device
CN109795359B (en) * 2019-01-11 2020-12-15 广州小鹏汽车科技有限公司 Charging authentication method, device and system and charging system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101438219A (en) * 2006-03-10 2009-05-20 爱特梅尔公司 Random number generator in a battery pack
CN106972569A (en) * 2017-04-13 2017-07-21 江苏唯天智能无人机研发有限公司 Intelligent battery terminal, intelligent power terminal and its matching detection method
CN108510657A (en) * 2018-04-18 2018-09-07 广州电乐源科技有限公司 A kind of shared charger and charging method

Also Published As

Publication number Publication date
CN111163044A (en) 2020-05-15

Similar Documents

Publication Publication Date Title
CN111163044B (en) Battery management method, equipment, server and system
US7617395B2 (en) Battery and authentication requesting device
CN107508679B (en) Binding and authentication method for intelligent terminal main control chip and encryption chip
CN102508791B (en) Method and device for encrypting hard disk partition
CN108898005B (en) Hard disk identification method, system, equipment and computer readable storage medium
CN105512576A (en) Method for secure storage of data and electronic equipment
CN109286638B (en) Automobile diagnosis equipment authentication method and related device
CN104321776A (en) Offline authentication with embedded authorization attributes
KR20200102213A (en) Method and System for Providing Security on in-Vehicle Network
CN112248844A (en) Charging starting method of charging pile, intelligent terminal and charging system
CN101770552A (en) Method for clearing computer password, computer and system for clearing computer password
CN110326011B (en) Determining legal conditions at a computing device
CN112019326A (en) Vehicle charging safety management method and system
CN115859267A (en) Method for safely starting application program, storage control chip and electronic equipment
WO2011130970A1 (en) Device and method for protecting data of mobile terminal
CN111162328B (en) Method and system for replacing battery for vehicle
CN103592927A (en) Method for binding product server and service function through license
CN110781478A (en) Method and device for realizing debugging by temporarily authorizing Root
EP2985712B1 (en) Application encryption processing method, apparatus, and terminal
CN112583595B (en) Vehicle charging safety management method
CN114189862A (en) Wireless terminal and interface access authentication method of wireless terminal in Uboot mode
CN103336918A (en) Electronic hard disk system authorization method and device
CN110313005B (en) Security architecture for device applications
CN111152866B (en) Method and system for replacing battery for vehicle
CN214175061U (en) Binding system of terminal equipment and external password keyboard

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
GR01 Patent grant
GR01 Patent grant