WO2020243921A1 - 基于同步链路的拓扑切换方法、装置、系统及存储介质 - Google Patents

基于同步链路的拓扑切换方法、装置、系统及存储介质 Download PDF

Info

Publication number
WO2020243921A1
WO2020243921A1 PCT/CN2019/090119 CN2019090119W WO2020243921A1 WO 2020243921 A1 WO2020243921 A1 WO 2020243921A1 CN 2019090119 W CN2019090119 W CN 2019090119W WO 2020243921 A1 WO2020243921 A1 WO 2020243921A1
Authority
WO
WIPO (PCT)
Prior art keywords
slave device
link
synchronization
peripheral
central
Prior art date
Application number
PCT/CN2019/090119
Other languages
English (en)
French (fr)
Inventor
郭仕林
Original Assignee
深圳市汇顶科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市汇顶科技股份有限公司 filed Critical 深圳市汇顶科技股份有限公司
Priority to CN201980001046.6A priority Critical patent/CN110383767B/zh
Priority to EP19929196.4A priority patent/EP3817292B1/en
Priority to PCT/CN2019/090119 priority patent/WO2020243921A1/zh
Priority to US17/038,408 priority patent/US11444800B2/en
Publication of WO2020243921A1 publication Critical patent/WO2020243921A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40052High-speed IEEE 1394 serial bus
    • H04L12/40058Isochronous transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40019Details regarding a bus master
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40052High-speed IEEE 1394 serial bus
    • H04L12/40123Interconnection of computers and peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/403Bus networks with centralised control, e.g. polling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/34Modification of an existing route
    • H04W40/36Modification of an existing route due to handover
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/0005Synchronisation arrangements synchronizing of arrival of multiple uplinks

