CN113596911A - Wireless device communication method and wireless device control system - Google Patents

Wireless device communication method and wireless device control system Download PDF

Info

Publication number
CN113596911A
CN113596911A CN202110782967.XA CN202110782967A CN113596911A CN 113596911 A CN113596911 A CN 113596911A CN 202110782967 A CN202110782967 A CN 202110782967A CN 113596911 A CN113596911 A CN 113596911A
Authority
CN
China
Prior art keywords
actuator
information
gateway
wireless device
random number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110782967.XA
Other languages
Chinese (zh)
Inventor
刘远芳
曾祺瑞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Yibailong Intelligent Technology Co ltd
Original Assignee
Guangdong Yibailong Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Yibailong Intelligent Technology Co ltd filed Critical Guangdong Yibailong Intelligent Technology Co ltd
Priority to CN202110782967.XA priority Critical patent/CN113596911A/en
Publication of CN113596911A publication Critical patent/CN113596911A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0289Congestion control

Abstract

The invention provides a wireless device communication method and a wireless device control system, wherein the wireless device control system comprises a switch, a gateway and an actuator, wherein the switch and the gateway are connected in a matching way, when the gateway is connected with the actuator, the gateway broadcasts a search instruction, the actuator reads the search instruction and receives an environment signal, generates a delay random number based on the environment noise signal, and transmits ID information of the corresponding actuator in a delay way by taking the delay random number as a multiple, wherein the gateway records the ID information of the actuator to the gateway so as to realize the matching connection of the gateway and the actuator.

Description

