A method and system for secure access authentication of new energy platform terminals

By generating physical timing feature vectors through a built-in random response circuit and hardware clock source in the new energy platform terminal, and combining this with the hash reconstruction of the authentication key by the authentication server, the problem of insufficient reproducibility and uniqueness of authentication results in the secure access authentication of the new energy platform terminal is solved, and deep binding of the terminal's physical characteristics and reliability of secure access authentication are achieved.

CN123122979APending Publication Date: 2026-11-17SHENZHEN YUENENG ENERGY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611482496.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-22
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

In existing new energy platform terminal security access authentication technologies, terminal identity authentication is independent of physical operating status, the reproducibility and uniqueness of authentication results are insufficient, there is a risk of forgery or replay, and the physical randomness and real-time operating status of the terminal are not effectively utilized.

Method used

The terminal has a built-in random response circuit, power output monitoring interface and hardware clock source to generate physical timing feature vector. Combined with the hash of the authentication server, the one-time authentication key is reconstructed. Through hardware linkage between the sampling trigger end and the counting overflow end, the authentication key is deeply bound to the physical characteristics of the terminal. Power device modulation and frequency domain feature analysis are used to achieve dual access determination.

Benefits of technology

It effectively resists identity forgery and message replay attacks, ensures the uniqueness and reproducibility of authentication keys, and improves the reliability and protection capabilities of secure access authentication for new energy platform terminals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123122979A_ABST
    Figure CN123122979A_ABST
Patent Text Reader

Abstract

This invention relates to the field of electrical data communication transmission technology, and in particular to a secure access authentication method and system for new energy platform terminals. The method includes the following steps: after the terminal is powered on, a random response circuit generates a basic response value, and a power output monitoring interface collects the transient ripple of the power device during startup; a hardware clock source collects the drift rate relative to the authentication server's reference clock, and the ripple frequency domain characteristics and drift rate are concatenated to form a physical timing feature vector; the terminal sends an identity identifier and an access request, and the authentication server issues a dynamic challenge value containing a random bit sequence and power output modulation instructions. This invention, through the coordinated setting of the random response circuit, the power output monitoring interface, and the hardware clock source, fuses the initial state of the storage array, the transient ripple frequency domain characteristics, and the clock drift rate to generate physical timing features, binding the authentication key to the terminal's physical randomness and real-time operating state, thereby improving the anti-replay capability of new energy platform terminal access authentication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electrical data communication transmission technology, and in particular to a method and system for secure access authentication of new energy platform terminals. Background Technology

[0002] New energy platforms typically connect to a large number of distributed terminals, such as photovoltaic inverters, energy storage converters, charging piles, and wind turbine controllers. These terminals interact with the platform's authentication server via a communication network to complete identity verification before they can report data and receive control commands. Due to the wide distribution of new energy terminals, the significant differences in their operating environments, and the limited computing resources of some terminals, their secure access authentication must ensure the authenticity of the identity while also considering the computational burden on the terminal side.

[0003] In existing security authentication technologies, terminal secure access authentication mostly relies on digital certificates or pre-set keys to complete identity verification. The authentication process is independent of the terminal's physical operating state. Once the authentication message is intercepted, attackers still have the risk of forgery or replay without knowing the terminal's hardware characteristics. At the same time, existing authentication schemes lack effective utilization of the terminal's random characteristics after power-on, the transient ripple of power device startup, and hardware clock drift, making it difficult to deeply bind the authentication key with the terminal's own physical random characteristics and real-time operating state, resulting in insufficient reproducibility and uniqueness of the authentication results. Summary of the Invention

[0004] Therefore, it is necessary to provide a method and system for secure access authentication of new energy platform terminals to solve at least one of the above-mentioned technical problems.

[0005] To achieve the above objectives, a secure access authentication method for a new energy platform terminal is provided. The terminal has a built-in random response circuit, a power output monitoring interface, and a hardware clock source, and is connected to an authentication server via a communication network. The method includes the following steps: Step S1: After the terminal is powered on, the random response circuit generates the basic response value, the power output monitoring interface collects the transient ripple of the power device at startup; the hardware clock source collects the drift rate relative to the authentication server's reference clock, and concatenates the ripple frequency domain characteristics with the drift rate to form a physical timing feature vector. Step S2: The terminal sends an identity identifier and access request, and the authentication server issues a dynamic challenge value containing a random bit sequence and power output modulation instructions; Step S3: The terminal inputs the dynamic challenge value into the random response circuit to generate the circuit response value. At the same time, it drives the power device according to the power output modulation command and collects the modulation response waveform by the power output monitoring interface. The circuit response value, the frequency domain characteristics of the modulation response waveform and the physical timing feature vector are hashed to generate a one-time authentication key. The identity identifier is encrypted and an authentication message is generated and sent. Step S4: Based on the pre-stored valid response mapping and physical time sequence feature benchmark, the authentication server reconstructs the one-time authentication key with the same hash and decrypts the authentication message. If the identity identifier matches and the deviation of the physical time sequence feature vector is less than the threshold, access is allowed; otherwise, it is rejected.

[0006] This invention also provides a new energy platform terminal security access authentication system for executing the above-described new energy platform terminal security access authentication method. The new energy platform terminal security access authentication system includes: The timing feature construction module is used to generate basic response values ​​by the random response circuit after the terminal is powered on, and to collect the transient ripple of the power device startup by the power output monitoring interface; the hardware clock source collects the drift rate relative to the reference clock of the authentication server, and concatenates the ripple frequency domain features with the drift rate to form a physical timing feature vector. The request sending module is used by the terminal to send its identity identifier and access request, and the authentication server to issue a dynamic challenge value containing a random bit sequence and power output modulation instructions; The key generation module is used by the terminal to input the dynamic challenge value into the random response circuit to generate the circuit response value, and at the same time drive the power device according to the power output modulation command and collect the modulation response waveform by the power output monitoring interface; the circuit response value, the frequency domain characteristics of the modulation response waveform and the physical time sequence feature vector are hashed to generate a one-time authentication key, and the identity identifier is encrypted to generate an authentication message for transmission. The access authentication determination module is used by the authentication server to reconstruct the one-time authentication key and decrypt the authentication message based on the pre-stored valid response mapping and physical time sequence feature benchmark. If the identity identifier matches and the deviation of the physical time sequence feature vector is less than the threshold, access is allowed; otherwise, it is rejected.

[0007] The beneficial effects of this invention are: On the one hand, by coordinating the random response circuit, power output monitoring interface, and hardware clock source, the initial state of the storage array after power-on reset, the transient ripple frequency domain characteristics of the power device startup, and the clock drift rate are fused to generate a physical timing feature vector. This deeply binds the generation of the authentication key to the terminal's own physical randomness and real-time operating state. Even if an attacker intercepts the identity identifier or authentication message, they cannot reconstruct the one-time authentication key without knowing the stable bit distribution of the terminal's storage array, ripple harmonic parameters, and the drift characteristics of the counter register, thus effectively resisting message replay and identity forgery attacks.