Definitions

  • This application relates to the field of wireless communication technology, and in particular to a topology switching method, device, system and storage medium based on synchronization links.
  • wireless personal area network Wireless Personal Area Network
  • WPAN Wireless Personal Area Network
  • WPAN Wireless Personal Area Network
  • WPAN is used in such as telephones, computers, auxiliary equipment and small areas (the working range of personal area networks is generally Communication between digital assistant devices within 10 meters).
  • WPAN point-to-point data interaction can be realized between devices, such as wireless network data interaction between mobile terminals and wireless headsets.
  • the universal wireless link can adopt wireless link modes such as Wireless-Fidelity (WIFI), Infrared Data Association (IrDA) or Bluetooth.
  • WIFI Wireless-Fidelity
  • IrDA Infrared Data Association
  • Bluetooth Bluetooth
  • the present application provides a synchronization link-based topology switching method, device, system and storage medium, which improves the efficiency of synchronization link topology switching.
  • this application provides a topology switching method based on synchronization links.
  • the method is applied to a first central slave device.
  • the first central slave device sends first synchronization information to the peripheral slave device through the first communication link with the peripheral slave device.
  • the first synchronization information includes the link parameters of the first synchronization link, so that the peripheral slave device is Start data transmission between the link parameters of a synchronization link and the master device; before the peripheral slave device starts data transmission with the master device according to the link parameters of the first synchronization link, the first center slave device stops communicating with the master device Data transmission through the first synchronization link between.
  • the first central slave device sends the first synchronization information to the peripheral slave device, so that the peripheral slave device starts data transmission with the master device according to the link parameters of the first synchronization link, and the peripheral slave device starts data transmission according to the first synchronization link.
  • the first central slave device stops data transmission with the master device through the first synchronization link. This avoids disconnecting the connection between the master device and the slave device during the process of establishing a synchronization link between the master device and the newly added slave device, thereby improving the switching efficiency of the synchronization link topology.
  • the link parameter of the first synchronization link includes: a first data access address
  • the first data access address is used to enable the peripheral slave device to start data transmission with the master device according to the first data access address; after the first center slave device sends the first data access address to the peripheral slave device, the first center slave device The device stops data transmission with the master device through the first synchronization link according to the data access address, so that the peripheral slave device starts data transmission with the master device according to the first data access address.
  • stopping the data transmission between the first center slave device and the master device via the first synchronization link includes:
  • the first center slave device determines the first synchronization link to stop data transmission with the master device according to the link parameters of the first synchronization link; the first synchronization information also includes first synchronization time information, and the first center slave device A synchronization time information, which determines the stop time for stopping the data transmission through the first synchronization link with the master device.
  • the stop time is after the (N-1)th frame data is transmitted between the first center slave device and the master device ,
  • the stop time is before the Nth frame of data transmission between the peripheral slave device and the master device; the first central slave device stops data transmission with the master device through the first synchronization link at the stop time.
  • the first synchronization time information includes:
  • the synchronization link-based topology switching method further includes:
  • the first center slave device receives the link synchronization success message or the link synchronization failure message sent by the peripheral slave device.
  • the link synchronization success message is used to confirm the success of data transmission between the peripheral slave device and the master device and the link synchronization failure message. Used to confirm the failure of data transmission between the peripheral slave device and the master device.
  • the synchronization link-based topology switching method further includes:
  • the first central slave device receives the second synchronization information sent by the peripheral slave device, the second synchronization information includes the link parameters of the second synchronization link, and the second synchronization link is the synchronization link between the peripheral slave device and the master device, The second synchronization link is used for data transmission between the peripheral slave device and the master device; the peripheral slave device is stopped before the first central slave device starts data transmission with the master device according to the link parameters of the second synchronization link Data transmission with the master device through the second synchronization link; the first central slave device disconnects the first communication link between the peripheral slave device and the first central slave device.
  • the peripheral slave device starts data transmission with the master device according to the link parameters of the first synchronization link, including:
  • the peripheral slave device establishes a second synchronization link with the master device according to the link parameters of the first synchronization link; the first central slave device stops data transmission with the master device through the first synchronization link, including: The first center slave device disconnects the first synchronization link with the master device.
  • the synchronization link-based topology switching method further includes: the link parameters of the second synchronization link include: a second data access address, so that the peripheral slave device stops communicating with the master device Data transmission through the second synchronization link; after the first center slave device receives the second synchronization information sent by the peripheral slave device, the first center slave device starts data transmission with the master device according to the second data access address.
  • the synchronization link-based topology switching method further includes:
  • the first center slave device selects a peripheral slave device from the peripheral slave devices as the second center slave device; the first center slave device sends the third synchronization information to the second center slave device, and the third synchronization information is through the second center slave device
  • the third synchronization information includes the link parameters of the first synchronization link and the third synchronization time information transmitted by the first communication link with the first center slave device; the first center slave device stops according to the third synchronization information Data transmission with the master device through the first synchronization link, and the second center slave device starts data transmission with the master device; the first center slave device disconnects the first center slave device and the second center slave device The first communication link between devices.
  • the departure or deletion of the center slave device is realized, and the terminal for data transmission between the master device and the slave device is avoided during the departure or deletion of the center slave device, thereby improving the synchronization link topology switching effectiveness.
  • the method further includes:
  • the first center slave device scans the identity information of the peripheral slave device; the first center slave device recognizes the identity information of the peripheral slave device; if the identity information of the peripheral slave device passes the identification, a connection between the peripheral slave device and the first center slave device is established The first communication link.
  • the method further includes:
  • the first central slave device scans the identity information of the peripheral slave device and establishes the first communication link between the peripheral slave device and the first central slave device; the first central slave device identifies the identity information of the peripheral slave device; if the peripheral slave device If the identity information is not recognized, the first communication link between the peripheral slave device and the first central slave device is disconnected.
  • the synchronization link-based topology switching method further includes:
  • the first center slave device When the first center slave device fails to receive the data sent by the master device through the first synchronization link, the first center slave device sends a data request message to the master device through the first synchronization link until the master device resends the data request message. The number of times the data exceeds the preset threshold, or the first center slave device receives the data requested by the data request message, and the data request message is used to request the master device to resend the data requested by the data request message.
  • the synchronization link-based topology switching method further includes:
  • the first center slave device sends a first request message to the master device through the second communication link between it and the master device.
  • the first request message is used to request the establishment of multiple first synchronization links; the first center slave device passes through The second communication link receives a response message sent by the master device, where the response message is used to instruct to establish multiple first synchronization links.
  • this application provides a topology switching method based on a synchronous packet link.
  • the method is applied to a peripheral slave device.
  • the peripheral slave device obtains the first synchronization information from the first central slave device.
  • the first synchronization information includes the link parameters of the first synchronization link. It starts between the peripheral slave device and the master device according to the link parameters of the first synchronization link.
  • the first central slave device is made to stop data transmission with the master device through the first synchronization link; the peripheral slave device starts data transmission with the master device according to the link parameters of the first synchronization link.
  • the synchronization link-based topology switching method further includes:
  • the link parameters of the first synchronization link include: the first data access address, the first data access address is used to enable the peripheral slave device to start data transmission with the master device according to the first data access address; the peripheral slave device receives The first data access address enables the first central slave device to stop data transmission with the master device through the first synchronization link according to the first data access address, and the peripheral slave device communicates with the master device according to the first data access address Start data transfer between.
  • the peripheral slave device starts data transmission with the master device according to the link parameters of the first synchronization link, including:
  • the peripheral slave device starts to transmit the Nth frame of data with the master device according to the link parameters of the first synchronization link; the first synchronization information includes first synchronization time information, and the peripheral slave device determines to start and The start time of the master device for data transmission, the start time is after the (N-1)th frame data transmission between the first center slave device and the master device through the first synchronization link, the start time is the first center slave After the device stops data transmission with the master device through the first synchronization link; the peripheral slave device starts to transmit the Nth frame of data with the master device at the start time.
  • the first synchronization information includes first synchronization time information
  • the peripheral slave device determines to start and The start time of the master device for data transmission, the start time is after the (N-1)th frame data transmission between the first center slave device and the master device through the first synchronization link, the start time is the first center slave
  • the peripheral slave device starts to transmit the Nth frame of data with the master device at the start time.
  • the first synchronization time information includes:
  • the synchronization link-based topology switching method further includes:
  • the peripheral slave device sends a link synchronization success message or a link synchronization failure message to the first central slave device.
  • the link synchronization success message is used to confirm the success of data transmission between the peripheral slave device and the master device
  • the link synchronization failure message is used To confirm that the data transmission between the peripheral slave device and the master device failed.
  • the synchronization link-based topology switching method further includes:
  • the peripheral slave device sends second synchronization information to the first central slave device, the second synchronization information includes link parameters of the second synchronization link, and the second synchronization link is the synchronization link between the peripheral slave device and the master device; According to the second synchronization information, the slave device stops data transmission with the master device through the second synchronization link, and causes the first central slave device to start data transmission between the master device; the peripheral slave device disconnects the peripheral slave device from The first communication link between the first central slave device.
  • the synchronization link-based topology switching method further includes:
  • the peripheral slave device starts data transmission with the master device according to the link parameters of the first synchronization link, including: the peripheral slave device establishes a second synchronization link with the master device according to the link parameters of the first synchronization link, The second synchronization link is used for data transmission between the peripheral slave device and the master device; the first center slave device stops data transmission with the master device through the first synchronization link, including: the first center slave device is disconnected The first synchronization link between the first central slave device and the master device.
  • the synchronization link-based topology switching method further includes:
  • the second center slave device receives the third synchronization information sent by the first center slave device.
  • the second center slave device is any one of the peripheral slave devices.
  • the third synchronization information is passed between the second center slave device and the first center slave device.
  • the third synchronization information includes the link parameters of the first synchronization link; the second center slave device starts data transmission with the master device according to the third synchronization information, and makes the first
  • the center slave device stops data transmission with the master device through the first synchronization link; the second center slave device disconnects the first communication link between the first center slave device and the second center slave device.
  • the synchronization link-based topology switching method further includes:
  • the third synchronization information also includes third synchronization time information, so that the first center slave device determines the stop time for stopping data transmission with the master device through the first synchronization link according to the third synchronization time information, and the stop time is in the first center. After the (M-1)th frame of data is transmitted between a central slave device and the master device, the stop time is before the second central slave device and the master device start to transmit the Mth frame of data.
  • the third synchronization time information includes:
  • the sending time at which the first center slave device sends the third synchronization information to the second center slave device and the time difference between the sending time and the time when the master device starts data transmission.
  • the synchronization link-based topology switching method further includes:
  • the peripheral slave device sends the identity information of the peripheral slave device to the first central slave device, so that the first central slave device scans and recognizes the identity information of the peripheral slave device to establish a first connection between the peripheral slave device and the first central slave device. Communication link.
  • the synchronization link-based topology switching method further includes:
  • the peripheral slave device When the peripheral slave device fails to receive the data sent by the master device through the second synchronization link, the peripheral slave device sends a data request message to the master device through the second synchronization link until the master device resends the data requested by the data request message.
  • the preset threshold is exceeded, or the peripheral slave device receives the data requested by the data request message, and the data request message is used to request the master device to resend the data requested by the data request message.
  • topology switching devices chips, systems, storage media, and computer program products based on the synchronous packet link provided by the embodiments of the present application.
  • the synchronous packet link based on the first aspect or the second aspect.
  • the present application provides a topology switching device based on a synchronous packet link, which is used to perform a topology switching method based on a synchronous packet link as in the first aspect or an optional manner of the first aspect.
  • the present application provides a topology switching device based on a synchronous packet link, which is used to perform a topology switching method based on a synchronous packet link as in the second aspect or an optional manner of the second aspect.
  • the present application provides a chip for performing a topology switching method based on a synchronous packet link as in the first aspect or an optional manner of the first aspect.
  • the present application provides a chip for performing a topology switching method based on a synchronous packet link as in the second aspect or an optional manner of the second aspect.
  • this application provides a center slave device, including the chip provided in the fifth aspect of this application.
  • this application provides a peripheral slave device, including the chip provided in the sixth aspect of this application.
  • the present application provides a system that includes a master device, at least one central slave device as provided in the seventh aspect of this application, and a peripheral slave device as provided in the eighth aspect of this application; there is a connection between the central slave device and the master device For multiple synchronization links, there is a first communication link between the central slave device and at least one peripheral slave device.
  • the present application provides a computer storage medium.
  • the storage medium includes computer instructions. When the instructions are executed by a computer, the computer realizes the first aspect or the method of the first aspect.
  • the present application provides a computer storage medium.
  • the storage medium includes computer instructions. When the instructions are executed by a computer, the computer realizes the second aspect or the method of the second aspect.
  • this application provides a computer program product, including computer instructions, which when executed by a computer, cause the computer to implement the first aspect or the method of the first aspect.
  • this application provides a computer program product, including computer instructions, which when executed by a computer, cause the computer to implement the second aspect or the method of the second aspect.
  • This application provides a synchronization link-based topology switching method, device, system and storage medium.
  • the method is applied to a first central slave device.
  • the first synchronization information includes the link parameters of the first synchronization link, so that the peripheral slave device starts data transmission with the master device according to the link parameters of the first synchronization link;
  • the first center slave device stops data transmission with the master device through the first synchronization link.
  • the peripheral slave device Since the first central slave device sends the first synchronization information to the peripheral slave device, the peripheral slave device starts data transmission with the master device according to the link parameters of the first synchronization link, and the peripheral slave device starts data transmission according to the first synchronization link. Before starting data transmission between the link parameters of the road and the master device, the first center slave device stops data transmission with the master device through the first synchronization link. This avoids disconnecting the data transmission between the master device and the slave device during the process of establishing a synchronization link between the master device and the newly added slave device, thereby improving the switching efficiency of the synchronization link topology.
  • FIG. 1 is an interaction flowchart of a synchronization link-based topology method provided by an embodiment of the present application
  • FIG. 2A is a schematic diagram of a topology structure based on a synchronization link provided by an embodiment of the present application
  • FIG. 2B is a schematic diagram of a topology structure based on a synchronization link provided by another embodiment of the present application.
  • Fig. 3 is a logic diagram of timing interaction based on synchronization link provided in Fig. 2A;
  • FIG. 4 is a timing diagram of data receiving and sending based on the synchronization link provided in FIG. 2A;
  • FIG. 5 is a sequence diagram of multi-device data receiving and sending based on a synchronous link according to an embodiment of the present application
  • FIG. 6 is a schematic diagram of a topology switching structure based on a synchronization link according to another embodiment of the present application.
  • FIG. 7 is an interaction diagram of a synchronization link-based topology switching method provided by another embodiment of the present application.
  • FIG. 8 is a schematic diagram of a topology switching structure based on a synchronization link according to another embodiment of the present application.
  • FIG. 9 is an interaction diagram of a synchronization link-based topology switching method provided by still another embodiment of the present application.
  • FIG. 10 is a schematic diagram of a topology switching structure based on a synchronization link according to another embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a topology switching device based on a synchronization link according to an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a topology switching device based on a synchronization link provided by another embodiment of the present application.
  • the universal wireless link can use wireless link methods such as WIFI, IrDA or Bluetooth.
  • WIFI wireless link methods
  • IrDA wireless link methods
  • devices used in different occasions need to make a packet chain according to the usage, link topology, number of devices, etc.
  • the topology is converted, it is usually necessary to disconnect all the synchronous packet links first, and then recreate all the links with the new topology structure.
  • the efficiency of the synchronous packet link topology switching is low.
  • the present application provides a topology switching method, device, system and storage medium based on synchronization links.
  • the terminal device may be the main device in the embodiment of the application.
  • the main device may be a smart phone, a music player, a video player, or a tablet.
  • the wireless headset may be the slave device in the embodiment of this application.
  • the slave device may be a true wireless stereo (True Wireless Stereo, TWS), speakers, and other devices that can receive data from the main device.
  • TWS true wireless stereo
  • the present application provides a topology switching method, device, system and storage medium based on synchronization links.
  • FIG. 1 is an interaction flowchart of a topology method based on a synchronization link provided by an embodiment of the present application.
  • the method can be executed by a topology device based on a synchronization link, and the device can be implemented by software and/or hardware.
  • This application takes the slave device as the executive body to introduce the synchronization link-based topology switching method provided by this application. As shown in FIG. 1, the method includes the following steps:
  • Step S101 The first central slave device sends first synchronization information to the peripheral slave device through the first communication link with the peripheral slave device, where the first synchronization information includes the link parameter link parameter of the first synchronization link.
  • FIG. 2A is a schematic diagram of a topology structure based on a synchronization link according to an embodiment of the present application. As shown in FIG.
  • first synchronization links between the first central slave device and the master device, including the first synchronization link 1.
  • the first synchronization link 2 and the first synchronization link 3, and multiple first synchronization links are respectively used to transmit synchronization data streams, such as audio data streams, etc., which are not limited in the embodiment of the present application.
  • each synchronization link is used to transmit data stream information of different channels.
  • the first central slave device and the at least one peripheral slave device respectively have a first communication link, the first communication link is used to transmit first synchronization information, etc.
  • the first synchronization information includes link parameters of the first synchronization link, for example , The access code, frequency information, coding rules, etc.
  • the first communication link between the peripheral slave device and the first central slave device needs to be established first.
  • the embodiment of the present application discusses how to establish the first communication between the peripheral slave device and the first central slave device.
  • the specific implementation of the link is not limited.
  • the peripheral slave device sends the identity information of the peripheral slave device to the first central slave device, and the first central slave device scans the identity information of the peripheral slave device; the first central slave device identifies the identity of the peripheral slave device Information; if the identity information of the peripheral slave device is recognized, the first communication link between the peripheral slave device and the first central slave device is established.
  • the first central slave device can identify the identity information of the peripheral slave device through UUID (Universally Unique Identifier).
  • the peripheral slave device sends the identity information of the peripheral slave device to the first central slave device, and the first central slave device scans the identity information of the peripheral slave device and establishes the relationship between the peripheral slave device and the first central slave device.
  • signaling can be sent through the first communication link to query the identity information of the peripheral slave device.
  • the peripheral slave device is the target device. If the identity information of the peripheral slave device is not recognized, it is proved that the peripheral slave device is a non-target device. Disconnect the first communication link between the peripheral slave device and the first central slave device.
  • the information transmitted by the second communication link may include but is not limited to information such as time information, frequency information, coding rules and encryption information, which is used to realize the first center.
  • the communication between the slave device and the master device may be links that use the same communication method and communication protocol, or may be links that use different communication methods and communication protocols, for example: the first communication link and the second communication link.
  • the communication link can be a Bluetooth physical link (Asynchronous Connectionless, ACL), and the synchronization link can be a connection-based synchronous group (Connected Isochronous Group, CIG), or a broadcast-based synchronous group (Broadcast Isochronous Group, BIG), If the synchronous link is CIG, each link in the synchronous packet link is a connected isochronous stream (CIS). If the synchronous link is BIG, each link in the synchronous packet link The link is a broadcast-based synchronous stream (Broadcast Isochronous Stream, BIS), etc., which is not limited in the embodiment of the present application. In the embodiment of the present application, the synchronous link CIG is taken as an example for an exemplary introduction.
  • FIG. 3 is based on the synchronization link-based timing interaction logic diagram provided in Figure 2A.
  • a CIG can contain multiple CIS links, and a master device and a slave device establish a timing interaction for a CIG topology that includes multiple CIS synchronization links.
  • Logic as shown in Figure 3, in one isochronous channel (ISO) cycle, multiple CIS sub-intervals can be included.
  • ISO isochronous channel
  • the master device sends data to the slave device (M->S) After the slave device receives the data, it sends data to the master device (S->M).
  • the moment when the master device sends data to the slave device is the anchor point of the CIS, for example: when the master device sends data to the slave device through the synchronization link CIS1 , Is the CIS1 anchor point.
  • the interval time between the master device sending data to the slave device through the synchronization link CIS twice is the ISO cycle.
  • Figure 4 is based on the synchronization link-based data transmission and reception timing diagram provided in Figure 2A, as shown in Figure 4, in the CIS1 sub-interval or CIS2 sub-interval .
  • the master device sends data to the slave device (TX) event
  • the slave device receives the data (RX) and sends data to the master device (TX)
  • the master device receives the data sent by the slave device (RX).
  • multiple synchronization links CIS complete the above process of sending and receiving data, the event ends. Then proceed to the next event, and so on, without repeating it.
  • the first central slave device can be the first slave device that establishes a connection with the master device, and the peripheral slave device can be the non-first slave device that establishes a connection with the master device.
  • the first central slave device can establish multiple connections with the master device.
  • the first synchronization link does not limit the manner of establishing multiple first synchronization links between the first central slave device and the master device.
  • the first central slave device passes through The second communication link between it and the master device sends a first request message to the master device, the first request message is used to request the establishment of multiple first synchronization links; the first center slave device receives through the second communication link A response message sent by the master device, where the response message is used to indicate the establishment of multiple first synchronization links.
  • the embodiments of the present application do not impose restrictions on this.
  • the first central slave device sends corresponding first synchronization information to at least one peripheral slave device.
  • the first synchronization information may include link parameters of the first communication link, and the link parameters of the first communication link may include the current first synchronization information.
  • the slave device sends the foregoing information to the peripheral slave device.
  • the embodiment of the present invention does not limit the specific content and form of the link parameter of the first communication link.
  • the link parameter of the first communication link may also Including the frequency modulation map (ch map), the number of sub-events (nse), (the number of data packets that need to be transmitted in each event) bn, the period (interval) and other information.
  • the first synchronization chain The link parameters of the path include: the first data access address; the first data access address is used to enable the peripheral slave device to start data transmission with the master device according to the first data access address; the first center slave device sends the peripheral slave device After the device sends the first data access address, the first central slave device stops data transmission with the master device through the first synchronization link according to the data first access address, so that the peripheral slave device can access the data according to the first data access address Start data transfer with the main device.
  • the first central slave device may also stop the first synchronization link with the master device according to the first data access address That is, the first central slave device can also stop the data transmission with the master device through the first synchronization link according to the first data access address, and then send the first data access address to the peripheral slave device,
  • the first central slave device after the first data access address is sent to the peripheral slave device, the first central slave device cannot perform data transmission with the master device, and the master device will communicate with the peripheral device with the first data access address. Data transfer from the device.
  • the implementation of this application does not limit the representation form of the first data access address, for example, it may be an access code (aa), an access code, or other address forms.
  • Step S102 the peripheral slave device obtains the first synchronization information from the first central slave device.
  • the peripheral slave device obtains the link parameter of the first communication link from the device in the first center through the first communication link.
  • the embodiments of the present application do not impose restrictions on this.
  • Step S103 the first center slave device stops data transmission with the master device through the first synchronization link.
  • the embodiment of this application does not limit the specific implementation manner in which the first center slave device stops data transmission with the master device through the first synchronization link.
  • the first center slave device stops communicating with the master device.
  • Data transmission between master devices via the first synchronization link includes:
  • the first center slave device determines the first synchronization link to stop data transmission with the master device according to the link parameters of the first synchronization link; the first synchronization information also includes first synchronization time information, and the first center slave device A synchronization time information, which determines the stop time for stopping the data transmission through the first synchronization link with the master device.
  • the stop time is after the (N-1)th frame data is transmitted between the first center slave device and the master device ,
  • the stop time is before the Nth frame of data transmission between the peripheral slave device and the master device; the first central slave device stops data transmission with the master device through the first synchronization link at the stop time.
  • the first center slave device determines the first synchronization link to stop data transmission with the master device according to the link parameters of the first synchronization link.
  • FIG. 2B is another implementation of this application.
  • the example provides a schematic diagram of the topology structure based on the synchronization link, as shown in Figure 2B.
  • the peripheral slave device 1 determines to stop performing data with the master device according to the link parameters of the first synchronization link
  • the first synchronization link to be transmitted is the first synchronization link 1.
  • the first center slave device determines the stop time for stopping the data transmission with the master device through the first synchronization link 1 according to the first synchronization time information.
  • a central slave device stops data transmission with the master device through the first synchronization link 1 at the stop time.
  • FIG. 5 is a timing diagram of multi-device data receiving and sending based on a synchronous link provided by an embodiment of the present application.
  • the slave device has only the first center slave device.
  • the master device sends data to the first center slave device, and the first center slave device receives data, which realizes the data transmission between the master device and the slave device;
  • the first central slave device sends first synchronization information to the peripheral slave device through the first communication link.
  • the first synchronization information includes the first synchronization time information.
  • the synchronization time information can be, for example, the time after the (N-1)th frame data is transmitted between the first central slave device and the master device, and before the Nth frame data starts to be transmitted between the peripheral slave device and the master device, for example, , Can be in Figure 5, before the start time of the peripheral slave device event, and after the first central slave device and the master device have completed the (N-1)th frame of data transmission, in this embodiment, N is greater than 0 and is Integer.
  • the embodiment of the present application does not limit the specific information of the first synchronization time information.
  • the first center slave device stops data transmission with the master device through the first synchronization link, including: the first center slave device disconnects the first synchronization between the master device link.
  • the first central slave device disconnects the first synchronization link 1 with the master device.
  • Step S104 The peripheral slave device starts data transmission with the master device according to the link parameter of the first synchronization link.
  • the embodiment of the present application does not limit the manner in which the peripheral slave device starts data transmission with the master device according to the link parameters of the first synchronization link.
  • the peripheral slave device starts data transmission according to the first synchronization link. Start data transmission between the link parameters and the main device, including:
  • the peripheral slave device starts to transmit the Nth frame of data with the master device according to the link parameters of the first synchronization link; the first synchronization information includes first synchronization time information, and the peripheral slave device determines to start and The start time of the master device for data transmission, the start time is after the (N-1)th frame data transmission between the first center slave device and the master device through the first synchronization link, the start time is the first center slave After the device stops data transmission with the master device through the first synchronization link; the peripheral slave device starts to transmit the Nth frame of data with the master device at the start time.
  • the first synchronization information includes first synchronization time information
  • the peripheral slave device determines to start and The start time of the master device for data transmission, the start time is after the (N-1)th frame data transmission between the first center slave device and the master device through the first synchronization link, the start time is the first center slave
  • the peripheral slave device starts to transmit the Nth frame of data with the master device at the start time.
  • the peripheral slave device 1 starts to transmit the Nth frame of data with the master device according to the link parameters of the first synchronization link, and the Nth frame of data is the main
  • the device transmits data to the first center slave device through the first synchronization link 1 and the next frame of the (N-1)th frame of data, and then determines the start of the communication with the master device through the first synchronization time information in the first synchronization information
  • the start time of data transmission for example: the first synchronization time information, including the sending time of the first central slave device sending the first synchronization information to the peripheral slave device, and the sending time and the start of data transmission between the master device and the peripheral slave device
  • the time difference between the time, the peripheral slave device 1 sends the first synchronization information to the peripheral slave device according to the transmission time of the first central slave device, and the time difference between the transmission time and the time when the peripheral slave device and the master device start data transmission , Calculate the start time.
  • the peripheral slave device starts to receive the data sent by the master device and sends the data to the master device to realize the peripheral slave device and the master device Data transfer between.
  • the peripheral slave device starts data transmission with the master device according to the link parameters of the first synchronization link, including:
  • the peripheral slave device establishes a second synchronization link with the master device according to the link parameter of the first synchronization link.
  • the peripheral slave device 1 establishes a second synchronization link 1 with the master device according to the link parameters of the first synchronization link, where the second synchronization link 1 is the same as the first synchronization link in Figure 2A.
  • the link parameters of synchronization link 1 are consistent.
  • the manner in which the peripheral slave device 2 joins the topology is the same as the manner in which the peripheral slave device 1 joins the topology, and will not be repeated.
  • the first central slave device stops the data transmission through the first synchronization link with the master device.
  • Transmission realizes the addition of peripheral slave devices to the topology, and avoids data transmission interruption when the peripheral slave devices join the topology, thereby improving the switching efficiency of the synchronous link topology and realizing seamless switching.
  • the synchronization link-based topology method provided in the embodiment of the present application may further include:
  • the peripheral slave device sends a link synchronization success message or a link synchronization failure message to the first center slave device, and the first center slave device receives a link synchronization success message or a link synchronization failure message sent by the peripheral slave device, and a link synchronization success message , Used to confirm the success of data transmission between the peripheral slave device and the master device, and link synchronization failure message, used to confirm the failure of the data transmission between the peripheral slave device and the master device.
  • the peripheral slave device After the peripheral slave device completes the data transmission with the master device, it sends a link synchronization success message to the first central slave device through the first communication link, which indicates the communication between the peripheral slave device and the master device.
  • the synchronization link is successfully established. If the peripheral slave device does not receive the data sent by the master device at the first anchor point, it can calculate the next ISO event through the ISO cycle and try to receive data in the next ISO event. If the CIS link is not received in multiple consecutive events Data, then you can send a link synchronization failure message to the first central slave device through the first communication link between the peripheral slave device and the first central slave device to determine the synchronization link between the peripheral slave device and the master device to establish a connection failure.
  • FIG. 6 is a schematic diagram of the topology switching structure based on the synchronization link provided by another embodiment of the present application, as shown in FIG.
  • the topology structure 11 indicates that the first center slave device establishes a second communication link ACL-A and multiple synchronization links CIS1 and CIS2 with the master device.
  • CIS1 and CIS2 belong to the synchronization packet link CIG, and the topology structure 12 indicates the periphery
  • the slave device joins the wireless communication local area network, the first central slave device establishes the first communication link ACL-B with the peripheral slave device, and the peripheral slave device communicates with the first central slave device through the first communication link ACL-B.
  • Topological structure 13 Indicates that the peripheral slave device receives the data transmitted by the master device through CIS2 through the first central slave device, and the first central slave device receives the data sent by the master device through CIS1 and stops receiving the data sent by CIS2.
  • the topology switching method based on the synchronization link provided by the embodiment of the application sends first synchronization information to the peripheral slave device through the first central slave device, so that the peripheral slave device communicates with the master device according to the link parameters of the first synchronization link.
  • the first central slave device stops data transmission with the master device through the first synchronization link . This avoids disconnecting the data transmission between the master device and the slave device during the process of establishing a synchronization link between the master device and the newly added slave device, thereby improving the switching efficiency of the synchronization link topology.
  • the slave device leaves. Take the Bluetooth headset as an example. For example, disconnect the connection between a Bluetooth headset and the master device.
  • the slave device that leaves may be a peripheral slave device or It is the first central slave device. Based on this, the following two situations are introduced separately.
  • FIG. 7 is an interaction diagram of a synchronization link-based topology switching method provided by another embodiment of the present application.
  • the synchronization link-based topology provided by an embodiment of the present application is The switching method may also include:
  • Step S201 The peripheral slave device sends the second synchronization information to the first central slave device.
  • the second synchronization information includes the link parameters of the second synchronization link.
  • the second synchronization link is the peripheral slave device and the master device.
  • the link parameters of the second synchronization link may include the nearest anchor point, event counter, delay time, time difference, and other information of the current first communication link, which is not limited in the embodiment of the present invention.
  • the link parameters of the second synchronization link include: the second data access address, which makes the peripheral slave device stop data transmission with the master device through the second synchronization link; the first center slave device receives the data sent by the peripheral slave device After the second synchronization information, the first center slave device starts data transmission with the master device according to the second data access address.
  • the content of the second synchronization information is similar to the content of the first synchronization information, and reference may be made to the introduction of the first synchronization information in the foregoing embodiment, which is not repeated in this embodiment of the application.
  • FIG. 8 is a schematic diagram of a topology switching structure based on a synchronization link according to another embodiment of the present application.
  • the topology structure 21 indicates that the first central slave device and the master device pass through the first synchronization link CIS1 and The second communication link ACL-A is connected, the peripheral slave device and the master device are connected through the second synchronization link CIS2, the first communication link ACL-B is established between the first central slave device and the peripheral slave device, and the peripheral slave device When the device leaves, the second synchronization information is sent to the first center slave device through the first communication link ACL-B.
  • Step S202 the peripheral slave device stops data transmission with the master device through the second synchronization link.
  • step S202 is similar to that of step S103.
  • step S103 which will not be repeated.
  • Step S203 The first center slave device starts data transmission with the master device according to the link parameter of the second synchronization link.
  • the first center slave device starts data transmission with the master device via the first synchronization link CIS2 according to the link parameters of the second synchronization link, steps S203 and S104
  • the content in is similar.
  • Step S204 the first central slave device disconnects the first communication link between the peripheral slave device and the first central slave device.
  • the first center slave device disconnects the first communication link ACL-B, and the peripheral slave device leaves.
  • the peripheral slave device is left, and during the process of leaving the peripheral slave device, the data transmission between the master device and the slave device is not interrupted, which improves the user experience.
  • the master device is not required to perform multi-device management, which improves the efficiency of synchronous link topology switching.
  • FIG. 9 is an interaction diagram of a synchronization link-based topology switching method provided by another embodiment of the present application.
  • the synchronization link-based The topology switching method may also include:
  • Step S301 The first central slave device selects a peripheral slave device from the peripheral slave devices as the second central slave device.
  • FIG. 10 is a schematic diagram of a topology switching structure based on a synchronization link provided by another embodiment of the present application. As shown in the topology structure 31 in FIG. 10, the first If the center slave device wants to leave, the peripheral slave device is selected as the second center slave device. The embodiment of the present application does not limit how to select the peripheral slave device as the second center slave device.
  • Step S302 The first center slave device sends the third synchronization information to the second center slave device.
  • the third synchronization information is transmitted through the first communication link between the second center slave device and the first center slave device, and the third synchronization information includes link parameters of the first synchronization link and third synchronization time information;
  • the content of the triple synchronization information please refer to the introduction to the first synchronization information, which is not repeated here.
  • Step S303 The second center slave device receives the third synchronization information sent by the first center slave device.
  • step S102 please refer to the introduction to step S102, which will not be repeated.
  • Step S304 The first center slave device stops data transmission with the master device through the first synchronization link according to the third synchronization information.
  • the first center slave device stops data transmission with the master device through the first synchronization link CIS1 according to the third synchronization information.
  • the specific process please refer to the content in step S103. No longer.
  • the data transmission with the master device through the second communication link ACL-A is also stopped.
  • Step S305 The second center slave device starts data transmission with the master device according to the third synchronization information.
  • the second center slave device starts data transmission with the master device through the first synchronization link CIS1 according to the third synchronization information.
  • the specific process can refer to the content in step S104. No longer.
  • data transmission with the master device via the second communication link ACL-A is also started.
  • Step S306 The first center slave device disconnects the first communication link between the first center slave device and the second center slave device.
  • the first central slave device disconnects the first communication link ACL-B between the first central slave device and the second central slave device.
  • the topology at this time refer to the topology 33 in FIG. 10.
  • the departure of the center slave device is realized.
  • the second center slave device starts data transmission with the master device according to the third synchronization information, which avoids the master device and The interruption of data transmission between slave devices improves the user experience.
  • the master device does not need to perform multi-device management when the peripheral slave device leaves, which improves the efficiency of synchronization link topology switching.
  • the synchronization link-based topology switching method may further include:
  • the first center slave device When the first center slave device fails to receive the data sent by the master device through the first synchronization link, the first center slave device sends a data request message to the master device through the first synchronization link until the master device resends the data request message. The number of times the data exceeds the preset threshold, or the first center slave device receives the data requested by the data request message, and the data request message is used to request the master device to resend the data requested by the data request message.
  • the peripheral slave device When the peripheral slave device fails to receive the data sent by the master device through the second synchronization link, the peripheral slave device sends a data request message to the master device through the second synchronization link until the master device resends the data requested by the data request message.
  • the preset threshold is exceeded, or the peripheral slave device receives the data requested by the data request message, and the data request message is used to request the master device to resend the data requested by the data request message.
  • the master device establishes a first synchronization link 3 with a first central slave device, and the master device establishes a second synchronization link 1 and a peripheral slave device 1 and a peripheral slave device 2, respectively.
  • the second synchronization link 2 if the first center slave device fails to receive the data sent by the master device through the first synchronization link 3, the first center slave device sends a data request message to the master device through the first synchronization link 3, requesting The master device resends the failed data.
  • peripheral slave device 1 fails to receive the data sent by the master device through the second synchronization link 1, the peripheral slave device 1 sends a data request message to the master device through the second synchronization link 1, requesting The master device resends the data requested by the data request message, and so on, and will not be repeated.
  • the first center slave device Take the first center slave device failing to receive the data sent by the master device through the first synchronization link 3 as an example. After the first center slave device sends a data request message to the master device, it still does not receive the data request message sent by the master device.
  • the first center slave device can send a data request message to the master device again through the first synchronization link 3 until the first center slave device receives the data requested by the data request message sent by the master device, or the master device resends The number of times of data requested by the data request message exceeds a preset threshold.
  • the embodiment of the present application does not limit the setting method of the preset threshold.
  • the present application provides a topology switching device based on a synchronization link, which can be implemented by software and/or hardware.
  • the device is applied to a first central slave device, and there are multiple devices between the first central slave device and the master device. Synchronous link, the first central slave device and at least one peripheral slave device respectively have a first communication link.
  • FIG. 11 is a schematic structural diagram of a topology switching device based on a synchronization link provided by an embodiment of the present application, as shown in FIG. 11
  • the device provided by the embodiment of the present application may include: a transceiver module 41, a storage module 42, and a processing module 43.
  • the storage module 42 is used to store computer-executable instructions, so that when the processing module 43 executes the instructions, the implementation is as described above. Provides topology switching method based on synchronous link.
  • the transceiver module 41 is configured to send first synchronization information to the peripheral slave device through the first communication link with the peripheral slave device.
  • the first synchronization information includes the link parameters of the first synchronization link, so that the peripheral slave device is Start data transmission between the link parameters of a synchronization link and the master device;
  • the processing module 43 is configured to start data transmission between the peripheral slave device and the master device according to the link parameters of the first synchronization link, the first center slave device The device stops data transmission with the master device through the first synchronization link.
  • the link parameters of the first synchronization link include: a first data access address; the first data access address is used to enable the peripheral slave device to start data transmission with the master device according to the first data access address;
  • the processing module 43 is further configured to send the first data access address to the peripheral slave device, and the first center slave device stops data transmission with the master device through the first synchronization link according to the data access address, so that the peripheral slave device Start data transmission with the master device according to the first data access address.
  • the first center slave device stops data transmission with the master device through the first synchronization link
  • the processing module 43 is configured to: determine to stop data transmission with the master device according to the link parameters of the first synchronization link The first synchronization link for transmission; the first synchronization information also includes first synchronization time information, and the first center slave device determines to stop data transmission via the first synchronization link with the master device according to the first synchronization time information Stop time, the stop time is after the (N-1)th frame data is transmitted between the first central slave device and the master device, and the stop time is before the Nth frame data is transmitted between the peripheral slave device and the master device; at the stop time , Stop data transmission with the master device through the first synchronization link.
  • the first synchronization time information includes: the sending time at which the first central slave device sends the first synchronization information to the peripheral slave device, and the time difference between the sending time and the time when the master device starts data transmission.
  • the transceiver module 41 is also used to: the first center slave device receives a link synchronization success message or a link synchronization failure message sent by the peripheral slave device, and the link synchronization success message is used to confirm the relationship between the peripheral slave device and the master device. The data transmission is successful and the link synchronization failure message is used to confirm the failure of data transmission between the peripheral slave device and the master device.
  • the transceiver module 41 is configured to receive second synchronization information sent by the peripheral slave device, the second synchronization information includes link parameters of the second synchronization link, and the second synchronization link is the communication between the peripheral slave device and the master device.
  • Synchronization link the second synchronization link is used for data transmission between the peripheral slave device and the master device;
  • the processing module 43 is used to start between the first central slave device and the master device according to the link parameters of the second synchronization link Before data transmission, stop the data transmission between the peripheral slave device and the master device through the second synchronization link; disconnect the first communication link between the peripheral slave device and the first central slave device.
  • the peripheral slave device starts data transmission with the master device according to the link parameters of the first synchronization link, including: the peripheral slave device establishes a second communication with the master device according to the link parameters of the first synchronization link. Synchronization link; stopping the data transmission between the first central slave device and the master device through the first synchronization link includes: the first central slave device disconnects the first synchronization link with the master device.
  • the link parameters of the second synchronization link include: a second data access address, so that the peripheral slave device stops data transmission with the master device through the second synchronization link; the processing module 43 is also used to After receiving the second synchronization information sent by the peripheral slave device, the first central slave device starts data transmission with the master device according to the second data access address.
  • the processing module 43 is configured to: select a peripheral slave device from the peripheral slave devices as the second central slave device; the transceiver module 41 is configured to send third synchronization information to the second central slave device, and the third synchronization information is passed through The third synchronization information is transmitted by the first communication link between the second center slave device and the first center slave device, and the third synchronization information includes the link parameters of the first synchronization link and the third synchronization time information; the processing module 43 is used for Triple synchronization information, stop data transmission with the master device through the first synchronization link, and make the second center slave device start data transmission with the master device; the processing module 43 is also used to disconnect the first center slave device The first communication link between the device and the second central slave device.
  • processing module 43 is also used for:
  • the method before sending the first synchronization information to the peripheral slave device through the first communication link with the peripheral slave device, the method further includes:
  • the first central slave device scans the identity information of the peripheral slave device and establishes the first communication link between the peripheral slave device and the first central slave device; the first central slave device identifies the identity information of the peripheral slave device; if the peripheral slave device If the identity information is not recognized, the first communication link between the peripheral slave device and the first central slave device is disconnected.
  • processing module 43 is used to:
  • the first center slave device When the first center slave device fails to receive the data sent by the master device through the first synchronization link, the first center slave device sends a data request message to the master device through the first synchronization link until the master device resends the data request message. The number of times the data exceeds the preset threshold, or the first center slave device receives the data requested by the data request message, and the data request message is used to request the master device to resend the data requested by the data request message.
  • the transceiver module 41 is configured to send a first request message to the master device through the second communication link between it and the master device, and the first request message is used to request the establishment of multiple first synchronization links;
  • the second communication link receives a response message sent by the master device, where the response message is used to instruct the establishment of multiple first synchronization links.
  • FIG. 12 is a schematic structural diagram of a synchronization link-based topology switching apparatus provided by another embodiment of the present application. As shown in FIG. 12, the present application The device provided by the embodiment may include: a transceiver module 51, a storage module 52, and a processing module 53, the storage module 52 is used to store computer executable instructions, so that when the processing module 53 executes the instructions, the synchronization-based Link topology switching method.
  • the transceiver module 51 is used to obtain first synchronization information from the first central slave device.
  • the first synchronization information includes link parameters of the first synchronization link.
  • the peripheral slave device communicates with the master device according to the link parameters of the first synchronization link.
  • the processing module 53 is used to communicate with the master device according to the link parameters of the first synchronization link Start data transfer.
  • the link parameters of the first synchronization link include: a first data access address, where the first data access address is used to enable the peripheral slave device to start data transmission with the master device according to the first data access address;
  • the transceiver module 51 is configured to receive the first data access address, so that the first central slave device stops data transmission with the master device through the first synchronization link according to the first data access address, and the peripheral slave device according to the first data Start data transmission between the access address and the master device.
  • processing module 53 is used to:
  • the first synchronization information includes first synchronization time information
  • the peripheral slave device determines to start communication with the master device according to the first synchronization time information.
  • the start time of data transmission is after the (N-1)th frame data transmission between the first center slave device and the master device through the first synchronization link, the start time is when the first center slave device stops and After data transmission between the master devices through the first synchronization link; at the start time, start to transmit the Nth frame of data with the master device.
  • the first synchronization time information includes:
  • the transceiver module 51 is further configured to send a link synchronization success message or a link synchronization failure message to the first central slave device, and the link synchronization success message is used to confirm the success of data transmission between the peripheral slave device and the master device, The link synchronization failure message is used to confirm the failure of data transmission between the peripheral slave device and the master device.
  • the transceiver module 51 is configured to send second synchronization information to the first central slave device, the second synchronization information includes link parameters of the second synchronization link, and the second synchronization link is between the peripheral slave device and the master device The synchronization link; the processing module 53 is used to stop data transmission with the master device through the second synchronization link according to the second synchronization information, and start data transmission between the first center slave device and the master device; disconnect Open the first communication link between the peripheral slave device and the first central slave device.
  • the peripheral slave device starts data transmission with the master device according to the link parameters of the first synchronization link, including: the peripheral slave device establishes a second communication with the master device according to the link parameters of the first synchronization link. Synchronization link, the second synchronization link is used for data transmission between the peripheral slave device and the master device; the first center slave device stops data transmission with the master device through the first synchronization link, including: the first center The slave device disconnects the first synchronization link between the first central slave device and the master device.
  • the transceiver module 51 is configured to receive third synchronization information sent by the first center slave device, the second center slave device is any one of the peripheral slave devices, and the third synchronization information is communicated with the first center slave device through the second center slave device.
  • the third synchronization information includes the link parameters of the first synchronization link transmitted by the first communication link between the center slave devices; the processing module 53 is used to start data transmission with the master device according to the third synchronization information, And make the first center slave device stop data transmission with the master device through the first synchronization link; disconnect the first communication link between the first center slave device and the second center slave device.
  • the third synchronization information further includes third synchronization time information, so that the first center slave device determines the stop time for stopping data transmission with the master device through the first synchronization link according to the third synchronization time information, The stop time is after the (M-1)th frame data is transmitted between the first center slave device and the master device, and the stop time is before the Mth frame data is transmitted between the second center slave device and the master device.
  • the third synchronization time information includes:
  • the sending time at which the first center slave device sends the third synchronization information to the second center slave device and the time difference between the sending time and the time when the master device starts data transmission.
  • the transceiver module 51 is configured to send the identity information of the peripheral slave device to the first central slave device, so that the first central slave device scans and recognizes the identity information of the peripheral slave device to establish the relationship between the peripheral slave device and the first central slave device.
  • processing module 53 is used to:
  • the peripheral slave device When the peripheral slave device fails to receive the data sent by the master device through the second synchronization link, the peripheral slave device sends a data request message to the master device through the second synchronization link until the master device resends the data requested by the data request message.
  • the preset threshold is exceeded, or the peripheral slave device receives the data requested by the data request message, and the data request message is used to request the master device to resend the data requested by the data request message.
  • the embodiment of the present application provides a chip for executing the synchronization link-based topology switching method provided by the above method embodiment.
  • the content and effect please refer to the method part, and will not be repeated.
  • the embodiment of the present application provides a central slave device, including the chip provided in the embodiment of the present application.
  • a central slave device including the chip provided in the embodiment of the present application.
  • the embodiment of the present application provides a peripheral slave device, including the chip provided in the embodiment of the present application.
  • a peripheral slave device including the chip provided in the embodiment of the present application.
  • the embodiment of the application provides a system.
  • the system provided by the embodiment of the application includes a master device, a center slave device, and at least one peripheral slave device. There are multiple synchronization links between the center slave device and the master device. There is a first communication link for each peripheral slave device.
  • This application provides a computer storage medium, which includes computer instructions.
  • the instructions When the instructions are executed by a computer, the computer realizes the method provided in the embodiments of this application.
  • the content and effect please refer to the method section, and will not be repeated.
  • This application provides a computer program product, including computer instructions.
  • the instructions When the instructions are executed by a computer, the computer realizes the method provided in the embodiments of this application.
  • the content and effect please refer to the method section, and will not be repeated.
  • a person of ordinary skill in the art can understand that all or part of the steps in the foregoing method embodiments can be implemented by a program instructing relevant hardware.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the steps including the foregoing method embodiments are executed; and the foregoing storage medium includes: ROM, RAM, magnetic disk, or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Small-Scale Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

