A state management method for starburst-based trusted authentication

By using the StarFlash trusted authentication state management method, sensor devices switch between sleep, wake-up scanning, initialization, working and disconnected timing states, solving the problem of balancing low power consumption and reliable connection, and achieving refined power consumption management and improved connection stability.

CN121357534BActive Publication Date: 2026-04-07BEIJING AEROSPACE WANYUAN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-11-20
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

Sensor devices struggle to balance low-power operation with reliable communication, and existing methods lack adaptive state switching mechanisms, resulting in imprecise power control and unstable connections.

Method used

A trusted authentication state management method based on starflash is adopted. Through adaptive switching between sleep, wake-up scan, initialization, working and disconnection timer states, combined with multiple timers and security authentication processes, power consumption is finely managed and connection reliability is ensured.

Benefits of technology

It achieves refined management of device power consumption and significantly improves connection reliability, reduces overall power consumption, ensures rapid establishment and maintenance of stable connections in complex environments, and prevents data loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121357534B_ABST
    Figure CN121357534B_ABST
Patent Text Reader

Abstract

The application discloses a state management method of trusted authentication based on star flashing, and relates to the technical field of low-power consumption and reliable connection control of sensor equipment. The method is based on a state machine to adaptively switch between a sleep state, a wake-up scanning state, an initialization state, a working state and a disconnected timing state. The sensor is triggered by a low-power consumption timing circuit from a deep sleep state to enter the wake-up scanning state, and a star flashing communication module scanning management module is started. In the wake-up scanning state, whether to enter the initialization state or return to sleep is determined according to a connection result and a timer. In the initialization state, parameters are synchronized and instructions are listened to, so as to determine whether to enter the working state or remain in the initialization state. In the working state, data acquisition and transmission are performed, and when a connection is abnormal or an instruction is received, the disconnected timing state or the initialization state is switched to. In the disconnected timing state, a connection is tried to be recovered, and if the recovery is successful, the initialization state is returned, and if the recovery fails, the sleep state is returned.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of low-power and reliable connection control technology for sensor devices, and specifically to a state management method based on star-flash trusted authentication. Background Technology

[0002] Existing sensor devices often face the challenge of balancing power consumption and connectivity reliability. During long-term operation, maintaining continuous communication module operation leads to excessive power consumption; conversely, frequent sleep cycles can cause missed connection opportunities and data loss. Traditional methods lack adaptive state switching mechanisms, failing to dynamically adjust operating modes based on connection status, timed triggers, and management commands. This results in unstable connections and imprecise power consumption control in complex environments. Summary of the Invention

[0003] The purpose of this invention is to provide a state management method based on star-flash trusted authentication, which solves the problem of sensor devices struggling to balance low-power operation and reliable communication.

[0004] This invention provides a state management method for trusted authentication based on StarFlash, comprising the following steps:

[0005] Step 1: Transition from sleep state to wake-up scanning state. The sensor is initially in deep sleep state. In deep sleep state, the power of non-essential hardware modules is turned off, and only the low-power timing circuit is kept running. The low-power timing circuit consists of a hardware timer and software calibration logic. The timer is configured to time for a fixed duration. After the timer ends, the sensor is triggered to exit deep sleep, the power of the Star Flash communication module is turned on and it is configured to scan mode, and then the wake-up scanning state is entered.

[0006] Step 2: In the wake-up scan state, start the connection timeout timer and the wake-up window timer, and broadcast the detection signal through the Star Flash communication module to search for the Star Flash management module. If a connection is successfully established within the connection timeout timer, the security authentication process is started and the system is switched to the initialization state after successful authentication. If no connection is established after the connection timeout timer expires but the wake-up window timer has not ended, the scan continues. If no connection is successfully established when the wake-up window timer ends, the Star Flash communication module is turned off and the system returns to the sleep state.

[0007] Step 3: In the initialization state, interact with the Star Flash management module to complete the synchronization of working parameters, and listen to the Star Flash command channel. If a command to switch to the working state is received, configure the data acquisition and processing unit and switch to the working state. If a command to maintain the initialization state is received or no new command is received, maintain the initialization state.