[0008] On the other hand, by linking the sampling trigger end and the counting overflow end in hardware, attenuating the high voltage signal of the power transmission line by a voltage divider resistor network at a fixed ratio, and binding the sampling buffer and the hardware clock source counting overflow signal for storage, the acquisition time of the modulation response waveform and the counting time of the hardware clock source are kept in a fixed phase relationship, ensuring that the ripple frequency domain characteristics and clock drift rate are reproducible and unique in each access authentication. At the same time, the authentication server reconstructs the one-time authentication key based on the pre-stored legal response mapping and physical timing characteristic benchmark, and calculates the comprehensive deviation by assigning weights according to the harmonic order from large to small and by making the mean deviation weight greater than the variance deviation weight, thus realizing dual access determination of cryptographic verification and physical feature verification. Attached Figure Description

[0009] Figure 1 This is a schematic diagram illustrating the process of a terminal sending an identity identifier and an access request according to an embodiment of the present invention; Figure 2 This is a schematic diagram of the process for constructing a fused data block request according to an embodiment of the present invention; Figure 3 This is a schematic diagram of communication interaction according to an embodiment of the present invention; Figure 4 This is a schematic diagram of a new energy platform terminal security access authentication system module according to the present invention; The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0010] The technical method of the present invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.

[0011] Furthermore, the accompanying drawings are merely illustrative of the invention and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor methods and / or microcontroller methods.

[0012] It should be understood that although the terms "first," "second," etc., may be used herein to describe various units, these units should not be limited by these terms. These terms are used merely to distinguish one unit from another. For example, without departing from the scope of the exemplary embodiments, a first unit may be referred to as a second unit, and similarly, a second unit may be referred to as a first unit. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.

[0013] To achieve the above objectives, please refer to Figures 1 to 4 A secure access authentication method for a new energy platform terminal, wherein the terminal has a built-in random response circuit, a power output monitoring interface, and a hardware clock source, and is connected to an authentication server via a communication network, the method comprising the following steps: Preferably, in step S1: after the terminal is powered on, the random response circuit generates a basic response value, the power output monitoring interface collects the transient ripple of the power device at startup, and the hardware clock source collects the drift rate relative to the reference clock of the authentication server, and splices the ripple frequency domain features and the drift rate into a physical timing feature vector. Optionally, the random response circuit includes a memory array arranged by row and column addresses. The specific steps in step S1 for the random response circuit to generate the basic response value are as follows: At the moment the terminal is powered on, the random response circuit selects each row of the internal storage array, synchronously reads the initial state of each column storage cell in each row after power-on reset, and arranges them according to column address as the initial bit sequence of that row. After reading the initial state of each row one by one, the initial bit sequences of each row are concatenated according to the row address to form the initial bit sequence; The initial bit sequence is sampled multiple times upon power-on, and the number of times each bit flips is counted. Bits with a flip count higher than a set number are marked as unstable bits, and bits with a flip count lower than a set number are marked as stable bits. The stable bits are backfilled to the corresponding physical locations in the storage array according to their original row and column addresses to form a stable bit sequence; The stable bit sequence is bitwise XORed with the physical timing feature vector acquired during this power-on acquisition to generate the basic response value.

[0014] In this embodiment, the random response circuit includes a memory array arranged by row and column addresses. The memory array has 64 rows and 64 columns, totaling 4096 memory cells. Each memory cell outputs a single binary initial state upon power-on reset. At the moment the terminal powers on, the random response circuit sequentially applies row strobe signals to rows 1 through 64 of the memory array. The pulse width of the row strobe signal is 10 nanoseconds, and the interval between adjacent row strobe signals is 5 nanoseconds. When each row is strobe-enabled, the initial states of the 64 memory cells in that row after power-on reset are synchronously read and arranged in column order from column 1 to column 64, forming the row initial bit sequence, which is 64 bits long.

[0015] Specifically, after reading the initial state of rows 1 to 64 line by line, the 64 initial bit sequences are concatenated according to their row addresses from row 1 to row 64 to form an initial bit sequence of length 4096 bits. The initial bit sequence is continuously sampled 32 times upon power-on. The above line-by-line selection and reading process is repeated for each power-on sampling. The terminal is completely powered off and then powered on again between each power-on sampling, with a power-off duration of 100 milliseconds. The number of times each of the 4096 bits flips during the 32 power-on samplings is counted bit by bit. Bits with more than 8 flips are marked as unstable bits, and bits with 8 or fewer flips are marked as stable bits.

[0016] Furthermore, the stable bits are backfilled to the corresponding physical locations in the storage array according to their original row and column addresses. That is, if the bit in row i and column j is a stable bit, it retains its initial state after power-on reset; if it is an unstable bit, it is removed from the storage array. The remaining stable bits are arranged in the order of row address from row 1 to row 64 and column address from column 1 to column 64 to form a stable bit sequence. The length of this stable bit sequence is 4096 bits minus the number of unstable bits removed. The stable bit sequence is then XORed with the physical timing feature vector acquired during this power-on process. The physical timing feature vector is 4096 bits long. During the XOR operation, the first bit of the stable bit sequence is aligned with the first bit of the physical timing feature vector, and the XOR operation is performed bit by bit. The XOR result is backfilled to the corresponding physical locations in the storage array according to their original row and column addresses to generate a basic response value, which is 4096 bits long.

[0017] Optionally, the stable bit sequence can be XORed with the physical timing feature vector acquired during this power-on process, including: Read the stable bit sequence and record the number of unstable bits between two adjacent stable bits as the interval bits; The frequency domain characteristics of the ripple obtained by frequency domain transformation of the startup transient ripple collected by the power output monitoring interface, and the clock drift rate collected by the hardware clock source are expanded into a binary bit sequence in dimensional order. Based on the number of bits in a stable bit sequence, the binary bit sequence is grouped with a step size of bits, and the grouped binary bit sequences are cyclically shifted bit by bit to align the bits of the two sequences. XOR the aligned stable bit sequence with the grouped binary bit sequence bit by bit; The XOR result is backfilled to the corresponding physical location in the storage array according to the original row and column addresses to generate the basic response value.

[0018] In one embodiment, a stable bit sequence is read, which has been backfilled to the corresponding physical location in the storage array according to the original row address and column address. The physical coordinates of each stable bit in the storage array are traversed, and the coordinate difference between two adjacent stable bits is calculated one by one. The value obtained by subtracting one from the column address difference between two stable bits with the same row address and adjacent column addresses is recorded as the first type of interval bit. The value obtained by subtracting one from the row address difference between two stable bits with adjacent row addresses and column addresses respectively (last column of the current row and first column of the next row) and multiplying it by the number of columns in the storage array is recorded as the second type of interval bit. The first type of interval bit and the second type of interval bit are arranged in the order of stable bits to form an interval bit sequence. The length of the interval bit sequence is equal to the number of stable bits in the stable bit sequence minus one.

[0019] The ripple frequency domain characteristics obtained by fast Fourier transforming the startup transient ripple collected by the power output monitoring interface, together with the clock drift rate collected by the hardware clock source, are expanded into a binary bit sequence in dimensional order. The ripple frequency domain characteristics include nine amplitude parameters from the fundamental amplitude to the ninth harmonic amplitude and eight phase parameters from the second harmonic phase to the ninth harmonic phase. The clock drift rate includes two parameters: drift mean and drift variance. Each parameter is represented by 16 bits and arranged in the order of amplitude parameter, phase parameter, drift mean, and drift variance to form a binary bit sequence of length 304 bits.

