CN116691415B - Charging information management method, system, equipment and medium - Google Patents

Charging information management method, system, equipment and medium Download PDF

Info

Publication number
CN116691415B
CN116691415B CN202310984085.0A CN202310984085A CN116691415B CN 116691415 B CN116691415 B CN 116691415B CN 202310984085 A CN202310984085 A CN 202310984085A CN 116691415 B CN116691415 B CN 116691415B
Authority
CN
China
Prior art keywords
charging
charging information
information
target
pile
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310984085.0A
Other languages
Chinese (zh)
Other versions
CN116691415A (en
Inventor
苏明辉
楚俊昌
郑奕
孔瑞霞
郑畅蕊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Aerospace Science And Technology Co ltd
Original Assignee
Shenzhen Aerospace Science And 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 Shenzhen Aerospace Science And Technology Co ltd filed Critical Shenzhen Aerospace Science And Technology Co ltd
Priority to CN202310984085.0A priority Critical patent/CN116691415B/en
Publication of CN116691415A publication Critical patent/CN116691415A/en
Application granted granted Critical
Publication of CN116691415B publication Critical patent/CN116691415B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • 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/67Controlling two or more charging stations
    • 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
    • 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

Abstract

The invention provides a charging information management method, a system, equipment and a medium, which relate to the technical field of data security, and the method comprises the following steps: the first charging pile or the second charging pile performs blocking processing on the charging information to obtain charging information blocks, and each charging information block is respectively sent to at least two charging piles; after receiving a change request, a target charging pile locally holding target charging information calculates a plurality of charging information blocks verifying the charging information in the locally held charging information to obtain first calculation results, and the first calculation results are respectively sent to corresponding storage charging piles; the storage charging pile verifies the first operation result based on the locally held charging information block, and a verification result is obtained and disclosed; when the storage charging piles pass the public verification, the storage charging piles replace the charging information blocks corresponding to the original held target charging information with the changed target charging information. The invention can improve the safety of charging information.

Description

Charging information management method, system, equipment and medium
Technical Field
The present invention relates to the field of data security technologies, and in particular, to a method, a system, an apparatus, and a medium for managing charging information.
Background
In the prior art, a plurality of charging piles can be connected to the same platform, so that a user can conveniently obtain identity verification when using different charging piles only by registering to the charging pile platform, and a charging function is used. However, the existing charging pile platform often stores data in a centralized server, that is, all charging information of users is stored in a server designated by a platform manager, and the centralized storage mode can greatly reduce the security of the data, so that the server is vulnerable to unauthorized rated access, data tampering or malicious attack.
Disclosure of Invention
The invention provides a charging information management method, a system, equipment and a medium, which are used for solving the defect of low data security caused by adopting centralized storage of charging information in the prior art and realizing the security management of the charging information.
The invention provides a charging information management method, which comprises the following steps:
after the charging of a target account is finished, a first charging pile generates charging information of the target account, a random number is generated, when the random number is the first random number, the charging information is diced to obtain at least two charging information blocks, the charging information is locally reserved, each charging information block is respectively sent to at least two charging piles, when the random number is the second random number, the charging information is sent to a second charging pile, so that the second charging pile diced the charging information, the charging information blocks are generated, and each charging information block is respectively sent to at least two charging piles;
After receiving a change request of target charging information aiming at the target account, the third charging pile broadcasts the change request to all charging piles;
after receiving the change request, the target charging pile locally holding the target charging information verifies the change request, and after the change request passes the verification, a plurality of charging information blocks of the verification charging information in the locally held charging information are operated by adopting a preset operation mode to obtain first operation results, and the first operation results are respectively sent to corresponding storage charging piles, wherein the storage charging piles are charging piles storing the charging information blocks corresponding to the first operation results;
the storage charging pile verifies the first operation result based on the charging information block held locally to obtain a verification result and discloses the verification result;
and the target charging pile changes the target charging information based on the change request, and sends the changed charging information blocks corresponding to the target charging information to the corresponding storage charging pile, when all the results disclosed by the storage charging pile are verification passing, the storage charging pile replaces the charging information blocks corresponding to the target charging information originally held by the storage charging pile with the charging information blocks corresponding to the changed target charging information.
According to the charging information management method provided by the invention, before the charging information of the target account is generated, the method further comprises the following steps:
the first charging pile receives a charging request, wherein the charging request comprises account information of the target account and signature information generated through a private key corresponding to the target account;
the first charging pile sends the signature information to a plurality of other charging piles;
each charging pile receiving the signature information verifies the signature information by using a public key corresponding to the target account locally held by the charging pile;
the first charging pile is granted permission to generate the charging information after verification is passed;
the public key and the private key corresponding to the target account are generated when the target account is registered.
According to the charging information management method provided by the invention, the charging information comprises a plurality of pieces of data, the charging information is diced to obtain at least two charging information blocks, and the method comprises the following steps:
splicing a plurality of pieces of data in the charging information to obtain a data chain;
intervals are randomly inserted in the data chain to obtain the at least two blocks of charging information.
According to the charging information management method provided by the invention, each charging information block is respectively sent to at least two charging piles, and the method comprises the following steps:
adding an identification tag and a sequence tag to each charging information block, wherein the identification tag is used for reflecting the charging information to which the charging information block belongs, and the sequence tag is used for reflecting the sequence of the charging information block in the charging information to which the charging information block belongs;
each charging information block added with the identification tag and the sequence tag is respectively sent to at least two charging piles;
and storing the correspondence of the identification tag, the sequence tag and the charging pile for receiving the charging information block locally.
According to the charging information management method provided by the invention, the steps of respectively sending each first operation result to a corresponding storage charging pile include:
the first operation result and the identification tag and the sequence tag of the charging information block corresponding to the first operation result are respectively sent to the corresponding storage charging pile;
the storage charging pile verifies the first operation result based on the charging information block locally held to obtain a verification result, and the method comprises the following steps:
The storage charging pile locally determines a reference charging information block according to the received identification tag and the received sequence tag corresponding to the first operation result;
and the storage charging pile calculates the reference charging information block by adopting the preset operation mode to obtain each second operation result, and the verification result is generated according to the received first operation result and the locally generated second operation result.
According to the charging information management method provided by the invention, the verification of the change request comprises the following steps:
the target charging stake encrypts the change request by using a public key corresponding to the target account, generates an encrypted change request, and sends the encrypted change request to a terminal corresponding to the target account, so that the terminal corresponding to the target account decrypts the encrypted change request by using a private key corresponding to the target account to obtain the change request and confirms the change request;
and after receiving the information confirming the change request sent by the terminal corresponding to the target account, the target charging pile determines that the change request is verified.
According to the charging information management method provided by the invention, before the operation is performed on a plurality of charging information blocks of verification charging information in the locally held charging information by adopting a preset operation mode, the method comprises the following steps:
and randomly selecting at least one verification charging information from each charging information locally held.
The invention also provides a charging information management system, which comprises a plurality of charging piles;
the method comprises the steps that a first charging pile of a plurality of charging piles is used for generating charging information of a target account after the charging of the target account is finished, generating a random number, performing dicing processing on the charging information to obtain at least two charging information blocks when the random number is the first random number, reserving the charging information locally, respectively sending each charging information block to at least two charging piles, and sending the charging information to a second charging pile when the random number is the second random number, so that the second charging pile performs dicing processing on the charging information to generate the charging information blocks and respectively sending each charging information block to at least two charging piles;
a third charging pile of the plurality of charging piles is used for broadcasting a change request to all charging piles after receiving the change request of the target charging information aiming at the target account;
The target charging pile which locally holds the charging information corresponding to the target account in the plurality of charging piles is used for verifying the change request after receiving the change request, and after the change request passes the verification, a preset operation mode is adopted to operate a plurality of charging information blocks which locally hold the verification charging information in the charging information to obtain each first operation result, each first operation result is respectively sent to a corresponding storage charging pile, and the storage charging pile is the charging pile which stores the charging information blocks corresponding to the first operation result;
the storage charging pile is used for verifying the first operation result based on the charging information block held locally to obtain a verification result and disclosing the verification result;
the target charging pile is further configured to change the target charging information based on the change request, and send the changed charging information block corresponding to the target charging information to the corresponding storage charging pile, where when all the results disclosed by the storage charging pile are verification passing, the storage charging pile replaces the charging information block corresponding to the target charging information originally held by the storage charging pile with the charging information block corresponding to the changed target charging information.
The invention also provides an electronic device comprising a processor for executing instructions to implement the charging information management method as described in any one of the above.
The present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a charging information management method as described in any one of the above.
According to the charging information management method, the system, the equipment and the medium, charging piles for generating charging information are used for carrying out operation on information blocks of the charging information held by the charging piles after receiving broadcasting, the charging piles for generating the charging information are used for carrying out operation on information blocks of the charging information held by the charging piles by adopting a preset operation mode when receiving broadcasting, after obtaining a first operation result, the first operation result is sent to other charging piles for carrying out verification on the corresponding information blocks, the other charging piles are used for carrying out disclosure on verification results generated by the charging piles to obtain verification results of all charging piles for verifying the first operation result, and only when all verification results are verification pass, the charging piles for carrying out charging information on the target charging information are used for carrying out random determination, when the charging piles for carrying out charging information change on the target charging information need to change the target charging information, the charging information blocks of the target charging information are used for carrying out operation on the target charging information, and the charging information blocks of the target charging information can be updated only after receiving broadcasting, the charging information blocks of the target charging information can be effectively changed, and the charging information can not be stored in the charging piles by adopting the target charging information can be effectively, and the charging information can be prevented from being changed by the target information.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a charging information management method provided by the invention;
fig. 2 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The charging information management method provided by the present invention is described below with reference to fig. 1, and as shown in fig. 1, the charging information management method provided by the present invention includes the steps of:
S100, after charging of a target account is finished, the first charging pile generates charging information of the target account, a random number is generated, when the random number is the first random number, the charging information is subjected to dicing processing to obtain at least two charging information blocks, the charging information is reserved locally, each charging information block is respectively sent to at least two charging piles, when the random number is the second random number, the charging information is sent to the second charging pile, the second charging pile is used for conducting dicing processing on the charging information, the charging information blocks are generated, and each charging information block is respectively sent to at least two charging piles.
The charging pile can be internally provided with or connected with a communication module and a storage module, wherein the communication module is used for communicating with other charging piles, and the storage module is used for storing charging information. Specifically, the first charging pile may be any charging pile connected to the charging pile platform, the target account may be any account registered to the charging pile platform, and when the user corresponding to the target account completes charging on the first charging pile, the first charging pile may generate charging information of the current charging of the target account, where the charging information may include account information, charging location, charging pile number, charging duration, charging cost and the like of the target account. After the first charging pile generates the charging information of the current charging of the target account, the charging information is not necessarily stored locally, but is randomly determined to be stored locally (a storage module built in or connected with the charging pile) or stored in other charging piles. Specifically, the generation range of the random number can be set based on the number of the charging piles in the charging pile platform, the first random number corresponds to the first charging pile, the second random number is other random numbers except the first random number and corresponds to other charging piles, when the random number corresponds to the first charging pile, charging information of the current charging is stored in the local of the first charging pile, and when the random number corresponds to the second charging pile, the charging information of the current charging is sent to the second charging pile for storage. Thus, an attacker needs to attack all storage modules of the charging post to obtain all charging information data in order to obtain charging information of a specific account or all accounts of the charging post platform, which is obviously extremely difficult.
The charging pile with the complete charging information (the charging information generated in one charging process is called one charging information) also backs up the charging information, so that when the charging information needs to be changed, the charging pile with the complete charging information and the data stored on the charging pile with the backed-up charging information need to be changed at the same time, an unauthorized terminal cannot tamper the data, and the safety of the charging information is ensured.
In order to ensure account security, the first charging pile needs to perform security verification on the target account to generate charging information, specifically, before generating the charging information of the target account, the method includes:
the method comprises the steps that a first charging pile receives a charging request, wherein the charging request comprises account information of a target account and signature information generated through a private key corresponding to the target account;
the first charging pile sends the signature information to a plurality of other charging piles;
each charging pile receiving the signature information verifies the signature information by using a public key corresponding to a target account held locally;
the first charging stake is granted permission to generate charging information after verification passes.
The first charging pile responds to the charging request for charging after obtaining the authority of generating the charging information, outputs electric quantity to the connected equipment to be charged (such as a battery or a vehicle), and generates the charging information after the charging is finished.
When a target account is registered to a charging pile platform, a public key and a private key corresponding to the target account are generated, the public key is sent to each charging pile in the charging pile platform to be stored, the private key is stored by a terminal corresponding to the target account, when the target account is required to be charged through a first charging pile, firstly, the public key and the private key are utilized to verify the identity of the target account, the target account uses the private key held by the target account to generate encrypted signature information and sends the encrypted signature information to the first charging pile which is required to be used at present, after the first charging pile receives the signature information, the first charging pile sends the encrypted signature information to a plurality of other charging piles to be verified, and after the public key verification is adopted by the plurality of other charging piles, the platform opens the authority of generating charging information for the first charging pile, so that the first charging pile can be prevented from being stolen by remote control.
As described above, the charging information may include account information of the target account, a charging location, a charging pile number, a charging duration, a charging cost, and other pieces of data, and the method includes performing a dicing process on the charging information to obtain at least two charging information blocks, including:
splicing a plurality of pieces of data in the charging information to obtain a data chain;
intervals are randomly inserted in the data chain to obtain at least two blocks of charging information.
By randomly segmenting the data in the charging data, the obtained charging information blocks are sent to other charging piles, so that when unauthorized attackers try to acquire information, the part of the charging information cannot be stored in the charging pile, and the attack difficulty is further improved.
Transmitting each charging information block to at least two charging piles respectively, including:
adding an identification tag and a sequential tag to each charging information block, wherein the identification tag is used for reflecting charging information of the charging information block, and the sequential tag is used for reflecting the sequence of the charging information block in the charging information of the charging information block;
each charging information block added with the identification tag and the sequence tag is respectively sent to at least two charging piles;
and storing the corresponding relation of the identification tag, the sequence tag and the charging pile for receiving the charging information block locally.
The charging information block is obtained after the charging information is segmented, and in order to facilitate the subsequent management of the backup charging information block, after the charging information is segmented to obtain the charging information block, an identification tag and a sequential tag are added to the charging information block, and the part of the charging information block, which is specifically the charging information, can be determined through the identification tag and the sequential tag. Obviously, the identification tags of the charging information blocks belonging to the same charging information are the same, and the sequence tags are different.
It should be noted that, in the method provided by the invention, the communication between the charging piles is encrypted communication, that is, the data transmitted between the charging piles is encrypted data. Specifically, the platform may configure an encryption protocol and a decryption protocol for each charging pile, and after receiving data encrypted by the encryption protocol sent by other charging piles, the platform may implement data decryption by using a locally held decryption protocol.
In order to improve the compatibility of the charging pile platform, the method provided by the invention relates to a universal standardized interface, so that charging piles of different manufacturers can be seamlessly integrated into a system, the interoperability is improved, and the integration cost of users and service providers is reduced. Specifically, a standardized interface protocol exists between the charging pile and the charging pile platform, and the charging pile can transmit charging information to the cloud platform by following the standard interface protocol, for example, a RESTful API interface is defined, and request and response formats of functions such as charging pile registration, identity verification, charging information uploading and the like are specified.
Referring to fig. 1 again, the method provided by the present invention further includes the steps of:
and S200, after receiving the change request of the target charging information aiming at the target account, the third charging pile broadcasts the change request to all charging piles.
The change request of the target charging information may be sent by the platform or the terminal corresponding to the target account, and the charging pile used by the user has randomness, that is, the user corresponding to the target account does not always use only one charging pile in the charging pile platform, so that the third charging pile may be any charging pile in the charging pile platform, the third charging pile may not store the target charging information locally, and after receiving the change request of the target charging information, the third charging pile broadcasts the change request to all charging piles.
And S300, after receiving a change request, the target charging pile locally holds target charging information, and calculating a plurality of charging information blocks for verifying the charging information in the locally held charging information by adopting a preset operation mode to obtain each first operation result, and respectively sending each first operation result to a corresponding storage charging pile, wherein the storage charging pile is the charging pile storing the charging information blocks corresponding to the first operation result.
In order to prevent an unauthorized computer from disguising that a third charging pile transmits a change request to try to tamper with target charging information, after receiving the change request, a target charging pile locally holding the target charging information is first verified. That is, the operation of the plurality of charging information blocks of the verification charging information in the locally held charging information by adopting the preset operation mode includes:
The target charging pile verifies the change request;
after the verification of the change request is passed, the target charging pile calculates a plurality of charging information blocks of verification charging information in the locally held charging information in a preset operation mode.
Specifically, validating the change request includes:
the target charging stake encrypts the change request by using a public key corresponding to the target account, generates an encrypted change request, and sends the encrypted change request to a terminal corresponding to the target account, so that the terminal corresponding to the target account decrypts the encrypted change request by using a private key corresponding to the target account to obtain the change request and confirms the change request;
and after receiving the information of the request for confirming the change sent by the terminal corresponding to the target account, the target charging pile determines that the change request is verified.
The change request comprises account information of the target account, the third charging pile broadcasts the change request encrypted through an encryption protocol configured by a platform, the target charging pile decrypts the change request through a decryption protocol configured by the platform after receiving the change request, and then the account information of the target account is obtained, and then the change request is encrypted through a public key corresponding to the target account and then the encrypted change request is sent to a terminal corresponding to the target account.
Further, when the change request includes the change to the account information, the target charging pile may directly determine that the verification to the change request passes after receiving the information for confirming the change request sent by the terminal corresponding to the target account. When the change request comprises the change of data influencing the charging transaction result, the charging pile which needs to generate the target charging information also verifies the change request, specifically, after receiving the broadcasted change request, the charging pile which generates the target charging information determines whether the information in the change request is correct or not by calling a work log of the charging pile, after the information is confirmed to be correct, the verification of the change request is passed, the verification passed information is encrypted and broadcast, and after receiving the verification passed information of the change request and the information of the confirmation change request sent by the terminal corresponding to the target account, the target charging pile determines that the verification of the change request is passed.
After the verification of the change request is confirmed, the target charging terminal locally selects verification charging information, specifically, the target charging terminal randomly selects at least one of the locally held complete charging information as the verification charging information, and calculates part or all of the charging information blocks of the verification charging information through a preset operation mode respectively to obtain a first operation result.
The preset operation mode is an operation mode which is appointed in advance in the charging pile platform, and the charging pile which is not authorized cannot acquire the operation mode.
Sending each first operation result to a corresponding storage charging pile respectively, wherein the method comprises the following steps:
respectively sending the first operation result and the identification tag and the sequential tag of the charging information block corresponding to the first operation result to a corresponding storage charging pile;
the storage charging pile verifies a first operation result based on a locally held charging information block to obtain a verification result, and the method comprises the following steps:
the storage charging pile locally determines a reference charging information block according to the received identification tag and sequence tag corresponding to the first operation result;
and the storage charging pile performs operation on the reference charging information block by adopting a preset operation mode to obtain each second operation result, and generates a verification result according to the received first operation result and the locally generated second operation result.
When the target charging pile sends the first operation result, the identification tag and the sequential tag corresponding to the first operation result are also sent to the corresponding storage charging pile, and the identification tag and the sequential tag corresponding to the first operation result are tags of the charging information block adopted when the first operation result is generated.
And S400, verifying the first operation result based on the locally held charging information block by the storage charging pile to obtain a verification result and disclosing the verification result.
The storage charging pile can determine a local reference charging information block according to the received identification tag and the sequence tag, a preset operation mode is also adopted to operate the reference charging information block to obtain second operation results, when the first operation result is consistent with the second operation result, the storage charging pile gives out an authentication result passing authentication, when the first operation result is inconsistent with the second operation result, the storage charging pile gives out an authentication result failing authentication, the storage charging pile gives out the authentication result, and then the authentication result is disclosed, so that all charging piles of the charging pile platform can learn the authentication result.
And S500, the target charging pile changes target charging information based on the change request, and sends a charging information block corresponding to the changed target charging information to the corresponding storage charging pile, and when all the results disclosed by the storage charging pile pass verification, the storage charging pile replaces the charging information block corresponding to the target charging information originally held by the storage charging pile with the changed target charging information.
And after the target charging pile passes the verification of the change request, changing the target charging information based on the change request, and sending a charging information block corresponding to the changed target charging information to the corresponding storage charging pile. All the storage charging piles can acquire the verification results disclosed by other storage charging piles, if the verification results are verification passing, the target charging pile is not illegally camouflaged by a computer, but is authorized by the authorized charging pile, and the charging information block sent by the target charging pile can be used for replacing the originally held corresponding charging information block.
According to the method provided by the invention, the broadcast change request is verified, the target charging pile for changing the charging information based on the change request is also verified, and when the verification fails, the backup charging information block stored in the charging pile is not changed, and even if the third charging pile changes the data, the data can be checked out through inconsistent with the backup data, so that the changed data can be judged to be illegal, the charging information is effectively prevented from being tampered, and the safety of the charging information is ensured.
It should be noted that, although in the foregoing description, the charging piles are distinguished by the designations of "first charging pile", "second charging pile", "third charging pile", "target charging pile", "storage charging pile", etc., this is merely for convenience of description, and in fact, they may be any charging pile connected to the charging pile platform, and the functions implemented by the charging piles may be changed during processing of different charging information, that is, during processing of different charging information, the same charging pile may be the "first charging pile", the "second charging pile" or the "third charging pile" or the "target charging pile" or the "storage charging pile".
The charging information management system provided by the invention is described below, and the charging information management system described below and the charging information management method described above can be referred to correspondingly to each other. The system includes a plurality of charging piles;
the method comprises the steps that a first charging pile in a plurality of charging piles is used for generating charging information of a target account after charging of the target account is finished, generating a random number, performing dicing processing on the charging information to obtain at least two charging information blocks when the random number is the first random number, reserving the charging information locally, respectively sending each charging information block to at least two charging piles, and sending the charging information to a second charging pile when the random number is the second random number, so that the second charging pile performs dicing processing on the charging information to generate the charging information blocks, and respectively sending each charging information block to at least two charging piles;
the third charging pile in the plurality of charging piles is used for broadcasting a change request to all charging piles after receiving the change request of the target charging information aiming at the target account;
the method comprises the steps that a target charging pile which locally holds charging information corresponding to a target account in a plurality of charging piles is used for verifying a change request after receiving the change request, after the change request passes the verification, a plurality of charging information blocks which verify the charging information in the locally held charging information are operated in a preset operation mode to obtain first operation results, the first operation results are respectively sent to corresponding storage charging piles, and the storage charging piles are the charging piles which store the charging information blocks corresponding to the first operation results;
The storage charging pile is used for verifying the first operation result based on the locally held charging information block to obtain a verification result and disclosing the verification result;
the target charging pile is further used for changing target charging information based on the changing request, and sending charging information blocks corresponding to the changed target charging information to the corresponding storage charging pile, and when all the results disclosed by the storage charging pile are verified, the storage charging pile replaces the charging information blocks corresponding to the target charging information originally held by the storage charging pile with the changed target charging information.
Fig. 2 illustrates a physical schematic diagram of an electronic device, as shown in fig. 2, where the electronic device may include: processor 210, communication interface (Communications Interface) 220, memory 230, and communication bus 240, wherein processor 210, communication interface 220, and memory 230 communicate with each other via communication bus 240. Processor 210 may invoke logic instructions in memory 230 to perform a charge information management method comprising: after the charging of the target account is finished, the first charging pile generates charging information of the target account, a random number is generated, when the random number is the first random number, the charging information is subjected to dicing processing to obtain at least two charging information blocks, the charging information is reserved locally, each charging information block is respectively sent to at least two charging piles, when the random number is the second random number, the charging information is sent to the second charging pile, so that the second charging pile performs dicing processing on the charging information to generate charging information blocks, and each charging information block is respectively sent to at least two charging piles;
After receiving a change request of target charging information aiming at a target account, the third charging pile broadcasts the change request to all charging piles;
after receiving a change request, a target charging pile locally holding target charging information verifies the change request, and after the change request passes the verification, a plurality of charging information blocks for verifying the charging information in the locally held charging information are operated in a preset operation mode to obtain first operation results, the first operation results are respectively sent to corresponding storage charging piles, and the storage charging piles are the charging piles storing the charging information blocks corresponding to the first operation results;
the storage charging pile verifies the first operation result based on the locally held charging information block to obtain a verification result and discloses the verification result;
and the target charging pile changes the target charging information based on the change request, and sends a charging information block corresponding to the changed target charging information to the corresponding storage charging pile, and when all the results disclosed by the storage charging pile pass verification, the storage charging pile replaces the charging information block corresponding to the target charging information originally held by the storage charging pile with the changed target charging information.
Further, the logic instructions in the memory 230 described above may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the charging information management method provided by the above methods, the method comprising: after the charging of the target account is finished, the first charging pile generates charging information of the target account, a random number is generated, when the random number is the first random number, the charging information is subjected to dicing processing to obtain at least two charging information blocks, the charging information is reserved locally, each charging information block is respectively sent to at least two charging piles, when the random number is the second random number, the charging information is sent to the second charging pile, so that the second charging pile performs dicing processing on the charging information to generate charging information blocks, and each charging information block is respectively sent to at least two charging piles;
After receiving a change request of target charging information aiming at a target account, the third charging pile broadcasts the change request to all charging piles;
after receiving a change request, a target charging pile locally holding target charging information verifies the change request, and after the change request passes the verification, a plurality of charging information blocks for verifying the charging information in the locally held charging information are operated in a preset operation mode to obtain first operation results, the first operation results are respectively sent to corresponding storage charging piles, and the storage charging piles are the charging piles storing the charging information blocks corresponding to the first operation results;
the storage charging pile verifies the first operation result based on the locally held charging information block to obtain a verification result and discloses the verification result;
and the target charging pile changes the target charging information based on the change request, and sends a charging information block corresponding to the changed target charging information to the corresponding storage charging pile, and when all the results disclosed by the storage charging pile pass verification, the storage charging pile replaces the charging information block corresponding to the target charging information originally held by the storage charging pile with the changed target charging information.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A charging information management method, characterized by comprising:
after the charging of a target account is finished, a first charging pile generates charging information of the target account, a random number is generated, when the random number is the first random number, the charging information is diced to obtain at least two charging information blocks, the charging information is locally reserved, each charging information block is respectively sent to at least two charging piles, when the random number is the second random number, the charging information is sent to a second charging pile, so that the second charging pile diced the charging information, the charging information blocks are generated, and each charging information block is respectively sent to at least two charging piles;
After receiving a change request of target charging information aiming at the target account, the third charging pile broadcasts the change request to all charging piles;
after receiving the change request, the target charging pile locally holding the target charging information verifies the change request, and after the change request passes the verification, a plurality of charging information blocks of the verification charging information in the locally held charging information are operated by adopting a preset operation mode to obtain first operation results, and the first operation results are respectively sent to corresponding storage charging piles, wherein the storage charging piles are charging piles storing the charging information blocks corresponding to the first operation results;
the storage charging pile verifies the first operation result based on the charging information block held locally to obtain a verification result and discloses the verification result;
and the target charging pile changes the target charging information based on the change request, and sends the changed charging information blocks corresponding to the target charging information to the corresponding storage charging pile, when all the results disclosed by the storage charging pile are verification passing, the storage charging pile replaces the charging information blocks corresponding to the target charging information originally held by the storage charging pile with the charging information blocks corresponding to the changed target charging information.
2. The charging information management method according to claim 1, wherein before the generating of the charging information of the target account, the method further comprises:
the first charging pile receives a charging request, wherein the charging request comprises account information of the target account and signature information generated through a private key corresponding to the target account;
the first charging pile sends the signature information to a plurality of other charging piles;
each charging pile receiving the signature information verifies the signature information by using a public key corresponding to the target account locally held by the charging pile;
the first charging pile is granted permission to generate the charging information after verification is passed;
the public key and the private key corresponding to the target account are generated when the target account is registered.
3. The method according to claim 1, wherein the charging information includes a plurality of pieces of data, the dicing processing is performed on the charging information to obtain at least two charging information blocks, and the method includes:
splicing a plurality of pieces of data in the charging information to obtain a data chain;
intervals are randomly inserted in the data chain to obtain the at least two blocks of charging information.
4. The charging information management method according to claim 1, wherein said transmitting each of the charging information blocks to at least two charging posts, respectively, comprises:
adding an identification tag and a sequence tag to each charging information block, wherein the identification tag is used for reflecting the charging information to which the charging information block belongs, and the sequence tag is used for reflecting the sequence of the charging information block in the charging information to which the charging information block belongs;
each charging information block added with the identification tag and the sequence tag is respectively sent to at least two charging piles;
and storing the correspondence of the identification tag, the sequence tag and the charging pile for receiving the charging information block locally.
5. The method of claim 4, wherein the sending each of the first operation results to a corresponding stored charging pile includes:
the first operation result and the identification tag and the sequence tag of the charging information block corresponding to the first operation result are respectively sent to the corresponding storage charging pile;
the storage charging pile verifies the first operation result based on the charging information block locally held to obtain a verification result, and the method comprises the following steps:
The storage charging pile locally determines a reference charging information block according to the received identification tag and the received sequence tag corresponding to the first operation result;
and the storage charging pile calculates the reference charging information block by adopting the preset operation mode to obtain each second operation result, and the verification result is generated according to the received first operation result and the locally generated second operation result.
6. The charge information management method according to claim 1, wherein the verifying the change request includes:
the target charging stake encrypts the change request by using a public key corresponding to the target account, generates an encrypted change request, and sends the encrypted change request to a terminal corresponding to the target account, so that the terminal corresponding to the target account decrypts the encrypted change request by using a private key corresponding to the target account to obtain the change request and confirms the change request;
and after receiving the information confirming the change request sent by the terminal corresponding to the target account, the target charging pile determines that the change request is verified.
7. The method for managing charging information according to claim 1, wherein before said calculating a plurality of said charging information blocks of verification charging information in said locally held charging information by a preset calculation method, comprising:
and randomly selecting at least one verification charging information from each charging information locally held.
8. A charging information management system, the system comprising a plurality of charging piles;
the method comprises the steps that a first charging pile of a plurality of charging piles is used for generating charging information of a target account after the charging of the target account is finished, generating a random number, performing dicing processing on the charging information to obtain at least two charging information blocks when the random number is the first random number, reserving the charging information locally, respectively sending each charging information block to at least two charging piles, and sending the charging information to a second charging pile when the random number is the second random number, so that the second charging pile performs dicing processing on the charging information to generate the charging information blocks and respectively sending each charging information block to at least two charging piles;
A third charging pile of the plurality of charging piles is used for broadcasting a change request to all charging piles after receiving the change request of the target charging information aiming at the target account;
the target charging pile which locally holds the charging information corresponding to the target account in the plurality of charging piles is used for verifying the change request after receiving the change request, and after the change request passes the verification, a preset operation mode is adopted to operate a plurality of charging information blocks which locally hold the verification charging information in the charging information to obtain each first operation result, each first operation result is respectively sent to a corresponding storage charging pile, and the storage charging pile is the charging pile which stores the charging information blocks corresponding to the first operation result;
the storage charging pile is used for verifying the first operation result based on the charging information block held locally to obtain a verification result and disclosing the verification result;
the target charging pile is further configured to change the target charging information based on the change request, and send the changed charging information block corresponding to the target charging information to the corresponding storage charging pile, where when all the results disclosed by the storage charging pile are verification passing, the storage charging pile replaces the charging information block corresponding to the target charging information originally held by the storage charging pile with the charging information block corresponding to the changed target charging information.
9. An electronic device, the electronic device comprising a processor; the processor is configured to execute instructions to implement the charging information management method as claimed in any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the charging information management method according to any one of claims 1 to 7.
CN202310984085.0A 2023-08-07 2023-08-07 Charging information management method, system, equipment and medium Active CN116691415B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310984085.0A CN116691415B (en) 2023-08-07 2023-08-07 Charging information management method, system, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310984085.0A CN116691415B (en) 2023-08-07 2023-08-07 Charging information management method, system, equipment and medium

Publications (2)

Publication Number Publication Date
CN116691415A CN116691415A (en) 2023-09-05
CN116691415B true CN116691415B (en) 2023-10-10

Family

ID=87826144

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310984085.0A Active CN116691415B (en) 2023-08-07 2023-08-07 Charging information management method, system, equipment and medium

Country Status (1)

Country Link
CN (1) CN116691415B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965218A (en) * 2017-05-25 2018-12-07 华为技术有限公司 A kind of perturbed controller safety communicating method, apparatus and system
CN109795359A (en) * 2019-01-11 2019-05-24 广州小鹏汽车科技有限公司 A kind of charging method for authenticating, device, system and charging system
CN114817987A (en) * 2022-04-25 2022-07-29 国网山东省电力公司烟台供电公司 Block chain evidence storage method of shared charging pile and shared charging pile platform
CN115098458A (en) * 2022-06-22 2022-09-23 重庆长安新能源汽车科技有限公司 Charging pile data sharing and leasing method and system based on block chain technology
WO2023051467A1 (en) * 2021-09-30 2023-04-06 北京罗克维尔斯科技有限公司 Charging data sending and receiving method, charging data sending and receiving apparatus, charging pile, and vehicle terminal
CN116541207A (en) * 2023-04-27 2023-08-04 华中科技大学 Information deleting and verifying method and system based on information overwriting

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965218A (en) * 2017-05-25 2018-12-07 华为技术有限公司 A kind of perturbed controller safety communicating method, apparatus and system
CN109795359A (en) * 2019-01-11 2019-05-24 广州小鹏汽车科技有限公司 A kind of charging method for authenticating, device, system and charging system
WO2023051467A1 (en) * 2021-09-30 2023-04-06 北京罗克维尔斯科技有限公司 Charging data sending and receiving method, charging data sending and receiving apparatus, charging pile, and vehicle terminal
CN114817987A (en) * 2022-04-25 2022-07-29 国网山东省电力公司烟台供电公司 Block chain evidence storage method of shared charging pile and shared charging pile platform
CN115098458A (en) * 2022-06-22 2022-09-23 重庆长安新能源汽车科技有限公司 Charging pile data sharing and leasing method and system based on block chain technology
CN116541207A (en) * 2023-04-27 2023-08-04 华中科技大学 Information deleting and verifying method and system based on information overwriting

Also Published As

Publication number Publication date
CN116691415A (en) 2023-09-05

Similar Documents

Publication Publication Date Title
EP2115993B1 (en) Method for generating digital fingerprint
KR101216306B1 (en) Updating configuration parameters in a mobile terminal
CN102378170B (en) Method, device and system of authentication and service calling
CN110990827A (en) Identity information verification method, server and storage medium
US8590024B2 (en) Method for generating digital fingerprint using pseudo random number code
US11757911B2 (en) Method and system for providing security on in-vehicle network
CN111538784A (en) Block chain-based digital asset transaction method and device and storage medium
CN106897627B (en) Method for ensuring automobile ECU to be free from attack and automatically updated
CN111080856A (en) Bluetooth entrance guard unlocking method
CN112769789B (en) Encryption communication method and system
CN109743283B (en) Information transmission method and equipment
CN116691415B (en) Charging information management method, system, equipment and medium
CN112887099B (en) Data signing method, electronic device and computer readable storage medium
CN112487470B (en) Information verification method, device, terminal equipment and computer readable storage medium
CN109936522B (en) Equipment authentication method and equipment authentication system
CN110287725B (en) Equipment, authority control method thereof and computer readable storage medium
CN112906027A (en) Cloud computing data center access management method
KR102145529B1 (en) Payment method using mobile application and device for the same
CN113326483A (en) Application program authorization method and related product
CN116248280B (en) Anti-theft method for security module without key issue, security module and device
CN116866093B (en) Identity authentication method, identity authentication device, and readable storage medium
CN113672898B (en) Service authorization method, authorization device, system, electronic device and storage medium
CN116582839B (en) Decentralised vehicle rights management system and method
CN115987583B (en) Binding control method for base of intelligent device, base, intelligent device and storage medium
CN115914294A (en) Vehicle system upgrading method, device and equipment

Legal Events

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