A method for securely processing data on charging and battery replacement behavior of electric bicycles

By verifying user identity using the SM2 algorithm and encrypting data using SM4, combined with secure transmission protocols and blockchain technology, the problem of poor data security in electric bicycle charging is solved, enabling secure and reliable data transmission and processing, and is suitable for electric bicycle charging scenarios.

CN118054912BActive Publication Date: 2024-11-01GUANGDONG HAOYIDIAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410380199.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-30
Publication Date
2024-11-01
Estimated Expiration
2044-03-30

AI Technical Summary

Technical Problem

Existing methods for processing electric bicycle charging behavior data have poor security, including insecure key management, impersonation, vulnerability to man-in-the-middle attacks during transmission, data leakage and tampering, and are slow and costly.

Method used

The system uses the SM2 algorithm to generate digital signatures for identity verification, monitors the charging and swapping process in real time, obtains device information and classifies data through the IoT cloud server, uses the SM4 algorithm to symmetrically encrypt the charging and swapping behavior data, adopts secure transmission protocols such as TLS/SSL during transmission, and uses the SM3 algorithm to verify data integrity. The operation server decrypts the data and shares it on the blockchain.

Benefits of technology

It ensures the security and integrity of charging and swapping behavior data, prevents data loss or tampering, simplifies operation and reduces costs, and is applicable to a wide range of electric bicycle charging scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118054912B_ABST
    Figure CN118054912B_ABST
Patent Text Reader

Abstract

The present invention is applicable to the field of data processing technology, and provides a method for securely processing data on the charging and swapping behavior of an electric bicycle, comprising the following steps: obtaining user information, user location, and data requests sent by a user mobile terminal, generating a digital signature from the user information through an SM2 algorithm, and authenticating the user; obtaining device information of a project site and a charging device terminal, and obtaining and classifying the charging and swapping behavior data of the vehicle based on the device information; the present invention performs preliminary processing and identification on the charging behavior data, encrypts and verifies the user identity information, and after the identity information is verified, performs symmetrical encryption processing on the charging behavior data, and transmits it through a secure transmission protocol. The data processing process is safer and more reliable, and can effectively ensure the security and confidentiality of the charging behavior data, avoid data loss or tampering, and is simple to operate, cost-effective, and applicable to a wide range of electric bicycle charging scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of data processing, and in particular relates to a method for securely processing data on charging and battery replacement behaviors of an electric bicycle. Background Art

[0002] With the popularity of electric bicycles, the huge number of electric bicycles has brought about frequent and intensive electricity demand. In order to solve the rigid demand for electric bicycle charging and avoid safety hazards caused by illegal charging, charging equipment terminals will be established at the stations to meet the charging needs of users. The battery can also be replaced through the battery replacement mode. Compared with charging, the battery replacement mode is more popular with express delivery, take-out and other timely delivery personnel;

[0003] Whether it is charging or swapping batteries, the processing of user behavior data is becoming more and more important. However, existing data processing methods usually use simple encryption technology and basic identity authentication methods, such as SSL encrypted communication, MD5 encrypted data, etc. These methods have certain weaknesses, such as insufficient security of key management, identity authentication can be counterfeited, and the transmission process is easily attacked by middlemen, which leads to data leakage, information tampering, and hacker attacks. There are also problems such as slow data processing speed and high cost, and there is a lack of comprehensive and effective solutions. Therefore, in order to solve the above problems, a method for secure processing of electric bicycle charging and swapping behavior data is proposed. Summary of the invention

[0004] The present invention provides a method for safely processing charging and replacing behavior data of an electric bicycle, aiming to solve the problem that the existing charging behavior data safety processing method is simple but has poor safety.

[0005] The present invention is implemented as follows: a method for securely processing data of charging and battery replacement behavior of an electric bicycle, comprising the following steps:

[0006] Obtain user information, user location and data requests sent by the user's mobile terminal, generate a digital signature using the SM2 algorithm, and authenticate the user;

[0007] After the user identity verification is passed, the charging device terminal monitors the charging and swapping process in real time, collects charging and swapping behavior data in real time, and the IoT cloud service obtains the device information of the project site and the charging device terminal, obtains the vehicle's charging and swapping behavior data based on the device information, and classifies it;

[0008] The IoT cloud server performs preliminary processing on the acquired charging and swapping behavior data and adds identification information for identification;

[0009] The IoT cloud server will symmetrically encrypt the charging and swapping behavior data after preliminary processing and identification using the SM4 algorithm. The encrypted charging and swapping behavior data will be transmitted to the operation server through a secure transmission protocol.

[0010] Preferably, the equipment information includes the number and address information of the project site, the number, vacancy and occupancy information of the charging equipment terminal.

[0011] Preferably, the identification information includes the project site, user information, charging device terminal number and placeholder information.

[0012] Preferably, the secure transmission protocol is one of the TLS / SSL protocol, the IPSec protocol, and the SETP protocol.

[0013] Preferably, it also includes: the operation service end stores the charging and swapping behavior data transmitted through the secure transmission protocol, and performs data integrity verification through the SM3 algorithm.