一种基于同步链路的拓扑切换方法、装置、系统及存储介质,该方法应用于第一中心从设备,第一中心从设备与主设备之间存在多个第一同步链路,第一中心从设备与外围从设备之间存在第一通信链路,方法包括:第一中心从设备通过与外围从设备之间的第一通信链路,向外围从设备发送第一同步信息,第一同步信息包括第一同步链路的链路参数,使得外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输;在外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输之前,第一中心从设备停止与主设备之间的通过第一同步链路的数据传输,提高了同步链路拓扑的切换效率。

Description

基于同步链路的拓扑切换方法、装置、系统及存储介质 技术领域
本申请涉及无线通信技术领域,尤其涉及一种基于同步链路的拓扑切换方法、装置、系统及存储介质。
背景技术
随着通信技术的发展,无线数据通信进入爆发期,基于无线数据通信的应用随处可见,比如基于音频的无线耳机个人应用等。其中,无线个人局域网(Wireless Personal Area Network,缩写为WPAN)是一种被广泛应用的无线数据通信方式,WPAN被用在诸如电话、计算机、附属设备以及小范围(个人局域网的工作范围一般是在10米以内)内的数字助理设备之间的通信。通过WPAN,设备之间可以实现点对点的数据交互,比如:移动终端与无线耳机之间的无线网络数据交互等。在WPAN中,通用的无线链路可以采用无线保真(Wireless-Fidelity,WIFI)、红外数据组织(Infrared Data Association,IrDA)或蓝牙等无线链路方式。
现有技术中,在无线分组数据传输时,应用于不同场合的设备需要根据使用情况、链路拓扑、设备数量等作出分组链路拓扑更新、角色转换,在拓扑结构进行转换时通常需要先断开所有同步分组链路,然后以新的拓扑结构重新创建所有链路。
然而,现有技术在同步分组链路拓扑切换过程中,同步分组链路数据传输会发生中断,因此,同步分组链路拓扑切换的效率较低。
发明内容
本申请提供一种基于同步链路的拓扑切换方法、装置、系统及存储介质,提高了同步链路拓扑切换的效率。
第一方面,本申请提供一种基于同步链路的拓扑切换方法,方法应用于第一中心从设备,第一中心从设备与主设备之间存在多个第一同步链路,第 一中心从设备与外围从设备之间存在第一通信链路,方法包括:
第一中心从设备通过与外围从设备之间的第一通信链路,向外围从设备发送第一同步信息,第一同步信息包括第一同步链路的链路参数,使得外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输;在外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输之前,第一中心从设备停止与主设备之间的通过第一同步链路的数据传输。
本方案中,通过第一中心从设备向外围从设备发送第一同步信息,使得外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输,且在外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输之前,第一中心从设备停止与主设备之间的通过第一同步链路的数据传输。避免了在主设备与新增加的从设备建立同步链路的过程中,断开主设备与从设备之间的连接,进而提高了同步链路拓扑的切换效率。
可选的,第一同步链路的链路参数包括:第一数据接入地址;
第一数据接入地址用于使得外围从设备根据第一数据接入地址与主设备之间开始数据传输;第一中心从设备向外围从设备发送第一数据接入地址后,第一中心从设备根据数据接入地址停止与主设备之间的通过第一同步链路的数据传输,使得外围从设备根据第一数据接入地址与主设备之间开始数据传输。
可选的,第一中心从设备停止与主设备之间的通过第一同步链路的数据传输,包括:
第一中心从设备根据第一同步链路的链路参数,确定停止与主设备进行数据传输的第一同步链路;第一同步信息还包括第一同步时间信息,第一中心从设备根据第一同步时间信息,确定停止与主设备之间的通过第一同步链路的数据传输的停止时间,停止时间在第一中心从设备与主设备之间传输完第(N-1)帧数据之后,停止时间在外围从设备与主设备之间开始传输第N帧数据之前;第一中心从设备在停止时间,停止与主设备之间的通过第一同步链路的数据传输。
可选的,第一同步时间信息包括:
第一中心从设备向外围从设备发送第一同步信息的发送时间,以及发送时间与主设备开始数据传输的时间之间的时间差。
可选的,本申请实施例提供的基于同步链路的拓扑切换方法,还包括:
第一中心从设备接收外围从设备发送的链路同步成功消息或链路同步失败消息,链路同步成功消息,用于确认外围从设备与主设备之间传输数据成功,链路同步失败消息,用于确认外围从设备与主设备之间传输数据失败。
可选的,本申请实施例提供的基于同步链路的拓扑切换方法,还包括:
第一中心从设备接收外围从设备发送的第二同步信息,第二同步信息包括第二同步链路的链路参数,第二同步链路为外围从设备与主设备之间的同步链路,第二同步链路用于外围从设备与主设备之间的数据传输;在第一中心从设备根据第二同步链路的链路参数与主设备之间开始数据传输之前,使外围从设备停止与主设备之间的通过第二同步链路的数据传输;第一中心从设备断开外围从设备与第一中心从设备之间的第一通信链路。
本方案中,实现了外围从设备的离开或删除,并且避免了主设备与从设备之间的数据传输中断,进而提高了同步链路拓扑切换的效率。
可选的,外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输,包括:
外围从设备根据第一同步链路的链路参数建立与主设备之间的第二同步链路;第一中心从设备停止与主设备之间的通过第一同步链路的数据传输,包括:第一中心从设备断开与主设备之间的第一同步链路。
可选的,本申请实施例提供的基于同步链路的拓扑切换方法,还包括:第二同步链路的链路参数包括:第二数据接入地址,使得外围从设备停止与主设备之间的通过第二同步链路的数据传输;第一中心从设备接收外围从设备发送的第二同步信息后,第一中心从设备根据第二数据接入地址与主设备之间开始数据传输。
可选的,本申请实施例提供的基于同步链路的拓扑切换方法,还包括:
第一中心从设备在外围从设备中选择一个外围从设备作为第二中心从设备;第一中心从设备向第二中心从设备发送第三同步信息,第三同步信息是通过第二中心从设备与第一中心从设备之间的第一通信链路传输的,第三同步信息包括第一同步链路的链路参数和第三同步时间信息;第一中心从设备根据第三同步信息,停止与主设备之间的通过第一同步链路的数据传输,并使第二中心从设备开始与主设备之间的数据传输;第一中心从设备断开第一 中心从设备与第二中心从设备之间的第一通信链路。
本方案中,实现了中心从设备的离开或删除,且在中心从设备离开或删除的过程中,避免了在主设备与从设备之间数据传输的终端,进而提高了同步链路拓扑切换的效率。
可选的,在第一中心从设备分别通过与外围从设备之间的第一通信链路,向外围从设备发送第一同步信息之前,还包括:
第一中心从设备扫描外围从设备的身份信息;第一中心从设备识别外围从设备的身份信息;若外围从设备的身份信息通过识别,则建立外围从设备与第一中心从设备之间的第一通信链路。
可选的,在第一中心从设备分别通过与外围从设备之间的第一通信链路,向外围从设备发送第一同步信息之前,还包括:
第一中心从设备扫描外围从设备的身份信息,并建立外围从设备与第一中心从设备之间的第一通信链路;第一中心从设备识别外围从设备的身份信息;若外围从设备的身份信息未通过识别,则断开外围从设备与第一中心从设备之间的第一通信链路。
可选的,本申请实施例提供的基于同步链路的拓扑切换方法,还包括:
当第一中心从设备接收主设备通过第一同步链路发送的数据失败时,第一中心从设备通过第一同步链路向主设备发送数据请求消息,直到主设备重新发送数据请求消息所请求的数据的次数超过预设阈值,或,第一中心从设备接收到了数据请求消息所请求的数据,数据请求消息用于请求主设备重新发送数据请求消息所请求的数据。
可选的,本申请实施例提供的基于同步链路的拓扑切换方法,还包括:
第一中心从设备通过其与主设备之间的第二通信链路,向主设备发送第一请求消息,第一请求消息用于请求建立多个第一同步链路;第一中心从设备通过第二通信链路接收主设备发送的响应消息,响应消息用于指示建立多个第一同步链路。
第二方面,本申请提供一种基于同步分组链路的拓扑切换方法,该方法应用于外围从设备,外围从设备与第一中心从设备之间存在第一通信链路,第一中心从设备与主设备之间存在多个同步链路,方法包括:
外围从设备从第一中心从设备获取第一同步信息,第一同步信息包括第 一同步链路的链路参数,在外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输之前,使得第一中心从设备停止与主设备之间的通过第一同步链路的数据传输;外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输。
可选的,本申请实施例提供的基于同步链路的拓扑切换方法,还包括:
第一同步链路的链路参数包括:第一数据接入地址,第一数据接入地址用于使外围从设备根据第一数据接入地址与主设备之间开始数据传输;外围从设备接收第一数据接入地址,使得第一中心从设备根据第一数据接入地址停止与主设备之间的通过第一同步链路的数据传输,外围从设备根据第一数据接入地址与主设备之间开始数据传输。
可选的,外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输,包括:
外围从设备根据第一同步链路的链路参数,与主设备之间开始传输第N帧数据;第一同步信息包括第一同步时间信息,外围从设备根据第一同步时间信息,确定开始与主设备进行数据传输的开始时间,开始时间在第一中心从设备与主设备之间的通过第一同步链路的传输完第(N-1)帧数据传输之后,开始时间在第一中心从设备停止与主设备之间的通过第一同步链路的数据传输之后;外围从设备在开始时间,开始与主设备之间传输第N帧数据。
可选的,第一同步时间信息包括:
第一中心从设备向外围从设备发送第一同步信息的发送时间,以及发送时间与主设备开始数据传输的时间之间的时间差。
可选的,本申请实施例提供的基于同步链路的拓扑切换方法,还包括:
外围从设备向第一中心从设备发送链路同步成功消息或链路同步失败消息,链路同步成功消息,用于确认外围从设备与主设备之间传输数据成功,链路同步失败消息,用于确认外围从设备与主设备之间传输数据失败。
可选的,本申请实施例提供的基于同步链路的拓扑切换方法,还包括:
外围从设备向第一中心从设备发送第二同步信息,第二同步信息包括第二同步链路的链路参数,第二同步链路为外围从设备与主设备之间的同步链路;外围从设备根据第二同步信息,停止与主设备之间的通过第二同步链路的数据传输,且使第一中心从设备与主设备之间开始数据传输;外围从设备 断开外围从设备与第一中心从设备之间的第一通信链路。
可选的,本申请实施例提供的基于同步链路的拓扑切换方法,还包括:
外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输,包括:外围从设备根据第一同步链路的链路参数建立与主设备之间的第二同步链路,第二同步链路用于外围从设备与主设备之间的数据传输;第一中心从设备停止与主设备之间的通过第一同步链路的数据传输,包括:第一中心从设备断开第一中心从设备与主设备之间的第一同步链路。
可选的,本申请实施例提供的基于同步链路的拓扑切换方法,还包括:
第二中心从设备接收第一中心从设备发送的第三同步信息,第二中心从设备为外围从设备中的任一个,第三同步信息是通过第二中心从设备与第一中心从设备之间的第一通信链路传输的,第三同步信息包括第一同步链路的链路参数;第二中心从设备根据第三同步信息,开始与主设备之间的数据传输,并使第一中心从设备停止与主设备之间的通过第一同步链路的数据传输;第二中心从设备断开第一中心从设备与第二中心从设备之间的第一通信链路。
可选的,本申请实施例提供的基于同步链路的拓扑切换方法,还包括:
第三同步信息还包括第三同步时间信息,使得第一中心从设备根据第三同步时间信息,确定停止与主设备之间的通过第一同步链路的数据传输的停止时间,停止时间在第一中心从设备与主设备之间传输完第(M-1)帧数据之后,停止时间在第二中心从设备与主设备之间开始传输第M帧数据之前。
可选的,第三同步时间信息包括:
第一中心从设备向第二中心从设备发送第三同步信息的发送时间,以及发送时间与主设备开始数据传输的时间之间的时间差。
可选的,本申请实施例提供的基于同步链路的拓扑切换方法,还包括:
外围从设备向第一中心从设备发送外围从设备的身份信息,以使第一中心从设备扫描并识别外围从设备的身份信息,以建立外围从设备与第一中心从设备之间的第一通信链路。
可选的,本申请实施例提供的基于同步链路的拓扑切换方法,还包括:
当外围从设备接收主设备通过第二同步链路发送的数据失败时,外围从设备通过第二同步链路向主设备发送数据请求消息,直到主设备重新发送数据请求消息所请求的数据的次数超过预设阈值,或,外围从设备接收到了数 据请求消息所请求的数据,数据请求消息用于请求主设备重新发送数据请求消息所请求的数据。
下面是本申请实施例提供的基于同步分组链路的拓扑切换装置、芯片、系统、存储介质及计算机程序产品,其内容和效果可参考第一方面或第二方面提供的基于同步分组链路的拓扑切换方法
第三方面,本申请提供一种基于同步分组链路的拓扑切换装置,用于执行如第一方面或第一方面可选方式的基于同步分组链路的拓扑切换方法。
第四方面,本申请提供一种基于同步分组链路的拓扑切换装置,用于执行如第二方面或第二方面可选方式的基于同步分组链路的拓扑切换方法。
第五方面,本申请提供一种芯片,用于执行如第一方面或第一方面可选方式的基于同步分组链路的拓扑切换方法。
第六方面,本申请提供一种芯片,用于执行如第二方面或第二方面可选方式的基于同步分组链路的拓扑切换方法。
第七方面,本申请提供一种中心从设备,包括如本申请第五方面提供的芯片。
第八方面,本申请提供一种外围从设备,包括如本申请第六方面提供的芯片。
第九方面,本申请提供一种系统,包括主设备、至少一个如本申请第七方面提供的中心从设备和如本申请第八方面提供的外围从设备;中心从设备与主设备之间存在多个同步链路,中心从设备与至少一个外围从设备分别存在一个第一通信链路。
第十方面,本申请提供一种计算机存储介质,存储介质包括计算机指令,当指令被计算机执行时,使得计算机实现第一方面或第一方面的方法。
第十一方面,本申请提供一种计算机存储介质,存储介质包括计算机指令,当指令被计算机执行时,使得计算机实现第二方面或第二方面的方法。
第十二方面,本申请提供一种计算机程序产品,包括计算机指令,当指令被计算机执行时,使得计算机实现第一方面或第一方面的方法。
第十三方面,本申请提供一种计算机程序产品,包括计算机指令,当指令被计算机执行时,使得计算机实现第二方面或第二方面的方法。
本申请提供一种基于同步链路的拓扑切换方法、装置、系统及存储介质, 该方法应用于第一中心从设备,第一中心从设备与主设备之间存在多个第一同步链路,第一中心从设备与外围从设备之间存在第一通信链路,方法包括:第一中心从设备通过与外围从设备之间的第一通信链路,向外围从设备发送第一同步信息,第一同步信息包括第一同步链路的链路参数,使得外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输;在外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输之前,第一中心从设备停止与主设备之间的通过第一同步链路的数据传输。由于通过第一中心从设备向外围从设备发送第一同步信息,使得外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输,且在外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输之前,第一中心从设备停止与主设备之间的通过第一同步链路的数据传输。避免了在主设备与新增加的从设备建立同步链路的过程中,断开主设备与从设备之间的数据传输,进而提高了同步链路拓扑的切换效率。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本申请一实施例提供的基于同步链路的拓扑方法的交互流程图;
图2A是本申请一实施例提供的基于同步链路的拓扑结构示意图;
图2B是本申请另一实施例提供的基于同步链路的拓扑结构示意图;
图3是基于图2A提供的基于同步链路的时序交互逻辑图;
图4是基于图2A提供的基于同步链路的数据收发时序图;
图5是本申请一实施例提供的基于同步链路的多设备数据收发时序图;
图6是本申请另一实施例提供的基于同步链路的拓扑切换结构示意图;
图7是本申请另一实施例提供的基于同步链路的拓扑切换方法的交互图;
图8是本申请又一实施例提供的基于同步链路的拓扑切换结构示意图;
图9是本申请再一实施例提供的基于同步链路的拓扑切换方法的交互图;
图10是本申请再一实施例提供的基于同步链路的拓扑切换结构示意图;
图11是本申请一实施例提供的基于同步链路的拓扑切换装置的结构示意图;
图12是本申请另一实施例提供的基于同步链路的拓扑切换装置的结构示意图。
具体实施方式
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例,例如能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
随着通信技术的发展,无线数据通信进入爆发期,基于无线数据通信的应用随处可见,比如:移动终端与无线耳机之间的无线网络数据交互等。在WPAN中,通用的无线链路可以采用WIFI、IrDA或蓝牙等无线链路方式,在无线分组数据传输时,应用于不同场合的设备需要根据使用情况、链路拓扑、设备数量等作出分组链路拓扑更新、角色转换,然而,在拓扑结构进行转换时通常需要先断开所有同步分组链路,然后以新的拓扑结构重新创建所有链路,同步分组链路拓扑切换的效率较低。为了解决上述技术问题,本申请提供一种基于同步链路的拓扑切换方法、装置、系统及存储介质。
以下,对本申请实施例的示例性应用场景进行介绍。
以终端设备与无线耳机之间的无线网络数据交互为例进行介绍,其中,终端设备可以为本申请实施例中的主设备,例如主设备可以为智能手机、音 乐播放器、视频播放器、平板电脑、个人电脑、车载终端、可穿戴设备、医疗设备等具有数据处理和通信功能的设备,无线耳机可以是本申请实施例中的从设备,例如从设备可以是真正无线立体声(True Wireless Stereo,TWS)、扬声器等可以从主设备接收数据的设备,本发明实施例对此不做限制,示例性的,在使用一只耳机进行音乐播放的过程中,取出另外一只耳机并进行音乐播放时,或,在使用两只耳机进行音乐播放的过程中,取下一只耳机收回盒子充电或者某只耳机电量耗尽等情况时,同步链路拓扑会发生切换。基于此,本申请提供一种基于同步链路的拓扑切换方法、装置、系统及存储介质。
基于上述应用场景,下面对本申请技术方案进行详细介绍:
图1是本申请一实施例提供的基于同步链路的拓扑方法的交互流程图,其中,该方法可以由基于同步链路的拓扑装置执行,该装置可以通过软件和/或硬件的方式实现,本申请以从设备为执行主体,对本申请提供的基于同步链路的拓扑切换方法进行介绍,如图1所示,该方法包括如下步骤:
步骤S101:第一中心从设备通过与外围从设备之间的第一通信链路,向外围从设备发送第一同步信息,第一同步信息包括第一同步链路的链路参数链路参数。
本申请实施例提供的基于同步链路的拓扑切换方法,应用于从设备,其中,从设备可以包括第一中心从设备和外围从设备,第一中心从设备与主设备之间存在多个第一同步链路,第一中心从设备与外围从设备之间存在第一通信链路。为便于对本申请实施例提供的基于同步链路的拓扑切换方法进行介绍,下面将结合基于同步链路的拓扑结构进行描述。图2A是本申请一实施例提供的基于同步链路的拓扑结构示意图,如图2A所示,第一中心从设备与主设备之间存在多个第一同步链路,包括第一同步链路1、第一同步链路2和第一同步链路3,多个第一同步链路分别用于传输同步数据流,例如:音频数据流等,本申请实施例对此不做限制。可选的,每个同步链路用于传输不同声道的数据流信息。第一中心从设备与至少一个外围从设备分别存在一个第一通信链路,第一通信链路用于传输第一同步信息等,第一同步信息包括第一同步链路的链路参数,例如,第一同步链路的接入码、频率信息、编码规则等,用于实现外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输。因此,在步骤S101之前,首先需要建立外围从设备与第一 中心从设备之间的第一通信链路,本申请实施例对如何建立外围从设备与第一中心从设备之间的第一通信链路的具体实施方式不做限制。
在一种可能的实施方式中,外围从设备向第一中心从设备发送外围从设备的身份信息,第一中心从设备扫描外围从设备的身份信息;第一中心从设备识别外围从设备的身份信息;若外围从设备的身份信息通过识别,则建立外围从设备与第一中心从设备之间的第一通信链路。本实施例中,第一中心从设备可以通过UUID(Universally Unique Identifier,通用唯一识别码)识别外围从设备的身份信息。
在另一种可能的实施方式中,外围从设备向第一中心从设备发送外围从设备的身份信息,第一中心从设备扫描外围从设备的身份信息,并建立外围从设备与第一中心从设备之间的第一通信链路;第一中心从设备识别外围从设备的身份信息;若外围从设备的身份信息未通过识别,则断开外围从设备与第一中心从设备之间的第一通信链路,本实施例中,建立外围从设备与第一中心从设备之间的第一通信链路后,可以通过该第一通信链路发送信令询问外围从设备的身份信息,若收到的外围从设备的身份信息可以被第一中心从设备识别,则证明该外围从设备是目标设备,若外围从设备的身份信息未通过识别,则证明该外围从设备是非目标设备,则断开外围从设备与第一中心从设备之间的第一通信链路。
第一中心从设备与主设备之间存在第二通信链路,第二通信链路传输的信息可以包括但不限于时间信息、频率信息、编码规则和加密信息等信息,用于实现第一中心从设备与主设备之间的通信。其中,第一通信链路和第二通信链路可以是采用相同通信方式和通信协议的链路,也可以是采用不同通信方式和通信协议的链路,例如:第一通信链路和第二通信链路可以是蓝牙物理链路(Asynchronous Connectionless,ACL),同步链路可以是基于连接的同步分组(Connected Isochronous Group,CIG),也可以是基于广播的同步分组(Broadcast Isochronous Group,BIG),若同步链路为CIG,则在同步分组链路中的每条链路为基于连接的同步流(Connected Isochronous Stream,CIS),若同步链路为BIG,则在同步分组链路中的每条链路为基于广播的同步流(Broadcast Isochronous Stream,BIS)等,本申请实施例对此不做限制。本申请实施例中以同步链路CIG为例进行示例性介绍。进一步的,为便于对 基于同步链路的数据传输过程的理解,下面根据图3对此进行介绍。图3是基于图2A提供的基于同步链路的时序交互逻辑图,在一个CIG中可以包含多个CIS链路,一个主设备与从设备建立包含多条CIS同步链路的CIG拓扑的时序交互逻辑,如图3所示,在一个同步链路(Isochronous Channels,ISO)周期内,可以包括多个CIS子区间,在一个CIS子区间内,主设备向从设备发送数据(M->S),从设备接收到数据之后,向主设备发送数据(S->M),主设备向从设备发送数据的时刻为CIS的锚点,例如:主设备通过同步链路CIS1向从设备发送数据时,为CIS1锚点。在主设备两次通过同步链路CIS向从设备发送数据之间的间隔时间为ISO周期。
为了便于对主设备与一个从设备之间数据传输过程的介绍,图4是基于图2A提供的基于同步链路的数据收发时序图,如图4所示,在CIS1子区间或CIS2子区间内,主设备向从设备发送数据(TX)事件开始,从设备接收该数据(RX)并向主设备发送数据(TX),主设备接收从设备发送的数据(RX)。经过多个同步链路CIS完成上述发送和接收数据的过程,事件结束。然后再进行下一个事件,依此类推,不做赘述。
第一中心从设备可以为第一个与主设备建立连接的从设备,外围从设备可以为非第一个与主设备建立连接的从设备,第一中心从设备与主设备之间建立多个第一同步链路,本申请实施例对第一中心从设备与主设备之间建立多个第一同步链路的方式不做限制,在一种可能的实施方式中,第一中心从设备通过其与主设备之间的第二通信链路,向主设备发送第一请求消息,第一请求消息用于请求建立多个第一同步链路;第一中心从设备通过第二通信链路接收主设备发送的响应消息,响应消息用于指示建立多个第一同步链路。本申请实施例对此不做限制。
第一中心从设备分别向至少一个外围从设备发送对应的第一同步信息,第一同步信息可以包括第一通信链路的链路参数,第一通信链路的链路参数可以包括当前第一通信链路最近的锚点、需要同步的锚点以及两锚点之间的时间差(offset)、事件计数器(Event counter)、ISO周期时间等信息,并可以通过空口数据包的形式,第一中心从设备将上述信息发送至外围从设备,本发明实施例对第一通信链路的链路参数的具体内容及形式等不做限制,可选的,第一通信链路的链路参数还可以包括调频图(ch map)、子事件数量 (nse)、(每个事件中需要传输的数据包数量)bn、周期(interval)等信息,在另一种可能的实施方式中,第一同步链路的链路参数包括:第一数据接入地址;第一数据接入地址用于使得外围从设备根据第一数据接入地址与主设备之间开始数据传输;第一中心从设备向外围从设备发送第一数据接入地址后,第一中心从设备根据数据第一接入地址停止与主设备之间的通过第一同步链路的数据传输,使得外围从设备根据第一数据接入地址与主设备之间开始数据传输。本申请实施中,第一中心从设备向外围从设备发送第一数据接入地址前,第一中心从设备也可以根据第一数据接入地址停止与主设备之间的通过第一同步链路的数据传输,即第一中心从设备也可以根据第一数据接入地址停止与主设备之间的通过第一同步链路的数据传输后,再向外围从设备发送第一数据接入地址,另外,本申请实施例中,第一数据接入地址被发送给外围从设备后,第一中心从设备无法与主设备之间进行数据传输,主设备会与有第一数据接入地址的外围从设备进行数据传输。本申请实施对第一数据接入地址的表示形式不做限制,例如可以为切入码(aa)、接入码或其他地址形式等。
步骤S102:外围从设备从第一中心从设备获取第一同步信息。
外围从设备通过第一通信链路,在第一中心从设备获取第一通信链路的链路参数。本申请实施例对此不做限制。
步骤S103:第一中心从设备停止与主设备之间的通过第一同步链路的数据传输。
本申请实施例对第一中心从设备停止与主设备之间的通过第一同步链路的数据传输的具体实施方式不做限制,在一种可能的实施方式中,第一中心从设备停止与主设备之间的通过第一同步链路的数据传输包括:
第一中心从设备根据第一同步链路的链路参数,确定停止与主设备进行数据传输的第一同步链路;第一同步信息还包括第一同步时间信息,第一中心从设备根据第一同步时间信息,确定停止与主设备之间的通过第一同步链路的数据传输的停止时间,停止时间在第一中心从设备与主设备之间传输完第(N-1)帧数据之后,停止时间在外围从设备与主设备之间开始传输第N帧数据之前;第一中心从设备在停止时间,停止与主设备之间的通过第一同步链路的数据传输。
第一中心从设备根据第一同步链路的链路参数,确定停止与主设备进行数据传输的第一同步链路,为了便于对步骤S103和步骤S104的介绍,图2B是本申请另一实施例提供的基于同步链路的拓扑结构示意图,如图2B所示,以加入外围从设备1为例,第一中心从设备根据第一同步链路的链路参数,确定停止与主设备进行数据传输的第一同步链路为第一同步链路1,第一中心从设备根据第一同步时间信息,确定停止与主设备之间的通过第一同步链路1的数据传输的停止时间,第一中心从设备在停止时间,停止与主设备之间的通过第一同步链路1的数据传输。
为了更清楚的对停止时间进行介绍,图5是本申请一实施例提供的基于同步链路的多设备数据收发时序图,如图5所示,按照时序,在第一个CIS1子区间和CIS2子区间内,从设备只有第一中心从设备,此时主设备向第一中心从设备发送数据,第一中心从设备接收数据,实现了主设备与从设备之间的数据传输;当外围从设备与第一中心从设备建立第一通信链路连接之后,第一中心从设备通过第一通信链路向外围从设备发送第一同步信息,第一同步信息包括第一同步时间信息,第一同步时间信息例如可以是在第一中心从设备与主设备之间传输完第(N-1)帧数据之后,且在外围从设备与主设备之间开始传输第N帧数据之前的时刻,例如,可以是在图5中,外围从设备的事件开始时刻之前,且第一中心从设备与主设备之间传输完成第(N-1)帧数据之后,本实施例中,N大于0且为整数。本申请实施例对第一同步时间信息的具体信息不做限制。
在另一种可能的实施方式中,第一中心从设备停止与主设备之间的通过第一同步链路的数据传输,包括:第一中心从设备断开与主设备之间的第一同步链路。
如图2B所示,以外围从设备1加入拓扑为例,第一中心从设备断开与主设备之间的第一同步链路1。
步骤S104:外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输。
本申请实施例对外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输的方式不做限制,在一种可能的实施方式中,外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输,包括:
外围从设备根据第一同步链路的链路参数,与主设备之间开始传输第N帧数据;第一同步信息包括第一同步时间信息,外围从设备根据第一同步时间信息,确定开始与主设备进行数据传输的开始时间,开始时间在第一中心从设备与主设备之间的通过第一同步链路的传输完第(N-1)帧数据传输之后,开始时间在第一中心从设备停止与主设备之间的通过第一同步链路的数据传输之后;外围从设备在开始时间,开始与主设备之间传输第N帧数据。
如图2B所示,以外围从设备1加入拓扑为例,外围从设备1根据第一同步链路的链路参数,与主设备之间开始传输第N帧数据,该第N帧数据为主设备通过第一同步链路1向第一中心从设备传输的数据第(N-1)帧数据的下一帧,然后通过第一同步信息中的第一同步时间信息,确定开始与主设备进行数据传输的开始时间,例如:第一同步时间信息,包括第一中心从设备向外围从设备发送第一同步信息的发送时间,以及发送时间与主设备开始与外围从设备之间开始数据传输的时间之间的时间差,外围从设备1根据第一中心从设备向外围从设备发送第一同步信息的发送时间,以及发送时间与外围从设备与主设备之间开始数据传输的时间之间的时间差,计算开始时间。最后外围从设备1在开始时间,开始与主设备之间传输第N帧数据。
如图5所示,在外围从设备事件开始时刻,即第二个CIS2子区间开始时刻,外围从设备开始接收主设备发送的数据,并发送数据至主设备,以实现外围从设备与主设备之间的数据传输。
在另一种可能的实施方式中,外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输,包括:
外围从设备根据第一同步链路的链路参数建立与主设备之间的第二同步链路。
如图2B所示,外围从设备1根据第一同步链路的链路参数,建立与主设备之间的第二同步链路1,其中,第二同步链路1与图2A中的第一同步链路1的链路参数一致。另外外围从设备2加入拓扑的方式与外围从设备1加入拓扑的方式一致,不再赘述。
在此过程中,通过在外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输之前,第一中心从设备停止与主设备之间的通过第一同步链路的数据传输,实现了外围从设备的加入拓扑,并且在外围从设备加入拓 扑的过程中,避免了数据传输中断,进而提高了同步链路拓扑的切换效率,实现了无缝切换。
可选的,为了确认外围从设备是否加入拓扑成功,本申请实施例提供的基于同步链路的拓扑方法,还可以包括:
外围从设备向第一中心从设备发送链路同步成功消息或链路同步失败消息,第一中心从设备接收外围从设备发送的链路同步成功消息或链路同步失败消息,链路同步成功消息,用于确认外围从设备与主设备之间传输数据成功,链路同步失败消息,用于确认外围从设备与主设备之间传输数据失败。
如图5所示,外围从设备在完成与主设备之间的数据传输之后,通过第一通信链路向第一中心从设备发送链路同步成功消息,表示外围从设备与主设备之间的同步链路建立连接成功。若外围从设备在第一锚点没有接收到主设备发送的数据,可以通过ISO周期计算下一个ISO事件,并尝试在下一个ISO事件接收数据,若连续多个事件中均未收到CIS链路数据,那么可以通过外围从设备与第一中心从设备之间的第一通信链路,发送链路同步失败消息至第一中心从设备,确定该外围从设备与主设备的同步链路建立连接失败。
为了便于理解,下面对上述实施例提供的基于同步链路的拓扑方法对应的拓扑结构进行介绍,图6是本申请另一实施例提供的基于同步链路的拓扑切换结构示意图,如图6所示,拓扑结构11表示第一中心从设备与主设备建立一条第二通信链路ACL-A和多条同步链路CIS1和CIS2,CIS1和CIS2属于同步分组链路CIG,拓扑结构12表示外围从设备加入无线通信局域网,第一中心从设备与外围从设备建立第一通信链路ACL-B,外围从设备通过第一通信链路ACL-B与第一中心从设备进行通信,拓扑结构13表示外围从设备通过第一中心从设备接收主设备通过CIS2传输的数据,而第一中心从设备通过CIS1接收主设备发送的数据,并停止接收CIS2发送的数据。
本申请实施例提供的基于同步链路的拓扑切换方法,通过第一中心从设备向外围从设备发送第一同步信息,使得外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输,且在外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输之前,第一中心从设备停止与主设备之间的通过第一同步链路的数据传输。避免了在主设备与新增加的从设备建立同步链路的过程中,断开主设备与从设备之间的数据传输,进而提高了同步链 路拓扑的切换效率。
在实际应用场景中,可能存在从设备离开的情况,以蓝牙耳机为例,例如:断开某只蓝牙耳机与主设备之间的连接等,由于离开的从设备可能是外围从设备,也可能是第一中心从设备,基于此,下面分别对该两种情况进行介绍。
在一种可能的实施方式中,图7是本申请另一实施例提供的基于同步链路的拓扑切换方法的交互图,如图7所示,本申请实施例提供的基于同步链路的拓扑切换方法还可以包括:
步骤S201:外围从设备向第一中心从设备发送第二同步信息。
若外围从设备离开,则外围从设备会向第一中心从设备发送第二同步信息,第二同步信息包括第二同步链路的链路参数,第二同步链路为外围从设备与主设备之间的同步链路;第二同步链路的链路参数可以包括当前第一通信链路最近的锚点、事件计数器、延迟时间、时间差等信息,本发明实施例对此不做限制。第二同步链路的链路参数包括:第二数据接入地址,使得外围从设备停止与主设备之间的通过第二同步链路的数据传输;第一中心从设备接收外围从设备发送的第二同步信息后,第一中心从设备根据第二数据接入地址与主设备之间开始数据传输。
第二同步信息与第一同步信息的内容类似,可参考上述实施例中对第一同步信息的介绍,本申请实施例不再赘述。
图8是本申请又一实施例提供的基于同步链路的拓扑切换结构示意图,如图8所示,拓扑结构21表示在第一中心从设备与主设备之间通过第一同步链路CIS1以及第二通信链路ACL-A连接,外围从设备与主设备之间通过第二同步链路CIS2连接,第一中心从设备与外围从设备之间建立第一通信链路ACL-B,外围从设备离开时,通过第一通信链路ACL-B向第一中心从设备发送第二同步信息。
步骤S202:外围从设备停止与主设备之间的通过第二同步链路的数据传输。
如图8中的拓扑结构22所示,外围从设备停止与主设备之间的通过第二同步链路CIS2的数据传输。步骤S202与步骤S103中的内容类似,具体可参考步骤S103,不再赘述。
步骤S203:第一中心从设备根据第二同步链路的链路参数与主设备之间开始数据传输。
如图8中的拓扑结构22所示,第一中心从设备根据第二同步链路的链路参数,开始与主设备之间的通过第一同步链路CIS2的数据传输,步骤S203与步骤S104中的内容类似,具体可参考步骤S104,不再赘述。
步骤S204:第一中心从设备断开外围从设备与第一中心从设备之间的第一通信链路。
如图8所示,在拓扑结构23中,第一中心从设备断开了第一通信链路ACL-B,外围从设备离开。
本方案中,实现了外围从设备的离开,且在外围从设备离开的过程中,主设备与从设备之间的数据传输未发生中断,提升了用户体验,另外,在外围从设备离开的过程中,无需主设备进行多设备管理,提高了同步链路拓扑切换的效率。
在另一种可能的实施方式中,图9是本申请另一实施例提供的基于同步链路的拓扑切换方法的交互图,如图9所示,本申请实施例提供的基于同步链路的拓扑切换方法还可以包括:
步骤S301:第一中心从设备在外围从设备中选择一个外围从设备作为第二中心从设备。
在一个无线局域网中,可能会包括多个外围从设备,若第一中心从设备离开,则可以在至少一个外围从设备中选择任意一个外围从设备作为第二中心从设备,本申请实施例对此不做限制。下面以只有一个外围从设备为例对本申请实施例进行介绍,图10是本申请再一实施例提供的基于同步链路的拓扑切换结构示意图,如图10中的拓扑结构31所示,第一中心从设备欲离开,则选择外围从设备作为第二中心从设备,本申请实施例对如何选择外围从设备作为第二中心从设备的方式不做限制。
步骤S302:第一中心从设备向第二中心从设备发送第三同步信息。
第三同步信息是通过第二中心从设备与第一中心从设备之间的第一通信链路传输的,第三同步信息包括第一同步链路的链路参数和第三同步时间信息;第三同步信息的内容可参考对第一同步信息的介绍,不再赘述。
步骤S303:第二中心从设备接收第一中心从设备发送的第三同步信息。
本步骤可参考对步骤S102的介绍,不再赘述。
步骤S304:第一中心从设备根据第三同步信息,停止与主设备之间的通过第一同步链路的数据传输。
如图10中的拓扑结构32所示,第一中心从设备根据第三同步信息,停止与主设备之间的通过第一同步链路CIS1的数据传输,具体过程可参考步骤S103中的内容,不再赘述。同时,也停止与主设备之间通过第二通信链路ACL-A的数据传输。
步骤S305:第二中心从设备根据第三同步信息,开始与主设备之间的数据传输。
如图10中的拓扑结构32所示,第二中心从设备根据第三同步信息,开始与主设备之间的通过第一同步链路CIS1的数据传输,具体过程可参考步骤S104中的内容,不再赘述。同时,也开始与主设备之间通过第二通信链路ACL-A的数据传输。
步骤S306:第一中心从设备断开第一中心从设备与第二中心从设备之间的第一通信链路。
第一中心从设备断开第一中心从设备与第二中心从设备之间的第一通信链路ACL-B,此时的拓扑结构可参考图10中的拓扑结构33。
本方案中,实现了中心从设备的离开,且在中心从设备离开的过程中,由于通过第二中心从设备根据第三同步信息,开始与主设备之间的数据传输,避免了主设备与从设备之间数据传输的中断,提升了用户体验,另外,在外围从设备离开的过程中,无需主设备进行多设备管理,提高了同步链路拓扑切换的效率。
在主设备向从设备传输数据的过程中,可能存在从设备接收主设备通过同步链路发送的数据失败的情况。针对上述应用场景,本申请实施例提供基于同步链路的拓扑切换方法还可以包括:
当第一中心从设备接收主设备通过第一同步链路发送的数据失败时,第一中心从设备通过第一同步链路向主设备发送数据请求消息,直到主设备重新发送数据请求消息所请求的数据的次数超过预设阈值,或,第一中心从设备接收到了数据请求消息所请求的数据,数据请求消息用于请求主设备重新发送数据请求消息所请求的数据。
当外围从设备接收主设备通过第二同步链路发送的数据失败时,外围从设备通过第二同步链路向主设备发送数据请求消息,直到主设备重新发送数据请求消息所请求的数据的次数超过预设阈值,或,外围从设备接收到了数据请求消息所请求的数据,数据请求消息用于请求主设备重新发送数据请求消息所请求的数据。
示例性的,如图2B所示,主设备与一个第一中心从设备建立了第一同步链路3,主设备分别和外围从设备1和外围从设备2分别建立第二同步链路1和第二同步链路2,若第一中心从设备接收主设备通过第一同步链路3发送的数据失败,则第一中心从设备通过第一同步链路3向主设备发送数据请求消息,请求主设备重新发送接收失败的数据,若外围从设备1接收主设备通过第二同步链路1发送的数据失败,则外围从设备1通过第二同步链路1向主设备发送数据请求消息,请求主设备重新发送数据请求消息所请求的数据,依此类推,不再赘述。
以第一中心从设备接收主设备通过第一同步链路3发送的数据失败为例,第一中心从设备向主设备发送数据请求消息之后,依然未收到主设备发送的数据请求消息所请求的数据,第一中心从设备可以再次通过第一同步链路3向主设备发送数据请求消息,直到第一中心从设备接收到主设备发送的数据请求消息所请求的数据,或者主设备重新发送数据请求消息所请求的数据的次数超过预设阈值。本申请实施例对预设阈值的设置方式不做限制。
本方案中,通过不同设备根据其与主设备之间的同步链路,直接向主设备请求重传,并且根据其与主设备之间的同步链路进行应答,提高了数据重传的效率。
下面介绍本申请提供的基于同步链路的拓扑切换装置、芯片、设备、系统、存储介质和计算机程序产品,其内容和效果可参考方法实施例,本申请对此不再赘述。
本申请提供一种基于同步链路的拓扑切换装置,该装置可以通过软件和/或硬件的方式实现,该装置应用于第一中心从设备,第一中心从设备与主设备之间存在多个同步链路,第一中心从设备与至少一个外围从设备分别存在一个第一通信链路,图11是本申请一实施例提供的基于同步链路的拓扑切换装置的结构示意图,如图11所示,本申请实施例提供的装置可以包括:收发 模块41、存储模块42和处理模块43,存储模块42用于存储计算机可执行指令,以使处理模块43执行所述指令时,实现如上述实例提供的基于同步链路的拓扑切换方法。
收发模块41用于通过与外围从设备之间的第一通信链路,向外围从设备发送第一同步信息,第一同步信息包括第一同步链路的链路参数,使得外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输;处理模块43用于在外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输之前,第一中心从设备停止与主设备之间的通过第一同步链路的数据传输。
可选的,第一同步链路的链路参数包括:第一数据接入地址;第一数据接入地址用于使得外围从设备根据第一数据接入地址与主设备之间开始数据传输;处理模块43还用于向外围从设备发送第一数据接入地址后,第一中心从设备根据数据接入地址停止与主设备之间的通过第一同步链路的数据传输,使得外围从设备根据第一数据接入地址与主设备之间开始数据传输。
可选的,第一中心从设备停止与主设备之间的通过第一同步链路的数据传输,处理模块43用于:根据第一同步链路的链路参数,确定停止与主设备进行数据传输的第一同步链路;第一同步信息还包括第一同步时间信息,第一中心从设备根据第一同步时间信息,确定停止与主设备之间的通过第一同步链路的数据传输的停止时间,停止时间在第一中心从设备与主设备之间传输完第(N-1)帧数据之后,停止时间在外围从设备与主设备之间开始传输第N帧数据之前;在停止时间,停止与主设备之间的通过第一同步链路的数据传输。
可选的,第一同步时间信息包括:第一中心从设备向外围从设备发送第一同步信息的发送时间,以及发送时间与主设备开始数据传输的时间之间的时间差。
可选的,收发模块41还用于:第一中心从设备接收外围从设备发送的链路同步成功消息或链路同步失败消息,链路同步成功消息,用于确认外围从设备与主设备之间传输数据成功,链路同步失败消息,用于确认外围从设备与主设备之间传输数据失败。
可选的,收发模块41用于接收外围从设备发送的第二同步信息,第二同步信息包括第二同步链路的链路参数,第二同步链路为外围从设备与主设备 之间的同步链路,第二同步链路用于外围从设备与主设备之间的数据传输;处理模块43用于在第一中心从设备根据第二同步链路的链路参数与主设备之间开始数据传输之前,使外围从设备停止与主设备之间的通过第二同步链路的数据传输;断开外围从设备与第一中心从设备之间的第一通信链路。
可选的,外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输,包括:外围从设备根据第一同步链路的链路参数建立与主设备之间的第二同步链路;第一中心从设备停止与主设备之间的通过第一同步链路的数据传输,包括:第一中心从设备断开与主设备之间的第一同步链路。
可选的,第二同步链路的链路参数包括:第二数据接入地址,使得外围从设备停止与主设备之间的通过第二同步链路的数据传输;处理模块43还用于在接收外围从设备发送的第二同步信息后,第一中心从设备根据第二数据接入地址与主设备之间开始数据传输。
可选的,处理模块43用于:在外围从设备中选择一个外围从设备作为第二中心从设备;收发模块41用于向第二中心从设备发送第三同步信息,第三同步信息是通过第二中心从设备与第一中心从设备之间的第一通信链路传输的,第三同步信息包括第一同步链路的链路参数和第三同步时间信息;处理模块43用于根据第三同步信息,停止与主设备之间的通过第一同步链路的数据传输,并使第二中心从设备开始与主设备之间的数据传输;处理模块43还用于断开第一中心从设备与第二中心从设备之间的第一通信链路。
可选的,处理模块43还用于:
扫描外围从设备的身份信息;识别外围从设备的身份信息;若外围从设备的身份信息通过识别,则建立外围从设备与第一中心从设备之间的第一通信链路。
可选的,在分别通过与外围从设备之间的第一通信链路,向外围从设备发送第一同步信息之前,还包括:
第一中心从设备扫描外围从设备的身份信息,并建立外围从设备与第一中心从设备之间的第一通信链路;第一中心从设备识别外围从设备的身份信息;若外围从设备的身份信息未通过识别,则断开外围从设备与第一中心从设备之间的第一通信链路。
可选的,处理模块43用于:
当第一中心从设备接收主设备通过第一同步链路发送的数据失败时,第一中心从设备通过第一同步链路向主设备发送数据请求消息,直到主设备重新发送数据请求消息所请求的数据的次数超过预设阈值,或,第一中心从设备接收到了数据请求消息所请求的数据,数据请求消息用于请求主设备重新发送数据请求消息所请求的数据。
可选的,收发模块41用于通过其与主设备之间的第二通信链路,向主设备发送第一请求消息,第一请求消息用于请求建立多个第一同步链路;通过第二通信链路接收主设备发送的响应消息,响应消息用于指示建立多个第一同步链路。
本申请提供一种基于同步链路的拓扑切换装置,该装置可以通过软件和/或硬件的方式实现,该装置应用于外围从设备,第一中心从设备与主设备之间存在多个同步链路,第一中心从设备与外围从设备存在一个第一通信链路,图12是本申请另一实施例提供的基于同步链路的拓扑切换装置的结构示意图,如图12所示,本申请实施例提供的装置可以包括:收发模块51、存储模块52和处理模块53,存储模块52用于存储计算机可执行指令,以使处理模块53执行所述指令时,实现如上述实例提供的基于同步链路的拓扑切换方法。
收发模块51,用于从第一中心从设备获取第一同步信息,第一同步信息包括第一同步链路的链路参数,在外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输之前,使得第一中心从设备停止与主设备之间的通过第一同步链路的数据传输;处理模块53用于根据第一同步链路的链路参数与主设备之间开始数据传输。
可选的,第一同步链路的链路参数包括:第一数据接入地址,第一数据接入地址用于使外围从设备根据第一数据接入地址与主设备之间开始数据传输;收发模块51用于接收第一数据接入地址,使得第一中心从设备根据第一数据接入地址停止与主设备之间的通过第一同步链路的数据传输,外围从设备根据第一数据接入地址与主设备之间开始数据传输。
可选的,处理模块53用于:
根据第一同步链路的链路参数,与主设备之间开始传输第N帧数据;第一同步信息包括第一同步时间信息,外围从设备根据第一同步时间信息,确 定开始与主设备进行数据传输的开始时间,开始时间在第一中心从设备与主设备之间的通过第一同步链路的传输完第(N-1)帧数据传输之后,开始时间在第一中心从设备停止与主设备之间的通过第一同步链路的数据传输之后;在开始时间,开始与主设备之间传输第N帧数据。
可选的,第一同步时间信息包括:
第一中心从设备向外围从设备发送第一同步信息的发送时间,以及发送时间与主设备开始数据传输的时间之间的时间差。
可选的,收发模块51还用于向第一中心从设备发送链路同步成功消息或链路同步失败消息,链路同步成功消息,用于确认外围从设备与主设备之间传输数据成功,链路同步失败消息,用于确认外围从设备与主设备之间传输数据失败。
可选的,收发模块51用于向第一中心从设备发送第二同步信息,第二同步信息包括第二同步链路的链路参数,第二同步链路为外围从设备与主设备之间的同步链路;处理模块53用于根据第二同步信息,停止与主设备之间的通过第二同步链路的数据传输,且使第一中心从设备与主设备之间开始数据传输;断开外围从设备与第一中心从设备之间的第一通信链路。
可选的,外围从设备根据第一同步链路的链路参数与主设备之间开始数据传输,包括:外围从设备根据第一同步链路的链路参数建立与主设备之间的第二同步链路,第二同步链路用于外围从设备与主设备之间的数据传输;第一中心从设备停止与主设备之间的通过第一同步链路的数据传输,包括:第一中心从设备断开第一中心从设备与主设备之间的第一同步链路。
可选的,收发模块51用于接收第一中心从设备发送的第三同步信息,第二中心从设备为外围从设备中的任一个,第三同步信息是通过第二中心从设备与第一中心从设备之间的第一通信链路传输的,第三同步信息包括第一同步链路的链路参数;处理模块53用于根据第三同步信息,开始与主设备之间的数据传输,并使第一中心从设备停止与主设备之间的通过第一同步链路的数据传输;断开第一中心从设备与第二中心从设备之间的第一通信链路。
可选的,第三同步信息还包括第三同步时间信息,使得第一中心从设备根据第三同步时间信息,确定停止与主设备之间的通过第一同步链路的数据传输的停止时间,停止时间在第一中心从设备与主设备之间传输完第(M-1) 帧数据之后,停止时间在第二中心从设备与主设备之间开始传输第M帧数据之前。
可选的,第三同步时间信息包括:
第一中心从设备向第二中心从设备发送第三同步信息的发送时间,以及发送时间与主设备开始数据传输的时间之间的时间差。
可选的,收发模块51用于向第一中心从设备发送外围从设备的身份信息,以使第一中心从设备扫描并识别外围从设备的身份信息,以建立外围从设备与第一中心从设备之间的第一通信链路。
可选的,处理模块53用于:
当外围从设备接收主设备通过第二同步链路发送的数据失败时,外围从设备通过第二同步链路向主设备发送数据请求消息,直到主设备重新发送数据请求消息所请求的数据的次数超过预设阈值,或,外围从设备接收到了数据请求消息所请求的数据,数据请求消息用于请求主设备重新发送数据请求消息所请求的数据。
本申请实施例提供一种芯片,用于执行上述方法实施例提供的基于同步链路的拓扑切换方法,其内容和效果可参考方法部分,不再赘述。
本申请实施例提供一种中心从设备,包括本申请实施例提供的芯片,其内容和效果可参考方法部分,不再赘述。
本申请实施例提供一种外围从设备,包括本申请实施例提供的芯片,其内容和效果可参考方法部分,不再赘述。
本申请实施例提供一种系统,本申请实施例提供的系统包括主设备、中心从设备和至少一个外围从设备,中心从设备与主设备之间存在多个同步链路,中心从设备与至少一个外围从设备分别存在一个第一通信链路。
本申请提供一种计算机存储介质,包括计算机指令,当指令被计算机执行时,使得计算机实现本申请实施例提供的方法,其内容和效果可参考方法部分,不再赘述。
本申请提供一种计算机程序产品,包括计算机指令,当指令被计算机执行时,使得计算机实现本申请实施例提供的方法,其内容和效果可参考方法部分,不再赘述。
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (34)

  1. 一种基于同步链路的拓扑切换方法,其特征在于,所述方法应用于第一中心从设备,所述第一中心从设备与主设备之间存在多个第一同步链路,所述第一中心从设备与外围从设备之间存在第一通信链路,所述方法包括:
    所述第一中心从设备通过与所述外围从设备之间的第一通信链路,向所述外围从设备发送第一同步信息,所述第一同步信息包括所述第一同步链路的链路参数,使得所述外围从设备根据所述第一同步链路的链路参数与所述主设备之间开始数据传输;
    在所述外围从设备根据所述第一同步链路的链路参数与所述主设备之间开始数据传输之前,所述第一中心从设备停止与所述主设备之间的通过所述第一同步链路的数据传输。
  2. 根据权利要求1所述的方法,其特征在于,所述第一同步链路的链路参数包括:第一数据接入地址;
    所述第一数据接入地址用于使得所述外围从设备根据所述第一数据接入地址与所述主设备之间开始数据传输;
    所述第一中心从设备向所述外围从设备发送所述第一数据接入地址后,所述第一中心从设备根据所述第一数据接入地址停止与所述主设备之间的通过所述第一同步链路的数据传输,使得所述外围从设备根据所述第一数据接入地址与所述主设备之间开始数据传输。
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一中心从设备停止与所述主设备之间的通过所述第一同步链路的数据传输,包括:
    所述第一中心从设备根据所述第一同步链路的链路参数,确定停止与所述主设备进行数据传输的所述第一同步链路;
    所述第一同步信息还包括第一同步时间信息,所述第一中心从设备根据所述第一同步时间信息,确定停止与所述主设备之间的通过所述第一同步链路的数据传输的停止时间,所述停止时间在所述第一中心从设备与所述主设备之间传输完第(N-1)帧数据之后,所述停止时间在所述外围从设备与所述主设备之间开始传输第N帧数据之前;
    所述第一中心从设备在所述停止时间,停止与所述主设备之间的通过所述第一同步链路的数据传输。
  4. 根据权利要求3所述的方法,其特征在于,所述第一同步时间信息包括:
    所述第一中心从设备向所述外围从设备发送所述第一同步信息的发送时间,以及所述发送时间与所述外围从设备与所述主设备之间开始数据传输的时间之间的时间差。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,还包括:
    所述第一中心从设备接收所述外围从设备发送的链路同步成功消息或链路同步失败消息,
    所述链路同步成功消息,用于确认所述外围从设备与所述主设备之间传输数据成功,所述链路同步失败消息,用于确认所述外围从设备与所述主设备之间传输数据失败。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,还包括:
    所述第一中心从设备接收所述外围从设备发送的第二同步信息,所述第二同步信息包括第二同步链路的链路参数,所述第二同步链路为所述外围从设备与所述主设备之间的同步链路,所述第二同步链路用于所述外围从设备与所述主设备之间的数据传输;
    在所述第一中心从设备根据所述第二同步链路的链路参数与所述主设备之间开始数据传输之前,使所述外围从设备停止与所述主设备之间的通过所述第二同步链路的数据传输;
    所述第一中心从设备断开所述外围从设备与所述第一中心从设备之间的第一通信链路。
  7. 根据权利要求6所述的方法,其特征在于,所述外围从设备根据所述第一同步链路的链路参数与所述主设备之间开始数据传输,包括:
    所述外围从设备根据所述第一同步链路的链路参数建立与所述主设备之间的所述第二同步链路;
    所述第一中心从设备停止与所述主设备之间的通过所述第一同步链路的数据传输,包括:
    所述第一中心从设备断开与所述主设备之间的所述第一同步链路。
  8. 根据权利要求6或7所述的方法,其特征在于,还包括:所述第二同步链路的链路参数包括:第二数据接入地址,使得所述外围从设备停止与所 述主设备之间的通过所述第二同步链路的数据传输;
    所述第一中心从设备接收所述外围从设备发送的第二同步信息后,所述第一中心从设备根据所述第二数据接入地址与所述主设备之间开始数据传输。
  9. 根据权利要求1-8任一项所述的方法,其特征在于,还包括:
    所述第一中心从设备在所述外围从设备中选择一个所述外围从设备作为第二中心从设备;
    所述第一中心从设备向所述第二中心从设备发送第三同步信息,所述第三同步信息是通过所述第二中心从设备与所述第一中心从设备之间的所述第一通信链路传输的,所述第三同步信息包括所述第一同步链路的链路参数和第三同步时间信息;
    所述第一中心从设备根据所述第三同步信息,停止与所述主设备之间的通过所述第一同步链路的数据传输,并使所述第二中心从设备开始与所述主设备之间的数据传输;
    所述第一中心从设备断开所述第一中心从设备与所述第二中心从设备之间的第一通信链路。
  10. 根据权利要求1-9任一项所述的方法,其特征在于,在所述第一中心从设备分别通过与所述外围从设备之间的第一通信链路,向所述外围从设备发送第一同步信息之前,还包括:
    所述第一中心从设备扫描所述外围从设备的身份信息;
    所述第一中心从设备识别所述外围从设备的身份信息;
    若所述外围从设备的身份信息通过所述识别,则建立所述外围从设备与所述第一中心从设备之间的第一通信链路。
  11. 根据权利要求1-9任一项所述的方法,其特征在于,在所述第一中心从设备分别通过与所述外围从设备之间的第一通信链路,向所述外围从设备发送第一同步信息之前,还包括:
    所述第一中心从设备扫描所述外围从设备的身份信息,并建立所述外围从设备与所述第一中心从设备之间的第一通信链路;
    所述第一中心从设备识别所述外围从设备的身份信息;
    若所述外围从设备的身份信息未通过所述识别,则断开所述外围从设备与所述第一中心从设备之间的第一通信链路。
  12. 根据权利要求1-11任一项所述的方法,其特征在于,还包括:
    当所述第一中心从设备接收所述主设备通过所述第一同步链路发送的数据失败时,所述第一中心从设备通过所述第一同步链路向所述主设备发送数据请求消息,直到所述主设备重新发送所述数据请求消息所请求的数据的次数超过预设阈值,或,所述第一中心从设备接收到了所述数据请求消息所请求的数据,所述数据请求消息用于请求所述主设备重新发送所述数据请求消息所请求的数据。
  13. 根据权利要求1-12任一项所述的方法,其特征在于,还包括:
    所述第一中心从设备通过其与所述主设备之间的第二通信链路,向所述主设备发送第一请求消息,所述第一请求消息用于请求建立所述多个第一同步链路;
    所述第一中心从设备通过所述第二通信链路接收所述主设备发送的响应消息,所述响应消息用于指示建立所述多个第一同步链路。
  14. 一种基于同步链路的拓扑切换方法,其特征在于,所述方法应用于外围从设备,所述外围从设备与第一中心从设备之间存在第一通信链路,所述第一中心从设备与主设备之间存在多个同步链路,所述方法包括:
    所述外围从设备从所述第一中心从设备获取第一同步信息,所述第一同步信息包括所述第一同步链路的链路参数,在所述外围从设备根据所述第一同步链路的链路参数与所述主设备之间开始数据传输之前,使得所述第一中心从设备停止与所述主设备之间的通过所述第一同步链路的数据传输;
    所述外围从设备根据所述第一同步链路的链路参数与所述主设备之间开始数据传输。
  15. 根据权利要求14所述的方法,其特征在于,
    所述第一同步链路的链路参数包括:第一数据接入地址,所述第一数据接入地址用于使所述外围从设备根据所述第一数据接入地址与所述主设备之间开始数据传输;
    所述外围从设备接收所述第一数据接入地址,使得所述第一中心从设备根据所述第一数据接入地址停止与所述主设备之间的通过所述第一同步链路的数据传输,所述外围从设备根据所述第一数据接入地址与所述主设备之间开始数据传输。
  16. 根据权利要求14或15所述的方法,其特征在于,所述外围从设备根据所述第一同步链路的链路参数与所述主设备之间开始数据传输,包括:
    所述外围从设备根据所述第一同步链路的链路参数,与所述主设备之间开始传输第N帧数据;
    所述第一同步信息包括第一同步时间信息,所述外围从设备根据所述第一同步时间信息,确定开始与所述主设备进行数据传输的开始时间,所述开始时间在所述第一中心从设备与所述主设备之间的通过所述第一同步链路的传输完第(N-1)帧数据传输之后,所述开始时间在所述第一中心从设备停止与所述主设备之间的通过所述第一同步链路的数据传输之后;
    所述外围从设备在所述开始时间,开始与所述主设备之间传输所述第N帧数据。
  17. 根据权利要求16所述的方法,其特征在于,所述第一同步时间信息包括:
    所述第一中心从设备向所述外围从设备发送所述第一同步信息的发送时间,以及所述发送时间与所述外围从设备与所述主设备之间开始数据传输的时间之间的时间差。
  18. 根据权利要求14-17任一项所述的方法,其特征在于,还包括:
    所述外围从设备向所述第一中心从设备发送链路同步成功消息或链路同步失败消息,
    所述链路同步成功消息,用于确认所述外围从设备与所述主设备之间传输数据成功,所述链路同步失败消息,用于确认所述外围从设备与所述主设备之间传输数据失败。
  19. 根据权利要求14-18任一项所述的方法,其特征在于,包括:
    所述外围从设备向所述第一中心从设备发送第二同步信息,所述第二同步信息包括第二同步链路的链路参数,所述第二同步链路为所述外围从设备与所述主设备之间的同步链路;
    所述外围从设备根据所述第二同步信息,停止与所述主设备之间的通过所述第二同步链路的数据传输,且使所述第一中心从设备与所述主设备之间开始数据传输;
    所述外围从设备断开所述外围从设备与所述第一中心从设备之间的第一 通信链路。
  20. 根据权利要求14-19中任一项所述的方法,其特征在于,
    所述外围从设备根据所述第一同步链路的链路参数与所述主设备之间开始数据传输,包括:
    所述外围从设备根据所述第一同步链路的链路参数建立与所述主设备之间的第二同步链路,所述第二同步链路用于所述外围从设备与所述主设备之间的数据传输;
    所述第一中心从设备停止与所述主设备之间的通过所述第一同步链路的数据传输,包括:
    所述第一中心从设备断开所述第一中心从设备与所述主设备之间的所述第一同步链路。
  21. 根据权利要求14-20任一项所述的方法,其特征在于,还包括:
    第二中心从设备接收所述第一中心从设备发送的第三同步信息,所述第二中心从设备为所述外围从设备中的任一个,所述第三同步信息是通过所述第二中心从设备与所述第一中心从设备之间的第一通信链路传输的,所述第三同步信息包括所述第一同步链路的链路参数;
    所述第二中心从设备根据所述第三同步信息,开始与所述主设备之间的数据传输,并使所述第一中心从设备停止与所述主设备之间的通过所述第一同步链路的数据传输;
    所述第二中心从设备断开所述第一中心从设备与所述第二中心从设备之间的第一通信链路。
  22. 根据权利要求21所述的方法,其特征在于,包括:
    所述第三同步信息还包括第三同步时间信息,使得所述第一中心从设备根据所述第三同步时间信息,确定停止与所述主设备之间的通过所述第一同步链路的数据传输的停止时间,所述停止时间在所述第一中心从设备与所述主设备之间传输完第(M-1)帧数据之后,所述停止时间在所述第二中心从设备与所述主设备之间开始传输第M帧数据之前。
  23. 根据权利要求22所述的方法,其特征在于,所述第三同步时间信息包括:
    所述第一中心从设备向所述第二中心从设备发送所述第三同步信息的发 送时间,以及所述发送时间与所述第二中心从设备与所述主设备之间开始数据传输的时间之间的时间差。
  24. 根据权利要求14-23任一项所述的方法,其特征在于,包括:
    所述外围从设备向所述第一中心从设备发送所述外围从设备的身份信息,以使所述第一中心从设备扫描并识别所述外围从设备的身份信息,以建立所述外围从设备与所述第一中心从设备之间的第一通信链路。
  25. 根据权利要求14-24任一项所述的方法,其特征在于,包括:
    当所述外围从设备接收所述主设备通过第二同步链路发送的数据失败时,所述外围从设备通过所述第二同步链路向所述主设备发送数据请求消息,直到所述主设备重新发送所述数据请求消息所请求的数据的次数超过预设阈值,或,所述外围从设备接收到了所述数据请求消息所请求的数据,所述数据请求消息用于请求所述主设备重新发送所述数据请求消息所请求的数据。
  26. 一种基于同步链路的拓扑切换装置,其特征在于,用于执行如权利要求1至13任一项所述的基于同步链路的拓扑切换方法。
  27. 一种基于同步链路的拓扑切换装置,其特征在于,用于执行如权利要求14至25任一项所述的基于同步链路的拓扑切换方法。
  28. 一种芯片,其特征在于,用于执行如权利要求1至13任一项所述的基于同步链路的拓扑切换方法。
  29. 一种芯片,其特征在于,用于执行如权利要求14至25任一项所述的基于同步链路的拓扑切换方法。
  30. 一种中心从设备,其特征在于,包括如权利要求28所述的芯片。
  31. 一种外围从设备,其特征在于,包括如权利要求29所述的芯片。
  32. 一种系统,其特征在于,包括主设备、如权利要求30所述的中心从设备和至少一个如权利要求31所述的外围从设备;
    所述中心从设备与所述主设备之间存在多个第一同步链路,所述中心从设备与所述外围从设备之间存在第一通信链路。
  33. 一种计算机存储介质,其特征在于,所述存储介质包括计算机指令,当所述指令被计算机执行时,使得所述计算机实现如权利要求1至13中任一项权利要求所述的方法。
  34. 一种计算机存储介质,其特征在于,所述存储介质包括计算机指令, 当所述指令被计算机执行时,使得所述计算机实现如权利要求14至25中任一项权利要求所述的方法。
