Background technology
Wireless sub network is a subnet in the domestic. applications network, and wireless sub network comprises a plurality of wireless modules.In wireless sub network, exchange control command and data message between these modules.In the application of some wireless sub networks, some home appliance and the wireless module that links to each other with equipment are powered battery, for example safety monitor of the transducer on the wall, sheltered situation or the like after these equipment are arranged in the ideal environment, is difficult to change and replenish their battery.
In general, in wireless sub network, wireless module (wireless transceiver) needs to consume more power, and in some cases, the power than tame electric consumption is many possibly for the power that the wireless module of loading consumes.Keep the long working life of battery supply set, the power consumption of wireless module is important link.
The power consumption of wireless module is relevant with following factor: the operating state of module; The operational environment of module; The work period of module.
Up to now, when in the one family wireless sub network a plurality of wireless module being arranged, wherein each module at any time all can be launched information at random.Data message is not only arranged in these information, also have a lot of control informations and the network information.In subnet, communicate by letter during these information of same.Therefore, its power loss is inevitable very big, and the working life of power supply units such as battery is also just shorter.
The family wireless subnet is new results, and application at present mainly concentrates on the household electrical appliances, and power consumption is not very serious problem.Wireless sub network expands to sensor field when family, and saving power consumption can be the technology of a key.For wireless telecommunications, though the technology that has had some to save power consumption, these technology not necessarily are fit to the family wireless subnet.How at any time the difficult point of most critical is: how to save power consumption and network center's node wake on wireless module on each wireless module.
Summary of the invention
Purpose of the present invention just is to introduce a kind of power consumption saving method for the family wireless subnet.This method can overcome the shortcoming and defect of above-mentioned prior art, reasonably controls the operating state of wireless module, makes wireless transceiver only be operated in the suitable cycle.Thereby can save electric energy effectively, prolong useful life of battery and other power supply unit.
In order to achieve the above object, the present invention includes following steps:
(1) in a confined space, a plurality of wireless sub that wireless module of each tame electric loading constitutes;
(2) a plurality of wireless sub directly connect with a Centroid respectively and communicate by letter, and realize the communication between the child node, the star topology family wireless subnet of foundation.The present invention at first should be the family wireless subnet and sets up a star topology: in a confined space (scope is less than 50m), and each wireless module of tame electric loading (child node), these radio nodes make up the one family wireless sub network.The topological structure of family wireless subnet is confined to star topology.In star topology, a Centroid and a plurality of wireless sub are arranged.After powering on, Centroid and a plurality of child node connect, and set up the wireless appliance network.Each wireless sub is directly communicated by letter with Centroid.By Centroid, realize the communication between child node simultaneously.
(3) each child node all is provided with steps normal and two kinds of mode of operations of sleep;
(4 slopes are in the order of the child node receiving center node of normal mode of operation, are operated in the transmission of normal power consumption simultaneously and receive the step of two kinds of operating states;
(5) make the child node that is in sleep operation mode, the order of receiving center node only is operated in the step of the reception operating state of low-power consumption.
The present invention is further comprising the steps of:
(6) Centroid is different with child node, and Centroid is to all or steps some or a few child node transmission beacon message packet;
(7) beacon message packet is set up a time coordinate for all child nodes, and points out the step of the zero-time of next beacon message packet.
The beacon letter that above-mentioned steps (6) is sent is suffered from bag and is also comprised information such as destination address, beacon message sign and beacon order.
Beacon signal in the family wireless subnet is: a Centroid emission special packets of information---beacon message packet.Beacon message packet is set up a time scale that is time coordinate or time domain for the work of all wireless modules.Each beacon signal is pointed out the zero-time of next beacon message packet.The work and the beacon message packet of family wireless subnet are synchronous.
Beacon message packet can be broadcast to all nodes, also can send to the node of one or several expectation.Beacon message also wraps the following information of listing: destination address, beacon message sign and beacon order.
The child node that is in sleep operation mode only at time window according to time coordinate, inquiry and monitoring are from the beacon message packet of Centroid.
The beacon message packet that the above-mentioned child node that is in sleep operation mode receives is with oneself is relevant, promptly switches to the order of normal mode of operation, implementation center's node and manages and the Centroid communication.
The child node that is in normal mode of operation switches to sleep operation mode again after finishing above-mentioned communication process.
Equipment is with after child node is connected, equipment can wait for child node and with the Centroid communication.After communication was finished, child node turned back to sleep operation mode.
The mode of operation of the wireless sub of family wireless subnet of the present invention has two kinds: normal mode of operation and sleep operation mode.In normal mode of operation, based on the related application order, wireless module (child node) is operated in transmit status and accepting state simultaneously, and power consumption is in normal level.In sleep operation mode, wireless module (child node) is operated in low-power consumption (saving power mode) state.For example: only keep the work of system clock.Except periodic reception work, wireless module mainly remains static.Power consumption is less than 1/100 of the normal mode of operation power consumption.
Calculating is estimated as follows: the each packet length information that sends of each equipment is no more than a hundreds of byte.Transmission speed in the family wireless subnet is not less than 10Kb/s.Wireless sub also can be sent out short packets of information.In the network, require equipment send and receive information the bag number of times be no more than 100 times.If adopt the power-saving technology of this patent suggestion, power consumption will be 1/100 of an original power consumption.
In sleep operation mode, at time window, module receives work period property and wakes up, and waits for the moment that beacon message packet arrives.At this window, module inquiry and monitoring are from the beacon message packet of Centroid.
If the beacon message packet that receives is relevant with radio node, this radio node switches to normal mode of operation and fill order.For example: from Centroid receiving data information and command information.
When module receives beacon message packet and data arranged and order is bide one's time at node etc., module just firing order or data is given Centroid.
Simultaneously, module obtains the beacon order from beacon message packet: the time that next beacon message packet arrives.
Module switches to sleep operation mode again then.Before next beacon message packet arrived, module was waited for again.
Therefore, the present invention of control wireless module work period sets up a working procedure exactly.This rule has been arranged, and all wireless modules all have following operating state: gateway and all module are synchronous; When wireless module was issued in the information wait, module started transmitting terminal; Bide one's time when the notified relevant information of module is waiting, module only starts receiving terminal work.
The present invention has had above-mentioned working procedure, and power consumption can be limited to a very low level.Concerning the wireless module of household electrical appliances and load, battery can be kept the longer life-span.The present invention has introduced a kind of power consumption saving method for the family wireless subnet.This method can overcome the shortcoming and defect of above-mentioned prior art, reasonably controls the operating state of wireless module, makes wireless transceiver only be operated in the suitable cycle.Thereby can save electric energy effectively, prolong useful life of battery and other power supply unit.It can be widely used in the family wireless subnet, finishes family's monitoring and safeguard protection etc.
Embodiment
Embodiment 1.A kind of power consumption saving method of family wireless subnet is as Fig. 1~shown in Figure 2.It comprises:
(1) in a confined space, a plurality of wireless sub that wireless module of each tame electric loading constitutes;
(2) a plurality of wireless sub directly connect with a Centroid respectively and communicate by letter, and realize the communication between the child node, the star topology family wireless subnet of foundation;
(3) each child node all is provided with steps normal and two kinds of mode of operations of sleep;
(4) make the order of the child node receiving center node that is in normal mode of operation, be operated in the transmission of normal power consumption simultaneously and receive the step of two kinds of operating states;
(5) make the child node that is in sleep operation mode, the order of receiving center node only is operated in the step of the reception operating state of low-power consumption.
Embodiment 2.A kind of power consumption saving method of family wireless subnet.It is on the basis of embodiment 1, has also comprised following steps:
(1) Centroid is to all or steps some or a few child node transmission beacon message packet;
(2) beacon message packet is set up a time coordinate for all child nodes, and points out the step of the zero-time of next beacon message;
(3) beacon message packet that is sent also comprises information such as destination address, beacon message sign and beacon order.
The above-mentioned child node that is in sleep operation mode only at time window according to time coordinate, inquiry and monitoring are from the beacon message of Centroid.It is relevant with oneself to be in the beacon message that the child node of sleep operation mode receives, and promptly switches to the order of normal mode of operation and implementation center's node or firing order or data and gives Centroid.After order of heart node in commission of the above-mentioned child node that is in normal mode of operation or firing order or data are given Centroid, switch to sleep operation mode again.
Centroid and each child node are all controlled with microprocessor.
Embodiment 1 and embodiment 2 can rationally control the operating state of child node and Centroid, effectively economize on electricity, the useful life of power supplys such as prolongation battery.It can be widely used in the family wireless subnet.