Vehicle charging amount data processing system, method, electronic device, and storage medium

By adding noise and encrypting the charging data at the vehicle end, and then summing and decrypting it in the cloud, the problem of easy leakage of electric vehicle charging data is solved, and data security and statistical accuracy are achieved.

CN116545690BActive Publication Date: 2026-06-19Z-ONE TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Z-ONE TECH CO LTD
Filing Date
2023-05-04
Publication Date
2026-06-19

Smart Images

  • Figure CN116545690B_ABST
    Figure CN116545690B_ABST
Patent Text Reader

Abstract

This invention provides a vehicle charging data processing system, method, electronic device, and storage medium. The system includes: collecting charging data generated by the vehicle within a preset time period; the charging data consisting of a charging area code and the charging amount; the vehicle sequentially performing noise addition and encryption processing on the charging data to obtain encrypted charging data; the vehicle uploading the encrypted charging data to the cloud; and the cloud summing and decrypting the encrypted charging data of all vehicles within each charging area based on the charging area code of each vehicle, obtaining the cumulative charging amount for each charging area within the preset time period. This invention improves the security of vehicle charging data and avoids the risk of data leakage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a vehicle charging data processing system, method, electronic device and storage medium. Background Technology

[0002] With the advancement of automotive technology, electric vehicles have become a new type of green transportation. Electric vehicles generally need to be charged at charging stations or charging piles, which are distributed in various cities, districts, towns, streets, and other areas.

[0003] To statistically analyze the charging volume of electric vehicles in different regions, current technologies primarily acquire data such as vehicle GPS signals, charging signals, and changes in vehicle State of Charge (SOC). This data is then uploaded to the cloud for processing to obtain the final charging volume for each region. However, charging volume data such as vehicle GPS signals, charging signals, and changes in vehicle SOC are considered user privacy data, and uploading them to the cloud can easily lead to data leakage risks, resulting in low data security. Summary of the Invention

[0004] In view of this, embodiments of the present invention provide a vehicle charging data processing system, method, electronic device, and storage medium to at least solve the above-mentioned problems.

[0005] According to a first aspect of the present invention, a vehicle charging data processing system is provided. The system includes a vehicle collecting charging data generated within a preset time period, the charging data consisting of a charging area code and a charging amount; the vehicle sequentially performing noise addition and encryption processing on the charging data to obtain encrypted charging data; the vehicle uploading the encrypted charging data to a cloud; and the cloud, based on the respective charging area codes of all vehicles, summing and decrypting the encrypted charging data of all vehicles in each charging area to obtain the cumulative charging amount of each charging area within the preset time period.

[0006] In one implementation, the vehicle charging data processing system includes the vehicle dividing multiple charging areas according to the geographical location of the charging piles; the vehicle assigning numbers to the multiple charging areas to obtain the charging area codes.

[0007] In another implementation, the charging data is generated as follows: the vehicle determines the charging area and charging area code based on the vehicle charging signal and positioning signal; the change in SOC and / or other battery values ​​before and after charging is calculated to obtain the charging amount of the vehicle; the charging area code and the charging amount are concatenated to obtain the charging data.

[0008] In another implementation, the vehicle sequentially performs noise addition and encryption processing on the charging amount data to obtain encrypted charging amount data, including: the vehicle adding noise to the charging amount data using a local differential privacy algorithm to obtain noisy charging amount data; and the vehicle encrypting the noisy charging amount data using a homomorphic encryption algorithm to obtain the encrypted charging amount data.

[0009] In another implementation, the vehicle adds noise to the charging amount data using a local differential privacy algorithm to obtain noisy charging amount data. This includes: the cloud sending a perturbation function of the local differential privacy algorithm; the vehicle acquiring the perturbation function and adding noise to the charging amount in the charging amount data according to the perturbation function to obtain noisy charging amount; and the vehicle concatenating the charging area code in the charging amount data with the noisy charging amount to obtain the noisy charging amount data.

[0010] In another implementation, the vehicle encrypts the noisy charging amount data using a homomorphic encryption algorithm to obtain the encrypted charging amount data. This includes: the cloud sending a key function for the homomorphic encryption algorithm; the vehicle obtaining the key function and encrypting the noisy charging amount in the noisy charging amount data according to the key function to obtain the encrypted charging amount; and the vehicle concatenating the charging area code in the noisy charging amount data with the encrypted charging amount to obtain the encrypted charging amount data.

