WO2010003337A1 - Short distance communication method, device and network - Google Patents

Short distance communication method, device and network Download PDF

Info

Publication number
WO2010003337A1
WO2010003337A1 PCT/CN2009/072077 CN2009072077W WO2010003337A1 WO 2010003337 A1 WO2010003337 A1 WO 2010003337A1 CN 2009072077 W CN2009072077 W CN 2009072077W WO 2010003337 A1 WO2010003337 A1 WO 2010003337A1
Authority
WO
WIPO (PCT)
Prior art keywords
beacon
information
network
sent
short
Prior art date
Application number
PCT/CN2009/072077
Other languages
French (fr)
Chinese (zh)
Inventor
刘永俊
邢志浩
赵牧
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2010003337A1 publication Critical patent/WO2010003337A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Definitions

  • the present invention relates to communication technologies, and more particularly to a method, device and network for short-range communication. Background technique
  • Wi reles s Per sona l Area Network (hereinafter referred to as WPAN).
  • a WPAN can be constructed as two networks that communicate in different ways, one called a beacon network and the other called a non-beacon network.
  • the beacon network is characterized by its strict communication protocol.
  • the beacon acts as a synchronous network device, allowing the device to periodically sleep to save energy. The longer the beacon period, the more energy savings, and the beacon can pass. It is specified that the time slot sent and received by the device provides a certain delay guarantee.
  • the beacon network may cause beacon conflict due to too many devices transmitting beacons, so that the device cannot receive the beacon correctly. In order to avoid beacon collisions, it is necessary to have possible conflicting beacons transmitted in different time slots within one beacon period. However, if the network equipment is too dense and the total length of beacons of all beacon transmitting devices has reached or approached the length of one beacon period, it is no longer possible to add new beaconing devices.
  • the beacon of the device Because, regardless of which time slot the beacon of the device is scheduled to transmit in the beacon period, it will collide with the existing beacon. If the beacon period is extended, more new devices can be allowed to join, and the device can save more energy, but it will increase the response delay of the device. Therefore, the general beacon network form is difficult to use for large-scale networks or networks with high equipment density.
  • the non-beacon network is characterized by simple communication procedures and no need for synchronization between devices.
  • the standby and communication are relatively flexible, and it is easy to set up a large network, but it is not conducive to synchronous operation.
  • the device needs to sleep and save energy, it consumes more energy than the beacon network.
  • the embodiments of the present invention provide a short-distance communication method, device, and network, so that a beacon network and a non-beacon network can be simultaneously constructed in one WPAN.
  • a short-range communication device includes a monitoring module, a transceiver module, and a demand processing module, wherein the monitoring module is configured to monitor a beacon sent by the beacon transmitting device in the wireless personal area network, and according to parameters included in the monitored beacon, Controlling the transceiver module, receiving information sent by the beacon transmitting device when it is required to receive information, and/or transmitting information to the beacon transmitting device when the information needs to be sent;
  • the transceiver module is used for information interaction with other devices in the network;
  • the demand processing module is configured to receive, by the transceiver module, an information acquisition request sent by other devices in the network at any time when the short-distance communication device is in a working state, and determine that the short-distance communication device has a device that needs to be sent to the sending request.
  • the control transceiver module directly sends the information to the device that sends the request.
  • Another short-range communication device includes a requesting module, a transceiver module, and a beacon module, wherein the requesting module is configured to directly transmit the transceiver module to the wireless personal area network when the short-range communication device is in a working state and needs to obtain information.
  • the other device sends an information acquisition request, and controls the transceiver module to receive the information sent by the requested device according to the request;
  • the transceiver module is used for information interaction with other devices in the network;
  • the beacon module is configured to send a beacon to other devices in the network through the transceiver module, and control the transceiver module according to the parameters included in the beacon, receive the information sent by the beacon receiving device when the information needs to be received, and/or The information is sent to the beacon receiving device when the information needs to be sent.
  • a wireless personal area network including:
  • the device communicating based on the beacon mode and the non-beacon mode is configured to listen to a beacon transmitted by the device capable of communication based on the beacon mode, and receive the information according to the parameter included in the beacon when the information needs to be received.
  • Another wireless personal area network including:
  • the device communicating based on the beacon mode and the non-beacon mode is configured to send a beacon to at least a device capable of communicating based on the beacon mode in the network, and according to the parameter included in the beacon and the at least beacon-based manner
  • the communication device performs information exchange; and sends an information acquisition request to the device that can communicate based on at least the non-beacon mode, and receives the information that the device that can communicate based on the non-beacon mode transmits according to the request.
  • a short-range communication method includes:
  • the information acquisition request sent by the other device is received at any time, and when the information of the device that needs to be sent to the transmission request is determined, the information is directly sent to the device that sends the request.
  • Another short-range communication method includes:
  • Embodiments of the present invention provide a short-range communication device that can simultaneously be based on a beacon side
  • the communication between the non-beacon and the non-beacon system solves the fundamental contradiction that the beacon network and the non-beacon network cannot coexist. Therefore, the short-distance communication device can simultaneously construct the beacon network and the non-beacon network in one WPAN.
  • the wireless personal area network provided by the embodiment of the present invention can adapt to different applications through a device capable of working in a beacon manner and a non-beacon manner, so that applications that need to communicate based on beacons and those that need to communicate based on non-beacons are required. Applications can be met simultaneously in a wireless personal area network and can achieve better operational status.
  • the short-distance communication method provided by the embodiment of the present invention can perform information interaction between a device capable of communicating in a beacon manner and a non-beacon manner in a network, and a device in a beacon network and a non-beacon network. It is possible to simultaneously satisfy the needs of the beacon network and the requirements of the non-beacon network in a wireless personal area network.
  • FIG. 1 is a schematic diagram of a beacon network extension manner in an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a non-beacon network extension manner in an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a first embodiment of a short-range communication device according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a second embodiment of a short-range communication device according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of a fourth embodiment of a short-range communication device according to an embodiment of the present invention
  • FIG. 7 is a first implementation of a wireless personal area network according to an embodiment of the present invention
  • FIG. 8 is a schematic diagram of a second embodiment of a wireless personal area network according to an embodiment of the present invention
  • FIG. 9 is a schematic diagram of a third embodiment of a wireless personal area network according to an embodiment of the present invention
  • FIG. 11 is a schematic diagram of a fifth embodiment of a wireless personal area network according to an embodiment of the present invention
  • FIG. 12 is a first implementation of a short-range communication method according to an embodiment of the present invention
  • FIG. 13 is a flowchart of a second embodiment of a short-range communication method according to an embodiment of the present invention
  • FIG. 14 is a flowchart of the present invention.
  • 15 is a schematic diagram of a second embodiment of adding a new device to a wireless personal area network in an embodiment of the present invention;
  • 16 is a schematic diagram of a first implementation manner of a device change communication manner in a wireless personal area network according to an embodiment of the present invention
  • FIG. 17 is a schematic diagram of a second implementation manner of a device change communication mode in a wireless personal area network according to an embodiment of the present invention. detailed description
  • the beacon network and the non-beacon network cannot be accommodated in one WPAN at the same time, that is, one WPAN can only be a beacon network or a non-beacon network, mainly because the device can only communicate by beacon in the WPAN. Or you can only communicate in a non-beacon manner.
  • each device as a coordinator communicates with a certain number of devices as non-coordinators; the coordinator can periodically transmit beacons in respective cycles, and the superframe structure of the coordinator can be defined in the beacon
  • the device acting as a non-coordinator synchronizes with the coordinator by listening to the coordinator's beacon, and communicates with the coordinator transmitting the beacon using the superframe parameters in the beacon.
  • the device within the WPAN may be, for example, any communication entity having a media access control layer and a physical layer radio interface capable of operating in the WPAN.
  • the coordinator is usually a device with strong communication and information processing capabilities, especially information transceiving capabilities.
  • beacon network only the coordinator can periodically send beacons, and devices that are non-coordinators cannot communicate with any coordinator without being synchronized with the beacon.
  • the non-coordinator sends information to the coordinator with which it communicates within the time slot specified by the parameters of the beacon.
  • the device acting as a coordinator can also act as a non-coordinator device and extend the beacon network in this way.
  • FIG. 1 is a schematic diagram of a beacon network extension manner in an embodiment of the present invention.
  • the beacon network can be extended in the manner shown in Figure 1.
  • the circle in Figure 1 represents the device that periodically transmits the beacon, and the moment The shape represents a device that sends a beacon aperiodically.
  • the device 1-1 periodically transmits a beacon as a coordinator, in which the superframe structure of the device 1-1 is defined.
  • Device 1-2 and device 1-3 act as non-coordinators of device 1-1, listening to the beacon of device 1-1, and synchronizing with device 1-1 accordingly.
  • the device 1-2 also periodically transmits the beacon as a coordinator, and the devices 1-4 and 1-5 act as beacons of the non-coordinator listening device 1-2, and are synchronized with the device 1-2 accordingly. It can be seen that the device 1-2 can act as a coordinator or a non-coordinator for different devices.
  • each device acting as a coordinator communicates with a certain number of devices acting as non-coordinators; the device acting as a non-coordinator queries the coordinator with which it communicates and requests information to be sent to itself; if the coordinator If such information is stored, the information is sent to the requesting device.
  • the non-coordinator sends information to the coordinator with whom it communicates in a competitive manner.
  • the device acting as a coordinator can also act as a non-coordinator and extend the non-beacon network in this way.
  • FIG. 2 is a schematic diagram of a non-beacon network extension manner in an embodiment of the present invention.
  • the non-beacon network can be extended in the manner shown in Figure 2.
  • the rectangle in Figure 2 represents a device that transmits beacons aperiodically.
  • the device 2-1 communicates as a coordinator with the device 2-2 and the device 2-3 as non-coordinators.
  • Device 2-2 and device 2-3 send an inquiry to device 2-1 and request information to be sent to itself. After receiving the request, the device 2-1 transmits the information to the device 2-2 or the device 2-3 when it is determined that there is information to be transmitted to the device 2-2 or the device 2-3.
  • the device 2-2 also communicates as a coordinator with the devices 2-4 and 2-5, with the devices 2-4 and 2-5 acting as non-coordinators of the device 2-2.
  • Device 2-4 and device 2-5 send an inquiry to device 2-2 and request information to be sent to itself.
  • the device 2-2 transmits the information to the device 2-4 or the device 2-5 when it is determined that there is information to be sent to the device 2-4 or the device 2-5.
  • a WPAN usually needs to have multiple applications at the same time, and different applications are respectively adapted to the beacon network or the non-beacon network.
  • beacon networks low latency and low power consumption are contradictory, so it is difficult to coexist with audio applications that require low latency and environmental monitoring applications that require low energy consumption.
  • audio applications that require low latency and environmental monitoring applications that require low energy consumption.
  • non-beacon network because the devices are not synchronized, conflicts may occur, and it is difficult to simultaneously adapt to audio requirements that require strong real-time performance. Application with and without real-time sensing data.
  • the mutual exclusion between the beacon network and the non-beacon network makes it impossible to accommodate both the beacon-based communication application and the non-beacon communication-based communication in one WPAN, and it is not possible to achieve different applications in a WPAN.
  • the state of operation In addition, the information in the beacon network and the non-beacon network cannot be interworked in the prior art.
  • the short-distance communication method, device and network provided by the embodiments of the present invention can simultaneously accommodate the beacon network and the non-beacon network in the same WPAN, and realize information interworking between the two networks, so as to cope with different applications coexisting in one WPAN. Demand in the middle.
  • FIG. 3 is a schematic structural diagram of a first embodiment of a short-range communication device according to an embodiment of the present invention. As shown in FIG. 3, an embodiment of the present invention provides a short-range communication device, including: a transceiver module 3-1, a listening module 3- 2, and a requirement processing module 3- 3.
  • the transceiver module 3-1 is configured to exchange information with other devices in the network; the monitoring module 3-2 is configured to listen to the beacon sent by the beacon transmitting device in the wireless personal area network, and according to the beacon included in the monitored beacon The parameter, the control transceiver module 3-1, receives the information sent by the beacon transmitting device when the information needs to be received, and/or sends the information to the beacon transmitting device when the information needs to be sent; the demand processing module 3-3 is used for the short When the communication device is in the working state, the transceiver module 3-1 receives the information acquisition request sent by other devices in the network at any time, and when determining that there is information to be sent to the device that sends the request, the control transceiver module 3-1 directly sends the information. The requested device sends this information.
  • the embodiment of the invention provides a short-distance communication device, which can simultaneously communicate based on the beacon mode and the non-beacon mode, and solves the fundamental contradiction that the beacon network and the non-beacon network cannot coexist, so the short-distance communication is adopted.
  • the device can simultaneously construct a beacon network and a non-beacon network in one WPAN.
  • the short-range communication device has the following modules: a listening module 4-1, a 4 module 4-2, and a demand processing module 4-3.
  • the monitoring module 4-1 is configured to listen to the beacon periodically sent by the coordinator in the network, and control the transceiver module 4-2 according to the parameters in the monitored beacon, and receive the beacon transmitting device when the information needs to be received.
  • the sent information may also be sent to the beacon transmitting device when needed; the transceiver module 4-2 is used for information interaction with other devices, including but not limited to, sending signals to devices in the network under the control of other modules.
  • Targets receive beacons of devices in the network, send information acquisition requests to other devices in the network, receive information acquisition requests sent by other devices in the network, send parameter acquisition requests to other devices in the network, and obtain parameters obtained by other devices in the network.
  • the transceiver module 4-2 also has the same or similar functions; the demand processing module 4-3 is used in the short-range communication device When in the working state, the transceiver module 4-2 receives the information acquisition request sent by other devices in the network at any time, and when determining that there is information in the device that needs to be sent to the device for sending the request, the control transceiver module 4-2 directly The device that sent the request sends the information.
  • the requirement processing module 4-3 sends the information directly to the device that sends the request by controlling the transceiver module 4-2.
  • the requirement processing module 4-3 only needs to process the information acquisition request sent by the device that sends the request, and then sends the specific information. Or it is blank information, and it does not need to be sent in a specific time slot when sending information.
  • the information obtaining request sent by the device may be information about whether the requested device has a device that needs to send a request, and request the device to send the information that needs to be sent to the device that sends the request; the information obtaining request may also be directly requested for the request.
  • the device sends information that needs to be sent to the device that sent the request.
  • the information acquisition request also has the same meaning.
  • the beacon may include a superframe parameter of the transmitting beacon device, including but not limited to a period of transmitting the beacon and a structural parameter of the superframe. In other embodiments of the present specification, the superframe parameters also have the same meaning.
  • the listening module 4-1 of the short-range communication device monitors the beacon periodically transmitted by the coordinator through the transceiver module 4-2, and synchronizes with the coordinator according to the superframe parameters included in the beacon. According to the beacon monitored by the monitoring module 4-1, when the information needs to be transmitted and/or received, the monitoring module 4-1 controls the transceiver module 4-2 of the short-range communication device to transmit and/or receive information with the coordinator. . Therefore, the short-range communication device can communicate as a non-coordinator and a coordinator based on the beacon to construct a beacon network.
  • the demand processing module 4-3 of the short-range communication device receives the non-coordinator communication information acquisition request from the non-beacon mode by the transceiver module 4-2, and determines that there is a need to send the transmission request to the transmission request.
  • the control transceiver module 4-2 transmits the device to the device that sent the request. Information. Therefore, the short-range communication device can communicate as a coordinator and a non-coordinator based on a non-beacon mode to construct a non-beacon network.
  • the short-range communication device can communicate based on the beacon mode or the non-beacon mode, and construct the beacon network and the non-beacon network, so that the beacon network and the non-beacon network exist in one WPAN at the same time, At the same time, the requirements of different applications are met, and the information of the beacon network and the non-beacon network can be interworked.
  • the short-range communication device may further include a requesting module 4-4.
  • the requesting module 4-4 is configured to send an information acquisition request to the other devices in the wireless personal area network directly through the transceiver module 4-2 when the short-range communication device is in an active state and needs to acquire information, and request the module 4-4.
  • the control transceiver module 4-2 receives the information transmitted by the coordinator according to the information acquisition request.
  • the requesting module 4-4 directly sends the information obtaining request when the information needs to be acquired, and does not need to be sent to other devices in a specific time slot, and does not need to consider whether the requested device can transmit.
  • the short-range device can perform information transfer as a non-coordinator and a coordinator communicating in a non-beacon manner, thereby more flexibly expanding a portion of the non-beacon network in the WPAN.
  • the short range communication device may further comprise a beacon module 4-5.
  • the beacon module 4-5 is configured to periodically send a beacon to a device in the system through the transceiver module 4-2, and the control transceiver module 4-2 sends the information to the non-coordinator when it needs to send information to the non-coordinator. , or receive information from a non-coordinator when it is necessary to receive information from a non-coordinator.
  • the beacon may contain superframe parameters of the short range communication device. Other devices communicating in a beacon manner can listen to the periodically transmitted beacon, synchronize with the short-range communication device, and perform information interaction with the short-range communication device according to the beacon transmitted by the beacon module 4-5.
  • the transceiver module 4-2 periodically transmits the beacon, the short-range communication device can also communicate as a coordinator and other non-coordinator communicating in a beacon manner based on the beacon mode, and more flexible expansion.
  • the beacon network part of the WPAN The beacon network part of the WPAN.
  • the beacon module 4-5 of the short-range communication device can also set the parameters contained in the transmitted beacon, or obtain the same from the superframe parameters of other beacon transmitting devices in the network.
  • the superframe parameter sets its own superframe parameters.
  • the beacon of the beacon device directly communicating with the same may be monitored, or the beacon module 4-5 may be sent to the beacon module 4-5 through the transceiver module 4-2.
  • the device adjacent thereto sends a request to obtain a superframe parameter, or the neighboring device actively sends a superframe parameter to the short-range communication device. If there is no superframe parameter in the neighboring device of the short-range communication device, the neighboring device requests the superframe parameter from other devices in the network.
  • the beacon module 4-5 of the short-range communication device may further comprise a storage function for saving superframe parameters in the monitored beacon.
  • the beacon module 4-5 may control the transceiver module 4-2 to send the saved superframe parameter to the device that sends the request, or the beacon module 4-5 may actively store it.
  • the superframe parameters are sent by the transceiver module 4-2 to other devices within the communication range of the short-range communication device.
  • the beacon module 4-5 can also avoid communication collisions according to the saved superframe parameters.
  • the beacon module 4-5 can control, according to the saved superframe parameter, the time at which the transceiver module 4-2 transmits the beacon at the coordinator synchronized with the short-range communication device. , does not receive information acquisition requests sent by other devices, does not send information acquisition requests to other devices, and does not interact with devices based on non-beacon communication methods to avoid non-trust at the time when the coordinator periodically transmits beacons. The standard way to communicate with other devices.
  • the beacon module 4-5 can also control the transceiver module 4-2 to transmit or receive information when the short-range communication device transmits the beacon and the other device in the device and the beacon network according to the saved superframe parameter.
  • the information acquisition request sent by other devices is not received, the information acquisition request is not sent to other devices, and the information is not exchanged with the device based on the non-beacon communication mode, so as to prevent the short-range communication device from simultaneously Beacon mode and non-beacon mode communication.
  • FIG. 5 is a schematic structural diagram of a third embodiment of a short-range communication device according to an embodiment of the present invention.
  • an embodiment of the present invention further provides a short-range communication device, including: a transceiver module 5-1, a request module 5-2, and a beacon module 5-3.
  • the transceiver module 5-1 is configured to exchange information with other devices in the network.
  • the requesting module 5-2 is configured to directly pass through the transceiver module 5-1 when the short-distance communication device is in a working state and needs to obtain information.
  • the other device in the wireless personal area network sends an information acquisition request, and controls the transceiver module 5-1 to receive the information sent by the requested device according to the request; the beacon module 5.3 is used to send the transceiver module 5-1 to other devices in the network. Send a beacon and include it according to the beacon.
  • the parameter, the control transceiver module 5-1 receives the information transmitted by the beacon receiving device when it is required to receive the information, and/or transmits the information to the beacon receiving device when the information needs to be transmitted.
  • the embodiment of the invention provides a short-distance communication device, which can simultaneously communicate based on the beacon mode and the non-beacon mode, and solves the fundamental contradiction that the beacon network and the non-beacon network cannot coexist, so the short-distance communication is adopted.
  • the device can simultaneously construct a beacon network and a non-beacon network in one WPAN.
  • FIG. 6 is a schematic structural diagram of a fourth embodiment of a short-range communication device according to an embodiment of the present invention.
  • the short-range communication device has the following modules: request module 6-1, transceiver module 6-2, and beacon module 6-3.
  • the requesting module 6-1 is configured to send, by the transceiver module 6-2, an information acquisition request to a device that communicates in a non-beacon manner, and control the transceiver module 6-2 to receive information sent by the requested device according to the request;
  • 2 is used for information interaction with other devices;
  • the beacon module 6-3 is configured to periodically send a beacon to other devices in the network through the transceiver module 6-2, and control the transceiver module 6 according to parameters included in the beacon.
  • Send or receive information when it needs to receive or send information.
  • the beacon module 6-3 of the short-range communication device periodically transmits a beacon, which may include superframe parameters of the short-range communication device.
  • Other devices that communicate in a beacon manner synchronize with the device by listening to the beacon of the short-range communication device.
  • the transceiver module 6-2 of the short-range communication device transmits and/or receives information with the synchronized device. Therefore, the short-range communication device can communicate as a coordinator with other non-coordinator devices communicating in a beacon manner based on a beacon manner to construct a beacon network.
  • the request module 6-1 of the short-range communication device transmits an information acquisition request to the coordinator who communicates in a non-beacon manner through the transceiver module 6-2.
  • the coordinator receiving the request transmits information to the short-range communication device when it is determined that there is information in the device that needs to be transmitted to the short-range communication device.
  • the requesting module 6-1 controls the transceiver module 6-2 to receive information from the coordinator. Therefore, the short-range communication device can communicate as a non-coordinator with other coordinators based on non-beacons to construct a non-beacon network.
  • the short-range communication device can communicate based on the beacon mode or the non-beacon mode, and construct the beacon network and the non-beacon network, so that the beacon network and the non-beacon network exist simultaneously.
  • a WPAN it can meet the needs of different applications at the same time, and can make the information of the beacon network and the non-beacon network interoperable.
  • the short-range communication device may further include a demand processing module 6-4.
  • the demand processing module 6-4 receives the information acquisition request sent by the other device through the transceiver module 6-2.
  • the control transceiver module 6-2 transmits the information to the device that sends the request. Therefore, when the demand processing module 6-4 is provided, the short-range communication device can serve as a coordinator for communication in a non-beacon manner, and more flexibly expand the non-beacon network portion of the WPAN.
  • the short-range communication device may further comprise a listening module 6-5.
  • the monitoring module 6-5 is configured to listen to the beacon sent by the beacon transmitting device in the network, and control the transceiver module 6-2 to receive the information sent by the beacon transmitting device when the information needs to be received according to the parameters included in the monitored beacon. , and/or send information to the beacon transmitting device when the information needs to be sent.
  • the beacon module 6-3 of the short-range communication device can also set the parameters contained in the transmitted beacon, or obtain the same from the superframe parameters of other beacon transmitting devices in the network.
  • the superframe parameter sets its own superframe parameters.
  • the beacon of the beacon device directly communicating with the network element may be monitored, or the beacon module 6-3 may send a request to the device adjacent thereto through the transceiver module 6-2 to obtain a superframe parameter.
  • actively sending a superframe parameter to the short-range communication device for the neighboring device If there is no superframe parameter in the neighboring device of the short-range communication device, the neighboring device requests the superframe parameter from other devices in the network.
  • the beacon module 6-3 of the short-range communication device may further comprise a storage function for saving superframe parameters in the monitored beacon.
  • the beacon module 6-3 may control the transceiver module 6-2 to send the saved superframe parameter to the device that sends the request, or the beacon module 6-3 may actively store it.
  • the superframe parameters are sent by the transceiver module 6-2 to other devices within the communication range of the short-range communication device.
  • the beacon module 6-3 can also avoid communication conflicts according to the saved superframe parameters.
  • the beacon module 6-3 can control the time when the transceiver module 6-2 transmits the beacon in the coordinator synchronized with the short-range communication device according to the saved superframe parameter. , Do not Receiving information acquisition requests sent by other devices, and not sending information acquisition requests to other devices and not interacting with devices based on non-beacon communication methods, so as to avoid non-beacons at the time when the coordinator periodically transmits beacons. Communicate with other devices.
  • the beacon module 6-3 may also control the transceiver module 6-2 to transmit or receive information when the short-range communication device transmits the beacon and the other device in the device and the beacon network according to the saved superframe parameter.
  • the information acquisition request sent by other devices is not received, the information acquisition request is not sent to other devices, and the information is not exchanged with the device based on the non-beacon communication mode, so as to prevent the short-range communication device from simultaneously Beacon mode and non-beacon mode communication.
  • FIG. 7 is a schematic diagram of a first embodiment of a wireless personal area network according to an embodiment of the present invention.
  • an embodiment of the present invention provides a wireless personal area network, including: a device 7-1 that simultaneously communicates based on a beacon mode and a non-beacon mode.
  • the device 7-1 that simultaneously communicates based on the beacon mode and the non-beacon mode is configured to listen to a beacon transmitted by at least the device 7-2 capable of communicating based on the beacon mode, and receive information according to parameters included in the beacon.
  • the wireless personal area network provided by the embodiment of the present invention can adapt to different applications through a device capable of working in a beacon manner and a non-beacon manner, so that applications that need to communicate based on beacons and those that need to communicate based on non-beacons are required. Applications can be met simultaneously in a wireless personal area network and can achieve better operational status.
  • FIG. 8 is a schematic diagram of a second embodiment of a wireless personal area network in an embodiment of the present invention.
  • a WPAN that accommodates both the beacon network and the non-beacon network can be constructed.
  • a circle represents a device that periodically transmits a beacon
  • a rectangle represents a device that transmits a beacon aperiodically.
  • the device 8-1 is a coordinator that communicates in a beacon manner, and periodically transmits a beacon.
  • Device 8-3 is a non-coordinator that communicates by beacon, and can also act as Coordinator of beacon mode communication.
  • Device 8-4 and device 8-5 are non-coordinators that communicate in a non-beacon manner, and can also act as a coordinator for communication in a non-beacon manner.
  • the device 8-2 is the first short-range communication device in the embodiment of the present invention, and communicates with the device 8-1 based on the beacon mode as a non-coordinator, and also acts as a coordinator and device 8-4 and/or device 8-5. Communication based on non-beacons.
  • the device 8-1 periodically transmits a beacon as a coordinator that communicates in a beacon manner, and the beacon may include a superframe parameter of the device 8-1.
  • the device 8- 3 communicates in a beacon manner, and listens to the beacon transmitted by the device 8-1 and synchronizes with the device 8-1.
  • the device 8-2 also listens to the beacon transmitted by the device 8-1, and synchronizes with the device 8-1 through the beacon, that is, the device 8-1 communicates with the device 8-2 based on the beacon.
  • Device 8-1 and device 8-2 and/or device 8- 3 form a beacon network that enables beacon-based communication applications to achieve better operational status.
  • Device 8-4 and device 8-5 are non-beacon communication devices, and device 8-4 and/or device 8-5 sends an inquiry to device 8-2 and requests information to be sent to itself.
  • the device 8-2 receives the inquiry of the device 8-4 and/or the device 8-5, and transmits information to the device 8-2 when it determines that there is information to be transmitted to the device 8-4 and/or the device 8-5.
  • Device 8-2 can communicate with device 8-4 and/or device 8-5 based on a non-beacon mode.
  • Device 8-2 forms a non-beacon network with devices 8-4 and/or devices 8-5, which enables applications based on non-beacon communication to achieve better operational status.
  • the beacon network and the non-beacon network are accommodated at the same time, and different applications can be adapted, so that different applications respectively achieve a better operational state.
  • the information can be intercommunicated between the beacon network and the non-beacon network included in the WPAN as shown in FIG.
  • the device 8-2 synchronizes with the device 8-1 by the beacon of the listening device 8-1, after which the device 8-1 can transmit the information to the device 8-2; and the device 8-2 receives the device 8- 4 and After the request of the device 8-5, the information can be sent to the device 8-4 and/or the device 8-5 to implement the transfer of information between the beacon network and the non-beacon network within the WPAN.
  • the device 8-4 and/or the device 8-5 sends information to the device 8-2.
  • the device 8-2 can send the information to the device 8-1 according to the superframe parameter of the device 8-1. , thereby realizing the transmission of information between the non-beacon network and the beacon network in the WPAN.
  • the device 8-2 can also save the superframe parameters of the monitored device 8-1.
  • the device 8-2 can avoid conflicts when communicating in a non-beacon manner according to the superframe parameters of the saved device 8-1, that is, the device 8-2 can avoid beacons at the same time according to the saved superframe parameters.
  • the non-beacon mode communicates, and avoids communicating in a non-beacon manner at the time the device 8-1 issues a beacon.
  • the device 8-2 may not save the superframe parameters of the device 8-1, but in the case of saving, the collision in the communication is reduced, and the network efficiency is improved.
  • the device 8-2 can also send a query to other non-beacon-based communication coordinators in the network as non-coordinator based on non-beacon communication, and request The information sent to yourself.
  • the coordinator receiving the request determines that there is information to be sent to the device 8-2, it transmits information to the device 8-2, and the device 8-2 receives the information. Therefore, the device 8- 2 can also be used as a non-coordinator that communicates in a non-beacon manner, and more flexibly expands the non-beacon network portion within the WPAN.
  • the device 8-2 may also periodically transmit a beacon, which may include the superframe parameters of the device 8-2.
  • a beacon which may include the superframe parameters of the device 8-2.
  • other beacon-based communication devices can communicate with the device 8-2 based on the beacon mode as a non-coordinator, and the beacon network portion is more flexibly expanded.
  • FIG. 9 is a schematic diagram of a third embodiment of a wireless personal area network in an embodiment of the present invention. As shown in FIG. 9, an embodiment of the present invention further provides a wireless personal area network, including: a device 9-1 that simultaneously communicates based on a beacon mode and a non-beacon mode.
  • the device 9-1 that simultaneously communicates based on the beacon mode and the non-beacon mode is configured to send a beacon to at least the beacon-based communication-enabled device 9-2 in the network, and according to parameters included in the beacon and at least
  • the device 9-2 capable of communicating based on the beacon mode performs information exchange; and transmits an information acquisition request to the device 9-3 capable of communicating based on at least the non-beacon mode in the network, and receives the device capable of communicating based on at least the non-beacon mode 9-3 Information sent according to the request.
  • FIG. 10 is a schematic diagram of a fourth implementation manner of a wireless personal area network according to an embodiment of the present invention. As shown in FIG. 10, based on the fourth embodiment of the short-range communication device of the present invention, a WPAN that accommodates both the beacon network and the non-beacon network can be constructed. In the WPAN shown in FIG. 10,
  • a circle represents a device that periodically transmits a beacon
  • a rectangle represents a device that transmits a beacon aperiodically.
  • Device 10-1 is a coordinator based on non-beacon mode communication.
  • the device 10-3 is a non-coordinator that communicates in a non-beacon manner, and can also act as a coordinator in a non-beacon manner.
  • Device 10-4 and device 10-5 are non-coordinators that communicate in a beacon manner, and can also act as a coordinator for communication in a non-beacon manner.
  • the device 10-2 is a second short-range communication device in the embodiment of the present invention, which periodically transmits a beacon as a coordinator, communicates with the device 10-4 and/or the device 10-5 based on the beacon mode, and acts as a non-coordination
  • the device 10-1 communicates with the device 10-1 based on the non-beacon mode.
  • the device 10-1 acts as a coordinator who communicates in a non-beacon manner.
  • Device 10-2 and/or device 10-3 sends an inquiry to device 10-1 and requests information to be sent to itself. After receiving the request, the device 10-1 sends the information to the device 10-2 and/or the device 10-3 upon determining that there is information that needs to be sent to the device 10-2 and/or the device 10-3.
  • Device 10-1 and device 10-2 and/or device 10-3 form a non-beacon network, which enables applications based on non-beacon communication to achieve better operational status.
  • the device 10-2 also periodically transmits a beacon as a coordinator that communicates in a beacon manner, and the beacon may include a superframe parameter of the device 10-2.
  • Device 10-4 and/or device 10-5 listen to the beacon of device 10-2 and synchronize with device 10-2 accordingly. After the synchronization, the device 10-2 transmits and receives information with the device 10-4 and/or the device 10-5 in the case where the information needs to be transmitted.
  • the device 10-2 forms a beacon network with the device 10-4 and/or the device 10-5, which enables the application based on the beacon communication to achieve a better operational state.
  • the beacon network and the non-beacon network are accommodated at the same time, and can be adapted to different applications, so that different applications respectively achieve a better operational state.
  • the information can be intercommunicated between the beacon network and the non-beacon network included in the WPAN as shown in FIG.
  • the device 10-2 sends an inquiry to the device 10-1 and requests information transmitted to itself, and the device 10-1 transmits the information to the device 10-2 when it is determined that there is information that the device 10-2 should be issued.
  • the device 10-2 may send the information to the device 10-4 and/or the device 10-5 that has been synchronized with it according to the superframe of the device 10-2, thereby realizing the intra-i3 ⁇ 4 ⁇ 3 ⁇ 4 WPAN , the transmission of information between non-beacon networks and beacon networks.
  • device 10-4 and/or device 10-5 can transmit information to device 10-2 as specified by the superframe parameters of device 10-2. After receiving the information, the device 10-2 can send the information to the device 10-1, thereby realizing the transmission of the information between the beacon network and the non-beacon network within the WPAN.
  • the device 10-2 may also serve as a coordinator based on non-beacon communication, and receive an inquiry from other non-coordinated communication non-coordinators in the network.
  • the device 10-2 can also be used as a coordinator for communication in a non-beacon manner, and more flexibly expands a portion of the non-beacon network in the WPAN.
  • FIG. 11 is a schematic diagram of a fifth implementation manner of a wireless personal area network according to an embodiment of the present invention.
  • a WPAN that accommodates both the beacon network and the non-beacon network can be constructed.
  • a circle represents a device that periodically transmits a beacon
  • a rectangle represents a device that transmits a beacon aperiodically.
  • the device 11-1 periodically transmits a beacon as a coordinator that communicates in a beacon manner, and the beacon may include a superframe parameter of the device 11-1.
  • the device 11-3 is a non-coordinator that communicates in a beacon manner, and can also serve as a coordinator for communicating in a beacon manner.
  • Device 11-4 is a non-coordinator that communicates in a non-beacon manner, and can also act as a coordinator for communication in a non-beacon manner.
  • Devices 11-6 and devices 11-7 are non-coordinators that communicate in a beacon manner, and can also act as coordinators for communicating in a beacon manner.
  • the device 11-2 is the first type of short-range communication device in the embodiment of the present invention, which communicates with the device 11-1 based on the beacon mode as a non-coordinator, and communicates with the device 11-4 based on the non-beacon mode as a coordinator.
  • the device 11-5 is a second short-range communication device in the embodiment of the present invention, and can periodically transmit a beacon as a coordinator, and communicate with the device 11-6 and/or the device 11-7 based on a beacon manner.
  • the device 11-2 and the device 11-5 may communicate based on a beacon, or may also communicate based on a non-beacon.
  • the device 11-2 listens to the beacon transmitted by the device 11-5, and synchronizes with the device 11-5 to perform information interaction.
  • the device 11-5 When communicating based on the non-beacon mode, the device 11-5 sends an inquiry to the device 11-2 and requests information sent to itself, and after receiving the request, the device 11-2 determines When there is information that needs to be transmitted to the device 11-5, the information is transmitted to the device 11-5.
  • the device 11-1 acts as a coordinator for communicating in a beacon manner, and periodically transmits a beacon, which may include the superframe parameter of the device 11-1.
  • Device 11-2 and/or device 11-3 listen to the beacon sent by device 11-1 and synchronize with device 11-1 accordingly. When information needs to be transmitted, the device 11-1 sends and receives information according to the superframe parameters contained in its beacon with the device 11-2 and/or the device 11-3.
  • Device 11-5 also acts as a coordinator for beacon communication, periodically transmitting beacons containing superframe parameters.
  • the device 11-2 and/or the device 11-6 and/or the device 11-7 listen to the beacon transmitted by the device 11-5 and synchronize with the device 11-5 accordingly, and when the information needs to be transmitted, the device 11-5 according to it
  • the superframe structure defined by the beacon transmits and receives information with the device 11-2 and/or the device 11-6 and/or the device 11-7.
  • Device 11-1, device 11-2, device 11-3, device 11-5, device 11-6, and device 11-7 form a beacon network.
  • the device 11-2 can also function as a non-beacon. Coordinator of communication.
  • the device 11-4 sends an inquiry to the device 11-2 and requests information to be sent to itself. After receiving the request, the device 11-2 transmits the information to the device 11-4 when it is determined that there is information to be sent to the device 11-4.
  • Device 11-2 and device 11-4 form a non-beacon network, which enables applications based on non-beacon communication to achieve better operation.
  • the beacon network and the non-beacon network are accommodated at the same time, and can be adapted to different applications, so that different applications respectively achieve better operating states.
  • the device 11-2 may not listen to the beacon of the device 11-5, but as the coordinator and the device 11-5 based on the non-trust. Standard mode communication.
  • device 11-1, device 11-2, and device 11-3 form a beacon network
  • device 11-5, device 11-6, and device 17-1 also form a beacon network.
  • the device 11-5 can also act as a non-coordinator for non-beacon mode communication.
  • the device 11-5 sends an inquiry to the device 11-2 and requests information to be sent to itself. After receiving the request, the device 11-2 transmits the information to the device 11-5 when it is determined that there is information to be transmitted to the device 11-5.
  • the device 11-2 forms a non-beacon network with the device 11-4 and the device 11-5, so that the application based on the non-beacon communication can achieve a better operational state. Therefore, according to the network construction manner, the beacon network and the non-beacon network can be accommodated in the WPAN as shown in FIG. 11, and can be adapted to different applications, so that different applications respectively achieve a better operational state.
  • the information can be interworked between the beacon network and the non-beacon network included in the WPAN as shown in FIG.
  • the device 11-2 performs information transmission and reception with the device 11-1 by synchronizing with the device 11-1, and the device 11-2 can also perform information transmission with the device 11-5 by synchronizing with the device 11-5.
  • the device 11-2 can receive the request of the device 11-4 and transmit the information obtained from the beacon network to the device 11-4, thereby realizing the transfer of information between the beacon network and the non-beacon network within the WPAN.
  • the device 11-4 may send information to the device 11-2.
  • the device 11-2 may send the received information to the device according to the superframe parameters of the device 11-1 and/or the device 11-5.
  • Device 11-1 and/or device 11-5 thereby realizing the transfer of information between the non-beacon network and the beacon network within the WPAN.
  • the interworking between the beacon network and the non-beacon network in the WPAN can also be realized.
  • the device 11-1 can transmit information to the device 11-2 according to the specification of its superframe parameters. After receiving the information, the device 11-2 transmits the information to the device 11-4 and/or the device 11-5 when the device 11-4 and/or the device 11-5 send a request. Thereby, in the WPAN, the transmission of information between the beacon network and the non-beacon network is realized.
  • the device 11-5 can also send the information acquired from the device 11-2 to the device 11-6 and/or the device 11-7 according to the provisions of its superframe parameters, thereby implementing the non-beacon network and the beacon in the WPAN.
  • the device 11-5 may request the device 11-2 to obtain the superframe of the device 11-1. parameter. After receiving the request of the device 11-5, the device 11-2 may send the requested superframe parameter of the device 11-1 to the device 11-1, or listen to the beacon of the device 11-1, and include the superframe parameter included therein. Passed to device 11-5. In the case where the device 11-2 holds the superframe parameter of the device 11-1, the device 11-5 may directly transmit the superframe parameter of the requested device 11-1 to the device 11-2.
  • FIG. 12 is a flowchart of a first embodiment of a short-range communication method according to an embodiment of the present invention. As shown in FIG. 12, an embodiment of the present invention provides a short-distance communication method, including:
  • Step 1201 Listening to a beacon sent by a coordinator based on beacon communication
  • Step 1202 Receive, according to parameters included in the beacon, information sent by the coordinator when the information needs to be received, and/or send the information to the coordinator when the information needs to be sent;
  • Step 1203 When the device is in the working state, receive the information acquisition request sent by the other device at any time, and send the information directly to the device that sends the request when determining that there is information that needs to be sent to the device that sends the request.
  • the short-distance communication method provided by the embodiment of the present invention can perform information interaction between a device capable of communicating in a beacon manner and a non-beacon manner in a network, and a device in a beacon network and a non-beacon network. It is possible to simultaneously satisfy the needs of the beacon network and the requirements of the non-beacon network in a wireless personal area network.
  • Figure 13 is a flow chart showing a second embodiment of the short-range communication method in the embodiment of the present invention. As shown in FIG. 13, an embodiment of the present invention further provides a short-distance communication method, including:
  • Step 1301 Send a beacon to other devices in the network, and perform information interaction with other devices based on the beacon communication according to parameters included in the beacon;
  • Step 1302 When it is in a working state and needs to obtain information, directly send an information acquisition request to other devices in the network, and receive information sent by the requested device according to the request.
  • the short-distance communication method provided by the embodiment of the present invention can perform information interaction between a device capable of communicating in a beacon manner and a non-beacon manner in a network, and a device in a beacon network and a non-beacon network. It is possible to simultaneously satisfy the needs of the beacon network and the requirements of the non-beacon network in a wireless personal area network.
  • FIG. 14 is a schematic diagram of a first embodiment of adding a new device to a wireless personal area network in an embodiment of the present invention.
  • the first short-range communication device according to the embodiment of the present invention can establish a communication mode different from the original network when the new device joins the network.
  • the circle represents periodicity.
  • the device that sends the beacon the rectangle represents the device that sends the beacon aperiodically.
  • the original network is a beacon network formed by the device 14-1 and the device 14-2.
  • the device 14-1 periodically transmits a beacon, and the beacon may include a superframe parameter of the device 14-1.
  • the device 14-2 is a non-coordinator that communicates in a beacon manner, and can also serve as a coordinator for communicating in a beacon manner.
  • Device 14-2 and device 14-1 may communicate in accordance with the superframe parameters of device 14-1 or may communicate in accordance with the superframe parameters of device 14-2.
  • a new device 14-3 needs to be added to the beacon network.
  • the new device 14-3 needs to communicate in a non-beacon manner, for example, because the density of devices in the network is too large or the device 14-3 needs to carry an application that needs to communicate based on non-beacons.
  • the device 14-3 is the first short-range communication device in the embodiment of the present invention.
  • the device 14-3 listens to the beacon of the device 14-1 and synchronizes with the device 14-1 accordingly. When the information needs to be transmitted, the device 14-1 and the device 14-3 communicate based on the beacon mode in accordance with the superframe parameters of the device 14-1.
  • the device 14-3 may receive a request from the non-coordinator based on the non-beacon mode communication, and when determining that there is information that needs to be sent to the device, This information is sent to the device that sent the request.
  • the device 14-3 can avoid collisions when communicating in a non-beacon manner according to the saved superframe parameters. That is to say, the device 14-3 can avoid communicating in a beacon manner and a non-beacon manner at a certain time according to the saved superframe parameters, and avoid communicating in a non-beacon manner at the time when the device 14-3 issues a beacon.
  • the device 14-3 may not save the superframe ⁇ : of the device 14-1, but in the case of ⁇ , it will reduce collisions in communication and improve network efficiency.
  • the second short-range communication device in the embodiment of the present invention may also establish a communication mode different from the original network when the new device joins the network.
  • device 14-1 communicates with device 14-2 based on beacon.
  • the new device 14-3 needs to join the network and communicate in a non-beacon manner.
  • the device 14-1 is a second short-range communication device in the embodiment of the present invention, and can communicate with the device 14-2 in a beacon manner, and establish non-beacon communication with the device 14-3.
  • the device 14-1 receives the request from the device 14-3, and transmits the information to the device 14-3 when it is determined that there is information to be transmitted to the device 14-3.
  • Device 14-1 and device 14-2 still communicate in a beacon manner.
  • New devices are now added to the beacon network, and new devices communicate based on non-beacons.
  • Figure 15 is a schematic diagram showing a second embodiment of adding a new device to a wireless personal area network in an embodiment of the present invention.
  • the second short-range communication device in the embodiment of the present invention can establish a communication mode different from the original network when the new device joins the network.
  • the circle represents the device that periodically sends the beacon
  • the rectangle represents the device that sends the beacon aperiodically.
  • the original network is a non-beacon network formed by device 15-1 and device 15-2.
  • the non-beacon network can use device 15-1 as the coordinator or device 15-2 as the coordinator.
  • new devices 15-3 need to be added to the non-beacon network.
  • Devices 15-3 need to communicate in a beaconed manner, for example because devices 15-3 need to carry applications that need to communicate based on beacons.
  • the device 15-3 is a second short-range communication device in the embodiment of the present invention.
  • the device 15-3 periodically transmits a beacon, which may include the superframe parameters of the device 15-3.
  • the beacon-based application carried by the device 15-3 can be synchronized with the device 15-3 through the beacon.
  • the device 15-3 can define the superframe parameters by itself or obtain the superframe parameters from the network. If a consistent superframe parameter is not required in the WPAN, device 15-3 can define the superframe parameter itself. If a consistent superframe parameter is required in the WPAN, the device needs to obtain the superframe parameters from the network.
  • device 15-3 may actively request or passively receive its saved superframe parameters from device 15-1.
  • the superframe parameter saved by the device 15-1 may be preset by the device 15-1 when the network is established, or may be obtained by the device 15-1 from other devices in the network by the following method. If the device 15- 1 communicates directly with other devices that communicate in a beacon manner, the superframe parameters of the device can be obtained by listening; if the device 15-1 communicates directly with other devices communicating in a non-beacon manner, and the device A set of superframe parameters is stored, and the device 15-1 can request the superframe parameters from the device.
  • the device 15-3 can only set a set of parameters by itself. In order to avoid inconsistencies with the superframe parameters set by other devices in the network, the device 15-3 can query whether other devices in the network have set superframe parameters, such as by broadcasting a query. If the device in the network has set the superframe parameter, the device 15-3 sets according to the existing superframe parameter. If there is no such setting in the network, the device 15-3 sets the superframe parameters by itself.
  • the first short-range communication device in the embodiment of the present invention may also establish a communication mode different from the original network when the new device joins the network.
  • the original network is still a non-beacon network formed by device 15-1 and device 15-2.
  • the non-beacon network can use device 15-1 as the coordinator or device 15-2 as the coordinator.
  • the device 15-1 is the first short-range communication device in the embodiment of the present invention.
  • the device 15-3 periodically transmits a beacon, which may include the superframe parameters of the device 15-3.
  • Device 15-1 Monitors the beacons sent by 15-32 and is synchronized with devices 15-3 accordingly.
  • the device 15-1 transmits and receives information according to the superframe parameters of the device 15-3.
  • communication between device 15- 1 and device 15- 2 is still non-beacon mode.
  • the device 15-3 sets the superframe parameter by the above superframe parameter setting method.
  • a new device can be added to the non-beacon network, and the new device communicates based on the beacon.
  • FIG. 16 is a schematic diagram of a first implementation manner of a device change communication method in a wireless personal area network according to an embodiment of the present invention.
  • a new communication mode can be established by changing the communication mode of the original device in the network.
  • a circle represents a device that periodically transmits a beacon
  • a rectangle represents a device that transmits a beacon aperiodically.
  • devices communicate by beacon.
  • the device 16-1, the device 16-2, and the device 16-4 are devices that periodically send beacons.
  • the device 16-3 may be a device that periodically sends a beacon, or a device that sends a beacon periodically.
  • 5 is a device that sends beacons aperiodically.
  • device 16-1 and device 16-2 communicate directly in a beacon manner.
  • Device 16-2 needs to establish a non-beacon communication mode and no longer periodically transmit beacons.
  • the device 16-2 and the device 16-1 communicate based on the beacon mode according to the superframe parameters of the device 16-1.
  • device 16-2 may notify the device with which it is in direct communication that it has switched to non-beacon mode communication.
  • device 16-4 receives the pass
  • the device 16-4 can be converted to non-beacon mode communication, or can still keep the beacon periodically transmitting in a beacon manner.
  • the device 16-5 is a device that transmits a beacon aperiodically, after receiving the notification, it can be converted into a non-beacon mode to communicate with the device 16-2.
  • the second short-distance communication device in the embodiment of the present invention can also establish a new communication mode by changing the communication mode of the original device in the network.
  • the original network is a beacon network
  • the device 16-2 needs to change its communication mode to non-beacon mode.
  • the device 16-2 sends an inquiry to the device 16-1 and requests information to be sent to itself, and after receiving the request, the device 16-1, after determining that there is information to be sent to the device 16-2, to the device 16-2 send Message.
  • the device 16-1 is a second embodiment of the short-range communication device in the present invention. Communication between device 16-1 and device 16-3 is still beaconed.
  • the device 16-2 can notify the neighboring devices of the change in the communication mode, and the adjacent device 16-4 and the device 16-5 can select the switching communication mode.
  • FIG. 17 is a schematic diagram of a second implementation manner of a device change communication mode in a wireless personal area network according to an embodiment of the present invention.
  • a new communication mode can be established by changing the communication mode of the original device in the network.
  • a circle represents a device that periodically transmits a beacon
  • a rectangle represents a device that transmits a beacon aperiodically.
  • the devices communicate in a non-beacon manner, and the beacons are not sent periodically.
  • device 17-1 and device 17-2 communicate directly in a non-beacon manner.
  • Device 17-2 needs to establish a beacon communication method.
  • the device 17-2 starts to periodically transmit the beacon and notifies the device with which it communicates that it has changed the communication mode to start communication based on the beacon.
  • Device 17-4 and device 17-5 and device 17-2 can communicate based on beacons.
  • device 17-4 and device 17-5 may choose to convert to a device that periodically transmits a beacon, or a device that still maintains a beacon for aperiodic transmission.
  • Device 17-3 is still communicating with device 17-1 based on a non-beacon mode.
  • the device 17-2 After converting the device to the device that periodically transmits the beacon, the device 17-2 can obtain the superframe parameter from the device 17-1, and can set the superframe parameter by itself if it cannot be acquired.
  • the device 17-2 may send the device 17-1 Actively requesting or passively receiving its saved superframe parameters from device 17-1.
  • the superframe parameter saved by the device 17-1 may be preset by the device 17-1 when the network is established, or may be obtained by the device 17-1 from other devices in the network by the following method. If the device 17-1 communicates directly with other devices that communicate in a beacon manner, the superframe parameters of the device can be obtained by monitoring; if the device 17-1 communicates directly with other devices that communicate in a non-beacon manner, for example, Device 17-3, and the device maintains a set of superframe parameters, and device 17-1 may request the device to obtain superframe parameters.
  • the device 17-2 can only set a set of parameters by itself. In order to avoid inconsistencies with the superframe parameters set by other devices in the network, the device 17-2 can query whether other devices in the network have set superframe parameters, such as by broadcasting a query. If the device in the network has set the superframe parameter, the device 17-2 sets according to the existing superframe parameters. If there is no such setting in the network, the device 17-2 sets the superframe parameter by itself.
  • the first short-distance communication device in the embodiment of the present invention can also establish a new communication mode by changing the communication mode of the original device in the network.
  • the devices still communicate in a non-beacon manner, and the beacons are not sent periodically.
  • device 17-1 and device 17-2 communicate directly in a non-beacon manner.
  • Device 17-2 needs to establish a beacon communication method.
  • the device 17-2 starts to periodically transmit the beacon, and notifies the device with which it communicates that it has changed the communication mode to start communication based on the beacon.
  • device 17-4 and device 17-5 may choose to convert to a device that periodically transmits a beacon, or a device that still maintains a beacon periodically.
  • the device 17-1 listens to the beacon of the device 17-2 and synchronizes it accordingly.
  • Device 17-3 is still communicating with device 17-1 based on a non-beacon mode.
  • the device 17-2 sets the superframe parameter by the superframe parameter setting method described above.
  • the devices in the non-beacon network establish communication in the beacon mode by changing the communication manner.