[0014] Preferably, it also includes: the operation server sets permissions and authorization procedures, decrypts the charging and swapping behavior data through the authorization procedure, and shares the on-chain data with a third-party platform through blockchain technology for analysis and use by the third-party platform.

[0015] Compared with the prior art, the present invention has the following beneficial effects:

[0016] The present invention performs preliminary processing and identification of charging behavior data, encrypts and verifies user identity information, and after identity information verification, symmetrically encrypts the charging behavior data and transmits it through a secure transmission protocol. The data processing process is safer and more reliable, and can effectively ensure the security and confidentiality of the charging behavior data, avoid data loss or tampering, and is easy to operate, cost-effective, and suitable for a wide range of electric bicycle charging scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 It is a schematic diagram of the process of the present invention;

[0018] Figure 2 It is a data interaction schematic diagram of the present invention. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0020] See also Figure 1-2 The present invention provides a technical solution: a method for securely processing data of charging and battery replacement behavior of an electric bicycle, comprising the following steps:

[0021] S1, identity authentication: obtain user information, user location and data requests sent by the user's mobile terminal, generate a digital signature through the SM2 algorithm, and authenticate the user;

[0022] The user information includes user name, mobile phone number, ID number and ID code;

[0023] The data request includes a charging request, a battery replacement request, and a recharge, purchase, or consumption request for related products or discounts. The charging request includes a charging start request and a charging end request.

[0024] Specifically, before charging or replacing the battery, when the user enters the mini program through the user's mobile terminal, scans the code or swipes the card, etc., an access request with identity information is sent to the operation server. Following the principle of minimization, after the operation server obtains the user's identity information, it verifies the identity information. After the verification is passed, it desensitizes the identity information according to the sensitivity and desensitization rules, generates a digital signature for the user's identity information through the SM2 elliptic curve public key cryptography algorithm, and sends it to the charging device terminal for signature verification. After the signature verification is passed, the user's access request is responded to to ensure the authenticity and validity of the user's identity and to protect the user's privacy and data security;

[0025] S2. Data collection: After the user identity verification is passed, the charging device terminal monitors the charging and swapping process in real time, collects charging and swapping behavior data in real time, and the IoT cloud service obtains the device information of the project site and the charging device terminal, obtains the vehicle's charging and swapping behavior data based on the device information and classifies it;

[0026] Among them, after the user identity verification is passed, the charging device terminal monitors the charging and swapping process in real time, collects charging and swapping behavior data in real time, and the IoT cloud service manages the location, number, status and pricing information of the charging device terminal and project site;

[0027] The equipment information includes the number and address information of the project site, the number of the charging equipment terminal, the vacant position and the occupied position information; the vacant position information includes the number of the idle charging position and the number of the idle battery position and the corresponding power; the occupied position information includes the number of the occupied charging position and the number of the battery position for battery replacement;

[0028] Wherein, the charging and battery swapping behavior data includes charging behavior data and battery swapping behavior data;

[0029] The charging behavior data includes charging time, charging power, charging device terminal number and user's occupancy information;

[0030] The battery replacement behavior data includes the battery replacement time, the battery power before the battery replacement, the battery power after the battery replacement, the charging device terminal number, the battery and the battery location number;

[0031] Specifically, the charging and battery swapping behavior data is collected by the charging equipment terminal through sensors and other data collection modules, and the charging and battery swapping behavior data is cleaned, integrated, changed and reduced to improve the quality of the charging and battery swapping behavior data and ensure the reliability of the data source;

[0032] S3, data processing: The IoT cloud service performs preliminary processing on the acquired charging and swapping behavior data, and adds identification information for identification, wherein the identification information includes the project site, user information, charging device terminal number and its placeholder information;

[0033] Among them, the project site, user information, charging equipment terminal number and its vacant slot information for charging or battery replacement are used as identification information to associate the charging and battery replacement behavior data after preliminary processing, which is convenient for data recording and statistics. The user information used as identification is the user name and ID code to protect user privacy and data security.

[0034] S4, data transmission: The IoT cloud service will symmetric encrypt the charging and swapping behavior data after preliminary processing and identification using the SM4 algorithm, and the encrypted charging and swapping behavior data will be transmitted through a secure transmission protocol;

[0035] Wherein, the secure transmission protocol is one of the TLS / SSL protocol, IPSec protocol, and SETP protocol;

[0036] Among them, the charging and swapping behavior data after preliminary processing and identification is first verified through the SM3 cryptographic hash algorithm to verify the integrity of the charging and swapping behavior data and identification information, prevent data leakage and man-in-the-middle attacks, and ensure the confidentiality and integrity of the data during transmission;

[0037] S5. Data storage: The operation service end stores the charging and swapping behavior data transmitted through the secure transmission protocol and performs data integrity verification through the SM3 algorithm;

[0038] Among them, after receiving the charging and swapping behavior data, the server or cloud platform verifies the integrity of the charging and swapping behavior data again through SM3 cryptographic hashing, and stores it after the verification is successful;

[0039] S6. Obtaining user portrait: The operation server learns and trains the charging and swapping behavior data through the user behavior model to obtain the user portrait;

