CN112309051A - Off-line electricity changing method and system based on secret key - Google Patents

Off-line electricity changing method and system based on secret key Download PDF

Info

Publication number
CN112309051A
CN112309051A CN202011034771.4A CN202011034771A CN112309051A CN 112309051 A CN112309051 A CN 112309051A CN 202011034771 A CN202011034771 A CN 202011034771A CN 112309051 A CN112309051 A CN 112309051A
Authority
CN
China
Prior art keywords
battery
offline
replacing
charging
cabinet system
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
Application number
CN202011034771.4A
Other languages
Chinese (zh)
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.)
Shenzhen Topband Co Ltd
Original Assignee
Shenzhen Topband 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 Shenzhen Topband Co Ltd filed Critical Shenzhen Topband Co Ltd
Priority to CN202011034771.4A priority Critical patent/CN112309051A/en
Publication of CN112309051A publication Critical patent/CN112309051A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/0042Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L53/00Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles
    • B60L53/60Monitoring or controlling charging stations
    • B60L53/68Off-site monitoring or control, e.g. remote control
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L53/00Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles
    • B60L53/80Exchanging energy storage elements, e.g. removable batteries
    • 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/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0618Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation
    • H04L9/0631Substitution permutation network [SPN], i.e. cipher composed of a number of stages or rounds each involving linear and nonlinear transformations, e.g. AES algorithms
    • 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/0891Revocation or update of secret information, e.g. encryption key update or rekeying
    • 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/0894Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/70Energy storage systems for electromobility, e.g. batteries
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/7072Electromobility specific charging systems or methods for batteries, ultracapacitors, supercapacitors or double-layer capacitors
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02T90/10Technologies relating to charging of electric vehicles
    • Y02T90/12Electric charging stations
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02T90/10Technologies relating to charging of electric vehicles
    • Y02T90/16Information or communication technologies improving the operation of electric vehicles
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02T90/10Technologies relating to charging of electric vehicles
    • Y02T90/16Information or communication technologies improving the operation of electric vehicles
    • Y02T90/167Systems integrating technologies related to power network operation and communication or information technologies for supporting the interoperability of electric or hybrid vehicles, i.e. smartgrids as interface for battery charging of electric vehicles [EV] or hybrid vehicles [HEV]
    • YGENERAL 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
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S30/00Systems supporting specific end-user applications in the sector of transportation
    • Y04S30/10Systems supporting the interoperability of electric or hybrid vehicles
    • Y04S30/12Remote or cooperative charging
    • YGENERAL 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
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S40/00Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them
    • Y04S40/20Information technology specific aspects, e.g. CAD, simulation, modelling, system security

Abstract

The invention relates to an offline battery replacement method and system based on a secret key, which are applied to a battery charging and replacement cabinet system and comprise the following steps: acquiring the network state of the current battery charging and replacing cabinet system; judging whether the battery charging and replacing cabinet system is in an off-line state currently or not according to the network state; if yes, performing offline battery replacement based on a prestored secret key; if not, updating and storing the pre-stored key. According to the invention, when the battery charging and replacing cabinet system is in an off-line state, off-line battery replacement can be carried out based on the pre-stored secret key, repeated networking and screen input are not required in the battery replacing process of a user, the operation is simple, the information interaction between the battery charging and replacing cabinet and the background server is encrypted, the safety is high, the reliability is good, the user can directly receive and forward the information, the operation is convenient, a special connecting device is not required, and the stability is good.

Description