Abstract

A short distance communication device, wherein a monitoring module is used to monitor the beacon sent by a beacon sending device in a wireless personal area network (WPAN) and control a transceiver module to receive the information sent by the beacon sending device according to the parameters in the monitored beacon, and/or send the information to the beacon sending device; the transceiver module is used to exchange information with another device in the network; a requirement processing module is used to receive the information acquiring request sent by the other device in the network at any moment through the transceiver module when the short distance communication device is in the working state, and control the transceiver module to directly send the information to the device sending the request when it determines that the corresponding information exists in the device. Another kind of short distance communication device, a short distance communication network and a method are provided. Such communication devices enable the beacon network and the non-beacon network to exist concurrently in a WPAN and adapt for the different applications.

Description

短距离通信的方法、 设备及网络  Short-distance communication method, device and network
本申请要求于 2008 年 07 月 11 日提交中国专利局、 申请号为 200810068476. 3、 发明名称为 "短距离通信的方法、 设备及网络" 的中国专利 申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域  This application claims priority to Chinese Patent Application No. 200810068476. 3, entitled "Method, Equipment and Network for Short-Range Communication", filed on July 11, 2008, the entire contents of which are incorporated by reference. In this application. Technical field
本发明涉及通信技术, 特别涉及短距离通信的方法、 设备及网络。 背景技术  The present invention relates to communication technologies, and more particularly to a method, device and network for short-range communication. Background technique
基于短距离无线通信技术的发展, 出现了短距离范围内设备之间的连接与 通信网络, 称之为无线个人域网络 ( Wi reles s Per sona l Area Network; 以下 简称: WPAN ) 。  Based on the development of short-range wireless communication technology, there is a connection and communication network between devices in a short range, which is called Wi reles s Per sona l Area Network (hereinafter referred to as WPAN).
在现有技术中, WPAN可以构建为两种以不同方式通信的网络, 一种称为信 标网络, 另一种称为非信标网络。  In the prior art, a WPAN can be constructed as two networks that communicate in different ways, one called a beacon network and the other called a non-beacon network.
信标网络的特点在于其具有比较严格的通信规程, 信标起到了同步网络设 备的作用, 使得设备得以周期性休眠节省能量, 信标周期越长, 能量的节省越 多, 另外信标可以通过规定设备收发的时隙提供一定的时延保证。 此外, 信标 网络在网络设备密集的情况下, 可能会由于发送信标的设备过多而造成信标冲 突, 使得设备无法正确接收到信标。 为了避免信标冲突, 需要使可能冲突的信 标在一个信标周期内不同的时隙发送。 但是, 如果网络设备过于密集, 所有信 标发送设备的信标长度的总和已经达到或接近一个信标周期的长度时, 就无法 再加入新的发送信标的设备。 因为, 无论该设备的信标被安排在信标周期的哪 个时隙发送都会与已经存在的信标冲突。 如果延长信标周期, 可以容许更多的 新设备加入, 也可以使设备节省更多的能量, 但是会使得设备的反应时延增大。 因此一般信标网络形式难以用于大规模的网络或设备密度较大的网络。  The beacon network is characterized by its strict communication protocol. The beacon acts as a synchronous network device, allowing the device to periodically sleep to save energy. The longer the beacon period, the more energy savings, and the beacon can pass. It is specified that the time slot sent and received by the device provides a certain delay guarantee. In addition, in the case of network equipment intensive, the beacon network may cause beacon conflict due to too many devices transmitting beacons, so that the device cannot receive the beacon correctly. In order to avoid beacon collisions, it is necessary to have possible conflicting beacons transmitted in different time slots within one beacon period. However, if the network equipment is too dense and the total length of beacons of all beacon transmitting devices has reached or approached the length of one beacon period, it is no longer possible to add new beaconing devices. Because, regardless of which time slot the beacon of the device is scheduled to transmit in the beacon period, it will collide with the existing beacon. If the beacon period is extended, more new devices can be allowed to join, and the device can save more energy, but it will increase the response delay of the device. Therefore, the general beacon network form is difficult to use for large-scale networks or networks with high equipment density.
非信标网络的特点在于其通信规程比较简单, 不需要设备之间的同步, 设 备的加入与通信都相对灵活, 易于组建大型网络, 但是不利于同步的操作, 在 设备需要休眠节能的时候其能耗也比信标网络多。 The non-beacon network is characterized by simple communication procedures and no need for synchronization between devices. The standby and communication are relatively flexible, and it is easy to set up a large network, but it is not conducive to synchronous operation. When the device needs to sleep and save energy, it consumes more energy than the beacon network.
基于信标网络与非信标网络各自的特点, 其分别适用于不同的应用, 并且 不同的应用 4艮难在同一个网络中实现。 发明内容  Based on the respective characteristics of the beacon network and the non-beacon network, they are respectively applicable to different applications, and different applications are difficult to implement in the same network. Summary of the invention
有鉴于此, 本发明实施例提供一种短距离通信的方法、 设备及网络, 以在 一个 WPAN内可以同时构建信标网络与非信标网络。  In view of this, the embodiments of the present invention provide a short-distance communication method, device, and network, so that a beacon network and a non-beacon network can be simultaneously constructed in one WPAN.
为了实现上述目的, 本发明实施例提供的技术解决方案如下:  In order to achieve the above object, the technical solution provided by the embodiment of the present invention is as follows:
一种短距离通信设备, 包括监听模块、 收发模块和需求处理模块, 其中, 监听模块用于监听无线个人域网络中信标发送设备发送的信标, 并根据监 听到的信标中包含的参数, 控制收发模块, 在需要接收信息时接收信标发送设 备发送的信息, 和 /或在需要发送信息时向信标发送设备发送信息;  A short-range communication device includes a monitoring module, a transceiver module, and a demand processing module, wherein the monitoring module is configured to monitor a beacon sent by the beacon transmitting device in the wireless personal area network, and according to parameters included in the monitored beacon, Controlling the transceiver module, receiving information sent by the beacon transmitting device when it is required to receive information, and/or transmitting information to the beacon transmitting device when the information needs to be sent;
收发模块用于与网络中其他设备进行信息的交互;  The transceiver module is used for information interaction with other devices in the network;
需求处理模块用于在本短距离通信设备处于工作状态时, 通过收发模块随 时接收网络中其他设备发送的信息获取请求, 并在确定本短距离通信设备中存 在需要发送给该发送请求的设备的信息时, 控制收发模块直接向该发送请求的 设备发送该信息。  The demand processing module is configured to receive, by the transceiver module, an information acquisition request sent by other devices in the network at any time when the short-distance communication device is in a working state, and determine that the short-distance communication device has a device that needs to be sent to the sending request. When the information is received, the control transceiver module directly sends the information to the device that sends the request.
另一种短距离通信设备, 包括请求模块、 收发模块和信标模块, 其中, 请求模块用于在本短距离通信设备处于工作状态、 且需要获取信息时, 直 接通过收发模块向无线个人域网络中其他设备发送信息获取请求, 并控制收发 模块接收被请求设备根据该请求发送的信息;  Another short-range communication device includes a requesting module, a transceiver module, and a beacon module, wherein the requesting module is configured to directly transmit the transceiver module to the wireless personal area network when the short-range communication device is in a working state and needs to obtain information. The other device sends an information acquisition request, and controls the transceiver module to receive the information sent by the requested device according to the request;
收发模块用于与网络中其他设备进行信息的交互;  The transceiver module is used for information interaction with other devices in the network;
信标模块用于通过收发模块向网络中的其他设备发送信标, 并根据该信标 中包含的参数, 控制收发模块, 在需要接收信息时接收信标接收设备发送的信 息, 和 /或在需要发送信息时向该信标接收设备发送信息。 一种无线个人域网络, 包括: The beacon module is configured to send a beacon to other devices in the network through the transceiver module, and control the transceiver module according to the parameters included in the beacon, receive the information sent by the beacon receiving device when the information needs to be received, and/or The information is sent to the beacon receiving device when the information needs to be sent. A wireless personal area network, including:
同时基于信标方式和非信标方式通信的设备, 用于监听至少能基于信标方 式通信的设备发送的信标, 并根据该信标中包含的参数在需要接收信息时接收 该至少能基于信标方式通信的设备发送的信息, 和 /或在需要发送信息时向该至 少能基于信标方式通信的设备发送信息; 以及接收至少能基于非信标方式通信 的设备发送的信息获取请求, 并在确定本设备中存在需要发送给该请求的设备 的信息时, 直接向该发送请求的设备发送该信息。  At the same time, the device communicating based on the beacon mode and the non-beacon mode is configured to listen to a beacon transmitted by the device capable of communication based on the beacon mode, and receive the information according to the parameter included in the beacon when the information needs to be received. Information transmitted by a device communicating by the beacon mode, and/or transmitting information to the device capable of communicating based on the beacon mode when the information needs to be transmitted; and receiving an information acquisition request sent by the device capable of communicating based on the non-beacon mode, And when it is determined that there is information in the device that needs to be sent to the requesting device, the information is directly sent to the device that sends the request.
另一种无线个人域网络, 包括:  Another wireless personal area network, including:
同时基于信标方式和非信标方式通信的设备, 用于向网络中的至少能基于 信标方式通信的设备发送信标, 并根据该信标中包含的参数与该至少能基于信 标方式通信的设备进行信息的交互; 以及向网络中至少能基于非信标方式通信 的设备发送信息获取请求, 并接收该至少能基于非信标方式通信的设备根据该 请求发送的信息。  Simultaneously, the device communicating based on the beacon mode and the non-beacon mode is configured to send a beacon to at least a device capable of communicating based on the beacon mode in the network, and according to the parameter included in the beacon and the at least beacon-based manner The communication device performs information exchange; and sends an information acquisition request to the device that can communicate based on at least the non-beacon mode, and receives the information that the device that can communicate based on the non-beacon mode transmits according to the request.
一种短距离通信方法, 包括:  A short-range communication method includes:
监听基于信标方式通信的协调者发送的信标;  Listening to beacons sent by coordinators based on beacon communication;
根据该信标中包含的参数, 在需要接收信息时接收该协调者发送的信息, 和 /或在需要发送信息时向该协调者发送信息;  Receiving information sent by the coordinator when the information needs to be received according to parameters included in the beacon, and/or transmitting the information to the coordinator when the information needs to be sent;
在处于工作状态时, 随时接收其他设备发送的信息获取请求, 并在确定存 在需要发送给该发送请求的设备的信息时, 直接向该发送请求的设备发送该信 息。  When in the working state, the information acquisition request sent by the other device is received at any time, and when the information of the device that needs to be sent to the transmission request is determined, the information is directly sent to the device that sends the request.
另一种短距离通信方法, 包括:  Another short-range communication method includes:
向网络中的其他设备发送信标, 并根据该信标中包含的参数与其他基于信 标方式通信的设备进行信息的交互;  Sending a beacon to other devices in the network, and interacting with other devices based on the beacon communication according to parameters included in the beacon;
在处于工作状态、 且需要获取信息时, 直接向网络中其他设备发送信息获 取请求, 并接收被请求设备根据该请求发送的信息。  When it is in a working state and needs to obtain information, it directly sends a message acquisition request to other devices in the network, and receives information sent by the requested device according to the request.
本发明实施例通过提供一种短距离通信设备, 该设备可以同时基于信标方 式和非信标方式通信, 解决了信标网络和非信标网络无法共存的根本矛盾, 因 此通过该短距离通信设备可以在一个 WPAN中同时构建信标网络和非信标网络。 本发明实施例提供的无线个人域网络通过一个能够以信标方式和非信标方式工 作的设备, 可以分别适应不同的应用, 使需要基于信标方式通信的应用和需要 基于非信标方式通信的应用可以同时在一个无线个人域网络得到满足, 并且能 够分别达到较佳的运作状态。 通过本发明实施例提供的短距离通信方法, 由于 网络中的能够以信标方式通信和非信标方式通信的设备与信标网络中和非信标 网络中的设备都可以进行信息的交互, 所以可以使得在一个无线个人域网络中 同时满足信标网络的需求和非信标网络的需求。 附图说明 Embodiments of the present invention provide a short-range communication device that can simultaneously be based on a beacon side The communication between the non-beacon and the non-beacon system solves the fundamental contradiction that the beacon network and the non-beacon network cannot coexist. Therefore, the short-distance communication device can simultaneously construct the beacon network and the non-beacon network in one WPAN. The wireless personal area network provided by the embodiment of the present invention can adapt to different applications through a device capable of working in a beacon manner and a non-beacon manner, so that applications that need to communicate based on beacons and those that need to communicate based on non-beacons are required. Applications can be met simultaneously in a wireless personal area network and can achieve better operational status. The short-distance communication method provided by the embodiment of the present invention can perform information interaction between a device capable of communicating in a beacon manner and a non-beacon manner in a network, and a device in a beacon network and a non-beacon network. It is possible to simultaneously satisfy the needs of the beacon network and the requirements of the non-beacon network in a wireless personal area network. DRAWINGS
图 1是本发明实施例中信标网络扩展方式的示意图;  1 is a schematic diagram of a beacon network extension manner in an embodiment of the present invention;
图 2是本发明实施例中非信标网络扩展方式的示意图;  2 is a schematic diagram of a non-beacon network extension manner in an embodiment of the present invention;
图 3是本发明实施例中短距离通信设备第一种实施方式的结构示意图; 图 4是本发明实施例中短距离通信设备第二种实施方式的结构示意图; 图 5是本发明实施例中短距离通信设备第三种实施方式的结构示意图; 图 6是本发明实施例中短距离通信设备第四种实施方式的结构示意图; 图 7是本发明实施例中无线个人域网络第一种实施方式的示意图; 图 8是本发明实施例中无线个人域网络第二种实施方式的示意图; 图 9是本发明实施例中无线个人域网络第三种实施方式的示意图; 图 10是本发明实施例中无线个人域网络第四种实施方式的示意图; 图 11是本发明实施例中无线个人域网络第五种实施方式的示意图; 图 12是本发明实施例中短距离通信方法第一种实施方式的流程图; 图 13是本发明实施例中短距离通信方法第二种实施方式的流程图; 图 14是向本发明实施例中的无线个人域网络中加入新设备第一种实施方式 的示意图; 图 15是向本发明实施例中的无线个人域网络中加入新设备第二种实施方式 的示意图; 3 is a schematic structural diagram of a first embodiment of a short-range communication device according to an embodiment of the present invention; FIG. 4 is a schematic structural diagram of a second embodiment of a short-range communication device according to an embodiment of the present invention; FIG. 6 is a schematic structural diagram of a fourth embodiment of a short-range communication device according to an embodiment of the present invention; FIG. 7 is a first implementation of a wireless personal area network according to an embodiment of the present invention; FIG. 8 is a schematic diagram of a second embodiment of a wireless personal area network according to an embodiment of the present invention; FIG. 9 is a schematic diagram of a third embodiment of a wireless personal area network according to an embodiment of the present invention; FIG. 11 is a schematic diagram of a fifth embodiment of a wireless personal area network according to an embodiment of the present invention; FIG. 12 is a first implementation of a short-range communication method according to an embodiment of the present invention; FIG. 13 is a flowchart of a second embodiment of a short-range communication method according to an embodiment of the present invention; FIG. 14 is a flowchart of the present invention. A schematic diagram of a first embodiment of adding a new device to a wireless personal area network in an example; 15 is a schematic diagram of a second embodiment of adding a new device to a wireless personal area network in an embodiment of the present invention;
图 16是本发明实施例中无线个人域网络中的设备改变通信方式第一种实施 方式的示意图;  16 is a schematic diagram of a first implementation manner of a device change communication manner in a wireless personal area network according to an embodiment of the present invention;
图 17是本发明实施例中无线个人域网络中的设备改变通信方式第二种实施 方式的示意图。 具体实施方式  FIG. 17 is a schematic diagram of a second implementation manner of a device change communication mode in a wireless personal area network according to an embodiment of the present invention. detailed description
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明 作进一步地伴细描述。  The present invention will be further described in conjunction with the accompanying drawings in the accompanying drawings.
目前现有技术中信标网络与非信标网络无法同时容纳于一个 WPAN中, 即一 个 WPAN只能是信标网络或者是非信标网络, 这主要是因为设备在 WPAN内只能 以信标方式通信或者只能以非信标方式通信。  In the prior art, the beacon network and the non-beacon network cannot be accommodated in one WPAN at the same time, that is, one WPAN can only be a beacon network or a non-beacon network, mainly because the device can only communicate by beacon in the WPAN. Or you can only communicate in a non-beacon manner.
在信标网络内, 设备以信标方式通信。 其通信方式为: 每个作为协调者的 设备与一定数量的作为非协调者的设备通信; 协调者可以周期性地以各自的周 期发送信标, 信标中可以定义该协调者的超帧结构; 作为非协调者的设备通过 监听该协调者的信标与该协调者同步, 并利用该信标中的超帧参数与发送信标 的协调者通信。 其中, WPAN内的设备例如可以为具有能在 WPAN中工作的媒体接 入控制层和物理层无线接口的任何通信实体。 协调者通常为具有较强通信和信 息处理能力, 尤其是信息收发能力的设备。 在信标网络中, 只有协调者可以周 期性发送信标, 作为非协调者的设备在没有和信标同步的情况下, 不能和任何 协调者通信。 非协调者在信标的参数规定的时隙内向与其通信的协调者发送信 息。 作为协调者的设备同时也可以作为非协调者设备, 并以此方式扩展信标网 络。  Within the beacon network, devices communicate in beacons. The communication method is: each device as a coordinator communicates with a certain number of devices as non-coordinators; the coordinator can periodically transmit beacons in respective cycles, and the superframe structure of the coordinator can be defined in the beacon The device acting as a non-coordinator synchronizes with the coordinator by listening to the coordinator's beacon, and communicates with the coordinator transmitting the beacon using the superframe parameters in the beacon. The device within the WPAN may be, for example, any communication entity having a media access control layer and a physical layer radio interface capable of operating in the WPAN. The coordinator is usually a device with strong communication and information processing capabilities, especially information transceiving capabilities. In a beacon network, only the coordinator can periodically send beacons, and devices that are non-coordinators cannot communicate with any coordinator without being synchronized with the beacon. The non-coordinator sends information to the coordinator with which it communicates within the time slot specified by the parameters of the beacon. The device acting as a coordinator can also act as a non-coordinator device and extend the beacon network in this way.
例如, 图 1 是本发明实施例中信标网络扩展方式的示意图。 信标网络可以 按照图 1所示的方式进行扩展。 图 1 中圆形代表周期性发送信标的设备, 而矩 形代表非周期性发送信标的设备。 设备 1-1 作为协调者周期性发送信标, 该信 标中定义了设备 1-1的超帧结构。 设备 1-2和设备 1-3作为设备 1-1的非协调 者, 监听设备 1-1的信标, 并据此与设备 1-1同步。 同时设备 1-2也作为协调 者周期性发送信标, 设备 1-4和设备 1-5作为非协调者监听设备 1-2的信标, 并据此与设备 1-2 同步。 可见, 设备 1-2针对不同的设备可以作为协调者也可 以作为非协调者。 For example, FIG. 1 is a schematic diagram of a beacon network extension manner in an embodiment of the present invention. The beacon network can be extended in the manner shown in Figure 1. The circle in Figure 1 represents the device that periodically transmits the beacon, and the moment The shape represents a device that sends a beacon aperiodically. The device 1-1 periodically transmits a beacon as a coordinator, in which the superframe structure of the device 1-1 is defined. Device 1-2 and device 1-3 act as non-coordinators of device 1-1, listening to the beacon of device 1-1, and synchronizing with device 1-1 accordingly. At the same time, the device 1-2 also periodically transmits the beacon as a coordinator, and the devices 1-4 and 1-5 act as beacons of the non-coordinator listening device 1-2, and are synchronized with the device 1-2 accordingly. It can be seen that the device 1-2 can act as a coordinator or a non-coordinator for different devices.
在非信标网络内, 设备以非信标方式通信。 其通信方式为: 每个作为协调 者的设备与一定数量的作为非协调者的设备通信; 作为非协调者的设备向与其 通信的协调者询问并请求要发给自己的信息; 若该协调者存有这样的信息, 则 将该信息发送给该发出请求的设备。 非协调者通过竟争的方式向与其通信的协 调者发送信息。 与信标网络相同, 作为协调者的设备同时也可以作为非协调者, 并以此方式扩展非信标网络。  Within a non-beacon network, devices communicate in a non-beacon manner. The communication method is: each device acting as a coordinator communicates with a certain number of devices acting as non-coordinators; the device acting as a non-coordinator queries the coordinator with which it communicates and requests information to be sent to itself; if the coordinator If such information is stored, the information is sent to the requesting device. The non-coordinator sends information to the coordinator with whom it communicates in a competitive manner. Like the beacon network, the device acting as a coordinator can also act as a non-coordinator and extend the non-beacon network in this way.
例如, 图 2是本发明实施例中非信标网络扩展方式的示意图。 非信标网络 可以按照图 2所示的方式进行扩展。 图 2中矩形代表非周期性发送信标的设备。 设备 2-1作为协调者与作为非协调者的设备 2-2和设备 2-3通信。 设备 2-2与 设备 2-3向设备 2-1发送询问并请求发送给自己的信息。 设备 2-1接收到请求 后, 在确定存在需要发送给设备 2-2或设备 2-3的信息时, 将该信息发送给设 备 2-2或设备 2-3。 同时设备 2-2也作为协调者与设备 2-4和设备 2-5通信, 其 中设备 2-4和设备 2-5作为设备 2-2的非协调者。 设备 2-4与设备 2-5向设备 2- 2发送询问, 并请求发送给自己的信息。 设备 2- 2接收到请求后, 在确定存在 需要发送给设备 2-4或设备 2-5的信息时,将该信息发送给设备 2-4或设备 2-5。 一个 WPAN内通常会需要同时存在多种应用, 并且不同的应用分别适应于信 标网络或者非信标网络。 例如在信标网络中, 低时延与低能耗是矛盾的, 因此 要求低时延的音频应用与要求低能耗的环境监测应用就很难共存。 例如在非信 标网络中由于设备不同步, 会造成冲突, 很难同时适应要求实时性强的音频应 用和非实时性传感数据应用。 For example, FIG. 2 is a schematic diagram of a non-beacon network extension manner in an embodiment of the present invention. The non-beacon network can be extended in the manner shown in Figure 2. The rectangle in Figure 2 represents a device that transmits beacons aperiodically. The device 2-1 communicates as a coordinator with the device 2-2 and the device 2-3 as non-coordinators. Device 2-2 and device 2-3 send an inquiry to device 2-1 and request information to be sent to itself. After receiving the request, the device 2-1 transmits the information to the device 2-2 or the device 2-3 when it is determined that there is information to be transmitted to the device 2-2 or the device 2-3. At the same time, the device 2-2 also communicates as a coordinator with the devices 2-4 and 2-5, with the devices 2-4 and 2-5 acting as non-coordinators of the device 2-2. Device 2-4 and device 2-5 send an inquiry to device 2-2 and request information to be sent to itself. After receiving the request, the device 2-2 transmits the information to the device 2-4 or the device 2-5 when it is determined that there is information to be sent to the device 2-4 or the device 2-5. A WPAN usually needs to have multiple applications at the same time, and different applications are respectively adapted to the beacon network or the non-beacon network. For example, in beacon networks, low latency and low power consumption are contradictory, so it is difficult to coexist with audio applications that require low latency and environmental monitoring applications that require low energy consumption. For example, in a non-beacon network, because the devices are not synchronized, conflicts may occur, and it is difficult to simultaneously adapt to audio requirements that require strong real-time performance. Application with and without real-time sensing data.
因此, 信标网络与非信标网络的互斥使得一个 WPAN内无法同时容纳基于信 标方式通信的应用和基于非信标方式通信的应用, 也无法使一个 WPAN内不同应 用分别达到各自较佳的运作状态。 此外, 现有的技术中也无法使信标网络和非 信标网络的信息互通。  Therefore, the mutual exclusion between the beacon network and the non-beacon network makes it impossible to accommodate both the beacon-based communication application and the non-beacon communication-based communication in one WPAN, and it is not possible to achieve different applications in a WPAN. The state of operation. In addition, the information in the beacon network and the non-beacon network cannot be interworked in the prior art.
而本发明实施例提供的短距离通信方法、 设备和网络能够实现在同一个 WPAN 中同时容纳信标网络与非信标网络, 实现两种网络之间信息的互通, 满足 不同应用共存于一个 WPAN中的需求。  The short-distance communication method, device and network provided by the embodiments of the present invention can simultaneously accommodate the beacon network and the non-beacon network in the same WPAN, and realize information interworking between the two networks, so as to cope with different applications coexisting in one WPAN. Demand in the middle.
图 3是本发明实施例中短距离通信设备第一种实施方式的结构示意图。 如 图 3所示, 本发明实施例提供了一种短距离通信设备, 包括: 收发模块 3-1、 监 听模块 3- 2和需求处理模块 3- 3。 其中, 收发模块 3-1用于与网络中其他设备进 行信息的交互; 监听模块 3-2 用于监听无线个人域网络中信标发送设备发送的 信标, 并根据监听到的信标中包含的参数, 控制收发模块 3-1, 在需要接收信息 时接收信标发送设备发送的信息, 和 /或在需要发送信息时向信标发送设备发送 信息; 需求处理模块 3-3 用于在本短距离通信设备处于工作状态时, 通过收发 模块 3-1 随时接收网络中其他设备发送的信息获取请求, 并在确定存在需要发 送给发送请求的设备的信息时, 控制收发模块 3-1 直接向发送请求的设备发送 该信息。  FIG. 3 is a schematic structural diagram of a first embodiment of a short-range communication device according to an embodiment of the present invention. As shown in FIG. 3, an embodiment of the present invention provides a short-range communication device, including: a transceiver module 3-1, a listening module 3- 2, and a requirement processing module 3- 3. The transceiver module 3-1 is configured to exchange information with other devices in the network; the monitoring module 3-2 is configured to listen to the beacon sent by the beacon transmitting device in the wireless personal area network, and according to the beacon included in the monitored beacon The parameter, the control transceiver module 3-1, receives the information sent by the beacon transmitting device when the information needs to be received, and/or sends the information to the beacon transmitting device when the information needs to be sent; the demand processing module 3-3 is used for the short When the communication device is in the working state, the transceiver module 3-1 receives the information acquisition request sent by other devices in the network at any time, and when determining that there is information to be sent to the device that sends the request, the control transceiver module 3-1 directly sends the information. The requested device sends this information.
本发明实施例通过提供一种短距离通信设备, 该设备可以同时基于信标方 式和非信标方式通信, 解决了信标网络和非信标网络无法共存的根本矛盾, 因 此通过该短距离通信设备可以在一个 WPAN中同时构建信标网络和非信标网络。  The embodiment of the invention provides a short-distance communication device, which can simultaneously communicate based on the beacon mode and the non-beacon mode, and solves the fundamental contradiction that the beacon network and the non-beacon network cannot coexist, so the short-distance communication is adopted. The device can simultaneously construct a beacon network and a non-beacon network in one WPAN.
图 4是本发明实施例中短距离通信设备第二种实施方式的结构示意图。 下面 结合图 4对本发明实施例中短距离通信设备的第一种实施方式进行具体说明。 该 短距离通信设备具有下述模块: 监听模块 4-1、 4 模块 4- 2以及需求处理模块 4-3。 其中, 监听模块 4-1 用于监听网络中协调者周期性发送的信标, 并根据监 听到的信标中的参数, 控制收发模块 4-2 , 在需要接收信息时接收信标发送设备 发送的信息, 也可以在需要时向信标发送设备发送信息; 收发模块 4- 2用于与其 他设备进行信息的交互, 包括但不限于在其他模块的控制下, 向网络中的设备发 送信标、 接收网络中设备的信标、 向网络中其他设备发送信息获取请求、 接收网 络中其他设备发送的信息获取请求、 向网络中其他设备发送参数获取请求、 接收 网络中其他设备发送的参数获取请求、 接收其他设备发送的信息以及向其他设备 发送信息, 在本说明书的其他实施例中收发模块 4-2也具有相同或类似的功能; 需求处理模块 4-3用于在本短距离通信设备处于工作状态时, 通过收发模块 4-2 随时接收网络中其他设备发送的信息获取请求, 并在确定本设备中存在需要发送 给该发送请求的设备的信息时, 控制收发模块 4-2直接向该发送请求的设备发送 该信息。 需求处理模块 4-3通过控制收发模块 4-2直接向该发送请求的设备发送 信息是指,需求处理模块 4-3只需要处理该发送请求的设备发送的信息获取请求, 随后发送具体的信息或者是空白信息, 在发送信息时不需要在特定的时隙发送。 其中设备发送的信息获取请求可以为询问被请求设备是否具需要发送请求的设 备的信息, 并请求该设备将需要发送的信息发送给该发送请求的设备; 信息获取 请求也可以直接为请求被请求设备发送需要发送给发送请求的设备的信息。 在本 说明书的其他实施例中, 信息获取请求也具有相同的含义。 该信标中可以包含发 送信标设备的超帧参数, 该超帧参数包括但不限于发送信标的周期和超帧的结构 参数。 在本说明书的其他实施例中, 超帧参数也具有相同的含义。 4 is a schematic structural diagram of a second embodiment of a short-range communication device according to an embodiment of the present invention. The first embodiment of the short-range communication device in the embodiment of the present invention will be specifically described below with reference to FIG. The short-range communication device has the following modules: a listening module 4-1, a 4 module 4-2, and a demand processing module 4-3. The monitoring module 4-1 is configured to listen to the beacon periodically sent by the coordinator in the network, and control the transceiver module 4-2 according to the parameters in the monitored beacon, and receive the beacon transmitting device when the information needs to be received. The sent information may also be sent to the beacon transmitting device when needed; the transceiver module 4-2 is used for information interaction with other devices, including but not limited to, sending signals to devices in the network under the control of other modules. Targets, receive beacons of devices in the network, send information acquisition requests to other devices in the network, receive information acquisition requests sent by other devices in the network, send parameter acquisition requests to other devices in the network, and obtain parameters obtained by other devices in the network. Requesting, receiving information sent by other devices and transmitting information to other devices, in other embodiments of the present specification, the transceiver module 4-2 also has the same or similar functions; the demand processing module 4-3 is used in the short-range communication device When in the working state, the transceiver module 4-2 receives the information acquisition request sent by other devices in the network at any time, and when determining that there is information in the device that needs to be sent to the device for sending the request, the control transceiver module 4-2 directly The device that sent the request sends the information. The requirement processing module 4-3 sends the information directly to the device that sends the request by controlling the transceiver module 4-2. The requirement processing module 4-3 only needs to process the information acquisition request sent by the device that sends the request, and then sends the specific information. Or it is blank information, and it does not need to be sent in a specific time slot when sending information. The information obtaining request sent by the device may be information about whether the requested device has a device that needs to send a request, and request the device to send the information that needs to be sent to the device that sends the request; the information obtaining request may also be directly requested for the request. The device sends information that needs to be sent to the device that sent the request. In other embodiments of the present specification, the information acquisition request also has the same meaning. The beacon may include a superframe parameter of the transmitting beacon device, including but not limited to a period of transmitting the beacon and a structural parameter of the superframe. In other embodiments of the present specification, the superframe parameters also have the same meaning.
在 WPAN中, 该短距离通信设备的监听模块 4-1通过收发模块 4-2监听协调 者周期性发送的信标, 并根据该信标中包含的超帧参数与协调者同步。 根据监 听模块 4-1监听到的信标, 在需要发送和 /或接收信息时, 监听模块 4-1控制该 短距离通信设备的收发模块 4-2与协调者进行信息的发送和 /或接收。 因此, 该 短距离通信设备可以作为非协调者与协调者基于信标方式通信, 构建信标网络。  In the WPAN, the listening module 4-1 of the short-range communication device monitors the beacon periodically transmitted by the coordinator through the transceiver module 4-2, and synchronizes with the coordinator according to the superframe parameters included in the beacon. According to the beacon monitored by the monitoring module 4-1, when the information needs to be transmitted and/or received, the monitoring module 4-1 controls the transceiver module 4-2 of the short-range communication device to transmit and/or receive information with the coordinator. . Therefore, the short-range communication device can communicate as a non-coordinator and a coordinator based on the beacon to construct a beacon network.
在上述 WPAN中, 该短距离通信设备的需求处理模块 4-3通过收发模块 4-2 接收来自以非信标方式通信的非协调者发送信息获取请求, 并在确定存在需要 发送给发送请求的设备的信息时, 控制收发模块 4-2 向发送请求的设备发送该 信息。 因此, 该短距离通信设备可以作为协调者与非协调者基于非信标方式通 信, 构建非信标网络。 In the above WPAN, the demand processing module 4-3 of the short-range communication device receives the non-coordinator communication information acquisition request from the non-beacon mode by the transceiver module 4-2, and determines that there is a need to send the transmission request to the transmission request. When the information of the device is received, the control transceiver module 4-2 transmits the device to the device that sent the request. Information. Therefore, the short-range communication device can communicate as a coordinator and a non-coordinator based on a non-beacon mode to construct a non-beacon network.
故此, 该短距离通信设备可以基于信标方式通信也可以基于非信标方式通 信, 同时构建信标网络与非信标网络, 使得信标网络与非信标网络同时存在于 一个 WPAN中, 能够同时满足不同应用的需求, 并且使信标网络和非信标网络的 信息能够互通。 较佳地, 该短距离通信设备还可以包括请求模块 4-4。 该请求模 块 4-4 用于在本短距离通信设备处于工作状态、 且需要获取信息时, 直接通过 收发模块 4-2 向无线个人域网络中其他设备发送信息获取请求, 并且请求模块 4-4控制收发模块 4-2接收协调者根据该信息获取请求发送的信息。 其中, 请求 模块 4-4在需要获取信息时, 直接发送信息获取请求, 不需要在特定的时隙向 其他设备发送, 也不需要考虑被请求设备是否能够发送。 由此, 该短距离设备 可以作为非协调者与以非信标方式通信的协调者进行信息传递, 从而更灵活的 扩展 WPAN中非信标网络的部分。  Therefore, the short-range communication device can communicate based on the beacon mode or the non-beacon mode, and construct the beacon network and the non-beacon network, so that the beacon network and the non-beacon network exist in one WPAN at the same time, At the same time, the requirements of different applications are met, and the information of the beacon network and the non-beacon network can be interworked. Preferably, the short-range communication device may further include a requesting module 4-4. The requesting module 4-4 is configured to send an information acquisition request to the other devices in the wireless personal area network directly through the transceiver module 4-2 when the short-range communication device is in an active state and needs to acquire information, and request the module 4-4. The control transceiver module 4-2 receives the information transmitted by the coordinator according to the information acquisition request. The requesting module 4-4 directly sends the information obtaining request when the information needs to be acquired, and does not need to be sent to other devices in a specific time slot, and does not need to consider whether the requested device can transmit. Thus, the short-range device can perform information transfer as a non-coordinator and a coordinator communicating in a non-beacon manner, thereby more flexibly expanding a portion of the non-beacon network in the WPAN.
较佳地, 该短距离通信设备还可以包括信标模块 4-5。 该信标模块 4- 5用于 通过收发模块 4-2向系统中的设备周期性发送信标, 并且控制收发模块 4-2在 需要向非协调者发送信息时, 将信息发送给非协调者, 或者在需要从非协调者 接收信息时, 从非协调者处接收信息。 该信标中可以含有该短距离通信设备的 超帧参数。 其他以信标方式通信的设备可以监听该周期性发送的信标, 与该短 距离通信设备同步, 并根据信标模块 4-5发送的信标与该短距离通信设备进行 信息交互。 在收发模块 4-2 周期性发送信标时, 该短距离通信设备还可以作为 协调者与其他以信标方式通信的非协调者基于信标方式通信, 更加灵活的扩展 Preferably, the short range communication device may further comprise a beacon module 4-5. The beacon module 4-5 is configured to periodically send a beacon to a device in the system through the transceiver module 4-2, and the control transceiver module 4-2 sends the information to the non-coordinator when it needs to send information to the non-coordinator. , or receive information from a non-coordinator when it is necessary to receive information from a non-coordinator. The beacon may contain superframe parameters of the short range communication device. Other devices communicating in a beacon manner can listen to the periodically transmitted beacon, synchronize with the short-range communication device, and perform information interaction with the short-range communication device according to the beacon transmitted by the beacon module 4-5. When the transceiver module 4-2 periodically transmits the beacon, the short-range communication device can also communicate as a coordinator and other non-coordinator communicating in a beacon manner based on the beacon mode, and more flexible expansion.
WPAN中的信标网络部分。 The beacon network part of the WPAN.
较佳地, 该短距离通信设备的信标模块 4-5 还可以自己设置发送的信标中 含有的参数, 或者为了与网络中其他信标发送设备的超帧参数保持一致, 从网 络中获取超帧参数设置自己的超帧参数。 从网络中获取超帧参数时, 可以监听 与其直接通信的信标设备的信标, 也可以为信标模块 4-5通过收发模块 4-2向 与其相邻的设备发送请求以获得超帧参数, 或者为相邻设备主动向该短距离通 信设备发送超帧参数。 若该短距离通信设备的相邻设备中均无超帧参数, 则其 相邻设备再向网络中其他设备请求获取超帧参数。 Preferably, the beacon module 4-5 of the short-range communication device can also set the parameters contained in the transmitted beacon, or obtain the same from the superframe parameters of other beacon transmitting devices in the network. The superframe parameter sets its own superframe parameters. When the superframe parameter is obtained from the network, the beacon of the beacon device directly communicating with the same may be monitored, or the beacon module 4-5 may be sent to the beacon module 4-5 through the transceiver module 4-2. The device adjacent thereto sends a request to obtain a superframe parameter, or the neighboring device actively sends a superframe parameter to the short-range communication device. If there is no superframe parameter in the neighboring device of the short-range communication device, the neighboring device requests the superframe parameter from other devices in the network.
较佳地, 该短距离通信设备的信标模块 4-5 还可以包括存储功能, 用于保 存监听到的信标中的超帧参数。在其他设备请求获取超帧参数时, 信标模块 4-5 可以控制收发模块 4-2将其保存的超帧参数发送给发送请求的设备, 或者信标 模块 4-5也可以主动将其存储的超帧参数通过收发模块 4-2发送给该短距离通 信设备通信范围内的其他设备。  Preferably, the beacon module 4-5 of the short-range communication device may further comprise a storage function for saving superframe parameters in the monitored beacon. When the other device requests to acquire the superframe parameter, the beacon module 4-5 may control the transceiver module 4-2 to send the saved superframe parameter to the device that sends the request, or the beacon module 4-5 may actively store it. The superframe parameters are sent by the transceiver module 4-2 to other devices within the communication range of the short-range communication device.
较佳地, 该信标模块 4-5还可以根据保存的超帧参数避免通信冲突。 在信 标模块 4-5具有保存超帧参数的功能时, 信标模块 4-5可以根据保存的超帧参 数控制收发模块 4-2在与该短距离通信设备同步的协调者发送信标的时刻, 不 接收其他设备发送的信息获取请求, 也不向其他设备发送信息获取请求以及不 与基于非信标方式通信的设备进行信息的交互, 以避免在协调者周期性发送信 标的时刻以非信标方式和其他设备通信。  Preferably, the beacon module 4-5 can also avoid communication collisions according to the saved superframe parameters. When the beacon module 4-5 has the function of saving the superframe parameter, the beacon module 4-5 can control, according to the saved superframe parameter, the time at which the transceiver module 4-2 transmits the beacon at the coordinator synchronized with the short-range communication device. , does not receive information acquisition requests sent by other devices, does not send information acquisition requests to other devices, and does not interact with devices based on non-beacon communication methods to avoid non-trust at the time when the coordinator periodically transmits beacons. The standard way to communicate with other devices.
此外, 信标模块 4-5也可以根据保存的超帧参数控制收发模块 4-2在该短 距离通信设备向外发送信标时以及在本设备与信标网络中的其他设备进行发送 或接收信息时, 不接收其他设备发送的信息获取请求, 也不向其他设备发送信 息获取请求以及不与基于非信标方式通信的设备进行信息的交互, 以避免该短 距离通信设备在某一时刻同时以信标方式和非信标方式通信。  In addition, the beacon module 4-5 can also control the transceiver module 4-2 to transmit or receive information when the short-range communication device transmits the beacon and the other device in the device and the beacon network according to the saved superframe parameter. When the information acquisition request sent by other devices is not received, the information acquisition request is not sent to other devices, and the information is not exchanged with the device based on the non-beacon communication mode, so as to prevent the short-range communication device from simultaneously Beacon mode and non-beacon mode communication.
图 5是本发明实施例中短距离通信设备第三种实施方式的结构示意图。 如 图 5所示, 本发明实施例还提供了一种短距离通信设备, 包括: 收发模块 5-1、 请求模块 5-2和信标模块 5-3。 其中, 收发模块 5-1用于与网络中其他设备进行 信息的交互; 请求模块 5-2 用于在本短距离通信设备处于工作状态、 且需要获 取信息时, 直接通过收发模块 5-1 向无线个人域网络中其他设备发送信息获取 请求, 并控制收发模块 5-1 接收被请求设备根据该请求发送的信息; 信标模块 5- 3用于通过收发模块 5-1向网络中的其他设备发送信标,并根据该信标中包含 的参数, 控制收发模块 5-1, 在需要接收信息时接收信标接收设备发送的信息, 和 /或在需要发送信息时向信标接收设备发送信息。 FIG. 5 is a schematic structural diagram of a third embodiment of a short-range communication device according to an embodiment of the present invention. As shown in FIG. 5, an embodiment of the present invention further provides a short-range communication device, including: a transceiver module 5-1, a request module 5-2, and a beacon module 5-3. The transceiver module 5-1 is configured to exchange information with other devices in the network. The requesting module 5-2 is configured to directly pass through the transceiver module 5-1 when the short-distance communication device is in a working state and needs to obtain information. The other device in the wireless personal area network sends an information acquisition request, and controls the transceiver module 5-1 to receive the information sent by the requested device according to the request; the beacon module 5.3 is used to send the transceiver module 5-1 to other devices in the network. Send a beacon and include it according to the beacon The parameter, the control transceiver module 5-1, receives the information transmitted by the beacon receiving device when it is required to receive the information, and/or transmits the information to the beacon receiving device when the information needs to be transmitted.
本发明实施例通过提供一种短距离通信设备, 该设备可以同时基于信标方 式和非信标方式通信, 解决了信标网络和非信标网络无法共存的根本矛盾, 因 此通过该短距离通信设备可以在一个 WPAN中同时构建信标网络和非信标网络。  The embodiment of the invention provides a short-distance communication device, which can simultaneously communicate based on the beacon mode and the non-beacon mode, and solves the fundamental contradiction that the beacon network and the non-beacon network cannot coexist, so the short-distance communication is adopted. The device can simultaneously construct a beacon network and a non-beacon network in one WPAN.
图 6 是本发明实施例中短距离通信设备第四种实施方式的结构示意图。 如 图 6所示, 该短距离通信设备具有下述模块: 请求模块 6-1、 收发模块 6- 2和信 标模块 6-3。其中请求模块 6-1用于通过收发模块 6-2向以非信标方式通信的设 备发送信息获取请求, 并控制收发模块 6-2接收被请求设备根据该请求发送的 信息; 收发模块 6- 2用于与其他设备进行信息的交互; 信标模块 6-3用于通过 收发模块 6-2向网络中其他设备周期性发送信标, 并根据该信标中包含的参数, 控制收发模块 6-2, 在需要接收或发送信息时, 向外发送或接收信息。  FIG. 6 is a schematic structural diagram of a fourth embodiment of a short-range communication device according to an embodiment of the present invention. As shown in Fig. 6, the short-range communication device has the following modules: request module 6-1, transceiver module 6-2, and beacon module 6-3. The requesting module 6-1 is configured to send, by the transceiver module 6-2, an information acquisition request to a device that communicates in a non-beacon manner, and control the transceiver module 6-2 to receive information sent by the requested device according to the request; 2 is used for information interaction with other devices; the beacon module 6-3 is configured to periodically send a beacon to other devices in the network through the transceiver module 6-2, and control the transceiver module 6 according to parameters included in the beacon. -2, Send or receive information when it needs to receive or send information.
在 WPAN中, 该短距离通信设备的信标模块 6-3周期性的发送信标, 该信标 中可以包含该短距离通信设备的超帧参数。 其他以信标方式通信的设备通过监 听该短距离通信设备的信标与该设备同步。 在需要发送和 /或接收信息时, 该短 距离通信设备的收发模块 6- 2与已同步的设备进行信息的发送和 /或接收。 因此 该短距离通信设备可以作为协调者与其他以信标方式通信的非协调者设备基于 信标方式通信, 构建信标网络。  In the WPAN, the beacon module 6-3 of the short-range communication device periodically transmits a beacon, which may include superframe parameters of the short-range communication device. Other devices that communicate in a beacon manner synchronize with the device by listening to the beacon of the short-range communication device. When the information needs to be transmitted and/or received, the transceiver module 6-2 of the short-range communication device transmits and/or receives information with the synchronized device. Therefore, the short-range communication device can communicate as a coordinator with other non-coordinator devices communicating in a beacon manner based on a beacon manner to construct a beacon network.
在上述 WPAN中, 该短距离通信设备的请求模块 6-1通过收发模块 6-2向其 他以非信标方式通信的协调者发送信息获取请求。 接收到请求的协调者在确定 本设备中存在需要发送给该短距离通信设备的信息时, 向该短距离通信设备发 送信息。 请求模块 6-1控制收发模块 6- 2接收来自该协调者的信息。 因此, 该 短距离通信设备可以作为非协调者与其他协调者基于非信标方式通信, 构建非 信标网络。  In the above WPAN, the request module 6-1 of the short-range communication device transmits an information acquisition request to the coordinator who communicates in a non-beacon manner through the transceiver module 6-2. The coordinator receiving the request transmits information to the short-range communication device when it is determined that there is information in the device that needs to be transmitted to the short-range communication device. The requesting module 6-1 controls the transceiver module 6-2 to receive information from the coordinator. Therefore, the short-range communication device can communicate as a non-coordinator with other coordinators based on non-beacons to construct a non-beacon network.
故此, 该短距离通信设备可以基于信标方式通信也可以基于非信标方式通 信, 同时构建信标网络与非信标网络, 使得信标网络与非信标网络同时存在于 一个 WPAN中, 能够同时满足不同应用的需求, 并且使信标网络和非信标网络的 信息能够互通。 Therefore, the short-range communication device can communicate based on the beacon mode or the non-beacon mode, and construct the beacon network and the non-beacon network, so that the beacon network and the non-beacon network exist simultaneously. In a WPAN, it can meet the needs of different applications at the same time, and can make the information of the beacon network and the non-beacon network interoperable.
较佳地, 该短距离通信设备还可以包括需求处理模块 6-4。 该需求处理模块 6-4通过收发模块 6-2接收其他设备发送的信息获取请求,在确定存在需要发给 该设备的信息时, 控制收发模块 6-2 向该发送请求的设备发送信息。 因此在具 有需求处理模块 6-4 时, 该短距离通信设备可以作为以非信标方式通信的协调 者, 更灵活的扩展 WPAN中非信标网络部分。  Preferably, the short-range communication device may further include a demand processing module 6-4. The demand processing module 6-4 receives the information acquisition request sent by the other device through the transceiver module 6-2. When it is determined that there is information to be sent to the device, the control transceiver module 6-2 transmits the information to the device that sends the request. Therefore, when the demand processing module 6-4 is provided, the short-range communication device can serve as a coordinator for communication in a non-beacon manner, and more flexibly expand the non-beacon network portion of the WPAN.
较佳地, 该短距离通信设备还可以包括监听模块 6-5。 该监听模块 6- 5用于 监听网络中信标发送设备发送的信标, 并根据监听到的信标中包含的参数控制 收发模块 6- 2在需要接收信息时接收该信标发送设备发送的信息, 和 /或在需要 发送信息时向该信标发送设备发送信息。  Preferably, the short-range communication device may further comprise a listening module 6-5. The monitoring module 6-5 is configured to listen to the beacon sent by the beacon transmitting device in the network, and control the transceiver module 6-2 to receive the information sent by the beacon transmitting device when the information needs to be received according to the parameters included in the monitored beacon. , and/or send information to the beacon transmitting device when the information needs to be sent.
较佳地, 该短距离通信设备的信标模块 6-3还可以自己设置发送的信标中 含有的参数, 或者为了与网络中其他信标发送设备的超帧参数保持一致, 从网 络中获取超帧参数设置自己的超帧参数。 从网络中获取超帧参数时, 可以监听 与其直接通信的信标设备的信标, 也可以为信标模块 6-3通过收发模块 6-2向 与其相邻的设备发送请求以获得超帧参数, 或者为相邻设备主动向该短距离通 信设备发送超帧参数。 若该短距离通信设备的相邻设备中均无超帧参数, 则其 相邻设备再向网络中其他设备请求获取超帧参数。  Preferably, the beacon module 6-3 of the short-range communication device can also set the parameters contained in the transmitted beacon, or obtain the same from the superframe parameters of other beacon transmitting devices in the network. The superframe parameter sets its own superframe parameters. When the superframe parameter is obtained from the network, the beacon of the beacon device directly communicating with the network element may be monitored, or the beacon module 6-3 may send a request to the device adjacent thereto through the transceiver module 6-2 to obtain a superframe parameter. Or actively sending a superframe parameter to the short-range communication device for the neighboring device. If there is no superframe parameter in the neighboring device of the short-range communication device, the neighboring device requests the superframe parameter from other devices in the network.
较佳地, 该短距离通信设备的信标模块 6-3还可以包括存储功能, 用于保 存监听到的信标中的超帧参数。在其他设备请求获取超帧参数时, 信标模块 6-3 可以控制收发模块 6-2将其保存的超帧参数发送给发送请求的设备, 或者信标 模块 6-3也可以主动将其存储的超帧参数通过收发模块 6-2发送给该短距离通 信设备通信范围内的其他设备。  Preferably, the beacon module 6-3 of the short-range communication device may further comprise a storage function for saving superframe parameters in the monitored beacon. When the other device requests to acquire the superframe parameter, the beacon module 6-3 may control the transceiver module 6-2 to send the saved superframe parameter to the device that sends the request, or the beacon module 6-3 may actively store it. The superframe parameters are sent by the transceiver module 6-2 to other devices within the communication range of the short-range communication device.
较佳地, 该信标模块 6-3还可以根据保存的超帧参数避免通信冲突。 在信 标模块 6-3具有保存超帧参数的功能时, 信标模块 6-3可以根据保存的超帧参 数控制收发模块 6-2在与该短距离通信设备同步的协调者发送信标的时刻, 不 接收其他设备发送的信息获取请求, 也不向其他设备发送信息获取请求以及不 与基于非信标方式通信的设备进行信息的交互, 以避免在协调者周期性发送信 标的时刻以非信标方式和其他设备通信。 Preferably, the beacon module 6-3 can also avoid communication conflicts according to the saved superframe parameters. When the beacon module 6-3 has the function of saving the superframe parameter, the beacon module 6-3 can control the time when the transceiver module 6-2 transmits the beacon in the coordinator synchronized with the short-range communication device according to the saved superframe parameter. , Do not Receiving information acquisition requests sent by other devices, and not sending information acquisition requests to other devices and not interacting with devices based on non-beacon communication methods, so as to avoid non-beacons at the time when the coordinator periodically transmits beacons. Communicate with other devices.
此外, 信标模块 6-3也可以根据保存的超帧参数控制收发模块 6-2在该短 距离通信设备向外发送信标时以及在本设备与信标网络中的其他设备进行发送 或接收信息时, 不接收其他设备发送的信息获取请求, 也不向其他设备发送信 息获取请求以及不与基于非信标方式通信的设备进行信息的交互, 以避免该短 距离通信设备在某一时刻同时以信标方式和非信标方式通信。  In addition, the beacon module 6-3 may also control the transceiver module 6-2 to transmit or receive information when the short-range communication device transmits the beacon and the other device in the device and the beacon network according to the saved superframe parameter. When the information acquisition request sent by other devices is not received, the information acquisition request is not sent to other devices, and the information is not exchanged with the device based on the non-beacon communication mode, so as to prevent the short-range communication device from simultaneously Beacon mode and non-beacon mode communication.
图 7 是本发明实施例中无线个人域网络第一种实施方式的示意图。 如图 7 所示, 本发明实施例提供了一种无线个人域网络, 包括: 同时基于信标方式和 非信标方式通信的设备 7-1。 该同时基于信标方式和非信标方式通信的设备 7-1 用于监听至少能基于信标方式通信的设备 7-2发送的信标, 并根据该信标中包 含的参数在需要接收信息时接收该至少能基于信标方式通信的设备 7-2发送的 信息, 和 /或在需要发送信息时向该至少能基于信标方式通信的设备 7-2发送信 息; 以及接收至少能基于非信标方式通信的设备 7-3发送的信息获取请求, 并 在确定本设备中存在需要发送给该发送请求的设备的信息时, 直接向该发送请 求的设备发送信息。  FIG. 7 is a schematic diagram of a first embodiment of a wireless personal area network according to an embodiment of the present invention. As shown in FIG. 7, an embodiment of the present invention provides a wireless personal area network, including: a device 7-1 that simultaneously communicates based on a beacon mode and a non-beacon mode. The device 7-1 that simultaneously communicates based on the beacon mode and the non-beacon mode is configured to listen to a beacon transmitted by at least the device 7-2 capable of communicating based on the beacon mode, and receive information according to parameters included in the beacon. Receiving the information transmitted by the device 7-2 capable of communication based on at least the beacon mode, and/or transmitting the information to the device 7-2 capable of communicating based on the beacon mode when the information needs to be transmitted; and receiving at least based on the non- The information acquisition request sent by the device 7-3 in the beacon mode communication, and when it is determined that there is information on the device that needs to be sent to the transmission request, the information is directly transmitted to the device that requests the transmission.
本发明实施例提供的无线个人域网络通过一个能够以信标方式和非信标方 式工作的设备, 可以分别适应不同的应用, 使需要基于信标方式通信的应用和 需要基于非信标方式通信的应用可以同时在一个无线个人域网络得到满足, 并 且能够分别达到较佳的运作状态。  The wireless personal area network provided by the embodiment of the present invention can adapt to different applications through a device capable of working in a beacon manner and a non-beacon manner, so that applications that need to communicate based on beacons and those that need to communicate based on non-beacons are required. Applications can be met simultaneously in a wireless personal area network and can achieve better operational status.
图 8 是本发明实施例中无线个人域网络第二种实施方式的示意图。 如图 8 所示, 利用本发明实施方式中第一种短距离通信设备, 可以构建同时容纳信标 网络和非信标网络的 WPAN。 图 8所示的 WPAN中, 圆形代表周期性发送信标的设 备, 矩形代表非周期性发送信标的设备。 设备 8-1为以信标方式通信的协调者, 周期性发送信标。 设备 8-3 为以信标方式通信的非协调者, 同时也可以作为以 信标方式通信的协调者。 设备 8-4和设备 8-5为以非信标方式通信的非协调者, 同时也可以作为以非信标方式通信的协调者。 设备 8-2 为本发明实施方式中第 一种短距离通信设备, 既作为非协调者与设备 8-1 基于信标方式通信, 也作为 协调者与设备 8-4和 /或设备 8-5基于非信标方式通信。 FIG. 8 is a schematic diagram of a second embodiment of a wireless personal area network in an embodiment of the present invention. As shown in FIG. 8, with the first short-range communication device in the embodiment of the present invention, a WPAN that accommodates both the beacon network and the non-beacon network can be constructed. In the WPAN shown in Fig. 8, a circle represents a device that periodically transmits a beacon, and a rectangle represents a device that transmits a beacon aperiodically. The device 8-1 is a coordinator that communicates in a beacon manner, and periodically transmits a beacon. Device 8-3 is a non-coordinator that communicates by beacon, and can also act as Coordinator of beacon mode communication. Device 8-4 and device 8-5 are non-coordinators that communicate in a non-beacon manner, and can also act as a coordinator for communication in a non-beacon manner. The device 8-2 is the first short-range communication device in the embodiment of the present invention, and communicates with the device 8-1 based on the beacon mode as a non-coordinator, and also acts as a coordinator and device 8-4 and/or device 8-5. Communication based on non-beacons.
在如图 8所示的 WPAN中, 设备 8-1作为以信标方式通信的协调者, 周期性 发送信标, 该信标中可以包含设备 8-1的超帧参数。 设备 8- 3以信标方式通信, 监听设备 8-1发送的信标, 并与设备 8-1同步。 设备 8-2也监听设备 8-1发送 的信标, 并通过该信标与设备 8-1 同步, 即设备 8-1与设备 8-2之间基于信标 方式通信。 设备 8-1与设备 8-2和 /或设备 8- 3形成信标网络, 可以使基于信标 方式通信的应用达到较佳的运作状态。  In the WPAN as shown in Fig. 8, the device 8-1 periodically transmits a beacon as a coordinator that communicates in a beacon manner, and the beacon may include a superframe parameter of the device 8-1. The device 8- 3 communicates in a beacon manner, and listens to the beacon transmitted by the device 8-1 and synchronizes with the device 8-1. The device 8-2 also listens to the beacon transmitted by the device 8-1, and synchronizes with the device 8-1 through the beacon, that is, the device 8-1 communicates with the device 8-2 based on the beacon. Device 8-1 and device 8-2 and/or device 8- 3 form a beacon network that enables beacon-based communication applications to achieve better operational status.
设备 8-4和设备 8-5为非信标通信设备,设备 8-4和 /或设备 8-5向设备 8-2 发送询问并请求发送给自己的信息。 设备 8-2接收设备 8-4和 /或设备 8-5的询 问, 在确定存在需要发送给设备 8-4和 /或设备 8-5的信息时, 向其发送信息。 设备 8-2可以与设备 8-4和 /或设备 8-5基于非信标方式通信。 设备 8-2与设备 8-4和 /或设备 8-5形成非信标网络, 可以使基于非信标方式通信的应用达到较 佳的运作状态。  Device 8-4 and device 8-5 are non-beacon communication devices, and device 8-4 and/or device 8-5 sends an inquiry to device 8-2 and requests information to be sent to itself. The device 8-2 receives the inquiry of the device 8-4 and/or the device 8-5, and transmits information to the device 8-2 when it determines that there is information to be transmitted to the device 8-4 and/or the device 8-5. Device 8-2 can communicate with device 8-4 and/or device 8-5 based on a non-beacon mode. Device 8-2 forms a non-beacon network with devices 8-4 and/or devices 8-5, which enables applications based on non-beacon communication to achieve better operational status.
因此, 如图 8所示的 WPAN内, 同时容纳了信标网络和非信标网络, 可以适 应不同的应用, 使得不同的应用分别达到较佳的运作状态。  Therefore, in the WPAN shown in FIG. 8, the beacon network and the non-beacon network are accommodated at the same time, and different applications can be adapted, so that different applications respectively achieve a better operational state.
同时, 通过设备 8-2 , 信息可以在如图 8所示的 WPAN内包含的信标网络和 非信标网络之间互通。 例如, 设备 8-2通过监听设备 8-1的信标与设备 8-1同 步, 此后设备 8-1可以将信息发送给设备 8- 2; 而设备 8- 2在接收到设备 8- 4和 /或设备 8-5的请求后, 可以再将该信息发送给设备 8-4和 /或设备 8-5, 从而实 现该 WPAN内信标网络和非信标网络之间信息的传递。 例如, 设备 8-4和 /或设 备 8-5向设备 8-2发送信息, 设备 8-2成功接收该信息后, 可以根据设备 8-1 的超帧参数将该信息发送给设备 8-1, 从而实现该 WPAN内非信标网络和信标网 络之间信息的传递。 较佳地, 在如图 8所示的 WPAN内, 设备 8-2还可以保存监听到的设备 8-1 的超帧参数。 设备 8-2可以根据保存的设备 8-1的超帧参数在以非信标方式通 信时避免冲突, 即设备 8-2 可以根据保存的超帧参数避免在某一时刻同时以信 标的方式和非信标的方式通信, 以及避免在设备 8-1发出信标的时刻以非信标 方式通信。 该设备 8-2可以不保存设备 8-1的超帧参数, 但是在保存的情况下, 会减少通信中的冲突, 提高网络效率。 At the same time, through the device 8-2, the information can be intercommunicated between the beacon network and the non-beacon network included in the WPAN as shown in FIG. For example, the device 8-2 synchronizes with the device 8-1 by the beacon of the listening device 8-1, after which the device 8-1 can transmit the information to the device 8-2; and the device 8-2 receives the device 8- 4 and After the request of the device 8-5, the information can be sent to the device 8-4 and/or the device 8-5 to implement the transfer of information between the beacon network and the non-beacon network within the WPAN. For example, the device 8-4 and/or the device 8-5 sends information to the device 8-2. After the device 8-2 successfully receives the information, the device 8-2 can send the information to the device 8-1 according to the superframe parameter of the device 8-1. , thereby realizing the transmission of information between the non-beacon network and the beacon network in the WPAN. Preferably, in the WPAN as shown in FIG. 8, the device 8-2 can also save the superframe parameters of the monitored device 8-1. The device 8-2 can avoid conflicts when communicating in a non-beacon manner according to the superframe parameters of the saved device 8-1, that is, the device 8-2 can avoid beacons at the same time according to the saved superframe parameters. The non-beacon mode communicates, and avoids communicating in a non-beacon manner at the time the device 8-1 issues a beacon. The device 8-2 may not save the superframe parameters of the device 8-1, but in the case of saving, the collision in the communication is reduced, and the network efficiency is improved.
较佳地, 在如图 8所示的 WAPN内, 设备 8-2还可以作为基于非信标方式通 信的非协调者, 向网络中其他基于非信标方式通信的协调者发送询问, 并请求 发送给自己的信息。 在接收请求的协调者确定存在需要发送给设备 8-2 的信息 时, 向设备 8- 2发送信息, 设备 8- 2接收该信息。 因此, 设备 8- 2还可以作为 以非信标方式通信的非协调者, 更灵活的扩展 WPAN内的非信标网络部分。  Preferably, in the WAPN as shown in FIG. 8, the device 8-2 can also send a query to other non-beacon-based communication coordinators in the network as non-coordinator based on non-beacon communication, and request The information sent to yourself. When the coordinator receiving the request determines that there is information to be sent to the device 8-2, it transmits information to the device 8-2, and the device 8-2 receives the information. Therefore, the device 8- 2 can also be used as a non-coordinator that communicates in a non-beacon manner, and more flexibly expands the non-beacon network portion within the WPAN.
较佳地, 在如图 8所示的 WPAN内, 设备 8- 2还可以周期性发送信标, 该信 标中可以包含设备 8-2的超帧参数。 在设备 8-2周期性发送信标时, 其他基于 信标方式通信的设备可以作为非协调者与设备 8-2基于信标方式通信, 更加灵 活的扩建信标网络部分。  Preferably, within the WPAN as shown in FIG. 8, the device 8-2 may also periodically transmit a beacon, which may include the superframe parameters of the device 8-2. When the device 8-2 periodically transmits the beacon, other beacon-based communication devices can communicate with the device 8-2 based on the beacon mode as a non-coordinator, and the beacon network portion is more flexibly expanded.
图 9 是本发明实施例中无线个人域网络第三种实施方式的示意图。 如图 9 所示, 本发明实施例还提供了一种无线个人域网络, 包括: 同时基于信标方式 和非信标方式通信的设备 9-1。 该同时基于信标方式和非信标方式通信的设备 9-1用于向网络中的至少能基于信标方式通信的设备 9-2发送信标,并根据该信 标中包含的参数与至少能基于信标方式通信的设备 9- 2 进行信息的交互; 以及 向网络中至少能基于非信标方式通信的设备 9-3发送信息获取请求, 并接收至 少能基于非信标方式通信的设备 9-3根据该请求发送的信息。  9 is a schematic diagram of a third embodiment of a wireless personal area network in an embodiment of the present invention. As shown in FIG. 9, an embodiment of the present invention further provides a wireless personal area network, including: a device 9-1 that simultaneously communicates based on a beacon mode and a non-beacon mode. The device 9-1 that simultaneously communicates based on the beacon mode and the non-beacon mode is configured to send a beacon to at least the beacon-based communication-enabled device 9-2 in the network, and according to parameters included in the beacon and at least The device 9-2 capable of communicating based on the beacon mode performs information exchange; and transmits an information acquisition request to the device 9-3 capable of communicating based on at least the non-beacon mode in the network, and receives the device capable of communicating based on at least the non-beacon mode 9-3 Information sent according to the request.
本发明实施例提供的无线个人域网络通过一个能够以信标方式和非信标方 式工作的设备, 可以分别适应不同的应用, 使需要基于信标方式通信的应用和 需要基于非信标方式通信的应用可以同时在一个无线个人域网络得到满足, 并 且能够分别达到较佳的运作状态。 图 10是本发明实施例中无线个人域网络第四种实施方式的示意图。如图 10 所示, 基于本发明中短距离通信设备的第四种实施方式, 可以构建同时容纳信 标网络和非信标网络的 WPAN。 图 10所示的 WPAN中, 圆形代表周期性发送信标 的设备, 矩形代表非周期性发送信标的设备。 设备 10-1为基于非信标方式通信 的协调者。 设备 10- 3为以非信标方式通信的非协调者, 同时也可以作为以非信 标方式通信的协调者。 设备 10-4和设备 10-5为以信标方式通信的非协调者, 同时也可以作为以非信标方式通信的协调者。 设备 10- 2为本发明实施方式中第 二种短距离通信设备, 既作为协调者周期性发送信标, 与设备 10-4 和 /或设备 10-5基于信标方式通信, 又作为非协调者与设备 10-1基于非信标方式通信。 The wireless personal area network provided by the embodiment of the present invention can adapt to different applications through a device capable of working in a beacon manner and a non-beacon manner, so that applications that need to communicate based on beacons and those that need to communicate based on non-beacons are required. Applications can be met simultaneously in a wireless personal area network and can achieve better operational status. FIG. 10 is a schematic diagram of a fourth implementation manner of a wireless personal area network according to an embodiment of the present invention. As shown in FIG. 10, based on the fourth embodiment of the short-range communication device of the present invention, a WPAN that accommodates both the beacon network and the non-beacon network can be constructed. In the WPAN shown in FIG. 10, a circle represents a device that periodically transmits a beacon, and a rectangle represents a device that transmits a beacon aperiodically. Device 10-1 is a coordinator based on non-beacon mode communication. The device 10-3 is a non-coordinator that communicates in a non-beacon manner, and can also act as a coordinator in a non-beacon manner. Device 10-4 and device 10-5 are non-coordinators that communicate in a beacon manner, and can also act as a coordinator for communication in a non-beacon manner. The device 10-2 is a second short-range communication device in the embodiment of the present invention, which periodically transmits a beacon as a coordinator, communicates with the device 10-4 and/or the device 10-5 based on the beacon mode, and acts as a non-coordination The device 10-1 communicates with the device 10-1 based on the non-beacon mode.
在如图 10所示的 WPAN中, 设备 10-1作为以非信标方式通信的协调者。 设 备 10-2和 /或设备 10-3向设备 10-1发送询问并向其请求发送给自己的信息。 设备 10-1接收到该请求后, 在确定存在需要发送给设备 10-2和 /或设备 10-3 的信息时, 设备 10-1向设备 10-2和 /或设备 10-3发送该信息。 设备 10-1与设 备 10-2和 /或设备 10-3形成非信标网络, 可以使基于非信标方式通信的应用达 到较佳的运作状态。  In the WPAN as shown in Fig. 10, the device 10-1 acts as a coordinator who communicates in a non-beacon manner. Device 10-2 and/or device 10-3 sends an inquiry to device 10-1 and requests information to be sent to itself. After receiving the request, the device 10-1 sends the information to the device 10-2 and/or the device 10-3 upon determining that there is information that needs to be sent to the device 10-2 and/or the device 10-3. . Device 10-1 and device 10-2 and/or device 10-3 form a non-beacon network, which enables applications based on non-beacon communication to achieve better operational status.
在如图 10所示的 WPAN中, 设备 10-2还作为以信标方式通信的协调者, 周 期性发送信标, 该信标中可以包含设备 10-2的超帧参数。 设备 10-4和 /或设备 10-5监听设备 10-2的信标, 并据此与设备 10- 2同步。 同步后, 在需要传送信 息的情况下, 设备 10-2与设备 10-4和 /或设备 10-5进行信息的发送和接收。 设备 10-2与设备 10-4和 /或设备 10-5形成了信标网络, 可以使基于信标方式 通信的应用达到较佳的运作状态。  In the WPAN as shown in FIG. 10, the device 10-2 also periodically transmits a beacon as a coordinator that communicates in a beacon manner, and the beacon may include a superframe parameter of the device 10-2. Device 10-4 and/or device 10-5 listen to the beacon of device 10-2 and synchronize with device 10-2 accordingly. After the synchronization, the device 10-2 transmits and receives information with the device 10-4 and/or the device 10-5 in the case where the information needs to be transmitted. The device 10-2 forms a beacon network with the device 10-4 and/or the device 10-5, which enables the application based on the beacon communication to achieve a better operational state.
因此, 如图 10所示的 WPAN 内, 同时容纳了信标网络和非信标网络, 可以 适应不同的应用, 使得不同的应用分别达到较佳的运作状态。  Therefore, in the WPAN shown in FIG. 10, the beacon network and the non-beacon network are accommodated at the same time, and can be adapted to different applications, so that different applications respectively achieve a better operational state.
同时,通过设备 10-2,信息可以在如图 10所示的 WPAN内包含的信标网络和非 信标网络之间互通。 例如, 设备 10-2向设备 10-1发送询问并请求发送给自己的信 息,设备 10-1在确定存在应当发 殳备 10-2的信息时,将该信息发送 殳备 10-2。 获得该信息后, 设备 10-2可以向已经与其同步的设备 10-4和 /或设备 10-5按照设 备 10-2的超帧^:的规^ ^送信息, 从而实 i¾ ^¾ WPAN内, 非信标网络和信标网 络之间信息的传递。 例如, 设备 10-4和 /或设备 10-5可以根据设备 10-2的超帧参 数的规定, 向设备 10-2发送信息。 设备 10- 2接收到信息后, 可以向设备 10-1发 送该信息, 从而实现在该 WPAN内, 信标网络和非信标网^^间信息的传递。 At the same time, through the device 10-2, the information can be intercommunicated between the beacon network and the non-beacon network included in the WPAN as shown in FIG. For example, the device 10-2 sends an inquiry to the device 10-1 and requests information transmitted to itself, and the device 10-1 transmits the information to the device 10-2 when it is determined that there is information that the device 10-2 should be issued. After obtaining the information, the device 10-2 may send the information to the device 10-4 and/or the device 10-5 that has been synchronized with it according to the superframe of the device 10-2, thereby realizing the intra-i3⁄4^3⁄4 WPAN , the transmission of information between non-beacon networks and beacon networks. For example, device 10-4 and/or device 10-5 can transmit information to device 10-2 as specified by the superframe parameters of device 10-2. After receiving the information, the device 10-2 can send the information to the device 10-1, thereby realizing the transmission of the information between the beacon network and the non-beacon network within the WPAN.
较佳地, 如图 10所示的 WPAN内, 设备 10-2也可以作为基于非信标方式通 信的协调者, 接收网络中其他基于非信标方式通信的非协调者的询问, 在确定存 在需要发送该发送请求的设备的信息时, 向该发送请求的设备发送信息。 因此, 设备 10-2也可以作为以非信标方式通信的协调者, 更加灵活的扩展 WPAN中非信 标网络的部分。  Preferably, in the WPAN shown in FIG. 10, the device 10-2 may also serve as a coordinator based on non-beacon communication, and receive an inquiry from other non-coordinated communication non-coordinators in the network. When it is necessary to transmit the information of the device transmitting the request, the information is transmitted to the device that requested the transmission. Therefore, the device 10-2 can also be used as a coordinator for communication in a non-beacon manner, and more flexibly expands a portion of the non-beacon network in the WPAN.
图 11是本发明实施例中无线个人域网络第五种实施方式的示意图。 如图 11 所示, 基于本发明中短距离通信设备的第二种和第四种实施方式, 可以构建同时 容纳信标网络和非信标网络的 WPAN。 图 11所示的 WPAN中, 圆形代表周期性发送 信标的设备, 矩形代表非周期性发送信标的设备。 设备 11-1 作为以信标方式通 信的协调者, 周期性发送信标, 该信标中可以包含设备 11-1 的超帧参数。 设备 11-3为以信标方式通信的非协调者, 同时也可以作为以信标方式通信的协调者。 设备 11-4 为以非信标方式通信的非协调者, 同时也可以作为以非信标方式通信 的协调者。 设备 11- 6和设备 11- 7为以信标方式通信的非协调者, 同时也可以作 为以信标方式通信的协调者。 设备 11-2 为本发明实施方式中第一种短距离通信 设备,既作为非协调者与设备 11-1基于信标方式通信,又作为协调者与设备 11-4 基于非信标方式通信。 设备 11-5 为本发明实施方式中第二种短距离通信设备, 可以作为协调者周期性发送信标, 与设备 11-6和 /或设备 11-7基于信标方式通 信。 设备 11-2与设备 11-5之间可以基于信标方式通信, 或者也可以基于非信标 方式通信。 在基于信标方式通信时, 设备 11-2监听设备 11-5发送的信标, 并据 此与设备 11- 5同步, 进行信息的交互。 在基于非信标方式通信时, 设备 11- 5向 设备 11- 2发送询问并请求发送给自己的信息, 设备 11- 2接收到请求后, 在确定 存在需要发送给设备 11-5的信息时, 向设备 11-5发送该信息。 FIG. 11 is a schematic diagram of a fifth implementation manner of a wireless personal area network according to an embodiment of the present invention. As shown in FIG. 11, based on the second and fourth embodiments of the short-range communication device of the present invention, a WPAN that accommodates both the beacon network and the non-beacon network can be constructed. In the WPAN shown in Fig. 11, a circle represents a device that periodically transmits a beacon, and a rectangle represents a device that transmits a beacon aperiodically. The device 11-1 periodically transmits a beacon as a coordinator that communicates in a beacon manner, and the beacon may include a superframe parameter of the device 11-1. The device 11-3 is a non-coordinator that communicates in a beacon manner, and can also serve as a coordinator for communicating in a beacon manner. Device 11-4 is a non-coordinator that communicates in a non-beacon manner, and can also act as a coordinator for communication in a non-beacon manner. Devices 11-6 and devices 11-7 are non-coordinators that communicate in a beacon manner, and can also act as coordinators for communicating in a beacon manner. The device 11-2 is the first type of short-range communication device in the embodiment of the present invention, which communicates with the device 11-1 based on the beacon mode as a non-coordinator, and communicates with the device 11-4 based on the non-beacon mode as a coordinator. The device 11-5 is a second short-range communication device in the embodiment of the present invention, and can periodically transmit a beacon as a coordinator, and communicate with the device 11-6 and/or the device 11-7 based on a beacon manner. The device 11-2 and the device 11-5 may communicate based on a beacon, or may also communicate based on a non-beacon. When communicating based on the beacon mode, the device 11-2 listens to the beacon transmitted by the device 11-5, and synchronizes with the device 11-5 to perform information interaction. When communicating based on the non-beacon mode, the device 11-5 sends an inquiry to the device 11-2 and requests information sent to itself, and after receiving the request, the device 11-2 determines When there is information that needs to be transmitted to the device 11-5, the information is transmitted to the device 11-5.
如图 11所示的 WPAN中, 设备 11- 1作为以信标方式通信的协调者, 周期性 发送信标, 该信标可以包含设备 11-1 的超帧参数。 设备 11-2和 /或设备 11-3 监听设备 11- 1发送的信标, 并据此与设备 11- 1 同步。 在需要传递信息时, 设 备 11- 1按照其信标中包含的超帧参数与设备 11-2和 /或设备 11-3发送和接收 信息。 设备 11- 5也作为以信标方式通信的协调者, 周期性发送含有超帧参数的 信标。 设备 11-2和 /或设备 11-6和 /或设备 11-7监听设备 11-5发送的信标, 并据此与设备 11-5 同步, 在需要传递信息时, 设备 11-5按照其信标定义的超 帧结构与设备 11- 2和 /或设备 11-6和 /或设备 11-7发送和接收信息。设备 11- 1、 设备 11-2、 设备 11-3、 设备 11-5、 设备 11-6以及设备 11-7形成信标网络。  In the WPAN shown in Fig. 11, the device 11-1 acts as a coordinator for communicating in a beacon manner, and periodically transmits a beacon, which may include the superframe parameter of the device 11-1. Device 11-2 and/or device 11-3 listen to the beacon sent by device 11-1 and synchronize with device 11-1 accordingly. When information needs to be transmitted, the device 11-1 sends and receives information according to the superframe parameters contained in its beacon with the device 11-2 and/or the device 11-3. Device 11-5 also acts as a coordinator for beacon communication, periodically transmitting beacons containing superframe parameters. The device 11-2 and/or the device 11-6 and/or the device 11-7 listen to the beacon transmitted by the device 11-5 and synchronize with the device 11-5 accordingly, and when the information needs to be transmitted, the device 11-5 according to it The superframe structure defined by the beacon transmits and receives information with the device 11-2 and/or the device 11-6 and/or the device 11-7. Device 11-1, device 11-2, device 11-3, device 11-5, device 11-6, and device 11-7 form a beacon network.
在设备 11-1、 设备 11-2、 设备 11-3、 设备 11-5、 设备 11- 6以及设备 11- 7 形成信标网络的情况下, 设备 11-2 也可以作为以非信标方式通信的协调者。 设 备 11-4向设备 11-2发送询问并请求发送给自己的信息。 设备 11-2接收到该请 求后, 在确定存在需要发送给设备 11- 4的信息时, 向设备 11- 4发送该信息。 设 备 11-2与设备 11-4形成非信标网络, 可以使基于非信标方式通信的应用达到较 佳的运作状态。  In the case where the device 11-1, the device 11-2, the device 11-3, the device 11-5, the device 11-6, and the device 17-1 form a beacon network, the device 11-2 can also function as a non-beacon. Coordinator of communication. The device 11-4 sends an inquiry to the device 11-2 and requests information to be sent to itself. After receiving the request, the device 11-2 transmits the information to the device 11-4 when it is determined that there is information to be sent to the device 11-4. Device 11-2 and device 11-4 form a non-beacon network, which enables applications based on non-beacon communication to achieve better operation.
因此, 如图 11所示的 WPAN 内, 同时容纳了信标网络和非信标网络, 可以 适应不同的应用, 使得不同的应用分别达到较佳的运作状态。  Therefore, in the WPAN shown in FIG. 11, the beacon network and the non-beacon network are accommodated at the same time, and can be adapted to different applications, so that different applications respectively achieve better operating states.
另外, 如图 11所示的 WPAN中, 如上述方式构成的信标网络中, 设备 11- 2 也可以不监听设备 11-5的信标, 而是作为协调者与设备 11-5基于非信标方式 通信。 因此, 设备 11-1、 设备 11- 2和设备 11- 3形成一个信标网络, 同时设备 11-5、 设备 11- 6和设备 11- 7也形成一个信标网络。 此时, 设备 11- 5也可以作 为非信标方式通信的非协调者。 设备 11-5向设备 11-2发送询问并请求发送给 自己的信息。 设备 11-2接收到该请求后, 在确定存在需要发送给设备 11-5的 信息时, 向设备 11-5发送该信息。 设备 11-2与设备 11-4和设备 11-5形成非 信标网络, 可以使基于非信标方式通信的应用达到较佳的运作状态。 因此, 按照这种网络构建方式也可以在如图 11所示的 WPAN内, 同时容纳 信标网络和非信标网络, 可以适应不同的应用, 使得不同的应用分别达到较佳 的运作状态。 In addition, in the WPAN shown in FIG. 11, in the beacon network configured as described above, the device 11-2 may not listen to the beacon of the device 11-5, but as the coordinator and the device 11-5 based on the non-trust. Standard mode communication. Thus, device 11-1, device 11-2, and device 11-3 form a beacon network, while device 11-5, device 11-6, and device 17-1 also form a beacon network. At this time, the device 11-5 can also act as a non-coordinator for non-beacon mode communication. The device 11-5 sends an inquiry to the device 11-2 and requests information to be sent to itself. After receiving the request, the device 11-2 transmits the information to the device 11-5 when it is determined that there is information to be transmitted to the device 11-5. The device 11-2 forms a non-beacon network with the device 11-4 and the device 11-5, so that the application based on the non-beacon communication can achieve a better operational state. Therefore, according to the network construction manner, the beacon network and the non-beacon network can be accommodated in the WPAN as shown in FIG. 11, and can be adapted to different applications, so that different applications respectively achieve a better operational state.
同时, 通过设备 11-2和设备 11-5, 信息可以在如图 11所示的 WPAN包含的信 标网络和非信标网络之间互通。例如,设备 11-2通过与设备 11-1同步,与设备 11-1 进行信息的发送和接收, 设备 11- 2也可以通过与设备 11- 5同步, 与设备 11- 5进 行信息的发送和接收。 设备 11-2可以接收设备 11-4的请求, 并将从信标网络获得 的信息发送 殳备 11- 4, 从而实现在该 WPAN内信标网络和非信标网络之间信息的 传递。 例如, 设备 11-4可以向设备 11-2发送信息, 设备 11-2接收到该信息后, 可以根据设备 11-1和 /或设备 11-5的超帧参数, 将接收到的信息发送给设备 11-1 和 /或设备 11-5, 从而实 该 WPAN内非信标网络和信标网络之间信息的传递。  At the same time, through the device 11-2 and the device 11-5, the information can be interworked between the beacon network and the non-beacon network included in the WPAN as shown in FIG. For example, the device 11-2 performs information transmission and reception with the device 11-1 by synchronizing with the device 11-1, and the device 11-2 can also perform information transmission with the device 11-5 by synchronizing with the device 11-5. receive. The device 11-2 can receive the request of the device 11-4 and transmit the information obtained from the beacon network to the device 11-4, thereby realizing the transfer of information between the beacon network and the non-beacon network within the WPAN. For example, the device 11-4 may send information to the device 11-2. After receiving the information, the device 11-2 may send the received information to the device according to the superframe parameters of the device 11-1 and/or the device 11-5. Device 11-1 and/or device 11-5, thereby realizing the transfer of information between the non-beacon network and the beacon network within the WPAN.
如果 ^居上述第二种方式构建如图 11所示的 WPAN, 也可以实现 WPAN内信 标网络和非信标网络之间信息的互通。 例如设备 11-1可以根据其超帧参数的规 定, 将信息发送给设备 11-2。 设备 11-2在接收到该信息后, 在设备 11-4和 / 或设备 11-5发送请求时将该信息发送给设备 11-4和 /或设备 11-5。从而实现在 该 WPAN中, 信标网络与非信标网络之间信息的传递。 设备 11-5还可根据其超 帧参数的规定再将从设备 11-2获取的信息发送给设备 11-6和 /或设备 11-7,从 而实现在该 WPAN中, 非信标网络与信标网络之间信息的传递。  If the WPAN shown in Figure 11 is constructed in the second way above, the interworking between the beacon network and the non-beacon network in the WPAN can also be realized. For example, the device 11-1 can transmit information to the device 11-2 according to the specification of its superframe parameters. After receiving the information, the device 11-2 transmits the information to the device 11-4 and/or the device 11-5 when the device 11-4 and/or the device 11-5 send a request. Thereby, in the WPAN, the transmission of information between the beacon network and the non-beacon network is realized. The device 11-5 can also send the information acquired from the device 11-2 to the device 11-6 and/or the device 11-7 according to the provisions of its superframe parameters, thereby implementing the non-beacon network and the beacon in the WPAN. The transfer of information between networks.
此外, 在如图 11所示的 WPAN内, 在设备 11-2不保存设备 11-1的超帧参数 的情况下,设备 11-5可以向设备 11-2请求获得设备 11-1的超帧参数。设备 11-2 在接收到设备 11-5的请求后可以向设备 11-1发送请求的设备 11-1的超帧参数, 或者监听设备 11-1的信标, 并将其中包含的超帧参数传递给设备 11-5。 在设备 11-2保存设备 11-1的超帧参数的情况下, 设备 11-5可以直接向设备 11-2发送 请求的设备 11-1的超帧参数。 设备 11-5在获得设备 11-1的超帧参数后, 可以 保证在如图 11中所示的 WPAN中超帧结构的一致, 并且设备 11-5可以协调和设 备 11-1之间的通信以减少冲突, 例如避免设备 11-1和设备 11-5在同一时刻发 送信标。在这种情况下,如图 11所示的 WPAN内的通信冲突更少, 网络效率更高。 图 12是本发明实施例中短距离通信方法第一种实施方式的流程图。如图 12 所示, 本发明实施例提供了一种短距离通信方法, 包括: Further, in the WPAN as shown in FIG. 11, in the case where the device 11-2 does not save the superframe parameter of the device 11-1, the device 11-5 may request the device 11-2 to obtain the superframe of the device 11-1. parameter. After receiving the request of the device 11-5, the device 11-2 may send the requested superframe parameter of the device 11-1 to the device 11-1, or listen to the beacon of the device 11-1, and include the superframe parameter included therein. Passed to device 11-5. In the case where the device 11-2 holds the superframe parameter of the device 11-1, the device 11-5 may directly transmit the superframe parameter of the requested device 11-1 to the device 11-2. After obtaining the superframe parameters of the device 11-1, the device 11-5 can ensure the consistency of the superframe structure in the WPAN as shown in FIG. 11, and the device 11-5 can coordinate the communication with the device 11-1 to Reduce conflicts, for example, to prevent device 11-1 and device 11-5 from sending at the same time Send a beacon. In this case, the communication conflicts within the WPAN as shown in FIG. 11 are less, and the network efficiency is higher. FIG. 12 is a flowchart of a first embodiment of a short-range communication method according to an embodiment of the present invention. As shown in FIG. 12, an embodiment of the present invention provides a short-distance communication method, including:
步骤 1201、 监听基于信标方式通信的协调者发送的信标;  Step 1201: Listening to a beacon sent by a coordinator based on beacon communication;
步骤 1202、 根据该信标中包含的参数, 在需要接收信息时接收协调者发送 的信息, 和 /或在需要发送信息时向协调者发送信息;  Step 1202: Receive, according to parameters included in the beacon, information sent by the coordinator when the information needs to be received, and/or send the information to the coordinator when the information needs to be sent;
步骤 1203、 在本设备处于工作状态时, 随时接收其他设备发送的信息获取 请求, 并在确定存在需要发送给发送请求的设备的信息时, 直接向发送请求的 设备发送该信息。  Step 1203: When the device is in the working state, receive the information acquisition request sent by the other device at any time, and send the information directly to the device that sends the request when determining that there is information that needs to be sent to the device that sends the request.
通过本发明实施例提供的短距离通信方法, 由于网络中的能够以信标方式 通信和非信标方式通信的设备与信标网络中和非信标网络中的设备都可以进行 信息的交互, 所以可以使得在一个无线个人域网络中同时满足信标网络的需求 和非信标网络的需求。  The short-distance communication method provided by the embodiment of the present invention can perform information interaction between a device capable of communicating in a beacon manner and a non-beacon manner in a network, and a device in a beacon network and a non-beacon network. It is possible to simultaneously satisfy the needs of the beacon network and the requirements of the non-beacon network in a wireless personal area network.
图 13是本发明实施例中短距离通信方法第二种实施方式的流程图。如图 13 所示, 本发明实施例还提供了一种短距离通信方法, 包括:  Figure 13 is a flow chart showing a second embodiment of the short-range communication method in the embodiment of the present invention. As shown in FIG. 13, an embodiment of the present invention further provides a short-distance communication method, including:
步骤 1301、 向网络中的其他设备发送信标, 并根据该信标中包含的参数与 其他基于信标方式通信的设备进行信息的交互;  Step 1301: Send a beacon to other devices in the network, and perform information interaction with other devices based on the beacon communication according to parameters included in the beacon;
步骤 1302、 在处于工作状态、 且需要获取信息时, 直接向网络中其他设备 发送信息获取请求, 并接收被请求设备根据该请求发送的信息。  Step 1302: When it is in a working state and needs to obtain information, directly send an information acquisition request to other devices in the network, and receive information sent by the requested device according to the request.
通过本发明实施例提供的短距离通信方法, 由于网络中的能够以信标方式 通信和非信标方式通信的设备与信标网络中和非信标网络中的设备都可以进行 信息的交互, 所以可以使得在一个无线个人域网络中同时满足信标网络的需求 和非信标网络的需求。  The short-distance communication method provided by the embodiment of the present invention can perform information interaction between a device capable of communicating in a beacon manner and a non-beacon manner in a network, and a device in a beacon network and a non-beacon network. It is possible to simultaneously satisfy the needs of the beacon network and the requirements of the non-beacon network in a wireless personal area network.
图 14是向本发明实施例中的无线个人域网络中加入新设备第一种实施方式 的示意图。 如图 14所示, 基于本发明实施方式中第一种短距离通信设备, 可以 在新设备加入网络时建立与原网络不同的通信方式。 图 14中, 圆形代表周期性 发送信标的设备, 矩形代表非周期性发送信标的设备。 原有网络为设备 14-1与 设备 14- 2形成的信标网络, 设备 14- 1周期性发送信标, 该信标中可以包含设 备 14-1的超帧参数。 设备 14-2为以信标方式通信的非协调者, 同时也可以作 为以信标方式通信的协调者。 设备 14-2与设备 14-1可以按照设备 14-1的超帧 参数进行通信也可以按照设备 14-2的超帧参数进行通信。 FIG. 14 is a schematic diagram of a first embodiment of adding a new device to a wireless personal area network in an embodiment of the present invention. As shown in FIG. 14, the first short-range communication device according to the embodiment of the present invention can establish a communication mode different from the original network when the new device joins the network. In Figure 14, the circle represents periodicity. The device that sends the beacon, the rectangle represents the device that sends the beacon aperiodically. The original network is a beacon network formed by the device 14-1 and the device 14-2. The device 14-1 periodically transmits a beacon, and the beacon may include a superframe parameter of the device 14-1. The device 14-2 is a non-coordinator that communicates in a beacon manner, and can also serve as a coordinator for communicating in a beacon manner. Device 14-2 and device 14-1 may communicate in accordance with the superframe parameters of device 14-1 or may communicate in accordance with the superframe parameters of device 14-2.
此时, 需要在该信标网络中加入新的设备 14-3。 新设备 14- 3需要以非信标 方式通信, 其原因例如为网络中设备的密度过大或者设备 14-3需要承载需要基 于非信标方式通信的应用。 设备 14-3为本发明实施方式中第一种短距离通信设 备。 设备 14- 3监听设备 14- 1的信标, 并据此与设备 14- 1同步。 在需要传送信 息时,设备 14-1与设备 14-3按照设备 14-1的超帧参数基于信标方式进行通信。 在设备 14-3需要承载以非信标方式通信的应用时, 设备 14-3可以接收基于非 信标方式通信的非协调者的请求, 并在确定存在需要发送给该设备的信息时, 将该信息发送给发送请求的设备。  At this point, a new device 14-3 needs to be added to the beacon network. The new device 14-3 needs to communicate in a non-beacon manner, for example, because the density of devices in the network is too large or the device 14-3 needs to carry an application that needs to communicate based on non-beacons. The device 14-3 is the first short-range communication device in the embodiment of the present invention. The device 14-3 listens to the beacon of the device 14-1 and synchronizes with the device 14-1 accordingly. When the information needs to be transmitted, the device 14-1 and the device 14-3 communicate based on the beacon mode in accordance with the superframe parameters of the device 14-1. When the device 14-3 needs to carry an application that communicates in a non-beacon manner, the device 14-3 may receive a request from the non-coordinator based on the non-beacon mode communication, and when determining that there is information that needs to be sent to the device, This information is sent to the device that sent the request.
此外, 在设备 14-3保存设备 14-1的超帧参数时, 设备 14-3可以根据保存 的该超帧参数在以非信标方式通信时避免冲突。 也就是说设备 14-3可以根据保 存的超帧参数避免在某一时刻同时以信标的方式和非信标的方式通信, 以及避免 在设备 14-3发出信标的时刻以非信标方式通信。 该设备 14-3 可以不保存设备 14-1的超帧 ^:, 但是在^ 的情况下, 会减少通信中的冲突, 提高网络效率。  In addition, when the device 14-3 saves the superframe parameters of the device 14-1, the device 14-3 can avoid collisions when communicating in a non-beacon manner according to the saved superframe parameters. That is to say, the device 14-3 can avoid communicating in a beacon manner and a non-beacon manner at a certain time according to the saved superframe parameters, and avoid communicating in a non-beacon manner at the time when the device 14-3 issues a beacon. The device 14-3 may not save the superframe ^: of the device 14-1, but in the case of ^, it will reduce collisions in communication and improve network efficiency.
如图 14所示, 也可以基于本发明实施方式中第二种短距离通信设备, 在新 设备加入网络时建立与原网络不同的通信方式。 原有网络中, 设备 14- 1与设备 14- 2基于信标方式通信。 此时新的设备 14- 3需要加入网络, 并且以非信标方式 通信。设备 14- 1为本发明实施方式中第二种短距离通信设备, 可以与设备 14- 2 以信标方式通信, 并与设备 14-3建立非信标方式的通信。 设备 14-1接收设备 14-3的请求, 并在确定存在需要发送给设备 14-3的信息时, 向设备 14-3发送 该信息。 设备 14-1与设备 14-2之间仍以信标方式通信。  As shown in FIG. 14, the second short-range communication device in the embodiment of the present invention may also establish a communication mode different from the original network when the new device joins the network. In the original network, device 14-1 communicates with device 14-2 based on beacon. At this point, the new device 14-3 needs to join the network and communicate in a non-beacon manner. The device 14-1 is a second short-range communication device in the embodiment of the present invention, and can communicate with the device 14-2 in a beacon manner, and establish non-beacon communication with the device 14-3. The device 14-1 receives the request from the device 14-3, and transmits the information to the device 14-3 when it is determined that there is information to be transmitted to the device 14-3. Device 14-1 and device 14-2 still communicate in a beacon manner.
因此, 基于本发明实施方式中第一种和第二种短距离通信设备, 均可以实 现在信标网络中加入新设备, 且新设备基于非信标方式通信。 Therefore, based on the first and second short-range communication devices in the embodiments of the present invention, New devices are now added to the beacon network, and new devices communicate based on non-beacons.
图 15是向本发明实施例中的无线个人域网络中加入新设备第二种实施方式 的示意图。 如图 15 所示, 基于本发明实施方式中第二种短距离通信设备, 可以 在新设备加入网络时建立与原网络不同的通信方式。 图 15 中, 圆形代表周期性 发送信标的设备, 矩形代表非周期性发送信标的设备。 原有网络为设备 15-1 与 设备 15- 2形成的非信标网络。 该非信标网络可以将设备 15- 1作为协调者, 也可 以将设备 15-2作为协调者。  Figure 15 is a schematic diagram showing a second embodiment of adding a new device to a wireless personal area network in an embodiment of the present invention. As shown in FIG. 15, the second short-range communication device in the embodiment of the present invention can establish a communication mode different from the original network when the new device joins the network. In Figure 15, the circle represents the device that periodically sends the beacon, and the rectangle represents the device that sends the beacon aperiodically. The original network is a non-beacon network formed by device 15-1 and device 15-2. The non-beacon network can use device 15-1 as the coordinator or device 15-2 as the coordinator.
此时, 需要在该非信标网络中加入新的设备 15-3。设备 15- 3需要以信标方 式通信, 其原因例如为设备 15-3需要承载需要基于信标方式通信的应用。 设备 15- 3为本发明实施方式中第二种短距离通信设备。 设备 15- 3周期性发送信标, 该信标中可以包含设备 15-3的超帧参数。 设备 15-3承载的以信标方式通信的 应用, 可以通过该信标与设备 15-3同步。  At this point, new devices 15-3 need to be added to the non-beacon network. Devices 15-3 need to communicate in a beaconed manner, for example because devices 15-3 need to carry applications that need to communicate based on beacons. The device 15-3 is a second short-range communication device in the embodiment of the present invention. The device 15-3 periodically transmits a beacon, which may include the superframe parameters of the device 15-3. The beacon-based application carried by the device 15-3 can be synchronized with the device 15-3 through the beacon.
设备 15-3可以自己定义超帧参数也可以从网络中获取超帧参数。如果 WPAN 中不要求有一致的超帧参数, 设备 15-3可以自己定义超帧参数。 如果 WPAN中 要求有一致的超帧参数, 则设备需要从网络中获取超帧参数。  The device 15-3 can define the superframe parameters by itself or obtain the superframe parameters from the network. If a consistent superframe parameter is not required in the WPAN, device 15-3 can define the superframe parameter itself. If a consistent superframe parameter is required in the WPAN, the device needs to obtain the superframe parameters from the network.
如果设备 15-1中已经保存了一套超帧参数, 则设备 15-3可以向设备 15-1 主动请求或者从设备 15- 1被动接收其保存的超帧参数。 其中, 设备 15- 1保存 的超帧参数可以是设备 15-1在建立网络时预设的, 也可以是设备 15-1通过下 述方法从网络中其他设备处获取的。 如果设备 15- 1与其他以信标方式通信的设 备直接通信, 则可以通过监听获得该设备的超帧参数; 如果设备 15- 1与其他以 非信标方式通信的设备直接通信,并且该设备处保存了一套超帧参数,设备 15-1 可以向该设备请求获得超帧参数。  If a set of superframe parameters has been saved in device 15-1, device 15-3 may actively request or passively receive its saved superframe parameters from device 15-1. The superframe parameter saved by the device 15-1 may be preset by the device 15-1 when the network is established, or may be obtained by the device 15-1 from other devices in the network by the following method. If the device 15- 1 communicates directly with other devices that communicate in a beacon manner, the superframe parameters of the device can be obtained by listening; if the device 15-1 communicates directly with other devices communicating in a non-beacon manner, and the device A set of superframe parameters is stored, and the device 15-1 can request the superframe parameters from the device.
如果设备 15-3无法从设备 15-1处获取超帧参数, 则设备 15-3只能自己设 定一套参数。 为了避免与网络中其他设备设定的超帧参数不一致, 设备 15- 3可 以询问网络中的其他设备是否已经设置了超帧参数, 例如通过广播询问。 如果 网络中的设备已经设置了超帧参数,则设备 15-3按照已有的超帧参数进行设置, 如果网络中没有这样的设置, 则设备 15- 3自己设置超帧参数。 If the device 15-3 cannot obtain the superframe parameter from the device 15-1, the device 15-3 can only set a set of parameters by itself. In order to avoid inconsistencies with the superframe parameters set by other devices in the network, the device 15-3 can query whether other devices in the network have set superframe parameters, such as by broadcasting a query. If the device in the network has set the superframe parameter, the device 15-3 sets according to the existing superframe parameter. If there is no such setting in the network, the device 15-3 sets the superframe parameters by itself.
如图 15所示, 也可以基于本发明实施方式中第一种短距离通信设备, 在新 设备加入网络时建立与原网络不同的通信方式。 原有网络仍为设备 15- 1与设备 15-2形成的非信标网络。 该非信标网络可以将设备 15- 1作为协调者, 也可以将 设备 15- 2作为协调者。  As shown in FIG. 15, the first short-range communication device in the embodiment of the present invention may also establish a communication mode different from the original network when the new device joins the network. The original network is still a non-beacon network formed by device 15-1 and device 15-2. The non-beacon network can use device 15-1 as the coordinator or device 15-2 as the coordinator.
此时,需要在该非信标网络中加入新的设备 15-3。同样,新加入的设备 15-3 需要以信标方式通信。 设备 15-1为本发明实施方式中第一种短距离通信设备。 设备 15-3周期性发送信标,该信标中可以包含设备 15-3的超帧参数。设备 15-1 监听设备 15- 3发送的信标, 并据此与设备 15- 3同步。 在需要发送和接收信息 时, 设备 15-1根据设备 15-3的超帧参数与其进行信息的发送和接收。 此时, 设备 15- 1与设备 15- 2之间仍为非信标方式的通信。 其中, 设备 15- 3通过上述 超帧参数设置方法设置超帧参数。  At this point, new devices 15-3 need to be added to the non-beacon network. Similarly, newly added devices 15-3 need to communicate by beacon. The device 15-1 is the first short-range communication device in the embodiment of the present invention. The device 15-3 periodically transmits a beacon, which may include the superframe parameters of the device 15-3. Device 15-1 Monitors the beacons sent by 15-32 and is synchronized with devices 15-3 accordingly. When it is necessary to transmit and receive information, the device 15-1 transmits and receives information according to the superframe parameters of the device 15-3. At this time, communication between device 15- 1 and device 15- 2 is still non-beacon mode. Among them, the device 15-3 sets the superframe parameter by the above superframe parameter setting method.
因此, 基于本发明实施方式中第一种和第二种短距离通信设备, 均可以实 现在非信标网络中加入新设备, 且新设备基于信标方式通信。  Therefore, based on the first and second short-range communication devices in the embodiments of the present invention, a new device can be added to the non-beacon network, and the new device communicates based on the beacon.
图 16是本发明实施例中无线个人域网络中的设备改变通信方式第一种实施 方式的示意图。 如图 16所示, 基于本发明实施方式中第一种短距离通信设备, 可以通过改变网络中原有设备的通信方式建立新的通信方式。 图 16中, 圆形代 表周期性发送信标的设备, 矩形代表非周期性发送信标的设备。 在原有网络中, 设备均以信标方式通信。 其中设备 16-1、 设备 16- 2和设备 16- 4为周期性发送 信标的设备, 设备 16- 3可以为周期性发送信标的设备, 也可以为非周期性发送 信标的设备, 设备 16- 5为非周期性发送信标的设备。  16 is a schematic diagram of a first implementation manner of a device change communication method in a wireless personal area network according to an embodiment of the present invention. As shown in FIG. 16, according to the first short-distance communication device in the embodiment of the present invention, a new communication mode can be established by changing the communication mode of the original device in the network. In Fig. 16, a circle represents a device that periodically transmits a beacon, and a rectangle represents a device that transmits a beacon aperiodically. In the original network, devices communicate by beacon. The device 16-1, the device 16-2, and the device 16-4 are devices that periodically send beacons. The device 16-3 may be a device that periodically sends a beacon, or a device that sends a beacon periodically. 5 is a device that sends beacons aperiodically.
原网络中, 设备 16-1与设备 16-2以信标方式直接通信。 设备 16-2需要建 立非信标的通信方式, 不再周期性发送信标。 在设备 16-2改变了通信方式后, 设备 16-2与设备 16-1之间按照设备 16-1的超帧参数基于信标方式通信。 为了 避免影响到与设备 16-2通信的其他设备的正常工作, 设备 16-2可以通知与之 直接通信的设备, 自己已经转换为非信标方式通信。 例如设备 16- 4在接收到通 知后,设备 16-4没有其他基于信标方式并与之直接通信的邻设备, 则设备 16-4 可以转换为非信标方式通信, 也可以仍保持周期性发送信标以信标方式通信。 设备 16- 5由于为非周期性发送信标的设备, 所以在接到通知后, 可以转换为非 信标方式与设备 16-2通信。 In the original network, device 16-1 and device 16-2 communicate directly in a beacon manner. Device 16-2 needs to establish a non-beacon communication mode and no longer periodically transmit beacons. After the device 16-2 changes the communication mode, the device 16-2 and the device 16-1 communicate based on the beacon mode according to the superframe parameters of the device 16-1. In order to avoid the normal operation of other devices that are in communication with device 16-2, device 16-2 may notify the device with which it is in direct communication that it has switched to non-beacon mode communication. For example, device 16-4 receives the pass After the device 16-4 has no other neighboring devices based on the beacon mode and directly communicating with it, the device 16-4 can be converted to non-beacon mode communication, or can still keep the beacon periodically transmitting in a beacon manner. . Since the device 16-5 is a device that transmits a beacon aperiodically, after receiving the notification, it can be converted into a non-beacon mode to communicate with the device 16-2.
如图 16所示, 也可以基于本发明实施方式中第二种短距离通信设备, 通过 改变网络中原有设备的通信方式建立新的通信方式。 原有网络为信标网络, 此 时设备 16-2需要该变其通信方式为非信标方式。 则设备 16-2向设备 16-1发送 询问并请求发给自己的信息, 而设备 16-1接收到该请求后, 在确定存在需要发 送给设备 16-2的信息时, 向设备 16-2发送信息。 其中, 设备 16-1为本发明中 短距离通信设备的第二种实施方式。 设备 16-1与设备 16-3之间仍为信标方式 的通信。设备 16-2可以通知周围相邻设备其通信方式的改变,相邻的设备 16-4 和设备 16-5可以选择转换通信方式。  As shown in FIG. 16, the second short-distance communication device in the embodiment of the present invention can also establish a new communication mode by changing the communication mode of the original device in the network. The original network is a beacon network, and the device 16-2 needs to change its communication mode to non-beacon mode. Then, the device 16-2 sends an inquiry to the device 16-1 and requests information to be sent to itself, and after receiving the request, the device 16-1, after determining that there is information to be sent to the device 16-2, to the device 16-2 send Message. The device 16-1 is a second embodiment of the short-range communication device in the present invention. Communication between device 16-1 and device 16-3 is still beaconed. The device 16-2 can notify the neighboring devices of the change in the communication mode, and the adjacent device 16-4 and the device 16-5 can select the switching communication mode.
图 1 7是本发明实施例中无线个人域网络中的设备改变通信方式第二种实施 方式的示意图。 如图 17所示, 基于本发明实施方式中第二种短距离通信设备, 可以通过改变网络中原有设备的通信方式建立新的通信方式。 图 17中, 圆形代 表周期性发送信标的设备, 矩形代表非周期性发送信标的设备。 在原有网络中, 设备均以非信标方式通信, 不周期性发送信标。  FIG. 17 is a schematic diagram of a second implementation manner of a device change communication mode in a wireless personal area network according to an embodiment of the present invention. As shown in FIG. 17, according to the second short-range communication device in the embodiment of the present invention, a new communication mode can be established by changing the communication mode of the original device in the network. In Fig. 17, a circle represents a device that periodically transmits a beacon, and a rectangle represents a device that transmits a beacon aperiodically. In the original network, the devices communicate in a non-beacon manner, and the beacons are not sent periodically.
原网络中, 设备 17-1与设备 17-2以非信标方式直接通信。 设备 17-2需要 建立信标的通信方式。设备 17-2开始周期性发送信标,并通知与其通信的设备, 自己已经改变了通信方式开始基于信标方式通信。 设备 17-4和设备 17-5与设 备 17-2可以基于信标方式通信。接到设备 17-2的通知后,设备 17-4和设备 17- 5 可以选择转换为周期性发送信标的设备, 或者仍保持为非周期性发送信标的设 备。 设备 17- 3仍与设备 17- 1基于非信标方式通信。  In the original network, device 17-1 and device 17-2 communicate directly in a non-beacon manner. Device 17-2 needs to establish a beacon communication method. The device 17-2 starts to periodically transmit the beacon and notifies the device with which it communicates that it has changed the communication mode to start communication based on the beacon. Device 17-4 and device 17-5 and device 17-2 can communicate based on beacons. Upon receipt of the notification from device 17-2, device 17-4 and device 17-5 may choose to convert to a device that periodically transmits a beacon, or a device that still maintains a beacon for aperiodic transmission. Device 17-3 is still communicating with device 17-1 based on a non-beacon mode.
设备 17-2在转换为周期性发送信标的设备后, 可以从设备 17-1处获取超 帧参数, 在无法获取的情况下可以自己设置超帧参数。  After converting the device to the device that periodically transmits the beacon, the device 17-2 can obtain the superframe parameter from the device 17-1, and can set the superframe parameter by itself if it cannot be acquired.
如果设备 17-1中已经保存了一套超帧参数, 则设备 17-2可以向设备 17-1 主动请求或者从设备 17- 1被动接收其保存的超帧参数。 其中, 设备 17- 1保存 的超帧参数可以是设备 17-1在建立网络时预设的, 也可以是设备 17-1通过下 述方法从网络中其他设备处获取的。 如果设备 17- 1与其他的以信标方式通信的 设备直接通信, 则可以通过监听获得该设备的超帧参数; 如果设备 17- 1与其他 以非信标方式通信的设备直接通信, 例如为设备 17-3, 并且该设备保存了一套 超帧参数, 设备 17- 1可以向该设备请求获得超帧参数。 If a set of superframe parameters has been saved in the device 17-1, the device 17-2 may send the device 17-1 Actively requesting or passively receiving its saved superframe parameters from device 17-1. The superframe parameter saved by the device 17-1 may be preset by the device 17-1 when the network is established, or may be obtained by the device 17-1 from other devices in the network by the following method. If the device 17-1 communicates directly with other devices that communicate in a beacon manner, the superframe parameters of the device can be obtained by monitoring; if the device 17-1 communicates directly with other devices that communicate in a non-beacon manner, for example, Device 17-3, and the device maintains a set of superframe parameters, and device 17-1 may request the device to obtain superframe parameters.
如果设备 17-2无法从设备 17-1处获得超帧参数, 则设备 17-2只能自己设 定一套参数。 为了避免与网络中其他设备设定的超帧参数不一致, 设备 17- 2可 以询问网络中的其他设备是否已经设置了超帧参数, 例如通过广播询问。 如果 网络中的设备已经设置了超帧参数,则设备 17- 2按照已有的超帧参数进行设置, 如果网络中没有这样的设置, 则设备 17- 2 自己设置超帧参数。  If the device 17-2 cannot obtain the superframe parameter from the device 17-1, the device 17-2 can only set a set of parameters by itself. In order to avoid inconsistencies with the superframe parameters set by other devices in the network, the device 17-2 can query whether other devices in the network have set superframe parameters, such as by broadcasting a query. If the device in the network has set the superframe parameter, the device 17-2 sets according to the existing superframe parameters. If there is no such setting in the network, the device 17-2 sets the superframe parameter by itself.
如图 17所示, 也可以基于本发明实施方式中第一种短距离通信设备, 通过 改变网络中原有设备的通信方式建立新的通信方式。 原有网络中, 设备仍均以 非信标方式通信, 不会周期性发送信标。  As shown in FIG. 17, the first short-distance communication device in the embodiment of the present invention can also establish a new communication mode by changing the communication mode of the original device in the network. In the original network, the devices still communicate in a non-beacon manner, and the beacons are not sent periodically.
原网络中, 设备 17-1与设备 17-2以非信标方式直接通信。 设备 17-2需要 建立信标的通信方式。 此时, 设备 17-2开始周期性发送信标, 并通知与其通信 的设备, 自己已经改变了通信方式开始基于信标方式通信。 接到设备 17- 2的通 知后, 设备 17- 4和设备 17- 5可以选择转换为周期性发送信标的设备, 或者仍 保持为非周期性发送信标的设备。 设备 17-1监听设备 17-2的信标, 并据此与 其同步。 设备 17- 3仍与设备 17- 1基于非信标方式通信。 其中设备 17- 2通过上 述的超帧参数设置方法设置超帧参数。  In the original network, device 17-1 and device 17-2 communicate directly in a non-beacon manner. Device 17-2 needs to establish a beacon communication method. At this time, the device 17-2 starts to periodically transmit the beacon, and notifies the device with which it communicates that it has changed the communication mode to start communication based on the beacon. Upon receipt of the notification from device 17-2, device 17-4 and device 17-5 may choose to convert to a device that periodically transmits a beacon, or a device that still maintains a beacon periodically. The device 17-1 listens to the beacon of the device 17-2 and synchronizes it accordingly. Device 17-3 is still communicating with device 17-1 based on a non-beacon mode. The device 17-2 sets the superframe parameter by the superframe parameter setting method described above.
因此, 基于本发明实施方式中第一种和第二种短距离通信设备, 均可以实 现在非信标网络中的设备通过改变通信方式建立信标方式的通信。  Therefore, based on the first and second short-range communication devices in the embodiments of the present invention, it is possible to realize that the devices in the non-beacon network establish communication in the beacon mode by changing the communication manner.
虽然通过参照本发明的某些优选实施方式, 已经对本发明进行了图示和描 述, 但本领域的普通技术人员应该明白, 可以在形式上和细节上对其作各种改 变, 而不偏离本发明的精神和范围。  While the invention has been illustrated and described with reference to the preferred embodiments embodiments The spirit and scope of the invention.