Wireless device communication method and wireless device control system
Technical Field
The present invention relates to the field of wireless control technologies, and in particular, to a wireless device communication method and a wireless device control system.
Background
In a network environment, each intelligent device often needs to feed back its operating state to the gateway, but if each intelligent device feeds back its state to the gateway at the same time at the moment of starting or receiving the gateway "feedback state" command, it may cause mutual interference between state feedback signals and cause signal blockage, wherein some intelligent devices with unsuccessful signal transmission will repeatedly transmit until the signal transmission succeeds, further blocking transmission channels, and seriously deteriorating the regional network environment.
In order to solve the problem, in the prior art, a delay random number t is often set for a signal transmitted by the intelligent device as the time for delaying transmission, that is, after a feedback state command is received, a state feedback signal is transmitted after t seconds. In the prior art, t is often generated by setting a certain random number generation rule for the smart device, generally called "pseudo random number", and for this way, if a plurality of identical smart devices exist in the same network environment, because the rules for generating random numbers are the same, there still exists a situation that signals interfere with each other.
In the prior art, another way for generating the random number by the intelligent device is to generate the random number by attaching a random number generation function to a single chip microcomputer in the intelligent device, because the random number is taken by the single chip microcomputer, the randomness of the random number is larger, generally called as a true random number, and this way can greatly reduce the mutual interference of signals in the same network environment, but the single chip microcomputer with the function is often expensive, and the production cost of the intelligent device is greatly improved.
Therefore, a method for generating a true random number by using intelligent devices is needed, which can maintain low production cost of the intelligent devices and enable the intelligent devices to generate the true random number, so that the intelligent devices can smoothly transmit signals without mutual interference, and the signal blockage situation is effectively avoided.
Disclosure of Invention
One of the main advantages of the present invention is to provide a wireless device communication method and a wireless device control system, wherein the wireless device communication method is suitable for communication connection of a wireless device, obtains a random number based on a noise signal of an environment, and delays transmission of a feedback signal based on the obtained random number, thereby facilitating reduction of network transmission pressure and mitigation of network congestion.
Another advantage of the present invention is to provide a wireless device communication method and a wireless device control system, wherein when an actuator of the wireless device receives a control command identification code, the actuator further reads a noise signal and converts the noise signal into a delay random number, so that each intelligent device in the same network environment can transmit a signal at a wrong peak without mutual interference, thereby greatly reducing network transmission pressure and alleviating network congestion.
Another advantage of the present invention is to provide a wireless device communication method and a wireless device control system, wherein the wireless device communication method is suitable for a gateway to be connected in pair with the actuators of a plurality of wireless devices, wherein the actuators of the wireless devices obtain random numbers based on noise factors in the environment, and feed back status information of the actuators according to the obtained random numbers, so as to implement matching connection between the gateway and the actuators of the plurality of wireless devices, thereby increasing the speed of pairing connection.
Another advantage of the present invention is to provide a wireless device communication method and a wireless device control system, in which the wireless device generates a random number without depending on a random number generator of a main control unit, and generates the delayed random number using an environmental noise factor without interference of a high-power device, thereby reducing the cost of the wireless device and facilitating control of a plurality of wireless devices at the same time.
Another advantage of the present invention is to provide a wireless device communication method and a wireless device control system, wherein the wireless device communication method includes a method for connecting an actuator of a wireless device to a gateway, and the actuator delays transmission of self-information by using a delay random number obtained from environmental noise information as a multiple based on search information transmitted by the gateway, so that the gateway can match and connect with the actuators of a plurality of wireless devices by one broadcast.
Another advantage of the present invention is to provide a wireless device communication method and a wireless device control system, wherein the wireless device communication method includes a state feedback method for the actuators of a wireless device, wherein a plurality of the actuators delay transmission of the state information at a state change time by using a delay random number obtained based on received environmental noise information as a multiple, so that the gateway can receive the state feedback information of the plurality of the actuators after a time delay.
Another advantage of the present invention is to provide a wireless device communication method and a wireless device control system, wherein the wireless device communication method includes a relay method of the actuator of the wireless device, in which the actuator amplifies a received control signal as a relay and delays transmission of the status information by using a delayed random number obtained based on received environmental noise information as a multiple, so as to reduce congestion of network signals relayed by different actuators at the same time.
In accordance with one aspect of the present invention, the foregoing and other objects and advantages are achieved by a method for connecting a wireless device, comprising:
(a) reading a search instruction and receiving an environmental noise signal;
(b) generating a delay random number based on the received environmental noise signal, and delaying and sending ID information of a corresponding actuator according to the delay random number as a multiple; and
(c) and recording the ID information of the actuator to a gateway to realize the pairing connection of the gateway and the actuator.
According to one embodiment of the invention, the method further comprises, before step (a), the steps of: a search instruction is broadcast, wherein the executor is to read the search instruction.
According to one embodiment of the present invention, the length of the command sent by the gateway is N bytes, and the executor receives a signal of N + N bytes, where N bytes correspond to a noise signal of a current environment.
According to an embodiment of the present invention, in step (b) of the above method, the executor converts the environmental noise signal into a corresponding time-delay random number based on a certain rule.
According to an embodiment of the present invention, any byte of data in the n bytes of signals corresponding to the environmental noise signal is selected as the delay random number.
According to an embodiment of the present invention, the search command broadcast by the gateway is 8 bytes of information, and the executor receives 12 bytes of information, where the first 8 bytes are the search command broadcast by the gateway, and the last 4 bytes correspond to the ambient noise information received by the executor.
According to one embodiment of the invention, the 10 th byte of data is selected as the delayed random number.
According to an embodiment of the present invention, the method further comprises the steps of (d) determining whether all the actuators are not paired and connecting, and if yes, repeatedly executing the above steps; if not, the pairing is ended. In the method for connecting a wireless device according to the present invention, the method further includes: recording pairing information of switches to corresponding actuators so that the switches and the corresponding actuators are paired; and recording the ID information of the switch to the gateway so as to realize the binding of the switch and the gateway.
According to another aspect of the present invention, the present invention further provides an actuator state feedback method of a wireless device, wherein the actuator state feedback method includes:
(1) receiving an environmental noise signal, and converting the environmental noise signal into a corresponding delay random number;
(2) the ID information and the corresponding state change information of the actuator are sent in a delayed mode based on the delayed random number; and
(3) and recording the state change information of the actuator to a gateway to realize the state feedback of the actuator.
According to an embodiment of the present invention, when the state of the actuator changes, the actuator receives noise information in the environment and converts the noise information into corresponding m bytes, and data of at least one byte in the m bytes received by the actuator is selected as the delay multiple of the current actuator.
According to an embodiment of the present invention, when the state of the actuator changes, the actuator receives an environmental noise signal, converts the environmental noise signal into a 4-byte instruction according to a certain rule, selects any byte of data in the 4-byte instruction as a multiple of a delay random number, and sends self ID information and the actuator state information by the actuator.
According to one embodiment of the invention, the data of the 2 nd or 3 rd byte is selected as the multiple of the time delay random number.
According to another aspect of the present invention, the present invention further provides an executor relaying method for a wireless device, wherein the executor relaying method comprises:
(I) reading a control instruction and receiving an environmental noise signal; and
(II) generating a delay random number based on the received environmental noise signal, and delaying and sending the control instruction according to the delay random number as a multiple.
According to an embodiment of the present invention, the control command received by the actuator is X bytes, and the actuator continues to receive the environmental noise signal and converts the environmental noise signal into X bytes of data information.
According to an embodiment of the present invention, in step (II) of the above-mentioned performer relay method according to the present invention, any byte data corresponding to the environmental noise signal is selected as a multiple of the delayed random number.
Further objects and advantages of the invention will be fully apparent from the ensuing description and drawings.
These and other objects, features and advantages of the present invention will become more fully apparent from the following detailed description and the accompanying drawings.
Drawings
Fig. 1 is a system schematic block diagram of a wireless device control system according to a first preferred embodiment of the present invention.
Fig. 2 is a system diagram of the wireless device control system according to the first preferred embodiment of the present invention.
Fig. 3 is a schematic diagram of a gateway signaling implementation and an executor signaling implementation of the wireless device according to the first preferred embodiment of the invention.
Fig. 4A and 4B are schematic views illustrating a connection method of a wireless device control system according to the first preferred embodiment of the invention.
Fig. 5 is a flowchart of the connection method of the wireless device control system according to the first preferred embodiment of the present invention.
Fig. 6 is a flowchart of a status feedback method of the wireless device control system according to the first preferred embodiment of the present invention.
Fig. 7 is a flowchart of a relay method of the wireless device control system according to the first preferred embodiment of the present invention.
Detailed Description
The following description is presented to disclose the invention so as to enable any person skilled in the art to practice the invention. The preferred embodiments in the following description are given by way of example only, and other obvious variations will occur to those skilled in the art. The basic principles of the invention, as defined in the following description, may be applied to other embodiments, variations, modifications, equivalents, and other technical solutions without departing from the spirit and scope of the invention.
It will be understood by those skilled in the art that in the present disclosure, the terms "longitudinal," "lateral," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like are used in an orientation or positional relationship indicated in the drawings for ease of description and simplicity of description, and do not indicate or imply that the referenced devices or components must be in a particular orientation, constructed and operated in a particular orientation, and thus the above terms are not to be construed as limiting the present invention.
It is understood that the terms "a" and "an" should be interpreted as meaning that a number of one element or element is one in one embodiment, while a number of other elements is one in another embodiment, and the terms "a" and "an" should not be interpreted as limiting the number.
Referring to fig. 1 to 7 of the drawings accompanying the present specification, a wireless device communication method and a wireless device control system according to a first preferred embodiment of the present invention are explained in the following description. The wireless device control system is adapted to one or more wireless devices through which the plurality of wireless devices are connected and controlled. It should be noted that the wireless device control system of the present invention is used for wireless control or remote control of smart home devices. Therefore, the wireless device can be a lamp, a motor, and other smart home systems.
The wireless device control system comprises a switch, an actuator and a gateway, wherein the actuator is arranged on the wireless device, and the actuator controls the working state of the wireless device. It is worth mentioning that in this preferred embodiment of the invention, the wireless device control system is adapted to control one or more wireless devices. Correspondingly, each wireless device is uniquely corresponding to one actuator, wherein each actuator can be respectively paired with the switch, and the switch sends a control command corresponding to the current wireless device to the actuator. The actuator controls the working state of the wireless equipment based on the control command sent by the switch. The gateway and the actuators may be connected in a paired manner, where the gateway may transmit a control command to each of the actuators, and the actuators control the operating states of the corresponding wireless devices based on the control command transmitted by the gateway. The state feedback information of the actuator is fed back to the gateway. The gateway and the switch can also be connected in a matching mode, the switch sends control information to the gateway, and the gateway transmits the control information to each actuator corresponding to the wireless equipment.
It is worth mentioning that the gateway can be connected to the internet, so that the gateway can be connected with a mobile phone, a computer and other electronic equipment with network connection in a communication way through the internet, and the gateway sends the state feedback information of each actuator to mobile-end electronic equipment such as the mobile phone through the internet; the mobile terminal electronic equipment sends the corresponding control information to the gateway through the Internet, and then the gateway sends the corresponding control information to each actuator of the corresponding wireless equipment, so that the wireless equipment is remotely and wirelessly controlled.
The method for realizing the remote control of the wireless equipment needs the following steps that the switch is connected with the actuator in a matching way; the gateway is connected with the actuator; and the connection of the switch to the gateway. In detail, in a control system of the wireless device, a gateway is used as a bridge to be communicated with the internet, so that collection and other intelligent peripheral control can be realized, more complex operation can be completed between a switch and an actuator, and the gateway can be butted with other intelligent home systems. It will be understood by those skilled in the art that the gateway and each of the enforcement offices have independent ID information, i.e., the ID information of each of the devices is independent and different. Determining a connection relationship through a binding operation, wherein the gateway records ID information of the actuator for function control; wherein the executor checks the gateway ID information for identification.
In the preferred embodiment of the present invention, the gateway and the executor are bound by way of a radio broadcast search. The gateway broadcasts a search instruction, when the actuator receives the search instruction broadcasted by the gateway, the ID information of the actuator is sent, and the gateway records after receiving the ID information of the actuator. The method for binding the gateway and the actuator is automatic in process, a plurality of devices can be bound at one time, namely the gateway can be bound with a plurality of actuators at the same time, and the efficiency is high. In order to avoid mutual interference of ID signals sent by the actuators in the binding process of the gateway and the actuators, after receiving the gateway searching instruction, the actuators delay to send ID information of the actuators, the delay time is a multiple of the signal occupation time, and the word signal occupation time is slightly amplified to the real signal occupation time, so that the signals with different multiples cannot mutually interfere, and only the multiples of different actuators are required to be different. That is, a delay time multiple is generated from ID information of an actuator, and the ID information of the actuator is delayed and transmitted based on the generated delay time multiple.
In the preferred embodiment of the invention, the time-delay random number is obtained by utilizing the wireless function through the environmental noise, and the random number is not required to be generated by a random number generator of the main control unit, so that the structure of the whole wireless control system is simplified, and the cost is reduced.
In detail, the receiver of the smart device will always continuously receive the electromagnetic wave in the network environment and continuously interpret the binary information therein (0101010), when the matching reads the corresponding control command identification code, the command content therein is further read, and the identification code that cannot be matched is usually ignored as a noise signal.
It is worth mentioning that the noise signal is related to various factors such as the network environment, the location of the smart device, weather, time, etc., and even if the same device is located at different locations of the network environment, the received noise signal is different, so that the randomness is very high. It is worth mentioning that the factors affecting the noise signal mainly include the electromagnetic environment of the device and the radio frequency characteristics inside the device. The electromagnetic environment of the device comprises the position of the device and the distribution of surrounding electronic devices, and even if two devices are put together, the two devices can affect the nearby devices due to the electromagnetic radiation of the two devices; the RF characteristics inside the device are also different due to the RF chip process variations and matching device errors, because the randomness is very high. Therefore, in the preferred embodiment of the present invention, when the executor receives the search information broadcasted by the gateway, the executor continues to receive the environmental noise information, and converts the binary data in the received environmental noise signal into the delay random number, so that each intelligent device in the same network environment can send a signal at a wrong peak under the condition of non-interference, thereby greatly reducing the network transmission pressure and alleviating the network congestion condition. That is, the wireless device converts the received noise signal according to a certain rule after receiving the 'state feedback' command from the gateway, and converts the binary data in the noise signal into the delay random number, so that each intelligent device in the same network environment can send signals in a staggered mode under the condition of mutual noninterference, thereby greatly reducing the network transmission pressure and relieving the network congestion condition.
Specifically, the gateway is configured to transmit a signal with a length of N bytes, and the actuator continues to receive an N-byte signal from the environmental noise signal after receiving the N-byte signal. It will be appreciated that the n bytes of data are random signals in the absence of additional high power device interference on the frequency channel, the random data being related to the environment in which the actuator is located, i.e. the internal circuit details.
The data from at least one byte in environmental noise is selected from the N + N bytes received by the actuator to serve as the delay multiple of the actuator at present, the actuator sends self ID information based on the delay multiple, and after the gateway receives the ID information of the actuator, the ID information of the actuator is recorded, so that the gateway is bound with the actuator.
For example, when the number of the actuators is less than 50, the gateway sends out a search command of 8 bytes, and after each actuator receives the 8-byte command sent out by the gateway, the actuator receives a 4-byte command of the environmental noise, that is, the actuator receives data of 12 bytes. And selecting the data of the 10 th byte as a multiple, sending self ID information by the executor, and after the time of the maximum multiple, the gateway can receive the ID information sent by all the executors in the environment, and the gateway can be bound with the executor. Optionally, the executor may select the last byte received as the delay multiple of the executor, or the 9 th bit received as the delay multiple corresponding to the executor.
It should be noted that the number of the above-mentioned actuators, the number of bytes sent by the gateway, the selected bytes corresponding to the environmental noise, etc. are only used as examples and are not limited herein. Therefore, the invention does not limit the number of bytes received by the executor.
And if the executors with the same time delay multiple are not bound, performing the next search again. The gateway broadcasts a search instruction message again at the same time, and the bound executors do not reply the search instruction message, so that only the executors left in the first search (the multiple generation is the same), and the ID information is sent after the executors are randomly searched again, the probability of the multiple repetition is very small, and the binding of all the executors can be basically completed by searching twice.
As shown in fig. 4A and 4B, at the first pairing, the gateway broadcasts a search command for the first time, where actuator 1, actuator 2, actuator 3, actuator 4 …, and actuator n each receive the search command as a separate actuator unit and respectively receive an ambient noise signal. And each actuator respectively obtains corresponding delay random numbers based on the received environment noise signals, wherein the delay random number of the actuator 1 is t1, the delay random number of the actuator 2 is t2, and the delay random number of the actuator 3 is t3 …, and the delay random number of the actuator n is tn. For example, t2 is tn, and the delay random numbers of other actuators are different, so that after each actuator corresponds to a multiple of the delay random number, the identity ID information of each actuator is sent, and after the identity ID information of each actuator is recorded by the gateway, the actuator 1, the actuator 3, the actuator 4, and the like are sequentially matched and connected with the gateway.
And for the actuators which are left as the pairs, the gateway sends a search instruction again, wherein the actuator 2 and the actuator n respectively obtain corresponding delay random numbers based on the received environmental noise signals. Thus, after two-sided searching, the probability of repeating the random number of the second time delay of the actuator 2 and the actuator n is extremely small. Thus, two searches may essentially complete binding for all actuators.
After the gateway is bound with the actuator, the gateway can control the actuator through instructions, including operations of state control, state query, pairing state entering, pairing clearing, contact binding and the like. The gateway is bidirectional in control wireless signals of the actuator, the gateway sends out control signals, the actuator executes operation and replies response signals after receiving the signals, the gateway can repeatedly send the control signals when not receiving the corresponding signals, and the gateway is more reliable in control over the actuator than on-off control.
Accordingly, in the preferred embodiment of the present invention, the gateway of the wireless device control system and a plurality of actuators implement binding pairing by the above method, so that the gateway sends control instructions to the actuators corresponding to the wireless devices. After the switch, the actuator and the gateway are connected in a pairing mode, the switch can send a control command to the actuator through the gateway, or the switch directly sends the control command to the actuator. Accordingly, when the state of the actuator changes, the state feedback instruction of the actuator is fed back to the gateway, and is uploaded to corresponding electronic equipment, such as a mobile phone, a computer, remote control equipment with a network connection function, and the like, through the internet by the gateway.
In the step of connecting the switch and the actuator, the binding relationship between the switch and the actuator is realized by pairing, and a specific switch can control a specific actuator after pairing. The step of pairing the switch and the actuator comprises the steps of: the actuator enters a pairing state; the switch sends a signal of pairing information, and the actuator records the information signal of the switch, so that the pairing connection of the switch and the actuator is realized.
After the actuator and the switch are paired and bound, the switch can directly send a control signal to the actuator after the actuator and the switch are completely paired, and the operating state of the actuator is controlled. Preferably, in this preferred embodiment of the invention, the switch is a wireless controlled switch. More preferably, the switch is a passive wireless control switch, that is, the switch generates electric energy through self action, and the electric energy generated by the switch sends a control signal to the outside.
The connection between the switch and the gateway in the above method further comprises: the bent pipe enters a switch binding state; and the switch sends self ID information, and the gateway records the ID information of the switch so as to realize the binding of the switch and the gateway. Because the gateway is connected with the Internet, after the switch is connected with the gateway, the switch can be connected to the whole network, the switch action can be used as a condition for scene triggering, the linkage operation of each actuator is realized through the gateway, and the linkage operation of other network equipment can be realized through the network.
The wireless device control system controls the working state of the wireless device controlled by the actuator in a wireless network transmission and wireless control mode through the definition of the wireless protocol customization and the device connection. It is understood that the actuator can be set as a relay by the wireless communication principle, the transmission distance of the switch and the gateway to the wireless control signal is enlarged, and the program update of the actuator can be realized by the networking function of the gateway.
Referring to fig. 5 of the drawings of the present specification, according to another aspect of the present invention, the wireless device communication method of the present invention includes a wireless device connection method, wherein the wireless device connection method includes the steps of:
(a) reading a search instruction and receiving an environmental noise signal;
(b) generating a delay random number based on the received environmental noise signal, and delaying and sending ID information of a corresponding actuator according to the delay random number as a multiple; and
(c) and recording the ID information of the actuator to a gateway to realize the pairing connection of the gateway and the actuator.
In the above-described method for connecting a wireless device of the present invention, the method further includes, before the step (a), the steps of: a search instruction is broadcast, wherein the executor is to read the search instruction. Further, the length of the instruction sent by the gateway is N bytes, and the executor receives a signal of N + N bytes, where N bytes correspond to a noise signal of a current environment. In step (b) of the above method, the executor converts the environmental noise signal into a corresponding time-delay random number based on a certain rule. Preferably, any byte of data in the n bytes of signals corresponding to the environmental noise signal is selected as the delay random number.
Preferably, the search instruction broadcasted by the gateway is 8 bytes of information, and the actuator receives 12 bytes of information, where the first 8 bytes are the search instruction broadcasted by the gateway, and the last 4 bytes correspond to the ambient noise information received by the actuator. In the preferred embodiment of the present invention, the 10 th byte of data is selected as the delay random number.
In the connection method of the wireless device of the present invention, the method further includes the step (d) of determining whether all the actuators are not paired and connected, and if yes, repeatedly executing the above steps; if not, the pairing is ended. In the method for connecting a wireless device according to the present invention, the method further includes: recording pairing information of switches to corresponding actuators so that the switches and the corresponding actuators are paired; and recording the ID information of the switch to the gateway so as to realize the binding of the switch and the gateway.
When the number of the wireless devices in an environment is large or the number of the actuators of the wireless devices is large, network signal congestion is also easily caused when the states of the actuators are changed to feed back to the gateway. Correspondingly, when the state of the actuator changes, the actuator sends the state feedback information of the actuator in a method of delaying random numbers, so that the situation that information is fed back by a plurality of actuators at the same time to cause information blockage is avoided.
In detail, when the state of the actuator changes, the state information of the actuator needs to be fed back to the gateway, so that the gateway records the current state information of the actuator. The executor combines self ID information and state feedback information and receives environmental noise information; the actuator converts the received noise information into a delay random number corresponding to the actuator delay transmission data according to a certain rule; and the executor delays and sends the ID information and the state feedback information of the executor to the paired gateway based on the delayed random number, and the gateway records the current state information of the executor.
When the state of the actuator changes, the actuator receives noise information in the environment and converts the noise information into corresponding m bytes. It will be appreciated that the n bytes of data are random signals in the absence of additional high power device interference on the frequency channel, the random data being related to the environment in which the actuator is located, i.e. the internal circuit details.
The data of at least one byte in the m bytes received by the actuator is selected as the delay multiple of the actuator at present, the actuator sends self ID information and corresponding state feedback information based on the delay multiple, and the gateway records the corresponding state feedback information after receiving the ID information of the actuator so as to update the state information of the actuator. The gateway updates the state information which is originally recorded in the remote electronic equipment and corresponds to the actuator through the Internet, so that the remote electronic equipment can acquire the working state change of the current actuator.
For example, when the state of the actuator changes, the actuator receives an ambient noise signal and converts the ambient noise signal into a 4-byte instruction according to a certain rule. And selecting any byte of data in the 4 byte instructions as a multiple, and sending self ID information and the actuator state information by the actuator. Theoretically, after the maximum multiple time, the gateway can receive the state change information sent by all the actuators in the environment, and the network updates the state change information of each actuator. Preferably, the 2 nd or 3 rd byte data is selected as the delay random number of the current actuator. Optionally, the executor may select the first or last byte received as a multiple of the delayed random number of the executor.
Referring to fig. 6 of the drawings accompanying the present specification, the present invention further provides an actuator state feedback method of a wireless device control system, wherein the actuator state feedback method comprises the steps of:
(1) receiving an environmental noise signal, and converting the environmental noise signal into a corresponding delay random number;
(2) the ID information and the corresponding state change information of the actuator are sent in a delayed mode based on the delayed random number; and
(3) and recording the state change information of the actuator to a gateway to realize the state feedback of the actuator.
In the above method for feeding back the state of the actuator, when the state of the actuator changes, the actuator receives noise information in the environment and converts the noise information into corresponding m bytes, and the data of at least one byte in the m bytes received by the actuator is selected as the delay multiple of the actuator at present. Preferably, when the state of the actuator changes, the actuator receives an environmental noise signal, converts the environmental noise signal into a 4-byte instruction according to a certain rule, selects any byte of data in the 4-byte instruction as a multiple of the delay random number, and sends the ID information of the actuator and the state information of the actuator. Preferably, in the preferred embodiment of the present invention, the data of the 2 nd or 3 rd byte is selected as a multiple of the delay random number.
According to another aspect of the present invention, the actuator of the wireless device of the present invention may be used as a repeater to receive the control signal and transmit the control signal to the outside to extend the control distance of the switch or gateway. In other words, the actuators of the wireless devices may be interconnected so that control commands sent by the switches or the gateway are conducted by the actuators; or the actuator transmits the state feedback information to the gateway to realize remote transmission.
When a plurality of actuators receive signal commands at the same time and each actuator serves as a relay to send the signal commands to the outside, other actuators may receive the signal commands sent by a plurality of different actuators at the same time, thereby causing signal blockage.
Accordingly, in the preferred embodiment of the present invention, the actuator realizes the relay function of the actuator by generating the delay random number through the environmental noise. In detail, when the actuators receive control command information of the switches, each actuator continues to receive environmental noise information after reading the control command of the switches. The actuators are converted into delay random numbers according to a certain rule based on the received environmental noise information, and each actuator transmits the control instruction in a delay mode based on the respective delay random number.
It should be noted that, in the present invention, one of the actuators may serve as a relay to send out a control command of the switch to a plurality of other actuators, or a plurality of the actuators may serve as a relay to send out a control command of the switch to other actuators. When each actuator is used as a relay, the random delay numbers obtained by the actuators based on the environmental noise are different, and the control information is sent out in a delayed manner by different delay numbers, so that the data jam is reduced. The actuator is used as a repeater to receive the control command of the switch, and the control signal is amplified and then sent out by the actuator, so that a remote actuator can receive the control command sent by the switch.
And setting the switch to send a control instruction signal with the length of X bytes, and after receiving the control instruction signal with the length of X bytes, the actuator continues to receive the signal with the length of X bytes from the environmental noise signal. It will be appreciated that the x bytes of data are random signals in the absence of additional high power device interference on the frequency channel, the random data being related to the environment in which the actuator is located, i.e. the internal circuit details.
And selecting data from at least one byte in the environmental noise from the X + X bytes received by the actuator as the delay multiple of the current actuator, and sending the control command signal by the actuator based on the delay multiple so that other actuators can receive the control command signal relayed by the current actuator.
For example, when the number of the actuators is less than 50, the switch sends out a control command of 8 bytes, and each actuator receives a 4-byte command of the environmental noise after receiving the 8-byte command sent out by the gateway, that is, the actuator receives 12 bytes of data. And selecting the data of the 10 th byte as a multiple, sending the received control instruction by the actuator, and after the time of the maximum multiple, receiving the control instruction information sent by the actuator which is currently used as a repeater in the environment by other actuators. Optionally, the executor may select the last byte received as the delay multiple of the executor, or the 9 th bit received as the delay multiple corresponding to the executor.
It should be noted that the number of the above-mentioned actuators, the number of bytes sent by the gateway, the selected bytes corresponding to the environmental noise, etc. are only used as examples and are not limited herein. Therefore, the invention does not limit the number of bytes received by the executor.
Referring to fig. 7 of the drawings accompanying this specification, an actuator relay method of a wireless device control system according to another aspect of the present invention is illustrated in the following description. The actuator relay method comprises the following steps:
(I) reading a control instruction and receiving an environmental noise signal; and
(II) generating a delay random number based on the received environmental noise signal, and delaying and sending the control instruction according to the delay random number as a multiple.
In step (I) of the actuator relay method according to the present invention, the control command received by the actuator is X bytes, and the actuator continues to receive the ambient noise signal and converts the ambient noise signal into X bytes of data information. In step (II) of the actuator relay method according to the present invention, any byte data corresponding to the environmental noise signal is selected as a multiple of the delay random number.
It will be appreciated by persons skilled in the art that the embodiments of the invention described above and shown in the drawings are given by way of example only and are not limiting of the invention. The objects of the invention have been fully and effectively accomplished. The functional and structural principles of the present invention have been shown and described in the examples, and any variations or modifications of the embodiments of the present invention may be made without departing from the principles.

