Voice trigger type remote control method for low-power-consumption equipment
By parsing voice commands and dynamically configuring a simplified communication protocol stack through an edge coordinator, combined with lightweight authentication and acknowledgment retransmission mechanisms, the imbalance between communication power consumption and reliability of low-power devices in complex environments is solved, achieving long-term stable operation and efficient control of the devices.
Patent Information
- Application Number
- CN202511247046.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-02
- Publication Date
- 2025-11-11
AI Technical Summary
Existing technologies fail to effectively couple the device resource status, channel dynamic characteristics, and communication protocol for voice-triggered remote control of low-power devices. This results in an inability to balance communication energy consumption and transmission reliability in complex environments, leading to reduced device battery life and increased risk of lost control commands.
An edge coordinator is used for voice command parsing and parameter extraction, dynamically configures a simplified communication protocol stack, generates lightweight authentication information, and achieves multi-dimensional perception and cross-protocol layer collaborative control of device resource status and channel environment through binary flat encapsulation and acknowledgment retransmission mechanism with time window.
It significantly improves the transmission success rate of low-power devices in complex wireless environments, reduces energy consumption pressure, ensures long-term stable operation of devices in battery-powered scenarios, and avoids nonlinear oscillations in communication performance caused by channel fluctuations.
Smart Images

