CN101471704A - Dual-mode equipment and network management method - Google Patents

Dual-mode equipment and network management method Download PDF

Info

Publication number
CN101471704A
CN101471704A CNA2007103042612A CN200710304261A CN101471704A CN 101471704 A CN101471704 A CN 101471704A CN A2007103042612 A CNA2007103042612 A CN A2007103042612A CN 200710304261 A CN200710304261 A CN 200710304261A CN 101471704 A CN101471704 A CN 101471704A
Authority
CN
China
Prior art keywords
purple honeybee
equipment
network
role device
mode
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.)
Granted
Application number
CNA2007103042612A
Other languages
Chinese (zh)
Other versions
CN101471704B (en
Inventor
陈澎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN 200710304261 priority Critical patent/CN101471704B/en
Publication of CN101471704A publication Critical patent/CN101471704A/en
Application granted granted Critical
Publication of CN101471704B publication Critical patent/CN101471704B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

A kind of dual-mode equipment and network management
Technical field
The present invention relates to a kind of dual-mode equipment and network management, the characteristics of this equipment are to adapt to various territory net (PAN automatically, Personal Area Network) communication occasion, simultaneously or support bluetooth and ZigBee protocol and external device to carry out communication selectively, or simultaneously at two different enterprising row communications of purple honeybee channel, can improve the concurrency of network data transmission and control effectively, 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 transmission of 64kb/s real-time voice 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 adopts wave point to replace the wire cable connection, has very strong transplantability, and is applicable to multiple occasion, add that this technology is low in energy consumption, little to human body harm, and use simple, realization easily, 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 handles 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 node number 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 two kinds to use or the like simultaneously.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 the demand of the equipment of two agreements simultaneously, for this reason, the present invention designs the dual-mode equipment of supporting purple honeybee and Bluetooth protocol simultaneously; Simultaneously, because ZigBee protocol has adopted CSMA/CA mechanism control MAC visit, this has just limited the concurrent of purple honeybee equipment may; But under 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 bluetooth and ZigBee protocol and external device to carry out communication selectively, or, be used for adapting to automatically various territory Netcom news occasions simultaneously at two different enterprising row communications of purple honeybee channel.
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, be respectively first zifeng modular and second zifeng modular, have a bluetooth module, microprocessor, input unit, display unit, memory cell, power supply, antenna, its structure comprises:
First zifeng modular and 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, first zifeng modular and second zifeng modular, is used for various information of dual-mode equipment and control are handled;
Input unit is connected with microprocessor, is used for various information are input to memory cell or microprocessor;
Display unit is connected with microprocessor, is used to show various input and output results;
Memory cell is connected with microprocessor, is used for storing and moving the program or the related data of 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, first zifeng modular and second zifeng modular, is used to receive and dispatch the wireless signal of bluetooth module, first zifeng modular and 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 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, exist network transmission speed greater than the transmission rate of single ZigBee network or require the transfer of data of real-time continuous simultaneously, then start two purple honeybee mode of operations; If only have bluetooth service or equipment separately, 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 the equipment of purple honeybee and Bluetooth protocol simultaneously;
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 the equipment of communication in two different purple honeybee channels simultaneously; 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, first zifeng modular and second zifeng modular are known as the first purple honeybee role device and the second purple honeybee role device respectively; 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 the device role of main equipment and slave unit 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 is set up and safeguard, and data transfer activities;
Described but network managing mode has two kinds of selection modes according to operating position: the time share network mode is on the Industrial Scientific Medical ISM band of 2.4G in two nets and network selection, and ZigBee protocol and Bluetooth protocol use and supervising the network in turn; Under the time share network mode, utilize global clock and arbitration mechanism, select time-sharing format and strategy; Under some is used,, determine the utilization rate of two networks according to data relevance and real-time; 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,, be transformed into the time share network mode if packet error rate is higher than certain threshold values; 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 transmits data packets again according to actual needs;
But in two nets and network selection, take network management based on ZigBee protocol; 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 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, child node adds in the alternate router or telegon of being reassigned by the telegon of ZigBee network under it, perhaps networking voluntarily; Otherwise, if the improper deviated from network of purple honeybee role device, then child node networking voluntarily under it;
In two role device,, need to nullify its corresponding routing iinformation content if purple honeybee role device is left ZigBee network; 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 the routing management based on ZigBee network, 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 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, handle 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 the 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, be that the identity of telegon is set up the second territory net then, and notice need concurrent and the initiate equipment or the first purple honeybee role device that contains zifeng modular with the second purple honeybee role device of certain node in first territory net or the equipment that contains zifeng modular;
If the second purple honeybee role device adds the second territory net, then by 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, the 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 second territory net, if deviated from network then has three kinds of processing modes:
First kind of 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 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 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 second territory net adds newly-built individual territory net;
Second kind of processing mode: the second purple honeybee role device order, 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 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 second territory net according to the information of first territory net that provides, adds in the net of 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 node networking voluntarily of 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 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 child node networking voluntarily down;
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 first territory net, rebulid territory net one by one, originally the node of 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 node networking voluntarily of first territory net;
If the first purple honeybee role device is left as router, then notify the telegon in the net of first territory earlier, 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 node networking voluntarily of 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 earlier or sets up the first territory net, adds or sets up the second territory net; Leave the second territory net earlier, leave the first territory net again; 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 in two purple honeybee pattern work, 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 with different ZigBee network and exchange with control, helps managing various complex apparatus and application.
(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 the work of two purple honeybee pattern, is supported the transmission of continuous data ground effectively, 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.
The characteristics of this equipment are selectively to adapt to various communication occasions, support purple honeybee and Bluetooth protocol, can improve the concurrency of network data transmission and control effectively, have 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 scene graph 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 the purple honeybee and the bluetooth mode lower part workflow diagram of dual-mode equipment of the present invention.
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: first zifeng modular 150 and 160, one bluetooth modules 170 of second zifeng modular, microprocessor 110, input unit 120, display unit 130, memory cell 140, power supply 180, antenna 190:
First zifeng modular 150 and second zifeng modular 160 are connected with antenna 190 with microprocessor 110, are used for carrying out communication according to ZigBee protocol and the equipment of supporting ZigBee protocol;
Bluetooth module 170 is connected with antenna 190 with microprocessor 110, is used for carrying out communication according to Bluetooth protocol and the equipment of supporting Bluetooth protocol;
Microprocessor 110 is connected with second zifeng modular 160 with input unit 120, display unit 130, memory cell 140, bluetooth module 170, first zifeng modular 150, is used for dual-mode equipment 100 various information and control are handled;
Input unit 120 is connected with microprocessor 110, is used for various information are input to memory cell 140 or microprocessor 110;
Display unit 130 is connected with microprocessor 110, is used to show various input and output results;
Memory cell 140 is connected with microprocessor 110, is used for storing and moving the program or the related data of microprocessor 110;
Power supply 180 is connected with dual-mode equipment 100 each component units, is used to dual-mode equipment 100 each component units that electric power is provided;
Antenna 190 is connected with bluetooth module 170, first zifeng modular 150 and second zifeng modular 160, is used to receive and dispatch the wireless signal of bluetooth module 170, first zifeng modular 150 and second zifeng modular 160 etc.
The characteristics of this equipment are selectively to adapt to various communication occasions, support purple honeybee and Bluetooth protocol, can improve the concurrency of network data transmission and control effectively, have enlarged network size and adaptability.
Concrete select hardware in, can be with reference to as selection mode:
1) selects first zifeng modular 150 and second zifeng modular 160 of the CC2430 of TI as 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 receiving and dispatching by zifeng modular, improved the concurrency of equipment effectively, reduced total linear pressure of visit microprocessor under the bimodulus and taken 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 or the like.
4) memory cell 140 can be selected 64MB SDRAM (2 16 SDRAM chips are formed 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 mobile data collector, be used for collecting the various data of first zifeng modular 150, second zifeng modular 160 and bluetooth module 170.The software specific implementation of this equipment comprises following several sections:
Figure A200710304261D00191
Mode of operation automaticallyes switch: during 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.
Figure A200710304261D00192
Data processing and management: be responsible for carrying out unpacking, pack, change and content such as fusion of first zifeng modular 150, the second zifeng modulars, 160 data and bluetooth module 170 data.Simultaneously, management data carries out storage and visit on memory cell 140.Particularly, by being installed in 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.
Figure A200710304261D00193
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, the mode and the content of network management have nothing in common with each other.
Figure A200710304261D00194
Safety management: be based upon the AES-128 of 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 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.
Figure A200710304261D00195
Power management: because a plurality of modules that the present invention relates to need 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 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 visit of application programs data and modification to data processing and hypervisor.
As Fig. 2 A is the use scene of the equipment under purple honeybee and bluetooth mode: 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 the equipment of two kinds of agreements to comprise dual-mode equipment 100 and two role device 500 simultaneously.
As Fig. 2 B is use scene at the equipment of two purple honeybee patterns: the purple honeybee role device 200 of dual-mode equipment 100 and a plurality of support ZigBee protocols forms 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 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 mode switch flow process 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 high-speed data transmission, if exist 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 range for wireless communication in application according to equipment, 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, exist network transmission speed greater than the transmission rate of single ZigBee network or require the transfer of data of real-time continuous simultaneously, then start two purple honeybee mode of operations; If only have bluetooth service or equipment separately, 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 be the final criterion of selection with practical application.Dual-mode equipment is listened pattern (Sniff Mode) by the scan channel and the holding concurrently of bluetooth of ZigBee network, obtains bluetooth service or equipment in communication context, and there is 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 have ZigBee network or equipment sometimes simultaneously, 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 only have ZigBee network or equipment sometimes, dual-mode equipment may start purple honeybee and bluetooth mode of operation according to the practical application needs.As the switching flow of Fig. 3, be applied to the terminal of dual-mode equipment under a lot of situations as a data collection or transmission, 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 slave unit in the blueteeth network (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-slave unit, router-main equipment, router-slave unit, terminal equipment-main equipment, terminal equipment-slave unit; 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 the equipment of communication simultaneously; 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, first zifeng modular 150 and second zifeng modular 160 are known as the first purple honeybee role device and the second purple honeybee role device respectively; 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 the device role of main equipment and slave unit 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 be provided with automatically and adapt to.
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 is meant the slave unit of equipment in blueteeth network or the terminal equipment in 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, is meant 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 handle, 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 purple honeybee and bluetooth simultaneously 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 communications protocol separately, manage purple honeybee or bluetooth module and related hardware; But in network selection, according to using scene and application, select transmission network efficiently, dormancy is operational module not.Under two purple honeybee patterns,, then can select to close the respective nodes and the purple honeybee role device of one of them ZigBee network if there is no need to set up two ZigBee networks.
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 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 on the Industrial Scientific Medical ISM band of 2.4G, and ZigBee protocol and Bluetooth protocol use and supervising the network in turn; 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: purple honeybee and bluetooth mode use the time share network mode down, 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 (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, and arbitrate according to the operating position of purple honeybee and blueteeth network by two role device to two role device; If confirmation request is then repartitioned their service time of scope and at interval.
Under purple honeybee and bluetooth mode, if the application of purple honeybee and blueteeth network itself is just relevant, as the data correlation, then can determine the utilization rate of two networks according to the practical application characteristics, 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 is long and short at interval service time, and blueteeth network relatively shorter and long at interval network handling characteristics 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 the communication mechanism of direct sequence spread spectrum (DSSS) and frequency-hopping spread spectrum (FHSS) respectively 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 transmits data packets again according to actual needs.
Under purple honeybee and bluetooth mode, take routing algorithm based on ZigBee protocol.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 purple honeybee role device and bluetooth role device respectively; PAN ZB and PAN BT represent the ZigBee network and the blueteeth network of formation respectively):
◆ 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 no bluetooth equipments, 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: whether node C sets up according to application need and adds blueteeth network, execution in step 69 then if desired, otherwise, execution in step 610; According to application need is exactly using standard and application scenarios according to bluetooth or purple honeybee, determines whether to set up and add blueteeth network; For example:, can transmit by blueteeth network if there is multi-medium data in the 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. as 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 that needs to confirm, do not obtain the affirmation information of its child node within a certain period of time, 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 other correlator nodes networking more voluntarily.If the improper deviated from network of ZB, then other correlator nodes networking more voluntarily; 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 down child node add; Perhaps, perhaps its child node networking voluntarily down.
In two role device,, need to nullify its corresponding routing iinformation content if purple honeybee role device is left ZigBee network; 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 the routing management based on ZigBee network, in conjunction with the routing mode of blueteeth network.Here the route of indication is the route between the node of optional all composition networks 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, as ZB A and ZB D; 2. bluetooth nodes can reach, as BT B and BT C; 3. purple honeybee bluetooth nodes is unreachable, as ZB B and BT D; 4. purple honeybee node can reach, ZB/BT A and ZB/BT B; 5. bluetooth nodes is unreachable, 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 its real time of data transmission and throughput.
For example, in Fig. 5, suppose not have route between ZB A and the ZB D, off the netly may form route optional, 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-between ZB B and the BT D〉ZB/BT A-〉BT B-〉ZB/BT C-〉BT D realizes 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, as BT A-optional〉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.
Figure A200710304261D00271
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.
Figure A200710304261D00272
Routing table is revised: when ZigBee network and the variation of blueteeth network route, reference routing algorithm is separately handled.Simultaneously, two role nodes equipment of the routing table that relates to and notice route stand-by table that upgrades in time.
Figure A200710304261D00273
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 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 concurrency and network transfer speeds by the node in the net of first territory, and the unique identification of this territory net is counted PAN ID and is made as PAN B.If dual-mode equipment under two purple honeybee patterns, has following network activity:
◆ add ZigBee network:
Certain contains the 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 the telegon or the router of this first territory net, by this equipment is carried out authentication, meet safety requirements, then allow its identity to add with terminal equipment or router, and, formed the terminal node or the router node of this first territory net to its 16 short address of distribution.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 second territory net is counted PANID, channel number, telegon 64 bit address of second territory net etc.).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 first territory net, require to add the second territory net, then wake the second purple honeybee role device again 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 the 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, be that the identity of telegon is set up the second territory net then, and notice need concurrent and the initiate equipment or the second purple honeybee role device that contains zifeng modular with the second purple honeybee role device of certain node in first territory net or the equipment that contains zifeng modular;
◆ 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 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 second territory net, if deviated from network then has three kinds of processing modes:
First kind of 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 second territory net, on the purple honeybee channel that is different from the first territory net and 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 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 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;
Second kind of processing mode: the second purple honeybee role device order, 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 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 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 first territory net of first territory net that provides, is selected and is joined in the net of 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 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 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 child node networking voluntarily down;
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 first territory net to rebulid territory net one by one; The first purple honeybee role device is sent network for the node of 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 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 node networking voluntarily of first territory net;
If the first purple honeybee role device is left as router, then notify the telegon in the net of first territory earlier, 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 node networking voluntarily of 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 earlier or sets up the first territory net, adds or sets up the second territory net; Leave the second territory net earlier, leave the first territory net again; 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 thereto; 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 (9)

1, a kind of dual-mode equipment, it is characterized in that: have bluetooth and zifeng modular, simultaneously or support bluetooth and ZigBee protocol and external device to carry out communication selectively, or, be used for adapting to various territory Netcoms automatically and interrogate occasions simultaneously at two different enterprising row communications of purple honeybee channel.
2, a kind of dual-mode equipment, it is characterized in that: have two zifeng modulars at least, be respectively first zifeng modular and second zifeng modular, have a bluetooth module, microprocessor, input unit, display unit, memory cell, power supply, antenna, its structure comprises:
First zifeng modular and 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, first zifeng modular and second zifeng modular, is used for various information of dual-mode equipment and control are handled;
Input unit is connected with microprocessor, is used for various information are input to memory cell or microprocessor;
Display unit is connected with microprocessor, is used to show various input and output results;
Memory cell is connected with microprocessor, is used for storing and moving the program or the related data of 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, first zifeng modular and second zifeng modular, is used to receive and dispatch the wireless signal of bluetooth module, first zifeng modular and second zifeng modular.
3, dual-mode equipment as claimed in claim 1 is characterized in that, 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 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, exist network transmission speed greater than the transmission rate of single ZigBee network or require the transfer of data of real-time continuous simultaneously, then start two purple honeybee mode of operations;
If only have bluetooth service or equipment separately, or ZigBee network or equipment, bluetooth mode of operation and purple honeybee mode of operation then started respectively.
4, 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 the equipment of purple honeybee and Bluetooth protocol simultaneously;
Described 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 the equipment of communication in two different purple honeybee channels simultaneously;
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, first zifeng modular and second zifeng modular are known as the first purple honeybee role device and the second purple honeybee role device respectively; 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 the device role of main equipment and slave unit 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.
5, dual-mode equipment as claimed in claim 4: it is characterized in that,
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 is set up and safeguard, 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 on the Industrial Scientific Medical ISM band of 2.4G, and ZigBee protocol and Bluetooth protocol use and supervising the network in turn; Under the time share network mode, utilize global clock and arbitration mechanism, select time-sharing format and strategy; Under some is used,, determine the utilization rate of two networks according to data relevance and real-time;
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,, be transformed into the time share network mode if packet error rate is higher than certain threshold values; 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 transmits data packets again according to actual needs;
But in two nets and network selection, take network management based on ZigBee protocol; 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 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.
6, the network management of dual-mode equipment as claimed in claim 5 is characterized in that, and is 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, child node adds in the alternate router or telegon of being reassigned by the telegon of ZigBee network under it, perhaps networking voluntarily; Otherwise, if the improper deviated from network of purple honeybee role device, then child node networking voluntarily under it;
In two role device,, need to nullify its corresponding routing iinformation content if purple honeybee role device is left ZigBee network; 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 the routing management based on ZigBee network, 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 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, handle 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.
7, the network management of dual-mode equipment as claimed in claim 6 is characterized in that, and is described under two purple honeybee patterns, and following network activity is arranged:
◆ set up and the adding ZigBee network:
At first, certain contains the 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, be that the identity of telegon is set up the second territory net then, and notice need concurrent and the initiate equipment or the first purple honeybee role device that contains zifeng modular with the second purple honeybee role device of certain node in first territory net or the equipment that contains zifeng modular;
If the second purple honeybee role device adds the second territory net, then by 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, the 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 second territory net, if deviated from network then has three kinds of processing modes:
First kind of 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 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 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 second territory net adds newly-built individual territory net;
Second kind of processing mode: the second purple honeybee role device order, 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 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 second territory net according to the information of first territory net that provides, adds in the net of 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 node networking voluntarily of 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 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 child node networking voluntarily down;
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 first territory net, rebulid territory net one by one, originally the node of 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 node networking voluntarily of first territory net;
If the first purple honeybee role device is left as router, then notify the telegon in the net of first territory earlier, 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 node networking voluntarily of 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 earlier or sets up the first territory net, adds or sets up the second territory net; Leave the second territory net earlier, leave the first territory net again; The device role of dual-mode equipment is can dynamically change according to actual conditions.
CN 200710304261 2007-12-26 2007-12-26 Dual-mode equipment and network management method Expired - Fee Related CN101471704B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710304261 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
CN 200710304261 CN101471704B (en) 2007-12-26 2007-12-26 Dual-mode equipment and network management method

Publications (2)

Publication Number Publication Date
CN101471704A true CN101471704A (en) 2009-07-01
CN101471704B CN101471704B (en) 2013-03-20

Family

ID=40828859

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710304261 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 (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103220824A (en) * 2012-01-18 2013-07-24 三星电子株式会社 Method and apparatus for controlling wireless personal area network (PAN) device
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
CN103581930A (en) * 2012-07-18 2014-02-12 瑞昱半导体股份有限公司 Bluetooth service estimation device and Bluetooth service estimation method thereof
CN105657639A (en) * 2015-12-25 2016-06-08 泰凌微电子(上海)有限公司 Dual-mode device and synchronous communication realizing method thereof
CN105933988A (en) * 2016-06-15 2016-09-07 广州小鸡快跑网络科技有限公司 Method and device for controlling automatic connection of Bluetooth and 2.4G modules
CN106454691A (en) * 2015-08-12 2017-02-22 奉加微电子(上海)有限公司 Dual-mode network coordinator, dual-mode router, dual-mode mesh system and 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
EP3197239A1 (en) * 2015-12-25 2017-07-26 Telink Semiconductor (Shanghai) Co., LTD. Dual-mode radio frequency transceiver architecture
CN107147994A (en) * 2017-06-09 2017-09-08 厦门盈趣科技股份有限公司 Zigbee gateway apparatus based on voice terminal
CN107483436A (en) * 2017-08-14 2017-12-15 重庆邮电大学 A kind of 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
CN109474969A (en) * 2018-12-19 2019-03-15 苏芯物联技术(南京)有限公司 Mixed communication method and system based on IEEE 802.15.4 and low-power consumption bluetooth dual stack
US11910224B2 (en) 2019-03-14 2024-02-20 Signify Holding B.V. Receiver-centric communication by combined network technologies for enhanced reliability

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2933382T3 (en) 2019-02-15 2023-02-06 Signify Holding Bv Determining a network path that avoids nodes with an RF-based presence and/or location detection function

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1284346C (en) * 2005-01-06 2006-11-08 东南大学 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 (20)

* Cited by examiner, † Cited by third party
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
CN103220824A (en) * 2012-01-18 2013-07-24 三星电子株式会社 Method and apparatus for controlling wireless personal area network (PAN) device
KR101909129B1 (en) * 2012-01-18 2018-10-17 삼성전자주식회사 Method and apparatus for controlling zigbee device
EP2618625A3 (en) * 2012-01-18 2016-09-21 Samsung Electronics Co., Ltd Method and apparatus for controlling wireless personal area network (PAN) device
CN103581930A (en) * 2012-07-18 2014-02-12 瑞昱半导体股份有限公司 Bluetooth service estimation device and Bluetooth service estimation method thereof
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
CN105657639B (en) * 2015-12-25 2019-06-28 泰凌微电子(上海)有限公司 Dual-mode equipment and its method realized while communicated
EP3197239A1 (en) * 2015-12-25 2017-07-26 Telink Semiconductor (Shanghai) Co., LTD. Dual-mode radio frequency transceiver architecture
CN105657639A (en) * 2015-12-25 2016-06-08 泰凌微电子(上海)有限公司 Dual-mode device and synchronous communication realizing method thereof
CN105933988A (en) * 2016-06-15 2016-09-07 广州小鸡快跑网络科技有限公司 Method and device for controlling automatic connection of Bluetooth and 2.4G modules
CN107147994A (en) * 2017-06-09 2017-09-08 厦门盈趣科技股份有限公司 Zigbee gateway apparatus based on voice terminal
CN107147994B (en) * 2017-06-09 2020-05-05 厦门盈趣科技股份有限公司 Zigbee gateway device based on voice terminal
CN107483436A (en) * 2017-08-14 2017-12-15 重庆邮电大学 A kind of physical layer dual-mode design method of communication module in Internet of Things
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
CN109474969A (en) * 2018-12-19 2019-03-15 苏芯物联技术(南京)有限公司 Mixed communication method and system based on IEEE 802.15.4 and low-power consumption bluetooth dual stack
CN109474969B (en) * 2018-12-19 2021-03-05 苏芯物联技术(南京)有限公司 Hybrid communication method and system based on IEEE802.15.4 and Bluetooth low energy protocol stack
US11910224B2 (en) 2019-03-14 2024-02-20 Signify Holding B.V. Receiver-centric communication by combined network technologies for enhanced reliability

Also Published As

Publication number Publication date
CN101471704B (en) 2013-03-20

Similar Documents

Publication Publication Date Title
CN101471704B (en) Dual-mode equipment and network management method
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
CN109474969A (en) Mixed communication method and system based on IEEE 802.15.4 and low-power consumption bluetooth dual stack
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
TW201309063A (en) Wireless communication method with low power consumption
CN102857992B (en) ZigBee network based multi-gateway transmission system
Keshav et al. Energy efficient scheduling in 4G smart phones for mobile hotspot application
CN101834913A (en) Wireless sensor network, mobile terminal and interconnection method and system thereof
JP2004343509A (en) System, apparatus, and method for radio communication, and computer program
Deshpande et al. Investigation on imcp based clustering in lte-m communication for smart metering applications
Wymore et al. RIVER-MAC: A Receiver-initiated asynchronously duty-cycled MAC protocol for the internet of things
Vasiljević et al. Performance evaluation of OpenWSN operating system on open mote platform for industrial IoT applications
CN102186258A (en) Communication protocol method of wireless sensor network based on linear long distance
CN103874241A (en) Gateway for supporting merging work of various kinds of radio frequency communication
Darshini et al. Enabling real time requirements in industrial IoT through IETF 6TiSCH
CN102100122A (en) Data transmitting method, terminal processor and terminal device in zigbee network
CN105491690A (en) Embedded wireless intelligent home gateway based on ARM9
CN102026423A (en) 3G+WIFI(wireless fidelity) mobile router based on single-core processing
CN203278865U (en) Intelligent household appliance control system
CN202121790U (en) M2M industrial wireless terminal module
Du et al. Industrial wireless networks WIA-PA cross-layer design research
KR100599537B1 (en) Power effective mac and phy implementation for wireless personal area network device

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