Claims (15)

1. A method for connecting a wireless device, comprising:
(a) reading a search instruction and receiving an environmental noise signal;
(b) generating a delay random number based on the received environmental noise signal, and delaying and sending ID information of a corresponding actuator according to the delay random number as a multiple; and
(c) and recording the ID information of the actuator to a gateway to realize the pairing connection of the gateway and the actuator.
2. The method of connecting of a wireless device according to claim 1, wherein the method further comprises, before step (a), the steps of: a search instruction is broadcast, wherein the executor is to read the search instruction.
3. The connection method of the wireless device according to claim 2, wherein the length of the command sent by the gateway is N bytes, and the executor receives a signal of N + N bytes, wherein N bytes correspond to a noise signal of a current environment.
4. The method of claim 2, wherein in step (b) of the method, the executor converts the environmental noise signal into a corresponding time-delay random number based on a certain rule.
5. The connection method of the wireless device according to claim 4, wherein any byte of data in n bytes of signals corresponding to the ambient noise signal is selected as the delay random number.
6. The connection method of the wireless device according to claim 2, wherein the search command broadcast by the gateway is 8 bytes of information, and the executor receives 12 bytes of information, wherein the first 8 bytes are the search command broadcast by the gateway, and the last 4 bytes correspond to the ambient noise information received by the executor.
7. The connection method of a wireless device according to claim 6, wherein data of a 10 th byte is selected as the delay random number.
8. The method according to claim 2, further comprising the steps of (d) determining whether all actuators are not paired and connecting, and if so, repeating the above steps; if not, the pairing is ended. In the method for connecting a wireless device according to the present invention, the method further includes: recording pairing information of switches to corresponding actuators so that the switches and the corresponding actuators are paired; and recording the ID information of the switch to the gateway so as to realize the binding of the switch and the gateway.
9. An actuator state feedback method of a wireless device, wherein the actuator state feedback method comprises:
(1) receiving an environmental noise signal, and converting the environmental noise signal into a corresponding delay random number;
(2) the ID information and the corresponding state change information of the actuator are sent in a delayed mode based on the delayed random number; and
(3) and recording the state change information of the actuator to a gateway to realize the state feedback of the actuator.
10. The actuator state feedback method according to claim 9, wherein when the actuator state changes, the actuator receives noise information in the environment and converts the noise information into corresponding m bytes, and the data of at least one byte in the m bytes received by the actuator is selected as the delay multiple of the current actuator.
11. The actuator state feedback method according to claim 10, wherein when the state of the actuator changes, the actuator receives an ambient noise signal, converts the ambient noise signal into a 4-byte instruction according to a certain rule, selects any byte of data in the 4-byte instruction as a multiple of a delay random number, and sends self ID information and the actuator state information by the actuator.
12. The actuator state feedback method according to claim 11, wherein the data of the 2 nd or 3 rd byte is selected as a multiple of the delay random number.
13. An executor relay method of a wireless device, wherein the executor relay method comprises:
(I) reading a control instruction and receiving an environmental noise signal; and
(II) generating a delay random number based on the received environmental noise signal, and delaying and sending the control instruction according to the delay random number as a multiple.
14. The actuator relay method of claim 13, wherein the control command received by the actuator is X bytes, and the actuator continues to receive the ambient noise signal and convert the ambient noise signal into X bytes of data information.
15. The actuator relay method according to claim 14, wherein in step (II) of the actuator relay method of the present invention, any byte data corresponding to the ambient noise signal is selected as the multiple of the delay random number.
CN202110782967.XA 2021-07-12 2021-07-12 Wireless device communication method and wireless device control system Pending CN113596911A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110782967.XA CN113596911A (en) 2021-07-12 2021-07-12 Wireless device communication method and wireless device control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110782967.XA CN113596911A (en) 2021-07-12 2021-07-12 Wireless device communication method and wireless device control system