[0008] Step 4: In working state, perform data acquisition and processing and transmit data through the Starlink, while monitoring the link quality. If the Starlink is detected to be abnormally disconnected, switch to the disconnection timer state. If a command to return to the initialization state is received, stop the current acquisition task, save the untransmitted data, and switch back to the initialization state.

[0009] Step 5: In the disconnected timer state, start the reconnection window timer and control the StarScan communication module to periodically attempt to rescan and reconnect to the management module. If the connection is re-established and passes security authentication within the reconnection window, switch back to the initialization state. If the reconnection window timer expires and the connection is not restored, shut down the StarScan communication module and return to the sleep state.

[0010] The technical advantages of this invention lie in its ability to achieve refined management of device power consumption and a significant improvement in connection reliability. Through closed-loop management and condition-triggered transitions between states, unnecessary long-term operation of the communication module is avoided, significantly reducing overall power consumption. Simultaneously, by combining multiple timing mechanisms and secure authentication processes, it ensures the rapid establishment and maintenance of stable connections in complex environments, effectively preventing data loss and enhancing the system's adaptability and robustness. Attached Figure Description

[0011] Figure 1 This is a flowchart of the method of the present invention. Detailed Implementation

[0012] The present invention will now be described in detail with reference to the accompanying drawings and embodiments. Figure 1 The flowchart of the method of the present invention describes a state machine controlled by a state management logic unit. This state machine adaptively switches between sleep state, wake-up scan state, initialization state, working state, and disconnected timer state based on the star-flash connection state, internal timer triggering, and management module instructions, thereby achieving a balance between low power consumption and reliable connection. The method of the present invention specifically includes the following steps:

[0013] Step 1: Transition from sleep state to wake-up scanning state. The sensor initially enters a deep sleep state. In this state, the state management logic unit controls the power supply of non-essential hardware modules such as the RF transceiver circuit, digital signal processor, data storage unit, and analog signal processing circuit, keeping only the low-power timing circuit running. This timing circuit consists of a hardware timer with an accuracy of 100 milliseconds combined with software calibration logic, configured by the state management logic unit via registers to a three-minute timer. The timer calibration logic uses a temperature compensation algorithm to ensure that the timing error does not exceed ±2% within the operating temperature range of -40℃ to 85℃. After the timer expires, the state management logic unit generates an interrupt signal, triggering the sensor to exit deep sleep and perform the following actions: powering on the StarFlash communication module and configuring it to scan mode, setting the scan frequency to the 2.4GHz band, and the transmit power to 0dBm; subsequently, the state machine formally enters the wake-up scanning state.

[0014] Step 2: In the wake-up scan state, determine and transition to the initialization state or return to the sleep state. Upon entering the wake-up scan state, the state management logic unit simultaneously starts two timing tasks: a ten-second connection timeout timer and a ten-minute wake-up window timer. The sensor continuously broadcasts a detection signal through the activated StarScan communication module to search for StarScan management modules within range. The detection signal contains the sensor's unique Media Access Control (MAC) address and device type identifier. Case A, Successful Connection: If, within the ten-second timeout, the StarScan connection detection module confirms a successful link with the StarScan management module based on protocol stack feedback, the state management logic unit immediately stops the ten-minute timer and initiates the security authentication process. After successful authentication, the state machine transitions to the initialization state. Case B, Connection Failure: If no connection is established after the ten-second timeout, but the ten-minute wake-up window has not ended, the scan continues. If no connection is successfully established by the end of the ten-minute window, the state management logic unit will shut down the StarScan communication module and control the state machine to return to the sleep state of Step 1. During the wake-up scan, if environmental interference is detected to exceed a preset threshold (e.g., RSSI < -85dBm), the status management logic unit will automatically extend the wake-up window to fifteen minutes and reduce the scan frequency to 5 times per minute to improve the connection success rate.