PCT/CN2019/090119 2019-06-05 2019-06-05 基于同步链路的拓扑切换方法、装置、系统及存储介质 WO2020243921A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201980001046.6A CN110383767B (zh) 2019-06-05 2019-06-05 基于同步链路的拓扑切换方法、装置、系统及存储介质
EP19929196.4A EP3817292B1 (en) 2019-06-05 2019-06-05 Topology switching methods and apparatus based on synchronous link
PCT/CN2019/090119 WO2020243921A1 (zh) 2019-06-05 2019-06-05 基于同步链路的拓扑切换方法、装置、系统及存储介质
US17/038,408 US11444800B2 (en) 2019-06-05 2020-09-30 Topology switching method based on isochronous channel, apparatus, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/090119 WO2020243921A1 (zh) 2019-06-05 2019-06-05 基于同步链路的拓扑切换方法、装置、系统及存储介质

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/038,408 Continuation US11444800B2 (en) 2019-06-05 2020-09-30 Topology switching method based on isochronous channel, apparatus, system and storage medium

Publications (1)

Publication Number Publication Date
WO2020243921A1 true WO2020243921A1 (zh) 2020-12-10

Family

ID=68261770

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/090119 WO2020243921A1 (zh) 2019-06-05 2019-06-05 基于同步链路的拓扑切换方法、装置、系统及存储介质