Claims

权 利 要 求 Rights request
1、 一种短距离通信设备, 其特征在于, 所述短距离通信设备包括: 收发模块, 用于与网络中其他设备进行信息的交互;  A short-range communication device, comprising: a transceiver module for performing information interaction with other devices in the network;
监听模块, 用于监听无线个人域网络中信标发送设备发送的信标, 并根据 监听到的所述信标中包含的参数, 控制所述收发模块, 在需要接收信息时接收 所述信标发送设备发送的信息,和 /或在需要发送信息时向所述信标发送设备发 送信息;  a monitoring module, configured to monitor a beacon sent by the beacon transmitting device in the wireless personal area network, and control the transceiver module according to the parameter included in the monitored beacon, and receive the beacon transmission when the information needs to be received Information transmitted by the device, and/or transmitting information to the beacon transmitting device when the information needs to be transmitted;
需求处理模块, 用于在本短距离通信设备处于工作状态时, 通过所述收发 模块随时接收网络中其他设备发送的信息获取请求, 并在确定存在需要发送给 发送请求的设备的信息时, 控制所述收发模块直接向所述发送请求的设备发送 所述信息。  a demand processing module, configured to receive, by the transceiver module, an information acquisition request sent by other devices in the network at any time when the short-distance communication device is in an active state, and control when the information of the device that needs to be sent to the transmission request is determined The transceiver module directly sends the information to the device that sends the request.
2、根据权利要求 1所述的短距离通信设备, 其特征在于, 所述短距离通信 设备还包括:  The short-range communication device according to claim 1, wherein the short-range communication device further comprises:
请求模块, 用于通过所述收发模块向网络中其他设备发送信息获取请求, 并控制所述收发模块接收被请求设备根据所述请求发送的信息。  And a requesting module, configured to send, by the transceiver module, an information acquisition request to other devices in the network, and control the transceiver module to receive information sent by the requested device according to the request.
3、根据权利要求 1所述的短距离通信设备, 其特征在于, 所述短距离通信 设备还包括:  The short-range communication device according to claim 1, wherein the short-range communication device further comprises:
信标模块, 用于通过所述收发模块向网络中的其他设备发送信标, 并根据 所述信标中包含的参数控制所述收发模块在需要接收信息时接收信标接收设备 发送的信息, 和 /或在需要发送信息时向所述信标接收设备发送信息。  a beacon module, configured to send a beacon to other devices in the network by using the transceiver module, and control, according to parameters included in the beacon, the transceiver module to receive information sent by the beacon receiving device when the information needs to be received, And/or transmitting information to the beacon receiving device when it is required to transmit information.
4、根据权利要求 3所述的短距离通信设备, 其特征在于, 所述信标模块进 一步用于设置包含在发送的信标中的参数, 或者将所述收发模块从网络中其他 设备处获得的参数设置为本短距离通信设备发送的信标中包含的参数。  The short-range communication device according to claim 3, wherein the beacon module is further configured to set a parameter included in the transmitted beacon, or obtain the transceiver module from other devices in the network. The parameter settings are parameters included in the beacon sent by the short-range communication device.
5、根据权利要求 1或 2所述的短距离通信设备, 其特征在于, 所述短距离 通信设备还包括:  The short-range communication device according to claim 1 or 2, wherein the short-range communication device further comprises:
信标模块, 用于保存监听到的信标中包含的参数。 A beacon module, configured to save parameters included in the monitored beacon.
6、根据权利要求 5所述的短距离通信设备, 其特征在于, 所述信标模块进 一步用于在网络中其他设备向本短距离通信设备请求获取参数时, 控制所述收 发模块将所述信标模块中保存的参数发送给所述发送请求的设备; 或者所述信 标模块控制所述收发模块主动将所述信标模块中保存的参数发送给本短距离通 信设备通信范围内的其他设备。 The short-range communication device according to claim 5, wherein the beacon module is further configured to: when other devices in the network request acquisition parameters from the short-range communication device, control the transceiver module to The parameter saved in the beacon module is sent to the device that sends the request; or the beacon module controls the transceiver module to actively send the parameter saved in the beacon module to other communication within the communication range of the short-range communication device. device.
7、根据权利要求 3、 4或 6中任一项所述的短距离通信设备, 其特征在于, 所述信标模块进一步用于根据所述信标中的参数, 控制所述收发模块在以下至 少一种情况下, 不与基于非信标方式通信的设备通信:  The short-range communication device according to any one of claims 3, 4 or 6, wherein the beacon module is further configured to control the transceiver module according to a parameter in the beacon In at least one case, it does not communicate with devices that communicate based on non-beacons:
在所述信标发送设备发送信标时;  When the beacon transmitting device transmits a beacon;
在本短距离通信设备发送信标时;  When the short distance communication device transmits a beacon;
在需要与所述信标发送设备基于信标方式进行信息交互时;  When it is required to interact with the beacon transmitting device based on the beacon mode;
在需要与信标接收设备基于信标方式进行信息交互时。  When it is necessary to interact with the beacon receiving device based on the beacon mode.
8、 一种短距离通信设备, 其特征在于, 所述短距离通信设备包括: 收发模块, 用于与网络中其他设备进行信息的交互;  A short-range communication device, comprising: a transceiver module for performing information interaction with other devices in the network;
请求模块, 用于在本短距离通信设备处于工作状态、 且需要获取信息时, 直接通过所述收发模块向无线个人域网络中其他设备发送信息获取请求, 并控 制所述收发模块接收被请求设备根据所述请求发送的信息;  a requesting module, configured to send, by the transceiver module, an information acquisition request directly to other devices in the wireless personal area network, and control the transceiver module to receive the requested device, when the short-distance communication device is in an active state and needs to obtain information Information sent according to the request;
信标模块, 用于通过所述收发模块向网络中的其他设备发送信标, 并根据 所述信标中包含的参数, 控制所述收发模块, 在需要接收信息时接收信标接收 设备发送的信息, 和 /或在需要发送信息时向所述信标接收设备发送信息。  a beacon module, configured to send a beacon to other devices in the network by using the transceiver module, and control the transceiver module according to parameters included in the beacon, and receive the beacon receiving device when the information needs to be received Information, and/or sending information to the beacon receiving device when information needs to be transmitted.
9、根据权利要求 8所述的短距离通信设备, 其特征在于, 所述短距离通信 设备还包括:  The short-range communication device according to claim 8, wherein the short-range communication device further comprises:
需求处理模块, 用于在本短距离通信设备处于工作状态时, 通过所述收发 模块随时接收网络中其他设备发送的信息获取请求, 并在确定本短距离通信设 备中存在需要发送给所述发送请求的设备的信息时, 控制所述收发模块直接向 所述发送请求的设备发送所述信息。 a demand processing module, configured to receive, by the transceiver module, an information acquisition request sent by another device in the network at any time when the short-distance communication device is in an active state, and determine that the short-distance communication device needs to be sent to the sending When the information of the requested device is used, the transceiver module is controlled to directly send the information to the device that sends the request.
10、 根据权利要求 8所述的短距离通信设备, 其特征在于, 所述短距离通 信设备还包括: The short-range communication device according to claim 8, wherein the short-range communication device further comprises:
监听模块, 用于监听网络中信标发送设备发送的信标, 并根据监听到的所 述信标中包含的参数, 控制所述收发模块在需要接收信息时接收所述信标发送 设备发送的信息, 和 /或在需要发送信息时向所述信标发送设备发送信息。  a monitoring module, configured to monitor a beacon sent by the beacon sending device in the network, and control, according to the monitored parameter included in the beacon, the transceiver module to receive the information sent by the beacon sending device when the information needs to be received And/or transmitting information to the beacon transmitting device when it is required to transmit information.
11、 根据权利要求 8所述的短距离通信设备, 其特征在于, 所述信标模块 进一步用于设置包含在发送的信标中的参数, 或者将所述收发模块从网络中其 他设备处获得的参数设置为本短距离通信设备发送的信标中包含的参数。  The short-range communication device according to claim 8, wherein the beacon module is further configured to set a parameter included in a transmitted beacon, or obtain the transceiver module from other devices in the network. The parameter settings are parameters included in the beacon sent by the short-range communication device.
12、 根据权利要求 8至 11中任一项所述的短距离通信设备, 其特征在于, 所述信标模块进一步用于, 根据所述信标中的参数, 控制所述收发模块在以下 至少一种情况下, 不与基于非信标方式通信的设备通信:  The short-range communication device according to any one of claims 8 to 11, wherein the beacon module is further configured to: according to a parameter in the beacon, control the transceiver module to be at least In one case, it does not communicate with devices that communicate based on non-beacons:
在所述信标发送设备发送信标时;  When the beacon transmitting device transmits a beacon;
在本短距离通信设备发送信标时;  When the short distance communication device transmits a beacon;
在需要与信标发送设备基于信标方式进行信息交互时;  When it is required to interact with the beacon transmitting device based on the beacon mode;
在需要与所述信标接收设备基于信标方式进行信息交互时。  When it is required to interact with the beacon receiving device based on the beacon mode.
13、 一种无线个人域网络, 其特征在于, 所述无线个人域网络包括: 同时基于信标方式和非信标方式通信的设备, 用于监听至少能基于信标方 式通信的设备发送的信标, 并根据所述信标中包含的参数在需要接收信息时接 收所述至少能基于信标方式通信的设备发送的信息,和 /或在需要发送信息时向 所述至少能基于信标方式通信的设备发送信息; 以及接收至少能基于非信标方 式通信的设备发送的信息获取请求, 并在确定本设备中存在需要发送给所述发 送请求的设备的信息时, 直接向所述发送请求的设备发送所述信息。  A wireless personal area network, wherein the wireless personal area network comprises: a device that simultaneously communicates based on a beacon mode and a non-beacon mode, and is configured to listen to a message sent by at least a device capable of communicating based on a beacon mode And receiving, according to parameters included in the beacon, information that is transmitted by the at least beacon-based communication device when the information needs to be received, and/or the at least beacon-based manner when the information needs to be sent The communication device transmits information; and receives an information acquisition request sent by at least the device capable of communicating based on the non-beacon mode, and directly requests the transmission when determining that there is information in the device that needs to be sent to the device that sends the request The device sends the information.
14、 根据权利要求 13所述的无线个人域网络, 其特征在于,  14. The wireless personal area network of claim 13 wherein:
所述同时基于信标方式和非信标方式通信的设备进一步用于, 向至少能基 于非信标方式通信的协调者发送信息获取请求, 并接收所述被请求设备根据所 述请求发送的信息。 The device for simultaneously communicating based on the beacon mode and the non-beacon mode is further configured to: send an information acquisition request to a coordinator capable of communication based on at least a non-beacon mode, and receive information sent by the requested device according to the request .
15、根据权利要求 13所述的无线个人域网络, 其特征在于, 所述同时基于 信标方式和非信标方式通信的设备进一步用于, 向所述至少能基于信标方式通 信的设备发送信标, 并根据所述信标中包含的参数在需要接收信息时接收所述 至少能基于信标方式通信的设备发送的信息,和 /或在需要发送信息时向所述至 少能基于信标方式通信的设备发送信息。 The wireless personal area network according to claim 13, wherein the device that simultaneously communicates based on the beacon mode and the non-beacon mode is further configured to send to the device that can communicate based on at least the beacon mode Transmitting a beacon, and receiving, according to a parameter included in the beacon, information transmitted by the device capable of communication based on the beacon mode when receiving the information, and/or being capable of being based on the beacon when the information needs to be transmitted The device that communicates by means sends information.
16、根据权利要求 15所述的无线个人域网络, 其特征在于, 所述同时基于 信标方式和非信标方式通信的设备进一步用于, 设置本设备的包含在发送的信 标中的参数, 或者将从网络中其他设备处获得的参数设置为本设备发送的信标 中包含的参数。  The wireless personal area network according to claim 15, wherein the device that simultaneously communicates based on the beacon mode and the non-beacon mode is further configured to set parameters of the device included in the transmitted beacon. , or set the parameters obtained from other devices in the network to the parameters contained in the beacon sent by the device.
17、 根据权利要求 13或 14所述的无线个人域网络, 其特征在于, 所述同 时基于信标方式和非信标方式通信的设备进一步用于, 保存监听到的信标中包 含的参数。  The wireless personal area network according to claim 13 or 14, wherein the device communicating based on the beacon mode and the non-beacon mode is further configured to save the parameters included in the monitored beacon.
18、根据权利要求 17所述的无线个人域网络, 其特征在于, 所述同时基于 信标方式和非信标方式通信的设备进一步用于, 在网络中其他设备向本设备请 求获取参数时, 将本设备中保存的参数发送给所述请求设备; 或者主动将本设 备中保存的参 «送给本设备的通信范围内的其他设备。  The wireless personal area network according to claim 17, wherein the device that simultaneously communicates based on the beacon mode and the non-beacon mode is further configured to: when other devices in the network request the device to acquire parameters, Send the parameters saved in the device to the requesting device; or actively send the parameters saved in the device to other devices in the communication range of the device.
19、 根据权利要求 15、 16或 18中任一项所述的无线个人域网络, 其特征 在于, 所述同时基于信标方式和非信标方式通信的设备进一步用于, 根据所述 信标中的参数,在以下至少一种情况下, 不与基于非信标方式通信的设备通信: 在信标发送设备发送信标时;  The wireless personal area network according to any one of claims 15, 16 or 18, wherein the device that simultaneously communicates based on the beacon mode and the non-beacon mode is further configured to: according to the beacon The parameter in the communication, in at least one of the following cases, does not communicate with the device communicating based on the non-beacon mode: when the beacon transmitting device transmits the beacon;
在本设备发送信标时;  When the device sends a beacon;
在需要与信标发送设备基于信标方式进行信息交互时;  When it is required to interact with the beacon transmitting device based on the beacon mode;
在需要与信标接收设备基于信标方式进行信息交互时。  When it is necessary to interact with the beacon receiving device based on the beacon mode.
20、 一种无线个人域网络, 其特征在于, 所述无线个人域网络包括: 同时基于信标方式和非信标方式通信的设备, 用于向网络中的至少能基于 信标方式通信的设备发送信标, 并根据所述信标中包含的参数与所述至少能基 于信标方式通信的设备进行信息的交互; 以及向网络中至少能基于非信标方式 通信的设备发送信息获取请求, 并接收所述至少能基于非信标方式通信的设备 根据所述请求发送的信息。 20. A wireless personal area network, the wireless personal area network comprising: a device that simultaneously communicates based on a beacon mode and a non-beacon mode, and is configured to communicate to at least a beacon-based device in the network. Transmitting a beacon, and based on the parameters included in the beacon and the at least one energy base The device communicating in the beacon mode performs information exchange; and sends an information acquisition request to the device that can communicate based on at least the non-beacon mode, and receives the device that can communicate based on at least the non-beacon mode according to the request Information.
21、根据权利要求 20所述的无线个人域网络, 其特征在于, 所述同时基于 信标方式和非信标方式通信的设备进一步用于, 接收网络中所述至少能基于非 信标方式通信的设备发送的信息获取请求, 并在确定本设备中存在需要发送给 所诉发送请求的设备的信息时, 直接向所述发送请求的设备发送所述信息。  The wireless personal area network according to claim 20, wherein the device that simultaneously communicates based on the beacon mode and the non-beacon mode is further configured to: in the receiving network, the at least non-beacon based communication The information acquisition request sent by the device, and when it is determined that there is information in the device that needs to be sent to the device that claims the transmission request, the information is directly sent to the device that sends the request.
22、 根据权利要求 20所述的无线个人域网络, 其特征在于,  22. The wireless personal area network of claim 20, wherein:
所述同时基于信标方式和非信标方式通信的设备进一步用于, 监听信标发 送设备发送的信标, 并根据所述信标中包含的参数与所述信标发送设备进行信 息的交互。  The device that communicates based on the beacon mode and the non-beacon mode is further configured to: monitor a beacon sent by the beacon transmitting device, and perform information interaction with the beacon transmitting device according to parameters included in the beacon. .
23、 根据权利要求 20所述的无线个人域网络, 其特征在于,  23. The wireless personal area network of claim 20, wherein
所述同时基于信标方式和非信标方式通信的设备进一步用于, 设置本设备 的包含在发送的信标中的参数; 或者将从网络中其他设备处获得的参数设置为 本设备发送的信标中包含的参数。  The device that simultaneously communicates based on the beacon mode and the non-beacon mode is further configured to: set parameters of the device included in the transmitted beacon; or set parameters obtained from other devices in the network to be sent by the device. The parameters contained in the beacon.
24、 ^居权利要求 20或 23所述的无线个人域网络, 其特征在于, 所述同时基于信标方式和非信标方式通信的设备进一步用于, 根据所述信 标中的参数, 在以下至少一种情况下, 不与基于非信标方式通信的设备通信: 在信标发送设备发送信标时;  The wireless personal area network according to claim 20 or 23, wherein the device for simultaneously communicating based on the beacon mode and the non-beacon mode is further configured to: according to parameters in the beacon, In at least one of the following cases, the device communicating with the non-beacon mode is not communicated: when the beacon transmitting device transmits the beacon;
在本设备发送信标时;  When the device sends a beacon;
在需要与信标发送设备基于信标方式进行信息交互时;  When it is required to interact with the beacon transmitting device based on the beacon mode;
在需要与信标接收设备基于信标方式进行信息交互时。  When it is necessary to interact with the beacon receiving device based on the beacon mode.
25、 一种短距离通信方法, 其特征在于, 所述方法包括:  25. A short-range communication method, the method comprising:
监听基于信标方式通信的协调者发送的信标;  Listening to beacons sent by coordinators based on beacon communication;
根据所述信标中包含的参数, 在需要接收信息时接收所述协调者发送的信 息, 和 /或在需要发送信息时向所述协调者发送信息; 在本设备处于工作状态时, 随时接收其他设备发送的信息获取请求, 并在 确定存在需要发送给发送请求的设备的信息时, 直接向所述发送请求的设备发 送所述信息。 Receiving, according to parameters included in the beacon, information sent by the coordinator when it is required to receive information, and/or transmitting information to the coordinator when it is required to transmit information; When the device is in the working state, the information acquisition request sent by the other device is received at any time, and when it is determined that there is information that needs to be sent to the device that sends the request, the information is directly sent to the device that sends the request.
26、根据权利要求 25所述的短距离通信方法, 其特征在于, 所述方法进一 步包括:  The short-range communication method according to claim 25, wherein the method further comprises:
向基于非信标方式通信的协调者发送信息获取请求, 并接收被请求设备根 据所述请求发送的信息。  An information acquisition request is sent to a coordinator based on non-beacon communication, and receives information transmitted by the requested device according to the request.
27、 根据权利要求 25或 26所述的短距离通信方法, 其特征在于, 所述方 法进一步包括:  The short-range communication method according to claim 25 or 26, wherein the method further comprises:
监听到的信标中包含的 &, 并在网络中其他设备请求获取^:时, 将 保存的参 «送给所述发送请求的设备, 或者主动将保存的参«送给通信范围 内的其他设备;  The & contained in the monitored beacon, and when other devices in the network request to obtain ^:, send the saved parameter to the device that sent the request, or actively send the saved parameter to other within the communication range. Equipment
和 /或根据保存的参数,在以下至少一种情况下, 不与基于非信标方式通信 的设备通信:  And / or according to the saved parameters, in at least one of the following cases, does not communicate with devices that communicate based on non-beacons:
在信标发送设备发送信标时;  When the beacon transmitting device transmits the beacon;
在需要与信标发送设备基于信标方式进行信息交互时;  When it is required to interact with the beacon transmitting device based on the beacon mode;
在需要与信标接收设备基于信标方式进行信息交互时。  When it is necessary to interact with the beacon receiving device based on the beacon mode.
28、根据权利要求 25所述的短距离通信方法, 其特征在于, 所述方法进一 步包括:  The short-range communication method according to claim 25, wherein the method further comprises:
发送信标, 并根据所述信标中包含的参数在需要接收信息时接收信标接收 设备发送的信息, 和 /或在需要发送信息时向信标接收设备发送信息。  The beacon is transmitted, and the information transmitted by the beacon receiving device is received when the information needs to be received according to the parameters included in the beacon, and/or the information is transmitted to the beacon receiving device when the information needs to be transmitted.
29、根据权利要求 28所述的短距离通信方法, 其特征在于, 所述方法进一 步包括:  The short-range communication method according to claim 28, wherein the method further comprises:
设置自身的包含在发送的信标中的参数, 或者将从网络中其他设备处获得 的参数设置为自身发送的信标中包含的参数;  Set its own parameters contained in the transmitted beacon, or set the parameters obtained from other devices in the network to the parameters contained in the beacons sent by itself;
和 /或根据自身发送的信标中的参数,在以下至少一种情况下, 不与基于非 信标方式通信的设备通信: And/or according to the parameters in the beacon sent by itself, in at least one of the following cases, not based on non- Device communication for beacon mode communication:
在自身发送信标时;  When sending a beacon by itself;
在需要与信标发送设备基于信标方式进行信息交互时;  When it is required to interact with the beacon transmitting device based on the beacon mode;
在需要与信标接收设备基于信标方式进行信息交互时。  When it is necessary to interact with the beacon receiving device based on the beacon mode.
30、 一种短距离通信方法, 其特征在于, 所述方法包括:  30. A short-range communication method, where the method includes:
向网络中的其他设备发送信标, 并根据所述信标中包含的参数与其他基于 信标方式通信的设备进行信息的交互;  Transmitting a beacon to other devices in the network, and interacting with other devices based on the beacon communication according to parameters included in the beacon;
在处于工作状态、 且需要获取信息时, 直接向网络中其他设备发送信息获 取请求, 并接收被请求设备根据所述请求发送的信息。  When the user is in the working state and needs to obtain information, the information acquisition request is directly sent to other devices in the network, and the information sent by the requested device according to the request is received.
31、根据权利要求 30所述的短距离通信方法, 其特征在于, 所述方法进一 步包括:  The short-range communication method according to claim 30, wherein the method further comprises:
在本设备处于工作状态时,随时接收网络中其他设备发送的信息获取请求, 并在确定存在需要发送给所述发送请求的设备的信息时, 直接向所述发送请求 的设备发送所述信息;  When the device is in the working state, the information acquisition request sent by other devices in the network is received at any time, and when it is determined that there is information that needs to be sent to the device that sends the request, the information is directly sent to the device that sends the request;
和 /或,监听信标发送设备发送的信标, 并根据所述信标中包含的参数与所 述信标发送设备进行信息的交互。  And/or, monitoring the beacon sent by the beacon transmitting device, and interacting with the beacon transmitting device according to parameters included in the beacon.
32、根据权利要求 30所述的短距离通信方法, 其特征在于, 所述方法进一 步包括:  The short-range communication method according to claim 30, wherein the method further comprises:
设置自身的包含在发送的信标中的参数, 或者将从网络中其他设备处获得 的参数设置为自身发送的信标中包含的参数;  Set its own parameters contained in the transmitted beacon, or set the parameters obtained from other devices in the network to the parameters contained in the beacons sent by itself;
和 /或根据所述信标中的参数,在以下至少一种情况下, 不与基于非信标方 式通信的设备通信:  And/or according to the parameters in the beacon, in at least one of the following cases, not communicating with a device based on non-beacon mode communication:
在信标发送设备发送信标时;  When the beacon transmitting device transmits the beacon;
在自身发送信标时;  When sending a beacon by itself;
在需要与信标发送设备基于信标方式进行信息交互时;  When it is required to interact with the beacon transmitting device based on the beacon mode;
在需要与信标接收设备基于信标方式进行信息交互时。  When it is necessary to interact with the beacon receiving device based on the beacon mode.
PCT/CN2009/072077 2008-07-11 2009-06-01 Short distance communication method, device and network WO2010003337A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 200810068476 CN101626325B (en) 2008-07-11 2008-07-11 Method, equipment and network for short-distance communication
CN200810068476.3 2008-07-11