[0020] In another embodiment, based on the number of bits in the stable bit sequence, the first to the 304th bits of the binary bit sequence are divided sequentially according to the interval bits in the interval bit sequence. During the division, starting from the first bit of the binary bit sequence, each interval bit is read and the number of bits in the current group is increased by one. The binary bits of the current bit sequence are extracted from the current starting bit of the binary bit sequence as the current group until the entire binary bit sequence is divided. The groups are arranged in the order of division. The groups are then cyclically shifted left in the order of arrangement of the binary bit sequence. The number of bits shifted left is the quotient obtained by dividing the number of bits in the stable bit sequence by the number of groups, so that the total number of bits in the sequence obtained by splicing the groups after cyclic shifting left is consistent with the number of bits in the stable bit sequence.

[0021] The aligned stable bit sequence is XORed bit by bit with the binary bit sequence obtained by cyclically shifting the grouped bits to the left. During the XOR operation, the first stable bit in the stable bit sequence is aligned with the first bit of the concatenated binary bit sequence. The XOR operation is performed bit by bit. The XOR result is backfilled to the corresponding physical location according to the original row address and column address of the stable bit in the storage array to generate the basic response value. The length of the basic response value is the same as the number of bits in the stable bit sequence.

[0022] Optionally, the power output monitoring interface has an analog acquisition channel and a sampling buffer. Specifically, in step S1, the power output monitoring interface acquires the transient ripple during the startup of the power device as follows: After the terminal is powered on, the power output monitoring interface synchronously samples the voltage signal at the output of the power device using a sampling window triggered by a hardware clock source. The sampling frequency is higher than the switching frequency of the power device. Within each sampling window, the analog acquisition channel of the power output monitoring interface sequentially samples and holds the voltage signal at the output of the power device and performs analog-to-digital conversion. The conversion results are stored in the sampling buffer according to the sampling window order. A fast Fourier transform is performed on the voltage signal in the sampling buffer to extract the fundamental amplitude, second harmonic amplitude, and so on up to the multiple harmonic amplitudes in sequence, and the phase of each harmonic is extracted simultaneously. Arrange the amplitude values ​​of each harmonic according to their harmonic order to form an amplitude sequence, arrange the phase values ​​of each harmonic according to their harmonic order to form a phase sequence, and then concatenate the amplitude sequence and the phase sequence in the order of amplitude first and phase last to form the ripple frequency domain characteristics.

[0023] In one embodiment, the analog acquisition channel range of the power output monitoring interface is set to 0 volts to 500 volts, the analog-to-digital conversion bit depth is 12 bits to 16 bits, and the storage depth of the sampling buffer is 1024 sampling points to 4096 sampling points. After the terminal is powered on, the hardware clock source outputs a trigger signal with a period of 10 microseconds to 100 microseconds. The power output monitoring interface uses this trigger signal as the start time of the sampling window. Within each sampling window, it performs a sample-and-hold and analog-to-digital conversion on the voltage signal at the output of the power device. The sampling frequency is two to ten times the switching frequency of the power device, which is 5 kHz to 20 kHz. Within the first 100 milliseconds to 500 milliseconds after the terminal is powered on, the power output monitoring interface synchronously samples the voltage signal at the output of the power device. The voltage signal obtained from each sampling is stored in the sampling buffer according to the sampling window sequence.

[0024] Within each sampling window, the analog acquisition channel of the power output monitoring interface sequentially performs sample-and-hold and analog-to-digital conversion on the voltage signal at the output of the power device. The sample-and-hold time is 1 microsecond to 10 microseconds, and the analog-to-digital conversion time is 2 microseconds to 20 microseconds. The conversion result is a 12-bit to 16-bit binary value, corresponding to a value range of 0 volts to 500 volts. The conversion results of each sampling window are stored in the sampling buffer in the order in which the sampling window is generated. The first storage location of the sampling buffer stores the conversion result of the first sampling window, the second storage location stores the conversion result of the second sampling window, and so on. After the sampling buffer is full, the power output monitoring interface outputs the conversion results in the sampling buffer in the order of their storage locations.

[0025] In another embodiment, a Fast Fourier Transform (FFT) is performed on the voltage signal in the sampling buffer. The number of points in the FFT ranges from 1024 to 4096, resulting in multiple frequency components. The frequency resolution is equal to the sampling frequency divided by the number of transformation points. Multiple amplitude parameters, including the fundamental amplitude, second harmonic amplitude, and multiple harmonic amplitudes, are extracted sequentially from each frequency component. Simultaneously, multiple phase parameters, including the second harmonic phase and multiple harmonic phases, are extracted. Each amplitude parameter is represented by 16 bits of binary data, and each phase parameter is represented by 16 bits of binary data.

[0026] The amplitude parameters are arranged in harmonic order from the fundamental wave to the multiple harmonics to form an amplitude sequence, and the phase parameters are arranged in harmonic order from the second harmonic to the multiple harmonics to form a phase sequence. The sum of the lengths of the amplitude sequence and the phase sequence equals the total number of harmonic orders. The amplitude sequence and the phase sequence are concatenated in the order of amplitude first and phase last. When concatenating, the fundamental wave amplitude in the amplitude sequence is arranged first, followed by the second harmonic amplitude to the multiple harmonic amplitudes. The corresponding harmonic phase is arranged after each harmonic amplitude, and so on, until the corresponding harmonic phase is arranged after the multiple harmonic amplitudes, thus forming a ripple frequency domain feature. The length of this ripple frequency domain feature is 256 bits to 512 bits.

[0027] Optionally, synchronous sampling of the voltage signal at the output of the power device using a sampling window triggered by a hardware clock source includes: The sampling trigger terminal of the power output monitoring interface is connected to the counting overflow terminal of the hardware clock source through the same trigger line, so that the starting time of the sampling window and the counting overflow time of the hardware clock source maintain a fixed phase relationship. The analog acquisition end of the power output monitoring interface is connected to the power transmission line at the output end of the power device. A voltage divider resistor network is set between the analog acquisition end and the power transmission line to attenuate the high voltage signal on the power transmission line by a fixed ratio before sending it into the analog acquisition channel. When the sampling buffer is full of a batch of conversion results, the power output monitoring interface sends a sampling completion signal back to the hardware clock source. The hardware clock source latches the current count value as the timing reference for the batch of sampled data. The power output monitoring interface binds and stores the conversion results in the sampling buffer with the timing reference of the batch of sampled data, which can be called when constructing ripple frequency domain characteristics.

[0028] In this embodiment, the sampling trigger terminal of the power output monitoring interface and the counting overflow terminal of the hardware clock source are connected through the same printed circuit board trace. The length of the trace is controlled between 10 mm and 30 mm, and pull-up resistors are set at both ends of the trace, with a resistance value of 1 kΩ to 10 kΩ. Each time the counting overflow terminal of the hardware clock source outputs a counting overflow signal, the signal is simultaneously sent to the sampling trigger terminal of the power output monitoring interface through the trace. The phase deviation between the start time of the sampling window and the counting overflow time is controlled between 1 nanosecond and 10 nanoseconds. The power output monitoring interface starts the sampling window when the rising edge of the signal at the sampling trigger terminal arrives, and the duration of the sampling window is between 1 microsecond and 5 microseconds.