Country Status (4)

Country Link
US (1) US11444800B2 (zh)
EP (1) EP3817292B1 (zh)
CN (1) CN110383767B (zh)
WO (1) WO2020243921A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021092859A1 (zh) * 2019-11-14 2021-05-20 深圳市汇顶科技股份有限公司 建立iso链路的方法和ble设备
US11558155B2 (en) * 2020-03-10 2023-01-17 Qualcomm Incorporated Broadcast relay piconet for low energy audio
CN111867144B (zh) * 2020-06-29 2022-05-31 炬芯科技股份有限公司 一种无线通信方法及无线通信设备
CN112312369B (zh) * 2020-09-29 2023-10-27 无锡中感微电子股份有限公司 一种低延迟无线音频发送和接收方法及设备
CN114679918A (zh) * 2020-10-26 2022-06-28 Oppo广东移动通信有限公司 一种建立广播同步的方法、电子设备及存储介质
CN112672290B (zh) * 2020-12-02 2022-05-31 无锡中感微电子股份有限公司 一种在无线通信系统进行主从切换的方法、装置及设备
TWI767820B (zh) * 2021-01-22 2022-06-11 達發科技股份有限公司 無線對等端的封包重傳方法及電腦程式產品及裝置
WO2022270904A1 (en) * 2021-06-23 2022-12-29 Samsung Electronics Co., Ltd. Method and electronic device for bluetooth audio multi-streaming
US12008385B1 (en) * 2021-06-28 2024-06-11 Amazon Technologies, Inc. Data transfer over isochronous channels

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621836A (zh) * 2008-06-30 2010-01-06 华为技术有限公司 Mesh网络中信道切换方法、装置和mesh网络
CN103812589A (zh) * 2012-11-09 2014-05-21 中国科学院沈阳计算技术研究所有限公司 一种基于双环总线的时间同步方法
CN103916187A (zh) * 2014-03-24 2014-07-09 中国人民解放军海军工程大学 大容量电力电子系统高速光纤环网通信网络控制拓扑
US20150131645A1 (en) * 2013-11-08 2015-05-14 Nokia Corporation Device synchronization

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2762983B2 (ja) * 1996-02-02 1998-06-11 日本電気株式会社 割り当てチャネル制御方式
US6590928B1 (en) * 1997-09-17 2003-07-08 Telefonaktiebolaget Lm Ericsson (Publ) Frequency hopping piconets in an uncoordinated wireless multi-user system
US20030003867A1 (en) * 2000-05-22 2003-01-02 Harumi Kawamura Data transmission method, data transmission system, and data transmission device
JP4004817B2 (ja) * 2002-02-28 2007-11-07 パイオニア株式会社 リモートコントロール装置、電子機器、および電子機器システム
US20080240324A1 (en) * 2007-03-27 2008-10-02 Microsoft Corporation Independent Dispatch of Multiple Streaming Queues Via Reserved Time Slots
GB0816054D0 (en) * 2008-09-03 2008-10-08 Cambridge Silicon Radio Ltd Coexistance of data streams
KR101974900B1 (ko) * 2012-01-19 2019-05-07 삼성전자주식회사 통신 시스템에서 하이브리드 자동 재전송 요청 방법 및 장치
WO2016003064A1 (ko) * 2014-07-03 2016-01-07 엘지전자(주) 블루투스 통신을 지원하는 무선 통신 시스템에서 오디오 데이터를 송수신하기 위한 방법 및 이를 위한 장치
CN107894881A (zh) * 2017-10-18 2018-04-10 恒玄科技(上海)有限公司 蓝牙耳机的主从连接切换、通话监听和麦克切换的方法
CN109121172B (zh) * 2018-07-27 2021-01-08 Oppo广东移动通信有限公司 传输链路切换控制方法及相关产品
US10631363B1 (en) * 2018-10-23 2020-04-21 Google Llc Two stage role switch for fully wireless earbuds

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621836A (zh) * 2008-06-30 2010-01-06 华为技术有限公司 Mesh网络中信道切换方法、装置和mesh网络
CN103812589A (zh) * 2012-11-09 2014-05-21 中国科学院沈阳计算技术研究所有限公司 一种基于双环总线的时间同步方法
US20150131645A1 (en) * 2013-11-08 2015-05-14 Nokia Corporation Device synchronization
CN103916187A (zh) * 2014-03-24 2014-07-09 中国人民解放军海军工程大学 大容量电力电子系统高速光纤环网通信网络控制拓扑

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3817292A4 *