Publications (1)

Publication Number Publication Date
CN113596911A true CN113596911A (en) 2021-11-02

Family

ID=78247016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110782967.XA Pending CN113596911A (en) 2021-07-12 2021-07-12 Wireless device communication method and wireless device control system

Country Status (1)

Country Link
CN (1) CN113596911A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387069A (en) * 2011-10-08 2012-03-21 华为技术有限公司 Method and system for connecting clients with server and clients as well as server
CN104918361A (en) * 2015-05-08 2015-09-16 中山易能智达电子有限公司 Scanning identification method of controller and actuator in wireless light control system
US20150365217A1 (en) * 2014-06-13 2015-12-17 Unifythings, Inc. Virtual Gateway for a Connected Device
CN106325813A (en) * 2015-06-30 2017-01-11 展讯通信(上海)有限公司 Random number generator and method
CN110333842A (en) * 2019-06-28 2019-10-15 深圳市永达电子信息股份有限公司 A kind of true random number generation method and system
CN112512190A (en) * 2020-10-27 2021-03-16 昇辉控股有限公司 Method and system for binding kinetic energy switch and lamp

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387069A (en) * 2011-10-08 2012-03-21 华为技术有限公司 Method and system for connecting clients with server and clients as well as server
US20150365217A1 (en) * 2014-06-13 2015-12-17 Unifythings, Inc. Virtual Gateway for a Connected Device
CN104918361A (en) * 2015-05-08 2015-09-16 中山易能智达电子有限公司 Scanning identification method of controller and actuator in wireless light control system
CN106325813A (en) * 2015-06-30 2017-01-11 展讯通信(上海)有限公司 Random number generator and method
CN110333842A (en) * 2019-06-28 2019-10-15 深圳市永达电子信息股份有限公司 A kind of true random number generation method and system
CN112512190A (en) * 2020-10-27 2021-03-16 昇辉控股有限公司 Method and system for binding kinetic energy switch and lamp

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
(英)海登: "《PIC单片机与ZigBee无线网络实战》", vol. 2014, 北京航空航天大学出版社, pages: 191 - 193 *
邢锦江;冯允成;: "基于环境噪声的真随机数的产生", 计算机工程, no. 03 *