[0029] The analog acquisition terminal of the power output monitoring interface is connected to the power transmission line at the output of the power device. The voltage signal amplitude on the power transmission line is 100 volts to 500 volts. A voltage divider resistor network is set between the analog acquisition terminal and the power transmission line. The voltage divider resistor network consists of a first resistor and a second resistor connected in series. The resistance of the first resistor is 1 megohm to 10 megohms, and the resistance of the second resistor is 1 kilohm to 10 kilohms. One end of the first resistor is connected to the power transmission line, and the other end of the first resistor is connected to one end of the second resistor and serves as the voltage divider output terminal. The other end of the second resistor is connected to the reference ground. After the high voltage signal on the power transmission line is divided by the first resistor and the second resistor, the voltage signal amplitude at the voltage divider output terminal is 0.1 volts to 5 volts. The voltage divider output terminal is connected to the input terminal of the analog acquisition channel. The analog acquisition channel performs sample-and-hold and analog-to-digital conversion on the voltage signal at the voltage divider output terminal.

[0030] When the sampling buffer is full, with a batch of conversion results ranging from 1024 to 4096, the power output monitoring interface sends a sampling completion signal back to the hardware clock source. This sampling completion signal is a pulse signal with a width of 10 to 100 nanoseconds. Upon receiving the sampling completion signal, the counting overflow terminal of the hardware clock source latches the current count value of the counting register into the timing latch register. This count value serves as the timing reference for the batch of sampled data. The timing reference records the count overflow signal sequence number corresponding to the first conversion result in the batch. The power output monitoring interface binds and stores each conversion result in the sampling buffer with the timing reference for the batch of sampled data. During binding and storage, the timing reference is written into the header identifier field of the sampling buffer. Each conversion result is arranged in the sampling window order after the header identifier field, forming a sampling data block with a timing reference, which is used to construct ripple frequency domain characteristics.

[0031] Optionally, the hardware clock source includes a counter register, an overflow comparison register, and a timing latch register. Specifically, in step S1, the hardware clock source acquires the drift rate relative to the authentication server's reference clock as follows: The counter register increments according to a fixed counting period. When it increments to the value of the overflow comparison register, it outputs a count overflow signal. At the same time, the current value of the counter register is latched into the timing latch register, and the sequence number of the count overflow signal relative to the power-on time of the terminal is recorded. The terminal stores the count value and sequence number in the timing latch register in sequence, and the authentication server's reference clock latches the count value and sequence number in the same way. The terminal successively subtracts the count values ​​with the same sequence number on both sides, and divides the difference by the number of counts to obtain the single drift value; The mean drift is obtained by summing multiple single drift values ​​and dividing by the number of times. The variance drift is obtained by subtracting the minimum value from the maximum value among multiple single drift values. The mean drift and the variance drift are then concatenated to form the clock drift rate.

[0032] In one embodiment, the counting register is 32 bits, the counting period is 1 microsecond to 10 microseconds, and the overflow comparison register has a value of 1000 to 10000. Taking a counting period of 2 microseconds and an overflow comparison register value of 5000 as an example, the counting register increments sequentially at 2-microsecond intervals starting from the moment the terminal is powered on. Every time it increments to 5000, the hardware clock source outputs a counting overflow signal with a width of 50 nanoseconds and a period of 10 milliseconds. Simultaneously with outputting the counting overflow signal, the hardware clock source writes the current value of the counting register to a timing latch register via a 32-bit parallel data bus. The timing latch register latches the current value of the counting register and outputs stable data. The hardware clock source includes a 16-bit sequence counter, which is cleared at the moment the terminal is powered on and increments once for each output counting overflow signal. The current value of the sequence counter is the sequence number of the counting overflow signal relative to the moment the terminal is powered on.

[0033] Specifically, the terminal stores the count value in the timing latch register and the sequence number of the sequence counter in sequence. During storage, the count value is written to the storage location corresponding to the sequence number using the sequence number as an index, forming a terminal-side counting sequence. Taking sequence numbers 1 to 5 as an example, the count value corresponding to sequence number 1 in the terminal-side counting sequence is 4980, the count value corresponding to sequence number 2 is 4995, the count value corresponding to sequence number 3 is 5010, the count value corresponding to sequence number 4 is 4990, and the count value corresponding to sequence number 5 is 5005. The counting period of the authentication server's reference clock is the same as the counting period of the terminal's hardware clock source. The authentication server's reference clock latches the count value and the sequence number in the same way each time the count overflows, forming a server-side counting sequence. In the server-side counting sequence, the count value corresponding to sequence number 1 is 5000, the count value corresponding to sequence number 2 is 5000, the count value corresponding to sequence number 3 is 5000, the count value corresponding to sequence number 4 is 5000, and the count value corresponding to sequence number 5 is 5000.

[0034] In another embodiment, the terminal successively subtracts the count values ​​with the same sequence number on both sides. The difference corresponding to sequence number 1 is 4980 minus 5000 equals -20, the difference corresponding to sequence number 2 is 4995 minus 5000 equals -5, the difference corresponding to sequence number 3 is 5010 minus 5000 equals 10, the difference corresponding to sequence number 4 is 4990 minus 5000 equals -10, and the difference corresponding to sequence number 5 is 5005 minus 5000 equals 5. Each difference is divided by the count count within the time period corresponding to that sequence number. The count count is equal to the value of the overflow comparison register, 5000. The single drift value corresponding to sequence number 1 is -20 divided by 5000 equals... The single drift value corresponding to index 2 is -0.004, which is -5 divided by 5000 equals -0.001. The single drift value corresponding to index 3 is 10 divided by 5000 equals 0.002. The single drift value corresponding to index 4 is -10 divided by 5000 equals -0.002. The single drift value corresponding to index 5 is 5 divided by 5000 equals 0.001. Repeat the above subtraction and division process to obtain multiple single drift values, with the number of single drift values ​​ranging from 10 to 50. Sum the multiple single drift values ​​and divide by the number to obtain the drift mean. Subtract the minimum value from the maximum value among the multiple single drift values ​​to obtain the drift variance.

[0035] It should be noted that the drift mean and drift variance are concatenated in the order of drift mean first and drift variance last. When concatenating, the 16-bit binary of the drift mean is placed first, and the 16-bit binary of the drift variance is placed after the drift mean, forming the clock drift rate, which is 32 bits long. The ripple frequency domain feature is placed before the clock drift rate, and the last bit of the ripple frequency domain feature is immediately followed by the first bit of the clock drift rate. The concatenation of the ripple frequency domain feature and the clock drift rate forms the physical timing feature vector.

[0036] Of particular importance is that the hardware clock source outputs the count overflow signal, which includes: The counting overflow terminal of the hardware clock source is connected to the sampling trigger terminal of the power output monitoring interface via a trigger line; Each time the hardware clock source outputs a count overflow signal, the power output monitoring interface starts a sampling window to sample the voltage signal at the output of the power device. While outputting the count overflow signal, the hardware clock source latches the current value of the count register into the timing latch register, and writes the sequence number of the count overflow signal relative to the power-on time of the terminal into the timing latch register. The terminal stores the count value and sequence number in the timing latch register in sequence. The authentication server's reference clock latches the count value and sequence number in the same way. The terminal subtracts the count values ​​with the same sequence number on both sides to obtain multiple single drift values.