Also Published As

Publication number Publication date
US20210014081A1 (en) 2021-01-14
CN110383767A (zh) 2019-10-25
US11444800B2 (en) 2022-09-13
EP3817292B1 (en) 2023-05-31
CN110383767B (zh) 2023-07-11
EP3817292A4 (en) 2021-06-30
EP3817292A1 (en) 2021-05-05

Similar Documents

Publication Publication Date Title
WO2020243921A1 (zh) 基于同步链路的拓扑切换方法、装置、系统及存储介质
CN108260056B (zh) 功率高效、平衡及可靠真实无线蓝牙立体声音频解决方案
CN109660906B (zh) 无线蓝牙耳机、无线蓝牙耳机主从切换优化方法
US9716969B2 (en) Method and apparatus for controlling device in wireless communication system
CN108323246B (zh) 组网方法、芯片及无线网络系统
US20160359925A1 (en) Method and apparatus for transmitting and receiving data in wireless communication system
CN111436044B (zh) 双无线蓝牙通信网络丢包数据处理方法、装置及系统
KR100628566B1 (ko) 무선랜에서 보안 정보 형성 방법
US9693180B2 (en) Method and apparatus for transmitting and receiving audio streams in wireless communication system
US9900926B2 (en) Multi-device intelligent interconnection method and system based on bluetooth
US20160366263A1 (en) Method and device for transmitting or receiving data in wireless communication system
TWI533741B (zh) 支援點對點連線之無線通訊裝置與方法
CN111436043B (zh) 双无线蓝牙通信网络的通信方法、装置、设备及系统
WO2008046143A1 (en) Configuring and connecting to a media wireless network
CN111435844A (zh) 双无线蓝牙通信音频数据更正方法、装置、设备及系统
WO2022206270A1 (zh) 设备添加方法、装置、蓝牙芯片及设备
WO2013166762A1 (zh) 个人网设备组网方法及系统
US20130278707A1 (en) Video communication method and terminal
CN113330757A (zh) 一种数据传输方法以及相关装置
CN115226080A (zh) 音频数据接收、发送方法、音频接收装置和音频发送装置
KR100586588B1 (ko) 애드 혹 망에서의 애드 혹 라우팅 기술을 이용한 서비스연결 설정 방법
WO2022198391A1 (zh) 一种通信方法、通信装置及终端
EP4142359A1 (en) Method, device, and computer program for selecting channel in wireless communication system, and recording medium therefor
CN110858965B (zh) 一种数据传输方法及装置、终端、存储介质
US12028899B2 (en) Communication apparatus, control method, and storage medium

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2019929196

Country of ref document: EP

Effective date: 20201127

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

Ref document number: 19929196

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE