CN101471704B - Dual-mode equipment and network management method - Google Patents
Dual-mode equipment and network management method Download PDFInfo
- Publication number
- CN101471704B CN101471704B CN200710304261.2A CN200710304261A CN101471704B CN 101471704 B CN101471704 B CN 101471704B CN 200710304261 A CN200710304261 A CN 200710304261A CN 101471704 B CN101471704 B CN 101471704B
- Authority
- CN
- China
- Prior art keywords
- purple honeybee
- equipment
- network
- role device
- bluetooth
- 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.)
- Expired - Fee Related
Links
- 238000007726 management method Methods 0.000 title abstract description 26
- 238000004891 communication Methods 0.000 claims abstract description 64
- 230000005540 biological transmission Effects 0.000 claims abstract description 26
- 241000256844 Apis mellifera Species 0.000 claims description 329
- 238000012545 processing Methods 0.000 claims description 21
- 230000006855 networking Effects 0.000 claims description 20
- 238000012546 transfer Methods 0.000 claims description 17
- 230000000284 resting effect Effects 0.000 claims description 15
- 238000000034 method Methods 0.000 claims description 13
- 230000008569 process Effects 0.000 claims description 11
- 230000008859 change Effects 0.000 claims description 6
- 230000007246 mechanism Effects 0.000 claims description 6
- 230000005059 dormancy Effects 0.000 claims description 5
- 230000000694 effects Effects 0.000 claims description 5
- 230000006978 adaptation Effects 0.000 claims description 3
- 230000015572 biosynthetic process Effects 0.000 claims description 3
- 238000012423 maintenance Methods 0.000 claims description 3
- 238000013507 mapping Methods 0.000 claims description 3
- 238000013459 approach Methods 0.000 claims description 2
- 238000012544 monitoring process Methods 0.000 claims description 2
- 238000004321 preservation Methods 0.000 claims description 2
- 230000009977 dual effect Effects 0.000 abstract 1
- 238000005516 engineering process Methods 0.000 description 6
- 238000013461 design Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 150000001875 compounds Chemical class 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000001228 spectrum Methods 0.000 description 2
- 241000256837 Apidae Species 0.000 description 1
- 101100172132 Mus musculus Eif3a gene Proteins 0.000 description 1
- 238000009825 accumulation Methods 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000007958 sleep Effects 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a dual-mode device and a network management method. The dual-mode device has Bluetooth modules and Zigbee modules; can simultaneously or selectively support the communication with an external device based on the Bluetooth protocol and the Zigbee protocol, or support the communication on two different Zigbee channels at the same time; and is applied to the self-adaptation of various personal area networks. The dual-mode device has the following four working modes: single Zigbee mode, single Bluetooth mode, Zigbee/Bluetooth mode, and dual Zigbee mode. With regard to the hardware, the dual-mode device at least comprises two Zigbee modules, a Bluetooth module, a microprocessor, a display unit, an input unit, a storage unit, a power source and an antenna. The dual-mode device is characterized in that: the dual-mode device can automatically adapt various personal area networks, can effectively improve the concurrence of network data transmission and network data control, and can increase the network size and improve the equipment adaptability.
Description
Technical field
The present invention relates to a kind of dual-mode equipment and network management, this equipment characteristic is automatically to adapt to various territory net (PAN, Personal Area Network) communication occasion, simultaneously or support selectively bluetooth and ZigBee protocol and external device to carry out communication, or simultaneously two enterprising news that work of different purple honeybee channels, can effectively improve the concurrency of network data transmission and control, enlarge network size and improved apparatus adaptability.
Background technology
Bluetooth is the open-standards of wireless data and voice transfer, and it adopts wireless mode to link up various communication equipments, computer and terminal thereof, various digital data system even household electrical appliance.Its transmission range is 10cm~10m, if just increase power or add that some peripheral hardware can reach the transmission range of 100m.Its employing 2.4GHz ISM band and frequency modulation, frequency hopping, the right to use is to error correction coding, ARQ, TDD and baseband protocol.The every time slot of TDMA is 0.625 μ s, and it is 1Mb/s that base band meets speed.Bluetooth is supported 64kb/s Real-Time Voice Transmission and transfer of data, and speech coding is CVSD, and transmitting power is respectively 1mW, 2.5mW and 100mW, and uses the EIC equipment identification code of 48 unified bits of the whole world.Because bluetooth employing wave point replaces wire cable to connect, and has very strong transplantability, and is applicable to multiple occasion, adds that this technology is low in energy consumption, little to harm, and uses simple, easily realization, so be easy to promote.
Purple-bee technology is a kind of simple in structure, low-power consumption, low data rate, low cost and the high two-way micropower grid type wireless network communication technique of reliability.Purple honeybee is the technical standard of one group of 802.15.4 wireless standard of approving based on IEEE relevant networking, safety and the application software aspect developed.IEEE only processes rudimentary MAC layer and physical layer protocol, and purple honeybee alliance carries out standardization to its network layer protocol and API, issues purple honeybee standard---Mesh.Each telegon (Coordinator) can connect 255 nodes, and node can be router (Router), terminal equipment (End Device).The nodes of whole network maximum can reach 65534.At present, ZigBee network topology mode has 3 kinds: star-like, tree type and Mesh type.
But, in actual applications, usually need to support simultaneously bluetooth and ZigBee protocol or in ZigBee protocol, support simultaneously two kinds to use etc.For this reason, the present invention is intended to realize this type of demand.
Summary of the invention
Can only support the problem of a kind of purple honeybee or Bluetooth protocol for the equipment that solves prior art, the objective of the invention is to satisfy people more and more needs support simultaneously the demand of the equipment of two agreements, for this reason, the present invention designs the dual-mode equipment of supporting simultaneously purple honeybee and Bluetooth protocol; Simultaneously, because ZigBee protocol has adopted CSMA/CA mechanism control MAC access, this has just limited the concurrent of purple honeybee equipment may; But in a lot of situations, ZigBee network has the requirement of real-time and the situation that the transmission continuous data sends; Obviously, ZigBee protocol itself has limited such function; For this reason, the present invention has produced the conception of purple honeybee bimodulus thus, and a kind of dual-mode equipment and network management way are provided.
In order to realize described purpose, one aspect of the present invention, a kind of dual-mode equipment and network management are provided, utilize bluetooth and zifeng modular, simultaneously or support selectively bluetooth and ZigBee protocol and external device to carry out communication, or simultaneously two enterprising news that work of different purple honeybee channels, be used for automatically adapting to various territory Netcom news occasions.
In order to realize described purpose, the present invention on the other hand, a kind of dual-mode equipment is provided, at least have two zifeng modulars, respectively the first zifeng modular and the second zifeng modular, have a bluetooth module, microprocessor, input unit, display unit, memory cell, power supply, antenna, its structure comprises:
The first zifeng modular and the second zifeng modular are connected with antenna with microprocessor, are used for carrying out communication according to ZigBee protocol and the equipment of supporting ZigBee protocol;
Bluetooth module is connected with antenna with microprocessor, is used for carrying out communication according to Bluetooth protocol and the equipment of supporting Bluetooth protocol;
Microprocessor is connected with input unit, display unit, memory cell, bluetooth module, the first zifeng modular and the zifeng modular of being connected, and is used for the various information of dual-mode equipment and control are processed;
Input unit is connected with microprocessor, is used for various input informations to memory cell or microprocessor;
Display unit is connected with microprocessor, is used for showing various input and output results;
Memory cell is connected with microprocessor, is used for program or the related data of storage and operation microprocessor;
Power supply is connected with each component units of dual-mode equipment, is used to each component units of dual-mode equipment that electric power is provided;
Antenna is connected with bluetooth module, the first zifeng modular and the zifeng modular of being connected, and is used for the wireless signal of transmitting-receiving bluetooth module, the first zifeng modular and the second zifeng modular.
According to embodiments of the invention, described bluetooth and ZigBee protocol are according to communication need, and four kinds of mode of operations automatically switch: single purple honeybee pattern, single bluetooth mode, purple honeybee and bluetooth mode, two purple honeybee pattern:
The purple honeybee pattern of described list is in the range for wireless communication of equipment, and equipment only participates in the communication of a ZigBee network; Described single bluetooth mode is in the range for wireless communication of equipment, and equipment only participates in the communication of blueteeth network; Described purple honeybee and bluetooth mode are in the range for wireless communication of equipment, and equipment participates in the communication of blueteeth network and ZigBee network simultaneously; Described two purple honeybee pattern is in the range for wireless communication of equipment, and equipment participates in the communication of the ZigBee network of two different channels simultaneously;
The mode of operation of dual-mode equipment is dynamically to determine according to the practical application of equipment, and the existing equipment that exists in the range for wireless communication according to equipment in application and service are carried out adaptivity and switched:
If have bluetooth service or equipment, and there are ZigBee network or equipment, then start purple honeybee and bluetooth mode of operation; If have ZigBee network or equipment, there is simultaneously network transmission speed greater than the transmission rate of single ZigBee network or requires the transfer of data of real-time continuous, then start two purple honeybee mode of operations; If only have separately bluetooth service or equipment, or ZigBee network or equipment, bluetooth mode of operation and purple honeybee mode of operation then started respectively.
According to embodiments of the invention, described territory Netcom news occasion is divided into:
Single net is in the communication occasion scope of equipment, only supports to have the equipment of ZigBee protocol or the equipment that support has Bluetooth protocol; Two nets are in the communication occasion scope of equipment, support to have the equipment of ZigBee protocol, also support to have the equipment of Bluetooth protocol; But network selection is in the communication occasion scope of equipment, supports to have simultaneously the equipment of purple honeybee and Bluetooth protocol;
Described equipment has: single role device, can only support the equipment of ZigBee protocol or Bluetooth protocol;
Two role device, the while can be supported the equipment of ZigBee protocol and Bluetooth protocol, perhaps participates in simultaneously the equipment of communication in two different purple honeybee channels; Single role device is divided into purple honeybee role device and bluetooth role device, purple honeybee role device is a zifeng modular or the independent equipment that contains zifeng modular in the dual-mode equipment, and purple honeybee role device is served as the device role of terminal equipment, router, telegon in ZigBee network; Wherein, in dual-mode equipment, the first zifeng modular and the second zifeng modular are known as respectively the first purple honeybee role device and the second purple honeybee role device; The bluetooth role device is a bluetooth module or the independent equipment that contains bluetooth module in the dual-mode equipment, and the bluetooth role device is served as main equipment and from the device role of equipment in blueteeth network; Two role device are the associating of purple honeybee role device and bluetooth role device, the perhaps associating of two purple honeybee role device.
According to embodiments of the invention, described in single net, respectively according to bluetooth or ZigBee protocol standard, carry out that separately network is set up, equipment adds and leave, Route establishment and maintenance, and data transfer activities;
But described in two nets and network selection, network managing mode has two kinds of selection modes according to operating position: the time share network mode is that ZigBee protocol and Bluetooth protocol use and supervising the network in turn on the Industrial Scientific Medical ISM band of 2.4G; Under the time share network mode, utilize global clock and arbitration mechanism, select time-sharing format and strategy; Under some is used, according to data correlation and real-time, determine the utilization rate of two networks; The real-time network mode is that ZigBee protocol and Bluetooth protocol use and supervising the network simultaneously on the Industrial Scientific Medical ISM band of 2.4G; Under the real-time network mode, if packet error rate is higher than certain threshold values, be transformed into the time share network mode; But in two nets and network selection, if purple honeybee and blue-teeth data bump in transport process, then purple honeybee role device is selected again the transmission of data bag according to actual needs;
But in two nets and network selection, take take the network management of ZigBee protocol as the basis; Simultaneously, this network management does not change the content of original ZigBee protocol and Bluetooth protocol, but on the basis of ZigBee protocol and Bluetooth protocol, to its network set up, equipment adds and leave, route generates and safeguard and transfer of data and network control content, suitably expand and manage, the scale of being convenient to improve the concurrency of network and enlarging network; But in network selection, two role device need to be registered the device type of its pair role device, but routing algorithm is selected the reference of route with this as network selection; Simultaneously, in corresponding purple honeybee using standard, increase the device type explanation of two role device.
According to embodiments of the invention, described under purple honeybee and bluetooth mode, just like the lower network way to manage:
◆ set up network and add network
At first, purple honeybee role device is set up ZigBee network with the identity of telegon, and other purple honeybee role device add this ZigBee network with the identity of router or terminal equipment; Secondly, be two role device if newly add the node of this ZigBee network, then need to register to ZigBee network and blueteeth network; Simultaneously, if having bluetooth service or other bluetooth equipments, the bluetooth role device is set up or the adding blueteeth network according to the needs of using;
◆ deviated from network
If device role is the normal deviated from network of purple honeybee role device of router or telegon, its lower child node adds in the alternate router or telegon of being reassigned by the telegon of ZigBee network perhaps voluntarily networking; Otherwise, if the improper deviated from network of purple honeybee role device, then its lower voluntarily networking of child node;
In two role device, if purple honeybee role device is left ZigBee network, need to nullify its corresponding routing iinformation content; If purple honeybee role device is left, the bluetooth role device is not left, and then mode of operation switches to single bluetooth mode by purple honeybee and bluetooth mode of operation; If just the bluetooth role device is left, then enter single purple honeybee pattern; No matter the sort of situation needs to nullify the relevant routing iinformation of two role device, and makes the equipment that leaves enter monitoring, dormancy or closed condition;
◆ data route and transmission
Under purple honeybee and bluetooth mode, the routing management of whole network is by take the routing management of ZigBee network as the basis, in conjunction with the routing mode of blueteeth network; Optional off the net, therefore two role device can be formed in the route mapping between ZigBee network and the blueteeth network owing to the route that has participated in simultaneously at ZigBee network and blueteeth network, increase new route approach and possibility; Under purple honeybee and bluetooth mode, the content of routing table comprises following form: destination node, next node, next node type, power supply state, transfer of data frequency and content, channel quality, destination node distance;
ZigBee network and blueteeth network form routing table by procotol separately, are kept at respectively on the main equipment of the router of ZigBee network and blueteeth network; But in network selection, the routing table between two role device nodes formation and preservation ZigBee network and blueteeth network; The routing table of the part router in the ZigBee network and the two role device nodes of the backup of the main equipment in the blueteeth network; When the route of ZigBee network and blueteeth network changes, process two role nodes upgrade in time the routing table that relates to and the equipment of notice route stand-by table with reference to routing algorithm separately.
According to embodiments of the invention, described under two purple honeybee patterns, following network activity is arranged:
◆ set up and the adding ZigBee network:
At first, certain contains equipment or the first purple honeybee role device of zifeng modular, sets up the first territory net with the identity of telegon; Allow satisfactory certain contain the equipment of zifeng modular or the first purple honeybee role device and add the first territory net with the role of router or terminal equipment; If concurrent requirement or this first territory net interstitial content surpass threshold values, then the second purple honeybee role device of certain node in the first territory net or the equipment that contains zifeng modular are set up the second territory net as the identity of telegon, and notice needs concurrent and the new equipment that contains zifeng modular or the first purple honeybee role device that adds;
If the second purple honeybee role device adds the second territory net, then by the first purple honeybee role device notice or wake the second purple honeybee role device in identical device up, with the identity of router or terminal equipment, and add the second territory net according to the second territory net telegon 64 bit address information that the first territory net telegon provides; If there is not concurrent demand, or this first territory net interstitial content surpasses threshold values, and perhaps the second territory net does not exist, and then the first purple honeybee role device is closed the second purple honeybee role device;
◆ leave and merge ZigBee network:
1. the second purple honeybee role device is left
If the second purple honeybee role device is as the telegon of the second territory net, if deviated from network then has three kinds of processing modes:
The first processing mode: the first purple honeybee role device or the second purple honeybee role device are specified a node in the net of the first territory net or the second territory, rebulid a territory net, and each node provides 64 bit address of the telegon that newly-built individual territory nets in the net of the second territory; The second purple honeybee role device is dismissed the second territory net, and the first purple honeybee role device is closed the second purple honeybee role device; Originally the node of the second territory net adds newly-built individual territory net;
The second processing mode: the second purple honeybee role device order the second territory net member adds the first territory net, and offers 64 bit address of the unique identification number, channel number and the first purple honeybee role device that comprise the first territory net; Subsequently, the second purple honeybee role device is dismissed the second territory net, and the first purple honeybee role device is closed the second purple honeybee role device; Originally the node of the second territory net according to the information of the first territory net that provides, adds in the net of the first territory;
The third processing mode: the second purple honeybee role device is dismissed the second territory net, and the first purple honeybee role device is closed the second purple honeybee role device, originally the voluntarily networking of node of the second territory net;
If the second purple honeybee role device is left as router, two kinds of processing modes are arranged: the second purple honeybee role device is notified the telegon in the net of the second territory, and by alternate router of this telegon appointment, originally the child node under the second purple honeybee role device adds alternate router, and the first purple honeybee role device is closed the second purple honeybee role device; Perhaps, the first purple honeybee role device is directly closed the second purple honeybee role device, its lower voluntarily networking of child node;
If the second purple honeybee role device is left as the second territory network termination equipment, then the first purple honeybee role device is closed the second purple honeybee role device;
2. the first purple honeybee role device is left
If the first purple honeybee role device is left as telegon, then specify a node of the first territory net, rebulid one by one territory net, originally the node of the first territory net adds newly-built individual territory net, and the first purple honeybee role enters resting state or is closed state; Perhaps, the first purple honeybee role device directly enters resting state or is closed state, originally the voluntarily networking of node of the first territory net;
If the first purple honeybee role device is left as router, then notify first the telegon in the net of the first territory, and by alternate router of telegon appointment, the first purple honeybee role device notifies its lower node to add new router, and it enters resting state or is closed state; Perhaps, the first purple honeybee role device directly enters resting state or is closed state, originally the voluntarily networking of node of the first territory net;
If the first purple honeybee role device is left as terminal equipment, then the first purple honeybee role device changes resting state over to or is closed state;
Under two purple honeybee patterns, dual-mode equipment always adds first or sets up the first territory net, adds or sets up the second territory net; Leave first the second territory net, leave again the first territory net; The device role of dual-mode equipment is can dynamically change according to actual conditions.
Beneficial effect of the present invention or advantage:
Device of the present invention can the various purple honeybees of self adaptation and the communication occasion of bluetooth, and the equipment of being convenient to obtains and transmit various data; Along with purple honeybee and bluetooth extensive use, the present invention can satisfy the demand that people support the equipment of two agreements.
(1) device of the present invention at two purple honeybee work patterns, can improve the concurrency of ZigBee network and effective networking scale of expansion ZigBee network effectively.
(2) device of the present invention can be striden blueteeth network and be carried out data from different ZigBee network and exchange with control, is conducive to manage equipment and the application of various complexity.
(3) device of the present invention, easy to carry as an equipment, it can be used as a mobile node, is convenient to management node and image data.
(4) device of the present invention under two purple honeybee work patterns, is supported the transmission of continuous data ground effectively, such as Streaming Media or real time data, has enlarged the range of application of purple honeybee.
(5) device of the present invention by using the timesharing management of network, has effectively been avoided the collision of bluetooth and purple honeybee.Simultaneously, under the real-time network condition, utilize the retransmission mechanism of purple honeybee, overcome the problem of data packet loss.
(6) device of the present invention takes the element of low-power consumption to form as hardware, for the use of radio-frequency module, has also taked the strategy of rational power management.
This equipment characteristic is selectively to adapt to various communication occasions, supports purple honeybee and Bluetooth protocol, can effectively improve the concurrency of network data transmission and control, has enlarged network size and adaptability.
Description of drawings
Fig. 1 illustrates the hardware block diagram of dual-mode equipment of the present invention;
Fig. 2 A and Fig. 2 B illustrate the use scenes figure of dual-mode equipment of the present invention;
Fig. 3 illustrates the mode of operation decision flow chart of dual-mode equipment of the present invention;
Fig. 4 illustrates the device role classification chart of dual-mode equipment of the present invention;
The node that Fig. 5 illustrates dual-mode equipment of the present invention can reach schematic diagram;
Fig. 6 illustrates some work flow chart under the purple honeybee of dual-mode equipment of the present invention and the bluetooth mode.
Embodiment
Describe detailed content of the present invention in detail below by annexed drawings, so that deeply understanding is to implementation method of the present invention.
With reference to the accompanying drawings shown in the hardware block diagram of 1 dual-mode equipment of the present invention: be to support equipment 100 basic comprisings of the bimodulus of purple honeybee and bluetooth to comprise: the first zifeng modular 150 and 160, one bluetooth modules 170 of the second zifeng modular, microprocessor 110, input unit 120, display unit 130, memory cell 140, power supply 180, antenna 190:
The first zifeng modular 150 and the second zifeng modular 160 are connected with antenna with microprocessor 110 and are connected, and are used for carrying out communication according to ZigBee protocol and the equipment of supporting ZigBee protocol;
This equipment characteristic is selectively to adapt to various communication occasions, supports purple honeybee and Bluetooth protocol, can effectively improve the concurrency of network data transmission and control, has enlarged network size and adaptability.
Concrete select hardware in, can be with reference to such as selection mode:
1) select the CC2430 of TI as the first zifeng modular 150 and the second zifeng modular 160 of purple honeybee.Because CC2430 is SOC (system on a chip) (SOC, System-On-Chip), it contains one 8051 kernel, can be with processing the various data of being received and dispatched by zifeng modular, effectively improved the concurrency of equipment, reduced and accessed total linear pressure of microprocessor under the bimodulus and take the microprocessor processes time.
2) bluetooth module 170 can be selected the BlueCore5-Multimedia chip of CSR company, and the 64MIPS DSP that this has integrated can improve stream data and multimedia disposal ability.Simultaneously, lower (transmitting power is+6.5dBm this chip power-consumption, and received power is-90dBm), be suitable for the designing requirement of equipment.
3) display unit 130 and input unit 120 can be selected the CT35TTFT LCD of SAMSUMG, support the 256K color, the band touch screen function.Microprocessor 110 can be selected Intel PXA270, it the is built-in wireless MMX technology of Intel, operating frequency 520MHz.PXA270 has also comprised the SpeedStep technology of Intel in addition, and the performance of dynamic adjustments microprocessor can reduce power consumption so as required.Simultaneously, it is an also integrated important security feature WTP (Wireless Trusted Platform) is used for storing individual privacy information and password etc.
4) memory cell 140 can be selected 64MB SDRAM (2 16 SDRAM chips form 32 interfaces) and 32MB NOR Flash (2 Intel E28F128 form 32 interfaces).
5) antenna 190 and power management 180 then need to require oneself to determine according to actual design, can design with reference to corresponding reference circuit.
Support the equipment of the bimodulus of purple honeybee and bluetooth, can be used as a moving data acquisition device, be used for collecting the various data of the first zifeng modular 150, the second zifeng modular 160 and bluetooth module 170.The software specific implementation of this equipment comprises following several part:
Mode of operation automaticallyes switch: during the equipment operation, a resident Daemon process is used for the judgment device mode of operation, calls network management and related data under the different mode.The switching flow of mode of operation can be with reference to figure 3.
Data are processed and management: be responsible for carrying out unpacking, pack, change and the content such as fusion of the first zifeng modular 150, the second zifeng modulars, 160 data and bluetooth module 170 data.Simultaneously, management data carries out data storage and access on memory cell 140.Particularly, by being installed in the first zifeng modular 150, the second zifeng modulars 160, purple honeybee and bluetooth protocol repertory on bluetooth module 170 and the memory cell 140 carry out unpacking and packing of wireless data exactly; Simultaneously, the program on the application layer is saved in the packet that obtains on the memory cell 140, and carries out the various processing of data.
Network management: equipment can have four kinds of mode of operations: single purple honeybee pattern, single bluetooth mode, purple honeybee and bluetooth mode, two purple honeybee pattern.Under different mode, mode and the content of network management are different.
Safety management: be based upon the AES-128 of the first zifeng modular 150, the second zifeng modulars 160 and the data flow cipher machine E0 of bluetooth module 170 etc. data are encrypted.Simultaneously, utilize trust center (Trust Center) structure of the first zifeng modular 150, the second zifeng modulars 160 and bluetooth module 170 to carry out authentication and trusted right delegation etc. to adding network node.
Power management: because a plurality of modules that the present invention relates to need to be used purple honeybee and bluetooth module based on high efficiency, high-throughput and low consumed principle, data route and equipment state are carried out power management.
Application program: based on the using standard of the first zifeng modular 150, the second zifeng modulars 160 and the using standard of bluetooth module 170, the application program of define equipment operation.Simultaneously, utilization is coordinated under the concurrent state access of application programs data and modification to data processing and hypervisor.
Be the use scenes of the equipment under purple honeybee and bluetooth mode such as Fig. 2 A: the purple honeybee role device 200 of dual-mode equipment 100 and a plurality of support ZigBee protocols forms ZigBee network 400; Simultaneously, the bluetooth role device 300 of equipment 100 and a plurality of support Bluetooth protocols forms blueteeth network 600.As above in two networks, support simultaneously the equipment of two kinds of agreements to comprise dual-mode equipment 100 and two role device 500.
Be use scenes at the equipment of two purple honeybee patterns such as Fig. 2 B: the purple honeybee role device 200 of dual-mode equipment 100 and a plurality of support ZigBee protocols forms the first territory net 400A based on purple honeybee in certain channel; Simultaneously, in another channel, the purple honeybee role device 200 of dual-mode equipment 100 and a plurality of support ZigBee protocols forms the second territory net 400B based on purple honeybee.
Shown in the mode of operation decision flow chart of Fig. 3 dual-mode equipment of the present invention, according to the pattern switching flow such as Fig. 3, this device is interior bluetooth equipment and the purple honeybee equipment of identification communication scope automatically, according to the needs of practical application, automatically switches in the mode of operation that needs:
Described mode of operation comprises: single purple honeybee pattern, single bluetooth mode, purple honeybee and bluetooth mode, two purple honeybee pattern:
The purple honeybee pattern of described list is in the range for wireless communication of equipment, and equipment only participates in the communication of a ZigBee network;
Described single bluetooth mode is in the range for wireless communication of equipment, and equipment only participates in the communication of blueteeth network;
Described purple honeybee and bluetooth mode are in the range for wireless communication of equipment, and equipment participates in the communication of blueteeth network and ZigBee network simultaneously;
Described two purple honeybee pattern is in the range for wireless communication of equipment, and equipment participates in the communication of the ZigBee network of two different channels simultaneously;
In this dual-mode equipment communication range, switch step is as follows in four kinds of mode of operations automatically:
Step 0: beginning;
Step 1: beginning discovering device, service and network;
Step 2: judged whether bluetooth service and equipment, if bluetooth service and equipment are arranged, execution in step 3, if there is not bluetooth service, execution in step 6;
Step 3: judge whether to exist ZigBee network or equipment, if having ZigBee network or equipment, execution in step 4, otherwise, execution in step 5;
Step 4: start purple honeybee and bluetooth mode of operation, the pattern of finishing the work determine execution in step 10;
Step 5: start single bluetooth mode of operation, the pattern of finishing the work determine execution in step 10;
Step 6: judge whether to exist ZigBee network or equipment, if having ZigBee network or equipment, execution in step 7, otherwise, execution in step 10;
Step 7: judge whether to exist in real time or transfer of data at a high speed, if having network transmission speed greater than the transmission rate of single ZigBee network or require the transfer of data of real-time continuous, then execution in step 8, otherwise, execution in step 9;
Step 8: start two purple peaks mode of operation, the pattern of finishing the work determine execution in step 10;
Step 9: start the Dan Zifeng mode of operation, the pattern of finishing the work determine execution in step 10;
Step 10: finish.
The mode of operation of dual-mode equipment is dynamically to determine according to the practical application of equipment, the existing equipment and the service that exist in also can the range for wireless communication according to equipment in application, carrying out adaptivity switches: if having bluetooth service or equipment, and there are ZigBee network or equipment, then start purple honeybee and bluetooth mode of operation; If have ZigBee network or equipment, there is simultaneously network transmission speed greater than the transmission rate of single ZigBee network or requires the transfer of data of real-time continuous, then start two purple honeybee mode of operations; If only have separately bluetooth service or equipment, or ZigBee network or equipment, bluetooth mode of operation and purple honeybee mode of operation then started respectively.Here the switching that it should be noted that the mode of operation of dual-mode equipment is need to be as the final criterion of selecting take practical application.Dual-mode equipment is listened pattern (Sniff Mode) by scan channel and the holding concurrently of bluetooth of ZigBee network, bluetooth service or the equipment of acquisition in communication context, there are situation in ZigBee network or equipment etc., with this foundation of switching as the mode of operation of dual-mode equipment.But the mode of operation of dual-mode equipment specifically determines, is that the needs by the practical application of dual-mode equipment decide.For example, even sometimes have simultaneously ZigBee network or equipment, with bluetooth service or equipment, dual-mode equipment may switch in single bluetooth mode or the single purple honeybee pattern according to the practical application needs; Even sometimes only have ZigBee network or equipment, dual-mode equipment may start purple honeybee and bluetooth mode of operation according to the practical application needs.Such as the switching flow of Fig. 3, be applied to dual-mode equipment as the terminal of a data collection or transmission in a lot of situations, carry out adaptive switching and use.
Shown in Figure 4, dual-mode equipment 100 has four kinds of mode of operations: single purple honeybee pattern, single bluetooth mode, purple honeybee and bluetooth mode, two purple honeybee pattern.Dual-mode equipment 100 can be divided into single role and two roles and wait two kinds of device role under different working modes:
Single role is exactly the use role of this equipment in single purple honeybee or single bluetooth mode, as in the blueteeth network from equipment (Slave) or main equipment (Master), the telegon in the ZigBee network (Coordinator), router (Router) and terminal equipment (End Device);
Two roles are exactly the use role of this equipment in purple honeybee and bluetooth mode or two purple honeybee pattern: under purple honeybee and bluetooth mode pattern, front and back compound mode according to the device role of zifeng modular and bluetooth module is divided into six kinds of roles: telegon-main equipment, telegon-from equipment, router-main equipment, router-from equipment, terminal equipment-main equipment, terminal equipment-from equipment; Under two purple honeybee patterns, front and back compound mode according to the device role of two zifeng modulars is divided into six kinds of roles: terminal equipment-terminal equipment, router-Router, telegon-telegon, terminal equipment-router, terminal equipment-telegon, router-telegon;
The character types that can serve as in ZigBee network and blueteeth network according to equipment is divided into single role device and two role device with equipment: single role device, can only support the equipment of ZigBee protocol or Bluetooth protocol; Two role device, the while can be supported the equipment of ZigBee protocol and Bluetooth protocol, perhaps in two different purple honeybee channels, participates in simultaneously the equipment of communication; Wherein, single role device is divided into purple honeybee role device and bluetooth role device, purple honeybee role device is a zifeng modular or the independent equipment that contains zifeng modular in the dual-mode equipment, and purple honeybee role device is served as the device role of terminal equipment, router, telegon in ZigBee network; Wherein, in dual-mode equipment, the first zifeng modular 150 and the second zifeng modular 160 are known as respectively the first purple honeybee role device and the second purple honeybee role device; The bluetooth role device is a bluetooth module or the independent equipment that contains bluetooth module in the dual-mode equipment, and the bluetooth role device is served as main equipment and from the device role of equipment in blueteeth network; Two role device are the associating of purple honeybee role device and bluetooth role device, the perhaps associating of two purple honeybee role device;
Device role can be according to application scenarios and using standard different, carry out active or Lookup protocol and adaptation.
Under purple honeybee and bluetooth mode, from the angle of data flow, this device can be divided into data terminal, data router and data gateway: data terminal refer to equipment in blueteeth network from equipment or the terminal equipment ZigBee network, or both are double to be; Data router refers to router or the telegon of equipment in ZigBee network, or the main equipment in bluetooth, or both are double to be; Data gateway is the special case of data router, refers to be router or telegon in the ZigBee network, also is the main equipment in the bluetooth, and this equipment is the data of a network, through the packet conversion or process, is delivered in another network and goes.
A kind of dual-mode equipment of supporting purple honeybee and bluetooth can be divided into communication and use occasion: but single net, two net and network selection.Single net refers in the communication occasion scope of equipment only have the equipment of supporting purple honeybee or the equipment of supporting bluetooth; Two nets refer in the communication occasion scope of equipment to have the equipment of supporting purple honeybee, also have the equipment of supporting bluetooth; But network selection refers to have the equipment of supporting simultaneously purple honeybee and bluetooth in the communication occasion scope of equipment.
Dual-mode equipment carries out power management with reference to following principle: in single net, and the idle purple honeybee of this device sleeps or bluetooth module and related hardware; In two nets, press separately communications protocol, manage purple honeybee or bluetooth module and related hardware; But in network selection, according to use scenes and application, select efficient transmission network, dormancy is operational module not.Under two purple honeybee patterns, if there is no need to set up two ZigBee networks, then can select to close respective nodes and the purple honeybee role device of one of them ZigBee network.
Under single purple honeybee pattern or single bluetooth mode, carry out separately according to bluetooth or ZigBee protocol that network is set up and node adds, route forms and maintenance, and the flow process such as transfer of data.Under purple honeybee and bluetooth mode, can select according to operating position, can adopt timesharing and real-time network mode to carry out network management: the time share network mode is that ZigBee protocol and Bluetooth protocol use and supervising the network in turn on the Industrial Scientific Medical ISM band of 2.4G; The real-time network mode is that ZigBee protocol and Bluetooth protocol use and supervising the network simultaneously on the Industrial Scientific Medical ISM band of 2.4G.Under the time share network mode, utilize global clock and arbitration mechanism, select time-sharing format and strategy.For example: use the time share network mode under purple honeybee and the bluetooth mode, can be divided into continuous timeslice the service time of purple honeybee and blueteeth network, node under purple honeybee and the bluetooth determines whether to use the special time sheet according to the global clock that two role device provide, and purple honeybee and blueteeth network can use in turn; If purple honeybee and blueteeth network are according to the specific (special) requirements (such as real-time) of using, need to use continuously or for a long time total 2.4G frequency range, then need to file an application to two role device, and arbitrated according to the operating position of purple honeybee and blueteeth network by two role device; If confirmation request is then repartitioned their scope and interval service time.
Under purple honeybee and bluetooth mode, if the application of purple honeybee and blueteeth network itself is just relevant, such as the data correlation, then can determine according to the practical application characteristics utilization rate of two networks, be responsible for continuous acquisition data in a small amount such as ZigBee network, when data accumulation arrives to a certain degree, re-use blueteeth network data are outwards transmitted.So just form ZigBee network long and interval weak point service time, and the blueteeth network relatively shorter and long network handling characteristics in interval service time.
Under the real-time network mode, purple honeybee and Bluetooth protocol use and supervising the network simultaneously; Because ZigBee protocol and Bluetooth protocol are taked respectively the communication mechanism of direct sequence spread spectrum (DSSS) and frequency-hopping spread spectrum (FHSS) on the Industrial Scientific Medical ISM band of 2.4G.If purple honeybee and Bluetooth protocol use simultaneously, then may bump, purple honeybee equipment is very little to the interference of bluetooth equipment, bluetooth equipment has certain influence to purple honeybee equipment.If the packet error rate of purple honeybee equipment (PER, Packet Error Rate) is higher than certain threshold values, then can be switched to the time share network mode.But in two nets and network selection, if bump in purple honeybee and the blue-teeth data transport process, then purple honeybee role device is selected again the transmission of data bag according to actual needs.
Under purple honeybee and bluetooth mode, take take the routing algorithm of ZigBee protocol as the basis.If there are two role device, then this equipment should be to this its pair of network registry role's device type, and routing algorithm is with this reference as the selection route.For this reason, in the using standard Profile and routing table of purple honeybee, should increase the device type explanation of two role device.
Under purple honeybee and bluetooth mode, just like the lower network way to manage (ZB wherein, BT represents respectively purple honeybee role device and bluetooth role device; PAN ZB and PAN BT represent respectively ZigBee network and the blueteeth network of formation):
◆ set up network and add network, with reference to figure 6;
Step 60: beginning;
Step 61: purple honeybee role device ZB scanning is also selected clean channel, sets up ZigBee network PAN ZB;
Step 62: if there is purple honeybee node C, application adds ZigBee network PAN ZB, if having then execution in step 63; Otherwise, execution in step 64;
Step 63: whether node C passes through the authentication of PAN ZB, if pass through then execution in step 65; Otherwise, execution in step 611;
Step 64: node C detects and has or not bluetooth service and other without bluetooth equipment, if having then execution in step 68; Otherwise, execution in step 610;
Step 65: node C adds PAN ZB, execution in step 66;
Step 66: whether node C contains bluetooth module, if having then execution in step 67, otherwise, execution in step 611;
Step 67: node C registers its device type, execution in step 64 to ZigBee network and blueteeth network;
Step 68: node C whether set up and the adding blueteeth network according to using by needs, if need then execution in step 69, otherwise, execution in step 610; Be exactly using standard and application scenarios according to bluetooth or purple honeybee according to using needs, determine whether to set up and add blueteeth network; For example: if there is multi-medium data in the network, can transmit by blueteeth network;
Step 69: node C connects with bluetooth equipment by beep-page message (Page Message) or query messages thereafter (Inquiry message), forms blueteeth network PANBT, execution in step 611;
Step 610: node C enters to hold concurrently and listens pattern (Sniff Mode);
Step 611: finish.
◆ deviated from network
1. if the purple honeybee role device ZB of terminal equipment, normal deviated from network then sends leave group message to its father node; If this equipment is two role device, then in network, nullify its corresponding routing iinformation content; After if the father node of purple honeybee role device ZB sends the message of need confirming, do not obtain within a certain period of time the affirmation information of its child node, then the ZB father node is thought that this node is improper and is left, and nullifies its routing iinformation content; After leaving, the purple honeybee role device ZB of terminal equipment enters dormancy or closed condition.
2. if the purple honeybee role device ZB of router, normal deviated from network, according to actual conditions, two kinds of processing modes can be arranged: the telegon by ZigBee network is reassigned alternate router, other correlator nodes directly add this alternate router, perhaps voluntarily again networking of other correlator nodes.If the improper deviated from network of ZB, then voluntarily again networking of other correlator nodes; After leaving, the purple honeybee role device ZB of terminal equipment enters dormancy or closed condition.
3. if the purple honeybee role device ZB of telegon, normal deviated from network has two kinds of processing modes: by the telegon of ZigBee network reassign telegon, order its lower child node to add; Perhaps, perhaps its lower voluntarily networking of child node.
In two role device, if purple honeybee role device is left ZigBee network, need to nullify its corresponding routing iinformation content; If purple honeybee role device is left, the bluetooth role device is not left, and then mode of operation switches to single bluetooth mode by purple honeybee and bluetooth mode of operation; If just the bluetooth role device is left, then enter single purple honeybee pattern; No matter the sort of situation needs to nullify the relevant routing iinformation of two role device.
◆ data route and transmission
Under purple honeybee and bluetooth mode, the routing management of whole network is by take the routing management of ZigBee network as the basis, in conjunction with the routing mode of blueteeth network.Here the route of indication is the route between the node of optional all network consistings off the net, comprise between the purple honeybee node, and between the bluetooth nodes, the route between purple honeybee and the bluetooth nodes.Because two role device are owing to the route that has participated in simultaneously at ZigBee network and blueteeth network, therefore can be formed in the route mapping between ZigBee network and the blueteeth network, thereby can further enlarge original route scope, improve route robustness and data transmission efficiency.
With reference to figure 5, in the present invention, there is route between two nodes, claim two nodes to reach; Otherwise, claim that two nodes are unreachable.In Fig. 5, establish arrow ">" and represent to reach by two nodes about this symbol; ZB A, ZB B, ZB C are the expression symbols of purple honeybee role device; BT A, BT B, BT C, BT D, BT E are the expression symbols of bluetooth role device; ZB/BT A, ZB/BT B, ZB/BT C are the expression symbols of two role device of purple honeybee and bluetooth.With reference to figure 5, generally speaking, between purple honeybee node and the bluetooth nodes and they separately between, existing five kinds may routing relation: 1. purple honeybee node is unreachable, such as ZB A and ZB D; 2. bluetooth nodes can reach, such as BT B and BT C; 3. purple honeybee bluetooth nodes is unreachable, such as ZB B and BT D; 4. purple honeybee node can reach, ZB/BT A and ZB/BT B; 5. bluetooth nodes is unreachable, such as BT A and BT E.
Optional off the net, the route that two role device can be set up between ZigBee network and blueteeth network is related, makes original inaccessible situation might become and can reach, and makes the situation that can reach might improve real-time and the throughput of its transfer of data.
For example, in Fig. 5, suppose not have route between ZB A and the ZB D, off the netly may form route optional, such as ZB A->ZB/BT A->BT B->BT C->ZB/BT C->ZB D.Bluetooth nodes and purple honeybee node also may become and can reach.In Fig. 5, can pass through ZB B->ZB/BT A->BT B->ZB/BT C->BT D between ZB B and the BT D and realize route.In like manner, if two bluetooth nodes are unreachable, then might become and to reach.In Fig. 5, there is not route between BT A and the BT E, then off the netly may form route optional, such as BT A->ZB/BTA->ZB C->ZB/BT C->BT E.
But its corresponding routing table content in network selection comprises following form: destination node, next node, next node type, power supply state, transfer of data frequency and content, channel quality, destination node distance etc.
Routing table forms: but in network selection, ZigBee network forms the routing table of oneself according to the ZigBee protocol flow process, is kept on the router in the ZigBee network; Routing iinformation in the blueteeth network between the node is formed and is preserved by main equipment.Two role device form the routing table between ZigBee network and the blueteeth network based on the route of ZigBee network and blueteeth network.
Routing table is revised: when ZigBee network and the variation of blueteeth network route, reference separately routing algorithm is processed.Simultaneously, two role nodes equipment of the routing table that relates to and notice route stand-by table that upgrades in time.
Routing table is preserved: but in network selection, two role nodes produce and preserve the routing table between purple honeybee and the blueteeth network.Simultaneously, the routing table of the two role nodes of the part router in the ZigBee network and the main equipment in bluetooth backup.
Under two purple honeybee patterns, dual-mode equipment can add the ZigBee network of two different channels simultaneously, does not disturb each other.PAN ID represents the unique identification number of a territory net (PAN, Personal AreaNetwork); The first territory net is the individual territory net that is established at first, and the unique identification of this territory net is counted PAN ID and is made as PAN A; The second territory net is the individual territory net of being set up in order to improve network concurrent and network transfer speeds by the node in the net of the first territory, and the unique identification of this territory net is counted PAN ID and is made as PAN B.If dual-mode equipment has following network activity under two purple honeybee patterns:
◆ add ZigBee network:
Certain contains equipment or the first purple honeybee role device scan channel of zifeng modular, selects the first suitable territory net, adds with terminal equipment identity or router solicitation; If telegon or the router of this first territory net, by this equipment is carried out authentication, meet safety requirements, then allow its identity with terminal equipment or router to add, and to its 16 short address of distribution, formed terminal node or the router node of this first territory net.Whether after adding network, the first purple honeybee role device is inquired the telegon of this first territory net according to application demand, exist and the second territory net of needs adding; If there is and needs to add the second territory net, then the first territory net telegon is replied the first purple honeybee role device message (unique identification that comprises the second territory net is counted PANID, channel number, telegon 64 bit address of the second territory net etc.).The first purple honeybee role device notice or wake the second purple honeybee role device in identical device up can add the second territory net.The second purple honeybee role device according to obtain from the first purple honeybee role device about the second territory net information, add the second territory net.If there is no or not need to add the second territory net, then close the second purple honeybee role device.In a certain period, if the first purple honeybee role device obtains the order of the telegon of the first territory net, require to add the second territory net, then wake again the second purple honeybee role device up, make it join the second territory net.
Simultaneously, the first territory net and the second territory net, in full-function device separately, the unique identification of in store map network is counted PAN ID, telegon address and part routing table etc. in interior information.
◆ set up ZigBee network:
At first, certain contains equipment or the first purple honeybee role device of zifeng modular, selects clean channel, sets up the first territory net with the identity of telegon; Allow satisfactory certain contain the equipment of zifeng modular or the first purple honeybee role device and add the first territory net with the role of router or terminal equipment; If concurrent requirement or this first territory net interstitial content surpass certain threshold values, then the second purple honeybee role device of certain node in the first territory net or the equipment that contains zifeng modular are set up the second territory net as the identity of telegon, and notice needs concurrent and the new equipment that contains zifeng modular or the second purple honeybee role device that adds;
◆ leave and merge ZigBee network, the first purple honeybee role device and the second purple honeybee role device device role in the first territory net and the second territory net different, processing mode is also different:
1. the second purple honeybee role device is left
If the second purple honeybee role device is as the telegon of the second territory net, if deviated from network then has three kinds of processing modes:
The first processing mode: the first purple honeybee role device or the second purple honeybee role device are specified a node in the first territory net or the second territory net, on the purple honeybee channel that is different from the first territory net and the second territory net, rebulid territory net, and each node provides 64 bit address of the telegon that newly-built individual territory nets in the net of the second territory; The second purple honeybee role device is dismissed the second territory net, and the first purple honeybee role device is closed the second purple honeybee role device; The original node of the second territory net, scanning channel, the individual territory net that will add according to the 64 bit address judgement of the telegon of newly-built individual territory net, and then add newly-built individual territory net;
The second processing mode: the second purple honeybee role device order the second territory net member adds the first territory net, and offers 64 bit address of the unique identification number, channel number and the first purple honeybee role device that comprise the first territory net; Subsequently, the second purple honeybee role device is dismissed the second territory net, and the first purple honeybee role device is closed the second purple honeybee role device; The original node of the second territory net according to the information such as 64 bit address of unique identification number, channel number and the first purple honeybee role device of the first territory net of the first territory net that provides, is selected and is joined in the net of the first territory;
The third processing mode: the second purple honeybee role device is dismissed the second territory net, and the first purple honeybee role device is closed the second purple honeybee role device; Originally certain full-function device in the second territory net node is set up new individual territory net, and originally other nodes of the second territory net can join in the new individual territory net;
If the second purple honeybee role device is left as router, two kinds of processing modes are arranged: the second purple honeybee role device is notified the telegon in the net of the second territory, and by alternate router of this telegon appointment, originally the child node under the second purple honeybee role device adds alternate router, and the first purple honeybee role device is closed the second purple honeybee role device; The first purple honeybee role device is directly closed the second purple honeybee role device, its lower voluntarily networking of child node;
If the second purple honeybee role device is left as the second territory network termination equipment, then the first purple honeybee role device is closed the second purple honeybee role device;
2. the first purple honeybee role device is left
If the first purple honeybee role device is left as telegon, then the first purple honeybee role device specifies a node of the first territory net to rebulid one by one territory net; The first purple honeybee role device is sent network for the node of the first territory net and is dismissed order, contains the information such as 64 bit address of specified node in this order; The original node of the first territory net according to 64 bit address of this specified node, is selected and is added newly-built individual territory net; The first purple honeybee role enters resting state or is closed state; Perhaps, the first purple honeybee role device directly enters resting state or is closed state, originally the voluntarily networking of node of the first territory net;
If the first purple honeybee role device is left as router, then notify first the telegon in the net of the first territory, and by alternate router of telegon appointment, and 16 bit address of alternate router are passed to the first purple honeybee role device, the first purple honeybee role device is notified its lower node to add by telegon and is provided the router of determining the address, and it enters resting state or is closed state; Perhaps, the first purple honeybee role device directly enters resting state or is closed state, originally the voluntarily networking of node of the first territory net;
If the first purple honeybee role device is left as terminal equipment, then the first purple honeybee role device changes resting state over to or is closed state;
Under two purple honeybee patterns, dual-mode equipment always adds first or sets up the first territory net, adds or sets up the second territory net; Leave first the second territory net, leave again the first territory net; The device role of dual-mode equipment is can dynamically change according to actual conditions.
The above; only be the embodiment among the present invention; but protection scope of the present invention is not limited to this; anyly be familiar with the people of this technology in the disclosed technical scope of the present invention; can understand conversion or the replacement expected; all should be encompassed in of the present invention comprising within the scope, therefore, protection scope of the present invention should be as the criterion with the protection range of claims.
Claims (5)
1. dual-mode equipment, it is characterized in that: have bluetooth and zifeng modular, simultaneously or support selectively bluetooth and ZigBee protocol and external device to carry out communication, or simultaneously two enterprising news that work of different purple honeybee channels, be used for various territory Netcoms of automatically adaptation and interrogate occasions;
Described bluetooth and ZigBee protocol are according to communication need, and four kinds of mode of operations automatically switch: single purple honeybee pattern, single bluetooth mode, purple honeybee and bluetooth mode, two purple honeybee pattern:
The purple honeybee pattern of described list is in the range for wireless communication of equipment, and equipment only participates in the communication of a ZigBee network;
Described single bluetooth mode is in the range for wireless communication of equipment, and equipment only participates in the communication of blueteeth network;
Described purple honeybee and bluetooth mode are in the range for wireless communication of equipment, and equipment participates in the communication of blueteeth network and ZigBee network simultaneously;
Described two purple honeybee pattern is in the range for wireless communication of equipment, and equipment participates in the communication of the ZigBee network of two different channels simultaneously;
The mode of operation of dual-mode equipment is dynamically to determine according to the practical application of equipment, and the existing equipment that exists in the range for wireless communication according to equipment in application and service are carried out adaptivity and switched:
If have bluetooth service or equipment, and there are ZigBee network or equipment, then start purple honeybee and bluetooth mode of operation;
If have ZigBee network or equipment, there is simultaneously network transmission speed greater than the transmission rate of single ZigBee network or requires the transfer of data of real-time continuous, then start two purple honeybee mode of operations;
If only have separately bluetooth service or equipment, or ZigBee network or equipment, bluetooth mode of operation and purple honeybee mode of operation then started respectively;
Wherein, in dual-mode equipment, the first zifeng modular and the second zifeng modular are known as respectively the first purple honeybee role device and the second purple honeybee role device;
Under described two purple honeybee patterns, following network activity is arranged:
Set up and the adding ZigBee network:
At first, certain first purple honeybee role device is set up the first territory net with the identity of telegon; Allow the satisfactory first purple honeybee role device to add the first territory net with the role of router or terminal equipment; If concurrent requirement or this first territory net interstitial content surpass threshold values, then the second purple honeybee role device of certain node in the net of the first territory is set up the second territory net as the identity of telegon, and notice needs concurrent and new the first purple honeybee role device that adds;
If the second purple honeybee role device adds the second territory net, then by the first purple honeybee role device notice or wake the second purple honeybee role device in identical device up, with the identity of router or terminal equipment, and add the second territory net according to the second territory net telegon 64 bit address information that the first territory net telegon provides; If there is not concurrent demand, or this first territory net interstitial content surpasses threshold values, and perhaps the second territory net does not exist, and then the first purple honeybee role device is closed the second purple honeybee role device;
Leave and merge ZigBee network:
1) the second purple honeybee role device is left
If the second purple honeybee role device is as the telegon of the second territory net, if deviated from network then has three kinds of processing modes:
The first processing mode: the first purple honeybee role device or the second purple honeybee role device are specified a node in the net of the first territory net or the second territory, rebulid a territory net, and each node provides 64 bit address of the telegon that newly-built individual territory nets in the net of the second territory; The second purple honeybee role device is dismissed the second territory net, and the first purple honeybee role device is closed the second purple honeybee role device; Originally the node of the second territory net adds newly-built individual territory net;
The second processing mode: the second purple honeybee role device order the second territory net member adds the first territory net, and offers 64 bit address of the unique identification number, channel number and the first purple honeybee role device that comprise the first territory net; Subsequently, the second purple honeybee role device is dismissed the second territory net, and the first purple honeybee role device is closed the second purple honeybee role device; Originally the node of the second territory net according to the information of the first territory net that provides, adds in the net of the first territory;
The third processing mode: the second purple honeybee role device is dismissed the second territory net, and the first purple honeybee role device is closed the second purple honeybee role device, originally the voluntarily networking of node of the second territory net;
If the second purple honeybee role device is left as router, two kinds of processing modes are arranged: the second purple honeybee role device is notified the telegon in the net of the second territory, and by alternate router of this telegon appointment, originally the child node under the second purple honeybee role device adds alternate router, and the first purple honeybee role device is closed the second purple honeybee role device; Perhaps, the first purple honeybee role device is directly closed the second purple honeybee role device, its lower voluntarily networking of child node;
If the second purple honeybee role device is left as the second territory network termination equipment, then the first purple honeybee role device is closed the second purple honeybee role device;
2) the first purple honeybee role device is left
If the first purple honeybee role device is left as telegon, then specify a node of the first territory net, rebulid one by one territory net, originally the node of the first territory net adds newly-built individual territory net, and the first purple honeybee role enters resting state or is closed state; Perhaps, the first purple honeybee role device directly enters resting state or is closed state, originally the voluntarily networking of node of the first territory net;
If the first purple honeybee role device is left as router, then notify first the telegon in the net of the first territory, and by alternate router of telegon appointment, the first purple honeybee role device notifies its lower node to add new router, and it enters resting state or is closed state; Perhaps, the first purple honeybee role device directly enters resting state or is closed state, originally the voluntarily networking of node of the first territory net;
If the first purple honeybee role device is left as terminal equipment, then the first purple honeybee role device changes resting state over to or is closed state;
Under two purple honeybee patterns, dual-mode equipment always adds first or sets up the first territory net, add again or
Set up the second territory net; Leave first the second territory net, leave again the first territory net; The device role of dual-mode equipment is can dynamically change according to actual conditions.
2. dual-mode equipment as claimed in claim 1 is characterized in that, described territory Netcom news occasion is divided into:
Single net is in the communication occasion scope of equipment, only supports to have the equipment of ZigBee protocol or the equipment that support has Bluetooth protocol;
Two nets are in the communication occasion scope of equipment, support to have the equipment of ZigBee protocol, also support to have the equipment of Bluetooth protocol;
But network selection is in the communication occasion scope of equipment, supports to have simultaneously the equipment of purple honeybee and Bluetooth protocol;
Equipment has:
Single role device can only be supported the equipment of ZigBee protocol or Bluetooth protocol;
Two role device, the while can be supported the equipment of ZigBee protocol and Bluetooth protocol, perhaps participates in simultaneously the equipment of communication in two different purple honeybee channels;
Single role device is divided into purple honeybee role device and bluetooth role device, purple honeybee role device is a zifeng modular or the independent equipment that contains zifeng modular in the dual-mode equipment, and purple honeybee role device is served as the device role of terminal equipment, router, telegon in ZigBee network; The bluetooth role device is a bluetooth module or the independent equipment that contains bluetooth module in the dual-mode equipment, and the bluetooth role device is served as main equipment and from the device role of equipment in blueteeth network;
Two role device are the associating of purple honeybee role device and bluetooth role device, the perhaps associating of two purple honeybee role device.
3. dual-mode equipment as claimed in claim 2: it is characterized in that,
In described single net, respectively according to bluetooth or ZigBee protocol standard, carry out that separately network is set up, equipment adds and leave, Route establishment and maintenance, and data transfer activities;
But in described pair of net and network selection, network managing mode has two kinds of selection modes according to operating position:
The time share network mode is that ZigBee protocol and Bluetooth protocol use and supervising the network in turn on the Industrial Scientific Medical ISM band of 2.4G; Under the time share network mode, utilize global clock and arbitration mechanism, select time-sharing format and strategy; Under some is used, according to data correlation and real-time, determine the utilization rate of two networks;
The real-time network mode is that ZigBee protocol and Bluetooth protocol use and supervising the network simultaneously on the Industrial Scientific Medical ISM band of 2.4G; Under the real-time network mode, if packet error rate is higher than certain threshold values, be transformed into the time share network mode; But in two nets and network selection, if purple honeybee and blue-teeth data bump in transport process, then purple honeybee role device is selected again the transmission of data bag according to actual needs;
But in two nets and network selection, take take the network management of ZigBee protocol as the basis; Simultaneously, this network management does not change the content of original ZigBee protocol and Bluetooth protocol, but on the basis of ZigBee protocol and Bluetooth protocol, to its network set up, equipment adds and leave, route generates and safeguard and transfer of data and network control content, suitably expand and manage, the scale of being convenient to improve the concurrency of network and enlarging network; But in network selection, two role device need to be registered the device type of its pair role device, but routing algorithm is selected the reference of route with this as network selection; Simultaneously, in corresponding purple honeybee using standard, increase the device type explanation of two role device.
4. dual-mode equipment as claimed in claim 2 is characterized in that, under described purple honeybee and bluetooth mode, just like the lower network way to manage:
Set up network and add network
At first, purple honeybee role device is set up ZigBee network with the identity of telegon, and other purple honeybee role device add this ZigBee network with the identity of router or terminal equipment; Secondly, be two role device if newly add the node of this ZigBee network, then need to register to ZigBee network and blueteeth network; Simultaneously, if having bluetooth service or other bluetooth equipments, the bluetooth role device is set up or the adding blueteeth network according to the needs of using;
Deviated from network
If device role is the normal deviated from network of purple honeybee role device of router or telegon, its lower child node adds in the alternate router or telegon of being reassigned by the telegon of ZigBee network perhaps voluntarily networking; Otherwise, if the improper deviated from network of purple honeybee role device, then its lower voluntarily networking of child node;
In two role device, if purple honeybee role device is left ZigBee network, need to nullify its corresponding routing iinformation content; If purple honeybee role device is left, the bluetooth role device is not left, and then mode of operation switches to single bluetooth mode by purple honeybee and bluetooth mode of operation; If just the bluetooth role device is left, then enter single purple honeybee pattern; No matter the sort of situation needs to nullify the relevant routing iinformation of two role device, and makes the equipment that leaves enter monitoring, dormancy or closed condition;
Data route and transmission
Under purple honeybee and bluetooth mode, the routing management of whole network is by take the routing management of ZigBee network as the basis, in conjunction with the routing mode of blueteeth network; Optional off the net, therefore two role device can be formed in the route mapping between ZigBee network and the blueteeth network owing to the route that has participated in simultaneously at ZigBee network and blueteeth network, increase new route approach and possibility; Under purple honeybee and bluetooth mode, the content of routing table comprises following form: destination node, next node, next node type, power supply state, transfer of data frequency and content, channel quality, destination node distance;
ZigBee network and blueteeth network form routing table by procotol separately, are kept at respectively on the main equipment of the router of ZigBee network and blueteeth network; But in network selection, the routing table between two role device nodes formation and preservation ZigBee network and blueteeth network; The routing table of the part router in the ZigBee network and the two role device nodes of the backup of the main equipment in the blueteeth network; When the route of ZigBee network and blueteeth network changes, process two role nodes upgrade in time the routing table that relates to and the equipment of notice route stand-by table with reference to routing algorithm separately.
5. dual-mode equipment as claimed in claim 1, it is characterized in that: have at least two zifeng modulars, be respectively the first zifeng modular and the second zifeng modular, have a bluetooth module, microprocessor, input unit, display unit, memory cell, power supply, antenna, its structure comprises:
The first zifeng modular and the second zifeng modular are connected with antenna with microprocessor, are used for carrying out communication according to ZigBee protocol and the equipment of supporting ZigBee protocol;
Bluetooth module is connected with antenna with microprocessor, is used for carrying out communication according to Bluetooth protocol and the equipment of supporting Bluetooth protocol;
Microprocessor is connected with input unit, display unit, memory cell, bluetooth module, the first zifeng modular and the zifeng modular of being connected, and is used for the various information of dual-mode equipment and control are processed;
Input unit is connected with microprocessor, is used for various input informations to memory cell or microprocessor;
Display unit is connected with microprocessor, is used for showing various input and output results;
Memory cell is connected with microprocessor, is used for program or the related data of storage and operation microprocessor;
Power supply is connected with each component units of dual-mode equipment, is used to each component units of dual-mode equipment that electric power is provided;
Antenna is connected with bluetooth module, the first zifeng modular and the zifeng modular of being connected, and is used for the wireless signal of transmitting-receiving bluetooth module, the first zifeng modular and the second zifeng modular.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710304261.2A CN101471704B (en) | 2007-12-26 | 2007-12-26 | Dual-mode equipment and network management method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710304261.2A CN101471704B (en) | 2007-12-26 | 2007-12-26 | Dual-mode equipment and network management method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101471704A CN101471704A (en) | 2009-07-01 |
CN101471704B true CN101471704B (en) | 2013-03-20 |
Family
ID=40828859
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200710304261.2A Expired - Fee Related CN101471704B (en) | 2007-12-26 | 2007-12-26 | Dual-mode equipment and network management method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101471704B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11902874B2 (en) | 2019-02-15 | 2024-02-13 | Signify Holding B.V. | Determining a network route which avoids nodes with a RF-based presence and/or location detection function |
US12143319B2 (en) | 2019-02-15 | 2024-11-12 | Signify Holding B.V. | Time-varying allocation to RF-based presence detection and/or localization and message reception |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI414163B (en) * | 2009-12-04 | 2013-11-01 | Ind Tech Res Inst | Heterogeneous wireless sensor network bridge device and control method and flow balancing method for the same |
KR101909129B1 (en) * | 2012-01-18 | 2018-10-17 | 삼성전자주식회사 | Method and apparatus for controlling zigbee device |
CN103581930B (en) * | 2012-07-18 | 2016-12-28 | 瑞昱半导体股份有限公司 | Bluetooth service estimating apparatus and bluetooth service estimating and measuring method thereof |
CN106454692A (en) * | 2015-08-12 | 2017-02-22 | 卢迪 | Dual-mode wireless communication chip, dual-mode wireless communication equipment and dual-mode wireless communication method |
CN106454691A (en) * | 2015-08-12 | 2017-02-22 | 奉加微电子(上海)有限公司 | Dual-mode network coordinator, dual-mode router, dual-mode mesh system and method thereof |
CN105610449B (en) * | 2015-12-25 | 2019-04-05 | 泰凌微电子(上海)有限公司 | Dual-mode radio frequency transmit-receive structure |
CN105657639B (en) * | 2015-12-25 | 2019-06-28 | 泰凌微电子(上海)有限公司 | Dual-mode equipment and its method realized while communicated |
CN105933988B (en) * | 2016-06-15 | 2017-05-31 | 广州小鸡快跑网络科技有限公司 | Bluetooth is connected control method and device automatically with 2.4G Dual modules |
CN107147994B (en) * | 2017-06-09 | 2020-05-05 | 厦门盈趣科技股份有限公司 | Zigbee gateway device based on voice terminal |
CN107483436B (en) * | 2017-08-14 | 2020-07-17 | 重庆邮电大学 | Physical layer dual-mode design method of communication module in Internet of things |
CN107733763A (en) * | 2017-08-24 | 2018-02-23 | 奉加微电子(昆山)有限公司 | Multimode combined chip and electronic equipment |
CN109474969B (en) * | 2018-12-19 | 2021-03-05 | 苏芯物联技术(南京)有限公司 | Hybrid communication method and system based on IEEE802.15.4 and Bluetooth low energy protocol stack |
WO2020182562A1 (en) | 2019-03-14 | 2020-09-17 | Signify Holding B.V. | Receiver-centric communication by combined network technologies for enhanced reliability |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1642332A (en) * | 2005-01-06 | 2005-07-20 | 东南大学 | Multi-mode wireless data receiving-transmitting apparatus based on colony communication mean |
CN1731693A (en) * | 2005-09-02 | 2006-02-08 | 东南大学 | Multi-mode mobile communication terminal and its signal processing method |
-
2007
- 2007-12-26 CN CN200710304261.2A patent/CN101471704B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1642332A (en) * | 2005-01-06 | 2005-07-20 | 东南大学 | Multi-mode wireless data receiving-transmitting apparatus based on colony communication mean |
CN1731693A (en) * | 2005-09-02 | 2006-02-08 | 东南大学 | Multi-mode mobile communication terminal and its signal processing method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11902874B2 (en) | 2019-02-15 | 2024-02-13 | Signify Holding B.V. | Determining a network route which avoids nodes with a RF-based presence and/or location detection function |
US12143319B2 (en) | 2019-02-15 | 2024-11-12 | Signify Holding B.V. | Time-varying allocation to RF-based presence detection and/or localization and message reception |
Also Published As
Publication number | Publication date |
---|---|
CN101471704A (en) | 2009-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101471704B (en) | Dual-mode equipment and network management method | |
TWI432058B (en) | Wireless communication method with low power consumption | |
Siekkinen et al. | How low energy is bluetooth low energy? comparative measurements with zigbee/802.15. 4 | |
CN101262393B (en) | Industrial wireless sensing network and communication method based on distributed coordinated frequency | |
Nieberg et al. | Collaborative algorithms for communication in wireless sensor networks | |
CN101489275A (en) | Relay wireless sensor network routing method based on energy balance and distance cooperation | |
EP2165468B1 (en) | Method for managing the transfer of information packets across a wireless network and routing nodes implementing it | |
Liu et al. | CSMAC: A novel DS-CDMA based MAC protocol for wireless sensor networks | |
Passos et al. | Asynchronous radio duty cycling for green IoT: State of the art and future perspectives | |
CN103476099B (en) | The dual dormancy method of wireless sensor node | |
CN101354695A (en) | Method, system and distributed apparatus of communication between processes | |
Wymore et al. | RIVER-MAC: A Receiver-initiated asynchronously duty-cycled MAC protocol for the internet of things | |
CN103024878A (en) | Low-energy-consumption wireless communication method | |
CN103874241A (en) | Gateway for supporting merging work of various kinds of radio frequency communication | |
CN102026423A (en) | 3G+WIFI(wireless fidelity) mobile router based on single-core processing | |
CN102100122A (en) | Data transmitting method, terminal processor and terminal device in zigbee network | |
CN105072639A (en) | Cognitive radio system architecture based on sensor network | |
Darshini et al. | Enabling real time requirements in industrial IoT through IETF 6TiSCH | |
Messina et al. | Achieving robustness through caching and retransmissions in IEEE 802.15. 4-based WSNs | |
CN105491690A (en) | Embedded wireless intelligent home gateway based on ARM9 | |
Ruzzelli et al. | Advantages of dual channel MAC for wireless sensor networks | |
CN205230348U (en) | Vehicle earth magnetism detecting system based on 6LoWPAN wireless network | |
Wang et al. | Intelligent Combination Algorithm Based on ZigBee and BLE Dual Mode Communication | |
CN202514077U (en) | Multi-frequency VHF communication-based remote self-networking system | |
Du et al. | Industrial wireless networks WIA-PA cross-layer design research |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130320 Termination date: 20131226 |