WO2019144343A1 - 组网方法、芯片及无线网络系统 - Google Patents
组网方法、芯片及无线网络系统 Download PDFInfo
- Publication number
- WO2019144343A1 WO2019144343A1 PCT/CN2018/074143 CN2018074143W WO2019144343A1 WO 2019144343 A1 WO2019144343 A1 WO 2019144343A1 CN 2018074143 W CN2018074143 W CN 2018074143W WO 2019144343 A1 WO2019144343 A1 WO 2019144343A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- slave device
- link
- communication link
- peripheral
- data
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
- H04W84/20—Master-slave selection or change arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Definitions
- the embodiments of the present invention relate to the field of communications technologies, and in particular, to a networking method, a chip, and a wireless network system.
- Wireless Personal Area Network is a widely used wireless data communication method.
- WPAN is used in such as telephone, computer, accessory equipment and small range (the working range of personal area network is generally Communication between digital assistant devices within 10 meters).
- peer-to-peer data interaction between devices can be achieved, such as wireless network data interaction between mobile terminals and wireless headsets.
- the universal wireless link can adopt a wireless link mode such as WIFI, IrDA or Bluetooth.
- the existing WPAN can only implement point-to-point data interaction between devices, and cannot realize data interaction between one device and other devices at the same time, and cannot meet the requirement of sharing data by multiple devices.
- one of the technical problems to be solved by the embodiments of the present application is to provide a networking method, a chip, and a wireless network system, so as to overcome the problem that the WPAN in the prior art cannot implement multiple devices to simultaneously share data.
- a networking method includes: establishing a first communication link with a master device; establishing a second communication link with at least one peripheral slave device to form a slave device local area network; The slave device transmits link information of the first communication link, so that each peripheral slave device establishes a listening link with the master device according to the link information, and listens for data transmitted on the first communication link.
- another networking method including: establishing a second communication link with a central slave device to form a slave device local area network, and establishing a first communication link between the central slave device and the master device Obtaining link information of the first communication link from the central slave device; establishing a listening link with the primary device according to the link information, and listening for data transmitted on the first communication link.
- a chip including: a first establishing module, configured to establish a first communication link with a master device; and a second establishing module, configured to establish a second with at least one peripheral slave device a communication link forming a slave device local area network; a first sending module, configured to send link information of the first communication link to each peripheral slave device, so that each peripheral slave device establishes a listening link with the master device according to the link information Listening for data transmitted on the first communication link.
- another chip including: a third establishing module, configured to establish a second communication link with a central slave device, form a slave device local area network, and establish a relationship between the central slave device and the master device. a first communication link; a link information acquiring module, configured to acquire link information of the first communication link from the central slave device; and a listening link establishing module, configured to establish a listening chain with the master device according to the link information The road listens for data transmitted on the first communication link.
- a wireless network system including a master device, a center slave device, and a peripheral slave device, such as the chip in the foregoing third aspect, is applied to the center slave device.
- another wireless network system including a master device, a center slave device, and a peripheral slave device, such as the chip in the fourth aspect described above being applied to the peripheral slave device.
- the central slave device establishes a first communication link with the master device, where the master device can go to the center through the first communication link.
- the device sends data.
- the central slave device may also establish a second communication link with the at least one peripheral slave device, and may send the link information of the first communication link to each peripheral slave device through the second communication link, so that the peripheral slave device can establish a sound interception.
- the link enables the peripheral peripheral devices to acquire data transmitted by the master device to the central slave device through the interception link, thereby realizing data sharing between one master device and multiple slave devices.
- the master device communicates with only one slave device, that is, the central slave device, and transmits data to the slave device.
- the slave device is transparent to the master device in the device local area network, and the master device does not need to perform the same connection with the peripheral slave device as the center slave device. Interact with data, which reduces the data processing burden of the main device and the entire network system, and improves data processing efficiency.
- FIG. 1 is a schematic flowchart diagram of a networking method according to Embodiment 1 of the present application;
- FIG. 2 is a schematic flowchart diagram of a networking method according to Embodiment 2 of the present application.
- FIG. 3 is a process diagram of time division multiplexing for performing system broadcast, directed broadcast, and directed scan from a device in a networking method according to Embodiment 2 of the present application;
- FIG. 4 is a schematic diagram of data transmission under normal conditions in a networking method according to Embodiment 2 of the present application;
- FIG. 5 is a schematic diagram of data transmission in a case where an abnormality occurs in a first communication link in a networking method according to Embodiment 2 of the present application;
- FIG. 6 is a schematic diagram of data transmission in a case where an interception link is abnormal in a networking method according to Embodiment 2 of the present application;
- FIG. 7 is a schematic flowchart diagram of a networking method according to Embodiment 3 of the present application.
- FIG. 8 is a schematic flowchart diagram of a networking method according to Embodiment 4 of the present application.
- FIG. 9 is a structural block diagram of a chip according to Embodiment 5 of the present application.
- FIG. 10 is a structural block diagram of a chip according to Embodiment 6 of the present application.
- FIG. 11 is a block diagram showing the structure of a chip according to Embodiment 7 of the present application.
- FIG. 12 is a block diagram showing the structure of a chip according to Embodiment 8 of the present application.
- FIG. 13 is a block diagram showing the structure of a wireless network system according to Embodiment 9 of the present application.
- FIG. 1 a schematic flowchart of a networking method according to Embodiment 1 of the present application is shown.
- This embodiment describes a networking method provided by an embodiment of the present application from the perspective of a central slave device.
- the networking method is used to connect and form wireless devices into a wireless network system.
- the method includes:
- S101 Establish a first communication link with the master device.
- the wireless network system to be formed includes a master device and a slave device.
- the master device can perform data transfer with the slave device
- the slave device includes a central slave device and at least one peripheral slave device.
- the central slave device is a slave device that is in a central position from the device, and performs data transmission with the master device through the first communication link
- the peripheral slave device is a slave device other than the central slave device in the slave device, which passes The listening link established below listens for data on the first communication link.
- the master device can actively establish a first communication link with the central slave device and distribute data, and the center slave device acquires data distributed by the master device from the master device through the first communication link.
- the master device may be a device having data processing and communication functions such as a mobile terminal, a smart TV, or the like.
- the central slave device and the peripheral slave device may be Bluetooth headsets, speakers, and the like that can receive data from the master device.
- the first communication link can be any suitable wireless communication link including, but not limited to, a WIFI link, a Bluetooth link, and the like.
- S102 Establish a second communication link with the at least one peripheral slave device to form a slave device local area network.
- the second communication link is a corresponding link according to a communication connection manner adopted by the central slave device and the peripheral slave device.
- the second communication link is a Bluetooth connection. link.
- the second communication link is an infrared link.
- the second communication link may employ the same communication protocol as the first communication link, or may use a different communication protocol.
- the first communication link and the second communication link are both Bluetooth links, or the first communication link is a WIFI link and the second communication link is a Bluetooth link.
- the central slave device and the at least one peripheral slave device form a slave device local area network.
- the peripheral slave device communicates with the central slave device through the second communication link, and acquires link information, data quality service, and the like of the first communication link from the center slave device.
- S103 Send link information of the first communication link to each peripheral slave device, so that each peripheral slave device establishes a listening link with the master device according to the link information, and listens for data transmitted on the first communication link.
- the interception link of the listening master device may be established according to the link information, thereby acquiring the data distributed by the master device.
- the link information may include different parameters according to different communication modes and communication protocols, and may include, for example, but not limited to, time information, frequency information, encoding rules, and encrypted information.
- the central slave device establishes a first communication link with the master device, wherein the master device can send data to the central slave device through the first communication link.
- the central slave device may also establish a second communication link with the at least one peripheral slave device, and may send the link information of the first communication link to each peripheral slave device through the second communication link, so that the peripheral slave device can establish a sound interception.
- the link enables the peripheral peripheral devices to acquire data transmitted by the master device to the central slave device through the interception link, thereby realizing data sharing between one master device and multiple slave devices.
- the networking method can realize that the master device communicates with only one slave device, that is, the central slave device, and sends data to the master device, and the slave device is transparent to the master device, and the master device does not need to cooperate with the peripheral slave device.
- the central slave device has the same connection and data interaction, which reduces the data processing burden of the master device and the entire network system, and improves the data processing efficiency.
- FIG. 2 is a schematic flowchart of a networking method according to Embodiment 2 of the present application.
- the networking method provided by the embodiment of the present application is still described from the perspective of a central slave device.
- the networking method can be used to form a wireless network system.
- the networking method differs according to the wireless communication protocol used.
- the following describes the whole process of link establishment of the entire wireless network system by taking BLE (Bluetooth Low Energy) communication as an example.
- BLE Bluetooth Low Energy
- the BLE communication scenario is only an exemplary description.
- a person skilled in the art can refer to the solution of the embodiment of the present application to implement a wireless network system networking in other communication scenarios.
- the wireless network system formed by the networking method of this embodiment includes a master device and a slave device, and the master device can perform data transmission with the slave device, and the slave device includes a central slave device and at least one peripheral slave device.
- the central slave device is configured to connect and communicate with the master device, and constitutes a slave device local area network with the peripheral slave device, and transmits link information of the first communication link to the peripheral slave device from the device local area network.
- the peripheral slave device can establish a listening link according to the link information of the first communication link to listen for data of the first communication link.
- S201 Perform information interaction between multiple slave devices, and save interaction information, where the interaction information includes identity information and key information.
- the plurality of slave devices include a center slave device and one or more peripheral slave devices.
- Bluetooth communication before a wireless network system is established through a Bluetooth communication device, information interaction can be performed first.
- information interaction can be implemented by means of device pairing.
- device pairing interaction between pairing information such as identity information and key information is performed between multiple slave devices.
- the slave device can save the pairing information of the interaction for identification and data exchange in subsequent link communication.
- the slave pairing behavior can be triggered by a specific behavior or event, such as pressing an external button, charging a slave device, and the like. Pairing can be done by wired or wireless transmission and can be done based on standard communication protocols or proprietary protocols.
- the slave device performs Bluetooth pairing through pairing information.
- the pairing information includes but is not limited to identity information and key information.
- the identity information includes: a system address (System Address) and a private address (Private Address).
- the system address is an address shared by all slave devices, and is a unified address from the device LAN, and the private address is unique to each slave device. Address, used to characterize each slave device.
- the key information that is interacted when the slave device is paired may be encrypted information used on the second communication link in the slave device local area network to ensure the security of the information transfer.
- step S203 the information interaction of the device is performed as the first step in the embodiment, it should be understood by those skilled in the art that this step may be performed at any timing before step S203, and is not limited to the implementation. The order of execution of the example. In addition, if the corresponding interaction information already exists on the slave device, this step can be omitted.
- the master device is the owner of the data source. Before the wireless network system is set up, the master device identifies the potential slave device through continuous scanning and listening. When the slave device is discovered, the master initiates the connection and creates the first communication link. At this time, the master device transits to the link connection state and serves as the master end of the first communication link, and is responsible for link parameter maintenance and data distribution.
- the slave device is the audience of the application data, and is the consumer of the data.
- the broadcaster Advertiser
- the slave device that establishes the first communication link with the master device is the master slave device.
- system-ADV system broadcast
- Direct-ADV directed broadcast
- Direct-Scan directed scan
- these three activities are time division multiplexed and can be based on one communication standard or two different communication standards.
- the abscissa in Fig. 3 is the time axis. It can be seen from Fig. 3 that the occurrence time of three different activities is different on the same device, and the slave device broadcasts the system in the first time slot, in the second time.
- Directional broadcast is performed in the slot, and directional scanning is performed in the third time slot.
- a system broadcast period System Adv Interval
- a Direct Adv Interval is formed between adjacent two directed broadcasts
- a directional scan is formed between two adjacent directional scans.
- InterScan Direct Scan Interval
- the specific process of establishing a first communication link between the central slave device and the master device includes:
- the central slave device sends a system broadcast message, so that the master device initiates a first connection request after scanning the system broadcast message; the central slave device receives the first connection request sent by the master device; and the central slave device establishes a first communication link with the master device.
- the master device when the master device scans and listens to the system broadcast message broadcasted by the device system, it initiates a connection, that is, generates a connection request according to the information of the slave device that is heard, and sends the connection request to the slave device that is heard.
- the intercepted slave device establishes a first communication link with the master device in response to the connection request to implement the connection.
- the slave device that is being heard is the central slave device.
- each slave device since each slave device uses the same system address for system broadcast, once the first communication link is successfully created, other system broadcasts using the same system address will be filtered by the master device system, therefore, the entire wireless In a network system, only one first communication link exists.
- the slave device on the first communication link will become the central slave device of the slave device local area network, and the other slave devices are the peripheral slave devices in the slave device local area network.
- S203 Establish a second communication link with at least one peripheral slave device to form a slave device local area network.
- the central slave device and the peripheral slave device also perform directed broadcast and directed scan through a private address (Private Address) to establish a slave device LAN between each peripheral slave device and the center slave device.
- a private address Prior Address
- the central slave device performs directional scanning on each peripheral slave device according to the pairing information with the at least one peripheral slave device, and receives a private address sent by each peripheral slave device through the directed broadcast, wherein the private addresses of the peripheral peripheral devices are different.
- a peripheral communication device corresponding to each private address respectively establishes a second communication link to form a slave device local area network.
- the peripheral slave device that successfully joins the slave device local area network will be switched to become the central slave device of the slave device LAN (Device Lan) through negotiation.
- the peripheral slave device switches to the center slave device.
- the slave device that establishes the first communication link with the master device if not from the original center slave device of the device LAN
- the switch can be negotiated to be a new central slave device. For example, after the slave device local area network is established, the master device scans to a slave device in the slave device local area network and establishes a first communication link with the slave device, if the slave device is in the slave device If the device LAN is not a central slave device, it switches to the current central slave device protocol to a central slave device; second, it switches according to the requirements of the current slave device local area network slave device. For example, when the central slave device determines that its current power is too low, it can filter out appropriate peripheral slave devices according to the screening policy, and negotiate with the peripheral slave devices to switch between the central slave device and the peripheral slave device.
- the step S203 is performed after the step S202 is performed first.
- the step S202 may be performed after the step S203 is performed, or may be performed in parallel.
- S204 Send link information of the first communication link to each peripheral slave device, so that each peripheral slave device establishes a listening link with the master device according to the link information, and listens for data transmitted on the first communication link.
- the central slave device can send link information of the first communication link to the peripheral slave device through the second communication link to provide establishment interception to the peripheral slave device ( Listen) Link information.
- the link information of the first communication link includes, but is not limited to, time information, frequency information, coding rules, and encryption information of the link.
- the link information may further include access address information.
- the central slave device is responsible for distributing the link information of the first communication link in the slave device local area network, and the peripheral slave device can establish a synchronous listen link according to the information to acquire the data distributed on the first communication link. .
- the central slave device After establishing the first communication link, the second communication link, and the listening link of the wireless network system, the central slave device can provide a quality of service (QoS) for the peripheral slave device.
- QoS quality of service
- the universal communication protocol will consider various handshake mechanisms in the standard design to ensure that data can be delivered according to a predetermined schedule.
- the handshake mechanism mentioned here is used to ensure the quality of data transmission, to smoothly transfer data, and to provide reliable data services.
- the data distributed by the master device can be transmitted in the entire slave device local area network in a secure and reliable manner in real time without changing the master device. reliability.
- the first communication link may adopt a standard communication protocol, such as BLE (Bluetooth Low Energy), BT (Bluetooth, Classic Bluetooth Technology Standard), WI-FI, for data transmission and Data quality service.
- BLE Bluetooth Low Energy
- BT Bluetooth, Classic Bluetooth Technology Standard
- WI-FI Wireless Fidelity
- the second communication link is similar to the first communication link and can also be based on standard protocols such as WI-FI communication, Bluetooth communication or IrDA communication.
- the communication protocols employed by the first communication link and the second communication link may be the same or different.
- a method for providing a data quality service for a peripheral slave device through a central slave device is provided, as follows:
- the peripheral slave device When the received signal strength indicator (RSSI: received signal strength indicator) is higher than the receiving sensitivity of the peripheral slave device and there is no interference, the peripheral slave device can correctly parse the data packet to obtain the required data, and listen at this time. Normally, the peripheral slave device can obtain the data distributed by the master device through the listening link.
- RSSI received signal strength indicator
- the peripheral slave device When the received signal strength is lower than the sensitivity condition or there is interference, the peripheral slave device cannot directly acquire data through the listening link.
- the peripheral slave device of the slave device LAN (Device Lan) provides data quality service (QoS service) for each peripheral slave device, that is, when there is an abnormality in the interception link, the periphery is The slave device sends a data request service to the center slave device through the second communication link, and after receiving the data request message, the center slave device retransmits the related data to the corresponding peripheral slave device.
- QoS service data quality service
- Figure 4 shows the situation where both the first communication link and the listening link are normally received.
- the central slave receives data over the first communication link
- the peripheral slave receives data transmitted over the first communication link over the listening link.
- the data transmission process is as follows: as shown in FIG. 4, the primary device (Audio Source) sends a data packet (Packet_n) to the central slave device through the first communication link in a connection interval (Connect Interval). And received a response message (ACK_n) returned by the central slave device (Audio Sink/Central), the response message is used to indicate that the data packet is not lost normally. Thereafter, the master continues to transmit the next packet (Packet_n+1) to the central slave during the next connection period and receives a response message (ACK_n+1) returned from the central slave.
- the central sink/central For the central sink/central, it receives a packet (Packet_n) sent by the master through the first communication link in a connection period, and returns a response message (ACK_n) to the master.
- the response message is used to indicate that the data packet is not lost normally.
- the central slave device continues to receive the next data packet (Packet_n+1) sent by the master device in the next connection period, and returns a response message (ACK_n+1) to the master device.
- a packet (Packet_n) and a response message (ACK_n) are received through the listening link during a connection period. Thereafter, the peripheral slave device continues to be in the next connection interval, receiving the next data packet (Packet_n+1) and one response message (ACK_n+1). That is, the data transmitted bidirectionally on the first communication link can be heard by the peripheral slave device.
- Figure 5 shows the situation where central slave device data reception failure in the first communication link.
- the master device fails to receive the ACK confirmation message (response message) returned by the central slave device as scheduled, the master device will automatically retransmit the previous data according to the standard communication protocol definition until the data transmission succeeds or the data fails to abandon or the link times out.
- Disconnected, in the process of listening (Listen) link may receive the same data multiple times, so you need to filter out the repeated listening data before data processing.
- the data transmission process is as follows: as shown in FIG. 5, the primary device (Audio Source) sends a data packet (Packet_n) to the central slave device through the first communication link in a connection interval (Connect Interval).
- the master device retransmits the data packet (Packet_n Re-TX), and if the response message (ACK) of the data packet corresponding to the retransmission returned by the central slave device is received, the next connection period is normal. The next packet is sent, otherwise the packet is retransmitted until the data expires or the link times out.
- the data packet sent by the master device is not received through the first communication link, so that the response message is not returned to the master device until the next connection period.
- the central slave device receives the data packet (Packet_n) retransmitted by the master device and returns a response message (ACK) to the master device.
- a packet (Packet_n) is received through the listening link during a connection period, and the center slave is not heard because the first communication link is abnormal. Response message.
- the retransmitted data packet (Packet_n Duplicate) and the response message (ACK) are received in the next connection period, and the peripheral slave device filters out the received duplicate data packet.
- Figure 6 shows the process by which a peripheral slave device requests a central slave device to send a packet that has failed to listen after data failure has failed.
- the data transmission process is as follows: as shown in FIG. 6, for the primary device (Audio Source), a data packet is sent to the central slave device through the first communication link in a connection interval (Connect Interval). (Packet_n), and receives a response message (ACK) returned by the central slave. In the next connection cycle, the next packet (Packet_n+1) is sent and the response message returned by the central slave is received.
- a data packet (Packet_n) sent by the master device is received through the first communication link in one connection period, and a response message (ACK) is returned to the master device.
- the peripheral slave device cannot hear the packet (Packet_n)
- the central slave device also receives the request packet from the peripheral sink/Perpherals through the second communication link ( ReqPacket_n)
- the central slave device transmits a data packet (Packet_n) received through the first communication link to the peripheral slave device in response to the request packet, and causes the peripheral slave device to receive the data packet through the second communication link (Packet_n) .
- the central slave receives the next packet (Packet_n+1) and returns a response message to the master.
- the data packet (Packet_n) sent by the master device is not obtained through the interception link in one connection period, so the request packet (ReqPacket_n) is sent to the central slave device through the second communication link.
- the packet received from the device from the device that it failed to receive through the listening link (Packet_n).
- the peripheral slave device listens for the next packet (Packet_n+1) and response message (ACK).
- the central slave device when there is an abnormality in the interception link, the central slave device receives a data request message of the peripheral slave device that listens for the link abnormality; the central slave device responds to the data request message to the peripheral slave device that detects the abnormal link.
- the data requested by the data request message wherein the data includes data transmitted by the master device over the first communication link.
- the slave slave device and the peripheral slave device in the slave device local area network can perform role and link switching.
- the central slave device and the peripheral slave device can be switched according to the specific conditions of each slave device, such as the power information and the average data packet receiving status.
- the corresponding link switch is also synchronized.
- the usual switching process is as follows:
- the central slave device switches the central slave device according to the setting rules and the information of the peripheral slave device. Specifically for example:
- the setting rule may be a rule in the adopted communication protocol, or may be a rule different from the communication protocol set by a person skilled in the art according to actual requirements.
- the corresponding peripheral slave device will switch to the central slave device, and the previous listening link will also switch to the first communication link.
- This handover process takes place at the same time.
- the handover process is transparent to the master device, and the master device does not need to perceive this change process.
- the networking method can form a wireless network system suitable for wireless data distribution, realize multi-user sharing data, and meet the requirements of data distribution quality service.
- the slave device can perform role switching and link switching without affecting the master device.
- FIG. 7 is a schematic flowchart diagram of a networking method according to Embodiment 3 of the present application.
- the method is used to construct a wireless network system, which includes a master device and a slave device, and the master device can perform data transmission with the slave device, and the slave device includes a central slave device and at least one peripheral slave device.
- the central slave device is configured to connect and communicate with the master device, and constitutes a slave device local area network with the peripheral slave device, and transmits link information of the first communication link to the peripheral slave device from the device local area network.
- the peripheral slave device can establish a listening link according to the link information of the first communication link to listen for data of the first communication link.
- the slave device includes at least one central slave device and at least one peripheral slave device.
- the networking method provided by the embodiment of the present application is described from the perspective of the peripheral device.
- the networking method includes:
- S301 Establish a second communication link with the central slave device to form a slave device local area network, where the center slave device establishes a first communication link with the master device.
- the second communication link established between the peripheral slave device and the central slave device is a corresponding link according to a communication connection manner adopted by the central slave device and the peripheral slave device, for example, when the Bluetooth communication method is used, the second communication link is used. Connect the link for Bluetooth. When connected by infrared (IrDA), the second communication link is an infrared connection link.
- IrDA infrared
- the process and manner of establishing the second communication link may be the same as the foregoing process of using the central slave device as an embodiment of the execution body. The method is similar, so it will not be described here.
- S302 Acquire link information of the first communication link from the central slave device.
- the peripheral slave device After the peripheral slave device establishes the second communication link with the central slave device, the peripheral slave device acquires link information of the first communication link sent by the central slave device through the second communication link, so that the peripheral slave device establishes a listening link.
- the link information includes but is not limited to time information, frequency information, encoding rules, and encrypted information.
- S303 Establish a listening link with the master device according to the link information, and listen for data transmitted on the first communication link.
- the peripheral slave device can establish a synchronous listen link according to the parameters of the received link information, and acquire data distributed on the first communication link.
- each peripheral slave device when the primary device sends data to the central slave device through the first communication link, each peripheral slave device can obtain data sent by the master device to the central slave device through the interception link, thereby realizing one master device to multiple Data sharing from the device. Similarly, the peripheral slave device can also obtain data transmitted by the central slave device to the master device through the first communication link through the interception link.
- the master device communicates with only one slave device, that is, the central slave device, and transmits data to the slave device.
- the slave device is transparent to the master device in the device local area network, and the master device does not need to perform the same connection with the peripheral slave device as the center slave device. Interact with data, which reduces the data processing burden of the main device and the entire network system, and improves data processing efficiency.
- FIG. 8 is a schematic flowchart diagram of a networking method according to Embodiment 4 of the present application.
- the method is used to build a wireless network system.
- the wireless network system includes a master device and a slave device, and the master device can perform data transmission with the slave device, and the slave device includes a central slave device and at least one peripheral slave device.
- the central slave device is configured to connect and communicate with the master device, and constitutes a slave device local area network with the peripheral slave device, and transmits link information of the first communication link to the peripheral slave device from the device local area network.
- the peripheral slave device can establish a listening link according to the link information of the first communication link to listen for data of the first communication link.
- the slave device includes at least one central slave device and at least one peripheral slave device.
- the networking method provided by the embodiment of the present application is described from the perspective of the peripheral device.
- the networking method includes:
- S401 Establish a second communication link with the central slave device to form a slave device local area network, where the center slave device establishes a first communication link with the master device.
- the manner in which the first communication link is established between the central slave device and the master device may include: the central slave device performs system broadcast to broadcast the system address; when the master device scans the broadcast system address, initiates the first A connection request, the central slave device responds to the first connection request to establish a first communication link with the master device.
- the second communication link established between the peripheral slave device and the central slave device is a corresponding link according to a communication connection manner adopted by the central slave device and the peripheral slave device, for example, when the Bluetooth communication method is used, the second communication link is used. Connect the link for Bluetooth. When connected by infrared (IrDA), the second communication link is an infrared connection link.
- IrDA infrared
- the process of establishing the second communication link may include: directional broadcast to the central slave device according to pairing information with the center slave device (pairing information includes but is not limited to identity information and key information, etc.) Sending a private address, so that the central slave device scans the private address to initiate a second connection request; the receiving center sends a second connection request from the device, and establishes a second communication link with the central slave device to form a slave device local area network.
- pairing information includes but is not limited to identity information and key information, etc.
- the peripheral slave device performs directed broadcast to the central slave device according to the pairing information with the central slave device, and sends a private address to the central slave device.
- the central slave device scans the device to the private address sent by the peripheral slave device, the second connection request is initiated, and the peripheral device initiates a second connection request.
- the second communication link is established with the central slave device in response to the second connection request to form a slave device local area network.
- S402 Acquire link information of the first communication link from the central slave device.
- the link information may include different parameters according to different communication modes and communication protocols, and the link information may include, but is not limited to, time information, frequency information, encoding rules, and encrypted information.
- the peripheral slave device acquires link information of the first communication link from the central slave device through the second communication link.
- S403 Establish a listening link with the master device according to the link information, and listen for data transmitted on the first communication link.
- the interception link of the listening master device may be established according to the link information, thereby acquiring the data distributed by the master device.
- S404 Send a data request message to the central slave device when there is an abnormality in the interception link.
- Exceptions to the listening link include, but are not limited to, peripheral slave devices losing packets, listening link disconnects, and the like.
- the peripheral slave device When there is an abnormality in the interception link, the peripheral slave device transmits a data request message to the central slave device through the second communication link, and the data request message is used to request the lost data packet from the central slave device.
- S405 Receive, by the second communication link, data requested by a data request message returned by the central device, wherein the data includes data sent by the primary device through the first communication link.
- the peripheral slave device receives data returned by the center slave device from the center slave device through the second communication link to ensure data distribution reliability.
- the networking method can form a wireless network system suitable for wireless data distribution, realize multi-user sharing data, and meet the requirements of data distribution quality service.
- the slave device can perform role switching and link switching without affecting the master device.
- FIG. 9 is a block diagram showing the structure of a chip according to Embodiment 5 of the present application.
- the chip of this embodiment may be disposed in a slave device.
- the chip in this embodiment includes: a first establishing module 901, configured to establish a first communication link with the master device; and a second establishing module 902, Establishing a second communication link with the at least one peripheral slave device to form a slave device local area network; the first sending module 903 is configured to send link information of the first communication link to each peripheral slave device, so that each peripheral slave device is configured according to The link information establishes a listening link with the master device to listen for data transmitted on the first communication link.
- the chip establishes a first communication link with the master device through the first establishing module, and the chip establishes a second communication link with the at least one peripheral slave device through the second establishing module to form a slave device local area network.
- the chip sends the link information of the first communication link to the peripheral slave device through the first sending module, so that each peripheral slave device can establish a listening link according to the link information, and acquire the master device to the chip through the interception link.
- the transmitted data implements data sharing between a master device and multiple slave devices (ie, chips).
- the master device communicates with only one slave device, that is, the central slave device (ie, the chip), and sends data to the slave device.
- the slave device in the device local area network is transparent to the master device, and the master device does not need to perform center-to-center slave device with the slave device.
- the same connection and data interaction of the device reduces the data processing burden of the main device and the entire network system, and improves the data processing efficiency.
- FIG. 10 is a block diagram showing the structure of a chip according to Embodiment 6 of the present application.
- the chip of this embodiment may be disposed in a slave device.
- the chip in this embodiment includes: a first establishing module 1001, configured to establish a first communication link with the master device; and a second establishing module 1002, Establishing a second communication link with the at least one peripheral slave device to form a slave device local area network; the first sending module 1003 is configured to send link information of the first communication link to each peripheral slave device, so that each peripheral slave device is configured according to The link information establishes a listening link with the master device to listen for data transmitted on the first communication link.
- the first sending module 1003 is further configured to send a system broadcast message, so that the master device initiates a first connection request after scanning the system broadcast message, and the chip further includes a first receiving module 1004, configured to receive the sending by the master device.
- the first connection request 1001 is configured to establish a first communication link with the master device according to the received first connection request.
- the chip further includes: a directional scanning module 1005, configured to perform directional scanning on each peripheral slave device according to pairing information with the at least one peripheral slave device; the first receiving module 1004 is further configured to receive each peripheral slave device The private address sent by the directional broadcast, wherein the private address of each peripheral slave device is different; the second establishing module 1002 in the chip is configured to respectively use the private address of each peripheral slave device received by the first receiving module 1004 and the corresponding peripheral The device establishes a second communication link to form a slave device local area network.
- a directional scanning module 1005 configured to perform directional scanning on each peripheral slave device according to pairing information with the at least one peripheral slave device
- the first receiving module 1004 is further configured to receive each peripheral slave device The private address sent by the directional broadcast, wherein the private address of each peripheral slave device is different
- the second establishing module 1002 in the chip is configured to respectively use the private address of each peripheral slave device received by the first receiving module 1004 and the corresponding peripheral The device establishes a second communication link to form
- the link information of the first communication link includes: time information, frequency information, encoding rules, and encryption information.
- the chip establishes a first communication link with the master device through the first establishing module, and the chip establishes a second communication link with the at least one peripheral slave device through the second establishing module to form a slave device local area network.
- the chip sends the link information of the first communication link to the peripheral slave device through the first sending module, so that each peripheral slave device can establish a listening link according to the link information, and acquire the master device to the chip through the interception link.
- the transmitted data implements data sharing between a master device and multiple slave devices (ie, chips).
- the master device communicates with only one slave device, that is, the central slave device (ie, the chip), and sends data to the slave device.
- the slave device in the device local area network is transparent to the master device, and the master device does not need to perform center-to-center slave device with the slave device.
- the same connection and data interaction of the device reduces the data processing burden of the main device and the entire network system, and improves the data processing efficiency.
- FIG. 11 is a block diagram showing the structure of a chip according to Embodiment 7 of the present application.
- the chip of this embodiment may be disposed in a slave device.
- the chip in this embodiment includes: a third setup module 1101, configured to establish a second communication link with the central slave device to form a slave device local area network, and the center Establishing a first communication link between the slave device and the master device; the link information acquiring module 1102, configured to acquire link information of the first communication link from the central slave device; and the interception link establishing module 1103, configured to use the chain
- the road information establishes a listening link with the master device to listen for data transmitted on the first communication link.
- the chip establishes a second communication link with the central slave device through the third setup module and forms a slave device local area network.
- the master device communicates with only one slave device, that is, the center slave device, and transmits data to the slave device.
- the slave device (ie, the chip) in the device LAN is transparent to the master device, and the master device does not need to perform center-to-center slave device with the slave device.
- the same connection and data interaction of the device reduces the data processing burden of the main device and the entire network system, and improves the data processing efficiency.
- FIG. 12 is a block diagram showing the structure of a chip according to Embodiment 8 of the present application.
- the chip of this embodiment may be disposed in a slave device.
- the chip in this embodiment includes: a third setup module 1201, configured to establish a second communication link with the central slave device to form a slave device local area network, and the center Establishing a first communication link between the slave device and the master device; the link information obtaining module 1202 is configured to obtain link information of the first communication link from the center slave device; and the interception link establishing module 1203 is configured to use the chain
- the road information establishes a listening link with the master device to listen for data transmitted on the first communication link.
- the chip further includes: a second sending module 1204, configured to send a data request message to the central slave device when the interception link is abnormal; and a second receiving module 1205, configured to receive the center by using the second communication link Data requested by a data request message returned by the device, wherein the data includes data transmitted by the master device over the first communication link.
- a second sending module 1204 configured to send a data request message to the central slave device when the interception link is abnormal
- a second receiving module 1205 configured to receive the center by using the second communication link Data requested by a data request message returned by the device, wherein the data includes data transmitted by the master device over the first communication link.
- the second sending module 1204 is further configured to send a private address to the central slave device by using the directed broadcast according to the pairing information with the central slave device, so that the second slave connection request is initiated after the central slave device scans the private address;
- the second receiving module 1205 is further configured to receive a second connection request sent by the central slave device, and the third establishing module 1201 is configured to establish a second communication link with the central slave device according to the received second connection request to form a slave device local area network.
- the link information of the first communication link includes: time information, frequency information, encoding rules, and encryption information (ie, encryption rules).
- the chip establishes a second communication link with the central slave device through the third setup module and forms a slave device local area network.
- the master device communicates with only one slave device, that is, the center slave device, and transmits data to the slave device.
- the slave device (ie, the chip) in the device LAN is transparent to the master device, and the master device does not need to perform center-to-center slave device with the slave device.
- the same connection and data interaction of the device reduces the data processing burden of the main device and the entire network system, and improves the data processing efficiency.
- the chips in the fifth or sixth embodiment may be combined with the chips in the seventh or eighth embodiment, and may of course be independently set.
- the two can be simultaneously disposed in the same slave device, and when the slave device is a center slave device, the function of the chip in Embodiment 5 or 6 is performed; when the slave device is a peripheral slave device, Embodiment 7 or 8 is executed.
- the function of the chip is executed.
- FIG. 13 is a block diagram showing the structure of a wireless network system according to Embodiment 9 of the present application.
- the wireless network system of this embodiment includes a master device 10 and a slave device, and the master device 10 can perform data transmission with the slave device.
- the slave device includes a center slave device 21 and at least one peripheral slave device 22.
- the central slave device 21 is used to connect and communicate with the master device 10, and constitutes a slave device local area network with the peripheral slave device 22, and transmits link information of the first communication link to the peripheral slave device 22 from the device local area network.
- the peripheral slave device 22 can establish a listening link according to the link information of the first communication link to listen for data of the first communication link.
- the chip of the foregoing fifth embodiment or the sixth embodiment can be applied to a center slave device.
- the wireless network system can be established by the networking method of the first embodiment or the second embodiment.
- the first communication link may use a different wireless communication protocol than the second communication link, or may use the same wireless communication protocol.
- the wireless network system can be applied to a wireless data distribution transmission scenario, for example, a mobile terminal (such as a mobile phone, a pad, etc.) sends audio, voice, and the like to a wireless headset; for example, multi-user performs data sharing, and realizes multi-person wireless video and audio sharing;
- the wireless network system can be applied to the Internet of Things to implement data distribution of the wireless local area network, and the data can be distributed to multiple slave devices through one master device.
- the wireless network system can also be applied to other wireless network usage environments to implement data distribution.
- the master device 10 may be a data source device for actively establishing a first communication link with the central slave device 21 and distributing data over the first communication link.
- the master device 10 may be a source device for storing and transmitting data, which may be a mobile terminal that stores music files such as a mobile phone or a television that plays video.
- the slave device is used to acquire data from the master device 10.
- the slave device can be a sink device.
- the sink device is a device that receives data from the source device, which may be any suitable wireless terminal device such as a wireless headset, speaker, or the like.
- the number of slave devices is at least two, one of the slave devices is connected to the master device 10, and the first communication link is established, the slave device is the central slave device 21, and the central slave device 21 is from the master device 10 through the first communication link. retrieve data.
- the other slave devices are peripheral slave devices 22, and each peripheral slave device 22 establishes a second communication link with the central slave device 21 to form a slave device local area network.
- the slave device local area network may be a local area network of any suitable topology, including but not limited to a star topology of a star topology.
- a listening link is established between each peripheral slave device 22 and the master device 10, and data is acquired from the master device 10 through the interception link.
- the wireless network system has three types of links: a first communication link established between the master device 10 and the central slave device 21, and a second established between the central slave device 21 and each peripheral slave device 22.
- the communication link, and the Listen link established between each peripheral slave device 22 and the master device 10, are all wireless links or partially wired links.
- the first communication link and the second communication link may be based on different wireless communication protocols or standards according to different wireless transmission modes.
- the master device 10 and the central slave device 21 can communicate with each other through WI-FI, thereby establishing a first communication link according to the WI-FI communication protocol, and the central slave device 21 and the peripheral slave device 22 can communicate via Bluetooth.
- a second communication link is established in accordance with the Bluetooth communication protocol.
- the master device 10 scans and listens to the system broadcast message sent by the slave device, and establishes a first communication link with the slave device corresponding to the system broadcast message that is scanned and detected.
- the first communication link is established, it is initiated by the master device 10, and a plurality of (the plurality refers to at least two) slave devices establish a connection.
- the system broadcast message that the master device 10 scans again after the connection establishment is completed will be ignored.
- multiple slave devices may send system broadcast messages to the master device 10 in a time division multiplexing manner, that is, each slave device sends a system broadcast message to the master device 10 within a certain set period of time.
- the slave device that sends the system broadcast message within the time period is determined as the slave device to be connected, and establishes a first communication link with the corresponding communication link.
- the connected slave device becomes the center slave device 21.
- the master device 10 serves as the master end of the first communication link and is responsible for link creation, link parameter management, data interaction, and the like.
- the link parameters may be carried in the link information sent by the central slave device 21 to the peripheral slave device 22.
- the link parameters may include different parameters depending on the communication protocol employed. Taking Bluetooth low energy (BLE) as an example, link parameters include, but are not limited to, connection interval information, frequency hopping algorithm information, frequency hopping interval information, frequency hopping channel map information, link timeout time, and link permission. Delay parameters, time information, frequency information, encoding rules, and encryption information.
- the slave device local area network between the plurality of slave devices is initiated and established by the center slave device 21.
- the central slave device 21 scans the directed broadcast message sent by the peripheral slave device 22 to the central slave device 21, and establishes a second communication link with the peripheral slave device 22 corresponding to the directed broadcast broadcast message.
- information interaction is first performed between the slave devices to obtain information for establishing a slave device local area network, for example, identity information of the slave device, key information, and the like.
- the identity information may include a private address for uniquely identifying the corresponding slave device.
- the central slave device 21 directionally scans and listens to each peripheral slave device 22.
- the scan detects the directed broadcast message sent by the peripheral slave device 22, it establishes a second communication link with it and is composed of multiple slaves.
- the local area network of the device that is, the slave device LAN.
- the slave device that establishes the first communication link with the master device 10 acts as the central slave device 21 of the slave device local area network, and is responsible for managing the second communication link between the peripheral slave device 22 and the peripheral slave device 22 that joins the device local area network and Perform data interaction.
- the slave device local area network established by the central slave device 21 and each peripheral slave device 22 may adopt a star network structure, or may adopt a more complex scattering network structure or other suitable structure, for example, one device exists simultaneously in multiple PICONETs (piconet) In the structure, the data can be relayed through the network node.
- PICONETs piconet
- the central slave device 21 After the central slave device 21 successfully establishes the first communication link with the master device 10, the central slave device 21 transmits the relevant link information of the first communication link to each peripheral slave device 22 connected thereto for each peripheral.
- the slave device 22 establishes a listening link with the master device 10. That is, for the peripheral slave device 22, each peripheral slave device 22 acquires link information of the first communication link from the center slave device 21 through the second communication link, and establishes a listening link based on the link information.
- each peripheral slave device 22 listens for communication between the master device 10 and the center slave device 21 through the interception link, and acquires the master device 10 from the master device 10 to the center according to the interception result.
- the data sent by device 21 For example, when the master device 10 transmits data (e.g., application data) to the center slave device 21, the peripheral slave device 21 can obtain the data by listening.
- data e.g., application data
- the central slave device 21 goes to the periphery through the second communication link.
- Device 22 retransmits the data that was not correctly received by listening to the first communication link. That is, the central slave device 21 can provide the peripheral slave device 22 with a data distribution quality service when the interception link is abnormal, by which the peripheral slave device 22 that detects the link abnormality can acquire the missing data from the center slave device 21, The integrity of the data is guaranteed.
- the central slave device 21 and the peripheral slave device 22 may also perform switching of the center slave device according to a setting rule, that is, perform role switching, for example, according to the center slave device 21 and the periphery.
- the state of the device 22 is switched by the central slave device 21 in accordance with the setting rules to ensure the reliability of data transmission and the quality of data distribution.
- the setting rule can be appropriately set by a person skilled in the art according to actual needs, for example, setting the device power, the signal strength, the data sending and receiving probability, and the like, if the current central slave device 21 cannot reach the set power. If the device power, or the signal strength cannot meet the set signal strength, or the data transmission probability cannot meet the set probability, then one of the plurality of peripheral slave devices 22 can be selected to replace the current central slave device, and the current The central slave device can act as a new peripheral slave device, thereby performing a role switch of the center slave device 21.
- This switching process is performed inside the slave LAN, since all the slaves in the slave LAN communicate with the master 10 through a uniform address, so the handover is transparent to the master 10, thereby ensuring system stability. .
- the master device 10 of the wireless network system of this embodiment only establishes a connection with one of the plurality of slave devices (ie, the center slave device 21), and only needs to pass its corresponding first communication protocol on the first communication link (may be
- the standard communication protocol distributes data so that the amount of data processing of the master device 10 is small, so that the data processing efficiency of the master device 10 is high.
- All the slave devices in the wireless network system form a slave device local area network, based on the link information of the first communication link provided by the central slave device 21 in the slave device local area network, the plurality of peripheral slave devices 22 establish and the master device 10 Between the listening links, the data sent by the master device 10 can be shared by multiple slave devices through the listening link, which improves the data sharing efficiency and does not impose an additional burden on the data processing of the master device.
- the peripheral slave device 21 in the device local area network obtains data and data quality services through the listening link and the second communication link between the central slave device 21 (the data quality service is a type of data source that ensures that the data receiver can obtain complete data).
- the service mechanism is used to ensure the reliability of the data transmission, that is, all the master devices 10 can obtain the data to be distributed, and the data integrity obtained by the peripheral slave device 21 is ensured, thereby ensuring the reliability of the wireless network system.
- the wireless network system has good scalability, and the new peripheral slave device 22 can be conveniently added to the slave device local area network as long as it does not exceed the total capacity of the slave device local area network.
- Each slave device can adopt a unified configuration (that is, the hardware configuration and software configuration of each slave device are the same, so in the wireless network system, although the initial assignment of each slave device is different, so that they are in different network roles, but the subsequent According to actual needs, make it a role switch).
- the total capacity of the slave LAN can be determined according to several factors, such as data throughput rate, probability of data reception success of the current listening link, and the like.
- the central slave device of the wireless network system can obtain data quality service from the master device, and the peripheral slave device can obtain data quality service from the center slave device, thereby ensuring that each slave device can acquire complete data, thereby ensuring data transmission. Stability and quality of data transmission.
- the slave LAN can easily add new peripheral slaves, increasing the scalability of the network.
- Each peripheral slave device acquires data distributed by the master device to the central slave device through the listening link, thereby realizing that the master device only establishes one link, so that multiple users can share data, and the multi-user data sharing requirement is satisfied, and The master device establishes only one link and communicates only with the central slave device.
- the data processing load is reduced and the data processing efficiency is improved.
- the wireless network system can meet the wireless data transmission requirements of multiple clients, and builds a quality service system for wireless network data distribution, ensuring that each client can correctly and timely receive data distributed by the data source.
- the embodiment provides a wireless network system, which includes a master device, a central slave device, and a peripheral slave device.
- the chip of the seventh embodiment or the eighth embodiment can be applied to a peripheral slave device.
- the wireless network system can be established by the networking method of the third embodiment or the fourth embodiment.
- the central slave device of the wireless network system can obtain data quality service from the master device, and the peripheral slave device can obtain data quality service from the center slave device, thereby ensuring that each slave device can obtain complete data, thereby ensuring data transmission stability and Data transmission quality.
- the slave LAN can easily add new peripheral slaves, increasing the scalability of the network.
- Each peripheral slave device acquires data distributed by the master device to the central slave device through the listening link, thereby realizing that the master device only establishes one link, so that multiple users can share data, and the multi-user data sharing requirement is satisfied, and The master device establishes only one link and communicates only with the central slave device.
- the data processing load is reduced and the data processing efficiency is improved.
- the wireless network system can meet the wireless data transmission requirements of multiple clients, and builds a quality service system for wireless network data distribution, ensuring that each client can correctly and timely receive data distributed by the data source.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请实施例提供一种组网方法、芯片及无线网络系统,属于通信技术领域。该组网方法,方法包括:与主设备建立第一通信链路;与至少一个外围从设备建立第二通信链路,形成从设备局域网;向各外围从设备发送第一通信链路的链路信息,以使各外围从设备根据链路信息与主设备建立侦听链路,侦听第一通信链路上传输的数据。该组网方法能够实现多方共享数据。
Description
本申请实施例涉及通信技术领域,尤其涉及一种组网方法、芯片及无线网络系统。
随着通信技术的发展,无线数据通信进入爆发期,基于无线数据通信的应用随处可见,比如基于音频的无线耳机个人应用等。其中,无线个人局域网(Wireless Personal Area Network,缩写为WPAN)是一种被广泛应用的无线数据通信方式,WPAN被用在诸如电话、计算机、附属设备以及小范围(个人局域网的工作范围一般是在10米以内)内的数字助理设备之间的通信。通过WPAN,设备之间可以实现点对点的数据交互,比如:移动终端与无线耳机之间的无线网络数据交互等。在WPAN中,通用的无线链路可以采用WIFI、IrDA或蓝牙等无线链路方式。但如上所述,现有的WPAN中设备间只能实现点对点的数据交互,而无法同时实现一个设备与其它多个设备之间的数据交互,无法满足多个设备共享数据的需求。
发明内容
有鉴于此,本申请实施例所解决的技术问题之一在于提供一种组网方法、芯片及无线网络系统,用以克服现有技术中的WPAN不能实现多个设备同时共享数据的问题。
根据本申请实施例的第一方面,提供一种组网方法,包括:与主设备建立第一通信链路;与至少一个外围从设备建立第二通信链路,形成从设备局域网;向各外围从设备发送第一通信链路的链路信息,以使各外围从设备根据链路信息与主设备建立侦听链路,侦听第一通信链路上传输的数据。
根据本申请实施例的第二方面,提供另一种组网方法,包括:与中心从设备建立第二通信链路,形成从设备局域网,中心从设备与主设备之间建立第一通信链路;从中心从设备获取第一通信链路的链路信息;根据链路信息建立与主设备的侦听链路,侦听第一通信链路上传输的数据。
根据本申请实施例的第三方面,提供一种芯片,包括:第一建立模块,用于与主设备建立第一通信链路;第二建立模块,用于与至少一个外围从设备建立第二通信链路,形成从设备局域网;第一发送模块,用于向各外围从设备发送第一通信链路的链路信息,以使各外围从设备根据链路信息与主设备建立侦听链路,侦听第一通信链路上传输的数据。
根据本申请实施例的第四方面,提供另一种芯片,包括:第三建立模块,用于与中心从设备建立第二通信链路,形成从设备局域网,中心从设备与主设备之间建立第一通信链路;链路信息获取模块,用于从中心从设备获取第一通信链路的链路信息;侦听链路建立模块,用于根据链路信息建立与主设备的侦听链路,侦听第一通信链路上传输的数据。
根据本申请实施例的第五方面,提供一种无线网络系统,包括主设备、中心从设备和外围从设备,如前述第三方面中的芯片应用于中心从设备。
根据本申请实施例的第六方面,提供另一种无线网络系统,包括主设备、中心从设 备和外围从设备,如前述的第四方面中的芯片应用于外围从设备。
由以上技术方案可见,本申请实施例提供的组网方法、芯片及无线网络系统中,中心从设备与主设备建立第一通信链路,其中,主设备可以通过第一通信链路向中心从设备发送数据。中心从设备还可以与至少一个外围从设备建立第二通信链路,并可以通过第二通信链路向各外围从设备发送第一通信链路的链路信息,使外围从设备可以建立侦听链路,从而使各外围从设备可以通过侦听链路获取主设备向中心从设备发送的数据,实现了一个主设备对多个从设备的数据共享。此外,主设备仅与一个从设备即中心从设备通信,向其发送数据,从设备局域网中的外围从设备对于主设备是透明的,主设备无需与外围从设备进行与中心从设备相同的连接和数据交互,从而减轻了主设备和整个网络系统的数据处理负担,提高了数据处理效率。
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1示出了根据本申请实施例一的组网方法的流程示意图;
图2示出了根据本申请实施例二的组网方法的流程示意图;
图3示出了根据本申请实施例二的组网方法中的从设备进行系统广播、定向广播和定向扫描的时分复用的过程图;
图4示出了根据本申请实施例二的组网方法中正常情况下的数据传输示意图;
图5示出了根据本申请实施例二的组网方法中第一通信链路异常情况下的数据传输示意图;
图6示出了根据本申请实施例二的组网方法中侦听链路异常情况下的数据传输示意图;
图7示出了根据本申请实施例三的组网方法的流程示意图;
图8示出了根据本申请实施例四的组网方法的流程示意图;
图9示出了根据本申请实施例五的芯片的结构框图;
图10示出了根据本申请实施例六的芯片的结构框图;
图11示出了根据本申请实施例七的芯片的结构框图;
图12示出了根据本申请实施例八的芯片的结构框图;
图13示出了根据本申请实施例九的无线网络系统的结构框图。
为使得本申请实施例的发明目的、特征、优点能够更加的明显和易懂,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请实施例一部分实施例,而非全部实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请实施例保护的范围。
下面结合本申请实施例附图进一步说明本申请实施例具体实现。
实施例一
参照图1,示出了根据本申请实施例一的组网方法的流程示意图,本实施例从中心从 设备的角度对本申请实施例提供的组网方法进行说明。根据本申请的实施例,该组网方法用于将无线设备连接并组成无线网络系统。该方法包括:
S101:与主设备建立第一通信链路。
其中,待组建的无线网络系统包括主设备和从设备。主设备可以与从设备进行数据传输,从设备包括中心从设备和至少一个外围从设备。其中,中心从设备是从设备中处于中心地位的从设备,其通过第一通信链路与主设备进行数据传输,而外围从设备是从设备中除中心从设备之外的从设备,其通过下文中建立的侦听链路侦听第一通信链路上的数据。
主设备可以主动与中心从设备建立第一通信链路,并分发数据,中心从设备通过第一通信链路从主设备获取主设备分发的数据。其中,主设备可以是诸如移动终端、智能电视等具有数据处理和通信功能的设备。而中心从设备和外围从设备可以是蓝牙耳机、扬声器等可以从主设备接收数据的设备。
第一通信链路可以为任意适当的无线通信链路,包括但不限于,WIFI链路、蓝牙链路等等。
S102:与至少一个外围从设备建立第二通信链路,形成从设备局域网。
第二通信链路根据中心从设备与外围从设备采用的通信连接方式的不同而为对应的链路,例如,中心从设备与外围从设备采用蓝牙方式连接时,第二通信链路为蓝牙连接链路。中心从设备与外围从设备通过红外(IrDA)方式连接时,第二通信链路为红外连接链路。
第二通信链路可以采用与第一通信链路相同的通信协议,也可以采用不同的通信协议。例如,第一通信链路和第二通信链路均为蓝牙链路,又或者,第一通信链路为WIFI链路,第二通信链路为蓝牙链路。
中心从设备与至少一个外围从设备组成从设备局域网。外围从设备通过第二通信链路与中心从设备通信,从中心从设备获取第一通信链路的链路信息、数据质量服务等。
S103:向各外围从设备发送第一通信链路的链路信息,以使各外围从设备根据链路信息与主设备建立侦听链路,侦听第一通信链路上传输的数据。
外围从设备从中心从设备获取到第一通信链路的链路信息后,可以根据这些链路信息建立侦听主设备的侦听链路,从而获取主设备分发的数据。
链路信息根据采用的通信方式和通信协议的不同可以包含不同参数,例如,可以包括但不限于时间信息、频率信息、编码规则和加密信息等信息。
该组网方法中,中心从设备与主设备建立第一通信链路,其中,主设备可以通过第一通信链路向中心从设备发送数据。中心从设备还可以与至少一个外围从设备建立第二通信链路,并可以通过第二通信链路向各外围从设备发送第一通信链路的链路信息,使外围从设备可以建立侦听链路,从而使各外围从设备可以通过侦听链路获取主设备向中心从设备发送的数据,实现了一个主设备对多个从设备的数据共享。此外,该组网方法能够实现主设备仅与一个从设备即中心从设备通信,向其发送数据,从设备局域网中的外围从设备对于主设备是透明的,主设备无需与外围从设备进行与中心从设备相同的连接和数据交互,从而减轻了主设备和整个网络系统的数据处理负担,提高了数据处理效率。
实施例二
图2示出了根据本申请实施例二的组网方法的流程示意图,本实施例仍从中心从设备的角度对本申请实施例提供的组网方法进行说明。如图2所示,该组网方法可以用于组建 无线网络系统。
该组网方法根据采用的无线通信协议的不同而不同,下面以BLE(Bluetooth Low energy)通信为例,描述整个无线网络系统的链路建立的全过程。但本领域技术人员应当明了的是,BLE通信场景仅为示例性说明,在实际使用中,本领域技术人员可以参照本申请实施例的方案,实现其它通信场景下的无线网络系统组网。
通过本实施例的组网方法组建的无线网络系统包括主设备和从设备,主设备可以与从设备进行数据传输,从设备包括中心从设备和至少一个外围从设备。其中,中心从设备用于与主设备连接并通信,且与外围从设备组成从设备局域网,并通过从设备局域网向外围从设备发送第一通信链路的链路信息。外围从设备可以根据第一通信链路的链路信息建立侦听链路,以侦听第一通信链路的数据。
本实施例的组网方法包括:
S201:多个从设备之间进行信息交互,并保存交互信息,其中交互信息包括身份信息和密钥信息。
本步骤中,多个从设备包括中心从设备和一个或多个外围从设备。
以蓝牙通信为例,通过蓝牙通信的设备进行无线网络系统建立之前,可以先进行信息交互,在蓝牙通信中信息交互可以采用设备配对的方式实现。例如,通过设备配对,多个从设备之间进行身份信息、密钥信息等配对信息的交互。从设备可以保存交互的配对信息,用于后续链路通信中进行身份识别和数据交换。
从设备配对行为可以通过某种特定的行为或事件触发,比如按压外部按键、给从设备充电事件等。配对可以采用有线或者无线传输方式,可以基于标准的通信协议或者私有协议完成。
以蓝牙通信为例,从设备通过配对信息进行蓝牙配对。其中,配对信息包括但不限于身份信息和密钥信息等。身份信息包括:系统地址(System Address)和私有地址(Private Address),系统地址是在所有从设备中共享的地址,是从设备局域网对外的统一地址,而私有地址则是各从设备独有的地址,用于表征每个从设备。
从设备配对时交互的密钥信息可以是在从设备局域网中第二通信链路上使用的加密信息,以保证信息传递的安全性。
需要说明的是,虽然在本实施例中将从设备进行信息交互作为第一步骤进行说明,但本领域技术人员应当明了的是,本步骤可以在步骤S203之前的任意时机执行,不限于本实施例的执行顺序。此外,若从设备上已经存在了相应的交互信息,则可以省略该步骤。
S202:与主设备建立第一通信链路。
主设备是数据源的拥有者,在无线网络系统组建完成之前,主设备通过不断的扫描侦听,识别潜在的从设备,当发现从设备后,会主动发起连接,创建第一通信链路。此时,主设备转入链路连接状态,同时作为第一通信链路的master端,负责链路参数维护及数据分发。
从设备是应用数据的受众,是数据的消费者,在网络建立之前,作为广播者(Advertiser),不断通过系统地址(System Address)广播自己的相关信息,希望能被主设备扫描到,并与之建立连接。其中,与主设备建立第一通信链路的从设备为中心从设备。
当从设备上电、按键或检测处于进入工作状态后,会创建三种活动:系统广播(system-ADV)、定向广播(Direct-ADV)和定向扫描(Direct-Scan),其中定向广播 和定向扫描是基于上面描述的设备配对的私有地址信息进行的,系统广播是基于系统地址进行的。
如图3所示,这三种活动采用时分复用,可以基于一种通信标准或者两种不同的通信标准进行。图3中的横坐标为时间轴,从图3中可以看出在同一个设备上,三种不同活动的发生时间是不同的,从设备在第一时隙内进行系统广播,在第二时隙内进行定向广播,第三时隙内进行定向扫描。相邻的两次系统广播之间形成系统广播周期(System Adv Interval),相邻的两次定向广播之间形成定向广播周期(Direct Adv Interval),相邻的两次定向扫描之间形成定向扫描区间(Direct Scan Interval)。
可选地,中心从设备与主设备建立第一通信链路的具体过程包括:
中心从设备发送系统广播消息,以使主设备扫描到系统广播消息后发起第一连接请求;中心从设备接收主设备发送的第一连接请求;中心从设备与主设备建立第一通信链路。
换言之,当主设备扫描侦听到从设备系统广播的系统广播消息后,会主动发起连接,即根据侦听到的从设备的信息生成连接请求,并发送给侦听到的从设备。该侦听到的从设备响应这一连接请求与主设备建立第一通信链路,实现连接。该侦听到的从设备即为中心从设备。
同时由于各从设备采用了相同的系统地址(system address)进行系统广播,一旦第一通信链路创建成功后,其他相同的使用system address的系统广播将被主设备系统过滤,因此,在整个无线网络系统中,只会存在一条第一通信链路。第一通信链路上的从设备将会成为从设备局域网的中心从设备,其他从设备为从设备局域网中的外围从设备。
S203:与至少一个外围从设备建立第二通信链路,形成从设备局域网。
中心从设备和外围从设备除了通过系统地址进行系统广播之外,还会通过私有地址(Private Address)进行定向广播和定向扫描,从而建立各外围从设备与中心从设备之间的从设备局域网。
具体地,中心从设备根据与至少一外围从设备的配对信息,对各外围从设备进行定向扫描,接收各外围从设备通过定向广播发送的私有地址,其中,各外围从设备的私有地址不同,分别与各私有地址对应的外围从设备建立第二通信链路,形成从设备局域网。
其中,当触发条件成立时,成功加入从设备局域网的外围从设备将通过协商切换成为从设备局域网(Device Lan)的中心从设备。
外围从设备切换为中心从设备有两个触发条件,满足其中一个就可以进行切换,其一,与主设备建立第一通信链路的从设备,若并非从设备局域网的原中心从设备,则可以协商切换为新的中心从设备,例如,从设备局域网建立完成后,主设备扫描到从设备局域网中的一个从设备,并与该从设备建立第一通信链路,若该从设备在从设备局域网中并非中心从设备,则与当前的中心从设备协议切换为中心从设备;其二,根据当前从设备局域网的中心从设备的要求进行切换。例如,当中心从设备判断自身当前电量过低时,可以根据筛选策略筛选出合适的外围从设备,并与外围从设备协商进行中心从设备与外围从设备的切换。
需要说明的是,本实施例中以先执行步骤S202后执行步骤S203为例,但在实际应用中,也可以先执行步骤S203后执行步骤S202,或者,也可以并行执行。
S204:向各外围从设备发送第一通信链路的链路信息,以使各外围从设备根据链路信息与主设备建立侦听链路,侦听第一通信链路上传输的数据。
中心从设备与外围从设备建立第二通信链路之后,中心从设备可以通过第二通信链路 向外围从设备发送第一通信链路的链路信息,以向外围从设备提供建立侦听(Listen)链路的信息。其中,第一通信链路的链路信息包括但不限于链路的时间信息、频率信息、编码规则和加密信息。可选地,链路信息还可以包括接入地址信息。中心从设备负责把第一通信链路的链路信息在从设备局域网内进行分发,外围从设备可以根据这些信息建立同步的侦听(listen)链路,获取第一通信链路上分发的数据。
在建立无线网络系统的第一通信链路、第二通信链路和侦听链路这三种链路之后,中心从设备就可以为外围从设备提供数据质量服务(QoS:Quality of Service),以确保该无线网络系统的数据分发可靠性。
下面对该无线网络系统的数据质量服务进行详细说明:
对该无线网络系统而言,为了保证能稳定可靠的传输分发各类数据,通用通信协议都会在标准设计中考虑各种握手机制,确保数据能按照预定计划送达。其中,此处提到的握手机制用于保证数据传输的质量,以进行数据的顺利传递,提供可靠的数据服务。
在本实施例的网络拓扑结构中,能够在不变动主设备的前提下,安全可靠且实时的将主设备分发的数据在整个从设备局域网中进行发送,为此需要保证上述三种链路的可靠性。
而本实施例中,第一通信链路可以采用标准的通信协议,比如BLE(Bluetooth Low Energy,低功耗蓝牙)、BT(Bluetooth,经典蓝牙技术标准)、WI-FI,以进行数据传输和数据质量服务。
第二通信链路与第一通信链路类似,也是可以基于标准协议,例如WI-FI通信、蓝牙通信或者IrDA通信等。第一通信链路和第二通信链路所采用的通信协议可以相同也可以不同。
对于该无线网络系统而言,数据分发的可靠性取决于侦听链路的可靠性。由于外围从设备通过静默侦听方式获取所需的数据,主设备无法感知这些外围从设备的存在,因此也无法通过标准协议提供可靠的数据质量服务。故而在本实施例中,提供一种通过中心从设备为外围从设备提供数据质量服务的方法,具体如下:
当侦听链路收到的信号强度(RSSI:received signal strength indicator)高于外围从设备的接收灵敏度且无干扰条件下,外围从设备可以正确解析数据包获得所需的数据,此时侦听正常,外围从设备可以通过侦听链路获取主设备分发的数据。
在接收信号强度低于灵敏度条件或者存在干扰时,外围从设备无法通过侦听链路直接获取数据。在本实施例中,当侦听失效时,由从设备局域网(Device Lan)的中心从设备为各外围从设备提供数据质量服务(QoS服务),即当侦听链路存在异常时,由外围从设备向中心从设备通过第二通信链路提出数据请求服务,中心从设备在收到数据请求消息后,将相关的数据重传给对应的外围从设备。
对于实际的数据传输过程有以下三种情况,描述如下:
图4示出的是第一通信链路和侦听链路均接收正常的情形。当第一通信链路和侦听链路均正常时,中心从设备通过第一通信链路接收数据,外围从设备通过侦听链路接收在第一通信链路上传输的数据。
此种情况下,数据传输过程为:如图4所示,主设备(Audio Source)在一个连接周期(Connect Interval)内,通过第一通信链路向中心从设备发送一个数据包(Packet_n),并收到一个由中心从设备(Audio Sink/Central)返回的响应消息(ACK_n),该响应消 息用于指示数据包正常未丢失。之后,主设备继续在下一个连接周期内,向中心从设备发送下一个数据包(Packet_n+1),并接收到从中心从设备返回的响应消息(ACK_n+1)。
对于中心从设备(Audio sink/central)来说,其在一个连接周期内,通过第一通信链路接收到主设备发送的一个数据包(Packet_n),并向主设备返回一个响应消息(ACK_n),该响应消息用于指示数据包正常未丢失。之后,中心从设备继续在下一个连接周期内,接收主设备发送的下一个数据包(Packet_n+1),并向主设备返回一个响应消息(ACK_n+1)。
对于外围从设备(Audio sink/Peripherals)来说,在一个连接周期内,通过侦听链路接收到一个数据包(Packet_n)和一个响应消息(ACK_n)。之后,外围从设备继续在下一个连接区间内,接收下一个数据包(Packet_n+1)和一个响应消息(ACK_n+1)。即在第一通信链路上双向传输的数据,外围从设备均可侦听到。
图5示出的是第一通信链路中的中心从设备数据接收失败的情形。在主设备未能如期接收到中心从设备返回的ACK确认信息(响应消息)时,按照标准通信协议定义,主设备将自动重传之前的数据,直至数据传输成功或数据失效放弃或链路超时断开,在此过程中侦听(Listen)链路中有可能会收到多次相同的数据,因此在进行数据处理前,需要过滤掉重复的侦听数据。此种情况下,数据传输过程为:如图5所示,主设备(Audio Source)在一个连接周期(Connect Interval)内,通过第一通信链路向中心从设备发送一个数据包(Packet_n),但未能收到中心从设备返回的响应消息(ACK_n),即表示该数据包丢失或存在其他异常。此时,在下一连接周期,主设备重发该数据包(Packet_n Re-TX),若收到中心从设备返回的对应该重发的数据包的响应消息(ACK),则在下一连接周期正常发送下一数据包,反之继续重发该数据包直至数据失效或链路超时断开。
对于中心从设备(Audio sink/central)来说,在一个连接周期内,通过第一通信链路未能接收到主设备发送的数据包,从而未向主设备返回响应消息,直到下一连接周期内,中心从设备接收到主设备重发的数据包(Packet_n),并向主设备返回响应消息(ACK)。
对于外围从设备(Audio sink/Peripherals)来说,在一个连接周期内,通过侦听链路接收到一个数据包(Packet_n),而由于第一通信链路异常,未侦听到中心从设备返回的响应消息。在下一连接周期内接收到重发的数据包(Packet_n Duplicate)和响应消息(ACK),外围从设备过滤掉接收到的重复的数据包。
图6示出的是外围从设备在数据侦听失败后,通过向中心从设备请求发送侦听失败的数据包的过程。此种情况下,数据传输过程为:如图6所示,对于主设备(Audio Source)来说,在一个连接周期(Connect Interval)内,通过第一通信链路向中心从设备发送一个数据包(Packet_n),并接收到中心从设备返回的响应消息(ACK)。在下一个连接周期,发送下一数据包(Packet_n+1),并接收中心从设备返回的响应消息。
对于中心从设备(Audio sink/Central)来说,在一个连接周期内,通过第一通信链路接收到主设备发送的一个数据包(Packet_n),并向主设备返回一个响应消息(ACK)。此外,由于侦听链路存在异常,外围从设备无法侦听到数据包(Packet_n),中心从设备还通过第二通信链路接收到来自外围从设备(Audio sink/Perpherals)的请求数据包(ReqPacket_n),中心从设备响应该请求数据包将通过第一通信链路接收到的数据包 (Packet_n)发送给外围从设备,使外围从设备通过第二通信链路接收到该数据包(Packet_n)。在下一个连接周期,中心从设备接收到下一个数据包(Packet_n+1),并向主设备返回响应消息。
对于外围从设备来说,在一个连接周期内,未能通过侦听链路获得主设备发送的数据包(Packet_n),因此将请求数据包(ReqPacket_n)通过第二通信链路发送给中心从设备,从中心从设备获取其未能通过侦听链路接收到的数据包(Packet_n)。在下一个连接周期,外围从设备侦听到下一个数据包(Packet_n+1)和响应消息(ACK)。
由上可见,当侦听链路存在异常时,中心从设备接收侦听链路异常的外围从设备的数据请求消息;中心从设备响应数据请求消息,向侦听链路异常的外围从设备发送数据请求消息所请求的数据,其中,数据包括通过第一通信链路由主设备发送的数据。从而,保证了数据分发可靠性。
在本实施例中,由于中心从设备需要为外围从设备提供数据质量服务,为了保证数据传输可靠性,从设备局域网中的中心从设备和外围从设备可以进行角色及链路切换。
在本实施例的网络拓扑结构中,存在三种角色:主设备、中心从设备和外围从设备。在工作过程中,可以根据各从设备的具体情况,比如电量信息、平均数据包接收状况,进行中心从设备和外围从设备的切换。在角色切换的同时,与之对应的链路切换也会同步进行。通常的切换过程如下:
中心从设备按照设定规则和外围从设备的信息,进行中心从设备切换。具体例如:
当满足设定规则时,中心从设备切换为外围从设备,其上承载的第一通信链路也会切换为侦听链路。其中,设定规则可以是采用的通信协议中的规则,也可以是本领域技术人员根据实际需求设置的不同于通信协议中的规则。
与此同时,对应的一个外围从设备会切换为中心从设备,之前的侦听链路也会切换为第一通信链路。这个切换过程发生在同一时刻点,切换过程对于主设备是透明的,主设备无需感知这个变化过程。
需要说明的是,根据采用的通信协议的不同,进行切换的设定规则和方法可以不同。
该组网方法可以组建适用于无线数据分发的无线网络系统,实现多用户共享数据,满足数据分发质量服务需求。根据设定规则中心从设备可以进行角色切换、链路切换,而无需对主设备产生影响。
实施例三
图7示出了根据本申请实施例三的组网方法的流程示意图。如图7所示,该方法用于组建无线网络系统,该无线网络系统包括主设备和从设备,主设备可以与从设备进行数据传输,从设备包括中心从设备和至少一个外围从设备。其中,中心从设备用于与主设备连接并通信,且与外围从设备组成从设备局域网,并通过从设备局域网向外围从设备发送第一通信链路的链路信息。外围从设备可以根据第一通信链路的链路信息建立侦听链路,以侦听第一通信链路的数据。从设备包括至少一个中心从设备和至少一个外围从设备。
在本实施例中,从外围从设备的角度对本申请实施例提供的组网方法进行说明。
该组网方法包括:
S301:与中心从设备建立第二通信链路,形成从设备局域网,其中,中心从设备与主 设备之间建立第一通信链路。
中心从设备与主设备之间建立第一通信链路的过程和方式与前述以中心从设备为执行主体的实施例的过程和方式类似,故在此不再赘述。
外围从设备与中心从设备建立的第二通信链路,根据中心从设备与外围从设备采用的通信连接方式的不同而为对应的链路,例如,采用蓝牙方式连接时,第二通信链路为蓝牙连接链路。采用红外(IrDA)方式连接时,第二通信链路为红外连接链路。
外围从设备与中心从设备建立第二通信链路时,在一种可行的方式中,建立第二通信链路的过程和方式可以与前述的以中心从设备为执行主体的实施例的过程和方式类似,故在此不再赘述。
S302:从中心从设备获取第一通信链路的链路信息。
外围从设备与中心从设备建立第二通信链路之后,外围从设备通过第二通信链路获取中心从设备发送的第一通信链路的链路信息,以便外围从设备建立侦听链路。其中,链路信息包括但不限于时间信息、频率信息、编码规则和加密信息。
S303:根据链路信息建立与主设备的侦听链路,侦听第一通信链路上传输的数据。
外围从设备可以根据接收到的链路信息的参数建立同步侦听(listen)链路,获取第一通信链路上分发的数据。
该组网方法在主设备通过第一通信链路向中心从设备发送数据时,各外围从设备可以通过侦听链路获取主设备向中心从设备发送的数据,实现了一个主设备对多个从设备的数据共享。同样,外围从设备也可通过侦听链路获取到中心从设备通过第一通信链路向主设备发送的数据。此外,主设备仅与一个从设备即中心从设备通信,向其发送数据,从设备局域网中的外围从设备对于主设备是透明的,主设备无需与外围从设备进行与中心从设备相同的连接和数据交互,从而减轻了主设备和整个网络系统的数据处理负担,提高了数据处理效率。
实施例四
图8示出了根据本申请实施例四的组网方法的流程示意图。如图8所示,该方法用于组建无线网络系统。无线网络系统包括主设备和从设备,主设备可以与从设备进行数据传输,从设备包括中心从设备和至少一个外围从设备。其中,中心从设备用于与主设备连接并通信,且与外围从设备组成从设备局域网,并通过从设备局域网向外围从设备发送第一通信链路的链路信息。外围从设备可以根据第一通信链路的链路信息建立侦听链路,以侦听第一通信链路的数据。从设备包括至少一个中心从设备和至少一个外围从设备。
在本实施例中,从外围从设备的角度对本申请实施例提供的组网方法进行说明。
该组网方法包括:
S401:与中心从设备建立第二通信链路,形成从设备局域网,其中,中心从设备与主设备之间建立第一通信链路。
在一种可行方式中,中心从设备与主设备之间建立第一通信链路的方式可以包括:中心从设备进行系统广播,以广播系统地址;当主设备扫描到广播的系统地址时,发起第一连接请求,中心从设备响应该第一连接请求,与主设备建立第一通信链路。
外围从设备与中心从设备建立的第二通信链路,根据中心从设备与外围从设备采用的通信连接方式的不同而为对应的链路,例如,采用蓝牙方式连接时,第二通信链路为蓝牙 连接链路。采用红外(IrDA)方式连接时,第二通信链路为红外连接链路。
在一种可行的方式中,建立第二通信链路的过程可以包括:根据与中心从设备的配对信息(配对信息包括但不限于身份信息和密钥信息等),通过定向广播向中心从设备发送私有地址,以使中心从设备扫描到私有地址后发起第二连接请求;接收中心从设备发送的第二连接请求,与中心从设备建立第二通信链路,形成从设备局域网。
外围从设备根据与中心从设备的配对信息,对中心从设备进行定向广播,向其发送私有地址,当中心从设备定向扫描到该外围从设备发送的私有地址之后,发起第二连接请求,外围从设备接收到该第二连接请求后,响应该第二连接请求与中心从设备建立第二通信链路,以形成从设备局域网。
S402:从中心从设备获取第一通信链路的链路信息。
链路信息根据采用的通信方式和通信协议的不同可以包含不同参数,链路信息可以包括但不限于时间信息、频率信息、编码规则、和加密信息等信息。
外围从设备通过第二通信链路从中心从设备获取第一通信链路的链路信息。
S403:根据链路信息建立与主设备的侦听链路,侦听第一通信链路上传输的数据。
外围从设备从中心从设备获取到第一通信链路的链路信息后,可以根据这些链路信息建立侦听主设备的侦听链路,从而获取主设备分发的数据。
S404:当侦听链路存在异常时,向中心从设备发送数据请求消息。
侦听链路的异常包括但不限于外围从设备丢失数据包、侦听链路断开等。
当侦听链路存在异常时,外围从设备通过第二通信链路向中心从设备发送数据请求消息,数据请求消息用于向中心从设备请求丢失的数据包。
S405:通过第二通信链路接收中心从设备返回的数据请求消息所请求的数据,其中,数据包括通过第一通信链路由主设备发送的数据。
外围从设备通过第二通信链路从中心从设备接收中心从设备返回的数据,以保证数据分发可靠性。
该组网方法可以组建适用于无线数据分发的无线网络系统,实现多用户共享数据,满足数据分发质量服务需求。根据设定规则中心从设备可以进行角色切换、链路切换,而不会对主设备产生影响。
实施例五
图9示出了根据本申请实施例五的芯片的结构框图。如图9所示,本实施例的芯片可以设置在从设备中,本实施例的芯片包括:第一建立模块901,用于与主设备建立第一通信链路;第二建立模块902,用于与至少一个外围从设备建立第二通信链路,形成从设备局域网;第一发送模块903,用于向各外围从设备发送第一通信链路的链路信息,以使各外围从设备根据链路信息与主设备建立侦听链路,侦听第一通信链路上传输的数据。
该芯片通过第一建立模块与主设备建立第一通信链路,芯片通过第二建立模块与至少一个外围从设备建立第二通信链路,形成从设备局域网。芯片通过第一发送模块向外围从设备发送第一通信链路的链路信息,以使各外围从设备可以根据链路信息建立侦听链路,并通过侦听链路获取主设备向该芯片发送的数据,实现了一个主设备对多个从设备(即芯片)的数据共享。此外,主设备仅与一个从设备即中心从设备(即芯片)通信,向其发送数据,从设备局域网中的外围从设备对于主设备是透明的,主设备无需与外围从设备进行 与中心从设备相同的连接和数据交互,从而减轻了主设备和整个网络系统的数据处理负担,提高了数据处理效率。
实施例六
图10示出了根据本申请实施例六的芯片的结构框图。如图10所示,本实施例的芯片可以设置在从设备中,本实施例的芯片包括:第一建立模块1001,用于与主设备建立第一通信链路;第二建立模块1002,用于与至少一个外围从设备建立第二通信链路,形成从设备局域网;第一发送模块1003,用于向各外围从设备发送第一通信链路的链路信息,以使各外围从设备根据链路信息与主设备建立侦听链路,侦听第一通信链路上传输的数据。
可选地,第一发送模块1003,还用于发送系统广播消息,以使主设备扫描到系统广播消息后发起第一连接请求;芯片还包括第一接收模块1004,用于接收主设备发送的第一连接请求;芯片中的第一建立模块1001,用于根据接收的第一连接请求与主设备建立第一通信链路。
可选地,芯片还包括:定向扫描模块1005,用于根据与至少一外围从设备的配对信息,对各外围从设备进行定向扫描;第一接收模块1004,还用于接收各外围从设备通过定向广播发送的私有地址,其中,各外围从设备的私有地址不同;芯片中的第二建立模块1002,用于根据第一接收模块1004接收的各外围从设备的私有地址分别与对应的外围从设备建立第二通信链路,形成从设备局域网。
可选地,第一通信链路的链路信息包括:时间信息、频率信息、编码规则和加密信息。
该芯片通过第一建立模块与主设备建立第一通信链路,芯片通过第二建立模块与至少一个外围从设备建立第二通信链路,形成从设备局域网。芯片通过第一发送模块向外围从设备发送第一通信链路的链路信息,以使各外围从设备可以根据链路信息建立侦听链路,并通过侦听链路获取主设备向该芯片发送的数据,实现了一个主设备对多个从设备(即芯片)的数据共享。此外,主设备仅与一个从设备即中心从设备(即芯片)通信,向其发送数据,从设备局域网中的外围从设备对于主设备是透明的,主设备无需与外围从设备进行与中心从设备相同的连接和数据交互,从而减轻了主设备和整个网络系统的数据处理负担,提高了数据处理效率。
实施例七
图11示出了根据本申请实施例七的芯片的结构框图。如图11所示,本实施例的芯片可以设置在从设备中,本实施例的芯片包括:第三建立模块1101,用于与中心从设备建立第二通信链路,形成从设备局域网,中心从设备与主设备之间建立第一通信链路;链路信息获取模块1102,用于从中心从设备获取第一通信链路的链路信息;侦听链路建立模块1103,用于根据链路信息建立与主设备的侦听链路,侦听第一通信链路上传输的数据。
该芯片通过第三建立模块与中心从设备建立第二通信链路,并形成从设备局域网。通过链路信息获取模块获取中心从设备与主设备之间的第一通信链路的链路信息,并通过侦听链路建立模块建立侦听链路,以获取主设备向中心从设备发送的数据,实现了一个主设备对多个从设备(即芯片)的数据共享。此外,主设备仅与一个从设备即中心从设备通信,向其发送数据,从设备局域网中的外围从设备(即芯片)对于主设备是透明的,主设备无需与外围从设备进行与中心从设备相同的连接和数据交互,从而减轻了主设备和整个网络系统的数据处理负担,提高了数据处理效率。
实施例八
图12示出了根据本申请实施例八的芯片的结构框图。如图12所示,本实施例的芯片可以设置在从设备中,本实施例的芯片包括:第三建立模块1201,用于与中心从设备建立第二通信链路,形成从设备局域网,中心从设备与主设备之间建立第一通信链路;链路信息获取模块1202,用于从中心从设备获取第一通信链路的链路信息;侦听链路建立模块1203,用于根据链路信息建立与主设备的侦听链路,侦听第一通信链路上传输的数据。
可选地,芯片还包括:第二发送模块1204,用于当侦听链路存在异常时,向中心从设备发送数据请求消息;第二接收模块1205,用于通过第二通信链路接收中心从设备返回的数据请求消息所请求的数据,其中,数据包括通过第一通信链路由主设备发送的数据。
可选地,第二发送模块1204,还用于根据与中心从设备的配对信息,通过定向广播向中心从设备发送私有地址,以使中心从设备扫描到私有地址后发起第二连接请求;第二接收模块1205,还用于接收中心从设备发送的第二连接请求;第三建立模块1201,用于根据接收的第二连接请求与中心从设备建立第二通信链路,形成从设备局域网。
可选地,第一通信链路的链路信息包括:时间信息、频率信息、编码规则和加密信息(即加密规则)。
该芯片通过第三建立模块与中心从设备建立第二通信链路,并形成从设备局域网。通过链路信息获取模块获取中心从设备与主设备之间的第一通信链路的链路信息,并通过侦听链路建立模块建立侦听链路,以获取主设备向中心从设备发送的数据,实现了一个主设备对多个从设备(即芯片)的数据共享。此外,主设备仅与一个从设备即中心从设备通信,向其发送数据,从设备局域网中的外围从设备(即芯片)对于主设备是透明的,主设备无需与外围从设备进行与中心从设备相同的连接和数据交互,从而减轻了主设备和整个网络系统的数据处理负担,提高了数据处理效率。
需要说明的是,在实际应用中,实施例五或六中的芯片,与实施例七或八中的芯片可以合并设置,当然也可以独立设置。二者可同时设置在同一个从设备中,当该从设备为中心从设备时,执行实施例五或六中的芯片的功能;当该从设备为外围从设备时,执行实施例七或八中的芯片的功能。
实施例九
图13示出了根据本申请实施例九的无线网络系统的结构框图。如图13所示,本实施例的无线网络系统包括主设备10和从设备,主设备10可以与从设备进行数据传输。从设备包括中心从设备21和至少一个外围从设备22。其中,中心从设备21用于与主设备10连接并通信,且与外围从设备22组成从设备局域网,并通过从设备局域网向外围从设备22发送第一通信链路的链路信息。外围从设备22可以根据第一通信链路的链路信息建立侦听链路,以侦听第一通信链路的数据。前述实施例五或实施例六的芯片可以应用于中心从设备。该无线网络系统可以通过实施例一或实施例二的组网方法组建。
其中,第一通信链路可以和第二通信链路采用不同的无线通信协议,也可以采用相同的无线通信协议。
该无线网络系统可以应用于无线数据分发传输场景,例如,移动终端(如手机、pad等)向无线耳机发送音频、语音等;又例如,多用户进行数据共享,实现多人无线影音共 享等;再例如,该无线网络系统可以应用于物联网中,实现无线局域网的数据分发,通过一个主设备可以向多个从设备分发数据。当然,该无线网络系统也可以应用到其他无线网络使用环境中,实现数据分发。
主设备10可以是数据源设备,用于主动与中心从设备21建立第一通信链路,并通过第一通信链路分发数据。主设备10可以为source设备,用于存储和发送数据,其可以是存储有音乐文件的移动终端如手机或者播放视频的电视等。
从设备用于从主设备10获取数据。从设备可以为sink设备。sink设备为从source设备接收数据的设备,其可以是任意适当的无线终端设备如无线耳机、扬声器等。从设备的数量为至少两个,其中一个从设备与主设备10连接,建立第一通信链路,该从设备即为中心从设备21,中心从设备21通过第一通信链路从主设备10获取数据。其它的从设备为外围从设备22,各外围从设备22分别与中心从设备21建立第二通信链路,以组成从设备局域网。其中,该从设备局域网可以为任意适当拓扑结构的局域网,包括但不限于星形拓扑结构的局域网等。各外围从设备22与主设备10间建立侦听链路,并通过该侦听链路从主设备10获取数据。
在本实施例中,该无线网络系统存在三种链路:主设备10与中心从设备21之间建立的第一通信链路、中心从设备21与各外围从设备22之间建立的第二通信链路、和各个外围从设备22与主设备10之间建立的侦听(Listen)链路,这三种链路均为无线链路,也可部分为有线链路。
其中,第一通信链路和第二通信链路根据无线传输方式的不同,可以基于不同的无线通信协议或标准。例如,主设备10与中心从设备21之间可以通过WI-FI通信,进而根据WI-FI通信协议建立第一通信链路,中心从设备21和外围从设备22之间可以通过蓝牙通信,进而根据蓝牙通信协议建立第二通信链路。
可选地,主设备10扫描侦听从设备发送的系统广播消息,并与扫描侦听到的系统广播消息对应的从设备建立第一通信链路。第一通信链路建立时,由主设备10发起,和多个(该多个指至少两个)从设备中的任意一个建立连接。连接建立完成后主设备10再次扫描侦听到的该系统广播消息将被忽略。在一种可行方式中,多个从设备可以采用时分复用方式向主设备10发送系统广播消息,也即,每个从设备在某一设定时间段内向主设备10发送系统广播消息,主设备10在某一时间段扫描到某一系统广播消息后,即将在该时间段内发送系统广播消息的从设备确定为待连接的从设备,与其建立第一通信链路,相应地,该待连接的从设备即成为中心从设备21。
主设备10作为该第一通信链路的master端,负责链路创建、链路参数管理和数据交互等。其中,链路参数可以携带在链路信息由中心从设备21发送给外围从设备22。链路参数根据采用的通信协议不同可以包括不同的参数。以低功耗蓝牙BLE(Bluetooth low energy)为例,链路参数包括但不限于:连接间隔信息、跳频算法信息、跳频间隔信息、跳频通道图信息、链路超时时间、链路允许延迟参数、时间信息、频率信息、编码规则和加密信息等。
多个从设备之间的从设备局域网由中心从设备21发起并建立。例如,中心从设备21扫描侦听外围从设备22向中心从设备21发送的定向广播消息,与扫描侦听到的定向广播消息对应的外围从设备22建立第二通信链路。
在从设备之间建立从设备局域网过程中,从设备之间首先进行信息交互,以获取建立从设备局域网的信息,例如,从设备的身份信息、密钥信息等。其中,身份信息可以包括私有地址,用于唯一标识对应的从设备。
基于已交互的信息,中心从设备21定向扫描侦听各外围从设备22,当扫描侦听到外围从设备22发送的定向广播消息时,与其建立第二通信链路,并组成由多个从设备组成的局域网,即从设备局域网。其中,与主设备10建立第一通信链路的从设备作为从设备局域网的中心从设备21,负责管理加入设备局域网的外围从设备22、与外围从设备22之间建立第二通信链路及进行数据交互。
中心从设备21与各外围从设备22建立的从设备局域网可以采用星型网络结构,也可以采用结构更复杂的散射网络结构或其它适当结构,如,一个设备同时存在于多个PICONET(微微网)中的结构,可以通过网络节点中继传输数据。
在中心从设备21与主设备10成功建立第一通信链路后,中心从设备21会将该第一通信链路的相关链路信息发送给与其连接的各外围从设备22,以供各外围从设备22建立与主设备10之间的侦听链路。也即,对于外围从设备22来说,各外围从设备22通过第二通信链路从中心从设备21获取第一通信链路的链路信息,并根据链路信息建立侦听链路。在侦听链路建立成功后,各外围从设备22通过侦听链路侦听主设备10与中心从设备21之间的通信,并根据侦听结果从主设备10获取主设备10向中心从设备21发送的数据。例如,当主设备10向中心从设备21发送数据(例如应用数据)时,外围从设备21即可通过侦听获得该数据。
在某些情况下,侦听链路存在异常时,例如侦听链路信号强度低于预定强度、或数据包接收率低于预定接收率,中心从设备21通过第二通信链路向外围从设备22重传通过侦听第一通信链路无法正确接收的数据。即中心从设备21在侦听链路异常时可以为外围从设备22提供数据分发质量服务,通过该服务,使得侦听链路异常的外围从设备22可以从中心从设备21获取缺失的数据,保证了数据的完整性。
此外,在某些情况下,中心从设备21和外围从设备22之间还可以按照设定规则进行中心从设备的切换,也即,进行角色切换,例如,可以根据中心从设备21和外围从设备22的状态,按照设定规则进行中心从设备21切换,以保证数据传输的可靠性和数据分发质量。
其中,该设定规则可以由本领域技术人员根据实际需要适当设定,比如,设定设备电量、信号强弱、数据收发概率等指标,若当前的中心从设备21的设备电量无法达到设定的设备电量,或者,信号强度不能满足设定的信号强度,或者,数据收发概率不能满足设定的概率时,则可以从多个外围从设备22中选择一个替换当前的中心从设备,而当前的中心从设备可以作为新的外围从设备,从而进行中心从设备21的角色切换。
这个切换过程在从设备局域网内部进行,因该从设备局域网中的所有从设备均通过统一的地址与主设备10通信,因此,该切换对主设备10是透明的,从而保证的系统的稳定性。
本实施例的无线网络系统的主设备10仅与多个从设备中的一个(即中心从设备21)建立连接,只需要在第一通信链路上通过其对应的第一通信协议(可以是标准通信协议)分发数据,使得主设备10数据处理量小,从而使得主设备10数据处理效率较高。
该无线网络系统中所有的从设备组成了一个从设备局域网,基于该从设备局域网中的 中心从设备21提供的第一通信链路的链路信息,多个外围从设备22建立和主设备10之间的侦听链路,通过侦听链路,主设备10一次发送的数据即可被多个从设备共享,提高了数据共享效率,并且没有给主设备的数据处理增加额外的负担。
处于设备局域网中的外围从设备21通过侦听链路以及和中心从设备21之间的第二通信链路获得数据及数据质量服务(数据质量服务是一种确保数据接收方能够获取完整数据的服务机制,用于保证数据传输的可靠性),即能获取所有的主设备10分发数据,保证了外围从设备21获取的数据完整性,从而确保了无线网络系统的可靠性。
该无线网络系统可扩展性好,只要不超过从设备局域网的总容量,可以方便的在从设备局域网中加入新的外围从设备22。各从设备可以采用统一的配置(即各从设备的硬件配置和软件配置均是一样的,这样在无线网络系统中,虽然各从设备的初始分配不同,使得其处于不同网络角色,但后续可以根据实际需求,使之进行角色切换)。
其中,从设备局域网的总容量可以根据几个因素确定,例如数据吞吐率、当前侦听链路的数据接收成功概率等。
综上,该无线网络系统的中心从设备能够从主设备获取数据质量服务,外围从设备可以从中心从设备获取数据质量服务,以此保证各从设备均能够获取完整数据,从而确保了数据传送的稳定和数据传输质量。此外,从设备局域网可以方便增加新的外围从设备,增加了网络的可扩展性。各外围从设备通过侦听链路获取主设备分发给中心从设备的数据,实现了主设备仅建立一条链路,就能够使多个用户共享数据的目的,满足了多用户数据共享需求,且主设备仅建立一条链路,仅与中心从设备进行通信,数据处理负担减小,数据处理效率提升。总之,该无线网络系统能够满足多客户端的无线数据传送需求,且构建了针对无线网络数据分发的质量服务体系,确保各客户端能正确及时的接收数据源端分发的数据。
实施例十
本实施例提供一种无线网络系统,该无线网络系统包括主设备、中心从设备和外围从设备,前述实施例七或实施例八的芯片可以应用于外围从设备。
该无线网络系统可以通过实施例三或实施例四的组网方法组建。
该无线网络系统的中心从设备能够从主设备获取数据质量服务,外围从设备可以从中心从设备获取数据质量服务,以此保证各从设备均能够获取完整数据,从而确保了数据传送的稳定和数据传输质量。此外,从设备局域网可以方便增加新的外围从设备,增加了网络的可扩展性。各外围从设备通过侦听链路获取主设备分发给中心从设备的数据,实现了主设备仅建立一条链路,就能够使多个用户共享数据的目的,满足了多用户数据共享需求,且主设备仅建立一条链路,仅与中心从设备进行通信,数据处理负担减小,数据处理效率提升。总之,该无线网络系统能够满足多客户端的无线数据传送需求,且构建了针对无线网络数据分发的质量服务体系,确保各客户端能正确及时的接收数据源端分发的数据。
最后应说明的是:以上实施例仅用以说明本申请实施例的技术方案,而非对其限制;尽管参照前述实施例对本申请实施例进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。
Claims (20)
- 一种组网方法,所述方法包括:与主设备建立第一通信链路;与至少一个外围从设备建立第二通信链路,形成从设备局域网;向各所述外围从设备发送所述第一通信链路的链路信息,以使各所述外围从设备根据所述链路信息与所述主设备建立侦听链路,侦听所述第一通信链路上传输的数据。
- 根据权利要求1所述的方法,其中,所述与主设备建立第一通信链路,包括:发送系统广播消息,以使主设备扫描到所述系统广播消息后发起第一连接请求;接收主设备发送的所述第一连接请求,与所述主设备建立第一通信链路。
- 根据权利要求1所述的方法,其中,与至少一个外围从设备建立第二通信链路,形成从设备局域网,包括:根据与至少一外围从设备的配对信息,对各所述外围从设备进行定向扫描;接收各所述外围从设备通过定向广播发送的私有地址,其中,各所述外围从设备的私有地址不同;分别与各所述私有地址对应的外围从设备建立第二通信链路,形成从设备局域网。
- 根据权利要求1所述的方法,其中,所述第一通信链路的链路信息包括:时间信息、频率信息、编码规则和加密信息。
- 根据权利要求1所述的方法,其中,所述方法还包括:当侦听链路存在异常时,接收侦听链路异常的外围从设备的数据请求消息;响应所述数据请求消息,向侦听链路异常的外围从设备发送所述数据请求消息所请求的数据,其中,所述数据包括通过所述第一通信链路由所述主设备发送的数据。
- 一种组网方法,所述方法包括:与中心从设备建立第二通信链路,形成从设备局域网,所述中心从设备与主设备之间建立第一通信链路;从所述中心从设备获取所述第一通信链路的链路信息;根据所述链路信息建立与所述主设备的侦听链路,侦听所述第一通信链路上传输的数据。
- 根据权利要求6所述的方法,其中,所述方法还包括:当所述侦听链路存在异常时,向所述中心从设备发送数据请求消息;通过所述第二通信链路接收所述中心从设备返回的所述数据请求消息所请求的数据, 其中,所述数据包括通过所述第一通信链路由所述主设备发送的数据。
- 根据权利要求6所述的方法,其中,所述第一通信链路的链路信息包括:时间信息、频率信息、编码规则和加密信息。
- 根据权利要求6所述的方法,其中,与中心从设备建立第二通信链路,形成从设备局域网,包括:根据与中心从设备的配对信息,通过定向广播向所述中心从设备发送私有地址,以使所述中心从设备扫描到所述私有地址后发起第二连接请求;接收所述中心从设备发送的所述第二连接请求,与所述中心从设备建立第二通信链路,形成从设备局域网。
- 一种芯片,所述芯片包括:第一建立模块,用于与主设备建立第一通信链路;第二建立模块,用于与至少一个外围从设备建立第二通信链路,形成从设备局域网;第一发送模块,用于向各所述外围从设备发送所述第一通信链路的链路信息,以使各所述外围从设备根据所述链路信息与所述主设备建立侦听链路,侦听所述第一通信链路上传输的数据。
- 根据权利要求10所述的芯片,其中,所述第一发送模块,还用于发送系统广播消息,以使主设备扫描到所述系统广播消息后发起第一连接请求;所述芯片还包括第一接收模块,用于接收主设备发送的所述第一连接请求;所述芯片中的所述第一建立模块,用于根据接收的所述第一连接请求与所述主设备建立第一通信链路。
- 根据权利要求11所述的芯片,其中,所述芯片还包括:定向扫描模块,用于根据与至少一外围从设备的配对信息,对各所述外围从设备进行定向扫描;所述第一接收模块,还用于接收各所述外围从设备通过定向广播发送的私有地址,其中,各所述外围从设备的私有地址不同;所述芯片中的所述第二建立模块,用于根据所述第一接收模块接收的各所述外围从设备的私有地址分别与对应的外围从设备建立第二通信链路,形成从设备局域网。
- 根据权利要求10所述的芯片,其中,所述第一通信链路的链路信息包括:时 间信息、频率信息、编码规则和加密信息。
- 根据权利要求11所述的芯片,其中,所述第一接收模块,还用于当侦听链路存在异常时,接收侦听链路异常的外围从设备的数据请求消息;所述第一发送模块,还用于响应所述数据请求消息,向侦听链路异常的外围从设备发送所述数据请求消息所请求的数据,其中,所述数据包括通过所述第一通信链路由所述主设备发送的数据。
- 一种芯片,所述芯片包括:第三建立模块,用于与中心从设备建立第二通信链路,形成从设备局域网,所述中心从设备与主设备之间建立第一通信链路;链路信息获取模块,用于从所述中心从设备获取所述第一通信链路的链路信息;侦听链路建立模块,用于根据所述链路信息建立与所述主设备的侦听链路,侦听所述第一通信链路上传输的数据。
- 根据权利要求15所述的芯片,其中,所述芯片还包括:第二发送模块,用于当所述侦听链路存在异常时,向所述中心从设备发送数据请求消息;第二接收模块,用于通过所述第二通信链路接收所述中心从设备返回的所述数据请求消息所请求的数据,其中,所述数据包括通过所述第一通信链路由所述主设备发送的数据。
- 根据权利要求16所述的芯片,其中,所述第二发送模块,还用于根据与中心从设备的配对信息,通过定向广播向所述中心从设备发送私有地址,以使所述中心从设备扫描到所述私有地址后发起第二连接请求;所述第二接收模块,还用于接收所述中心从设备发送的所述第二连接请求;所述第三建立模块,用于根据接收的所述第二连接请求与所述中心从设备建立第二通信链路,形成从设备局域网。
- 根据权利要求15所述的芯片,其中,所述第一通信链路的链路信息包括:时间信息、频率信息、编码规则和加密信息。
- 一种无线网络系统,包括主设备、中心从设备和外围从设备,如权利要求10-14中任一项所述的芯片应用于所述中心从设备。
- 一种无线网络系统,包括主设备、中心从设备和外围从设备,如权利要求15-18中任一项所述的芯片应用于所述外围从设备。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201880000257.3A CN108323246B (zh) | 2018-01-25 | 2018-01-25 | 组网方法、芯片及无线网络系统 |
PCT/CN2018/074143 WO2019144343A1 (zh) | 2018-01-25 | 2018-01-25 | 组网方法、芯片及无线网络系统 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2018/074143 WO2019144343A1 (zh) | 2018-01-25 | 2018-01-25 | 组网方法、芯片及无线网络系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019144343A1 true WO2019144343A1 (zh) | 2019-08-01 |
Family
ID=62895905
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/074143 WO2019144343A1 (zh) | 2018-01-25 | 2018-01-25 | 组网方法、芯片及无线网络系统 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108323246B (zh) |
WO (1) | WO2019144343A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113115282A (zh) * | 2021-03-03 | 2021-07-13 | 深圳市云海物联科技有限公司 | 一种物联通信方法及物联通信系统 |
EP3972381A4 (en) * | 2019-08-16 | 2022-06-29 | Samsung Electronics Co., Ltd. | Method for supporting multiple links in bluetooth network environment, and electronic device therefor |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109144930B (zh) * | 2018-09-25 | 2021-01-05 | 北京广利核系统工程有限公司 | 模拟量信号快速存储方法和装置 |
CN109495869A (zh) | 2018-11-30 | 2019-03-19 | 锐迪科微电子科技(上海)有限公司 | 蓝牙连接方法及装置 |
CN109618406B (zh) | 2019-03-01 | 2019-07-05 | 展讯通信(上海)有限公司 | 无线连接方法、设备组、系统 |
CN109831766B (zh) * | 2019-03-18 | 2022-03-11 | 恒玄科技(上海)股份有限公司 | 一种传输数据的方法、蓝牙设备组件及蓝牙通信系统 |
CN109743782B (zh) | 2019-03-29 | 2019-07-23 | 展讯通信(上海)有限公司 | 通信方法、装置及设备 |
CN110266444A (zh) * | 2019-07-08 | 2019-09-20 | 展讯通信(上海)有限公司 | 数据传输方法、装置及设备 |
CN110381490B (zh) * | 2019-07-24 | 2022-04-22 | 恒玄科技(上海)股份有限公司 | 一种用于无线耳机的通信方法、无线耳机和无线设备 |
CN110769445B (zh) * | 2019-10-28 | 2023-05-26 | 展讯通信(上海)有限公司 | 数据传输方法及装置 |
CN111479295B (zh) * | 2020-03-06 | 2022-06-10 | 珠海格力电器股份有限公司 | 数据传输方法、系统、装置、设备及存储介质 |
CN113068166B (zh) * | 2021-03-17 | 2023-07-25 | 上海物骐微电子有限公司 | 一种基于中继的多设备数据传输系统及方法 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120058727A1 (en) * | 2010-09-02 | 2012-03-08 | Passif Semiconductor Corp. | Un-tethered wireless stereo speaker system |
CN102684753A (zh) * | 2011-03-07 | 2012-09-19 | 中兴通讯股份有限公司 | 基于蓝牙技术的无线终端、近程sns系统和实现方法 |
CN105578553A (zh) * | 2015-12-23 | 2016-05-11 | 北京奇虎科技有限公司 | 数据通信发起、中继、接收方法及其装置 |
CN106792454A (zh) * | 2016-12-19 | 2017-05-31 | 建荣半导体(深圳)有限公司 | 蓝牙通信方法、通信装置、通信系统及电子设备 |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020159401A1 (en) * | 2001-04-25 | 2002-10-31 | Brightcom Technologies Ltd. | Masterless slave / master role switch in a bluetooth piconet |
US7151745B2 (en) * | 2001-11-08 | 2006-12-19 | Broadcom Corporation | Scalable synchronous packet transmit scheduler |
CN102111827B (zh) * | 2011-02-28 | 2013-05-01 | 北京邮电大学 | 个域网终端协同中切换控制系统和方法 |
CN103458483B (zh) * | 2012-05-31 | 2017-05-31 | 安凯(广州)微电子技术有限公司 | 一种蓝牙音频数据传输设备间链接控制方法及装置 |
CN102723094B (zh) * | 2012-06-15 | 2015-11-25 | 杭州海康威视数字技术股份有限公司 | 高可靠易扩展的录像存储、检索方法及其系统 |
CN103810074B (zh) * | 2012-11-14 | 2017-12-29 | 华为技术有限公司 | 一种片上系统芯片及相应的监控方法 |
US9949038B2 (en) * | 2013-08-09 | 2018-04-17 | Sonova Ag | Hearing assistance system and method |
CN103687065B (zh) * | 2013-12-24 | 2017-01-25 | 广州爱的信息科技有限公司 | 一种智能终端与无线网络音响设备的配对连接方法 |
CN105812899B (zh) * | 2014-12-31 | 2019-04-23 | 鸿富锦精密工业(深圳)有限公司 | 电子装置群连接系统及方法 |
CN104968021B (zh) * | 2015-06-25 | 2020-01-10 | 福州瑞芯微电子股份有限公司 | 一种蓝牙共享网络中的带宽控制方法和设备 |
CN105188022B (zh) * | 2015-09-29 | 2019-01-08 | 爱国者电子科技有限公司 | 无线路由设备和通信方法 |
CN206350153U (zh) * | 2016-12-07 | 2017-07-21 | 歌尔科技有限公司 | 一种主设备与从设备的运行切换系统 |
CN107135256A (zh) * | 2017-04-27 | 2017-09-05 | 建荣半导体(深圳)有限公司 | 蓝牙通信方法、通信装置、通信系统及电子设备 |
-
2018
- 2018-01-25 WO PCT/CN2018/074143 patent/WO2019144343A1/zh active Application Filing
- 2018-01-25 CN CN201880000257.3A patent/CN108323246B/zh active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120058727A1 (en) * | 2010-09-02 | 2012-03-08 | Passif Semiconductor Corp. | Un-tethered wireless stereo speaker system |
CN102684753A (zh) * | 2011-03-07 | 2012-09-19 | 中兴通讯股份有限公司 | 基于蓝牙技术的无线终端、近程sns系统和实现方法 |
CN105578553A (zh) * | 2015-12-23 | 2016-05-11 | 北京奇虎科技有限公司 | 数据通信发起、中继、接收方法及其装置 |
CN106792454A (zh) * | 2016-12-19 | 2017-05-31 | 建荣半导体(深圳)有限公司 | 蓝牙通信方法、通信装置、通信系统及电子设备 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3972381A4 (en) * | 2019-08-16 | 2022-06-29 | Samsung Electronics Co., Ltd. | Method for supporting multiple links in bluetooth network environment, and electronic device therefor |
CN113115282A (zh) * | 2021-03-03 | 2021-07-13 | 深圳市云海物联科技有限公司 | 一种物联通信方法及物联通信系统 |
CN113115282B (zh) * | 2021-03-03 | 2023-07-04 | 深圳市云海物联科技有限公司 | 一种物联通信方法及物联通信系统 |
Also Published As
Publication number | Publication date |
---|---|
CN108323246A (zh) | 2018-07-24 |
CN108323246B (zh) | 2021-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019144343A1 (zh) | 组网方法、芯片及无线网络系统 | |
US9955291B2 (en) | Method and device for controlling group device using bluetooth in wireless communication system | |
US10136429B2 (en) | Method for transmitting and receiving audio data in wireless communication system supporting bluetooth communication and device therefor | |
US10462661B2 (en) | Method and device for transmitting/receiving data using bluetooth mesh network | |
US10051076B2 (en) | Low power digital radio range extension | |
US10979894B2 (en) | Method and device for allocating address of device in Bluetooth mesh network | |
US9113393B2 (en) | System, method and apparatus for wireless network connection using near field communication | |
US20160359925A1 (en) | Method and apparatus for transmitting and receiving data in wireless communication system | |
US8255714B2 (en) | System and method for establishing a direct link on the high throughput channel of a multi-rate channel wireless communications network | |
JP2017517972A (ja) | 選択的な接続のためのシステムおよび方法 | |
US10182327B2 (en) | Method and device for transmitting/receiving data in mesh network using bluetooth | |
JP2009500969A (ja) | 直接ワイヤレス・クライアント間通信 | |
US20180176851A1 (en) | Method and device for transmitting/receiving data in mesh network using bluetooth | |
US8605596B2 (en) | Medium access for de-centralized wireless network | |
US20240049116A1 (en) | Method for transmitting and receiving data and device for same in short-range wireless communication system | |
WO2024083235A1 (zh) | 基于Wi-Fi感知的配网方法、嵌入式芯片系统及介质 | |
CN110166988B (zh) | 一种无线通信系统及其方法 | |
US11044771B2 (en) | Method and device for sharing an established connection between a primary device and one of a plurality of secondary devices in a network | |
WO2014051430A1 (en) | Method and apparatus for transmitting, receiving and forwarding a gossip message using a gossip network | |
WO2024012343A1 (zh) | 组网方法和电子设备 | |
CN108684021A (zh) | 一种蓝牙低功耗通信方法和装置 | |
WO2023040590A1 (zh) | 通道配置方法及装置 | |
WO2023082974A1 (zh) | 配置用于传输组播业务的通道的方法及装置 | |
WO2022242387A1 (zh) | 一种基于无线短距通信协议架构的装置及电子设备 | |
CN112689252B (zh) | 基于物理层的智能家居物联网传输系统及方法 |
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: 18902081 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: 18902081 Country of ref document: EP Kind code of ref document: A1 |