System and method for wireless communication
First Claim
1. A method for wireless communication used to transmit a message to a specific slave device when a master device demands communication, wherein comprising:
- S1, the master device generating a sequence code through a specific encoder and transmitting the sequence code to each slave device continuously within a preset period according to the communication demand, wherein the specific encoder is a specific feedback shift register constructed by a specific polynomial, of which the coefficients and the order are in correlation with the communication demand, while all of the coefficients and initial values are not equal to 0;
the preset period is greater than or equal to the sum of a sleeping period and a detecting period of the slave device, which constitutes a sleeping-and-waking cycle;
S2, the specific slave device receiving a continuous section of the sequence code in the detecting period, decoding the continuous section of the sequence code through a decoder corresponding to the specific encoder, and performing corresponding operation according to the decoding result;
wherein after the specific slave device has decoded the continuous section of the sequence code through the decoder constructed by the specific feedback shift register, removing a same number of code elements as that of the order from received sequence code, and initializing the specific feedback shift register of the specific slave device with the initial value equal to that of the specific feedback shift register of the master device, then calculating a time when the master device starts transmitting the sequence code according to a baud rate of current communication, and synchronizing in time with the master device based on calculated time and/or calculating a time when the master device stops transmitting the sequence code within the preset period, wherein the specific slave device goes to sleep before the time that has been calculated to stop transmitting the sequence code.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and system for wireless communication are disclosed. The method comprises: the master device generates a sequence code through a specific encoder and transmits the sequence code to each slave device continuously within a preset period according to the communication demand, wherein the specific encoder is a feedback shift register constructed by a specific polynomial, of which the coefficients and the order are in correlation with the communication demand while all of the coefficients and initial values are not equal to 0 at the same time; the preset period is greater than or equal to the sum of a sleeping period and a detecting period of the slave device, which constitutes a sleeping-and-waking cycle; the slave device receives a continuous section of the sequence code in the detecting period, decodes the sequence code through a decoder corresponding to the encoder, and performs corresponding operation according to the decoding result.
-
Citations
15 Claims
-
1. A method for wireless communication used to transmit a message to a specific slave device when a master device demands communication, wherein comprising:
-
S1, the master device generating a sequence code through a specific encoder and transmitting the sequence code to each slave device continuously within a preset period according to the communication demand, wherein the specific encoder is a specific feedback shift register constructed by a specific polynomial, of which the coefficients and the order are in correlation with the communication demand, while all of the coefficients and initial values are not equal to 0;
the preset period is greater than or equal to the sum of a sleeping period and a detecting period of the slave device, which constitutes a sleeping-and-waking cycle;S2, the specific slave device receiving a continuous section of the sequence code in the detecting period, decoding the continuous section of the sequence code through a decoder corresponding to the specific encoder, and performing corresponding operation according to the decoding result; wherein after the specific slave device has decoded the continuous section of the sequence code through the decoder constructed by the specific feedback shift register, removing a same number of code elements as that of the order from received sequence code, and initializing the specific feedback shift register of the specific slave device with the initial value equal to that of the specific feedback shift register of the master device, then calculating a time when the master device starts transmitting the sequence code according to a baud rate of current communication, and synchronizing in time with the master device based on calculated time and/or calculating a time when the master device stops transmitting the sequence code within the preset period, wherein the specific slave device goes to sleep before the time that has been calculated to stop transmitting the sequence code. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A system for wireless communication, which comprises a master device and at least one slave device, and the master device is operable to transmit a message to a specific slave device when demanding communication, wherein, the master device comprises:
-
an encoding module operable to generate a sequence code through a specific encoder, wherein the specific encoder is a specific feedback shift register constructed by a specific polynomial, and the coefficients and the order of the specific polynomial are in correlation with the communication demand, while all of the coefficients and the initial value of the polynomial are not equal to 0; a transmitting module operable to transmit the sequence code to each slave device of the at least one slave device continuously within a preset period, wherein the preset period is greater than or equal to the sum of a sleeping period and a detecting period of the each slave device, which constitutes a sleeping-and-waking cycle; the each slave device comprises; a receiving module operable to receive the sequence code in the detecting period; a decoding module operable to decode the sequence code through a decoder corresponding to the specific encoder; a controlling module operable to perform corresponding operation according to the decoding result; wherein after the specific slave device has decoded a continuous section of the sequence code through the decoder constructed by the specific feedback shift register, removing a same number of code elements as that of the order from received sequence code, and initializing the specific feedback shift register of the specific slave device with the initial value equal to that of the specific feedback shift register of the master device, then calculating a time when the master device starts transmitting the sequence code according to a baud rate of current communication, and synchronizing in time with the master device based on calculated time and/or calculating a time when the master device stops transmitting the sequence code within the preset period, wherein the specific slave device goes to sleep before the time that has been calculated to stop transmitting the sequence code.
-
Specification