[0011] In another implementation, the vehicle charging data processing system includes the cloud-based deletion of the timestamp generated by uploading the encrypted charging data and the vehicle identification numbers of all vehicles.

[0012] According to a second aspect of the present invention, a method for processing vehicle charging data is provided, comprising: collecting charging data generated within a preset time period, the charging data consisting of a charging area code and a charging amount; sequentially performing noise addition and encryption processing on the charging data to obtain encrypted charging data; uploading the encrypted charging data to a cloud; and summing and decrypting the encrypted charging data of all vehicles in each charging area based on the respective charging area code of each vehicle to obtain the cumulative charging amount of each charging area within the preset time period.

[0013] According to a third aspect of the present invention, an electronic device is provided, including a processor and a memory storing a program. The program includes instructions that, when executed by the processor, cause the processor to perform steps as described in the first aspect, such as those performed by a vehicle or the cloud.

[0014] According to a fourth aspect of the present invention, a computer storage medium is provided having a computer program stored thereon, which, when executed by a processor, performs the steps performed by a vehicle or cloud as described in the first aspect.

[0015] In summary, the present invention provides a vehicle charging data processing system. This system collects charging data from vehicles and performs noise addition and encryption on the data, improving the security of the charging data and avoiding the risk of data leakage when the charging data is uploaded to the cloud. Furthermore, by summing and decrypting the encrypted charging data from each charging area in the cloud, the system achieves statistical analysis of the cumulative charging amount in each charging area. The present invention further ensures the security of the charging data when calculating the cumulative charging amount in each charging area, avoiding the risk of data leakage. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings.

[0017] Figure 1 This is a schematic diagram of a vehicle charging data processing system according to an embodiment of the present invention.

[0018] Figure 2 This is a flowchart illustrating the steps of a vehicle charging data processing method according to another embodiment of the present invention.

[0019] Figure 3 This is a schematic diagram of the structure of an electronic device according to another embodiment of the present invention. Detailed Implementation

[0020] To provide a clearer understanding of the technical features, objectives, and effects of the embodiments of the present invention, specific implementation methods of the embodiments of the present invention will now be described with reference to the accompanying drawings.

[0021] In this document, “illustrative” means “serving as an example, illustration or description”, and any illustration or implementation described herein as “illustrative” should not be construed as a more preferred or advantageous technical solution.

[0022] To keep the drawings concise, only the parts relevant to the invention are shown schematically in each figure, and they do not represent the actual structure of the product. Furthermore, for ease of understanding, some figures show only one or more components with the same structure or function, or only one or more are labeled.

[0023] To enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art should fall within the protection scope of the present invention.

[0024] The specific implementation of the embodiments of the present invention will be further described below with reference to the accompanying drawings.

[0025] Figure 1 This is a schematic diagram illustrating a scenario of a vehicle charging data processing system 100 according to an embodiment of the present invention.

[0026] like Figure 1 As shown, the vehicle charging data processing system 100 includes vehicles 101 and a cloud platform 102. There can be multiple vehicles 101, and correspondingly, multiple sets of charging data can be generated. Vehicles 101 collect charging data generated within a preset time period. The charging data consists of a charging area code and the charging amount.

[0027] It should be understood that there are multiple vehicles 101, and each vehicle only collects the charging amount data generated by its own vehicle within a preset time period, without collecting the charging amount data of other vehicles besides its own vehicle.

[0028] It should also be understood that the charging area where the vehicle is located can be determined based on the charging area code in the charging data.

[0029] It should also be understood that since a vehicle may be charged more than once within a preset time period, if a vehicle is charged multiple times in the same charging area within a preset time period, the charging amount collected for that vehicle within the preset time period is the sum of the charging amounts from the multiple charging sessions.

[0030] For example, within a preset time period, such as from 11:00 AM to 6:00 PM, a vehicle is charged twice in the first charging area (charging area code D1). The first charge is 70 and the second charge is 10. Then, the total charge of the vehicle in D1 during this period is the sum of the first and second charge: 80. The collected charging data of the vehicle is {"D1", 80}.

[0031] It should also be understood that if a vehicle does not charge in a certain charging area within a preset time period, the charging amount in the vehicle's charging data will be 0.

[0032] For example, if a vehicle is parked in the second charging area (charging area code D2) and not charging within a preset time period, such as from 9:00 AM to 11:00 AM, then the charging amount generated by the vehicle is 0, and the charging area code is D2. Therefore, the charging amount data collected for the vehicle from 9:00 AM to 11:00 AM is {"D2", 0}.

