Charging authentication method and device, electronic equipment and storage medium
By classifying scenarios and matching multi-dimensional authentication data in charging authentication, the compatibility and security issues of traditional charging authentication schemes in different scenarios are solved, achieving higher authentication accuracy and security, and reducing the misuse of private charging pile identities.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-29
- Publication Date
- 2026-03-10
AI Technical Summary
Traditional charging authentication schemes are subject to interference from different scenarios and have poor scenario compatibility, resulting in low authentication security and flexibility, which in turn leads to the problem of identity theft of private charging piles.
By receiving charging requests, acquiring environmental data and vehicle status data, performing scene classification and recognition, obtaining initial authentication data, and performing multi-dimensional identity and device authentication based on authentication data from different scenarios, including matching facial features, biometric features, and behavioral features, and weighting the data to improve authentication accuracy and security.
It improves the scenario compatibility and accuracy of charging certification, reduces environmental interference, reduces the misuse of private charging station identities, and enhances the security and flexibility of certification.
Smart Images

Figure CN121625871A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of information security technology, and in particular to a charging authentication method, device, electronic device, and storage medium. Background Technology
[0002] As the popularity of private charging stations increases, traditional certification schemes have exposed many security risks. Improving the security of the certification system in different scenarios has become a key point in enhancing the user experience of private charging stations.
[0003] In related technologies, the biometrics and hardware identifiers of the vehicle's owner are often stored in advance, and then the relevant information of the current user is collected for verification. However, the inherent authentication process in these technologies cannot be adapted to complex scenarios such as nighttime or remote use. The authentication process is affected by the scenario and has poor scenario compatibility, resulting in low authentication security and flexibility, which in turn leads to problems such as identity theft of private charging piles. Summary of the Invention
[0004] This disclosure provides a charging authentication method, apparatus, electronic device, and storage medium to at least solve the problems in related technologies, such as authentication processes being affected by scene interference, poor scene compatibility, low authentication security and flexibility, which in turn leads to the problem of identity theft of private charging piles. The technical solution of this disclosure is as follows: According to a first aspect of the present disclosure, a charging authentication method is provided, comprising: Receive the current user's charging request for the target charging station, and obtain environmental data and vehicle status data; Based on the environmental data and the vehicle status data, scene classification and recognition are performed to determine the current authentication scene from at least one preset authentication scene; Obtain the initial authentication data corresponding to the current authentication scenario; Based on the initial authentication data, the current user is authenticated to obtain a first identity matching result; Based on the first identity matching result, charging control is performed on the vehicle to be charged.
[0005] In an optional embodiment, when the current authentication scenario is the first authentication scenario among the at least one preset authentication scenarios, the initial authentication data includes facial feature information, and the step of authenticating the current user's identity based on the initial authentication data to obtain a first identity matching result includes: Obtain the facial feature information of the current user; The facial feature information is matched with preset facial feature information to obtain the first identity matching result; The charging control for the vehicle to be charged based on the first identity matching result includes: If the first identity matching result indicates that the current user's identity authentication is successful, the current user's biometric information and behavioral characteristic information are obtained; The biometric information is matched with preset biometric information to obtain a second identity matching result; The behavioral feature information is matched with preset behavioral feature information to obtain a third identity matching result; The first identity matching result and the second identity matching result are weighted to obtain the fourth identity matching result; Based on the fourth identity matching result, charging control is performed on the vehicle to be charged.
[0006] In an optional embodiment, when the current authentication scenario is the second authentication scenario among the at least one preset authentication scenarios, the initial authentication data includes facial feature information and biometric information, and the step of authenticating the current user's identity based on the initial authentication data to obtain a first identity matching result includes: Obtain the facial feature information and biometric information of the current user; The facial feature information is matched with preset facial feature information to obtain the fifth identity matching result; The biometric information is matched with preset biometric information to obtain the sixth identity matching result; The fifth identity matching result and the sixth identity matching result are weighted to obtain the first identity matching result; The charging control for the vehicle to be charged based on the first identity matching result includes: If the first identity matching result indicates that the current user's identity authentication is successful, obtain the current user's behavioral characteristic information; The behavioral feature information is matched with the preset behavioral feature information to obtain the seventh identity matching result; Based on the seventh identity matching result, charging control is performed for the vehicle to be charged.
[0007] In an optional embodiment, when the current authentication scenario is the third authentication scenario among the at least one preset authentication scenarios, the initial authentication data includes facial feature information, biometric information, and behavioral feature information. The step of authenticating the current user's identity based on the initial authentication data to obtain a first identity matching result includes: Obtain the current user's facial feature information, the current user's biometric information, and the current user's behavioral feature information; The facial feature information is matched with preset facial feature information to obtain the eighth identity matching result; The biometric information is matched with preset biometric information to obtain the ninth identity matching result; The behavioral feature information is matched with the preset behavioral feature information to obtain the tenth identity matching result; The eighth identity matching result, the ninth identity matching result, and the tenth identity matching result are weighted to obtain the first identity matching result.
[0008] In an optional embodiment, the charging control for the vehicle to be charged based on the first identity matching result includes: If the first identity matching result indicates that the current user's identity authentication is successful, the device authentication is performed on the vehicle to be charged to obtain the device matching result; Based on the device matching results, charging control is performed for the vehicle to be charged.
[0009] In an optional embodiment, the step of authenticating the device for the vehicle to be charged and obtaining a device matching result includes: Obtain the basic hardware feature information, the hardware dynamic feature information, and the charging association feature information of the vehicle to be charged; The basic hardware feature information is matched with the preset basic hardware feature information to obtain the first device matching result; The hardware dynamic feature information is matched with the preset hardware dynamic feature information to obtain the second device matching result; The charging association feature information is matched with the preset charging association feature information to obtain the third device matching result; The first device matching result, the second device matching result, and the third device matching result are weighted to obtain the device matching result.
[0010] In an optional embodiment, the charging control for the vehicle to be charged based on the first identity matching result includes: If the first identity matching result indicates that the current user's identity authentication fails, the charging control of the vehicle to be charged is terminated.
[0011] According to a second aspect of the present disclosure, a charging authentication device is provided, comprising: The acquisition module is used to receive the current user's charging request for the target charging pile and to acquire environmental data and vehicle status data. The scene classification and recognition module is used to perform scene classification and recognition based on the environmental data and the vehicle status data, and to determine the current authentication scene from at least one preset authentication scene; The initial authentication data acquisition module is used to acquire the initial authentication data corresponding to the current authentication scenario; The identity authentication module is used to authenticate the current user's identity based on the initial authentication data to obtain a first identity matching result; The charging control module is used to control the charging of the vehicle to be charged based on the first identity matching result.
[0012] In an optional embodiment, when the current authentication scenario is the first authentication scenario among the at least one preset authentication scenarios, the initial authentication data includes facial feature information, and the identity authentication module includes: A facial feature information acquisition unit is used to acquire the facial feature information of the current user; The first facial feature matching unit is used to match the facial feature information with preset facial feature information to obtain the first identity matching result; The charging control module includes: The first acquisition unit is configured to acquire the biometric information and behavioral characteristic information of the current user when the first identity matching result indicates that the current user's identity authentication is successful; The first biometric matching unit is used to match the biometric information with preset biometric information to obtain a second identity matching result; The first behavioral feature matching unit is used to match the behavioral feature information with preset behavioral feature information to obtain a third identity matching result; The first weighted processing unit is used to perform weighted processing on the first identity matching result and the second identity matching result to obtain the fourth identity matching result; The first charging control unit is used to perform charging control for the vehicle to be charged based on the fourth identity matching result.
[0013] In an optional embodiment, when the current authentication scenario is the second authentication scenario among the at least one preset authentication scenarios, the initial authentication data includes facial feature information and biometric information, and the identity authentication module includes: The second acquisition unit is used to acquire the facial feature information and biometric information of the current user; The second facial feature matching unit is used to match the facial feature information with preset facial feature information to obtain the fifth identity matching result; The second biometric matching unit is used to match the biometric information with preset biometric information to obtain the sixth identity matching result; The second weighted processing unit is used to perform weighted processing on the fifth identity matching result and the sixth identity matching result to obtain the first identity matching result; The charging control module includes: The behavior feature information acquisition unit is used to acquire the behavior feature information of the current user when the first identity matching result indicates that the current user's identity authentication is successful; The second behavior feature matching unit is used to match the behavior feature information with preset behavior feature information to obtain the seventh identity matching result; The second charging control unit is used to perform charging control for the vehicle to be charged based on the seventh identity matching result.
[0014] In an optional embodiment, when the current authentication scenario is the third authentication scenario among the at least one preset authentication scenarios, the initial authentication data includes facial feature information, biometric information, and behavioral feature information, and the identity authentication module includes: The third acquisition unit is used to acquire the facial feature information, biometric information, and behavioral feature information of the current user; The third facial feature matching unit is used to match the facial feature information with preset facial feature information to obtain the eighth identity matching result; The third biometric matching unit is used to match the biometric information with preset biometric information to obtain the ninth identity matching result; The third behavior feature matching unit is used to match the behavior feature information with preset behavior feature information to obtain the tenth identity matching result; The third weighted processing unit is used to perform weighted processing on the eighth identity matching result, the ninth identity matching result, and the tenth identity matching result to obtain the first identity matching result.
[0015] In an optional embodiment, the charging control module includes: The device authentication unit is used to perform device authentication on the vehicle to be charged when the first identity matching result indicates that the current user identity authentication is successful, and to obtain the device matching result; The third charging control unit is used to perform charging control for the vehicle to be charged based on the device matching results.
[0016] In an optional embodiment, the device authentication unit includes: The acquisition subunit is used to acquire the basic hardware feature information, the hardware dynamic feature information, and the charging association feature information of the vehicle to be charged. The basic hardware feature matching subunit is used to match the basic hardware feature information with preset basic hardware feature information to obtain a first device matching result; The hardware dynamic feature matching subunit is used to match the hardware dynamic feature information with preset hardware dynamic feature information to obtain the second device matching result. The charging association feature matching subunit is used to match the charging association feature information with the preset charging association feature information to obtain the third device matching result; The device matching result weighting subunit is used to perform weighted processing on the first device matching result, the second device matching result, and the third device matching result to obtain the device matching result.
[0017] In an optional embodiment, the charging control module includes: The charging termination unit is used to terminate the charging control of the vehicle to be charged when the first identity matching result indicates that the current user identity authentication fails.
[0018] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement the method as described in any one of the first aspects above.
[0019] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided such that, when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the method described in any of the first aspects of the present disclosure.
[0020] The technical solutions provided by the embodiments of this disclosure have at least the following beneficial effects: The system receives charging requests from current users for target charging stations, and acquires environmental data, vehicle status data, and user operation data. Based on these data, it performs scenario classification and identification, determining the current authentication scenario from at least one preset authentication scenario. It then acquires the initial authentication data corresponding to the current authentication scenario. Based on the initial authentication data, it performs identity authentication on the current user, obtaining a first identity matching result. By performing identity authentication based on the initial authentication data corresponding to different scenarios, it reduces environmental interference with authentication, improving the security and flexibility of authentication. Based on the first identity matching result, it performs charging control for the vehicle to be charged, which can improve the scenario compatibility and accuracy of authentication and reduce the possibility of identity theft by private charging stations.
[0021] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0022] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.
[0023] Figure 1 This is a schematic diagram illustrating an application environment according to an exemplary embodiment; Figure 2 This is a flowchart illustrating a charging authentication method according to an exemplary embodiment; Figure 3 This is a block diagram illustrating a charging authentication device according to an exemplary embodiment; Figure 4 This is a block diagram illustrating an electronic device for charging authentication according to an exemplary embodiment; Figure 5 This is a block diagram illustrating an electronic device for charging authentication according to an exemplary embodiment. Detailed Implementation
[0024] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.
[0025] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar different contents and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0026] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data used for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.
[0027] Please see Figure 1 , Figure 1 This is a schematic diagram illustrating an application environment according to an exemplary embodiment, such as... Figure 1 As shown, the application environment may include terminal 100 and server 200.
[0028] In an optional embodiment, terminal 100 can perform charging authentication via server 200. Specifically, terminal 100 may include pure electric vehicles, plug-in hybrid electric vehicles, etc. Optionally, terminal 100 includes a vehicle identification number (VIN), an on-board module supporting vehicle-to-everything (V2X) communication, and an on-board system (such as a battery management system) for charging authentication with the target charging pile.
[0029] In an optional embodiment, server 200 can provide charging authentication services to terminal 100 and control the charging of terminal 100. Specifically, server 200 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.
[0030] In addition, it should be noted that, Figure 1 The example shown is merely one application environment provided by this disclosure; in practical applications, other application environments may also be included.
[0031] In the embodiments described in this specification, the terminal 100 and the server 200 can be directly or indirectly connected through wired or wireless communication, and this disclosure does not impose any restrictions.
[0032] Figure 2 This is a flowchart illustrating a charging authentication method according to an exemplary embodiment, which is used in a server, such as... Figure 2 As shown, it includes the following steps.
[0033] In step S201, the charging request from the current user for the target charging pile is received, and environmental data, vehicle status data, and user status data are obtained. In one specific embodiment, the current user can be the user who initiates a charging request for the target charging station.
[0034] In a specific embodiment, the environmental data can be data characterizing the environment around the target charging pile, specifically, the environmental data can include light intensity, location, temperature, etc.; the vehicle status data can be data characterizing the status of the vehicle to be charged, specifically, the vehicle status data can include historical authentication success rate, battery level, etc.; the user status data characterizes the user's current status, for example, whether the user is wearing a mask / sunglasses, whether the biometric features are static and unchanged, etc.
[0035] In step S203, scene classification and recognition are performed based on environmental data, vehicle status data and user feature data, and the current authentication scene is determined from at least one preset authentication scene; In one specific embodiment, at least one preset authentication scenario can be a pre-set authentication scenario. Specifically, at least one preset scenario can include a regular scenario, a special scenario, and a high-risk scenario; the current authentication scenario can be the current authentication scenario corresponding to the target charging pile.
[0036] In a specific embodiment, taking environmental data including light intensity and temperature, and vehicle status data including usage and battery level as an example, if the environmental data indicates that the environment is daytime and the temperature is normal, the vehicle status data indicates that it is being used locally, has a high historical authentication success rate (greater than 95%), and the battery level is sufficient, and the user status data indicates that they are not wearing a mask / sunglasses and their biometric characteristics have changed, then the current authentication scenario is determined to be a normal scenario.
[0037] In a specific embodiment, taking environmental data including light intensity, location, and temperature, and vehicle status data including usage and battery level as an example, if the environmental data indicates that the environment is nighttime, the temperature is low (<5℃) / high (>35℃), the vehicle status data indicates local use, a high historical authentication success rate (greater than 95%), and sufficient battery level, and the user status data indicates that the user is wearing a mask / sunglasses, then the current authentication scenario is determined to be a special scenario.
[0038] In a specific embodiment, taking environmental data including light intensity, location, and temperature, and vehicle status data including usage and battery level as an example, if the environmental data indicates that the temperature is normal, the vehicle status data indicates that the device is being used in a different location, that an unfamiliar device is being connected (first connection), and that the battery level is low (less than 5%), and the user status data indicates that the biometric features are static and unchanged, then the current authentication scenario is determined to be a high-risk scenario.
[0039] In step S205, the initial authentication data corresponding to the current authentication scenario is obtained; In one specific embodiment, the initial authentication data can be the authentication data corresponding to the current authentication scenario.
[0040] In step S207, the current user is authenticated based on the initial authentication data to obtain the first identity matching result; In one specific embodiment, the first identity matching result can represent the identity authentication result of the current user.
[0041] In an optional embodiment, when the current authentication scenario is a first authentication scenario among at least one preset authentication scenario, the initial authentication data may include facial feature information. The above-mentioned authentication of the current user based on the initial authentication data to obtain a first identity matching result may include: Obtain the facial feature information of the current user; The facial feature information is matched with the preset facial feature information to obtain the first identity matching result; Based on the first identity matching result, charging control for the vehicle to be charged includes: If the first identity matching result indicates that the current user's identity authentication is successful, obtain the current user's biometric information and behavioral information; The biometric information is matched with the preset biometric information to obtain the second identity matching result; The behavioral feature information is matched with the preset behavioral feature information to obtain the third-party identity matching result; The first identity matching result and the second identity matching result are weighted to obtain the fourth identity matching result; Based on the fourth identity matching result, charging control is performed on the vehicle to be charged.
[0042] In a specific embodiment, the first authentication scenario can be a conventional scenario, the facial feature information can be the morphological feature information of the user's face, and the first identity matching result can be the degree of matching between the facial feature information corresponding to the conventional scenario and the preset facial feature information. The preset facial feature information can be the facial feature information corresponding to the user to whom the target charging pile belongs, which is set in advance.
[0043] In one specific embodiment, biometric information can be the inherent physiological characteristics of the current user used for identity recognition. Specifically, biometric information can include fingerprints, temperature gradients, fingertip blood flow characteristics, etc. The second identity matching result can be the degree of matching between biometric information corresponding to a conventional scenario and preset biometric information. The preset biometric information can be the biometric information corresponding to the user to which the target charging pile belongs, which is set in advance.
[0044] In a specific embodiment, the behavioral feature information can be the user's inherent operational features used for identity recognition. Specifically, the behavioral feature information can include the pressure distribution of holding the charging gun, the speed of plugging and unplugging the charging gun, the time pattern of starting authentication, etc. Optionally, user behavioral features can be learned through a Long Short-Term Memory (LSTM) network model to generate preset behavioral feature information. The third identity matching result can be the degree of matching between the behavioral feature information corresponding to the regular scenario and the preset behavioral feature information. The preset behavioral feature information can be the behavioral feature information corresponding to the user to which the target charging pile belongs, which is set in advance.
[0045] In a specific embodiment, the fourth identity matching result can be a weighted matching result obtained by the first identity matching result and the second identity matching result. The preset identity matching threshold can be a pre-set identity matching threshold. Specifically, charging control can be performed on the vehicle to be charged when the fourth identity matching result reaches the preset identity matching threshold.
[0046] In the above embodiments, by setting the initial authentication data to only facial feature information in low-interference environments such as normal scenarios, the authentication efficiency is improved through rapid initial screening using facial features. Furthermore, biometric and behavioral feature information is only obtained for verification when the user's facial verification is successful, thus avoiding invalid fine verification of unauthorized users.
[0047] In an optional embodiment, when the current authentication scenario is the second authentication scenario among the at least one preset authentication scenarios, the initial authentication data may include facial feature information and biometric information. The above-mentioned authentication of the current user based on the initial authentication data to obtain the first identity matching result may include: Obtain the current user's facial features and biometric information; The facial feature information is matched with the preset facial feature information to obtain the fifth identity matching result; The biometric information is matched with the preset biometric information to obtain the sixth identity matching result; The fifth and sixth identity matching results are weighted to obtain the first identity matching result; Based on the first identity matching result, charging control for the vehicle to be charged includes: If the first identity matching result indicates that the current user's identity authentication is successful, obtain the current user's behavioral characteristic information; The behavioral feature information is matched with the preset behavioral feature information to obtain the seventh identity matching result; Based on the seventh identity matching result, charging control is performed on the vehicle to be charged.
[0048] In a specific embodiment, the second authentication scenario can be a special scenario. Correspondingly, the fifth identity matching result can be the degree of matching between the facial feature information corresponding to the special scenario and the preset facial feature information. The sixth identity matching result can be the degree of matching between the biometric information corresponding to the special scenario and the preset biometric information. The seventh identity matching result can be the degree of matching between the behavioral feature information corresponding to the special scenario and the preset behavioral feature information. The first identity matching result can be obtained by weighting the fifth identity matching result and the sixth identity matching result. Optionally, charging control can be performed on the vehicle to be charged if the seventh identity matching result reaches the preset identity matching threshold.
[0049] In the above embodiments, by adding biometric information to the initial authentication data in medium-risk environments such as special scenarios as a supplementary verification, the impact of environmental factors on the collection of facial feature information is reduced. Furthermore, if the initial authentication data is verified successfully, behavioral feature information is used for re-verification, thereby improving the accuracy of verification.
[0050] In an optional embodiment, when the current authentication scenario is a third authentication scenario among at least one preset authentication scenario, the initial authentication data may include facial feature information, biometric information, and behavioral feature information. The above-mentioned authentication of the current user based on the initial authentication data to obtain a first identity matching result may include: Obtain the current user's facial features, biometrics, and behavioral characteristics. The facial feature information is matched with the preset facial feature information to obtain the eighth identity matching result; The biometric information is matched with the preset biometric information to obtain the ninth identity matching result; The behavioral feature information is matched with the preset behavioral feature information to obtain the tenth identity matching result; The matching results of the eighth, ninth, and tenth identities are weighted to obtain the first identity matching result.
[0051] In a specific embodiment, the third authentication scenario can be a high-risk scenario. Correspondingly, the eighth identity matching result can be the degree of matching between the facial feature information corresponding to the high-risk scenario and the preset facial feature information. The ninth identity matching result can be the degree of matching between the biometric information corresponding to the high-risk scenario and the preset biometric information. The tenth identity matching result can be the degree of matching between the behavioral feature information corresponding to the high-risk scenario and the preset behavioral feature information. The first identity matching result can be obtained by weighting the eighth, ninth, and tenth identity matching results. Optionally, charging control can be performed on the vehicle to be charged if the first identity matching result reaches the preset identity matching threshold.
[0052] In the above embodiments, by setting the initial authentication data as three-dimensional features of facial features, biometric features, and behavioral features in high-risk scenarios, accurate data is provided for identity authentication. The identity authentication method of independent matching and weighted fusion of three-dimensional features reduces the impact of single feature errors and improves the security of authentication in high-risk scenarios.
[0053] In step S209, charging control is performed on the vehicle to be charged based on the first identity matching result.
[0054] In one specific embodiment, the vehicle to be charged can be the vehicle corresponding to the charging request.
[0055] In an optional embodiment, the charging control for the vehicle to be charged based on the first identity matching result may include: If the first identity matching result indicates that the current user's identity authentication is successful, the vehicle to be charged will undergo device authentication to obtain the device matching result. Based on the equipment matching results, charging control is performed for the vehicles to be charged.
[0056] In a specific embodiment, the device matching result can characterize the device authentication result of the vehicle to be charged. The device matching result can be the degree of matching between the vehicle feature information corresponding to the vehicle to be charged and the preset vehicle feature information. Specifically, the vehicle feature information can include basic hardware feature information, hardware dynamic feature information and charging-related feature information.
[0057] In one specific embodiment, when the current authentication scenario is the first authentication scenario in at least one preset authentication scenario, and the first authentication scenario is a normal scenario, optionally, charging control is performed on the vehicle to be charged when the device matching result reaches a preset device matching threshold, and charging control on the vehicle to be charged is terminated when the device matching result does not reach the preset device matching threshold.
[0058] In a specific embodiment, when the current authentication scenario is the second authentication scenario in at least one preset authentication scenario, and the second authentication scenario is a special scenario, the first identity matching result and the device matching result are weighted to obtain a joint matching result. Optionally, if the joint matching result reaches a preset joint matching threshold, charging control is performed on the vehicle to be charged; if the joint matching result does not reach the preset joint matching threshold, charging control on the vehicle to be charged is terminated.
[0059] In a specific embodiment, when the current authentication scenario is the third authentication scenario in at least one preset authentication scenario, and the third authentication scenario is a high-risk scenario, the first identity matching result and the device matching result are weighted to obtain a joint matching result. Optionally, if the joint matching result reaches a preset joint matching threshold, charging control is performed on the vehicle to be charged; if the joint matching result does not reach the preset joint matching threshold, charging control on the vehicle to be charged is terminated.
[0060] In the above embodiments, by first authenticating the user's identity, and then performing device authentication and controlling charging based on the device matching mechanism after the user's identity authentication is successful, the shortcomings of single identity authentication or device authentication are solved, thereby reducing the situation of identity fraud of private charging piles.
[0061] In an optional embodiment, the above-mentioned device authentication of the vehicle to be charged to obtain a device matching result may include: Obtain the basic hardware feature information, the hardware dynamic feature information, and the charging-related feature information of the vehicle to be charged; The basic hardware feature information is matched with the preset basic hardware feature information to obtain the first device matching result; The hardware dynamic feature information is matched with the preset hardware dynamic feature information to obtain the second device matching result; The charging-related feature information is matched with the preset charging-related feature information to obtain the matching result of the third device; The first device matching result, the second device matching result, and the third device matching result are weighted to obtain the device matching result.
[0062] In a specific embodiment, the basic hardware characteristic information can be information characterizing the static hardware attributes of the device. Specifically, the basic hardware characteristic information may include the vehicle VIN code, BMS firmware version, MAC address of the vehicle-side wireless communication module, etc.; the hardware dynamic characteristic information can be information characterizing the dynamic operating attributes of the device. Specifically, the hardware dynamic characteristic information may include battery voltage fluctuation characteristics during charging, the speed change curve of the internal fan of the charging pile, etc.; the charging-related characteristic information can be data on the cross-domain attributes of the vehicle to be charged. Specifically, the charging-related characteristic information can be the cross-vehicle domain and charging pile domain related characteristic information. The charging-related characteristic information can be obtained through the vehicle network and may include vehicle mileage, vehicle maintenance records, etc.
[0063] In a specific embodiment, the first device matching result may be the degree of matching between the basic hardware feature information corresponding to the vehicle to be charged and the preset basic hardware feature information; the second device matching result may be the degree of matching between the hardware dynamic feature information corresponding to the vehicle to be charged and the preset hardware dynamic feature information; and the third device matching result may be the degree of matching between the charging association feature information corresponding to the vehicle to be charged and the preset charging association feature information. Optionally, the device matching result may be a weighted matching result obtained by weighting the first device matching result, the second device matching result, and the third device matching result.
[0064] In the above embodiments, by using a device authentication method that independently matches and weights the three-dimensional features of the basic hardware feature information, hardware dynamic feature information, and charging-related feature information corresponding to the vehicle to be charged, the error of single feature authentication is reduced, dual verification of user identity and device identity is achieved, and authentication security is improved.
[0065] In an optional embodiment, the charging control for the vehicle to be charged based on the first identity matching result may include: If the first identity matching result indicates that the current user's identity authentication fails, the charging control of the vehicle to be charged is terminated.
[0066] In one specific embodiment, if the first identity matching result does not reach the preset identity matching threshold, a charging termination command is sent to the target charging pile. The charging termination command is used to instruct the target charging pile to terminate the charging operation of the vehicle to be charged. Optionally, a corresponding preset cooling mechanism can be triggered based on the number of times the current user identity authentication fails. Specifically, if the current user identity authentication fails 3 times, the target charging pile is locked for 1 minute; if the current user identity authentication fails 5 times, the target charging pile is locked for 10 minutes; and if the current user identity authentication fails 7 times, the target charging pile is permanently locked (requiring the charging pile owner to unlock it through identity verification).
[0067] In the above embodiments, by terminating charging control when the first identity matching result indicates that authentication has failed, illegal users are quickly intercepted in the early stages of the authentication process, avoiding unnecessary resource consumption. At the same time, a corresponding cooling mechanism is triggered based on the number of identity verification failures, achieving precise defense.
[0068] As can be seen from the technical solutions provided in the embodiments of this specification above, this specification receives a charging request from the current user for a target charging pile, and obtains environmental data, vehicle status data, and user operation data; performs scene classification and identification based on the environmental data, vehicle status data, and user operation data, and determines the current authentication scene from at least one preset authentication scene; obtains the initial authentication data corresponding to the current authentication scene; performs identity authentication on the current user based on the initial authentication data, and obtains a first identity matching result; by performing identity authentication based on the initial authentication data corresponding to different scenes, the interference of the environment on authentication is reduced, and the security and flexibility of authentication are improved; based on the first identity matching result, charging control is performed on the vehicle to be charged, which can improve the scenario compatibility and accuracy of authentication and reduce the situation of identity misuse of private charging piles.
[0069] Figure 3 This is a block diagram illustrating a charging authentication device according to an exemplary embodiment. (Refer to...) Figure 3 The device includes: The acquisition module 310 is used to receive the current user's charging request for the target charging pile and to acquire environmental data and vehicle status data. The scene classification and recognition module 330 is used to classify and recognize scenes based on environmental data and vehicle status data, and to determine the current authentication scene from at least one preset authentication scene; The initial authentication data acquisition module 350 is used to acquire the initial authentication data corresponding to the current authentication scenario. The identity authentication module 370 is used to authenticate the current user's identity based on the initial authentication data and obtain the first identity matching result; The charging control module 390 is used to control the charging of the vehicle to be charged based on the first identity matching result.
[0070] In an optional embodiment, when the current authentication scenario is a first authentication scenario among at least one preset authentication scenario, the initial authentication data includes facial feature information, and the identity authentication module 370 includes: The facial feature information acquisition unit is used to acquire the facial feature information of the current user. The first facial feature matching unit is used to match facial feature information with preset facial feature information to obtain the first identity matching result; The charging control module 390 includes: The first acquisition unit is used to acquire the current user's biometric information and behavioral characteristic information when the first identity matching result indicates that the current user's identity authentication is successful; The first biometric matching unit is used to match biometric information with preset biometric information to obtain a second identity matching result; The first behavioral feature matching unit is used to match behavioral feature information with preset behavioral feature information to obtain a third identity matching result; The first weighted processing unit is used to weight the first identity matching result and the second identity matching result to obtain the fourth identity matching result; The first charging control unit is used to control the charging of the vehicle to be charged based on the fourth identity matching result.
[0071] In an optional embodiment, when the current authentication scenario is the second authentication scenario among at least one preset authentication scenario, the initial authentication data includes facial feature information and biometric information, and the identity authentication module 370 includes: The second acquisition unit is used to acquire the facial feature information and biometric information of the current user; The second facial feature matching unit is used to match facial feature information with preset facial feature information to obtain the fifth identity matching result; The second biometric matching unit is used to match biometric information with preset biometric information to obtain the sixth identity matching result; The second weighted processing unit is used to weight the fifth identity matching result and the sixth identity matching result to obtain the first identity matching result; The charging control module 390 includes: The behavioral feature information acquisition unit is used to acquire the behavioral feature information of the current user when the first identity matching result indicates that the current user's identity authentication is successful; The second behavioral feature matching unit is used to match behavioral feature information with preset behavioral feature information to obtain the seventh identity matching result; The second charging control unit is used to control the charging of the vehicle to be charged based on the seventh identity matching result.
[0072] In an optional embodiment, when the current authentication scenario is a third authentication scenario among at least one preset authentication scenario, the initial authentication data includes facial feature information, biometric information, and behavioral feature information, and the identity authentication module 370 includes: The third acquisition unit is used to acquire the current user's facial feature information, the current user's biometric information, and the current user's behavioral feature information; The third facial feature matching unit is used to match facial feature information with preset facial feature information to obtain the eighth identity matching result; The third biometric matching unit is used to match biometric information with preset biometric information to obtain the ninth identity matching result; The third behavioral feature matching unit is used to match behavioral feature information with preset behavioral feature information to obtain the tenth identity matching result; The third weighted processing unit is used to weight the eighth identity matching result, the ninth identity matching result, and the tenth identity matching result to obtain the first identity matching result.
[0073] In an optional embodiment, the charging control module 390 includes: The device authentication unit is used to perform device authentication on the vehicle to be charged when the first identity matching result indicates that the current user's identity authentication is successful, and to obtain the device matching result. The third charging control unit is used to control the charging of the vehicle to be charged based on the equipment matching results.
[0074] In an optional embodiment, the device authentication unit includes: The acquisition subunit is used to acquire the basic hardware feature information, the hardware dynamic feature information, and the charging association feature information of the vehicle to be charged. The basic hardware feature matching subunit is used to match basic hardware feature information with preset basic hardware feature information to obtain the first device matching result; The hardware dynamic feature matching subunit is used to match hardware dynamic feature information with preset hardware dynamic feature information to obtain the second device matching result; The charging association feature matching subunit is used to match the charging association feature information with the preset charging association feature information to obtain the matching result of the third device. The weighted subunit for equipment matching results is used to weight the first equipment matching result, the second equipment matching result, and the third equipment matching result to obtain the equipment matching result.
[0075] In an optional embodiment, the charging control module 390 includes: The charging termination unit is used to terminate the charging control of the vehicle to be charged if the first identity matching result indicates that the current user identity authentication fails.
[0076] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0077] Figure 4 This is a block diagram illustrating an electronic device for charging authentication according to an exemplary embodiment. The electronic device may be a target charging station, and its internal structure diagram may be as follows. Figure 4 As shown, the electronic device includes a processor, memory, network interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface is used to communicate with external terminals via a network connection. When the computer program is executed by the processor, it implements a charging authentication method. The display screen can be a liquid crystal display (LCD) or an e-ink display. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the device's casing, or an external keyboard, touchpad, or mouse. Figure 5 This is a block diagram illustrating an electronic device for charging authentication according to an exemplary embodiment. The electronic device may be a server, and its internal structure diagram may be as follows: Figure 5 As shown, the electronic device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface is used to communicate with external terminals via a network connection. When the computer program is executed by the processor, it implements a charging authentication method. Those skilled in the art will understand that Figure 4 or Figure 5 The structure shown is merely a block diagram of a portion of the structure related to the present disclosure and does not constitute a limitation on the electronic device to which the present disclosure is applied. A specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements. In an exemplary embodiment, an electronic device is also provided, including: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement the charging authentication method as described in the embodiments of this disclosure.
[0078] In an exemplary embodiment, a computer-readable storage medium is also provided, wherein when the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the charging authentication method of the present disclosure embodiments.
[0079] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0080] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A charging authentication method characterized by, Comprise: Receiving a charging request of a current user for a target charging pile, obtaining environment data and vehicle-end state data; Based on the environment data and the vehicle-end state data, scene classification and identification are performed to determine a current authentication scene from at least one preset authentication scene; Obtain the initial authentication data corresponding to the current authentication scene; Based on the initial authentication data, identity authentication is performed on the current user to obtain a first identity matching result; Based on the first identity matching result, the charging control for the vehicle to be charged is performed.
2. The charging authentication method according to claim 1, characterized by, In the case where the current authentication scene is a first authentication scene in the at least one preset authentication scene, the initial authentication data includes face feature information, and the identity authentication based on the initial authentication data includes: Obtain the face feature information of the current user; Match the face feature information with preset face feature information to obtain the first identity matching result; The charging control for the vehicle to be charged based on the first identity matching result includes: In the case where the first identity matching result indicates that the current user passes the identity authentication, obtain the biological feature information and the behavior feature information of the current user; Match the biological feature information with preset biological feature information to obtain a second identity matching result; Match the behavior feature information with preset behavior feature information to obtain a third identity matching result; Weighting processing is performed on the first identity matching result and the second identity matching result to obtain a fourth identity matching result; Based on the fourth identity matching result, the charging control for the vehicle to be charged is performed.
3. The charging authentication method according to claim 1, characterized by, In the case where the current authentication scene is a second authentication scene in the at least one preset authentication scene, the initial authentication data includes face feature information and biological feature information, and the identity authentication based on the initial authentication data includes: Obtain the face feature information of the current user and the biological feature information of the current user; Match the face feature information with preset face feature information to obtain a fifth identity matching result; Match the biological feature information with preset biological feature information to obtain a sixth identity matching result; Weighting processing is performed on the fifth identity matching result and the sixth identity matching result to obtain the first identity matching result; The charging control for the vehicle to be charged based on the first identity matching result includes: In the case where the first identity matching result indicates that the current user passes the identity authentication, obtain the behavior feature information of the current user; Match the behavior feature information with preset behavior feature information to obtain a seventh identity matching result; Based on the seventh identity matching result, the charging control for the vehicle to be charged is performed.
4. The charging authentication method according to claim 1, characterized by, In a case where the current authentication scenario is a third authentication scenario in the at least one preset authentication scenario, the initial authentication data includes face feature information, biological feature information, and behavior feature information, and the identity authentication of the current user based on the initial authentication data includes: obtaining face feature information of the current user, biological feature information of the current user, and behavior feature information of the current user; matching the face feature information with preset face feature information to obtain an eighth identity matching result; matching the biological feature information with preset biological feature information to obtain a ninth identity matching result; matching the behavior feature information with preset behavior feature information to obtain a tenth identity matching result; performing weighted processing on the eighth identity matching result, the ninth identity matching result, and the tenth identity matching result to obtain the first identity matching result.
5. The charging authentication method according to claim 1, characterized by, The charging control for the vehicle to be charged based on the first identity matching result includes: in a case where the first identity matching result indicates that the current user identity authentication is passed, performing device authentication on the vehicle to be charged to obtain a device matching result; performing charging control for the vehicle to be charged based on the device matching result.
6. The charging authentication method according to claim 5, characterized by, The device authentication on the vehicle to be charged to obtain a device matching result includes: obtaining basic hardware feature information corresponding to the vehicle to be charged, hardware dynamic feature information corresponding to the vehicle to be charged, and charging associated feature information corresponding to the vehicle to be charged; matching the basic hardware feature information with preset basic hardware feature information to obtain a first device matching result; matching the hardware dynamic feature information with preset hardware dynamic feature information to obtain a second device matching result; matching the charging associated feature information with preset charging associated feature information to obtain a third device matching result; performing weighted processing on the first device matching result, the second device matching result, and the third device matching result to obtain the device matching result.
7. The charging authentication method according to claim 1, characterized by, The charging control for the vehicle to be charged based on the first identity matching result includes: in a case where the first identity matching result indicates that the current user identity authentication is not passed, terminating the charging control for the vehicle to be charged.
8. A charging authentication device, characterized by, comprises: an acquisition module, configured to receive a charging request of a current user for a target charging pile, and acquire environment data and vehicle-end state data; a scenario classification and identification module, configured to perform scenario classification and identification based on the environment data and the vehicle-end state data, and determine a current authentication scenario from at least one preset authentication scenario; an initial authentication data acquisition module, configured to acquire initial authentication data corresponding to the current authentication scenario; an identity authentication module, configured to perform identity authentication of the current user based on the initial authentication data, and obtain a first identity matching result; a charging control module, configured to perform charging control for a vehicle to be charged based on the first identity matching result.
9. An electronic device, comprising: comprises: a processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the charging authentication method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is enabled to perform the charging authentication method according to any one of claims 1 to 7.