[0037] In one embodiment, the counting overflow terminal of the hardware clock source is connected to the sampling trigger terminal of the power output monitoring interface via a trigger line. After the counting overflow signal output by the counting overflow terminal is transmitted to the sampling trigger terminal via the trigger line, the power output monitoring interface starts a sampling window when the rising edge of the counting overflow signal arrives. During the sampling window, the voltage signal at the output terminal of the power device is sampled and held and converted from analog to digital. The duration of the sampling window and the sum of the analog-to-digital conversion time are less than the period of the counting overflow signal.

[0038] Taking a count overflow signal period of 10 milliseconds as an example, the hardware clock source outputs the first count overflow signal in the 10th millisecond after the terminal is powered on. After receiving the first count overflow signal at the sampling trigger end, the power output monitoring interface starts the first sampling window and performs the first sample-and-hold and analog-to-digital conversion on the voltage signal at the output of the power device. The hardware clock source outputs the second count overflow signal in the 20th millisecond, and the power output monitoring interface starts the second sampling window. And so on. For each count overflow signal output by the hardware clock source, the power output monitoring interface starts a sampling window. The number of sampling windows is the same as the number of count overflow signals. The deviation between the start time of the sampling window and the output time of the count overflow signal is less than the analog-to-digital conversion time.

[0039] In another embodiment, while outputting the count overflow signal, the hardware clock source latches the current value of the count register into the timing latch register, and writes the sequence number of the count overflow signal relative to the power-on time of the terminal into the timing latch register. The timing latch register concatenates the count value and the sequence number and outputs stable data. The terminal stores the count value and the sequence number in the timing latch register in sequence. When storing, the count value is written to the storage location corresponding to the sequence number using the sequence number as an index, forming a terminal-side counting sequence. In the terminal-side counting sequence, the count value corresponding to sequence number 1 is the current value of the count register at the time of the first count overflow signal output, the count value corresponding to sequence number 2 is the current value of the count register at the time of the second count overflow signal output, and so on.

[0040] The counting period of the reference clock on the authentication server side is the same as that of the terminal hardware clock source. The reference clock on the authentication server side latches the count value and sequence number in the same way each time the count overflows, forming a server-side counting sequence. The terminal appends the start and end sequence numbers of the terminal-side counting sequence to the access request message and sends it to the authentication server. The authentication server reads the count value between the start and end sequence numbers from the server-side counting sequence and subtracts it from the count value corresponding to the same sequence number in the terminal-side counting sequence, obtaining multiple single drift values. The number of single drift values ​​is equal to the end sequence number minus the start sequence number plus one.

[0041] Preferably, in step S2: the terminal sends an identity identifier and an access request, and the authentication server issues a dynamic challenge value containing a random bit sequence and a power output modulation instruction; See Figure 1 In step S2, the terminal sends the identity identifier and access request, including: The terminal concatenates the identity identifier with the message digest value of the physical timing feature vector generated during this power-on to form an access request message; The timing identifier for this power-on is appended to the access request message. This timing identifier is generated by the hardware clock source by counting continuously at fixed periods after power-on. After receiving the access request message, the authentication server reads the timing identifier and calculates the difference between it and the timing identifier of the terminal's most recent successful access recorded by the authentication server. If the difference is less than or equal to zero, the access request is discarded. If the difference is greater than zero, the authentication server will issue a dynamic challenge value.

[0042] In one embodiment, the terminal concatenates a 16-byte identity identifier with the message digest value of the physical timing feature vector generated during the current power-on, in the order of identity identifier first and message digest value last, to form an access request message. The message digest value of the physical timing feature vector is obtained by applying SM3 message digest operation to the physical timing feature vector. The output length of the SM3 message digest operation is 32 bytes, and the first 16 bytes are taken as the message digest value used for concatenation. The data segment length of the access request message is 32 bytes.

[0043] A timing identifier for this power-on is appended to the access request message. This timing identifier is generated by a hardware clock source that counts continuously at a fixed period after power-on. The counting period of the hardware clock source is 1 microsecond to 10 microseconds. Taking a counting period of 2 microseconds as an example, the timing identifier count is 500,000 in the first second after the terminal is powered on, 1,000,000 in the second second, 1,500,000 in the third second, and so on. The timing identifier is represented by an 8-byte unsigned integer and is appended to the identity identifier and message digest value in the access request message. The total length of the access request message is 40 bytes.

[0044] In another embodiment, after receiving the access request message, the authentication server reads the timing identifier and subtracts it from the timing identifier of the terminal's most recent successful access recorded by the authentication server. For example, if the timing identifier of the terminal's most recent successful access recorded by the authentication server is 1500000, and the timing identifier in the current access request message is 2000000, then the difference is 2000000 minus 1500000 equals 500000, which is greater than zero. If the timing identifier in the current access request message is 1000000, then the difference is 1000000 minus 1500000 equals -500000, which is less than zero. If the timing identifier in the current access request message is 1500000, then the difference is zero.

[0045] If the difference is less than or equal to zero, the current access request is determined to be a replay or duplicate of a historical message. The authentication server discards the access request and does not return any response to the terminal. If the difference is greater than zero, the authentication server reads the identity identifier and message digest value from the access request message, compares the identity identifier with the pre-stored legitimate terminal identity identifier database, and sends a dynamic challenge value to the terminal after the comparison is successful. The dynamic challenge value contains a 16-bit random bit sequence and a power output modulation instruction.

[0046] Preferably, in step S3: the terminal inputs the dynamic challenge value into the random response circuit to generate the circuit response value, and at the same time drives the power device according to the power output modulation command and collects the modulation response waveform by the power output monitoring interface; the circuit response value, the frequency domain features of the modulation response waveform and the physical timing feature vector are hashed to generate a one-time authentication key, and the identity identifier is encrypted to generate an authentication message and sent. Optionally, step S3, which hashes the circuit response value, the frequency domain characteristics of the modulation response waveform, and the physical timing feature vector to generate a one-time authentication key, includes: A fast Fourier transform is performed on the modulation response waveform acquired by the power output monitoring interface to extract the amplitude and phase of each harmonic of the modulation response waveform to form the frequency domain characteristics of the modulation response waveform. The circuit response value and modulation response waveform frequency domain characteristics output by the random response circuit are divided into bytes, along with the physical timing feature vector obtained from the hardware clock source. The fused data blocks are formed by cyclically alternating the order of circuit response value bytes, modulation response waveform frequency domain characteristic bytes, and physical timing characteristic vector bytes. A message digest operation is applied to the fused data block, and a key derivation operation is applied to the result of the message digest operation to generate a one-time authentication key.

[0047] In one embodiment, a Fast Fourier Transform (FFT) is performed on the modulation response waveform acquired by the power output monitoring interface. The number of points in the FFT ranges from 1024 to 4096, and the sampling frequency of the modulation response waveform is two to ten times the switching frequency of the power device. Taking an FFT with 2048 points and a sampling frequency of 20 kHz as an example, 1024 frequency components are obtained after the transformation, and the frequency resolution is equal to 20 kHz divided by 2048, which equals 9.77 Hz. From each frequency component, the fundamental amplitude, second harmonic amplitude to tenth harmonic amplitude, a total of 10 amplitudes, are extracted sequentially. The amplitude parameters are extracted, and nine phase parameters from the second harmonic to the tenth harmonic are extracted simultaneously. Each amplitude parameter and each phase parameter are represented by 16 bits of binary. The ten amplitude parameters are arranged into an amplitude sequence according to the harmonic order from the fundamental wave to the tenth harmonic. The nine phase parameters are arranged into a phase sequence according to the harmonic order from the second harmonic to the tenth harmonic. The amplitude sequence and the phase sequence are concatenated in the order of amplitude first and phase last to form the frequency domain feature of the modulation response waveform. The length of the frequency domain feature of the modulation response waveform is 304 bits, which is divided into 8 bits per byte, for a total of 38 bytes.