[0015] Step 3: In the initialization state, the sensor transitions to the working state or remains in the initialization state according to the instruction. The sensor and the StarScan management module engage in secure data interaction to synchronize operating parameters, including but not limited to the acquisition frequency (adjustable from 1Hz to 8kHz), data type (temperature, humidity, pressure, etc.), transmission period (adjustable from 10 milliseconds to 10 minutes), and security level (low, medium, and high). The state management logic unit listens to the StarScan instruction channel. If it receives an instruction to switch to the working state, the state management logic unit configures the data acquisition and processing unit according to the instruction content, including setting the sampling rate, filtering parameters, and data compression algorithm. The state machine then transitions to the working state. If it receives an instruction to remain in the initialization state or no new instruction is received, the state machine remains in the initialization state and continues to execute the tasks defined by the synchronized parameters. In the initialization state, the sensor also performs a device self-test, including checking the calibration status of the sensor array, the available space of the storage unit, and the stability of the power supply voltage.

[0016] Step four: During operation, the system transitions to other states due to connection loss or received instructions. In operation, the sensor performs efficient data acquisition and processing, transmitting data via the StarSpark link. The data acquisition unit acquires raw data based on preset sampling rates and filtering parameters. The data processing unit applies an adaptive filtering algorithm for data cleaning and then reduces the amount of transmitted data using a compression algorithm. Simultaneously, the StarSpark connection detection module monitors link quality in real-time at a high frequency (every 5 milliseconds), monitoring indicators including signal strength, bit error rate, and latency. If an abnormal StarSpark link disconnection is detected (signal strength below -90dBm for three consecutive detections), the state management logic unit immediately captures this event and triggers the state machine to transition to the disconnection timing state. If an instruction from the management module to return to the initialization state is received, the state management logic unit safely terminates the current acquisition task, saves untransmitted data to local storage, and switches the state machine back to the initialization state.

[0017] Step 5: Attempt to restore the connection and determine the next state while in the disconnected timer state. Upon entering the disconnected timer state, the state management logic unit starts a three-minute reconnection window timer and controls the StarScan communication module to periodically attempt to rescan and reconnect to the management module at a low frequency (once every thirty seconds, with a transmit power of -5dBm). Each reconnection attempt consists of three consecutive scans, each 5 seconds apart. If the StarScan link is re-established and passes security authentication within the reconnection window, the state management logic unit stops the reconnection window timer and transitions the state machine back to the initialization state, resynchronizing parameters to ensure continuity of subsequent operations. If the reconnection window timer expires and a valid connection is not restored, the state management logic unit determines that the connection environment has been lost, shuts down the StarScan communication module, and controls the state machine to return to the sleep state in Step 1 to maximize power saving.

[0018] Secure and Trusted Authentication Process: This process is deeply integrated into multiple state transition stages. During the connection establishment attempt phase, the sensor first sends an identity broadcast frame to the management module. This frame contains its unique media access control address and a pre-configured root certificate digest. The management module responds with an authentication response frame containing its own digital certificate, initialization instructions, and digital signature. The sensor's state management logic unit, in conjunction with the security chip, verifies the validity of the management module's certificate and the authenticity of the instruction signature. The verification process includes: checking the certificate validity period, verifying the certificate chain, and verifying the signature hash value. If the verification passes, the state transition is allowed and a success log is recorded; if the verification fails, the current state transition process is terminated, a security alarm log is recorded (including error codes, timestamps, and abnormal parameters), and the sensor ultimately returns to a sleep state. In the initialization state, the sensor also executes a certificate rotation mechanism, automatically updating the locally stored root certificate every 7 days to ensure the security of long-term connections.

[0019] Through the close interaction and closed-loop design of the above steps, this invention achieves refined management of device power consumption and a significant improvement in connection reliability.

Claims