Publications (1)

Publication Number Publication Date
WO2010003337A1 true WO2010003337A1 (en) 2010-01-14

Family

ID=41506685

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/072077 WO2010003337A1 (en) 2008-07-11 2009-06-01 Short distance communication method, device and network

Country Status (2)

Country Link
CN (1) CN101626325B (en)
WO (1) WO2010003337A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002063806A2 (en) * 2001-02-07 2002-08-15 Xtremespectrum, Inc. System, method, and computer program product for sharing bandwidth in a wireless personal area network or a wireless local area network
US20030140296A1 (en) * 2002-01-22 2003-07-24 Odman Knut T. Method of improving system performance in a wireless network by making requests without acknowledgement
CN1551546A (en) * 2003-05-13 2004-12-01 ���ǵ�����ʽ���� Channel time allocation method in high rate wpan
CN1913383A (en) * 2005-07-20 2007-02-14 Lg电子株式会社 Apparatus and method for obtaining application data from short distance communication terminal
CN1937437A (en) * 2005-09-21 2007-03-28 华为技术有限公司 Short-distance wireless communication method and its communication terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002063806A2 (en) * 2001-02-07 2002-08-15 Xtremespectrum, Inc. System, method, and computer program product for sharing bandwidth in a wireless personal area network or a wireless local area network
US20030140296A1 (en) * 2002-01-22 2003-07-24 Odman Knut T. Method of improving system performance in a wireless network by making requests without acknowledgement
CN1551546A (en) * 2003-05-13 2004-12-01 ���ǵ�����ʽ���� Channel time allocation method in high rate wpan
CN1913383A (en) * 2005-07-20 2007-02-14 Lg电子株式会社 Apparatus and method for obtaining application data from short distance communication terminal
CN1937437A (en) * 2005-09-21 2007-03-28 华为技术有限公司 Short-distance wireless communication method and its communication terminal