[0033] The vehicle sequentially performs noise enhancement and encryption processing on the charging data to obtain encrypted charging data. The encrypted charging data obtained through this method has high security, avoiding the risk of data leakage.

[0034] As another example, within a preset time period, such as from 11:00 AM to 6:00 PM, a total of four vehicles—Vehicle 1, Vehicle 2, Vehicle 3, and Vehicle 4—were charged in the second charging area (charger code D2), the third charging area (charger code D3), and the thirteenth charging area (charger code D13), respectively. Vehicle 1 and Vehicle 4 were both charged in the third charging area. Vehicle 2 was charged in the second charging area. Vehicle 3 was charged in the thirteenth charging area. Vehicle 1's charge was 50, Vehicle 2's charge was 30, Vehicle 3's charge was 60, and Vehicle 4 underwent two charging sessions: the first charge was 35, and the second charge was 55, resulting in a total charge of 90 for Vehicle 4.

[0035] Between 11:00 AM and 6:00 PM, the charging data collected by the first vehicle is {"D3": 50}. The charging data collected by the second vehicle is {"D2": 30}. The charging data collected by the third vehicle is {"D13": 60}. The charging data collected by the fourth vehicle is {"D3": 90}. These four sets of charging data are first noise-added to obtain: {"D3": 43}, {"D2": 5}, {"D13": 73}, {"D3": 14}. Then, they are encrypted to obtain the final encrypted charging data: {"D3": 103}, {"D2": 72}, {"D13": 31}, {"D3": 54}.

[0036] By adding noise and encrypting the charging data, it becomes impossible to deduce the true charging data of the vehicle from the final encrypted charging data, thus avoiding the risk of data leakage and improving the data security of the charging data.

[0037] The vehicle uploads encrypted charging data to the cloud.

[0038] Specifically, vehicle 101 uploads encrypted charging data to cloud 102 via 3G / 4G / 5G network.

[0039] Based on the individual charging area codes of all vehicles, the cloud platform sums and decrypts the encrypted charging data of all vehicles in each charging area to obtain the cumulative charging amount of each charging area within a preset time period.

[0040] In summary, the present invention provides a vehicle charging data processing system. This system collects charging data from vehicles and performs noise addition and encryption on the data, improving the security of the charging data and avoiding the risk of data leakage when the charging data is uploaded to the cloud. Furthermore, by summing and decrypting the encrypted charging data from each charging area in the cloud, the system achieves statistical analysis of the cumulative charging amount in each charging area. The present invention further ensures the security of the charging data when calculating the cumulative charging amount in each charging area, avoiding the risk of data leakage.

[0041] In one implementation, the vehicle charging data processing system includes dividing the vehicle into multiple charging areas based on the geographical location of the charging piles; the vehicle assigns numbers to the multiple charging areas to obtain charging area codes.

[0042] It should be understood that when a vehicle is divided into multiple charging areas based on the geographical location of the charging station, the granularity of the division (including but not limited to city, district, town, street, etc.) can be determined in combination with the business scenario, and no specific limitation is made here.

[0043] In another implementation, the charging data is generated as follows: the vehicle determines the charging area and its code based on the vehicle charging signal and location signal; the change in SOC and / or other battery values ​​before and after charging is calculated to obtain the vehicle's charging amount; the charging area code and the charging amount are then concatenated to obtain the charging data.

[0044] It should be understood that SOC stands for State of Charge, indicating the amount of charge in the battery. The positioning signal can be a GPS signal received by a signal receiver installed on the vehicle, such as a GPS receiver.

[0045] In another implementation, the vehicle sequentially adds noise and encrypts the charging data to obtain encrypted charging data. This includes: the vehicle adding noise to the charging data using a local differential privacy algorithm to obtain noisy charging data; and the vehicle encrypting the noisy charging data using a homomorphic encryption algorithm to obtain encrypted charging data.

[0046] In another implementation, the vehicle adds noise to the charging data using a local differential privacy algorithm to obtain noisy charging data. This includes: sending a perturbation function of the local differential privacy algorithm to the cloud; the vehicle acquiring the perturbation function and adding noise to the charging data based on the perturbation function to obtain noisy charging data; and the vehicle concatenating the charging area code in the charging data with the noisy charging data to obtain noisy charging data.

[0047] Specifically, the cloud first sends a perturbation function of the local differential privacy algorithm to the vehicle via a 3G / 4G / 5G network.

[0048] Secondly, the vehicle obtains the disturbance function.

