CN115859387A - Charging safety detection method for electric automobile - Google Patents

Charging safety detection method for electric automobile Download PDF

Info

Publication number
CN115859387A
CN115859387A CN202211538229.1A CN202211538229A CN115859387A CN 115859387 A CN115859387 A CN 115859387A CN 202211538229 A CN202211538229 A CN 202211538229A CN 115859387 A CN115859387 A CN 115859387A
Authority
CN
China
Prior art keywords
charging pile
charging
file
safety
list
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.)
Granted
Application number
CN202211538229.1A
Other languages
Chinese (zh)
Other versions
CN115859387B (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 Saiter New Energy Technology Co ltd
Original Assignee
Shenzhen Saiter New Energy 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 Saiter New Energy Technology Co ltd filed Critical Shenzhen Saiter New Energy Technology Co ltd
Priority to CN202211538229.1A priority Critical patent/CN115859387B/en
Publication of CN115859387A publication Critical patent/CN115859387A/en
Application granted granted Critical
Publication of CN115859387B publication Critical patent/CN115859387B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02T90/10Technologies relating to charging of electric vehicles
    • Y02T90/16Information or communication technologies improving the operation of electric vehicles
    • Y02T90/167Systems integrating technologies related to power network operation and communication or information technologies for supporting the interoperability of electric or hybrid vehicles, i.e. smartgrids as interface for battery charging of electric vehicles [EV] or hybrid vehicles [HEV]

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention provides a charging safety detection method of an electric automobile, wherein the electric automobile is in communication connection with a charging pile through a charging cable to obtain identity identification information of the charging pile, is in communication connection with a cloud server through a wireless communication module, downloads a safety information scanning script and a first safety information list of the charging pile from the cloud server, transmits the safety information scanning script to the charging pile through the charging cable so that the charging pile executes safety scanning by using the safety information scanning script to obtain a second safety information list, matches the first safety information list with the second safety information list, and sends matching success information to the charging pile to enable the charging pile to start a charging intrusion control program when information in the first safety information list is consistent with information in the second safety information list in a one-to-one correspondence mode, so that risk investigation can be performed on the charging pile, and the charging safety of the electric automobile is improved.

Description

Charging safety detection method for electric automobile
Technical Field
The invention relates to the technical field of new energy automobiles, in particular to a charging safety detection method for an electric automobile.
Background
In addition to using different energy sources, the electric vehicle has a more remarkable characteristic that the networked and intelligent progress of the control system of the electric vehicle is farther than that of the fuel vehicle under the condition of more sufficient power supply compared with the traditional fuel vehicle. Rely on the internet, many functions of electric automobile realize becoming more convenient, for example charge and payment, the user only need can carry out online payment through cell-phone and scanning intelligent charging stake's two-dimensional code, payment process convenient and fast, and can realize unmanned on duty, be favorable to promoting on a large scale in unmanned on duty indoor and outdoor parking area. However, the charging pile, as an important auxiliary device of the electric vehicle, is exposed to public environment for a long time on a physical level, and is exposed to internet environment for a long time on a digital level, and the risk of illegal access or malicious attack on the physical level and the digital level is very high. Before and after the electric automobile charges and in the charging process, the electric automobile needs to be frequently communicated with the charging pile, and lawbreakers can charge the pile through invasion so as to achieve the purpose of damaging or invading the electric automobile.
Disclosure of Invention
The invention provides a charging safety detection method for an electric vehicle based on the problems, which can be used for carrying out invasion risk investigation on a charging pile and improving the charging safety of the electric vehicle.
In view of this, the present invention provides a method for detecting charging safety of an electric vehicle, including:
the electric automobile is in communication connection with the charging pile through a charging cable;
the electric automobile acquires the identity identification information of the charging pile from the charging pile;
the electric automobile establishes communication connection with the cloud server through the wireless communication module;
the electric automobile downloads a safety information scanning script and a first safety information list of the charging pile from the cloud server according to the identity identification information of the charging pile;
the electric automobile transmits the safety information scanning script to the charging pile through the charging cable, so that the charging pile executes safety scanning by using the safety information scanning script to obtain a second safety information list;
the electric automobile acquires the second safety information list from the charging pile;
the electric automobile matches the first safety information list with the second safety information list;
and when the information in the first safety information list is consistent with the information in the second safety information list in a one-to-one correspondence manner, the electric automobile sends matching success information to the charging pile so as to enable the charging pile to start a charging control program.
Further, in the method for detecting charging safety of an electric vehicle, the step of using the safety information scanning script by the charging pile to execute safety scanning to obtain a second safety information list specifically includes:
the charging pile loads the safety information scanning script to a cache;
the charging pile calls a shell program of a local machine to execute the safety information scanning script;
the charging pile scans the file in the nonvolatile storage space of the charging pile according to the instruction configured by the safety information scanning script to acquire the attribute information of the file;
and the charging pile generates the second safety information list according to the attribute information of the file.
Further, in the above method for detecting charging safety of an electric vehicle, the first safety information list and the second safety information list include names, paths, modification dates, and hash values of files in a nonvolatile storage space of the charging pile, and the step of matching the first safety information list and the second safety information list by the electric vehicle specifically includes:
acquiring the number of files contained in the first safety information list and the second safety information list;
when the file quantity contained in the first safety information list is inconsistent with that contained in the second safety information list, outputting safety prompt information that the charging pile is unavailable;
when the number of the files contained in the first safety information list is consistent with that of the files contained in the second safety information list, matching the names, paths, modification dates and hash values of the files contained in the first safety information list and the second safety information list one by one;
when one or more attribute values in the name, the path, the modification date and the hash value of any file contained in the first safety information list and the second safety information list are inconsistent, outputting unavailable safety prompt information of the charging pile.
Further, in the above method for detecting charging safety of an electric vehicle, the charging pile establishes a communication connection with the cloud server through a wired communication module or a wireless communication module, and the method further includes:
after charging is finished, the charging pile acquires the payment state of the charging transaction from the cloud server;
when the payment state of the charging transaction is successful, the charging pile detects the connection state of a charging cable between the electric automobile and the charging pile in real time;
when the charging pile detects that the charging cable is disconnected with the charging pile, a charging pile resetting program is executed;
the charging pile downloads a reset data packet from the cloud server;
and the charging pile resets the files in the nonvolatile storage space of the charging pile by using the reset data packet.
Further, in the above method for detecting safety of electric vehicle charging, after the step of starting the charging control program by the charging pile, the method further includes:
the charging pile detects the file operation executed by the charging control program on the nonvolatile storage space of the machine in real time;
and when the operation type of the file operation is a new file or read-write, write-only or additional operation on an existing file in a nonvolatile storage space of the local computer, recording a corresponding file name, path and operation type to generate a file operation list.
Further, in the method for detecting charging safety of an electric vehicle, before the step of downloading the reset data packet from the cloud server by the charging pile, the method further includes:
generating a modified file list in units of files based on the file operation list, the modified file list including files already existing in a non-volatile storage space of a local computer and recorded in the file operation list before the charging control program is started;
and the charging pile sends the modified file list to the cloud server so that the cloud server generates the reset data packet according to the modified file list.
Further, in the above electric vehicle charging safety detection method, the step of generating, by the cloud server, the reset data packet according to the modified file list specifically includes:
reading first basic data corresponding to the files in the modified file list from a database;
acquiring current system time as a random seed to generate a random number;
writing the random number to a dynamic flag bit in the first base data to generate second base data;
generating a target file based on the second basic data;
acquiring the name, the path, the modification date and the hash value of the target file and writing the name, the path, the modification date and the hash value into a database;
and packaging the target file into the reset data packet to be sent to the charging pile.
Further, in the above method for detecting charging safety of an electric vehicle, the step of resetting the file in the nonvolatile storage space of the electric vehicle by using the reset data packet by the charging pile specifically includes:
scanning files in the file operation list;
acquiring process information associated with the files in the file operation list to generate an associated process list;
and when any process in the association process list is a system process, the charging pile executes system resetting, otherwise, the charging pile executes the system resetting.
Further, in the method for detecting charging safety of an electric vehicle, the step of resetting the system executed by the charging pile specifically includes:
the charging pile enters a minimum operation state, and the charging pile stops operating other processes except necessary processes required by the maintenance of the downloading service in the minimum operation state;
the charging pile and the cloud server download a system recovery mirror image;
after the system recovery mirror image is downloaded, restarting the charging pile to enter a system resetting state;
and the charging pile resets the files in the nonvolatile storage space of the charging pile by using the system mirror image.
Further, in the method for detecting charging safety of an electric vehicle, the step of executing the warm reset by the charging pile specifically includes:
stopping running the process in the associated process list;
deleting the file with the operation type of the new file in the file operation list;
decompressing the reset packet to write the target file in the reset packet to a temporary directory;
acquiring a target path of each target file;
and moving the target file to a corresponding target path to cover the original target file.
The invention provides a charging safety detection method of an electric automobile, wherein the electric automobile is in communication connection with a charging pile through a charging cable to obtain identity identification information of the charging pile, is in communication connection with a cloud server through a wireless communication module, downloads a safety information scanning script and a first safety information list of the charging pile from the cloud server, transmits the safety information scanning script to the charging pile through the charging cable so that the charging pile executes safety scanning by using the safety information scanning script to obtain a second safety information list, matches the first safety information list with the second safety information list, and sends matching success information to the charging pile to enable the charging pile to start a charging intrusion control program when information in the first safety information list is consistent with information in the second safety information list in a one-to-one correspondence mode, so that risk investigation can be performed on the charging pile, and the charging safety of the electric automobile is improved.
Drawings
Fig. 1 is a flowchart of a method for detecting charging safety of an electric vehicle according to an embodiment of the present invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced otherwise than as specifically described herein, and thus the scope of the present invention is not limited by the specific embodiments disclosed below.
In the description of the present invention, the terms "plurality" or "a plurality" refer to two or more, and unless otherwise specifically limited, the terms "upper", "lower", and the like indicate orientations or positional relationships based on orientations or positional relationships shown in the drawings, merely for convenience of description and simplification of description, and do not indicate or imply that the referenced devices or elements must have a particular orientation, be constructed in a particular orientation, and be operated, and thus, are not to be construed as limiting the present invention. The terms "connected," "mounted," "secured," and the like are to be construed broadly and include, for example, fixed connections, removable connections, or integral connections; may be directly connected or indirectly connected through an intermediate. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations. Furthermore, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first," "second," etc. may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless otherwise specified.
In the description of the specification, reference to "one embodiment," "some embodiments," "a specific embodiment," or the like, means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
An electric vehicle charging safety detection method according to some embodiments of the present invention is described below with reference to the accompanying drawings.
As shown in fig. 1, the present invention provides a method for detecting charging safety of an electric vehicle, including:
the electric automobile is in communication connection with the charging pile through a charging cable;
the electric automobile acquires the identity identification information of the charging pile from the charging pile;
the electric automobile establishes communication connection with the cloud server through the wireless communication module;
the electric automobile downloads a safety information scanning script and a first safety information list of the charging pile from the cloud server according to the identity identification information of the charging pile;
the electric automobile transmits the safety information scanning script to the charging pile through the charging cable, so that the charging pile executes safety scanning by using the safety information scanning script to obtain a second safety information list;
the electric automobile acquires the second safety information list from the charging pile;
the electric automobile matches the first safety information list with the second safety information list;
and when the information in the first safety information list is consistent with the information in the second safety information list in a one-to-one correspondence manner, the electric automobile sends matching success information to the charging pile so as to enable the charging pile to start a charging control program.
In some embodiments of the present invention, the first safety information list and the second safety information list are file lists in a nonvolatile storage space of the charging pile, including but not limited to executable program files, dynamic link library files, static link library files, data files, and the like on the charging pile, and the file lists include attribute information such as a name, a size, a modification date, and the like of each file. In some embodiments of the invention, the files in the file list do not include log files on the charging pole. When the number of files contained in the first safety information list and the second safety information list and the attribute information of each file are completely consistent, that is, the information of the first safety information list and the second safety information list is consistent in a one-to-one correspondence manner. After electric automobile every with fill electric pile and be connected, carry out safety scan to filling electric pile before beginning to charge, just begin to charge when confirming that fills electric pile does not have the potential safety hazard. When the first safety information list and the second safety information list are not in one-to-one correspondence, the file on the charging pile is changed, the charging pile has safety risks, and a user is prompted to replace the charging pile for charging or the charging pile is used after the charging pile is reset.
In some embodiments of the present invention, the step of using the security information scanning script by the charging pile to perform security scanning to obtain the second security information list specifically includes:
the charging pile loads the safety information scanning script to a cache;
the charging pile calls a shell program of a local machine to execute the safety information scanning script;
the charging pile scans the file in the nonvolatile storage space of the charging pile according to the instruction configured by the safety information scanning script to acquire the attribute information of the file;
and the charging pile generates the second safety information list according to the attribute information of the file.
In other embodiments of the present invention, the step of using the security information scanning script by the charging pile to perform security scanning to obtain the second security information list specifically includes:
the electric automobile acquires an account number and a login key of a root user of the charging pile from the cloud server;
the electric automobile is connected with the charging pile through an SSH (Secure Shell) protocol according to the account number and the login key of the root user;
the electric automobile sends the safety information scanning script to the charging pile through SSH for execution;
and the electric automobile acquires the second safety information list generated by the charging pile executing the full information sending scanning script.
In the above method for detecting charging safety of an electric vehicle, the first safety information list and the second safety information list include names, paths, modification dates, and hash values of files in a nonvolatile storage space of the charging pile, and the step of matching the first safety information list with the second safety information list by the electric vehicle specifically includes:
acquiring the number of files contained in the first safety information list and the second safety information list;
when the file quantity contained in the first safety information list is inconsistent with that contained in the second safety information list, outputting safety prompt information that the charging pile is unavailable;
when the number of the files contained in the first safety information list is consistent with that of the files contained in the second safety information list, matching the names, paths, modification dates and hash values of the files contained in the first safety information list and the second safety information list one by one;
and when one or more attribute values of the name, the path, the modification date and the hash value of any file contained in the first safety information list and the second safety information list are inconsistent, outputting unavailable safety prompt information of the charging pile.
In the above method for detecting charging safety of an electric vehicle, the charging pile establishes a communication connection with the cloud server through a wired communication module or a wireless communication module, and the method further includes:
after charging is finished, the charging pile acquires the payment state of the charging transaction from the cloud server;
when the payment state of the charging transaction is successful, the charging pile detects the connection state of a charging cable between the electric automobile and the charging pile in real time;
when the charging pile detects that the charging cable is disconnected with the charging pile, a charging pile resetting program is executed;
the charging pile downloads a reset data packet from the cloud server;
and the charging pile resets the files in the nonvolatile storage space of the charging pile by using the reset data packet.
Because charging data and transaction data all can upload and store on the cloud ware, need not to remain any data record on filling electric pile for a long time, consequently charge at every turn and reset filling electric pile and can not influence the normal use that fills electric pile. By adopting the technical scheme of the embodiment, after the charging pile executes resetting every time, the files in the nonvolatile storage space of the charging pile are restored to the initial state before use, and the security information data of the files in the initial state are stored in the cloud server. After each reset is executed and before the electric automobile is connected with the charging pile for charging next time, if files on the charging pile comprise executable program files, dynamic link library files, static link library files or data files and the like which are maliciously distorted, for example, an attacker replaces the charging program files on the charging pile with cracked or modified files, or places a trojan program and the like on the charging pile, the second safety information list obtained by the charging pile through executing safety scanning by using the safety information scanning script is inconsistent with the first safety information list provided by the cloud server, so that the safety problem can be timely found, and the electric automobile is prevented from being attacked during charging.
In the above method for detecting charging safety of an electric vehicle, after the step of matching the first safety information list with the second safety information list by the electric vehicle, the method further includes:
and when the information in the first safety information list is inconsistent with the information in the second safety information list, the electric automobile sends matching failure information to the charging pile.
In the above method for detecting charging safety of an electric vehicle, after the step of sending matching failure information to the charging pile by the electric vehicle, the method further includes:
after receiving the matching failure information, the charging pile executes a charging pile resetting program;
the charging pile downloads a reset data packet from the cloud server;
and the charging pile resets the files in the nonvolatile storage space of the charging pile by using the reset data packet.
By adopting the technical scheme of the embodiment, when the information in the first safety information list is inconsistent with the information in the second safety information list, the electric automobile sends matching failure information to the charging pile. In this case, after the charging post is reset last time, there is a possibility of being attacked and falsified before the security information scanning is performed this time, and the charging operation may be performed after the charging post is reset again.
In some embodiments of the present invention, after the step of starting the charging control program by the charging pile, the method further includes:
the charging pile detects the file operation executed by the charging control program on the nonvolatile storage space of the machine in real time;
and when the operation type of the file operation is a new file or read-write, write-only or additional operation on an existing file in a nonvolatile storage space of the local computer, recording a corresponding file name, path and operation type to generate a file operation list.
In other embodiments of the present invention, after the step of starting the charging control program by the charging pile, the method further includes:
the charging pile detects file operation executed by any program on a nonvolatile storage space of the charging pile in real time;
and when the operation type of the file operation is a new file or read-write, write-only or additional operation on an existing file in a nonvolatile storage space of the local computer, recording a corresponding file name, path and operation type to generate a file operation list.
In the technical scheme of the above embodiment, only the writing operation of the application program or the service program to the file in the nonvolatile storage space of the charging pile, i.e. the new file, the writing only, the reading and writing or the adding operation, is recorded in the file operation list, and the read-only operation of the application program or the service program to the file in the nonvolatile storage space of the charging pile is not required to be recorded.
In some embodiments of the invention, the programs on the charging post other than the charging control program and the transaction service program are configured to have read-only rights to files in the non-volatile storage space of the charging post.
In the above method for detecting safety of electric vehicle charging, before the step of downloading a reset data packet from the cloud server by the charging pile, the method further includes:
generating a modified file list in units of files based on the file operation list, the modified file list including files already existing in a local nonvolatile storage space and recorded in the file operation list before the charging control program is started;
and the charging pile sends the modified file list to the cloud server so that the cloud server generates the reset data packet according to the modified file list.
Specifically, the file operation list is recorded in units of operation events such as file read operations, file write operations, and the like, and each time an operation record is generated by detecting an operation event, the same file may be operated by one or more programs for multiple times, so as to generate multiple operation records in the file operation list. The modified file list is generated by taking files as a unit, namely each file corresponds to one record in the modified file list.
In the above method for detecting charging safety of an electric vehicle, the step of generating the reset data packet by the cloud server according to the modified file list specifically includes:
reading first basic data corresponding to the files in the modified file list from a database;
acquiring current system time as a random seed to generate a random number;
writing the random number to a dynamic flag bit in the first base data to generate second base data;
generating a target file based on the second basic data;
acquiring the name, the path, the modification date and the hash value of the target file and writing the name, the path, the modification date and the hash value into a database;
and packaging the target file into the reset data packet to be sent to the charging pile.
Specifically, the first basic data is source code data corresponding to a file in a nonvolatile storage space of the charging pile or metadata stored in a database. The dynamic flag bit is a specific position in the first basic data that is configured in advance, for example, when a file in the modified file list is an executable program file, the corresponding first basic data is source code data of the executable program file, the dynamic flag bit is a certain line in the source code data, after the cloud server generates a random number, the random number is inserted into the position of the corresponding line of the source code data in an annotation manner, and then the source code data is compiled to obtain an object file of the executable program file. After the cloud server generates the target file, the name, the path, the modification date and the hash value of the target file are read and written into a database, and when the electric automobile is connected with the cloud server, the data are read from the database to generate a first safety information list.
In the above method for detecting charging safety of an electric vehicle, the step of resetting the file in the nonvolatile storage space of the electric vehicle by using the reset data packet by the charging pile specifically includes:
scanning files in the file operation list;
acquiring process information associated with the files in the file operation list to generate an associated process list;
and when any process in the association process list is a system process, the charging pile executes system resetting, otherwise, the charging pile executes the system resetting.
Specifically, the process information associated with the file refers to information such as a name and a program path of a process that has performed a write operation on the file in the nonvolatile storage space of the charging pile and is in a running state, and when the file itself on which the write operation is performed is an executable program file, the process information associated with the file refers to information such as a name and a program path of a process generated by executing the executable program file. The system process refers to a process providing basic functions of the system, such as a memory management process, an input/output management process, and a load balancing process kernel process, and the system process cannot be closed or the closing of the system process causes system crash, or cannot run normally, or cannot be used.
In the above method for detecting charging safety of an electric vehicle, the step of resetting the charging pile execution system specifically includes:
the charging pile enters a minimum operation state, and the charging pile stops operating other processes except necessary processes required by the maintenance of the downloading service in the minimum operation state;
the charging pile and the cloud server download a system recovery mirror image;
after the system recovery mirror image is downloaded, restarting the charging pile to enter a system resetting state;
and the charging pile resets the files in the nonvolatile storage space of the charging pile by using the system mirror image.
Specifically, when a file to be reset is locked by a system process, directly closing the system process may cause system crash, abnormal operation or non-use, and in a severe case, the system file may be damaged, or even a hardware facility may be damaged. By adopting the technical scheme of the implementation mode, when the association process list contains the system process, the charging pile system is possibly invaded and distorted greatly, the complete system recovery mirror image of the charging pile system is downloaded from the cloud server to reset the charging pile comprehensively, the influence caused by the distortion of the system process can be eliminated completely, and the safety of the charging pile is improved.
In the above method for detecting charging safety of an electric vehicle, the step of executing the warm reset by the charging pile specifically includes:
stopping running the process in the associated process list;
deleting the file with the operation type of the new file in the file operation list;
decompressing the reset packet to write the target file in the reset packet to a temporary directory;
acquiring a target path of each target file;
and moving the target file to a corresponding target path to cover the original target file.
Specifically, the hot reset is that the covered reset operation is directly executed on the file to be reset under the condition that the system is not restarted, and when the file to be reset does not relate to the system process, a hot reset scheme can be adopted to improve the reset efficiency.
In the above method for detecting charging safety of an electric vehicle, after the step of moving the target file to the corresponding target path to cover the original target file, the method further includes:
determining necessary processes for realizing the basic functions of the charging pile in a standby state from the associated process list;
the necessary processes are restarted.
The basic functions of the charging pile comprise a user interaction function, a communication function, a time synchronization function, a payment function and the like, and the necessary processes for realizing the basic functions of the charging pile comprise a user interaction application process for providing a user interaction interface, a time synchronization process for providing a time synchronization service, a communication management process for providing a communication service, a payment application process for providing a payment service and the like. Since not all processes in the associated process list are essential processes, even some processes may be Trojan horse processes, only the essential processes that are shut down are restarted after the warm reset is performed, not all processes in the associated process list.
The invention provides a charging safety detection method of an electric automobile, wherein the electric automobile is in communication connection with a charging pile through a charging cable to obtain identity identification information of the charging pile, is in communication connection with a cloud server through a wireless communication module, downloads a safety information scanning script and a first safety information list of the charging pile from the cloud server, transmits the safety information scanning script to the charging pile through the charging cable so that the charging pile executes safety scanning by using the safety information scanning script to obtain a second safety information list, matches the first safety information list with the second safety information list, and sends matching success information to the charging pile to enable the charging pile to start a charging intrusion control program when information in the first safety information list is consistent with information in the second safety information list in a one-to-one correspondence mode, so that risk investigation can be performed on the charging pile, and the charging safety of the electric automobile is improved.
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. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
While embodiments in accordance with the invention have been described above, these embodiments are not intended to be exhaustive or to limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best utilize the invention and various embodiments with various modifications as are suited to the particular use contemplated. The invention is limited only by the claims and their full scope and equivalents.

Claims (10)

1. The electric vehicle charging safety detection method is characterized by comprising the following steps:
the electric automobile is in communication connection with the charging pile through a charging cable;
the electric automobile acquires the identity identification information of the charging pile from the charging pile;
the electric automobile establishes communication connection with the cloud server through the wireless communication module;
the electric automobile downloads a safety information scanning script and a first safety information list of the charging pile from the cloud server according to the identity identification information of the charging pile;
the electric automobile transmits the safety information scanning script to the charging pile through the charging cable, so that the charging pile executes safety scanning by using the safety information scanning script to obtain a second safety information list;
the electric automobile acquires the second safety information list from the charging pile;
the electric automobile matches the first safety information list with the second safety information list;
and when the information in the first safety information list is consistent with the information in the second safety information list in a one-to-one correspondence manner, the electric automobile sends matching success information to the charging pile so as to enable the charging pile to start a charging control program.
2. The electric vehicle charging safety detection method according to claim 1, wherein the step of using the safety information scanning script by the charging pile to perform safety scanning to obtain a second safety information list specifically comprises:
the charging pile loads the safety information scanning script to a cache;
the charging pile calls a shell program of a local machine to execute the safety information scanning script;
the charging pile scans the file in the nonvolatile storage space of the charging pile according to the instruction configured by the safety information scanning script to acquire the attribute information of the file;
and the charging pile generates the second safety information list according to the attribute information of the file.
3. The electric vehicle charging safety detection method according to claim 2, wherein the first safety information list and the second safety information list include names, paths, modification dates and hash values of files in a nonvolatile storage space of the charging pile, and the step of matching the first safety information list with the second safety information list by the electric vehicle specifically includes:
acquiring the number of files contained in the first safety information list and the second safety information list;
when the file quantity contained in the first safety information list is inconsistent with that contained in the second safety information list, outputting safety prompt information that the charging pile is unavailable;
when the number of the files contained in the first safety information list is consistent with that of the files contained in the second safety information list, matching the names, paths, modification dates and hash values of the files contained in the first safety information list and the second safety information list one by one;
and when one or more attribute values of the name, the path, the modification date and the hash value of any file contained in the first safety information list and the second safety information list are inconsistent, outputting unavailable safety prompt information of the charging pile.
4. The electric vehicle charging safety detection method according to any one of claims 1 to 3, wherein the charging pile establishes a communication connection with the cloud server through a wired communication module or a wireless communication module, and the method further comprises:
after charging is finished, the charging pile acquires the payment state of the charging transaction from the cloud server;
when the payment state of the charging transaction is successful, the charging pile detects the connection state of a charging cable between the electric automobile and the charging pile in real time;
when the charging pile detects that the charging cable is disconnected from the charging pile, a charging pile resetting program is executed;
the charging pile downloads a reset data packet from the cloud server;
and the charging pile resets the files in the nonvolatile storage space of the charging pile by using the reset data packet.
5. The electric vehicle charging safety detection method according to claim 4, further comprising, after the step of starting the charging control program by the charging pile:
the charging pile detects the file operation executed by the charging control program on the nonvolatile storage space of the machine in real time;
and when the operation type of the file operation is a new file or read-write, write-only or additional operation on an existing file in a nonvolatile storage space of the local computer, recording a corresponding file name, path and operation type to generate a file operation list.
6. The electric vehicle charging safety detection method according to claim 5, further comprising, before the step of downloading a reset data packet from the cloud server by the charging pile:
generating a modified file list in units of files based on the file operation list, the modified file list including files already existing in a non-volatile storage space of a local computer and recorded in the file operation list before the charging control program is started;
and the charging pile sends the modified file list to the cloud server so that the cloud server generates the reset data packet according to the modified file list.
7. The electric vehicle charging safety detection method according to claim 6, wherein the step of generating the reset data packet by the cloud server according to the modified file list specifically comprises:
reading first basic data corresponding to the files in the modified file list from a database;
acquiring current system time as a random seed to generate a random number;
writing the random number to a dynamic flag bit in the first base data to generate second base data;
generating a target file based on the second basic data;
acquiring the name, the path, the modification date and the hash value of the target file and writing the name, the path, the modification date and the hash value into a database;
and packaging the target file into the reset data packet to be sent to the charging pile.
8. The electric vehicle charging safety detection method according to any one of claims 5 to 7, wherein the step of resetting the file in the nonvolatile storage space of the charging pile by using the reset data packet specifically comprises:
scanning files in the file operation list;
acquiring process information associated with the files in the file operation list to generate an associated process list;
when any process in the association process list is a system process, the charging pile executes system reset, otherwise, the charging pile executes the system reset.
9. The electric vehicle charging safety detection method according to claim 8, wherein the step of executing system reset by the charging pile specifically comprises:
the charging pile enters a minimum operation state, and the charging pile stops operating other processes except necessary processes required by the maintenance of the downloading service in the minimum operation state;
the charging pile and the cloud server download a system recovery mirror image;
after the system recovery mirror image is downloaded, restarting the charging pile to enter a system resetting state;
and the charging pile resets the files in the nonvolatile storage space of the charging pile by using the system mirror image.
10. The electric vehicle charging safety detection method according to claim 8, wherein the step of executing the warm reset by the charging pile specifically comprises:
stopping running the process in the associated process list;
deleting the file with the operation type of the new file in the file operation list;
decompressing the reset packet to write the target file in the reset packet to a temporary directory;
acquiring a target path of each target file;
and moving the target file to a corresponding target path to cover the original target file.
CN202211538229.1A 2022-12-01 2022-12-01 Electric automobile charging safety detection method Active CN115859387B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211538229.1A CN115859387B (en) 2022-12-01 2022-12-01 Electric automobile charging safety detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211538229.1A CN115859387B (en) 2022-12-01 2022-12-01 Electric automobile charging safety detection method

Publications (2)

Publication Number Publication Date
CN115859387A true CN115859387A (en) 2023-03-28
CN115859387B CN115859387B (en) 2024-04-09

Family

ID=85669304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211538229.1A Active CN115859387B (en) 2022-12-01 2022-12-01 Electric automobile charging safety detection method

Country Status (1)

Country Link
CN (1) CN115859387B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015081105A1 (en) * 2013-11-26 2015-06-04 Kaprica Security, Inc. Secure charger with malware scanner
CN108327567A (en) * 2018-03-28 2018-07-27 徐州市恒源电器有限公司 A kind of intelligent electric vapour charging pile client connection system
CN111049830A (en) * 2019-12-13 2020-04-21 重庆国翰能源发展有限公司 Data information leakage prevention method for charging pile
CN111516540A (en) * 2020-05-11 2020-08-11 浙江潮城互联网科技有限公司 Safety protection system of charging pile
CN112874355A (en) * 2021-02-01 2021-06-01 开迈斯新能源科技有限公司 Identity recognition method and system for alternating current charging pile and storage medium
CN113810403A (en) * 2021-09-15 2021-12-17 国网湖北省电力有限公司恩施供电公司 Charging pile vulnerability detection method and detection device based on communication protocol
CN114092271A (en) * 2021-07-26 2022-02-25 上海和数软件有限公司 New energy charging pile user management method and system based on block chain
EP3967546A1 (en) * 2020-09-11 2022-03-16 Siemens Aktiengesellschaft Operating method for a charging station
CN115102775A (en) * 2022-07-04 2022-09-23 蔚来汽车科技(安徽)有限公司 Charging pile risk detection method, device and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015081105A1 (en) * 2013-11-26 2015-06-04 Kaprica Security, Inc. Secure charger with malware scanner
CN108327567A (en) * 2018-03-28 2018-07-27 徐州市恒源电器有限公司 A kind of intelligent electric vapour charging pile client connection system
CN111049830A (en) * 2019-12-13 2020-04-21 重庆国翰能源发展有限公司 Data information leakage prevention method for charging pile
CN111516540A (en) * 2020-05-11 2020-08-11 浙江潮城互联网科技有限公司 Safety protection system of charging pile
EP3967546A1 (en) * 2020-09-11 2022-03-16 Siemens Aktiengesellschaft Operating method for a charging station
CN112874355A (en) * 2021-02-01 2021-06-01 开迈斯新能源科技有限公司 Identity recognition method and system for alternating current charging pile and storage medium
CN114092271A (en) * 2021-07-26 2022-02-25 上海和数软件有限公司 New energy charging pile user management method and system based on block chain
CN113810403A (en) * 2021-09-15 2021-12-17 国网湖北省电力有限公司恩施供电公司 Charging pile vulnerability detection method and detection device based on communication protocol
CN115102775A (en) * 2022-07-04 2022-09-23 蔚来汽车科技(安徽)有限公司 Charging pile risk detection method, device and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LIU, T: "Activated Carbon Fiber Paper Based Electrodes with High Electrocatalytic Activity for Vanadium Flow Batteries with Improved Power Density", ACS APPLIED MATERIALS & INTERFACES, vol. 9, no. 5, 22 March 2017 (2017-03-22), pages 4626 - 4633 *
王伟贤;朱洁;田贺平;陈振;袁小溪;: "电动汽车充电桩-后台服务管理中心信息安全防护方案设计与实现", 电力建设, no. 05, pages 59 - 66 *

Also Published As

Publication number Publication date
CN115859387B (en) 2024-04-09

Similar Documents

Publication Publication Date Title
CN104573525B (en) A kind of specific information service software leak repair system based on white list
US9229706B2 (en) Method and apparatus for field firmware updates in data storage systems
JP4980064B2 (en) Method for differentially updating data stored in portable terminal from first data version to updated data version, portable terminal and computer program
CN107733847B (en) Method and device for platform login website, computer equipment and readable storage medium
US20020052939A1 (en) System and method for online data recovery service
CN101213557B (en) Anti-hack protection to restrict installation of operating systems and other software
US9442833B1 (en) Managing device identity
CN102841824B (en) Rollback method and rollback device
CN105549996B (en) Application program updating method of mobile terminal and mobile terminal
CN113961936A (en) Trusted white list construction method, system and device and computer equipment
CN108322458B (en) Web application intrusion detection method, system, computer equipment and storage medium
CN106529281A (en) Executable file processing method and device
CN115859387B (en) Electric automobile charging safety detection method
CN111538566A (en) Mirror image file processing method, device and system, electronic equipment and storage medium
CN112732676B (en) Block chain-based data migration method, device, equipment and storage medium
CN113948164A (en) Clinical medicine management method, device, equipment and computer readable storage medium
EP2370926B1 (en) Extensible activation exploit scanner
CN108259609A (en) The management method and Cloud Server of a kind of family high in the clouds data
CN103634351B (en) Control the method and system of network application operation
CN113553231B (en) Embedded operating system running environment monitoring method based on security chip
CN115629721B (en) Data processing method and platform suitable for data migration
CN104426894A (en) Registration method of terminal application, business platform equipment and terminal
CN111835783B (en) Data retrieval method and device and computer equipment
CN114489008B (en) Vehicle system firmware safety protection method and device and computer equipment
CN117215602A (en) Method, device, computer equipment and storage medium for updating drive program

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