Remote authorization method for non-inductive Bluetooth charging system
The sensorless Bluetooth charging system generated through time synchronization verification and dynamic pairing code solves the security and flexibility of temporary user authorization, and realizes reliable charging services in the device clock deviation scenario.
Patent Information
- Application Number
- CN202510731189.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-03
- Publication Date
- 2025-09-05
AI Technical Summary
The existing sensorless charging system has insufficient security in user authentication and authorization management, especially lacks flexibility for temporary users, and cannot effectively deal with problems such as device interaction in different time zones or expired authorization codes.
Using technical solutions of time synchronization verification, dynamic pairing code generation and cross-time fault-tolerant verification, the Bluetooth module's physical address and time period identifier are combined to generate temporary charging pairing codes, and expand to adjacent time periods when the time synchronization verification fails to be compared, ensuring the security and flexibility of authorization.
It improves the security and flexibility of temporary user authorization, reduces the authorization failure rate due to equipment clock out of synchronization, and improves the service reliability and user experience of the charging system.
Smart Images

Figure CN120602935A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of new energy vehicle charging technology, and more specifically, to a remote authorization method and system for a sensorless Bluetooth charging system. Background Art
[0002] With the increasing popularity of new energy vehicles, the demand for charging infrastructure is growing. However, existing charging solutions still have many shortcomings in terms of user experience, convenience, and safety. Traditional charging methods often require users to perform cumbersome operations such as plugging and unplugging charging cables and scanning QR codes for payment. These steps are not only time-consuming but can also lead to problems such as poor connection or operational errors. Furthermore, existing charging systems often rely on fixed passwords or IC cards for user authentication, which poses security risks such as password leakage or card loss.
[0003] In recent years, Bluetooth technology has gained widespread adoption within the Internet of Things (IoT) due to its low power consumption, high compatibility, and wide device support. In particular, Bluetooth technology is being used to enable seamless connectivity and communication between devices in areas such as smart homes and smart transportation. This has made it possible to develop contactless charging systems that automatically identify users and initiate charging without manual intervention, significantly improving the user experience.
[0004] However, existing contactless charging systems are primarily designed for fixed users and lack flexibility in authorization management for temporary users. When the owner is not present, the system struggles to quickly and securely provide charging services to guest users. Especially in scenarios where a guest needs to charge while the owner is away, existing solutions often require the owner to remotely provide a fixed password or perform complex authorization operations. This is not only cumbersome but also poses the risk of password interception or misuse. Furthermore, existing systems lack time synchronization and dynamic authorization, making them unable to effectively address issues such as device interactions in different time zones or expired authorization codes. Summary of the Invention
[0005] To achieve the above object, the present invention adopts the following technical solutions:
[0006] A remote authorization method for a senseless Bluetooth charging system, including the purpose of this application is to provide a remote authorization method and system for a senseless Bluetooth charging system, which has the advantages of improving the security and flexibility of temporary user authorization and enhancing time synchronization fault tolerance.
[0007] This application provides a remote authorization method for a sensorless Bluetooth charging system, comprising the following steps:
[0008] S1. Time synchronization verification:
[0009] S11) The mobile terminal establishes communication with the charging pile via the Bluetooth protocol and sends the current time to the charging pile;
[0010] S12) The charging pile verifies the validity of the time and terminates the authorization if it determines that the time is abnormal;
[0011] S2. Dynamic pairing code generation:
[0012] S21) generating a temporary charging pairing code using a preset algorithm based on the physical address of the charging pile Bluetooth module and the current time period identifier;
[0013] S22) transmitting the temporary charging pairing code from the authorizing party's mobile terminal to the authorized party;
[0014] S3. Cross-period fault tolerance verification:
[0015] S31) The charging pile controller receives the temporary charging pairing code sent by the device to be charged, and generates a verification pairing code based on the same physical address and time period identifier;
[0016] S32) If the pairing code verified in the current time period is consistent with the received pairing code, charging is authorized;
[0017] S33) If they are inconsistent, further generate verification pairing codes for adjacent time periods for comparison. If any comparison is successful, charging is authorized.
[0018] Furthermore, the present application also proposes that the time period identifiers are divided in any of the following ways:
[0019] 1) Time segment coding with fixed duration (1 hour / 5 minutes);
[0020] 2) An interval identifier generated based on the start time and end time.
[0021] Furthermore, the present application also proposes that the preset algorithm is a cryptographic hash algorithm or a custom algorithm, which operates on the combined value of the physical address and the time period identifier, and intercepts the specified number of bits to generate a temporary charging pairing code.
[0022] Furthermore, the present application also proposes that the time validity verification includes: the charging pile stores the last valid time, and if the received current time is earlier than the stored time, it is determined to be abnormal.
[0023] Furthermore, the present application also proposes that the verification range of adjacent time periods includes the N time periods before and the M time periods after the current time period, where N and M are preset positive integers.
[0024] From the above, it can be seen that the remote authorization method and system for a contactless Bluetooth charging system provided in this application ensures the timeliness of device interaction through a time synchronization verification mechanism, combines dynamic pairing code generation to achieve secure authorization transmission, and adopts a cross-time period fault-tolerant verification mechanism to solve the time deviation problem. It has the advantages of improving the security and flexibility of temporary user authorization and enhancing time synchronization fault tolerance.
[0025] The present invention's remote authorization method for a non-sensing Bluetooth charging system aims to overcome the aforementioned shortcomings of existing technologies, providing a more intelligent, flexible, secure, and reliable charging solution to meet growing market demands and technological trends. By incorporating Bluetooth technology and advanced encryption algorithms, this invention not only improves charging efficiency and service quality but also enhances the overall security of the system, possessing significant practical application value and broad market prospects.
[0026] The system integrates a Bluetooth module with a charging pile controller, combines a time synchronization mechanism and an encryption algorithm, and effectively solves the identity authentication problem for temporary users when using charging facilities, ensuring that only authorized users can access specific charging pile resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a structural schematic diagram of the present invention. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments.
[0029] With existing technologies, the widespread adoption of new energy vehicle charging facilities faces dual challenges: user experience and security management. Traditional charging systems rely on fixed passwords or physical cards for authorization, which carries the risk of password leakage and lacks the flexibility to accommodate temporary user needs. When the owner is unavailable, guest users struggle to quickly and securely obtain charging access. This challenge is particularly acute in shared home charging scenarios.
[0030] To address these issues, the applicant noted that the unique physical identifier of a Bluetooth module offers potential for device identification, but relying solely on the physical address cannot prevent replay attacks. By analyzing the application of time synchronization mechanisms in financial transactions, the applicant discovered that timestamp verification can effectively prevent the replay of historical data. Furthermore, incorporating dynamic password generation technology, the applicant proposed combining the physical address with timeliness. Furthermore, taking into account possible minor deviations in device clocks, a cross-period verification fault-tolerant mechanism was designed.
[0031] 1) Therefore, this application proposes a technical solution that includes time synchronization verification, dynamic pairing code generation, and cross-time period fault-tolerant verification. After the mobile terminal establishes Bluetooth communication with the charging station, it first transmits the current time for clock synchronization verification to ensure the timeliness of communication. A temporary dynamic pairing code is generated based on the unique physical address of the charging station Bluetooth module and the current time period identifier. This pairing code can be securely transmitted through the mobile terminal. When the charging station receives the pairing code, it not only verifies the generation result of the current time period, but also performs a fault-tolerant comparison for possible deviations between adjacent time periods.
[0032] Among them, time synchronization verification refers to the timeliness verification of the timestamp sent by the charging station to the mobile terminal. Specifically, it can prevent time backflow attacks by comparing the last valid communication time, ensuring the timeliness and uniqueness of the communication data. Dynamic pairing code generation refers to the use of cryptographic algorithms to combine the unique physical address of the Bluetooth module with the time period variable. For example, a hash algorithm is used to generate a verification code with a fixed number of bits to ensure that an unpredictable unique temporary password is generated for each time period. Cross-time period fault-tolerant verification means that when the verification fails in the current time period, it automatically extends to a preset number of adjacent time periods for secondary verification. Specifically, it can trace back one time period and extend two time periods backward to regenerate and match the pairing code, solving the problem of verification failure caused by slight deviations in the clocks between devices.
[0033] Specifically, when a guest user needs to charge, the car owner can obtain the currently valid dynamic pairing code through the mobile terminal application. The pairing code is generated by the Bluetooth address of the charging pile and the time period accurate to the minute level, for example, it is updated every 5 minutes. After receiving the pairing code sent by the guest device, the charging pile controller first generates a verification code for the local current time period for matching. If the time synchronization verification is passed and the pairing code is consistent, charging is authorized immediately. When there is a device clock deviation that causes the time period identifier to be inconsistent, the system automatically generates a verification code sequence for adjacent time periods (such as the first 5 minutes and the last 10 minutes) for traversal matching to ensure that authorization requests within a reasonable time deviation range can still be successfully verified.
[0034] Compared with existing technologies, traditional fixed password schemes present long-term security risks, while single timestamp verification can easily lead to service denial due to device clock desynchronization. This solution uses a dynamically changing time-sensitive password combined with a time window fault tolerance mechanism to ensure the security of temporary authorization while improving the system's adaptability to time deviations in actual usage scenarios, achieving a balance between security and usability.
[0035] Through the above technical solution, this application effectively solves the problem of secure transmission of temporary user charging authorization, avoiding the risk of fixed passwords being copied and abused. The dynamically generated time-sensitive pairing code is automatically transmitted via Bluetooth communication, ensuring the convenience of authorization when the owner is not present, while also preventing malicious replay attacks through time synchronization mechanisms and fault-tolerant verification. At the same time, the cross-time verification design significantly reduces the authorization failure rate caused by device clock asynchrony, improving the service reliability of the charging system.
[0036] 2) Furthermore, the present application further proposes that the time period identifier be divided in any of the following ways: encoding the time period in fixed duration units; generating interval identifiers based on the start time and end time.
[0037] Fixed duration units divide the timeline into segments at preset intervals, such as every hour or every five minutes, generating continuous time segment codes. This can be implemented using a periodically incrementing counter, with the code value for each time segment automatically updated at each interval. Interval identifiers dynamically generate unique time range markers based on the start and end times of charging operations, typically using a timestamp combination or hash value conversion.
[0038] Specifically, in the fixed-duration division method, the charging pile controller generates a new time period code every preset time period. For example, when the interval is set to 5 minutes, the system will divide the whole day into 288 independent time periods, and each time period corresponds to a unique code value. When the user initiates an authorization request, the system automatically generates a corresponding code based on the current time period. In the interval identifier division method, the authorized party can customize the charging time period, for example, set 10:00 to 12:00 as the effective charging period, and the system converts this time range into an identifier generated by specific coding rules. The two division methods use different time management strategies, which are respectively suitable for high-frequency scenarios that require periodic updates of pairing codes and appointment scenarios that require flexible setting of time windows.
[0039] Compared to existing technologies, existing charging systems typically use fixed time windows or a single time encoding method, which makes it difficult to balance the timeliness requirements of high-frequency use scenarios with the time flexibility needs of special scenarios. However, this solution provides two optional division methods, which not only ensures the regularity of time identification in common scenarios but also supports the dynamic definition of time intervals based on actual needs, thereby expanding the system's applicability.
[0040] Through the above technical solution, this application can select the optimal time division strategy according to different usage scenarios. In scenarios where pairing codes need to be frequently changed, fixed-duration division can ensure the timeliness of the pairing codes and reduce the risk of malicious cracking; in scenarios where temporary authorization is required, the interval division method allows users to independently define the valid period, avoiding authorization failures caused by time window mismatches. The coordinated application of these two division methods effectively improves the reliability and scenario adaptability of remote charging authorization.
[0041] 3) This application further proposes that the preset algorithm is a cryptographic hash algorithm or a custom algorithm, which operates on the combined value of the physical address and the time period identifier, and intercepts the specified number of bits to generate a temporary charging pairing code.
[0042] Among them, the cryptographic hash algorithm refers to a one-way irreversible hash function, which can be implemented using the SHA-256 or MD5 algorithm to ensure that the original parameters cannot be reversed through the pairing code, thereby preventing the data from being tampered with or forged.
[0043] A custom algorithm refers to an operation method that transforms input parameters according to preset rules. It can be implemented using bit shifting, XOR operations, or polynomial calculations. It balances security and computational efficiency by adjusting the algorithm complexity.
[0044] Combined value operation refers to numerical processing after concatenating the physical address and the time period identifier in a fixed order. Specifically, binary string merging or decimal value superposition can be used to bind the generated pairing code to the device identification and time information at the same time.
[0045] Truncating a specified number of digits means extracting some characters from the calculation result as the final pairing code. Specifically, the method of truncating the last 8 digits or the middle 16 digits can be used to reduce the length of user input and retain sufficient randomness.
[0046] Specifically, when a user initiates an authorization request, the charging pile controller concatenates the Bluetooth module's physical address and the current time period identifier into a pre-set string. This string is processed using a hash algorithm or a custom algorithm to generate an intermediate code of fixed length, such as a 64-bit hexadecimal value generated using SHA-256. A portion of the characters are then selected according to a pre-set interception rule, such as the last six digits, as a temporary charging pairing code. This pairing code is transmitted to the authorized user via the mobile terminal, and a verification code is regenerated at the charging pile using the same algorithm and parameters for matching.
[0047] Compared with existing technologies, traditional authorization methods often use fixed passwords or simple timestamp encryption, which poses the risk of passwords being intercepted and reused. This solution dynamically generates pairing codes that are strongly linked to the device's physical address and time. Each pairing code is valid only within a specific time period and cannot be derived from a single parameter, significantly improving the security of temporary authorization.
[0048] Through the above technical solution, this application realizes the dynamic generation and expiration control of temporary charging pairing codes, preventing the pairing codes from being maliciously reused across time periods or devices. At the same time, by truncating a fixed number of digits, the user's operation complexity is reduced, avoiding input errors caused by long pairing codes, and improving the usability of the authorization process while ensuring security.
[0049] 4) This application further proposes that time validity verification includes storing the last valid time of the charging pile. If the current time received is earlier than the stored time, it is determined to be abnormal.
[0050] Time validity verification refers to the process by which the charging station verifies the legitimacy of the time data sent by the mobile terminal. This can be achieved through a timestamp verification algorithm or clock synchronization protocol to prevent time tampering or forgery attacks. The last valid time refers to the previously verified time value recorded locally by the charging station. This can be stored using non-volatile storage media to ensure that data is not lost after a power outage. Time comparison refers to the numerical comparison of the received time with the locally stored time. This can be achieved through timestamp conversion or system clock difference calculation to detect reverse anomalies in time series.
[0051] Specifically, when a mobile terminal sends the current time to the charging station via Bluetooth, the charging station controller retrieves the last valid time data stored in the storage module. If the received timestamp is less than the stored timestamp, an exception detection mechanism is triggered, immediately terminating the charging authorization process. This determination process utilizes a one-way, incremental time verification mechanism, enforcing that each communication time must be strictly later than the previous one, thereby preventing the reuse of historical time data for illegal authorization.
[0052] Compared to existing technologies, traditional time verification methods only check whether the time is within a valid range and cannot identify reverse operations in the time series. By dynamically updating and verifying the time progression relationship, this solution can effectively intercept malicious attacks using time reversal, such as illegal operations that bypass system security mechanisms by falsifying historical time data.
[0053] Through the above technical solution, this application can prevent system authorization vulnerabilities caused by time data tampering, ensuring that charging piles only accept valid requests that comply with the time progression law. This mechanism is particularly suitable for temporary user charging scenarios. If a user attempts to authorize using expired or forged time data, the system can immediately terminate the illegal operation, thereby improving the security of remote charging authorization.
[0054] 5) The present application further proposes that the verification range of adjacent time periods includes the N time periods before and the M time periods after the current time period, where N and M are preset positive integers.
[0055] The adjacent time periods refer to the consecutive time periods before or after the current time period. This can be achieved by using a sliding time window or periodic time division to cover any offsets in the verification code generation interval caused by time deviations. N and M are preset positive integers representing the system's preset time window extension range values. This can be achieved by setting the values to 1 or 2, for example, which can be adjusted based on the system's tolerance for time errors.
[0056] Specifically, during the cross-time period fault-tolerant verification process, when the verification pairing code generated by the charging pile controller for the current time period is inconsistent with the received pairing code, the system will regenerate the verification pairing codes for the first N time periods and the last M time periods based on the physical address and time period identifier. For example, if N is set to 1 and M is set to 2, the system will sequentially generate pairing codes for the first, last, and last two time periods of the current time period for comparison. This method allows the charging pile to complete pairing code matching within an extended time window even when there is a slight deviation between the user device clock and the charging pile clock.
[0057] Compared to existing technologies, traditional Bluetooth pairing verification only generates keys at a single point in time, which can easily lead to verification failures when the clocks between devices are out of sync. This solution establishes an expandable time window range, allowing the pairing code to be valid for adjacent time periods, thereby eliminating verification failures caused by network delays, terminal clock errors, or user delays.
[0058] Through the above technical solution, this application can maintain the charging authorization success rate even in scenarios where there is a minute-level deviation between the user's mobile terminal and the charging station clock. For example, if the user's mobile phone time is 5 minutes behind the charging station time, the system can effectively accommodate the time difference by extending the verification code comparison by two time periods (for example, each time period is 3 minutes), avoiding charging interruptions caused by device clock desynchronization.
[0059] 6) The present application further proposes that the verification range of adjacent time periods includes the N time periods before and the M time periods after the current time period, where N and M are preset positive integers.
[0060] Among them, adjacent time periods refer to several continuous time periods adjacent to the current time point, which can be specifically achieved by dividing fixed time units or time interval identifiers, and are used to expand the verification range when there are errors in time synchronization.
[0061] The preset positive integer refers to a pre-set integer value, which can be specifically implemented as a value of 1 or 2, and is used to control the time window span allowed for verification.
[0062] The verification range includes the first N and last M time periods, which can be achieved by traversing and generating pairing codes for multiple time periods for comparison, to solve the authorization failure problem caused by the clock asynchrony between the mobile terminal and the charging pile.
[0063] Specifically, after receiving the temporary charging pairing code, the charging pile controller not only generates a verification pairing code for the current time period, but also generates verification pairing codes for the previous N and next M time periods based on the preset N and M values. For example, when N is set to 1 and M is set to 2, the system will generate a set of pairing codes for the current time period, the previous hour period, and the next two hours period. The controller will sequentially compare the received pairing code with the multiple generated pairing codes. If any pairing code matches successfully, the charging authorization mechanism is triggered. As a result, even if there is a time deviation between the mobile terminal and the charging pile, verification can still be completed within adjacent time periods.
[0064] Compared to existing technologies, traditional Bluetooth charging systems only verify pairing codes for the current time period. This can lead to authorization failures when the user's device clock deviates from the charging station by even minutes. This solution, however, extends the time window to cover adjacent time periods, ensuring authentication even when the time synchronization error is within a preset range. This effectively reduces service interruptions caused by network latency or device clock drift.
[0065] Through the above technical solution, this application allows temporary users to complete charging authorization in scenarios where there is a reasonable deviation in the charging pile time base. For example, when the mobile terminal is delayed in time update due to network delay, the system can still achieve fault-tolerant verification by comparing the pairing codes of adjacent time periods, thereby improving the availability and user experience of temporary charging services.
[0066] 7) The present application further proposes that the verification range of adjacent time periods includes the N time periods before and the M time periods after the current time period, where N and M are preset positive integers.
[0067] Among them, the adjacent time period refers to a time interval that is continuous or overlapping with the current time window. Specifically, it can be implemented by using a clock sharding mechanism or a sliding time window algorithm to construct a verification set within the allowable range of time error.
[0068] The preset positive integer refers to a predefined non-zero integer numerical parameter, which can be set through the system configuration interface or sent by a remote server to control the coverage of time fault tolerance verification.
[0069] Specifically, when the charging pile controller receives a temporary charging pairing code to be verified, if the verification pairing code generated in the current time period does not match, the time period identifiers of the first N time periods and the last M time periods are automatically retrieved, and multiple candidate verification codes are generated through the same algorithm. For example, in the case of network delay or terminal clock deviation in time synchronization, if N is set to 1 and M is set to 2, the system will simultaneously check the pairing code combination of the first 1 hour (assuming the time period unit is 1 hour) and the last 2 hours. Any match will trigger charging authorization. Therefore, when the clocks of the user's mobile terminal and the charging pile are out of sync or cross-time operations, service authorization can still be completed by extending the time window.
[0070] Compared to existing technologies, existing Bluetooth charging systems typically require strict time synchronization between the terminal and the device, and the pairing code is only valid within a single time window. This solution, by constructing a set of time periods that extend forward and backward, allows for identity verification to be completed through a multi-time window even in scenarios where the pairing code becomes invalid due to network latency, device clock errors, or user operations across time windows. For example, if a user generates a pairing code and the terminal time is not updated due to travel across time zones, the system can still ensure service continuity by verifying the device in adjacent time windows.
[0071] Through the above technical solution, this application effectively solves the pairing failure problem caused by time synchronization error during the temporary user charging authorization process, expands the time fault tolerance range while ensuring safety, and significantly improves the authorization success rate of cross-time charging requests.
[0072] 8) The present application further proposes that the verification range of adjacent time periods includes the N time periods before and the M time periods after the current time period, where N and M are preset positive integers.
[0073] Adjacent time periods refer to those that are consecutively arranged on the timeline with the current time period. This can be achieved using a sliding time window mechanism, for example, by dividing time into fixed-length units and generating identifiers sequentially. This feature is used to expand the scope of verification to address time synchronization deviations or communication delays.
[0074] The verification range refers to the number of adjacent time periods within which pairing code comparison is allowed. The size of the error-tolerance window can be controlled by setting the positive integers N and M. This feature allows the system to maintain the possibility of verification even when there are small errors in time synchronization.
[0075] The default positive integer is a non-zero integer value set by the system administrator and can be dynamically adjusted through the configuration file or management interface. This feature provides the system with flexibility, allowing it to adjust the fault tolerance range according to different scenarios.
[0076] Specifically, when the charging pile controller receives a temporary charging pairing code, if the verification pairing code of the current time period does not match the received value, the system will further generate verification pairing codes for the previous N time periods and the next M time periods for comparison. For example, when N is set to 1 and M is set to 2, the system will additionally check the pairing codes of the previous time period and the next two time periods. This mechanism allows users to achieve charging authorization through verification of adjacent time periods even when there are slight differences in time synchronization or operation delays, such as a lag in pairing code generation due to mobile terminal clock deviation, thereby avoiding authorization failures caused by time asynchrony.
[0077] Compared to existing technologies, traditional Bluetooth charging systems typically only verify pairing codes for the current time period, which can easily lead to authorization interruptions when there is clock skew or network latency between devices. This solution, however, significantly improves time tolerance while maintaining security by expanding the verification window to cover adjacent time periods, allowing users to complete the authorization process without having to precisely align system time.
[0078] Through the above technical solution, this application effectively solves the problem of temporary charging authorization failure caused by the clock asynchrony between the mobile terminal and the charging pile or operation delay, so that guest users can obtain charging services in actual use without repeatedly trying time calibration, while avoiding the security risks that may be introduced by expanding the time window.
[0079] 9) The present application further proposes that the verification range of adjacent time periods includes the N time periods before and the M time periods after the current time period, where N and M are preset positive integers.
[0080] Adjacent time periods refer to multiple time periods that are consecutively arranged in a time series with the current time period. This can be achieved by using time period units divided by fixed durations, such as time periods divided by 5-minute units. Preset positive integers refer to pre-set integer values. This can be achieved by setting the values of N and M in the system configuration interface, such as setting both N and M to 2. The time period verification range refers to the time span allowed for pairing code verification. This can be achieved by generating verification pairing codes for multiple time periods and comparing them. This range setting can cover time period misalignment issues caused by clock deviation or communication delays.
[0081] Specifically, when the charging pile controller receives the temporary charging pairing code sent by the device to be charged, it will generate verification pairing codes for the current time period and adjacent time periods based on the physical address of the Bluetooth module. The system will generate a set of pairing codes for the N time periods before and M time periods after the current time period according to the preset positive integers N and M. For example, when N=1 and M=1, the system will generate three sets of verification codes including the current time period, the previous time period, and the next time period. All generated verification codes will be compared item by item with the received temporary charging pairing code, and charging authorization will be triggered immediately when any pairing code matches successfully.
[0082] In some specific implementations, the value of the preset positive integer can be adjusted based on clock synchronization accuracy. For example, if the time synchronization error may reach 10 minutes, the time period unit can be set to 5 minutes, and N = 2 and M = 2 can be set. A caching mechanism can be used to generate pairing codes for adjacent time periods. Verification codes for the next M time periods can be calculated and stored in advance, and the cache queue can be automatically updated when the time period changes.
[0083] Compared to existing technologies, traditional Bluetooth charging systems only verify the pairing code for the current time period, which can lead to authorization failures when there is a clock discrepancy between the mobile terminal and the charging station. This solution, by expanding the verification range to include multiple adjacent time periods, effectively accommodates situations where there are minute-level time discrepancies between devices, while also avoiding issues with time period overlap caused by user delays.
[0084] Through the above technical solution, this application solves the problem of charging authorization failure caused by time synchronization deviation, and realizes cross-time fault-tolerant verification while maintaining security. When the user device fails to update the time period identifier in time due to network delay, the system can still complete charging authorization through pairing code verification of the adjacent time period, significantly improving the availability and operational fault tolerance of temporary user charging services.
[0085] 10) The present application further proposes that the verification range of adjacent time periods includes the N time periods before and the M time periods after the current time period, where N and M are preset positive integers.
[0086] The verification range for adjacent time periods refers to the ability to perform fault-tolerant matching of pairing codes within a certain range before and after the current time period during time synchronization verification. This is achieved by using preset integers N and M to define the forward and backward fault tolerance spans, respectively. The values of N and M can be configured based on actual scenario requirements. For example, when there is a significant risk of time synchronization deviation, N and M can be set to 2-3 time units. This feature effectively addresses the issue of time period identifier misalignment caused by factors such as clock deviation between the mobile terminal and the charging station, and network latency by expanding the verification window.
[0087] Specifically, when the charging pile controller receives the temporary pairing code sent by the device to be charged, it generates a reference verification code based on the physical address and the current time period. If the reference verification code does not match, it will further generate an extended verification code set for the first N time periods and the last M time periods for cross-comparison. For example, when N=1 and M=2, the system will generate four sets of verification codes for the first time period, the current time period, and the last two time periods for matching attempts. This multi-time period coverage mechanism allows authorization to be completed through an extended verification window even if a time error of half an hour occurs, avoiding charging interruptions caused by clock asynchrony.
[0088] Compared with existing technologies, traditional time-segmented verification schemes only support strict matching of a single time point, which can easily lead to verification failures when mobile terminal clock anomalies or Bluetooth communication delays occur. However, this scheme introduces a configurable fault tolerance window to achieve time synchronization tolerance while maintaining security. For example, in a scenario using 5-minute time segments, even if the device has a 10-minute clock deviation, cross-period verification can still be completed by setting the parameters N=2 and M=2.
[0089] Through the above technical solution, this application significantly improves the system robustness in remote authorization scenarios, ensuring that temporary users can still obtain charging services normally even when there are deviations in the mobile terminal clock or network latency fluctuations. In particular, in typical scenarios such as guest users experiencing terminal time lags due to incorrect time zone settings, or communication delays between host and guest devices, seamless charging authorization can be achieved through preset fault-tolerant period parameters, avoiding the frequent authorization failures that occur in traditional solutions.
[0090] The following are some specific examples:
[0091] A remote authorization method for a non-sensing Bluetooth charging system, the system comprising at least one non-sensing Bluetooth charging pile (X), the charging pile (X) having a built-in charging pile controller (Z), wherein the charging pile controller (Z) comprises a processor (E), a memory (F), and a Bluetooth module (L) having a unique physical address (R), and a non-sensing charging program (A) installed on a mobile phone (B / C), characterized in that the method comprises the following steps:
[0092] STEP01: Use the public synchronization code (T) to establish a communication connection between the guest's mobile phone (C) and the charging station (X) via Bluetooth connection;
[0093] STEP02: The sensorless charging program (A) running on the guest's mobile phone (C) reads the current time and sends it to the charging station (X), completing the time synchronization. If the charging station (X) finds that the current time is abnormal, it goes to STEP09 for execution.
[0094] STEP03: After completing the time synchronization, the guest notifies the charging station manager that the charging station (X) is ready.
[0095] STEP04: The administrator uses the non-sensing charging program (A) on the host's mobile phone (B) to obtain the current time of the mobile phone (B), combines it with the physical address (R) of the Bluetooth module (L), uses the temporary charging pairing code generation algorithm to generate a temporary charging pairing code (K1) for the current time period, and sends it to the guest for use;
[0096] STEP05: The guest inputs the temporary charging pairing code (K1) received into the new energy vehicle (D) to be charged. The charging pile controller (Z) receives the Bluetooth connection request with the temporary charging pairing code (K1) from the vehicle (D);
[0097] STEP06: The charging pile controller (Z) generates a temporary charging pairing code (K3) for the current time period based on the current time and the physical address (R) of the Bluetooth module (L) using the same temporary charging pairing code generation algorithm as the inductive charging program (A).
[0098] STEP07: Compare the temporary charging pairing code K3 for the current time period generated by the charging pile controller (Z) with the temporary charging pairing code (K1) received from the vehicle (D). If they are the same, allow the charging pile to establish a charging connection with the vehicle; go to STEP10 for execution.
[0099] STEP08: If they are different, calculate the temporary charging pairing code K2 of the previous time period and the temporary charging pairing code K4 of the next time period. If they are different, go to STEP09.
[0100] STEP09: The charging pile controller (Z) enters error mode and authorization fails.
[0101] STEP 10: The charging pile controller (Z) activates the charging mode, establishes the charging connection, and the authorization is successful.
[0102] Specifically, an algorithm for generating a temporary charging pairing code in this embodiment includes:
[0103] STEP 21: Divide a day into multiple time periods of equal length, with each time period having a fixed identifier.
[0104] STEP 22: When generating a temporary pairing code, a predetermined algorithm is used to generate a temporary pairing code (K1) based on a given time period identifier and the physical address (R) of the Bluetooth module;
[0105] The predetermined algorithm may be a standard hash algorithm such as SHA256, MD5, etc., and then processed, or may be a custom calculation method.
[0106] One specific implementation of the above custom calculation method is as follows:
[0107] Let (k1, k2, ..., k6) be a set of values calculated according to the following steps:
[0108] 1. First, calculate the sum of the ASCII values of each character in the time period string, denoted as ∑T.
[0109] 2. Multiply ∑T by each digit of the Bluetooth module's physical address (MAC address) to obtain an intermediate result array (∑T·m1,∑T·m2,...,∑T·m6), where (m1,m2,...,m6) are the first six digits of the MAC address.
[0110] 3. Divide each element in the intermediate result array by 2 to ensure that the change occurs even when all original values are even.
[0111] 4. Take the remainder of each element after adjustment to 10, that is, k i =(∑T·m i / 2) mod 10 to obtain the final sextuple (k1, k2, ..., k6).
[0112] The six-tuple (k1, k2, ..., k6) generated by the above process.
[0113] Specifically, if the charging pile (X) finds that the current time is abnormal, the charging pile (X) will not provide charging service; that is, the charging pile (X) will store the current time of each time it is synchronized in the memory (F), and the effective current time must be greater than the current time stored in the memory (F).
[0114] For the above fixed identifiers, if the time period is in hours, it is more convenient to calculate the start time of the string of 18:20 from 00:00.
[0115] It can be defined as SEG019 or 18001900, etc.
[0116] If the time period is 5 minutes, 18:20 can be defined as, and the identifier can be defined as N220 or 18201825, etc.
[0117] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A remote authorization method for a non-sensing Bluetooth charging system, based on the non-sensing Bluetooth charging system, the system includes a non-sensing Bluetooth charging pile (X), a charging pile controller (Z), and a non-sensing charging program (A) deployed on a mobile terminal, wherein the charging pile controller (Z) includes a processor (E), a memory (F), and a Bluetooth module (L) with a unique physical address (R), characterized in that: The following steps are involved: S1. Time synchronization verification: S11) The mobile terminal establishes communication with the charging pile (X) via the Bluetooth protocol and sends the current time to the charging pile (X); S12) The charging station (X) verifies the validity of the current time and terminates the authorization if it determines that the time is abnormal; S2. Dynamic pairing code generation: S21) generating a temporary charging pairing code using a preset algorithm based on the physical address (R) of the charging pile Bluetooth module and the current time period identifier; S22) transmitting the temporary charging pairing code from the authorizing party's mobile terminal to the authorized party; S3. Cross-period fault tolerance verification: S31) The charging pile controller (Z) receives the temporary charging pairing code sent by the device to be charged, and generates a verification pairing code based on the same physical address (R) and time period identifier; S32) If the pairing code verified in the current time period is consistent with the received pairing code, charging is authorized; S33) If they are inconsistent, further generate verification pairing codes for adjacent time periods for comparison. If any comparison is successful, charging is authorized.
2. The remote authorization method for the sensorless Bluetooth charging system according to claim 1, characterized in that: The time period identifier is divided in any of the following ways: 1) Time segment coding with fixed duration as unit; 2) An interval identifier generated based on the start time and end time.
3. The remote authorization method for the sensorless Bluetooth charging system according to claim 1, characterized in that: The preset algorithm is a cryptographic hash algorithm or a custom algorithm, which operates on the combined value of the physical address (R) and the time period identifier, and intercepts a specified number of bits to generate a temporary charging pairing code.
4. The remote authorization method for a non-sensing Bluetooth charging system according to claim 1, characterized in that: The time synchronization verification includes: the charging pile (X) stores the last valid time, and if the received current time is earlier than the stored time, it is determined to be abnormal.
5. The remote authorization method for the sensorless Bluetooth charging system according to claim 1, characterized in that: The verification range of the adjacent time periods includes the N time periods before and the M time periods after the current time period, where N and M are preset positive integers; Adjacent time periods refer to the continuous time periods before or after the current time period. They are implemented using a sliding time window or periodic time division method to cover the offset of the verification code generation interval caused by time deviation. N and M are preset positive integers, which refer to the time window extension range values preset by the system. The values can be adjusted according to the system's tolerance for time errors.
6. The remote authorization method for the sensorless Bluetooth charging system according to claim 5, characterized in that: Adjacent time periods refer to several consecutive time periods adjacent to the current time point, which are specifically implemented by dividing fixed time units or time interval identifiers. They are used to expand the verification range when there are errors in time synchronization; The preset positive integer refers to a pre-set integer value used to control the time window span allowed for verification; The verification range includes the first N and last M time periods. This can be achieved by traversing and generating pairing codes for multiple time periods for comparison. This is used to solve the authorization failure problem caused by the clock being out of sync between the mobile terminal and the charging pile.
7. The remote authorization method for the sensorless Bluetooth charging system according to claim 5, characterized in that: Adjacent time periods refer to time intervals that are continuous or overlapping with the current time window. They are implemented using a clock sharding mechanism or a sliding time window algorithm to construct a verification set within the allowable time error range. The preset positive integer refers to a predefined non-zero integer numerical parameter, which is set through the system configuration interface or sent by a remote server and is used to control the coverage of time fault tolerance verification.
8. The remote authorization method for the sensorless Bluetooth charging system according to claim 5, characterized in that: Adjacent time periods refer to the time periods before and after the current time period that are arranged consecutively on the time axis. This is achieved using a time window sliding mechanism to expand the verification scope to address time synchronization deviations or communication delays. The verification range refers to the number of adjacent time periods allowed for pairing code comparison. The size of the fault tolerance window is controlled by setting the values of positive integers N and M. The preset positive integer refers to a non-zero integer value preset by a system administrator, and is dynamically adjusted through a configuration file or a management interface.
9. The remote authorization method for the sensorless Bluetooth charging system according to claim 5, characterized in that: Adjacent time periods refer to multiple time periods that are consecutively arranged with the current time period in the time series, which are specifically implemented by using time period units divided by fixed durations. Preset positive integers refer to pre-set integer values, which are specifically implemented by setting the values of N and M in the system configuration interface. The time period verification range refers to the time span allowed for pairing code verification. This is achieved by generating verification pairing codes for multiple time periods and comparing them. This range setting can cover time period misalignment caused by clock deviation or communication delay.
10. The remote authorization method for the sensorless Bluetooth charging system according to claim 5, characterized in that: The verification range of adjacent time periods refers to the time synchronization verification process, which allows fault-tolerant matching of pairing codes within a certain range before and after the current time period. This is achieved by using preset integers N and M to define the forward and backward fault tolerance spans respectively. The values of N and M are configured according to actual scenario requirements. When there is a large risk of time synchronization deviation, set N and M to 2-3 time units.