Figure CN120932646A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of Internet of Things (IoT) communication technology, and more specifically, to a voice-triggered remote control method for low-power devices. Background Technology
[0002] In voice-triggered remote control scenarios for low-power devices, traditional methods often employ fixed communication protocol stacks and static transmission strategies, simplifying device communication into a data transmission process under ideal channel conditions. Furthermore, they adopt empirical retransmission mechanisms and fixed authentication strengths, failing to quantify the coupling impact of device remaining power, real-time channel status, and network access type on communication energy consumption and reliability.
[0003] In existing technologies, because the control model does not couple the device resource state, channel dynamic characteristics and the collaborative optimization relationship of the communication protocol, the authentication strength and transmission strategy selection may be inaccurate in complex environments. This makes it difficult to balance the communication energy consumption and transmission reliability of low-power devices in dynamic network environments, exacerbating the risk of shortened device battery life and loss of control commands. Summary of the Invention
[0004] In order to overcome the above-mentioned defects of the prior art, embodiments of the present invention provide a voice-triggered remote control method and system for low-power devices to solve the problems mentioned in the background art.
[0005] To achieve the above objectives, the present invention provides the following technical solution: A voice-triggered remote control method for low-power devices includes the following steps: S1. After confirming the validity of the user's voice command, the edge coordinator performs semantic parsing and parameter extraction on the voice command, and generates a minimal control command dataset containing target device identifiers, operation command codes and parameter values for the home terminal cluster. S2. Based on the network access type and current channel status of the target low-power device, dynamically configure a simplified communication protocol stack suitable for small data packet transmission. The simplified communication protocol stack is optimized to bypass or compress redundant protocol headers in the traditional network protocol stack. S3. Based on the pre-distributed security token or shared key, generate lightweight authentication information for the minimized control instruction dataset, and embed the authentication information into a fixed field of subsequent transmission frames; S4. The minimized control instruction dataset and the lightweight authentication information are encapsulated in binary flattening to form a target instruction frame. The structure of the target instruction frame is constrained to include only the target device short address, operation command code, parameter value, authentication field and frame verification sequence. S5. The target instruction frame is transmitted using an acknowledgment and retransmission mechanism with a timed window: after the sending end initiates a single instruction frame transmission, an acknowledgment timed window is started. After the receiving end verifies the transmission, it replies with a simplified acknowledgment frame. If the sending end does not receive a valid acknowledgment frame within the acknowledgment timed window, a limited number of retransmissions are triggered. S6. Based on the transmission success rate and acknowledgment delay parameters of the target instruction frame, dynamically adjust the frame encapsulation strategy and acknowledgment timing window length of the simplified communication protocol stack so that the protocol configuration parameters meet the synergistic optimization conditions of low power consumption constraints and transmission reliability.
[0006] In a preferred embodiment, after confirming the validity of the user's voice command, the edge coordinator performs semantic parsing and parameter extraction on the voice command, and generates a minimal control command dataset containing target device identifiers, operation command codes, and parameter values for the home terminal cluster. Specific steps include: The edge coordinator is a local processing hub deployed in the home environment, responsible for receiving user voice commands and completing the localized conversion of voice into control commands; The edge coordinator verifies the validity of user voice commands through dual security verification: wake word detection and voiceprint verification. The voice command stream is processed by the built-in processing unit of the edge coordinator through a pruned and compressed neural network model, and the device operation command code and parameter value are directly output, with zero transmission of the original voice data throughout the process. The pruned and compressed neural network model is a lightweight computational model that optimizes the structure by removing redundant connections and nodes. Its parameter count is compressed to fit the memory limitations of edge devices. The pruned and compressed neural network model performs structured pruning in the post-training stage, deleting neuron connections that contribute less than a threshold to the output and retaining key weight paths. A minimal control instruction dataset is generated for the home terminal cluster. The minimal control instruction dataset includes target device identifiers, operation command codes and parameter values. The target device identifier adopts a bitmap encoded device bitmap identifier, with the first bit fixed to correspond to the curtain motor, the second bit fixed to correspond to the temperature and humidity sensor, and the last bit fixed to correspond to the smart socket. Operation command codes and parameter values are stored in a time-sequential operation command chain. The operation command chain storage arranges the device index, operation command code, and parameter value according to the order of action execution. The device index is allocated according to the bitmap order.
[0007] In a preferred embodiment, the specific steps in the process of generating a minimal control instruction dataset by the home terminal cluster include: Bit mapping encoding is a data processing method that uses binary bit sequence compression encoding of device cluster topology. It constructs a device subset representation model by assigning a fixed-position bit identifier to each target device. The bit mapping method adopts a fixed-order bit sequence structure, with the first bit identifier always corresponding to the curtain motor, the second bit identifier always corresponding to the temperature and humidity sensor, and the last bit identifier always corresponding to the smart socket, forming a rigid binding relationship between device type and bit order. Device bitmap identifiers are binary identifiers used to compress and encode the topology of home terminal clusters, integrating different target devices into a single data structure through bit mapping.
[0008] In a preferred embodiment, a simplified communication protocol stack suitable for small data packet transmission is dynamically configured based on the network access type and current channel state of the target low-power device. This simplified communication protocol stack is optimized to bypass or compress redundant protocol headers in traditional network protocol stacks, including: Small data packets are minimal data transmission units designed specifically for low-power devices. Their structure is optimized through flat packaging and length compression, resulting in a significantly smaller data packet size than traditional network protocol data packets. Small data packets contain only the minimum set of fields necessary for the target device control. All fields are arranged consecutively without protocol header nesting, and the total length is rigidly constrained within an ultra-low range, making them suitable for the power consumption limitations and narrowband channel transmission requirements of button battery devices. Identify whether the network access type of the target low-power device belongs to a low-power wide area network or a short-range wireless network; When the network access type is a low-power wide area network, the network layer and transport layer protocol headers are stripped, and the application layer data is passed directly to the physical layer for encapsulation. When the network access type is a short-range wireless network, the application layer protocol header fields are compressed, while the core data payload is retained. The core data payload is the essential information entity retained after stripping redundant protocol header fields from the application layer data. It contains the smallest instruction unit necessary for the device to perform operations. The core data payload consists of operation command codes and parameter values, directly corresponding to the control actions and execution parameters of the target device. It does not contain any protocol encapsulation identifiers or transmission control information. In the transmission frame, the core data payload exists as an independent field, alongside fields such as authentication and verification, forming a flat structure. Based on the channel state, when the received signal strength is lower than the preset weak signal threshold, forward error correction code is appended to the end of the transmission frame; when the channel signal-to-noise ratio is lower than the preset interference threshold, the protocol header length is compressed and the anti-interference coding mechanism is activated. The simplified communication protocol stack is a data transmission architecture optimized for low-power devices. It achieves a simplified frame structure by stripping redundant protocol headers and an adaptive channel response mechanism. The simplified communication protocol stack processes data encapsulation differently according to the network access type. The transmission frame is a flattened control command data structure generated by the edge coordinator. It contains five fixed fields: target device short address, operation command code, parameter value, authentication field, and frame verification sequence. All fields are arranged continuously in a preset order. The field length is subject to minimal compression constraints. The total length of the transmission frame is rigidly constrained to not exceed 15 bytes. If the limit is exceeded, secondary compression of the parameter value is triggered.
[0009] In a preferred embodiment, lightweight authentication information is generated for the minimized control command dataset based on a pre-distributed security token or shared key, and this authentication information is embedded in a fixed field of subsequent transmission frames. Specific steps include: Security tokens are fixed-length encrypted tokens pre-distributed to edge coordinators and home terminal devices during the device deployment phase, used to generate authentication information from a minimal control command dataset; The security token strength is selected in stages, and the authentication strength is selected according to the device's remaining power threshold. When the device's remaining power is not lower than the first power threshold, the first level of authentication strength mode is used. When the device's remaining power is in the second power threshold range, the second level of authentication strength mode is used. When the device's remaining power is lower than the third power threshold, the authentication function is turned off. Lightweight authentication information is a fixed-length authentication data field generated by performing authentication operations on a minimal control command dataset using a pre-distributed key. It is used to verify the reliability of the command source and the integrity of the transmission. Lightweight authentication information is generated. In the first-level authentication strength mode, a truncated hash operation is performed on the minimized control instruction dataset using a pre-distributed 128-bit key to generate a 4-byte authentication data field. In the second-level authentication strength mode, a 2-byte cyclic redundancy check authentication field is generated using a 64-bit key. Locate and embed the authentication field, and embed the authentication data field at a fixed offset address at the end of the transmission frame; The authentication shutdown frame is optimized by removing the placeholder space for the authentication field when the authentication function is turned off, and reducing the transmission frame length to the same byte length of the authentication field before it was turned off.
[0010] In a preferred embodiment, lightweight authentication information is generated. In high-strength authentication mode, a truncated hash operation is performed on the minimized control instruction dataset using a pre-distributed 128-bit key to generate a 4-byte authentication data field. In low-strength mode, a two-byte cyclic redundancy check authentication field is generated using a 64-bit key. The specific steps include: The pre-distributed key is a fixed-length encrypted material that is pre-distributed to the edge coordinator and home terminal devices during the device deployment phase. It is used to generate lightweight authentication information locally. The pre-distributed key is synchronized to the device during the network initialization phase through a secure pairing protocol and stored in a hardware secure area. The hash operation of the minimized control instruction dataset refers to performing a one-way hash function operation on the minimized control instruction dataset to generate a complete hash value.
[0011] In a preferred embodiment, the minimized control command dataset and the lightweight authentication information are binary-flattened and encapsulated to form a target command frame. The structure of the target command frame is constrained to contain only the target device short address, operation command code, parameter value, authentication field, and frame verification sequence. Specific steps include: Binary flattening encapsulation is a method that arranges five fields—target device short address, operation command code, parameter value, authentication field, and frame check sequence—in a fixed order to form a single binary data stream. The target instruction frame order is rigidly constrained and arranged continuously according to the preset order of target device short address, operation command code, parameter value, authentication field and frame verification sequence to form a binary data stream without nested protocol headers; The field length is compressed to a minimum. The target device short address length is fixed at one byte, the operation command code length is fixed at one byte, the parameter value is compressed to 1 to 4 bytes, the authentication field length is fixed at 4 bytes or 2 bytes, and the frame verification sequence length is fixed at two bytes. The authentication field is embedded at a fixed offset address at the end of the transmission frame, which is equal to the total length of the transmission frame minus six. Dynamically compress the frame length twice, verifying that the total frame length does not exceed 15 bytes. If the limit is exceeded, perform Huffman coding and recompression on the parameter values. Huffman coding is a variable-length lossless compression algorithm based on the statistical analysis of character occurrences. It implements the encoding mapping rules by constructing an optimal binary tree. Generate a frame check sequence, perform cyclic redundancy check operation on the target device short address, operation command code, parameter value and authentication field, generate a 2-byte check sequence and append it to the end of the frame.
[0012] In a preferred embodiment, the target instruction frame is transmitted using an acknowledgment and retransmission mechanism with a timeout window: after the sending end initiates a single instruction frame transmission, an acknowledgment timeout window is started; after the receiving end verifies the transmission, it replies with a simplified acknowledgment frame; if the sending end does not receive a valid acknowledgment frame within the acknowledgment timeout window, a limited number of retransmissions are triggered. The specific steps include: After the sending end initiates a single target command frame transmission, the timing window duration is dynamically calculated and confirmed based on the real-time received signal strength. When the received signal strength is lower than the preset weak signal threshold, the timing window duration is extended; when it is higher than the preset strong signal threshold, the timing window duration is shortened. After verifying the integrity and authentication validity of the target instruction frame, the receiving end generates a single-byte simplified confirmation frame and replies to the sending end. Target instruction frame integrity refers to maintaining the integrity and correctness of the data structure of the target instruction frame during transmission. The receiving end uses a verification mechanism to ensure that no data corruption or error has occurred in the instruction frame, thereby ensuring that the instruction content can be accurately parsed and processed. The authentication validity of the target instruction frame refers to the process by which the receiving end authenticates the identity and verifies the permissions of the received instruction frame, ensuring that the instruction frame comes from a legitimate and authorized sender and that its instruction content conforms to the pre-set security policy and access control rules, thereby preventing unauthorized devices from illegally accessing or executing control instructions. If the sending end does not receive a valid simplified acknowledgment frame within the acknowledgment timing window, the transmission is deemed to have failed. Retransmission is triggered in three levels based on the real-time channel signal-to-noise ratio, with a maximum of no more than three retransmissions. Real-time channel signal-to-noise ratio (SNR) is a signal quality indicator that is dynamically measured at the receiver during data transmission. It characterizes the ratio of the intensity of the effective signal to the background noise. The signal quality indicator is generated in real time through physical layer signal characteristics and quantifies the stability of the channel transmission environment.
[0013] In a preferred embodiment, the frame encapsulation strategy and acknowledgment timing window length of the simplified communication protocol stack are dynamically adjusted based on the transmission success rate and acknowledgment delay parameters of the target instruction frame, so that the protocol configuration parameters meet the synergistic optimization conditions of low power consumption constraints and transmission reliability. Specific steps include: The transmission success rate and average acknowledgment delay parameters of the target command frame are statistically analyzed. The transmission success rate is defined as the percentage of target command frames successfully delivered. The average acknowledgment delay is defined as the arithmetic mean of the time difference between the time the sender completes the physical layer transmission of the target command frame and the time it receives a valid simplified acknowledgment frame. When the transmission success rate is lower than the preset success rate threshold, the frame encapsulation compression strength is increased and forward error correction codes are appended to the end of the frame. When the average acknowledgment delay is higher than the preset delay threshold, the length of the frame encapsulation protocol header is reduced. When the average acknowledgment delay is higher than the preset delay threshold, the acknowledgment timing window duration is extended; when the transmission success rate is higher than the preset success rate threshold, the acknowledgment timing window duration is shortened. The adjusted protocol configuration parameters meet the rigid constraints of single-instruction communication energy consumption and transmission success rate.
[0014] Compared with the prior art, the present invention has the following beneficial effects: 1. By dynamically coupling device resource status and channel environment multi-dimensional perception, accurate assessment and cross-protocol layer collaborative control of low-power device communication status are achieved. Based on the dual feedback of real-time transmission success rate and acknowledgment delay parameters, a dynamic response mechanism is constructed to effectively identify the collaborative influence mode of network access type and channel quality. Combined with multi-level threshold judgment of device remaining power, and through joint optimization of authentication strength classification and protocol header compression, device energy consumption constraints and transmission reliability requirements are physically correlated to form a multi-dimensional communication optimization model. Compared with existing technologies, it can perceive the dynamic changes of communication links in real time in complex wireless environments. Through cross-layer mapping of protocol stack parameters and transmission strategies, the command transmission success rate is significantly improved, and nonlinear oscillations in communication performance caused by channel fluctuations are suppressed.
[0015] 2. By dynamically adapting the communication protocol stack and transmission strategy, the energy consumption and reliability imbalance caused by the fixed protocol header structure and static retransmission mechanism in traditional methods is solved. Based on the space efficiency optimization of device bitmap identifiers and minimal frame structures, a binary flattened encapsulation mechanism is constructed that can adapt to the transmission requirements of different network access types in real time, achieving coordinated adjustment of protocol header compression and authentication strength. Through dual constraints of transmission success rate threshold and latency threshold, it ensures that the configuration parameters always match the actual resource status of the device and the channel environment, avoiding control failures caused by over-optimization or under-optimization. While maintaining ultra-high transmission reliability, it significantly reduces the device energy consumption pressure caused by fixed protocol overhead, ensuring long-term stable operation of smart home devices in battery-powered scenarios. Attached Figure Description
[0016] Figure 1 This is a schematic diagram of the structure of a voice-triggered remote control method for low-power devices according to the present invention. Detailed Implementation
[0017] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0018] Example 1: Figure 1 A schematic diagram of a voice-triggered remote control method for low-power devices according to the present invention is provided, which includes the following steps: S1. After confirming the validity of the user's voice command, the edge coordinator performs semantic parsing and parameter extraction on the voice command, and generates a minimal control command dataset containing target device identifiers, operation command codes and parameter values for the home terminal cluster. S2. Based on the network access type and current channel status of the target low-power device, dynamically configure a simplified communication protocol stack suitable for small data packet transmission. The simplified communication protocol stack is optimized to bypass or compress redundant protocol headers in the traditional network protocol stack. S3. Based on the pre-distributed security token or shared key, generate lightweight authentication information for the minimized control instruction dataset, and embed the authentication information into a fixed field of subsequent transmission frames; S4. The minimized control instruction dataset and the lightweight authentication information are encapsulated in binary flattening to form a target instruction frame. The structure of the target instruction frame is constrained to include only the target device short address, operation command code, parameter value, authentication field and frame verification sequence. S5. The target instruction frame is transmitted using an acknowledgment and retransmission mechanism with a timed window: After the sending end initiates a single instruction frame transmission, an acknowledgment timed window is started. After the receiving end verifies the transmission, it replies with a simplified acknowledgment frame. If the sending end does not receive a valid acknowledgment frame within the acknowledgment timed window, a limited number of retransmissions are triggered. S6. Based on the transmission success rate and acknowledgment delay parameters of the target instruction frame, the frame encapsulation strategy and acknowledgment timed window length of the simplified communication protocol stack are dynamically adjusted to ensure that the protocol configuration parameters meet the conditions for coordinated optimization of low power consumption constraints and transmission reliability.
[0019] After confirming the validity of the user's voice command, the edge coordinator performs semantic parsing and parameter extraction on the voice command, and generates a minimal control command dataset containing target device identifiers, operation command codes, and parameter values for the home terminal cluster. Specifically, the implementation is as follows: As a local processing hub deployed in the home environment, the edge coordinator undertakes the core function of receiving user voice commands and independently completing the localized conversion of voice into control commands. The edge coordinator is directly connected to the home terminal cluster at the physical level and operates in a resource-constrained environment through its built-in dedicated processing unit, ensuring that all voice processing processes are completed in a closed loop at the device end, completely eliminating the risk of raw voice data being transmitted outside. The edge coordinator is designed to achieve low-power, high-response voice control functions without relying on any cloud computing power support. Its processing capabilities form a coordinated and adapted overall system with terminal devices such as curtain motors, temperature and humidity sensors, and smart sockets in the home environment.
[0020] In the initial stage of voice command processing, the edge coordinator first performs a dual security verification process to ensure the validity and legitimacy of the command. This verification process consists of two parts: wake word detection and voiceprint verification. Wake word detection performs preliminary command screening by comparing specific trigger words in the voice stream, while voiceprint verification confirms the user's identity by extracting voice features and matching them with pre-stored voiceprint templates. Only voice commands that pass both layers of verification are deemed valid and enter the subsequent processing stage. Commands that fail verification are immediately discarded, thereby ensuring the security and privacy of the system at the source.
[0021] For valid voice commands that pass verification, the edge coordinator immediately calls the built-in pruned and compressed neural network model for semantic parsing and parameter extraction. The pruned and compressed neural network model is a lightweight computational model formed by removing redundant connections and nodes in traditional neural networks. In the post-training stage, it performs structured pruning operations, deleting neuron connections that contribute less than a set threshold to the output, and retaining only key weight paths. This compresses the number of model parameters to a minimal level that can adapt to the memory limitations of edge devices. The pruned and compressed neural network model directly processes the voice command stream and outputs structured device operation command codes and parameter values. No intermediate data uploads or cloud interactions are required throughout the process, ensuring that the original voice data remains within the device from beginning to end.
[0022] Based on the parsed operation command codes and parameter values, the edge coordinator begins to build a minimal control command dataset for the home terminal cluster. One of the core components of the minimal control command dataset is the target device identifier, which is implemented using a bitmap encoding method to generate a device bitmap identifier. The device bitmap identifier follows a strict fixed bit order rule: the first bit always corresponds to the curtain motor, the second bit always corresponds to the temperature and humidity sensor, and the last bit always corresponds to the smart socket. The status value of each bit in the bit sequence indicates whether the corresponding device is selected to participate in the current control operation, thereby efficiently encoding the topology of the device cluster in a very simple binary form.
[0023] Another core component of minimizing the control instruction dataset is the operation command code and parameter value. These data are stored according to the rules of the time-sequential operation command chain. The time-sequential operation command chain strictly arranges the device index, operation command code and parameter value according to the order of action execution. The allocation of device index strictly follows the bitmap order to ensure that the devices set in the bitmap execute operations in their bit order.
[0024] The specific implementation of generating a minimal control instruction dataset in the home terminal cluster is as follows: Bit-mapping encoding compresses and encodes the topology of a device cluster using binary bit sequences. First, it establishes a rigid binding relationship between device type and bit order, using a fixed-order bit sequence structure and explicitly defining that the first bit identifier corresponds to the curtain motor, the second bit identifier corresponds to the temperature and humidity sensor, and the last bit identifier corresponds to the smart socket. Then, according to control requirements, the bit identifiers corresponding to each device in the target device subset are set to the active state, while the bit identifiers corresponding to non-subset devices are kept inactive. Finally, these bit identifiers representing the topological positions of the devices are combined into a complete binary bit sequence in a predetermined order. The binary bit sequence simultaneously completes the compression encoding of the device cluster topology and the specific construction of the device subset representation model.
[0025] The edge coordinator uses bit mapping to integrate different target devices in the home terminal cluster into a single data structure. First, it determines the fixed position of each device in the binary bit sequence based on the preset rigid binding relationship between device type and bit order. The first bit corresponds to the curtain motor, the second bit corresponds to the temperature and humidity sensor, and the last bit corresponds to the smart socket. Then, according to the control command, the bit identifier corresponding to the target device that needs to be operated is set to the active state, while the bit identifier corresponding to the device that does not need to be operated is kept in the inactive state. Finally, the state values of all bit identifiers are combined into a complete binary bit sequence according to the predetermined bit order. The complete binary bit sequence is the device bitmap identifier that simultaneously completes the compression encoding of the home terminal cluster topology.
[0026] Based on the network access type and current channel status of the target low-power device, a simplified communication protocol stack suitable for small data packet transmission is dynamically configured. This simplified communication protocol stack is optimized to bypass or compress redundant protocol headers in traditional network protocol stacks. Specifically, the implementation is as follows: The process of dynamically configuring a simplified communication protocol stack based on the network access type and current channel status of the target low-power device begins with the explicit definition and constraints of small data packets. As a minimal data transmission unit designed specifically for low-power devices, the small data packet undergoes a thorough flattening and length compression optimization, resulting in a transmission unit volume significantly smaller than traditional network protocol data packets. The small data packet contains only the minimum set of fields necessary to control the target device. All fields are arranged in a continuous manner and completely avoid any protocol header nesting structure. Its total length is rigidly constrained to a very low range, thereby ensuring that it can adapt to the strict power consumption limits of button battery devices and the limited transmission capacity of narrowband channels.
[0027] The first step in achieving dynamic configuration is to accurately identify the network access type of the target device. The system needs to determine whether the network the device is connected to is a low-power wide area network or a short-range wireless network. This identification process is based on a comprehensive judgment of the physical layer characteristics and network protocol features of the device connection. Different types of networks will trigger completely different data processing strategies.
[0028] When a device is detected to be connected to a low-power wide area network (LPWAN), the system will perform a specific protocol header stripping operation. This process involves skipping all protocol header fields of the network and transport layers and directly passing the application layer data to the physical layer for encapsulation. Conversely, when a device is connected to a short-range wireless network, the system adopts an application layer protocol header compression strategy, retaining only the most essential data payload. This retained core data payload contains the minimum instruction unit necessary for the device to perform operations.
[0029] The core data payload, as the essential information entity retained after stripping all redundant protocol header fields from the application layer data, constitutes the smallest instruction unit required for the device to perform operations. The core data payload consists of operation command codes and their related parameter values, directly corresponding to the control actions and specific execution parameters that the target device needs to perform. It does not contain any protocol encapsulation identifiers or transmission control information. In the final transmission frame structure, the core data payload exists as an independent field, arranged alongside other necessary fields such as authentication fields and verification fields, together forming a completely flat frame structure.
[0030] Based on real-time channel state monitoring results, the system will further optimize the transmission strategy. When the received signal strength is detected to be lower than the preset weak signal threshold, the system will append forward error correction code to the end of the transmission frame to enhance transmission reliability. When the channel signal-to-noise ratio is detected to be lower than the preset interference threshold, the system will start the protocol header length compression mechanism and simultaneously activate the anti-interference coding function to cope with adverse channel conditions.
[0031] As a data transmission architecture specifically optimized for low-power devices, the simplified communication protocol stack's core innovation lies in constructing a minimal frame structure by completely stripping redundant protocol headers and implementing an adaptive channel response mechanism. The simplified communication protocol stack adopts different data encapsulation strategies based on the identified network access type, which not only ensures the reliability of data transmission but also minimizes communication overhead.
[0032] The final generated transmission frame is a flattened control command data structure generated by the edge coordinator. The flattened control command data structure contains five fixed fields: target device short address, operation command code, parameter value, authentication field, and frame check sequence. All fields are arranged consecutively in a preset strict order, and the length of each field is subject to minimal compression constraints. The total length of the entire transmission frame is rigidly constrained to no more than 15 bytes. When the frame length exceeds this constraint value, the system will trigger a secondary compression mechanism for the parameter values to ensure that the length requirement is met.
[0033] Based on a pre-distributed security token or shared key, lightweight authentication information is generated for the minimized control command dataset, and this authentication information is embedded into a fixed field in subsequent transmission frames. Specifically, the implementation is as follows: The process of generating lightweight authentication information based on pre-distributed security tokens or shared keys begins with the pre-distribution mechanism of security tokens. Security tokens are fixed-length encrypted materials that are pre-distributed to edge coordinators and home terminal devices during the device deployment phase. They are synchronized during the network initialization phase through a secure pairing protocol and stored in the hardware security area of the device. These encrypted materials are specifically used to generate authentication information from a minimal control command dataset and do not require dynamic negotiation or external injection in subsequent communication.
[0034] Before generating authentication information, the security token strength needs to be selected in a tiered manner based on the device's remaining power threshold. When the device's remaining power is detected to be not lower than the first power threshold, the system adopts the first-level authentication strength mode. When the device's remaining power is in the second power threshold range, the system adopts the second-level authentication strength mode. When the device's remaining power is lower than the third power threshold, the authentication function is completely turned off. The tiered selection mechanism of security token strength ensures that the authentication strength is optimally matched with the device's current power status.
[0035] Lightweight authentication information is a fixed-length authentication data field generated by performing specific authentication operations on a minimal control command dataset using a pre-distributed key pair. The fixed-length authentication data field is specifically used to verify the reliability of the command source and the integrity of the data transmission process. Its generation method varies depending on the authentication strength mode, but all of them produce fixed-length authentication data.
[0036] When generating lightweight authentication information, in the first-level authentication strength mode, the system uses a pre-distributed longer key to perform a truncated hash operation on the minimized control instruction dataset to generate a shorter authentication data field. In the second-level authentication strength mode, a pre-distributed shorter key is used to generate an even shorter cyclic redundancy check authentication field. Both modes use specific algorithms to ensure the reliability of the authentication information.
[0037] The generated authentication data field needs to be embedded in a specific position in the transmission frame. The system positions the authentication data field at a fixed offset address at the end of the transmission frame. This offset address is obtained by subtracting a fixed value from the total length of the transmission frame. This positioning method ensures that the receiving end can directly calculate the position of the authentication field based on the frame length without parsing the entire protocol header.
[0038] When the system disables the authentication function due to insufficient power, it will perform an authentication disable frame optimization operation. The authentication disable frame optimization operation requires removing the placeholder space of the authentication field and reducing the length of the transmission frame accordingly. The reduced length is exactly equal to the number of bytes occupied by the authentication field before disabling, thereby maximizing transmission efficiency while ensuring functional integrity.
[0039] Lightweight authentication information is generated. In high-strength authentication mode, a pre-distributed 128-bit key is used to perform a truncated hash operation on the minimized control command dataset to generate a 4-byte authentication data field. In low-strength mode, a 64-bit key is used to generate a 2-byte cyclic redundancy check authentication field. The specific implementation is as follows: The process of generating lightweight authentication information begins with the secure deployment and storage of pre-distributed keys. These pre-distributed keys are fixed-length encrypted materials that are pre-distributed to the edge coordinator and home terminal devices during the device deployment phase. They complete secure synchronization between devices during the network initialization phase through a secure pairing protocol. All key materials are stored in the device's hardware secure area, and subsequent communication processes do not require dynamic negotiation or external injection. These pre-distributed keys are specifically used to generate lightweight authentication information locally on the device, thereby ensuring complete localization of the authentication process and zero transmission of original data.
[0040] When generating authentication information, the system first performs a one-way hash function operation on the minimized control instruction dataset to generate a complete hash value. This operation ensures the integrity and irreversibility of the data. In high-strength authentication mode, the system uses a pre-distributed longer key to perform a truncated hash operation, extracting a fixed-length fragment from the complete hash value as the authentication data field. In low-strength authentication mode, a pre-distributed shorter key is used to generate a cyclic redundancy check authentication field. Both modes use specific cryptographic algorithms to ensure the reliability of the authentication information and produce fixed-length authentication data.
[0041] The minimized control command dataset and the lightweight authentication information are binary-flattened and encapsulated to form a target command frame. The structure of the target command frame is constrained to contain only the target device short address, operation command code, parameter value, authentication field, and frame verification sequence. Specifically, the implementation is as follows: The binary flattening encapsulation process begins with the precise definition of the target instruction frame structure. This method arranges the five necessary fields—target device short address, operation command code, parameter value, authentication field, and frame verification sequence—in a strict fixed order to form a complete binary data stream. This arrangement completely eliminates the multi-layered nested protocol header structure present in the traditional protocol stack, making the entire data packet exhibit a completely flattened characteristic.
[0042] The rigid constraint requires that the target instruction frame order strictly follow the preset order of the target device short address, operation command code, parameter value, authentication field, and frame verification sequence. This strict order arrangement ensures that all control information is stored sequentially in a linear manner, completely avoiding the nested structure of multi-layer protocol headers in traditional protocol stacks, and ultimately forming a binary data stream without nested protocol headers.
[0043] The length of each field is compressed to a minimum. The target device short address is fixed to a single byte length, the operation command code is also fixed to a single byte length, the parameter value is compressed to 1 to 4 bytes depending on the specific content, the authentication field is fixed to 4 bytes or 2 bytes depending on the authentication strength mode, and the frame verification sequence always remains at 2 bytes. These length constraints together ensure the compactness of the entire frame structure.
[0044] The authentication field is embedded in a mathematical location. The system precisely embeds the authentication data field at a fixed offset address at the end of the transmission frame. This offset address is obtained by subtracting a fixed value from the total length of the transmission frame. This location method allows the receiver to directly calculate the starting position of the authentication field based on the frame length without having to traverse and parse the entire data packet.
[0045] To ensure that the frame length meets the strict requirements, the system implements a dynamic secondary compression mechanism. Immediately after the frame is assembled, it verifies whether the total frame length exceeds the specified maximum length limit. When the frame length exceeds the limit, the system performs Huffman coding and recompression on the parameter value field. This adaptive compression method ensures that the final frame length meets the requirements.
[0046] Huffman coding, as the core algorithm used in the recompression process, works by constructing an optimal binary tree structure based on the frequency statistics of each character in the parameter value. Then, a corresponding variable-length encoding mapping table is generated according to the tree structure. Data compression is achieved by re-encoding the parameter value. This compression method can significantly reduce the data volume while ensuring data integrity.
[0047] The final stage requires generating a frame verification sequence. The system performs cyclic redundancy check (CRC) operations on the four parts of the data: the target device short address, the operation command code, the parameter value, and the authentication field. A two-byte verification sequence is generated through a specific polynomial calculation, and then this verification sequence is appended to the end of the entire frame to complete the construction of the final target instruction frame.
[0048] The target command frame is transmitted using an acknowledgment and retransmission mechanism with a timed window: after the sending end initiates a single command frame transmission, an acknowledgment timed window is started. After the receiving end verifies the data, it replies with a simplified acknowledgment frame. If the sending end does not receive a valid acknowledgment frame within the acknowledgment timed window, a limited number of retransmissions are triggered. Specifically, the implementation is as follows: When transmitting target command frames using an acknowledgment and retransmission mechanism with a timed window, the sending end starts an acknowledgment timing window immediately after initiating a single target command frame transmission. The duration of this window is not a fixed value but is dynamically calculated based on the real-time received signal strength. When the received signal strength is detected to be lower than a preset weak signal threshold, the timing window duration is automatically extended. When the received signal strength is higher than a preset strong signal threshold, the timing window duration is shortened accordingly. This dynamic adjustment mechanism ensures that a reasonable waiting time is maintained under different channel quality conditions.
[0049] After completing the integrity and authentication validity verification of the target instruction frame, the receiving end immediately generates a single-byte simplified acknowledgment frame and sends the acknowledgment frame back to the sending end. This acknowledgment frame adopts a minimalist structure design with the high four bits storing the opcode verification information and the low four bits storing the status code. It compresses the complete acknowledgment information into a single byte for transmission through the current communication link, ensuring that the necessary feedback is provided while minimizing communication overhead.
[0050] Upon receiving the target instruction frame, the receiving end first performs a structural integrity check, verifying whether the frame length conforms to the predetermined range and whether the positions of each field are correctly aligned. Then, it verifies the frame check sequence by recalculating the cyclic redundancy check value and comparing it with the received check sequence to ensure that no bit errors or data corruption have occurred during data transmission. Finally, it verifies the validity and rationality of each field value to ensure that all parameter values are within the legal range that the device can execute. Through these verification mechanisms, the integrity and correctness of the instruction frame data structure are guaranteed, thereby ensuring that the instruction content can be accurately parsed and processed.
[0051] The receiving end first extracts the authentication field from the target instruction frame and performs authentication operations on the instruction data using a pre-distributed security key. Then, it compares the operation result with the received authentication field value to verify whether the instruction frame originates from an authorized and legitimate sender. Next, it checks whether the sender's device identifier exists in the pre-authorized device list. Finally, it confirms whether the instruction content conforms to the sender's operation permission scope, ensuring that all control instructions follow pre-set security policies and access control rules. Through these steps, unauthorized devices are prevented from illegally accessing or executing control instructions.
[0052] The sending end continuously listens for responses from the receiving end within the acknowledgment time window. If no valid simplified acknowledgment frame is received within the entire window period, the transmission is deemed to have failed. This determination process is based on a strict timeout mechanism to ensure that misjudgments are not caused by accidental signal delays, thus providing an accurate basis for subsequent retransmission decisions.
[0053] Based on the real-time channel signal-to-noise ratio (SNR) status, a three-level retransmission mechanism is triggered. When the SNR is in the first level range, more retransmissions are allowed. When the SNR is in the second level range, the number of retransmissions is appropriately reduced. When the SNR is in the third level range, the number of retransmissions is strictly limited. However, the maximum number of retransmissions in all cases does not exceed three. The real-time channel SNR status classification strategy effectively controls energy consumption while ensuring reliability.
[0054] Real-time channel signal-to-noise ratio (SNR) is a key basis for retransmission decisions. It is a signal quality indicator that is dynamically measured by the receiver during data transmission. It accurately represents the ratio of the intensity of the effective signal to the background noise. The signal quality indicator is generated in real time through physical layer signal characteristics and can quantitatively reflect the stability of the channel transmission environment, providing reliable data support for adaptive retransmission strategies.
[0055] Based on the transmission success rate and acknowledgment delay parameters of the target instruction frame, the frame encapsulation strategy and acknowledgment timing window length of the simplified communication protocol stack are dynamically adjusted to ensure that the protocol configuration parameters meet the synergistic optimization conditions of low power consumption constraints and transmission reliability. Specifically, the implementation is as follows: The process of dynamically adjusting the protocol configuration based on the transmission success rate and average acknowledgment delay parameters of the target command frame begins with continuous performance monitoring. The system periodically calculates the transmission success rate parameter of the target command frame, which is defined as the proportion of the number of successfully delivered target command frames in the total number of sent frames. At the same time, it calculates the average acknowledgment delay parameter, which is defined as the arithmetic mean of the time difference from the start of the physical layer transmission of the target command frame at the sending end to the receipt of a valid simplified acknowledgment frame. The transmission success rate parameter and the average acknowledgment delay parameter together constitute the basic indicators for evaluating the current communication quality and performance.
[0056] When the transmission success rate is detected to be lower than the preset success rate threshold, the system will automatically enhance the frame encapsulation compression strength. Specifically, forward error correction codes will be appended to the end of the frame to improve the reliability of data transmission. When the average acknowledgment delay is detected to be higher than the preset delay threshold, the system will take measures to reduce the length of the frame encapsulation protocol header to reduce the transmission delay. These adjustment measures are all optimizations of the frame encapsulation strategy, aiming to improve transmission performance.
[0057] In addition to adjusting the frame encapsulation strategy, the system also adjusts the duration of the acknowledgment timing window based on performance metrics. When the average acknowledgment delay is higher than the preset delay threshold, the system will extend the duration of the acknowledgment timing window accordingly to accommodate the longer response time. When the transmission success rate is higher than the preset success rate threshold, the system will shorten the duration of the acknowledgment timing window to improve communication efficiency. This dynamic adjustment ensures a good match between the acknowledgment mechanism and the current network conditions.
[0058] The adjusted protocol configuration parameters must meet strict constraints, including that single-instruction communication power consumption cannot exceed the specified upper limit and that the transmission success rate must meet the minimum requirements. The system will continuously verify the satisfaction of these constraints and make further parameter adjustments as necessary to ensure that the goal of synergistic optimization of low power consumption and transmission reliability is ultimately achieved.
[0059] The above formulas are all dimensionless calculations. The formulas are derived from software simulations using a large amount of collected data, and are the closest to the real situation. The preset parameters in the formulas are set by those skilled in the art according to the actual situation.
[0060] The above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, in the form of a computer program product.
[0061] Those skilled in the art will recognize that the modules and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0062] In addition, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module.
[0063] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0064] In conclusion, the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A voice-triggered remote control method for low-power devices, characterized in that... ; S1. After confirming the validity of the user's voice command, the edge coordinator performs semantic parsing and parameter extraction on the voice command, and generates a minimal control command dataset containing target device identifiers, operation command codes and parameter values for the home terminal cluster. S2. Based on the network access type and current channel status of the target low-power device, dynamically configure a simplified communication protocol stack suitable for small data packet transmission. The simplified communication protocol stack is optimized to bypass or compress redundant protocol headers in the traditional network protocol stack. S3. Based on the pre-distributed security token or shared key, generate lightweight authentication information for the minimized control instruction dataset, and embed the authentication information into a fixed field of subsequent transmission frames; S4. The minimized control instruction dataset and the lightweight authentication information are encapsulated in binary flattening to form a target instruction frame. The structure of the target instruction frame is constrained to include only the target device short address, operation command code, parameter value, authentication field and frame verification sequence. S5. The target instruction frame is transmitted using an acknowledgment and retransmission mechanism with a timed window: after the sending end initiates a single instruction frame transmission, an acknowledgment timed window is started. After the receiving end verifies the transmission, it replies with a simplified acknowledgment frame. If the sending end does not receive a valid acknowledgment frame within the acknowledgment timed window, a limited number of retransmissions are triggered. S6. Based on the transmission success rate and acknowledgment delay parameters of the target instruction frame, dynamically adjust the frame encapsulation strategy and acknowledgment timing window length of the simplified communication protocol stack so that the protocol configuration parameters meet the synergistic optimization conditions of low power consumption constraints and transmission reliability.
2. The voice-triggered remote control method for low-power devices according to claim 1, characterized in that: After confirming the validity of the user's voice command, the edge coordinator performs semantic parsing and parameter extraction on the voice command, generating a minimal control command dataset containing target device identifiers, operation command codes, and parameter values for the home terminal cluster. Specific steps include: The edge coordinator is a local processing hub deployed in the home environment, responsible for receiving user voice commands and completing the localized conversion of voice into control commands; The edge coordinator verifies the validity of user voice commands through dual security verification: wake word detection and voiceprint verification. The voice command stream is processed by the built-in processing unit of the edge coordinator through a pruned and compressed neural network model, and the device operation command code and parameter value are directly output, with zero transmission of the original voice data throughout the process. The pruned and compressed neural network model is a lightweight computational model that optimizes the structure by removing redundant connections and nodes. Its parameter count is compressed to fit the memory limitations of edge devices. The pruned and compressed neural network model performs structured pruning in the post-training stage, deleting neuron connections that contribute less than a threshold to the output and retaining key weight paths. A minimal control instruction dataset is generated for the home terminal cluster. The minimal control instruction dataset includes target device identifiers, operation command codes and parameter values. The target device identifier adopts a bitmap encoded device bitmap identifier, with the first bit fixed to correspond to the curtain motor, the second bit fixed to correspond to the temperature and humidity sensor, and the last bit fixed to correspond to the smart socket. Operation command codes and parameter values are stored in a time-sequential operation command chain. The operation command chain storage arranges the device index, operation command code, and parameter value according to the order of action execution. The device index is allocated according to the bitmap order.
3. The voice-triggered remote control method for low-power devices according to claim 2, characterized in that: The specific steps involved in generating a minimal control instruction dataset for a home terminal cluster include: Bit mapping encoding is a data processing method that uses binary bit sequence compression encoding of device cluster topology. It constructs a device subset representation model by assigning a fixed-position bit identifier to each target device. The bit mapping method adopts a fixed-order bit sequence structure, with the first bit identifier always corresponding to the curtain motor, the second bit identifier always corresponding to the temperature and humidity sensor, and the last bit identifier always corresponding to the smart socket, forming a rigid binding relationship between device type and bit order. Device bitmap identifiers are binary identifiers used to compress and encode the topology of home terminal clusters, integrating different target devices into a single data structure through bit mapping.
4. The voice-triggered remote control method for low-power devices according to claim 3, characterized in that: Based on the network access type and current channel status of the target low-power device, a simplified communication protocol stack suitable for small data packet transmission is dynamically configured. This simplified communication protocol stack is optimized to bypass or compress redundant protocol headers in traditional network protocol stacks, including: Small data packets are minimal data transmission units designed specifically for low-power devices. Their structure is optimized through flattened encapsulation and length compression. Small data packets contain only the minimum set of fields necessary for the target device control, with all fields arranged consecutively and without nested protocol headers. Identify whether the network access type of the target low-power device belongs to a low-power wide area network or a short-range wireless network; When the network access type is a low-power wide area network, the network layer and transport layer protocol headers are stripped, and the application layer data is passed directly to the physical layer for encapsulation. When the network access type is a short-range wireless network, the application layer protocol header fields are compressed, while the core data payload is retained. The core data payload is the essential information entity retained after stripping redundant protocol header fields from the application layer data. It contains the smallest instruction unit necessary for the device to perform operations. The core data payload consists of operation command codes and parameter values, directly corresponding to the control actions and execution parameters of the target device. It does not contain any protocol encapsulation identifiers or transmission control information. In the transmission frame, the core data payload exists as an independent field, alongside fields such as authentication and verification, forming a flat structure. Based on the channel state, when the received signal strength is lower than the preset weak signal threshold, forward error correction code is appended to the end of the transmission frame; when the channel signal-to-noise ratio is lower than the preset interference threshold, the protocol header length is compressed and the anti-interference coding mechanism is activated. The simplified communication protocol stack is a data transmission architecture optimized for low-power devices. It achieves a simplified frame structure by stripping redundant protocol headers and an adaptive channel response mechanism. The simplified communication protocol stack processes data encapsulation differently according to the network access type. The transmission frame is a flattened control command data structure generated by the edge coordinator. It contains five fixed fields: target device short address, operation command code, parameter value, authentication field, and frame verification sequence. All fields are arranged continuously in a preset order. The field length is subject to minimal compression constraints. The total length of the transmission frame is rigidly constrained to not exceed 15 bytes. If the limit is exceeded, secondary compression of the parameter value is triggered.
5. A voice-triggered remote control method for low-power devices according to claim 4, characterized in that: Based on a pre-distributed security token or shared key, lightweight authentication information is generated for the minimized control command dataset, and this authentication information is embedded into a fixed field in subsequent transmission frames. Specific steps include: Security tokens are fixed-length encrypted tokens pre-distributed to edge coordinators and home terminal devices during the device deployment phase, used to generate authentication information from a minimal control command dataset; The security token strength is selected in stages, and the authentication strength is selected according to the device's remaining power threshold. When the device's remaining power is not lower than the first power threshold, the first level of authentication strength mode is used. When the device's remaining power is in the second power threshold range, the second level of authentication strength mode is used. When the device's remaining power is lower than the third power threshold, the authentication function is turned off. Lightweight authentication information is a fixed-length authentication data field generated by performing authentication operations on a minimal control command dataset using a pre-distributed key. It is used to verify the reliability of the command source and the integrity of the transmission. The process of generating lightweight authentication information is as follows: in the first-level authentication strength mode, a truncated hash operation is performed on the minimized control instruction dataset using a pre-distributed 128-bit key to generate a 4-byte authentication data field; in the second-level authentication strength mode, a 2-byte cyclic redundancy check authentication field is generated using a 64-bit key. Embed the authentication data field at a fixed offset address at the end of the transmission frame; When the authentication function is disabled, the placeholder space for the authentication field is removed, and the transmission frame length is reduced to the same byte length as the authentication field before it was disabled.
6. A voice-triggered remote control method for low-power devices according to claim 5, characterized in that: Lightweight authentication information is generated. In high-strength authentication mode, a pre-distributed 128-bit key is used to perform a truncated hash operation on the minimized control instruction dataset to generate a 4-byte authentication data field. In low-strength mode, a 64-bit key is used to generate a 2-byte cyclic redundancy check authentication field. The specific steps include: The pre-distributed key is a fixed-length encrypted material that is pre-distributed to the edge coordinator and home terminal devices during the device deployment phase. It is used to generate lightweight authentication information locally. The pre-distributed key is synchronized to the device during the network initialization phase through a secure pairing protocol and stored in a hardware secure area. The hash operation of the minimized control instruction dataset refers to performing a one-way hash function operation on the minimized control instruction dataset to generate a complete hash value.
7. A voice-triggered remote control method for low-power devices according to claim 6, characterized in that: The minimized control command dataset and the lightweight authentication information are binary-flattened and encapsulated to form a target command frame. The structure of the target command frame is constrained to contain only the target device short address, operation command code, parameter value, authentication field, and frame verification sequence. Specific steps include: Binary flattening encapsulation is a method that arranges five fields—target device short address, operation command code, parameter value, authentication field, and frame check sequence—in a fixed order to form a single binary data stream. The rigid constraint target instruction frame order is arranged continuously in a preset order according to the target device short address, operation command code, parameter value, authentication field, and frame check sequence, forming a binary data stream without nested protocol headers; The simplified compression field length fixes the target device short address length to one byte, the operation command code length to one byte, the parameter value to 1 to 4 bytes, the authentication field length to 4 bytes or 2 bytes, and the frame verification sequence length to two bytes. The authentication field is embedded at a fixed offset address at the end of the transmission frame, which is equal to the total length of the transmission frame minus six. Dynamically compress the frame length twice, verifying that the total frame length does not exceed 15 bytes. If the limit is exceeded, perform Huffman coding and recompression on the parameter values. Huffman coding is a variable-length lossless compression algorithm based on the statistical analysis of character occurrences. It implements the encoding mapping rules by constructing an optimal binary tree. Generate a frame check sequence, perform cyclic redundancy check operation on the target device short address, operation command code, parameter value and authentication field, generate a 2-byte check sequence and append it to the end of the frame.
8. A voice-triggered remote control method for low-power devices according to claim 7, characterized in that: The target command frame is transmitted using an acknowledgment and retransmission mechanism with a timed window: after the sending end initiates a single command frame transmission, an acknowledgment timed window is started. After the receiving end verifies the data, it replies with a simplified acknowledgment frame. If the sending end does not receive a valid acknowledgment frame within the acknowledgment timed window, a limited number of retransmissions are triggered. The specific steps include: After the sending end initiates a single target command frame transmission, the timing window duration is dynamically calculated and confirmed based on the real-time received signal strength. When the received signal strength is lower than the preset weak signal threshold, the timing window duration is extended; when it is higher than the preset strong signal threshold, the timing window duration is shortened. After verifying the integrity and authentication validity of the target instruction frame, the receiving end generates a single-byte simplified confirmation frame and replies to the sending end. Target command frame integrity refers to maintaining the integrity and correctness of the data structure of the target command frame during transmission. The receiving end uses a verification mechanism to ensure that no data corruption or error has occurred in the command frame. The authentication validity of the target instruction frame refers to the process by which the receiving end authenticates the identity and verifies the permissions of the received instruction frame, ensuring that the instruction frame comes from a legitimate and authorized sender and that the instruction content conforms to the pre-set security policy and access control rules, thereby preventing unauthorized devices from illegally accessing or executing control instructions. If the sending end does not receive a valid simplified acknowledgment frame within the acknowledgment timing window, the transmission is deemed to have failed. Retransmission is triggered in three levels based on the real-time channel signal-to-noise ratio, with a maximum of no more than three retransmissions.
9. A voice-triggered remote control method for low-power devices according to claim 8, characterized in that: Based on the transmission success rate and acknowledgment delay parameters of the target instruction frame, the frame encapsulation strategy and acknowledgment timing window length of the simplified communication protocol stack are dynamically adjusted to ensure that the protocol configuration parameters meet the synergistic optimization conditions of low power consumption constraints and transmission reliability. Specific steps include: The transmission success rate and average acknowledgment delay parameters of the target command frame are statistically analyzed. The transmission success rate is defined as the percentage of target command frames successfully delivered. The average acknowledgment delay is defined as the arithmetic mean of the time difference between the time the sender completes the physical layer transmission of the target command frame and the time it receives a valid simplified acknowledgment frame. When the transmission success rate is lower than the preset success rate threshold, the frame encapsulation compression strength is increased and forward error correction codes are appended to the end of the frame. When the average acknowledgment delay is higher than the preset delay threshold, the length of the frame encapsulation protocol header is reduced. When the average acknowledgment delay is higher than the preset delay threshold, the acknowledgment timing window duration is extended; when the transmission success rate is higher than the preset success rate threshold, the acknowledgment timing window duration is shortened. The adjusted protocol configuration parameters meet the rigid constraints of single-instruction communication energy consumption and transmission success rate.
Citation Information
Cited By
Low-power-consumption voice recognition and local task buffering method for AI glasses
CN121789655A
Low-power-consumption radio frequency receiving method and device based on bidirectional authentication and medium
CN121842680A