[0049] Then, the vehicle adds noise to the charging data according to the disturbance function to obtain the noisy charging data.

[0050] Finally, the vehicle splices the charging area code and the noisy charging amount in the charging amount data to obtain the noisy charging amount data.

[0051] It should be understood that the local differential privacy algorithm in this embodiment of the invention is not limited to a specific perturbation function, but can be selected in combination with data distribution and attribute type.

[0052] It should also be understood that the same perturbation function is used for different vehicles within the same charging area, while different perturbation functions are used for different charging areas.

[0053] In another implementation, the vehicle encrypts the noisy charging quantity data using a homomorphic encryption algorithm to obtain encrypted charging quantity data. This includes: the cloud sending a key function for the homomorphic encryption algorithm; the vehicle obtaining the key function and encrypting the noisy charging quantity in the noisy charging quantity data according to the key function to obtain encrypted charging quantity; and the vehicle concatenating the charging area code in the noisy charging quantity data with the encrypted charging quantity to obtain encrypted charging quantity data.

[0054] Specifically, the cloud first sends the key function to the vehicle via a 3G / 4G / 5G network.

[0055] Specifically, the cloud first sends the key function of the homomorphic encryption algorithm to the vehicle via a 3G / 4G / 5G network.

[0056] Secondly, the vehicle key acquisition function.

[0057] Then, the vehicle encrypts the noisy charging amount in the noisy charging amount data according to the key function to obtain the encrypted charging amount.

[0058] Finally, the vehicle splices the charging area code and encrypted charging amount in the noisy charging amount data to obtain encrypted charging amount data.

[0059] It should be understood that the homomorphic encryption algorithm in this embodiment of the invention is not limited to a specific encryption method, and can be selected according to the business scenario.

[0060] It should also be understood that the same key function is used for different vehicles within the same charging area, while different key functions are used for different charging areas. This further enhances the security of charging data and avoids the risk of data leakage.

[0061] In another implementation, the vehicle charging data processing system includes uploading encrypted charging data to the cloud with a timestamp and deleting the vehicle identification numbers of all vehicles.

[0062] For example, before summing the encrypted charging data of all vehicles in each charging area based on the charging area code of each vehicle in the cloud, the cloud can delete the timestamp generated by uploading the encrypted charging data and the vehicle identification number of all vehicles, further avoiding the risk of data leakage and improving data security.

[0063] In summary, the present invention provides a vehicle charging data processing system. This system collects charging data from vehicles and performs noise addition and encryption on the data, improving the security of the charging data and avoiding the risk of data leakage when the charging data is uploaded to the cloud. Furthermore, by summing and decrypting the encrypted charging data from each charging area in the cloud, the system achieves statistical analysis of the cumulative charging amount in each charging area. The present invention further ensures the security of the charging data when calculating the cumulative charging amount in each charging area, avoiding the risk of data leakage.

[0064] According to another embodiment of the present invention, a method for processing vehicle charging data is provided, see [link to relevant documentation]. Figure 2 The method for processing vehicle charging data includes the following steps:

[0065] Step S210: Collect charging data generated within a preset time period. The charging data consists of the charging area code and the charging amount.

[0066] It should be understood that the charging data collected by the vehicle is generated within a preset time period. The charging data consists of a charging area code and the charging amount. Furthermore, there are multiple vehicles involved, and each vehicle only has its own charging data collected within the preset time period; charging data from other vehicles is not collected.

[0067] It should also be understood that the charging area where the vehicle is located can be determined based on the charging area code in the charging data.

[0068] It should also be understood that since a vehicle may be charged more than once within a preset time period, if a vehicle is charged multiple times in the same charging area within a preset time period, the charging amount collected for that vehicle within the preset time period is the sum of the charging amounts from the multiple charging sessions.

[0069] Step S220: The charging amount data is subjected to noise addition and encryption processing in sequence to obtain encrypted charging amount data.

[0070] By adding noise and encrypting the charging data, it becomes impossible to deduce the true charging data of the vehicle from the final encrypted charging data, thus avoiding the risk of data leakage and improving the data security of the charging data.

[0071] Step S230: Upload the encrypted charging data to the cloud.

[0072] Specifically, the vehicle uploads encrypted charging data to the cloud via 3G / 4G / 5G networks.

[0073] Step S240: Based on the charging area codes of each vehicle, the cloud sums and decrypts the encrypted charging data of all vehicles in each charging area to obtain the cumulative charging amount of each charging area within a preset time period.