[0048] The circuit response value output by the random response circuit is divided into 8-bit bytes. The length of the circuit response value is 4096 bits minus the number of unstable bits that are removed. The number of bytes obtained by dividing the circuit response value is denoted as the first byte number. The frequency domain feature of the modulation response waveform is divided into 8-bit bytes. The number of bytes obtained by dividing the frequency domain feature of the modulation response waveform is denoted as the second byte number. The second byte number is 38. The physical timing feature vector acquired by the hardware clock source is divided into 8-bit bytes. The number of bytes obtained by dividing the physical timing feature vector is denoted as the third byte number. The physical timing feature vector is composed of ripple frequency domain features with a length of 256 to 512 bits and clock drift rate with a length of 32 bits. The third byte number is 36 to 68.

[0049] In another embodiment, taking a first byte of 512, a second byte of 38, and a third byte of 36 as an example, the fused data block is formed by cyclically alternating the order of circuit response value bytes, modulation response waveform frequency domain feature bytes, and physical timing feature vector bytes: In the first round of arrangement, the first byte of the circuit response value is placed at the first position, the first byte of the modulation response waveform frequency domain feature is placed at the second position, and the first byte of the physical timing feature vector is placed at the last position; In the second round of arrangement, the second byte of the circuit response value, the second byte of the modulation response waveform frequency domain feature, and the second byte of the physical timing feature vector are arranged in the same order after the first round; and so on. When the 38 bytes of the modulation response waveform frequency domain feature are exhausted, the timing bytes of the physical timing feature vector are inverted bitwise and used to fill the waveform byte positions; When the 36 bytes of the physical timing feature vector are exhausted, the waveform bytes of the modulation response waveform frequency domain feature are inverted bitwise and used to fill the timing byte positions; The results of each round of arrangement are sequentially spliced ​​to form the fused data block.

[0050] An SM3 message digest operation is applied to the fused data block. The input of the SM3 message digest operation is all the bytes of the fused data block, and the output is a 32-byte message digest value. An SM4 key derivation operation is applied to the 32-byte message digest value. The input of the SM4 key derivation operation is the 32-byte message digest value, and the output is a 16-byte one-time authentication key. Using the one-time authentication key as the key, the identity identifier is encrypted using the SM4 block cipher algorithm to generate an authentication message. The length of the authentication message is 16 to 32 bytes.

[0051] See Figure 2 The fused data block is formed by cyclically alternating the following bytes: circuit response value byte, modulation response waveform frequency domain characteristic byte, and physical timing characteristic vector byte. The number of byte counts in the circuit response value is used as a basis to determine the number of cycles. In each round of permutation, first take a response byte from the output of the random response circuit and place it at the beginning of the current round, then take a waveform byte from the frequency domain characteristics of the modulation response waveform and place it at the next position of the current round, and finally take a timing byte from the physical timing feature vector obtained by the hardware clock source and place it at the end of the current round. When the waveform bytes are exhausted, the waveform byte positions are filled by inverting the timing bytes of the physical timing feature vector bit by bit. When the response bytes are exhausted, the response byte positions are filled by bit-inverting the waveform bytes that modulate the frequency domain characteristics of the response waveform. The results of each round of permutations are sequentially spliced ​​together to form a fused data block.

[0052] In one embodiment, the number of cyclic arrangement rounds is determined based on the number of bytes in the circuit response value. The length of the circuit response value is 4096 bits minus the number of unstable bits that are removed. Taking a stable bit sequence length of 4000 bits as an example, the number of bytes in the circuit response value is 500 bytes, and the number of cyclic arrangement rounds is 500. In each round, one response byte is taken from the circuit response value, one waveform byte is taken from the frequency domain characteristics of the modulation response waveform, and one timing byte is taken from the physical timing feature vector, and placed at the first, second, and last positions of the current round, respectively.

[0053] The modulation response waveform frequency domain feature is 304 bits long, with 38 bytes. The physical timing feature vector is composed of a ripple frequency domain feature of 256 to 512 bits and a clock drift rate of 32 bits. Taking a ripple frequency domain feature of 256 bits and a clock drift rate of 32 bits as an example, the physical timing feature vector has 36 bytes. In the first 38 rounds of arrangement, one response byte of the circuit response value, one waveform byte of the modulation response waveform frequency domain feature, and one timing byte of the physical timing feature vector are taken in each round and arranged in the order of first, second, and last positions. In the 39th round of arrangement, all 38 waveform bytes of the modulation response waveform frequency domain feature have been taken. At this time, the unused timing bytes in the physical timing feature vector are inverted bit by bit and used to fill the waveform byte positions. Specifically, the 39th timing byte in the physical timing feature vector is read, its 8 bits are inverted bit by bit and used as the waveform byte of the current round in the second position.

[0054] In another embodiment, during rounds 39 to 500, each round fills the waveform byte position by inverting the unused timing bytes in the physical timing feature vector. After all 36 timing bytes of the physical timing feature vector are taken, the timing byte position is filled by inverting the waveform bytes of the modulation response waveform frequency domain feature. Specifically, the 37th waveform byte in the modulation response waveform frequency domain feature is read, its 8 bits are inverted, and it is placed at the end as the timing byte of the current round. If all 500 response bytes of the circuit response value are not taken in the first 500 rounds, the response byte position is filled by inverting the waveform bytes of the modulation response waveform frequency domain feature.

[0055] The results of 500 rounds of permutation are sequentially concatenated to form a fused data block. The first round of permutation results of the fused data block consists of the first byte of the circuit response value, the first byte of the frequency domain feature of the modulation response waveform, and the first byte of the physical timing feature vector in sequence. The second round of permutation results consists of the second byte of the circuit response value, the second byte of the frequency domain feature of the modulation response waveform, and the second byte of the physical timing feature vector in sequence, and so on up to the 500th round. The total number of bytes in the fused data block is 1500 bytes. For bytes that are filled by bit-inversion due to exhaustion in each round of permutation, a filling flag bit is added to the corresponding position in the fused data block. A filling flag bit of 0 indicates that the byte is the original byte, and a filling flag bit of 1 indicates that the byte is a bit-inverted filling byte.

[0056] Preferably, in step S4: the authentication server reconstructs the one-time authentication key and decrypts the authentication message using the same hash based on the pre-stored valid response mapping and physical time sequence feature benchmark. If the identity identifier matches and the deviation of the physical time sequence feature vector is less than the threshold, access is allowed; otherwise, it is rejected.

[0057] Most importantly, in step S4, if the deviation of the physical timing feature vector is less than the threshold, access is allowed. Specifically: The authentication server calculates the difference between each harmonic amplitude value in the decrypted ripple frequency domain feature and the corresponding harmonic amplitude value in the pre-stored reference to obtain the deviation of each harmonic amplitude value. The amplitude deviations of each harmonic are assigned weights from largest to smallest according to the harmonic order; The mean deviation is obtained by subtracting the mean drift obtained from the decryption and the mean drift from the reference drift; the variance deviation is obtained by subtracting the variance drift obtained from the decryption and the variance drift from the reference drift. Assign a greater weight to the mean deviation than to the variance deviation; The weighted deviations are summed to obtain the overall deviation. If the overall deviation is less than a preset threshold, access is allowed; if it is greater than or equal to the preset threshold, access is rejected.