[0040] Among them, the user's mobile terminal provides user location, user information, and point-of-use data in real time. Based on user information, consumption information, and charging records, the user's portrait and charging behavior are obtained, which facilitates the push of subscribed preferential product information to users;

[0041] S7. Prediction analysis: Based on user information and location, combined with user portraits and user charging and swapping behavior data, the operation server predicts user charging and swapping needs through a behavior analysis model and pushes preferential product information to users.

[0042] S8. Operational analysis: The IoT cloud server collects operational data of the project site, learns and trains the business data model, obtains the project site portrait and operational strategy, recommends operational strategy to the operational server, and configures the relationship between the equipment project site and the operational strategy;

[0043] S9, Data decryption and analysis: The operation server sets permissions and authorization processes. After the authorization process, the charging and swapping behavior data is decrypted. After the data is retrieved, it is shared with the third-party platform through blockchain technology for analysis and use by the third-party platform.

[0044] Specifically, the data generated by charging and swapping behaviors, the data generated by operational analysis, and the data generated by models are stored and processed through blockchain technology. When data is interacted with a third-party platform, the data on the chain is shared according to the platform alliance chain data sharing mechanism to ensure that the data is not tampered with or illegally obtained.

[0045] In summary, the SM2 algorithm is used to generate and verify digital signatures for user information to ensure the authenticity and validity of the user's identity. When the user uses the charging device terminal, the charging and swapping behavior data is processed and identified, and then symmetric encrypted by the SM4 algorithm and transmitted through a secure transmission protocol, effectively preventing data leakage and man-in-the-middle attacks. The encrypted charging behavior data is stored in a secure and controllable data storage device to ensure data integrity and confidentiality. The data processing process is safer and more reliable, which can effectively avoid data loss or tampering. It is easy to operate and cost-effective, and is suitable for a wide range of electric bicycle charging scenarios.

[0046] Through behavioral analysis models, we analyze the potential patterns and values ​​of users' charging and swapping behaviors based on their charging and swapping behavior data, and make personalized recommendations to users. Through the continuously accumulated charging and swapping behavior data and operation data, we conduct deep learning and optimization through user behavior models and business data models, conduct big data analysis on users' charging and swapping behaviors, and obtain project site portraits and user portraits. This can help companies accurately understand user behavior characteristics and industry trends, provide personalized services, optimize the layout of charging facilities, etc., which is conducive to improving operational efficiency, service quality and user experience.

[0047] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for securely processing data on charging and battery replacement behavior of an electric bicycle, characterized in that: The following steps are involved: Obtain user information, user location and data requests sent by the user's mobile terminal, generate a digital signature using the SM2 algorithm, and authenticate the user; Obtain the equipment information of the project site and charging equipment terminal, obtain the charging and swapping behavior data of the vehicle based on the equipment information and classify it; after the user identity verification is passed, the charging equipment terminal monitors the charging and swapping process in real time, collects the charging and swapping behavior data in real time, and the IoT cloud service manages the location, number, status and pricing information of the charging equipment terminal and the project site; The equipment information includes the number and address information of the project site, the number of the charging equipment terminal, and the vacant position information and occupied position information; the vacant position information includes the idle charging position number and the idle battery position number and the corresponding power; the occupied position information includes the occupied charging position number and the battery position number for battery replacement; The charging and battery swapping behavior data includes charging behavior data and battery swapping behavior data; the charging behavior data includes charging time, charging power, charging device terminal number and user's occupancy information; the battery swapping behavior data includes battery swapping time, power before battery swapping, power after battery swapping, charging device terminal number, battery and battery position number; The charging and battery swapping behavior data is collected by the charging device terminal through the sensor data collection module, and the charging and battery swapping behavior data is cleaned, integrated, changed and reduced; Perform preliminary processing on the acquired charging and swapping behavior data, and add identification information for identification; the identification information includes the address information of the project site, user information, charging equipment terminal number and its placeholder information; Among them, the address information of the project site, user information, charging equipment terminal number and its placeholder information for charging or battery replacement are used as identification information to associate the charging and battery replacement behavior data after preliminary processing, so as to facilitate data recording and statistics, and the user information used as identification is the user name and ID code; The charging and swapping behavior data after preliminary processing and identification is symmetrically encrypted using the SM4 algorithm, and the encrypted charging and swapping behavior data is transmitted through a secure transmission protocol; the secure transmission protocol is one of the TLS / SSL protocol, IPSec protocol, and SETP protocol.

2. A method for securely processing data on charging and battery replacement behavior of an electric bicycle as claimed in claim 1, characterized in that: Also includes: The charging and swapping behavior data transmitted through a secure transmission protocol is stored, and the data integrity is verified using the SM3 algorithm.

3. A method for securely processing data on charging and battery replacement behavior of an electric bicycle as claimed in claim 2, characterized in that: Also includes: Set up permissions and authorization processes, and after the authorization process, decrypt the charging and swapping behavior data. Through blockchain technology, share the on-chain data with third-party platforms for analysis and use by the third-party platforms.