Off-line electricity changing method and system based on secret key
Technical Field
The invention relates to the technical field of battery swapping, in particular to an offline battery swapping method and system based on a secret key.
Background
The electric vehicle charging and battery replacing cabinet is in an off-line state, and still needs to be communicated with a remote terminal and perform information interaction in order to ensure the safety of the charging and battery replacing cabinet. The current common schemes are:
firstly, a Bluetooth scheme: the Bluetooth module of the cabinet body is connected with the user mobile terminal, and then information interaction is carried out between the user mobile terminal and the background server. This scheme needs user mobile terminal's APP to have the function of receiving and retransmitting the bluetooth data, and can't directly receive and retransmit through user mobile terminal's general function module, and convenience and stability are relatively poor.
II, clear text code scanning scheme: the information interaction between the cabinet body and the user mobile terminal is realized in a code scanning mode (the code is scanned manually or input manually once in each information interaction), and then the background server information is sent or received through the user mobile terminal. This scheme needs the user to scan the sign indicating number or screen input manually many times, and the operation is got up relatively loaded down with trivial details, and the security is low moreover.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide an offline power swapping method and system based on a secret key, aiming at the above defects in the prior art.
The technical scheme adopted by the invention for solving the technical problems is as follows: an offline battery replacement method based on a secret key is constructed, is applied to a battery charging and replacement system, and comprises the following steps:
acquiring the network state of the current battery charging and replacing cabinet system;
judging whether the battery charging and replacing cabinet system is in an off-line state currently or not according to the network state;
if yes, performing offline battery replacement based on a prestored secret key;
if not, updating and storing the pre-stored key.
Preferably, if yes, performing offline power swapping based on a pre-stored key includes:
judging whether the battery charging and replacing cabinet system meets a battery replacing condition;
and if so, performing offline battery replacement based on the pre-stored secret key.
Preferably, the determining whether the battery charging and replacing cabinet system meets the battery replacing condition includes:
judging whether an empty bin and a replaceable battery exist in the battery charging and replacing cabinet system;
if yes, judging that the battery charging and replacing cabinet system meets the battery replacing condition;
if not, judging that the battery charging and replacing cabinet system meets the battery replacing condition.
Preferably, the determining whether there is an empty bin and a replaceable battery in the battery charging and replacing cabinet system comprises:
judging whether an offline power change request is received;
if yes, executing: and judging whether an empty bin and a replaceable battery exist in the battery charging and replacing cabinet system.
Preferably, if yes, performing offline power swapping based on the pre-stored key includes:
if the battery charging and replacing cabinet system meets the battery replacing condition, outputting a control signal to control the bin door of the battery bin of the empty bin to be opened;
judging whether the battery compartment with the compartment door opened is closed or not;
if yes, the battery charging and replacing cabinet system generates an offline label based on the pre-stored secret key;
and executing offline battery replacement according to the offline label.
Preferably, the performing offline power swapping according to the offline tag includes:
reading and identifying the offline label through an intelligent terminal to obtain label information of the offline label;
sending the label information to a background server;
the background server decrypts the label information and sends a battery swapping ciphertext to the intelligent terminal;
the intelligent terminal receives and displays the battery swapping ciphertext;
the battery charging and swapping cabinet system judges whether a battery swapping ciphertext input by a user is received;
if yes, judging whether the battery replacement is allowed according to the battery replacement ciphertext;
if the battery replacement is allowed, outputting a control signal to control the bin gate of the battery bin corresponding to the battery replacement ciphertext to be opened;
and if the battery replacement is not allowed, outputting and displaying battery replacement failure information.
Preferably, the offline tag comprises:
the ID number of the charging and replacing cabinet where the charging and replacing cabinet system is located, the ID number of an empty battery placed into the empty bin by a user and the ID number of a replaceable battery.
Preferably, the acquiring the network state of the current battery charging and replacing cabinet system comprises:
and receiving a pre-stored secret key issued by the background server and storing the pre-stored secret key to the local.
Preferably, the offline tag comprises: a bar code or a two-dimensional code.
The invention also provides an offline power swapping system based on a secret key, which comprises a processor, wherein the processor is used for realizing the steps of the method when executing the computer program stored in the memory.
The off-line power swapping method and the off-line power swapping system based on the secret key have the following beneficial effects that: be applied to and fill among trading battery case system, include: acquiring the network state of the current battery charging and replacing cabinet system; judging whether the battery charging and replacing cabinet system is in an off-line state currently or not according to the network state; if yes, performing offline battery replacement based on a prestored secret key; if not, updating and storing the pre-stored key. According to the invention, when the battery charging and replacing cabinet system is in an off-line state, off-line battery replacement can be carried out based on the pre-stored secret key, repeated networking and screen input are not required in the battery replacing process of a user, the operation is simple, the information interaction between the battery charging and replacing cabinet and the background server is encrypted, the safety is high, the reliability is good, the user can directly receive and forward the information, the operation is convenient, a special connecting device is not required, and the stability is good.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a schematic flowchart of an offline power swapping method based on a secret key according to an embodiment of the present invention;
fig. 2 is a detailed flowchart of the offline power swapping method based on the key according to the embodiment of the present invention.
Detailed Description
For a more clear understanding of the technical features, objects and effects of the present invention, embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic flow chart of an optional embodiment of each embodiment of the offline power swapping method based on the secret key provided by the present invention. The offline battery replacement method based on the secret key can be applied to a battery charging and replacement cabinet system.
Specifically, as shown in fig. 1, the offline power swapping method based on the key may include:
and S101, acquiring the network state of the current battery charging and replacing cabinet system.
Before obtaining the network state of the current battery charging and swapping cabinet system, the method comprises the following steps: and receiving a pre-stored secret key issued by the background server and storing the pre-stored secret key to the local. Specifically, when the battery charging and replacing cabinet system is in an online state, the battery charging and replacing cabinet system can directly communicate with the background server, receive a key (where the key may be an AES-128 key, generally 16bytes) issued by the background server, and store the received key to the local to form a pre-stored key. Optionally, the key issued by the background server may be updated at regular time, and the keys of different devices (battery charging and replacing cabinets) or different areas may be different or the same in the same time period.
When the charging and battery replacing cabinet is in an online state, the secret key is stored to the local in advance, so that the battery replacing service can be rapidly and simply completed when the charging and battery replacing cabinet is in an offline state.
And S102, judging whether the battery charging and swapping cabinet system is in an off-line state currently or not according to the network state.
And S103, if yes, performing offline battery replacement based on the pre-stored secret key.
Specifically, step S103 may include: judging whether the battery charging and replacing cabinet system meets the battery replacing condition; and if so, performing offline battery replacement based on the prestored secret key.
Wherein, judging whether the battery charging and replacing cabinet system meets the battery replacing condition comprises: judging whether an empty bin and a replaceable battery exist in the battery charging and replacing cabinet system; if yes, judging that the battery charging and replacing cabinet system meets the battery replacing condition; if not, the battery charging and replacing cabinet system is judged to meet the battery replacing conditions.
Further, before judging whether there is an empty bin and a replaceable battery in the battery charging and replacing cabinet system, the method includes: judging whether an offline power change request is received; if yes, executing: and judging whether an empty bin and a replaceable battery exist in the battery charging and replacing cabinet system. When the charging and replacing cabinet system is in an off-line state, if a user selects an off-line charging request on an operation interface of the charging and replacing cabinet, the user can judge that the off-line charging request is received, at the moment, the charging and replacing cabinet system can continue to execute the next action, and otherwise, the charging and replacing cabinet system does not act.
Further, in some embodiments, if yes, performing offline power swapping based on the pre-stored key includes: if the battery charging and replacing cabinet system meets the battery replacing condition, outputting a control signal to control the bin door of the battery bin of the empty bin to be opened; judging whether the battery compartment with the compartment door opened is closed or not; if yes, the battery charging and replacing cabinet system generates an offline label based on a prestored secret key; and performing offline battery replacement according to the offline label. Specifically, if the battery charging and replacing cabinet system judges that the battery charging and replacing cabinet currently has an empty bin and a replaceable battery, the battery charging and replacing cabinet system outputs a control signal to control a bin door of a battery bin of the empty bin to be opened, after the bin door of the battery bin of the empty bin is opened, a user puts an empty battery (i.e., a battery to be charged) into the battery bin and closes the bin door, and meanwhile, the battery charging and replacing cabinet system automatically detects whether the opened bin door is closed again, if so, the battery charging and replacing cabinet system generates an offline label based on a pre-stored key existing locally, and offline battery replacement is executed according to the generated offline label.
In the embodiment of the present invention, the offline tag generated by the battery charging and replacing cabinet system based on the pre-stored key includes, but is not limited to, information such as an ID number of the battery charging and replacing cabinet where the battery charging and replacing cabinet system is located, an ID number of an empty battery placed in an empty battery compartment by a user, and an ID number of a replaceable battery. Specifically, the battery charging and replacing system encrypts information such as the ID number of the battery charging and replacing cabinet, the ID number of an empty battery placed in the empty bin, and the ID number of a replaceable battery through a pre-stored key to generate an offline label, and outputs the generated offline label to an operation interface of the battery charging and replacing system for a user to check and read. Alternatively, the offline label may include, but is not limited to, a bar code or a two-dimensional code.
Further, performing offline power swapping according to the offline label includes:
reading and identifying the offline label through the intelligent terminal to obtain label information of the offline label;
sending the label information to a background server;
the background server decrypts the tag information and sends a battery swapping ciphertext to the intelligent terminal;
the intelligent terminal receives and displays the battery replacement ciphertext;
the battery charging and swapping cabinet system judges whether a battery swapping ciphertext input by a user is received;
if yes, judging whether the battery replacement is allowed according to the battery replacement ciphertext;
if the battery replacement is allowed, outputting a control signal to control the bin gate of the battery bin corresponding to the battery replacement ciphertext to be opened;
and if the battery replacement is not allowed, outputting and displaying battery replacement failure information.
And step S104, if not, updating and storing the pre-stored key.
Specifically, in a preferred embodiment, an off-line tag is taken as an example of a two-dimensional code for explanation.
As shown in fig. 2, the offline power swapping method based on the key may specifically include the following steps:
s201, judging whether the battery charging and replacing cabinet system is in an off-line state according to the current network state;
s202, if yes, judging whether an offline battery changing request selected by a user on an operation interface of a battery charging and changing cabinet is received;
s203, if an offline power conversion request is received, judging whether an empty bin and a replaceable battery exist in the current charging and converting cabinet;
s204, if an empty bin and a replaceable battery exist, outputting a control signal to open a bin door of the battery bin of the empty bin; and if no empty bin or replaceable battery exists, outputting the empty bin-free or replaceable battery-free operation interface to display so as to prompt the user.
S205, judging whether a user closes a bin door of the opened battery bin;
and S206, if so, encrypting the information of the ID number of the battery to be charged, the ID number of the charging and replacing cabinet, the ID number of the replaceable battery and the like by the charging and replacing cabinet system through a prestored secret key to obtain a corresponding ciphertext, generating the obtained ciphertext into a two-dimensional code, and outputting the generated two-dimensional code to an operation interface of the charging and replacing cabinet system for display.
S207, the user scans the two-dimensional code on the operation interface through the intelligent terminal (including but not limited to a mobile phone, a PAD and the like), the ciphertext in the two-dimensional code is obtained, and the obtained ciphertext is sent to the background server.
S208, the background server decrypts the ciphertext uploaded by the intelligent terminal, generates a corresponding battery swapping ciphertext based on the uploaded ciphertext and returns the battery swapping ciphertext to the intelligent terminal;
and S209, the intelligent terminal receives the returned battery swapping cipher text and then displays the battery swapping cipher text, the user inputs the received battery swapping cipher text into the battery charging and swapping cabinet system through the operation interface, and the battery charging and swapping cabinet system executes an offline battery swapping operation according to the input battery swapping cipher text.
And the battery replacement ciphertext comprises a battery replacement permission ciphertext or a battery replacement non-permission ciphertext, wherein when the background server judges that the battery replacement is permitted according to the density uploaded by the intelligent terminal, the battery code which can be used for the battery replacement is bound again to generate the battery replacement permission ciphertext, otherwise, the battery replacement non-permission ciphertext is generated. After receiving a battery replacement ciphertext input by a user, the battery charging and replacing system decrypts the battery replacement ciphertext, and if the battery replacement ciphertext is the battery replacement permission ciphertext, the battery charging and replacing system outputs a control signal to control a bin gate of a fully charged battery bin to be opened (for the user to take) according to the battery replacement permission ciphertext; and if the battery swapping ciphertext is not allowed, the battery swapping failure information output by the battery swapping cabinet system is displayed on the operation interface to remind the user.
Further, the battery swapping ciphertext generated by the background server is encrypted by the pre-stored key and then returned to the intelligent terminal.
Further, as shown in fig. 2, if the offline battery replacement request is received, corresponding information is output to the operation interface to prompt the user when it is determined that the battery charging and replacing cabinet is empty and the replaceable battery is available.
Further, the present invention also provides an offline power swapping system based on a secret key, wherein the offline power swapping system may include a processor, and the processor is configured to implement the steps of the offline power swapping method based on a secret key disclosed in the embodiments of the present invention when executing the computer program stored in the memory.
The invention can be applied to the charging and replacing cabinets of two-wheeled and three-wheeled electric vehicles, and can be applied to the situation that the charging and replacing can not be remotely networked (namely, in an off-line state), how a user communicates with the charging and replacing cabinet background server through a mobile phone or other mobile terminals which can be networked, thereby achieving the purpose of obtaining, replacing or returning batteries. The invention can communicate with the background server of the battery charging and replacing system through the user networking in the offline state of the battery charging and replacing system, and the user networking process only needs one code scanning and one screen input at most, thereby having simple and rapid operation and high efficiency. In addition, the secret key issued by the background server to the charging and switching cabinet is not limited in use times and can be updated regularly, and the interactive message between the charging and switching cabinet and the background server is encrypted, so that the method is safe and reliable.
The above embodiments are merely illustrative of the technical ideas and features of the present invention, and are intended to enable those skilled in the art to understand the contents of the present invention and implement the present invention, and not to limit the scope of the present invention. All equivalent changes and modifications made within the scope of the claims of the present invention should be covered by the claims of the present invention.