1. A state management method based on star-flash trusted authentication, characterized in that, The method includes the following steps: Step 1: Transition from sleep state to wake-up scanning state. The sensor is initially in deep sleep state. In deep sleep state, the power of non-essential hardware modules is turned off, and only the low-power timing circuit is kept running. The low-power timing circuit consists of a hardware timer and software calibration logic. The timer is configured to time for a fixed duration. After the timer ends, the sensor is triggered to exit deep sleep, the power of the Star Flash communication module is turned on and it is configured to scan mode, and then the wake-up scanning state is entered. Step 2: In the wake-up scan state, start the connection timeout timer and the wake-up window timer, and broadcast the detection signal through the Star Flash communication module to search for the Star Flash management module. If a connection is successfully established within the connection timeout timer, the security authentication process is started and the system is switched to the initialization state after successful authentication. If no connection is established after the connection timeout timer expires but the wake-up window timer has not ended, the scan continues. If no connection is successfully established when the wake-up window timer ends, the Star Flash communication module is turned off and the system returns to the sleep state. Step 3: In the initialization state, interact with the Star Flash management module to complete the synchronization of working parameters, and listen to the Star Flash command channel. If a command to switch to the working state is received, configure the data acquisition and processing unit and switch to the working state. If a command to maintain the initialization state is received or no new command is received, maintain the initialization state. Step 4: In working state, perform data acquisition and processing and transmit data through the Starlink, while monitoring the link quality. If the Starlink is detected to be abnormally disconnected, switch to the disconnection timer state. If a command to return to the initialization state is received, stop the current acquisition task, save the untransmitted data, and switch back to the initialization state. Step 5: In the disconnected timer state, start the reconnection window timer and control the StarScan communication module to periodically attempt to rescan and reconnect to the management module. If the connection is re-established and passes security authentication within the reconnection window, switch back to the initialization state. If the reconnection window timer expires and the connection is not restored, shut down the StarScan communication module and return to the sleep state.

2. The method according to claim 1, characterized in that, In step one, the software calibration logic of the low-power timing circuit adopts a temperature compensation algorithm to maintain timing accuracy within different operating temperature ranges and ensure that timing error is controlled within the allowable range.

3. The method according to claim 1, characterized in that, In step two, the detection signal contains the sensor’s unique media access control address and device type identifier, which are used to uniquely identify the sensor and adapt it to the management module during the scanning process.

4. The method according to claim 1, characterized in that, In step two, if environmental interference is detected to exceed a preset threshold, the duration of the wake-up window timer is automatically extended and the scanning frequency is reduced to cope with harsh communication environments and improve the connection success rate.

5. The method according to claim 1, characterized in that, In step three, the operating parameters include the acquisition frequency, data type, transmission period, and security level. These parameters are synchronized from the management module via the Starlink link and used to configure the sensor's operating mode.

6. The method according to claim 1, characterized in that, In step three, a device self-test is also performed during the initialization state, including checking the calibration status of the sensor array, the available space of the storage unit, and the stability of the power supply voltage to ensure that the sensor hardware is in normal working condition.

7. The method according to claim 1, characterized in that, In step four, the data acquisition and processing unit includes a data acquisition unit and a data processing unit; the data acquisition unit acquires raw data according to a preset sampling rate and filtering parameters, and the data processing unit applies an adaptive filtering algorithm to clean the data and reduces the amount of data transmitted through a compression algorithm, so as to achieve efficient data acquisition and transmission.

8. The method according to claim 1, characterized in that, In step four, the indicators for monitoring link quality include signal strength, bit error rate, and latency. By monitoring these indicators in real time, the connection status of the StarSpark link can be determined in a timely manner.

9. The method according to claim 1, characterized in that, In step five, the periodic attempt to rescan and reconnect to the management module is a reconnection attempt. The reconnection attempt includes multiple consecutive scans, with a fixed interval between each scan, so as to perform connection recovery operations in an orderly manner within the reconnection window.

10. The method according to claim 1, characterized in that, The security authentication process is executed in steps two and five, including the sensor sending an identity broadcast frame to the management module, the management module responding with an authentication response frame, and the sensor verifying the validity of the management module's certificate and the authenticity of the instruction signature to ensure secure and reliable communication.

Citation Information

Patent Citations

  • Sleep scheduling method and related device

    CN120224344A

  • Star flash mouse low-power-consumption communication system and method based on Polar code and SLE collaborative optimization

    CN120979604A