Also Published As

Publication number Publication date
CN101626325A (en) 2010-01-13
CN101626325B (en) 2013-01-30

Similar Documents

Publication Publication Date Title
KR101356481B1 (en) Method for managing the power in the wireless network
US7653017B2 (en) Bluetooth sniff mode power saving
RU2498534C1 (en) System and method of saving energy using coordinated awakening in wireless multiband network
EP2915377B1 (en) Methods for power saving in wireless communication devices
KR101190864B1 (en) Asynchronous MAC protocol based sensor node using Wake-Up transceiver and data transmitting/receiving method in the sensor
US8559338B2 (en) Method for managing the power in the wireless network
CN102388658B (en) Apparatus for controlling power of wireless device and method thereof
KR100659739B1 (en) Virtual node algorithm for wireless sensor network
CN111226467B (en) Communication device and communication method
KR20060017481A (en) Radio communication system, radio communication apparatus, radio communication method, and computer program
KR20020050315A (en) Apparatus for wireless communications and method of controlling the same
JP2005101756A (en) Wireless communication system, wireless communication apparatus, wireless communications method, and computer program
US20110019601A1 (en) Methods and apparatus for improving power efficiency and latency of mobile devices using an external timing source
EP1536599A1 (en) Scheduling poll packets in bluetooth sniff mode
CN101765227B (en) Method for optimizing 802.11 centralized coordination function
WO2008114081A1 (en) Switching role of apparatuses between controller (host) and participant (device) to schedule bi-directional data
WO2010003337A1 (en) Short distance communication method, device and network
KR100599537B1 (en) Power effective mac and phy implementation for wireless personal area network device
KR100650270B1 (en) Hand-off method in a bluetooth network
KR101366292B1 (en) Method for managing power in a wireless network
KR100921470B1 (en) Method for managing power in a wireless network
KR100913105B1 (en) Method for managing power in a wireless network

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09793812

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09793812

Country of ref document: EP

Kind code of ref document: A1