[0058] In one embodiment, the authentication server calculates the difference between the fundamental amplitude to the tenth harmonic amplitude (a total of 10 amplitude parameters) in the decrypted ripple frequency domain features and the corresponding fundamental amplitude to the tenth harmonic amplitude in the pre-stored reference, resulting in 10 amplitude deviations from the fundamental amplitude deviation to the tenth harmonic amplitude deviation. For example, if the decrypted fundamental amplitude is 210 and the pre-stored reference has a fundamental amplitude of 200, the fundamental amplitude deviation is 10. If the decrypted second harmonic amplitude is 85 and the pre-stored reference has a second harmonic amplitude of 80, the second harmonic amplitude deviation is 5. The amplitude deviations are calculated sequentially up to the tenth harmonic, and the absolute value of each amplitude deviation is used in subsequent weighted calculations.

[0059] The 10 amplitude deviations are assigned weights in descending order of harmonic order: the fundamental amplitude deviation has a weight of 1.0, the second harmonic amplitude deviation has a weight of 0.9, the third harmonic amplitude deviation has a weight of 0.8, and so on down to the tenth harmonic amplitude deviation with a weight of 0.1. Taking the fundamental amplitude deviation of 10 multiplied by a weight of 1.0 as an example, and the second harmonic amplitude deviation of 5 multiplied by a weight of 0.9 as an example, the weighted values ​​of each amplitude deviation are calculated in turn.

[0060] In another embodiment, the mean deviation is obtained by subtracting the mean drift obtained from the decryption from the mean drift in the pre-stored reference, and the variance deviation is obtained by subtracting the variance drift obtained from the decryption from the variance drift in the pre-stored reference. Taking a mean drift obtained from the decryption of 0.002 and a mean drift in the pre-stored reference of 0.001 as an example, the mean deviation is 0.001. Taking a variance drift obtained from the decryption of 0.0005 and a variance drift in the pre-stored reference of 0.0003 as an example, the variance deviation is 0.0002. The mean deviation is assigned a weight of 1.0, and the variance deviation is assigned a weight of 0.5.

[0061] The weighted values ​​of each amplitude deviation, the weighted value of the mean deviation, and the weighted value of the variance deviation are summed to obtain the comprehensive deviation. The comprehensive deviation is then compared with a preset threshold, which is between 0.15 and 0.5. Taking a preset threshold of 0.2 as an example, if the comprehensive deviation is less than 0.2, the authentication server allows the terminal to access the network. If the comprehensive deviation is greater than or equal to 0.2, the authentication server rejects the terminal access and returns a rejection message to the terminal.

[0062] See Figure 3 and Figure 4 The present invention also provides a new energy platform terminal security access authentication system for executing the above-described new energy platform terminal security access authentication method. The new energy platform terminal security access authentication system includes: The timing feature construction module is used to generate basic response values ​​by the random response circuit after the terminal is powered on, and to collect the transient ripple of the power device startup by the power output monitoring interface; the hardware clock source collects the drift rate relative to the reference clock of the authentication server, and concatenates the ripple frequency domain features with the drift rate to form a physical timing feature vector. The request sending module is used by the terminal to send its identity identifier and access request, and the authentication server to issue a dynamic challenge value containing a random bit sequence and power output modulation instructions; The key generation module is used by the terminal to input the dynamic challenge value into the random response circuit to generate the circuit response value, and at the same time drive the power device according to the power output modulation command and collect the modulation response waveform by the power output monitoring interface; the circuit response value, the frequency domain characteristics of the modulation response waveform and the physical time sequence feature vector are hashed to generate a one-time authentication key, and the identity identifier is encrypted to generate an authentication message for transmission. The access authentication determination module is used by the authentication server to reconstruct the one-time authentication key and decrypt the authentication message based on the pre-stored valid response mapping and physical time sequence feature benchmark. If the identity identifier matches and the deviation of the physical time sequence feature vector is less than the threshold, access is allowed; otherwise, it is rejected.

[0063] Therefore, the embodiments should be considered as exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of the equivalents of the application are intended to be included within the invention.

[0064] The above description is merely a specific embodiment of the present invention, enabling those skilled in the art to understand or implement the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features of the invention herein.

Claims

1. A method for secure access authentication of a new energy platform terminal, characterized in that, The terminal has a built-in random response circuit, a power output monitoring interface, and a hardware clock source, and is connected to an authentication server via a communication network. The method includes the following steps: Step S1: After the terminal is powered on, the random response circuit generates the basic response value, the power output monitoring interface collects the transient ripple of the power device at startup; the hardware clock source collects the drift rate relative to the authentication server's reference clock, and concatenates the ripple frequency domain characteristics with the drift rate to form a physical timing feature vector. Step S2: The terminal sends an identity identifier and access request, and the authentication server issues a dynamic challenge value containing a random bit sequence and power output modulation instructions; Step S3: The terminal inputs the dynamic challenge value into the random response circuit to generate the circuit response value. At the same time, it drives the power device according to the power output modulation command and collects the modulation response waveform by the power output monitoring interface. The circuit response value, the frequency domain characteristics of the modulation response waveform and the physical timing feature vector are hashed to generate a one-time authentication key. The identity identifier is encrypted and an authentication message is generated and sent. Step S4: Based on the pre-stored valid response mapping and physical time sequence feature benchmark, the authentication server reconstructs the one-time authentication key with the same hash and decrypts the authentication message. If the identity identifier matches and the deviation of the physical time sequence feature vector is less than the threshold, access is allowed; otherwise, it is rejected.

2. The new energy platform terminal security access authentication method according to claim 1, characterized in that, The random response circuit contains a memory array arranged by row and column addresses. In step S1, the random response circuit generates the basic response value as follows: At the moment the terminal is powered on, the random response circuit selects each row of the internal storage array, synchronously reads the initial state of each column storage cell in each row after power-on reset, and arranges them according to column address as the initial bit sequence of that row. After reading the initial state of each row one by one, the initial bit sequences of each row are concatenated according to the row address to form the initial bit sequence; The initial bit sequence is sampled multiple times upon power-on, and the number of times each bit flips is counted. Bits with a flip count higher than a set number are marked as unstable bits, and bits with a flip count lower than a set number are marked as stable bits. The stable bits are backfilled to the corresponding physical locations in the storage array according to their original row and column addresses to form a stable bit sequence; The stable bit sequence is bitwise XORed with the physical timing feature vector acquired during this power-on acquisition to generate the basic response value.

3. The new energy platform terminal security access authentication method according to claim 2, characterized in that, The stable bit sequence is bitwise XORed with the physical timing feature vector acquired during this power-on acquisition, including: Read the stable bit sequence and record the number of unstable bits between two adjacent stable bits as the interval bits; The frequency domain characteristics of the ripple obtained by frequency domain transformation of the startup transient ripple collected by the power output monitoring interface, and the clock drift rate collected by the hardware clock source are expanded into a binary bit sequence in dimensional order. Based on the number of bits in a stable bit sequence, the binary bit sequence is grouped with a step size of bits, and the grouped binary bit sequences are cyclically shifted bit by bit to align the bits of the two sequences. XOR the aligned stable bit sequence with the grouped binary bit sequence bit by bit; The XOR result is backfilled to the corresponding physical location in the storage array according to the original row and column addresses to generate the basic response value.