Claims (10)

1. An offline battery replacement method based on a secret key is applied to a battery charging and replacement cabinet system, and is characterized by comprising the following steps:
acquiring the network state of the current battery charging and replacing cabinet system;
judging whether the battery charging and replacing cabinet system is in an off-line state currently or not according to the network state;
if yes, performing offline battery replacement based on a prestored secret key;
if not, updating and storing the pre-stored key.
2. The offline power swapping method based on the secret key of claim 1, wherein if yes, performing offline power swapping based on a pre-stored secret key comprises:
judging whether the battery charging and replacing cabinet system meets a battery replacing condition;
and if so, performing offline battery replacement based on the pre-stored secret key.
3. The offline power swapping method based on the secret key of claim 2, wherein the determining whether the power charging and swapping cabinet system meets the power swapping condition comprises:
judging whether an empty bin and a replaceable battery exist in the battery charging and replacing cabinet system;
if yes, judging that the battery charging and replacing cabinet system meets the battery replacing condition;
if not, judging that the battery charging and replacing cabinet system meets the battery replacing condition.
4. The offline power swapping method based on the secret key of claim 3, wherein the determining whether there is an empty bin and a replaceable battery in the power charging and swapping cabinet system comprises:
judging whether an offline power change request is received;
if yes, executing: and judging whether an empty bin and a replaceable battery exist in the battery charging and replacing cabinet system.
5. The offline power swapping method based on the secret key of claim 2, wherein if the offline power swapping is performed based on the pre-stored secret key, the offline power swapping comprises:
if the battery charging and replacing cabinet system meets the battery replacing condition, outputting a control signal to control the bin door of the battery bin of the empty bin to be opened;
judging whether the battery compartment with the compartment door opened is closed or not;
if yes, the battery charging and replacing cabinet system generates an offline label based on the pre-stored secret key;
and executing offline battery replacement according to the offline label.
6. The offline power swapping method based on the key of claim 5, wherein the performing offline power swapping according to the offline label comprises:
reading and identifying the offline label through an intelligent terminal to obtain label information of the offline label;
sending the label information to a background server;
the background server decrypts the label information and sends a battery swapping ciphertext to the intelligent terminal;
the intelligent terminal receives and displays the battery swapping ciphertext;
the battery charging and swapping cabinet system judges whether a battery swapping ciphertext input by a user is received;
if yes, judging whether the battery replacement is allowed according to the battery replacement ciphertext;
if the battery replacement is allowed, outputting a control signal to control the bin gate of the battery bin corresponding to the battery replacement ciphertext to be opened;
and if the battery replacement is not allowed, outputting and displaying battery replacement failure information.
7. The offline power swapping method based on the key of claim 5, wherein the offline tag comprises:
the ID number of the charging and replacing cabinet where the charging and replacing cabinet system is located, the ID number of an empty battery placed into the empty bin by a user and the ID number of a replaceable battery.
8. The offline power swapping method based on the secret key of claim 1, wherein the obtaining the network state of the current power charging and swapping cabinet system comprises:
and receiving a pre-stored secret key issued by the background server and storing the pre-stored secret key to the local.
9. The offline power swapping method based on the key of claim 5, wherein the offline tag comprises: a bar code or a two-dimensional code.
10. A key-based offline power swapping system, comprising a processor for implementing the steps of the method of any one of claims 1-9 when executing a computer program stored in a memory.
CN202011034771.4A 2020-09-27 2020-09-27 Off-line electricity changing method and system based on secret key Pending CN112309051A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011034771.4A CN112309051A (en) 2020-09-27 2020-09-27 Off-line electricity changing method and system based on secret key

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011034771.4A CN112309051A (en) 2020-09-27 2020-09-27 Off-line electricity changing method and system based on secret key