Similar Documents

Publication Publication Date Title
US6694125B2 (en) System and method for extending the range of a base unit
US8320294B2 (en) Method for communicating in a network comprising wire and wireless nodes
US10355910B1 (en) System and method for interactive management of remote device based on LoRa communication
CN105554787A (en) Data transmission method, intelligent acquisition equipment, intelligent terminal and cloud server
CN102843315A (en) Intelligent home network system and intelligent gateway thereof
JP2004350284A (en) Indoor short range communication network system using ultra wideband communication method
HU215226B (en) Two-way network
KR101971392B1 (en) Ambient backscatter communication system in energy harvesting cognitive radio network and ambient backscatter communication method using the same
EP2001233A2 (en) System of a satellite signal down conversion and reception and signal transmission method thereof
CN103856302A (en) Intelligent-equipment control method
CN102271344B (en) Method for enhancing transmission distance for frequency shift repeater in time division duplex relay transmission mode
CN113596911A (en) Wireless device communication method and wireless device control system
US20220285824A1 (en) Antenna attachment for boosting or extending electromagnetic signals
CN205430288U (en) Big data storage type wireless router
KR100726622B1 (en) Home automation system using a message service and provide method thereof
JP7249146B2 (en) Radio repeater program and radio repeater
US1818669A (en) Radio frequency telegraphy and telephony system
CN205829632U (en) Intelligence bidirectional relay system
CN102123522A (en) Data transmission method and electronic devices thereof
CN101438502A (en) System for transmitting two-way radio communications via computer networks
CN218273685U (en) Infrared universal remote controller and intelligent home communication system
CN113905332B (en) Wireless communication system and method
CN110266797B (en) Remote sound control Internet of things system
US20240007952A1 (en) Wireless communication system and wireless communication method
US20230039300A1 (en) Control device and associated configuration method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination