CN115410320A - Charging pile off-grid starting method, system, equipment and storage medium - Google Patents

Charging pile off-grid starting method, system, equipment and storage medium Download PDF

Info

Publication number
CN115410320A
CN115410320A CN202211055652.6A CN202211055652A CN115410320A CN 115410320 A CN115410320 A CN 115410320A CN 202211055652 A CN202211055652 A CN 202211055652A CN 115410320 A CN115410320 A CN 115410320A
Authority
CN
China
Prior art keywords
charging
code
pile
starting
mac address
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
CN202211055652.6A
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.)
Shaanxi Green Energy Electronic Technology Co Ltd
Original Assignee
Shaanxi Green Energy Electronic 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 Shaanxi Green Energy Electronic Technology Co Ltd filed Critical Shaanxi Green Energy Electronic Technology Co Ltd
Priority to CN202211055652.6A priority Critical patent/CN115410320A/en
Publication of CN115410320A publication Critical patent/CN115410320A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F15/00Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity
    • G07F15/003Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity for electricity
    • G07F15/005Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity for electricity dispensed for the electrical charging of vehicles
    • 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/0625Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation with splitting of the data block into left and right halves, e.g. Feistel based algorithms, DES, FEAL, IDEA or KASUMI
    • 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/3226Cryptographic 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 a predetermined code, e.g. password, passphrase or PIN
    • H04L9/3228One-time or temporary data, i.e. information which is sent for every authentication or authorization, e.g. one-time-password, one-time-token or one-time-key
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a charging pile off-grid starting method, a charging pile off-grid starting system, charging pile off-grid starting equipment and a charging gun code, wherein S1, an off-line charging random code of a charging pile is obtained, and a charging pile MAC address and a charging gun code corresponding to the off-line charging random code are judged; s2, acquiring a charging amount, combining the charging amount according to the MAC address of the charging pile, the charging gun code, the offline charging random code and the charging amount, and performing standard encryption transformation by using an agreed password to generate a charging starting code; and S3, after the charging pile receives the charging starting code, starting the corresponding charging gun to charge. Can carry out normal charging under the state of being off-grid at charging pile.

Description

Charging pile off-grid starting method, system, equipment and storage medium
Technical Field
The invention belongs to the field of electric vehicle charging, and relates to a charging pile off-grid starting method, system, equipment and storage medium.
Background
Fill electric pile present commonly used starting mode and sweep the sign indicating number for APP and start charging, this mode just can realize filling electric pile and charging under the prerequisite of the normal communication of operation platform, but in the actual use, fill electric pile because external factor disturbs, signal unstability etc. fill electric pile and operation platform communication and take place occasionally unusually, can't ensure to make the user normally charge when taking place above-mentioned scene.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a charging pile off-grid starting method, a charging pile off-grid starting system, charging pile off-grid starting equipment and a storage medium, which can carry out normal charging in a charging pile off-grid state.
In order to achieve the purpose, the invention adopts the following technical scheme to realize the purpose:
an off-grid starting method for a charging pile comprises the following processes:
s1, acquiring an offline charging random code of a charging pile, and judging a charging pile MAC address and a charging gun code corresponding to the offline charging random code;
s2, acquiring a charging amount, combining the charging amount according to the MAC address of the charging pile, the charging gun code, the offline charging random code and the charging amount, and performing standard encryption transformation by using an agreed password to generate a charging starting code;
and S3, after the charging pile receives the charging starting code, starting the corresponding charging gun to charge.
Preferably, in S2, the specific process of combination is:
setting the number of bits by taking the MAC address of the charging pile, and placing an offline charging random code in the MAC address of the charging pile to obtain a multibit string;
moving some of the bits of the multibit string to remaining positions;
inserting a charging gun code into a set position of the converted multibit string;
and inserting the charging amount into the multi-bit character string with the charging gun code to obtain the character string to be encrypted.
Further, the charging amount is located in the multi-bit string at a position that is 8 times the current week multiplied by 1, and the charging amount is ten times located in the multi-bit string at a position that is 1 times the current week multiplied by 2.
Preferably, in S2, the standard encryption conversion method using the agreed password is to perform DES encryption three times on the combined character string.
Further, 4-bit appointed characters are supplemented before the MAC address of the charging pile by the encryption key encrypted by the DES for the first time, the encryption key encrypted by the DES for the second time is an appointed key, and 2-bit appointed characters are supplemented before and after the MAC address of the charging pile by the encryption key encrypted by the DES for the third time.
Preferably, in S3, after receiving the charging start code, the charging start code is restored, the MAC address, the charging gun code, the offline charging random code, and the charging amount of the charging pile are obtained, and after comparing the MAC address, the charging gun code, and the offline charging random code, if they are consistent, the corresponding charging gun is started to charge, and if they are not consistent, the procedure is ended.
Preferably, in S3, after the charging gun is successfully started for charging, the charging start code fails.
The utility model provides a fill electric pile start-up system that leaves net which characterized in that includes:
the offline charging random code acquisition module is used for acquiring an offline charging random code of the charging pile and judging a charging pile MAC address and a charging gun code corresponding to the offline charging random code;
the charging starting code generating module is used for acquiring charging amount, combining the charging amount according to the MAC address of the charging pile, the charging gun code, the offline charging random code and the charging amount, and then performing standard encryption transformation by using an agreed password to generate a charging starting code;
and the charging starting module is used for starting the corresponding charging gun to charge after the charging pile receives the charging starting code.
A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor when executing the computer program implements the steps of the charging pile off-grid starting method as described in any one of the above.
A computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the charging pile off-grid starting method as described in any one of the above.
Compared with the prior art, the invention has the following beneficial effects:
according to the invention, the off-line charging random code is obtained, the charging start code is generated by performing information arrangement and encryption processing on the charging pile characteristic information and the charging amount, the charging pile starts a corresponding charging gun to charge according to the charging start code, and effective interaction of information can be performed in the off-grid state of the charging pile through the off-line charging random code arranged in the charging pile in advance, so that normal charging is realized in the off-grid state of the charging pile.
Drawings
FIG. 1 is a diagram of a charge initiation code encryption process according to the present invention;
FIG. 2 is a diagram of a charge initiation code recovery process according to the present invention;
fig. 3 is a charging flow chart of the charging pile for checking the offline starting code.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments; all other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "front," "back," "left," "right," "upper" and "lower" used in the following description refer to directions in the drawings, and the terms "inner" and "outer" refer to directions toward and away from, respectively, the geometric center of a particular component.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
According to the charging pile off-grid starting method, the starting code is issued to the user APP after the charging pile is off-grid, the user inputs the starting code into the charging pile to start charging, the problem that charging cannot be conducted due to the fact that the charging pile is off-grid is solved, and usability of the charging pile is improved.
The method comprises the following steps:
s1, acquiring an offline charging random code of the charging pile, and judging a charging pile MAC address and a charging gun code corresponding to the offline charging random code.
And S2, acquiring the charging amount, combining the charging amount with the MAC address of the charging pile, the charging gun code, the offline charging random code and the charging amount, and performing standard encryption transformation by using an agreed password to generate a charging starting code.
The specific process of combination is as follows:
and setting the number of bits of the MAC address of the charging pile, and placing the offline charging random code in the MAC address of the charging pile to obtain a multibit string.
Several of the bits of the multibit string are moved to the remaining positions.
And inserting the charging gun code into the set position of the transformed multibit string.
And inserting the charging amount into the multi-bit character string with the charging gun code to obtain the character string to be encrypted.
The charging amount is located in the multi-digit string at the position of the unit in the multi-digit string, the charging amount is 8 added to the value obtained by multiplying the current week by 1, and the charging amount is ten located in the multi-digit string at the position of the unit in the multi-digit string, the charging amount is 1 subtracted from the value obtained by multiplying the current week by 2.
The standard encryption transformation mode by using the appointed password is to carry out DES encryption for three times on the combined character string.
The encryption key of DES encryption for the first time is that 4 appointed characters are supplemented before the MAC address of the charging pile, the encryption key of DES encryption for the second time is the appointed key, and the encryption key of DES encryption for the third time is that 2 appointed characters are supplemented before and after the MAC address of the charging pile.
And S3, after the charging pile receives the charging starting code, starting a corresponding charging gun to charge, and after the charging gun is successfully started to charge, the charging starting code is invalid.
And after receiving the charging start code, the charging start code is restored by the charging pile, the MAC address, the charging gun code, the off-line charging random code and the charging amount of the charging pile are obtained, after the MAC address, the charging gun code and the off-line charging random code are compared, if the MAC address, the charging gun code and the off-line charging random code are consistent, the corresponding charging gun is started for charging, and if the MAC address, the charging gun code and the off-line charging random code are inconsistent, the process is ended.
The actual specific process is as follows:
1. and (5) explaining the off-network charging business process.
When filling electric pile off-grid, the user finds the place charging station on APP again, selects to correspond the rifle that charges, clicks "off-grid start" button below the rifle that charges, selects the amount of charge and pays the back, and APP returns the start code that charges, and the user fills "off-grid start" button of electric pile man-machine interface through clicking, inputs the start code that charges that APP acquireed in the input frame that pops out again, clicks and confirms the back and starts to charge. And after the network of the charging pile is recovered, automatically reporting the order started from the network to the platform, and carrying out fee refunding operation on the user by the platform according to the actual charging fee if the prepayment is not completely consumed.
2. And generating and checking principle description of the off-grid charging starting code.
1) And generating an off-grid charging starting code.
The charging APP is opened, the charging station is selected, the charging gun connected with the vehicle is selected, the off-network charging button is clicked, the off-line charging code of the man-machine interaction interface of the charging pile is input, the charging amount is determined after the charging amount is input, and the charging amount is the charged prepaid amount. Platform backend server retrieval judges the electric pile MAC address and the rifle code that charges that off-line charging random code corresponds, according to should fill the MAC address of electric pile, the rifle code that charges, off-line charging random code and the amount of money that charges, use after specific combination agreed password to carry out standard encryption transform, generate the start code that charges, return APP and show, this start code can only start to select the rifle that charges when generating the start code operation, should charge the rifle and successfully start the back of charging, this start code is inefficacy to filling electric pile.
2) And generating information arrangement description by the charging start code.
The charging start code uses the information shared by the charging operation platform and the charging pile as basic information, and after specific arrangement, DES standard encryption is carried out for 3 times to generate the charging start code, so that charging authentication and information transmission are completed.
The basic information before arrangement is 3, the charging pile MAC address, the charging gun number and the charging prepayment amount.
Charging pile MAC address: the inherent information of the charging pile 4G module cannot be modified, the charging pile can be read by itself, the charging pile can report to the platform after communicating with the operation platform, and 8 bits are behind the MAC address in actual use.
Offline charging random code: the length is 4 bits, charging piles are generated, a human-computer interaction interface is displayed, and new random codes are generated after the charging is started successfully in an off-line mode.
And (3) coding a charging gun: the gun number that charges belongs to and fills electric pile inherent property, can report the platform equally, 2 digit numerical value, if first rifle, the number is 01.
And charging prepayment amount, namely completing payment after the payment is selected or input by the user APP, and recording the amount by the platform after the payment is successful, wherein a 2-digit integer is limited.
Arranging and explaining basic information of offline charging: the MAC address in the example is D003EB9E2CAA, the random code is 2693, and the charging gun code is 02.
The first step is as follows: MAC address and random code combination: and taking 8 bits after the MAC address, and placing a random code after 8 bits after the MAC address.
Examples are as follows:
the combined 12-bit string is: EB9E2CAA2693.
The second step is that: description of string position conversion: the first 3 bits of the 12-bit string are inserted into the 7 th bit of the remaining part.
Examples are as follows:
pre-conversion character string: EB9E2CAA2693.
The converted character string: e2CAA2EB9693.
The third step: the gun code for charging is inserted into the 3 rd bit of the converted string, assuming gun code for charging bit 02.
Examples are as follows:
after inserting the coding of the charging gun: e202CAA2EB9693.
The fourth step: and inserting charging prepayment amount information. The position rule of the charging prepayment amount in the 16-bit string is as follows: the charging prepayment amount is positioned in a 16-bit string, the value obtained by multiplying the current week by 1 is added with 8, and the position of the charging prepayment amount in a 16-bit string is the value obtained by multiplying the current week by 2 and is subtracted with 1. String transformation processes units first and then tens.
Examples are as follows:
the amount is 50, and the day is Monday, the 16-bit string bit after insertion is as follows: 5E202CAA20EB9693.
Amount 50, on tuesday, the inserted 16-bit string bit: e2502CAA2E0B9693.
The sum is 50, and the day is wednesday, the 16-bit string bit after insertion is as follows: e2025CAA2EB09693.
The sum of money is 50, and the day is thursday, the 16-bit string bit is inserted: e202CA5A2EB90693.
The amount is 50, the day is friday, then 16-bit string bits are inserted: e202CAA25EB96093.
The amount is 50, and the day is Saturday, the 16-bit string bit after insertion: e202CAA2EB596903.
The sum is 50, and the day is sunday, the 16-bit string bit after insertion is as follows: e202CAA2EB965930.
3) And (5) explaining a charge starting code generation principle.
Fig. 1 is a diagram of a charge initiation code generation process, and the detailed principle is as follows:
(1) Information combination: and generating a 16-bit character string to be encrypted according to the charging starting code arranging method.
(2) DES encryption 1 st time: the '16-bit string to be encrypted' is encrypted by using a DES encryption algorithm, and an encryption key is formed by supplementing 4-bit appointed characters in front of a 12-bit MAC address.
(3) DES encryption 2: the intermediate result 1 is encrypted using the DES encryption algorithm, and the encryption key is the contract key.
(4) DES encryption 3 rd time: and encrypting the 'intermediate result 2' by using a DES encryption algorithm, wherein an encryption key is a specified character with 2 supplementary bits before and after the 12-bit MAC address.
Fig. 2 is a diagram of a recovery process of the charge start code, and the detailed principle is as follows:
(1) DES decryption for the 1 st time: and decrypting the 16-bit key by using a DES algorithm, wherein the decryption key is a specified character obtained by supplementing 2 bits before and after the 12-bit MAC address.
(2) DES decryption for the 2 nd time: and decrypting the intermediate result 2 by using a DES algorithm, wherein the decryption key is a 'contracted key'.
(3) DES decryption for the 3 rd time: and the intermediate result 1 is decrypted by using a DES algorithm, and a decryption key supplements 4 specified characters before a 12-bit MAC address.
(4) Information dismantling: the information dismantling is mainly to dismantle 8 bits of MAC address, off-line charging random code, charging gun code and prepayment information from the decrypted basic information. The information is disassembled into the reverse operation of the information combination, and the specific steps are explained as follows.
The first step is as follows: and disassembling the charging prepayment sum. Assuming that it is currently tuesday, the tens are taken from the 3 rd digit in the 16-bit string and each digit is taken from the 10 th digit of the remaining 15-bit string according to the rules.
Examples are as follows:
e2502CAA2E0B9693, tens of bit 3, having a value of 5.
E202CAA2E0B9693, bit 10 is a bit of 0.
The character strings after the prepaid information is disassembled are as follows: e202CAA2EB9693.
The second step is that: and 2 bits of charging gun coded information are taken out from the 3 rd bit.
Examples are as follows:
e202CAA2EB9693, charge gun code 02.
The character string after the charging gun code is obtained is as follows: e2CAA2EB9693.
The third step: 3 bits are taken out from the 7 th bit of the 12-bit character string and put at the forefront of the character string.
Examples are as follows:
before transformation: e2CAA2EB9693.
After transformation: EB9E2CAA2693.
The fourth step: and intercepting the last four digits to obtain an offline charging random code, wherein the rest part is 8 digits behind the MAC address.
Examples are as follows:
EB9E2CAA2693, 2693 for the offline charging random code, EB9E2CAA for 8 bits after the MAC address.
Fig. 3 shows a charging process initiated by the charging controller checking the offline start code, which includes the following detailed steps:
(1) And selecting a corresponding charging gun by the human-computer interaction interface, and inputting a charging starting code after clicking.
(2) The charging controller executes a charging starting code reduction process, acquires 8 bits after the MAC address of the equipment, and obtains an offline charging random code, a charging gun code and a prepaid amount.
(3) Comparing 8 bits after the MAC address of the equipment, comparing the offline charging random code with the charging gun code which is consistent with the current pile, returning to 'authentication success', executing starting charging, and otherwise, returning to 'authentication failure', and ending the process.
(4) If charging is successfully started, a new offline charging random code is generated.
(5) And checking the charging cost periodically, stopping charging after the prepayment consumption is finished, and recording the order.
The following are embodiments of the apparatus of the present invention that may be used to perform embodiments of the method of the present invention. For details of non-careless mistakes in the embodiment of the apparatus, please refer to the embodiment of the method of the present invention.
In another embodiment of the present invention, an off-grid starting system for a charging pile is provided, which can be used to implement the above-mentioned off-grid starting method for a charging pile, and specifically, the off-grid starting system for a charging pile includes an off-line charging random code obtaining module, a charging starting code generating module, and a charging starting module.
The offline charging random code acquisition module is used for acquiring an offline charging random code of the charging pile and judging a charging pile MAC address and a charging gun code corresponding to the offline charging random code.
And the charging starting code generating module is used for acquiring the charging amount, combining the charging amount with the MAC address of the charging pile, the charging gun code, the offline charging random code and the charging amount, and then performing standard encryption transformation by using an agreed password to generate a charging starting code.
The charging starting module is used for starting a corresponding charging gun to charge after the charging pile receives the charging starting code.
In yet another embodiment of the present invention, a terminal device is provided that includes a processor and a memory for storing a computer program comprising program instructions, the processor being configured to execute the program instructions stored by the computer storage medium. The Processor may be a Central Processing Unit (CPU), or may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable gate array (FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc., which is a computing core and a control core of the terminal, and is specifically adapted to load and execute one or more instructions to implement a corresponding method flow or a corresponding function; the processor provided by the embodiment of the invention can be used for the operation of the charging pile off-grid starting method, and comprises the following steps: s1, acquiring an offline charging random code of a charging pile, and judging a charging pile MAC address and a charging gun code corresponding to the offline charging random code; s2, acquiring a charging amount, combining the charging amount according to the MAC address of the charging pile, the charging gun code, the offline charging random code and the charging amount, and performing standard encryption transformation by using an agreed password to generate a charging starting code; and S3, after the charging pile receives the charging starting code, starting the corresponding charging gun to charge.
In still another embodiment, the present invention further provides a computer-readable storage medium (Memory) which is a Memory device in a terminal device and stores programs and data. It is understood that the computer readable storage medium herein may include a built-in storage medium in the terminal device, and may also include an extended storage medium supported by the terminal device. The computer-readable storage medium provides a storage space storing an operating system of the terminal. Also, the memory space stores one or more instructions, which may be one or more computer programs (including program code), adapted to be loaded and executed by the processor. It should be noted that the computer-readable storage medium may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), such as at least one disk memory.
The processor can load and execute one or more instructions stored in the computer readable storage medium to realize corresponding steps of the charging pile off-network starting method in the embodiment; one or more instructions in the computer-readable storage medium are loaded by the processor and perform the steps of: s1, acquiring an offline charging random code of a charging pile, and judging a charging pile MAC address and a charging gun code corresponding to the offline charging random code; s2, acquiring a charging amount, combining the charging amount according to the MAC address of the charging pile, the charging gun code, the offline charging random code and the charging amount, and then performing standard encryption transformation by using an appointed password to generate a charging starting code; and S3, after the charging pile receives the charging starting code, starting the corresponding charging gun to charge.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
It is to be understood that the above description is intended to be illustrative, and not restrictive. Many embodiments and many applications other than the examples provided would be apparent to those of skill in the art upon reading the above description. The scope of the patent should, therefore, be determined not with reference to the above description, but instead should be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled. The disclosures of all articles and references, including patent applications and publications, are hereby incorporated by reference for all purposes. The omission in the foregoing claims of any aspect of subject matter that is disclosed herein is not intended to forego such subject matter, nor should the applicant consider that such subject matter is not considered part of the disclosed subject matter.

Claims (10)

1. An off-grid starting method for a charging pile is characterized by comprising the following steps:
s1, acquiring an offline charging random code of a charging pile, and judging a charging pile MAC address and a charging gun code corresponding to the offline charging random code;
s2, acquiring a charging amount, combining the charging amount according to the MAC address of the charging pile, the charging gun code, the offline charging random code and the charging amount, and performing standard encryption transformation by using an agreed password to generate a charging starting code;
and S3, after the charging pile receives the charging starting code, starting the corresponding charging gun to charge.
2. The charging pile off-grid starting method according to claim 1, wherein in S2, the specific process of combination is as follows:
setting the number of bits by taking the MAC address of the charging pile, and placing an offline charging random code in the MAC address of the charging pile to obtain a multibit string;
moving some of the bits of the multibit string to the remaining positions;
inserting a charging gun code into a set position of the converted multibit string;
and inserting the charging amount into the multi-bit character string with the charging gun code to obtain the character string to be encrypted.
3. The method of claim 2, wherein the one-digit charging amount is the position in the multi-digit string of the week plus 8, and the ten-digit charging amount is the position in the multi-digit string of the week minus 1.
4. The charging pile off-network starting method according to claim 1, wherein in S2, the standard encryption transformation mode by using the appointed password is that DES encryption is carried out on the combined character string for three times.
5. The charging pile off-network starting method according to claim 4, characterized in that the encryption key encrypted by DES for the first time is supplemented with 4-bit appointed characters before the MAC address of the charging pile, the encryption key encrypted by DES for the second time is an appointed key, and the encryption key encrypted by DES for the third time is respectively supplemented with 2-bit appointed characters before and after the MAC address of the charging pile.
6. The charging pile off-grid starting method according to claim 1, wherein in S3, after receiving the charging start code, the charging start code is restored to obtain the MAC address, the charging gun code, the offline charging random code and the charging amount of the charging pile, and after comparing the MAC address, the charging gun code and the offline charging random code, if the MAC address, the charging gun code and the offline charging random code are consistent, the corresponding charging gun is started to charge, and if the MAC address, the charging gun code and the offline charging random code are inconsistent, the process is ended.
7. The charging pile off-grid starting method according to claim 1, wherein in S3, after the charging gun is successfully started for charging, the charging starting code fails.
8. The utility model provides a fill electric pile start-up system that leaves net which characterized in that includes:
the offline charging random code acquisition module is used for acquiring an offline charging random code of the charging pile and judging a charging pile MAC address and a charging gun code corresponding to the offline charging random code;
the charging starting code generating module is used for acquiring charging amount, combining the charging amount according to the MAC address of the charging pile, the charging gun code, the offline charging random code and the charging amount, and then performing standard encryption transformation by using an agreed password to generate a charging starting code;
and the charging starting module is used for starting the corresponding charging gun to charge after the charging pile receives the charging starting code.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor when executing the computer program performs the steps of the charging pole off-grid activation method according to any one of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the charging pile off-grid starting method according to any one of claims 1 to 7.
CN202211055652.6A 2022-08-31 2022-08-31 Charging pile off-grid starting method, system, equipment and storage medium Pending CN115410320A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211055652.6A CN115410320A (en) 2022-08-31 2022-08-31 Charging pile off-grid starting method, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211055652.6A CN115410320A (en) 2022-08-31 2022-08-31 Charging pile off-grid starting method, system, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115410320A true CN115410320A (en) 2022-11-29

Family

ID=84163321

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211055652.6A Pending CN115410320A (en) 2022-08-31 2022-08-31 Charging pile off-grid starting method, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115410320A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116152992A (en) * 2023-04-18 2023-05-23 浙江安吉智电控股有限公司 Processing method and device of charging request and start code for charging service
CN116452198A (en) * 2023-06-14 2023-07-18 南京能可瑞科技有限公司 Offline authorization and charging method and system for charging pile
CN117621903A (en) * 2023-12-25 2024-03-01 北京充电安科技有限公司 Offline charging control method for charging pile, server side and equipment side

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1479486A (en) * 2003-07-04 2004-03-03 李志猛 Paper electronic repaying card
CN102819811A (en) * 2012-07-11 2012-12-12 山东金现代信息技术有限公司 Feedback information generating system and generating method
CN107086622A (en) * 2017-05-08 2017-08-22 上海熊家信息科技有限公司 Barcode scanning charging equipment and barcode scanning charging method, system
CN111599094A (en) * 2020-05-09 2020-08-28 北京嘀嘀无限科技发展有限公司 Charging operation method, charging operation device, terminal, server, electronic equipment and storage medium
CN112655010A (en) * 2018-10-02 2021-04-13 第一资本服务有限责任公司 System and method for password authentication of contactless cards
CN113194476A (en) * 2020-01-14 2021-07-30 宁波方太厨具有限公司 Equipment activation and authentication binding method
CN113345165A (en) * 2021-07-08 2021-09-03 量势(深圳)控股有限公司 Charging and billing starting method in offline state of charging pile and charging pile
CN113515752A (en) * 2020-04-09 2021-10-19 腾讯科技(深圳)有限公司 Information encryption method, decryption method, device and electronic equipment
CN113691372A (en) * 2021-08-18 2021-11-23 绿能慧充数字技术有限公司 Key dynamic protection method of charging centralized controller
CN113963487A (en) * 2021-11-24 2022-01-21 北京联行网络科技有限公司 Charging pile offline charging method and system
CN114299666A (en) * 2021-12-28 2022-04-08 安徽影通智能科技有限公司 Offline charging method of charging station

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1479486A (en) * 2003-07-04 2004-03-03 李志猛 Paper electronic repaying card
CN102819811A (en) * 2012-07-11 2012-12-12 山东金现代信息技术有限公司 Feedback information generating system and generating method
CN107086622A (en) * 2017-05-08 2017-08-22 上海熊家信息科技有限公司 Barcode scanning charging equipment and barcode scanning charging method, system
CN112655010A (en) * 2018-10-02 2021-04-13 第一资本服务有限责任公司 System and method for password authentication of contactless cards
CN113194476A (en) * 2020-01-14 2021-07-30 宁波方太厨具有限公司 Equipment activation and authentication binding method
CN113515752A (en) * 2020-04-09 2021-10-19 腾讯科技(深圳)有限公司 Information encryption method, decryption method, device and electronic equipment
CN111599094A (en) * 2020-05-09 2020-08-28 北京嘀嘀无限科技发展有限公司 Charging operation method, charging operation device, terminal, server, electronic equipment and storage medium
CN113345165A (en) * 2021-07-08 2021-09-03 量势(深圳)控股有限公司 Charging and billing starting method in offline state of charging pile and charging pile
CN113691372A (en) * 2021-08-18 2021-11-23 绿能慧充数字技术有限公司 Key dynamic protection method of charging centralized controller
CN113963487A (en) * 2021-11-24 2022-01-21 北京联行网络科技有限公司 Charging pile offline charging method and system
CN114299666A (en) * 2021-12-28 2022-04-08 安徽影通智能科技有限公司 Offline charging method of charging station

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116152992A (en) * 2023-04-18 2023-05-23 浙江安吉智电控股有限公司 Processing method and device of charging request and start code for charging service
CN116152992B (en) * 2023-04-18 2023-09-01 浙江安吉智电控股有限公司 Processing method and device of charging request and start code for charging service
CN116452198A (en) * 2023-06-14 2023-07-18 南京能可瑞科技有限公司 Offline authorization and charging method and system for charging pile
CN116452198B (en) * 2023-06-14 2023-09-01 南京能可瑞科技有限公司 Offline authorization and charging method and system for charging pile
CN117621903A (en) * 2023-12-25 2024-03-01 北京充电安科技有限公司 Offline charging control method for charging pile, server side and equipment side