Publications (1)

Publication Number Publication Date
CN112309051A true CN112309051A (en) 2021-02-02

Family

ID=74489069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011034771.4A Pending CN112309051A (en) 2020-09-27 2020-09-27 Off-line electricity changing method and system based on secret key

Country Status (1)

Country Link
CN (1) CN112309051A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113079196A (en) * 2021-03-11 2021-07-06 深圳拓邦股份有限公司 Method and system for identifying swallowed battery by battery replacement cabinet system
CN113256888A (en) * 2021-04-21 2021-08-13 深圳云动未来科技有限公司 Offline battery replacement method, system and equipment
CN113255391A (en) * 2021-05-19 2021-08-13 深圳市伍壹物联科技有限公司 Offline battery replacement operation method, system and equipment
CN113382396A (en) * 2021-04-21 2021-09-10 深圳云动未来科技有限公司 Offline battery replacement method, system and equipment
CN113382406A (en) * 2021-04-21 2021-09-10 深圳云动未来科技有限公司 Offline battery replacement method, system and equipment
CN113611048A (en) * 2021-08-02 2021-11-05 深圳市伍壹物联科技有限公司 Battery replacement cabinet capable of taking swallowed batteries online and offline and operation method thereof
CN113612879A (en) * 2021-08-02 2021-11-05 深圳市伍壹物联科技有限公司 Method, system and equipment for remotely opening battery replacement cabinet
CN114067497A (en) * 2021-11-06 2022-02-18 威胜电气有限公司 Offline power swapping method based on dynamic password

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103366463A (en) * 2013-08-01 2013-10-23 合普新能源科技有限公司 Card swiping and charging method of intelligent charging and storing cabinet
CN106127467A (en) * 2016-06-20 2016-11-16 上海易码信息科技有限公司 The method of mobile payment integrating financial card paying and settle accounts
CN107146308A (en) * 2017-04-28 2017-09-08 徐华静 A kind of offline internet-based control device and its control system and method
EP3492308A1 (en) * 2017-11-30 2019-06-05 General Electric Company System and method of authorizing off-line electric vehicle charging station
CN110060044A (en) * 2019-03-29 2019-07-26 北京未来购电子商务有限公司 A kind of method and self-service device of self-service device Offline consumption
CN111105565A (en) * 2019-11-30 2020-05-05 苏州易换骑网络科技有限公司 Offline battery replacement method and system for battery replacement cabinet
CN111585971A (en) * 2020-04-15 2020-08-25 汕头市能捷电投资咨询有限责任公司 Identity confirmation method and system supporting offline battery replacement

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103366463A (en) * 2013-08-01 2013-10-23 合普新能源科技有限公司 Card swiping and charging method of intelligent charging and storing cabinet
CN106127467A (en) * 2016-06-20 2016-11-16 上海易码信息科技有限公司 The method of mobile payment integrating financial card paying and settle accounts
CN107146308A (en) * 2017-04-28 2017-09-08 徐华静 A kind of offline internet-based control device and its control system and method
EP3492308A1 (en) * 2017-11-30 2019-06-05 General Electric Company System and method of authorizing off-line electric vehicle charging station
CN110060044A (en) * 2019-03-29 2019-07-26 北京未来购电子商务有限公司 A kind of method and self-service device of self-service device Offline consumption
CN111105565A (en) * 2019-11-30 2020-05-05 苏州易换骑网络科技有限公司 Offline battery replacement method and system for battery replacement cabinet
CN111585971A (en) * 2020-04-15 2020-08-25 汕头市能捷电投资咨询有限责任公司 Identity confirmation method and system supporting offline battery replacement

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113079196A (en) * 2021-03-11 2021-07-06 深圳拓邦股份有限公司 Method and system for identifying swallowed battery by battery replacement cabinet system
CN113256888A (en) * 2021-04-21 2021-08-13 深圳云动未来科技有限公司 Offline battery replacement method, system and equipment
CN113382396A (en) * 2021-04-21 2021-09-10 深圳云动未来科技有限公司 Offline battery replacement method, system and equipment
CN113382406A (en) * 2021-04-21 2021-09-10 深圳云动未来科技有限公司 Offline battery replacement method, system and equipment
CN113382406B (en) * 2021-04-21 2023-09-26 深圳同圆智联科技有限公司 Offline power conversion method, system and equipment
CN113382396B (en) * 2021-04-21 2023-12-01 深圳云动未来科技有限公司 Offline power conversion method, system and equipment
CN113255391A (en) * 2021-05-19 2021-08-13 深圳市伍壹物联科技有限公司 Offline battery replacement operation method, system and equipment
CN113611048A (en) * 2021-08-02 2021-11-05 深圳市伍壹物联科技有限公司 Battery replacement cabinet capable of taking swallowed batteries online and offline and operation method thereof
CN113612879A (en) * 2021-08-02 2021-11-05 深圳市伍壹物联科技有限公司 Method, system and equipment for remotely opening battery replacement cabinet
CN114067497A (en) * 2021-11-06 2022-02-18 威胜电气有限公司 Offline power swapping method based on dynamic password
CN114067497B (en) * 2021-11-06 2023-08-08 威胜能源技术股份有限公司 Offline power conversion method based on dynamic password