[0074] In summary, the present invention provides a method for processing vehicle charging data. This method improves the security of charging data by collecting charging data from the vehicle and adding noise and encrypting the data, thus avoiding the risk of data leakage when the charging data is uploaded to the cloud. Furthermore, by summing and decrypting the encrypted charging data from each charging area in the cloud, the cumulative charging amount of each charging area is statistically analyzed. The present invention further ensures the security of the charging data when calculating the cumulative charging amount of each charging area, avoiding the risk of data leakage.

[0075] The method in this embodiment is used to implement the corresponding content in the aforementioned multiple system embodiments and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0076] According to another embodiment of the present invention, an electronic device 300 is provided, see [link to previous document]. Figure 3The present invention will now be described in the form of a structural block diagram of an electronic device 300 that can serve as a server or client of the present invention, which is an example of a hardware device that can be applied to various aspects of the present invention. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workstations, user digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile systems, such as user digital processing, cellular phones, smartphones, wearable devices, and other similar computing systems. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0077] The electronic device 300 may include: a processor 302, a communications interface 304, a memory 306, and a communications bus 308.

[0078] The processor 302, communication interface 304, and memory 306 communicate with each other via communication bus 308. Communication interface 304 is used to communicate with other electronic devices or servers.

[0079] The processor 302 is used to execute program 310, specifically the relevant steps in the above method embodiments.

[0080] Specifically, program 310 may include program code that includes computer operation instructions.

[0081] Processor 302 may be a CPU, an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention. The smart device may include one or more processors of the same type, such as one or more CPUs; or it may include processors of different types, such as one or more CPUs and one or more ASICs.

[0082] Memory 306 is used to store program 310. Memory 306 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.

[0083] Specifically, program 310 can be used to enable processor 302 to perform the following operations: the vehicle collects charging amount data generated within a preset time period, the charging amount data consisting of charging area codes and charging amount; the vehicle sequentially performs noise addition and encryption processing on the charging amount data to obtain encrypted charging amount data; the vehicle uploads the encrypted charging amount data to the cloud; the cloud, based on the respective charging area codes of all vehicles, sums and decrypts the encrypted charging amount data of all vehicles in each charging area to obtain the cumulative charging amount of each charging area within the preset time period.

[0084] Furthermore, the specific implementation of each step in procedure 310 can be found in the corresponding descriptions of the steps and units in the above method embodiments, and will not be repeated here. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the devices and modules described above can be referred to the corresponding process descriptions in the foregoing method embodiments, and will not be repeated here.

[0085] It should be noted that, depending on the implementation needs, the various components / steps described in the embodiments of the present invention can be broken down into more components / steps, or two or more components / steps or parts of the operation of components / steps can be combined into new components / steps to achieve the purpose of the embodiments of the present invention.

[0086] An exemplary embodiment of the present invention also provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to perform the methods of various embodiments of the present invention.

[0087] The methods described above according to embodiments of the present invention can be implemented in hardware, firmware, or as software or computer code that can be stored in a recording medium (such as a CD-ROM, RAM, floppy disk, hard disk, or magneto-optical disk), or as computer code originally stored on a remote recording medium or a non-transitory machine-readable medium and subsequently stored on a local recording medium, downloaded via a network. Thus, the methods described herein can be stored as software processing on a recording medium using a general-purpose computer, processor, or programmable hardware (such as an ASIC or FPGA). It is understood that the computer, processor, microprocessor controller, or programmable hardware includes storage components (e.g., RAM, ROM, flash memory, etc.) capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods described herein. Furthermore, when a general-purpose computer accesses code used to implement the methods shown herein, the execution of the code transforms the general-purpose computer into a dedicated computer for executing the methods shown herein.

[0088] Specific embodiments of the invention have now been described. Other embodiments are within the scope of the appended claims. In some cases, the actions described in the claims can be performed in a different order and still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing can be advantageous.

[0089] It should be noted that all directional indicators (such as up, down, left, right, back, etc.) in the embodiments of the present invention are only used to explain the relative positional relationship and movement of each component in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indicator will also change accordingly.

[0090] In the description of this invention, the terms "first" and "second" are used only for convenience in describing different components or names, and should not be construed as indicating or implying a sequential relationship, relative importance, or implicitly specifying the number of technical features indicated. Thus, a feature defined with "first" and "second" may explicitly or implicitly include at least one of that feature.

[0091] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.