4. The new energy platform terminal security access authentication method according to claim 1, characterized in that, The power output monitoring interface has an analog acquisition channel and a sampling buffer. In step S1, the power output monitoring interface acquires the transient ripple of the power device at startup as follows: After the terminal is powered on, the power output monitoring interface synchronously samples the voltage signal at the output of the power device using a sampling window triggered by a hardware clock source. The sampling frequency is higher than the switching frequency of the power device. Within each sampling window, the analog acquisition channel of the power output monitoring interface sequentially samples and holds the voltage signal at the output of the power device and performs analog-to-digital conversion. The conversion results are stored in the sampling buffer according to the sampling window order. A fast Fourier transform is performed on the voltage signal in the sampling buffer to extract the fundamental amplitude, second harmonic amplitude, and so on up to the multiple harmonic amplitudes in sequence, and the phase of each harmonic is extracted simultaneously. Arrange the amplitude values ​​of each harmonic according to their harmonic order to form an amplitude sequence, arrange the phase values ​​of each harmonic according to their harmonic order to form a phase sequence, and then concatenate the amplitude sequence and the phase sequence in the order of amplitude first and phase last to form the ripple frequency domain characteristics.

5. The new energy platform terminal security access authentication method according to claim 4, characterized in that, Synchronous sampling of the voltage signal at the output of the power device using a sampling window triggered by a hardware clock source includes: The sampling trigger terminal of the power output monitoring interface is connected to the counting overflow terminal of the hardware clock source through the same trigger line, so that the starting time of the sampling window and the counting overflow time of the hardware clock source maintain a fixed phase relationship. The analog acquisition end of the power output monitoring interface is connected to the power transmission line at the output end of the power device. A voltage divider resistor network is set between the analog acquisition end and the power transmission line to attenuate the high voltage signal on the power transmission line by a fixed ratio before sending it into the analog acquisition channel. When the sampling buffer is full of a batch of conversion results, the power output monitoring interface sends a sampling completion signal back to the hardware clock source. The hardware clock source latches the current count value as the timing reference for the batch of sampled data. The power output monitoring interface binds and stores the conversion results in the sampling buffer with the timing reference of the batch of sampled data, which can be called when constructing ripple frequency domain characteristics.

6. The new energy platform terminal security access authentication method according to claim 1, characterized in that, The hardware clock source includes a counter register, an overflow comparison register, and a timing latch register. Specifically, in step S1, the hardware clock source acquires the drift rate relative to the authentication server's reference clock as follows: The counter register increments according to a fixed counting period. When it increments to the value of the overflow comparison register, it outputs a count overflow signal. At the same time, the current value of the counter register is latched into the timing latch register, and the sequence number of the count overflow signal relative to the power-on time of the terminal is recorded. The terminal stores the count value and sequence number in the timing latch register in sequence, and the authentication server's reference clock latches the count value and sequence number in the same way. The terminal successively subtracts the count values ​​with the same sequence number on both sides, and divides the difference by the number of counts to obtain the single drift value; The mean drift is obtained by summing multiple single drift values ​​and dividing by the number of times. The variance drift is obtained by subtracting the minimum value from the maximum value among multiple single drift values. The mean drift and the variance drift are then concatenated to form the clock drift rate.

7. The new energy platform terminal security access authentication method according to claim 1, characterized in that, In step S2, the terminal sends an identity identifier and access request, including: The terminal concatenates the identity identifier with the message digest value of the physical timing feature vector generated during this power-on to form an access request message; The timing identifier for this power-on is appended to the access request message. This timing identifier is generated by the hardware clock source by counting continuously at fixed periods after power-on. After receiving the access request message, the authentication server reads the timing identifier and calculates the difference between it and the timing identifier of the terminal's most recent successful access recorded by the authentication server. If the difference is less than or equal to zero, the access request is discarded. If the difference is greater than zero, the authentication server will issue a dynamic challenge value.

8. The new energy platform terminal security access authentication method according to claim 1, characterized in that, Step S3 involves hashing the circuit response value, the frequency domain characteristics of the modulation response waveform, and the physical timing feature vector to generate a one-time authentication key, including: A fast Fourier transform is performed on the modulation response waveform acquired by the power output monitoring interface to extract the amplitude and phase of each harmonic of the modulation response waveform to form the frequency domain characteristics of the modulation response waveform. The circuit response value and modulation response waveform frequency domain characteristics output by the random response circuit are divided into bytes, along with the physical timing feature vector obtained from the hardware clock source. The fused data blocks are formed by cyclically alternating the order of circuit response value bytes, modulation response waveform frequency domain characteristic bytes, and physical timing characteristic vector bytes. A message digest operation is applied to the fused data block, and a key derivation operation is applied to the result of the message digest operation to generate a one-time authentication key.

9. The new energy platform terminal security access authentication method according to claim 8, characterized in that, The fused data block is formed by cyclically alternating the order of circuit response value bytes, modulation response waveform frequency domain characteristic bytes, and physical timing characteristic vector bytes, including: The number of byte counts in the circuit response value is used as a basis to determine the number of cycles. In each round of permutation, first take a response byte from the output of the random response circuit and place it at the beginning of the current round, then take a waveform byte from the frequency domain characteristics of the modulation response waveform and place it at the next position of the current round, and finally take a timing byte from the physical timing feature vector obtained by the hardware clock source and place it at the end of the current round. When the waveform bytes are exhausted, the waveform byte positions are filled by inverting the timing bytes of the physical timing feature vector bit by bit. When the response bytes are exhausted, the response byte positions are filled by bit-inverting the waveform bytes that modulate the frequency domain characteristics of the response waveform. The results of each round of permutations are sequentially spliced ​​together to form a fused data block.

10. A secure access authentication system for a new energy platform terminal, characterized in that, The new energy platform terminal security access authentication system, used to execute the new energy platform terminal security access authentication method as described in claim 1, comprises: The timing feature construction module is used to generate basic response values ​​by the random response circuit after the terminal is powered on, and to collect the transient ripple of the power device startup by the power output monitoring interface; the hardware clock source collects the drift rate relative to the reference clock of the authentication server, and concatenates the ripple frequency domain features with the drift rate to form a physical timing feature vector. The request sending module is used by the terminal to send its identity identifier and access request, and the authentication server to issue a dynamic challenge value containing a random bit sequence and power output modulation instructions; The key generation module is used by the terminal to input the dynamic challenge value into the random response circuit to generate the circuit response value, and at the same time drive the power device according to the power output modulation command and collect the modulation response waveform by the power output monitoring interface; the circuit response value, the frequency domain characteristics of the modulation response waveform and the physical time sequence feature vector are hashed to generate a one-time authentication key, and the identity identifier is encrypted to generate an authentication message for transmission. The access authentication determination module is used by the authentication server to reconstruct the one-time authentication key and decrypt the authentication message based on the pre-stored valid response mapping and physical time sequence feature benchmark. If the identity identifier matches and the deviation of the physical time sequence feature vector is less than the threshold, access is allowed; otherwise, it is rejected.