Similar Documents

Publication Publication Date Title
CN112309051A (en) Off-line electricity changing method and system based on secret key
CN104660719B (en) A kind of electronic lock system and its intelligent management implementation method
CN109859009B (en) Method, device and equipment for replacing shared bicycle battery and storage medium
CN102332120B (en) A kind of power intelligent business hall management system
US7774609B2 (en) Process for digital signing of a message
CN106340087A (en) Intelligent switch lock system based on intelligent mobile terminal
JP2013255415A (en) Charging station for mobile electronic devices, and associated system and method
CN107146308A (en) A kind of offline internet-based control device and its control system and method
CN101437203A (en) Mobile communication equipment and message transmission method thereof
CN105933318A (en) Data secret-keeping method, device and system
CN101499196A (en) Ammeter payment method, apparatus and system
CN105897722B (en) Pass through the method, system and mobile terminal of client quick release
CN101692720A (en) Method for automatically replying information by mobile terminal, system and terminal
CN202931377U (en) Nfc personal account information management system
CN210858291U (en) Charging cabinet outage unlocking circuit and charging cabinet
CN113141593B (en) Detection method and detection system for vehicle virtual key and upper computer
CN109166199A (en) A kind of generation method of password, device and equipment
US7386727B1 (en) Method for digital signing of a message
CN102315940B (en) Data transmission and processing system and method thereof
CN113382396B (en) Offline power conversion method, system and equipment
CN206757734U (en) Electric locking and scooter
CN108597121A (en) Charging management method, device, computer readable storage medium and the system of charging pile
CN213228366U (en) Control system for battery charging and replacing cabinet
CN210605841U (en) Intelligent lock control system
CN103259310A (en) Solar power supply system, power utilization timing control device and method

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210202