[0092] It should be understood that although this specification is described according to various embodiments, not every embodiment contains only one independent technical solution. This way of describing the specification is only for clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment can also be appropriately combined to form other implementation methods that can be understood by those skilled in the art.

[0093] The examples of the embodiments of the present invention are intended to concisely illustrate the technical features of the embodiments of the present invention, so that those skilled in the art can intuitively understand the technical features of the embodiments of the present invention, and are not intended to be an improper limitation of the embodiments of the present invention.

[0094] Finally, it should be noted that the above embodiments are only used to illustrate the embodiments of the present invention, and are not intended to limit the embodiments of the present invention. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the embodiments of the present invention. Therefore, all equivalent technical solutions also fall within the scope of the embodiments of the present invention, and the patent protection scope of the embodiments of the present invention should be defined by the claims.

Claims

1. A vehicle charging data processing system, characterized in that, include: The vehicle collects charging data generated within a preset time period, and the charging data consists of a charging area code and the charging amount. The cloud distributes the same perturbation function and the same key function to different vehicles in the same charging area; and distributes different perturbation functions and different key functions to different charging areas. The vehicle sequentially performs noise addition and encryption processing on the charging amount data to obtain encrypted charging amount data. The noise addition processing is implemented using a local differential privacy algorithm and the perturbation function, and the encryption processing is implemented using a homomorphic encryption algorithm, which supports summation operations on the ciphertext data. The vehicle uploads the encrypted charging data to the cloud; The cloud platform sums and decrypts the encrypted charging data of all vehicles in each charging area based on the charging area code of each vehicle, and obtains the cumulative charging amount of each charging area within the preset time period.

2. The system according to claim 1, characterized in that, The system includes: The vehicle is divided into multiple charging areas based on the geographical location of the charging station; The vehicle assigns numbers to the multiple charging areas to obtain the charging area code.

3. The system according to claim 2, characterized in that, The charging data is generated in the following way: The vehicle determines its charging area and charging area code based on the vehicle charging signal and positioning signal. Calculate the change in SOC and / or other battery values ​​before and after charging the vehicle to obtain the amount of charge the vehicle receives. The charging area code and the charging amount are concatenated to obtain the charging amount data.

4. The system according to claim 1, characterized in that, The vehicle adds noise to the charging data using a local differential privacy algorithm to obtain noisy charging data, including: The perturbation function of the local differential privacy algorithm distributed from the cloud; The vehicle acquires the disturbance function and adds noise to the charging amount data according to the disturbance function to obtain the noisy charging amount. The vehicle concatenates the charging area code in the charging amount data with the noisy charging amount to obtain the noisy charging amount data.

5. The system according to claim 4, characterized in that, The vehicle encrypts the noisy charging data using a homomorphic encryption algorithm to obtain the encrypted charging data, including: The key function for the homomorphic encryption algorithm is distributed from the cloud; The vehicle acquires the key function and encrypts the noisy charging amount in the noisy charging amount data according to the key function to obtain the encrypted charging amount; The vehicle concatenates the charging area code in the noisy charging data with the encrypted charging data to obtain the encrypted charging data.

6. The system according to claim 1, characterized in that, The system includes: The cloud platform will delete the timestamps generated from uploading the encrypted charging data and the vehicle identification numbers of all vehicles.

7. A method for processing vehicle charging data, characterized in that, include: Collect charging data generated within a preset time period, wherein the charging data consists of a charging area code and the charging amount; The cloud sends the same perturbation function and the same key function to different vehicles in the same charging area; and sends different perturbation functions and different key functions to different charging areas. The charging data is subjected to noise addition and encryption processing in sequence to obtain encrypted charging data; wherein, the noise addition processing is implemented by a local differential privacy algorithm and the perturbation function, and the encryption processing is implemented by a homomorphic encryption algorithm, which supports summation operations on the ciphertext data; Upload the encrypted charging data to the cloud; Based on the charging area codes of each vehicle, the cloud sums and decrypts the encrypted charging data of all vehicles in each charging area to obtain the cumulative charging amount of each charging area within the preset time period.

8. An electronic device, characterized in that, include: processor; Memory for stored programs; The program includes instructions that, when executed by the processor, cause the processor to perform steps performed by a vehicle or cloud in any of claims 1-6.

9. A computer storage medium, characterized in that, It stores a computer program that, when executed by a processor, implements the steps performed by the vehicle or the cloud in the system according to any one of claims 1-6.

Citation Information

Patent Citations

  • Method of caculating charging amount in an electric vehicle cahrging system

    KR1020170008490A