Similar Documents

Publication Publication Date Title
CN115410320A (en) Charging pile off-grid starting method, system, equipment and storage medium
CN108777033B (en) Shared charger treasure leasing method based on shared leasing equipment and terminal equipment thereof
CN104717342A (en) Method and device for awakening client application based on short message
CN107862613A (en) Premium paying method, premium pay equipment and readable storage medium storing program for executing
US20150235196A1 (en) Payment method and device
CN108564721B (en) Charging method, server and intelligent device
CN107180343A (en) A kind of method and apparatus of automatic fee
CN114925370A (en) Software security protection method and device, storage medium and electronic equipment
US10944874B2 (en) Telecommunication system for monitoring and controlling of a network providing resource to a user
CN110490585A (en) Two dimensional code charging method, device, multi-connected machine household cost allocation equipment and storage medium
CN108038979B (en) Sustainable operation method based on STS prepayment system
CN111988749B (en) Dynamic tariff generation method and device
CN109166199A (en) A kind of generation method of password, device and equipment
CN106327273A (en) STS-based prepaid electricity selling system and method
CN109460981B (en) Message interaction method and device, storage medium and electronic device
CN102232302B (en) Cost rebilling method and corresponding device
JP2001125961A (en) Memory device for information download
EP3331196A1 (en) Telecommunication system for monitoring and controlling of a network providing resource to a user
CN110136340B (en) Intelligent electric energy meter electric charge recharging method and system
CN102929967A (en) System and method of generating, storing and searching random number
CN101977277A (en) Method and device for generating ticket
CN104851055A (en) Electric power intelligent electricity fee prepaying method and system
CN111123801A (en) Solar power utilization control method, server, control terminal and equipment
CN101729708B (en) Monthly balance testing method and device
CN114220222B (en) Offline prepaid electric quantity recharging method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination