WO2018196222A1 - 一种通信连接的方法、设备及系统 - Google Patents
一种通信连接的方法、设备及系统 Download PDFInfo
- Publication number
- WO2018196222A1 WO2018196222A1 PCT/CN2017/096310 CN2017096310W WO2018196222A1 WO 2018196222 A1 WO2018196222 A1 WO 2018196222A1 CN 2017096310 W CN2017096310 W CN 2017096310W WO 2018196222 A1 WO2018196222 A1 WO 2018196222A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- broadcast
- timer
- connection request
- slave device
- frequency hopping
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/69—Spread spectrum techniques
- H04B1/713—Spread spectrum techniques using frequency hopping
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/06—Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/69—Spread spectrum techniques
- H04B1/713—Spread spectrum techniques using frequency hopping
- H04B1/7156—Arrangements for sequence synchronisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/005—Discovery of network devices, e.g. terminals
Definitions
- the present application relates to the field of wireless communication technologies, and in particular, to a method, device, and system for communication connection.
- Virtual reality system (English full name: Virtual Reality System, English abbreviation: VR) and augmented reality system (English full name: Augmented Reality System, English abbreviation: AR) application system, currently visible with spatial positioning input head display ( HTC Vive, Oculus Rift and PlayStation VR are all based on wired transmission. For convenience, wireless transmission is currently used instead of wired transmission.
- the delay includes the duration of wireless transmission, including sensor data fusion, graphics rendering, and pixel response time of VR screen. It can be seen that wireless transmission based on VR and AR is currently available. The method does not achieve the purpose of low latency.
- wireless transmission protocols used by VR and AR are: wireless fidelity technology (English name: WIreless-Fidelity, English abbreviation: Wi-Fi), Bluetooth or 4G, these technologies can achieve lower latency wireless transmission space. Wireless data transmission of point information, but in the actual wireless transmission process, the connection between devices takes a long time and requires a more complicated protocol.
- the present application provides a method, device, and system for communication connection, which can solve the problem that the communication connection between the master device and the slave device is long in the prior art.
- the first aspect of the present application provides a method for a communication connection.
- a master device can perform broadcast based on a radio frequency chip and interact with the slave device, and the method includes:
- the master device sends a broadcast connection request to the at least one slave device according to the broadcast frequency hopping information and the first timer, where the broadcast connection request carries the communication frequency hopping information, and the first timer is within each timing duration.
- the frequency used is different;
- the broadcast connection request is used by the target slave device to set the currently used frequency hopping information to the communication frequency hopping information, and the slave device refers to receiving the broadcast connection according to the broadcast frequency hopping information and the second timer.
- the slave device of the request, the timing duration of the first timer is smaller than the second timer Timing time;
- the master device After receiving the broadcast acknowledgement response sent by the slave device, the master device sends a connection request to the at least one slave device that sends the broadcast acknowledgement response according to the first timer and the communication frequency hopping information, and sends a broadcast acknowledgement At least one slave communication device establishes a communication connection.
- the broadcast connection request is further used by the target slave device to set the second timer currently used as the first timer.
- the method further includes:
- the master device uses the communication frequency hopping information and the first timer to interact with a successfully connected slave device.
- the first frequency point used by the master device to send a broadcast connection request is different from the second frequency point, where the second frequency point refers to the current interaction between the master device and the slave device. Frequency.
- the timing duration of the first timer is the period T1 of the switching frequency of the master device
- the timing duration of the second timer is the period of the switching frequency of the slave device.
- T2 the master device switches the T2/T1 secondary frequency point in T2.
- the communication frequency hopping information includes a number of frequency points greater than a number of frequency points included in the broadcast frequency hopping information.
- a second aspect of the present application provides a method of communication connection, the method comprising:
- the slave device receives the broadcast connection request according to the broadcast frequency hopping information and the second timer, where the broadcast connection request refers to the request that the master device sends according to the broadcast frequency hopping information and the first timer, and the broadcast connection request carries the communication hop.
- Frequency information refers to the request that the master device sends according to the broadcast frequency hopping information and the first timer, and the broadcast connection request carries the communication hop.
- the slave device sets the currently used frequency hopping information as the communication frequency hopping information according to the broadcast connection request;
- the slave device receives a connection request, where the connection request is a request sent by the master device according to the first timer and the communication frequency hopping information after receiving the broadcast acknowledgement response, according to the connection request Establishing a communication connection with the master device.
- the method further includes:
- the slave device sets the currently used second timer as the first timer according to the broadcast connection request.
- the method further includes:
- the slave device interacts with the master device using the communication frequency hopping information and the first timer.
- the third frequency point used by the slave device to receive the broadcast connection request is different from the fourth frequency point, where the fourth frequency point refers to the current interaction between the slave device and the master device.
- the frequency used is different from the fourth frequency point, where the fourth frequency point refers to the current interaction between the slave device and the master device. The frequency used.
- the method further includes:
- the second timer and the broadcast frequency hopping information are used to monitor the broadcast connection request sent by the master device.
- the method further includes:
- the second timer and the broadcast frequency hopping information are used to monitor the broadcast connection request sent by the master device.
- a third aspect of the present application provides a master device having a function of implementing a method corresponding to the communication connection provided by the above first aspect.
- the functions may be implemented by hardware or by corresponding software implemented by hardware.
- the hardware or software includes one or more modules corresponding to the functions described above, which may be software and/or hardware.
- the main device includes a transceiver module and a processing module, and the processing module is configured to control a transceiver operation of the transceiver module;
- the transceiver module is configured to send, according to the broadcast frequency hopping information and the first timer, a broadcast connection request to the at least one slave device, where the broadcast connection request carries the communication frequency hopping information, where the first timer is The frequency used in each timing period is different;
- the broadcast connection request is used by the target slave device to set the currently used frequency hopping information to the pass a hopping frequency information, where the target slave device refers to a slave device that receives the broadcast connection request according to the broadcast hopping information and a second timer, where a timing duration of the first timer is less than the second timing Timing duration of the device;
- the processing module is configured to confirm, by the transceiver module, a broadcast broadcast according to the first timer and the communication frequency hopping information after receiving, by the transceiver module, a broadcast acknowledgment response sent by the at least one slave device At least one of the responding slave sends a connection request to establish a communication connection with at least one slave device that sent the broadcast confirmation response.
- the broadcast connection request is further used by the target slave device to set a second timer currently used as the first timer.
- the processing module is further configured to:
- the first frequency point used by the master device to send the broadcast connection request is different from the second frequency point, where the second frequency point refers to a frequency point used by the master device and the slave device to interact with each other.
- the timing duration of the first timer is a period T1 of the switching frequency of the master device
- the timing duration of the second timer is a period T2 of switching frequency points of the slave device.
- the master device switches the T2/T1 secondary frequency point in T2.
- the number of frequency points included in the communication frequency hopping information is greater than the number of frequency points included in the broadcast frequency hopping information.
- a fourth aspect of the present application provides a slave device having a function of implementing a method corresponding to the communication connection provided by the above second aspect.
- the functions may be implemented by hardware or by corresponding software implemented by hardware.
- the hardware or software includes one or more modules corresponding to the functions described above, which may be software and/or hardware.
- the slave device includes a transceiver module and a processing module, and the processing module is configured to control a transceiver operation of the transceiver module;
- the transceiver module is configured to receive a broadcast connection request according to the broadcast frequency hopping information and the second timer, where the broadcast connection request is sent by the master device according to the broadcast frequency hopping information and the first timer. Determining that the broadcast connection request carries communication frequency hopping information;
- the processing module is configured to set the currently used frequency hopping information to the communication frequency hopping information according to the broadcast connection request;
- connection request is a request sent by the primary device according to the first timer and the communication frequency hopping information after receiving the broadcast acknowledgement response, according to the connection Requesting to establish a communication connection with the master device.
- the processing module is further configured to:
- the second timer currently used is set as the first timer according to the broadcast connection request.
- the processing module is further configured to:
- the third frequency point used by the slave device to receive the broadcast connection request is different from the fourth frequency point, where the fourth frequency point refers to a frequency used by the slave device and the master device to interact with each other. point.
- the method further includes:
- the second timer and the broadcast frequency hopping information are used to monitor the broadcast connection request sent by the master device.
- the method further includes:
- the second timer and the broadcast frequency hopping information are used to monitor the broadcast connection request sent by the master device.
- a fifth aspect of the present application provides a communication system having a function of a method of implementing the above communication connection.
- the functions may be implemented by hardware or by corresponding software implemented by hardware.
- the hardware or software includes one or more modules corresponding to the functions described above, which may be software and/or Or hardware.
- the communication system comprises:
- the master device of the third aspect and the slave device of at least one of the fourth aspects.
- the master device sends a broadcast connection request carrying the communication frequency hopping information to the at least one slave device according to the broadcast frequency hopping information and the first timer, where the first timer is in each
- the frequency points used in the timing duration are different, that is, the frequency points are switched according to the first timer; since the target slave device receives the broadcast connection request according to the broadcast frequency hopping information and the second timer,
- the time for successfully receiving the broadcast connection request from the device is limited to the second timer, so that the target slave device can cover all the broadcast connection requests of the master device during the time duration of the second timer, and the currently used hop is used.
- the frequency information is set to the communication frequency hopping information; after receiving the broadcast acknowledgment response sent by the at least one slave device, the master device may send a broadcast confirmation response according to the first timer and the communication hopping frequency information. At least one slave device sends a connection request to establish a communication connection with at least one target slave device that sends a broadcast acknowledgement response. It can be seen that by adopting the solution, the length of establishing a communication connection can be effectively reduced, and the complexity of establishing a communication connection can also be simplified.
- FIG. 1 is a schematic diagram of signaling interaction of a communication connection according to an embodiment of the present invention
- FIG. 2 is a schematic diagram of timing control of a frequency hopping sequence according to an embodiment of the present invention
- FIG. 3 is a schematic diagram of a network topology structure of a communication connection according to an embodiment of the present invention.
- FIG. 4 is a schematic diagram of another signaling interaction of a communication connection according to an embodiment of the present invention.
- 5-1 is another schematic diagram of signaling interaction of a communication connection according to an embodiment of the present invention.
- 5-2 is a schematic diagram of another signaling interaction of a communication connection according to an embodiment of the present invention.
- FIG. 5 is a schematic flowchart of a method for sending a broadcast connection request and interaction by a master device according to an embodiment of the present invention
- FIG. 6 is a schematic flowchart of sending a broadcast connection request and interaction from a device according to an embodiment of the present invention
- FIG. 7 is a schematic structural diagram of a master device according to an embodiment of the present invention.
- FIG. 8 is a schematic structural diagram of a slave device according to an embodiment of the present invention.
- FIG. 9 is a schematic structural diagram of a communication system according to an embodiment of the present invention.
- modules may be combined or integrated into another system, or some features may be ignored or not executed, and in addition, displayed or discussed between each other
- the coupling or direct coupling or communication connection may be through some interfaces, and the indirect coupling or communication connection between the modules may be electrical or the like, which is not limited in the present application.
- the modules or sub-modules described as separate components may or may not be physically separated, may not be physical modules, or may be distributed to multiple circuit modules, and some or all of them may be selected according to actual needs. Modules are used to achieve the objectives of the present application.
- the present application provides a method, device and system for communication connection for use in the field of wireless communication technologies.
- the master device and the slave device to which the present application relates may be a device that provides voice and/or data connectivity to a user, a handheld device with wireless connectivity, or other processing device that is connected to a wireless modem.
- the wireless terminal can communicate with one or more core networks via a radio access network (English name: Radio Access Network, English abbreviation: RAN), and the wireless terminal can be a mobile terminal, such as a mobile phone (or "cellular" phone).
- a computer having a mobile terminal for example, can be a portable, pocket, handheld, computer built-in or in-vehicle mobile device that exchanges voice and/or data with the wireless access network.
- a wireless terminal may also be referred to as a system, a Subscriber Unit, and a Subscriber Station.
- Mobile Station Mobile Station, Remote Station, Access Point, Remote Terminal, Access Terminal, User Terminal, Terminal device, User Agent, User Device, or User Equipment.
- the slave device may also be a wireless accessory such as a handle, a remote control, or a three-axis gyroscope, which is not limited in this application.
- the present application mainly provides the following technical solutions:
- the frequency hopping information used in the broadcast mode is different from the frequency hopping information used in the connection mode, and defines the frequency at which the master device sends the broadcast connection request.
- the switching period of the point is smaller than the switching period of the frequency point at which the device listens for the broadcast connection request.
- the following provides an example of a method for providing a communication connection, where the method includes:
- the master device sends a broadcast connection request to the at least one slave device according to the broadcast frequency hopping information and the first timer.
- the broadcast connection request carries communication frequency hopping information, and the first timer uses different frequency points in each timing duration.
- the broadcast connection request is used by the target slave device to set the currently used frequency hopping information to the communication frequency hopping information, and the target slave device refers to receiving the broadcast according to the broadcast frequency hopping information and the second timer.
- the slave device that connects the request, the timing duration of the first timer is less than the timing duration of the second timer.
- the slave device receives a broadcast connection request according to the broadcast frequency hopping information and the second timer.
- the timing duration of the first timer is a period T1 of the switching frequency of the master device
- the timing duration of the second timer is a switching frequency of the slave timer.
- the period T2 of the point, then the master device can switch (T2/T1)-1 frequency points within T2.
- the Host before the pre-connection state, the Host sends a broadcast data request connection every T1 interval, and T1 is greater than or equal to 2 ms.
- the specific multiple relationship between T2 and T1 is not limited in this application.
- the slave device sets the currently used frequency hopping information as a communication hop according to the broadcast connection request. Frequency information.
- the slave device sends a broadcast acknowledgement response to the master device.
- step 102 there may be that the at least one slave device receives the broadcast connection request sent by the master device in the same timer or in different timers, and then the slave devices that receive the broadcast connection request need to be the master.
- the device sends a broadcast confirmation response.
- the slave device sends a broadcast acknowledge response in an automatic answering manner to control the delay of the broadcast connection request between the master device and the slave device within the time duration of the first timer, and the master device
- the transmission delay of the interaction data with the slave device is controlled within the timing of the first timer.
- the master device adopts a frequency hopping interval (that is, a timing duration of the first timer) for the frequency point in the broadcast FM information, and is 2 milliseconds (English name: millisecond, English abbreviation: ms), and each slave device adopts an automatic response.
- the mode of the packet after receiving the broadcast connection request sent by the master device, the slave device will return a broadcast response response to the master device within a certain time range; for example, in 40-150 microseconds (English full name: microsecond, English abbreviation: Return between us); or, after receiving the data request sent by the master device, the slave device will return a broadcast response response to the master device within a certain time range; for example, return between 40-150 us.
- the feedback of the master device by means of such an automatic response can ensure that each broadcast connection delay between the master device and the slave device is controlled within 2 ms, and in addition, each two-way between the master device and the slave device can also be The transmission time delay of the interactive data is controlled within 2ms.
- this automatic answering method ensures that each bidirectional transmission is completed within 2ms. If the bidirectional transmission cannot be completed within 2ms, then the broadcast connection can be re-established within 2ms, and then The two-way transmission is sequentially performed within 2 ms of the next switching frequency point.
- the master device receives a broadcast acknowledgement response sent by at least one target slave device.
- the slave device learns the broadcast frequency hopping information and the first timer that are currently used by the master device for broadcasting, and then the communication connection is ensured.
- the slave device that receives the broadcast connection request needs to set the currently used second timer to the first timer according to the broadcast connection request, so that the slave timer can be guaranteed.
- the slave device and the master device hop by frequency, that is, after the two are connected, the slave device and the master device both hop by frequency according to the first timer.
- the master device sends a connection request to at least one slave device that sends a broadcast acknowledgement response according to the first timer and the communication frequency hopping information, and establishes a communication connection with at least one slave device that sends a broadcast acknowledgement response.
- the slave device receives a connection request, and the slave device establishes a communication connection with the master device according to the connection request.
- the slave devices in step 102 to step 106 of the present application refer to the slave device that receives the broadcast connection request sent by the master device according to the broadcast frequency hopping information and the second timer, and each slave Whether the device receives the broadcast connection request sent by the master device in the same frequency point or the same timer, which is not limited in this application, but is for convenience of description, for each received frequency hopping information according to the broadcast and the second
- the slave device that receives the broadcast connection request sent by the master device can perform the operations performed by the slave device in the present application, and details are not repeatedly described herein.
- the master device sends a broadcast connection request carrying the communication frequency hopping information to the at least one slave device according to the broadcast frequency hopping information and the first timer, where the first timer is in each
- the frequency used in the timing duration is different, that is, the frequency point is switched according to the first timer; since the target slave device receives the broadcast connection request according to the broadcast frequency hopping information and the second timer,
- the time for the slave device to successfully receive the broadcast connection request is limited to the second timer, so that the slave device can cover all the broadcast connection requests of the master device during the time duration of the second timer, and set the currently used frequency hopping information.
- Frequency hopping information for the communication is limited to the second timer, so that the slave device can cover all the broadcast connection requests of the master device during the time duration of the second timer, and set the currently used frequency hopping information.
- the master device may send, according to the first timer and the communication frequency hopping information, a connection request, and send, to at least one slave device that sends a broadcast acknowledgement response. At least one slave device that broadcasts the acknowledgment response establishes a communication connection. It can be seen that by adopting the solution, the length of establishing a communication connection can be effectively reduced, and the complexity of establishing a communication connection can also be simplified.
- the first timer that transmits the broadcast connection request by the master device and the second timer that receives the broadcast connection request from the device are set to be different, and the slave device and the master device have not been received during the broadcast connection request of the master device.
- Establishing a communication connection and the slave device temporarily does not know the broadcast hopping information used by the master device to send a broadcast connection request, so in order to ensure that the slave device can establish with the master device After the communication connection, the slave device needs to successfully synchronize with the master device after at least one attempt, and then correctly receives the broadcast data sent by the master device, and then performs data interaction with the master device according to the communication frequency hopping information carried in the broadcast data.
- the slave device listens to the broadcast connection request sent by the master device in the timing duration T2 of the second timer, so that the guarantee can cover all the broadcast connections that are switched by the master device in the timing duration T2 of the second timer. If the requested frequency is not successfully matched in the timing of the second timer, then the second timer is retimed on the slave device that has not successfully matched the frequency, and the slave device continues to monitor the timing of the second timer. The frequency of the master device switching in T2 until the frequency is successful.
- the frequency hopping timing control diagram in FIG. 2, a row of the Host TX channel represents a frequency hopping timing control diagram of the transmission channel of the master device (Host), and each shaded box represents a time interval.
- the Device Rx channel line indicates the frequency hopping timing control of the receiving channel of the device.
- the host hops once every 2ms, and the device skips the frequency every 2ms during the frequency matching with the Host.
- the device starts the radio receiving of the broadcast connection request in the 6ms time interval corresponding to d2. If the device fails to successfully synchronize with the host in d2, the device will continue to enter the next 6ms (for example, d3 in Figure 2 corresponds to the next 6ms period).
- the timer is switched from 6ms to 2ms) to receive the radio reception of the broadcast connection request, and the Host initiates the radio transmission of the broadcast connection request in the d1 time interval.
- the device enters the d3 time interval after the end of d2 to continue the radio reception of the broadcast connection request, and during the end of d3, the 6ms timer is changed to the 2ms timer (corresponding to the c1 time interval in FIG. 2).
- the connection confirmation response is returned to the Host, and the Host receives the connection confirmation response returned by the Device in the d3 time interval, and then sends a connection establishment request to the Device in the c1 time interval, and the Device receives the connection establishment request sent by the Host in the c1 time interval.
- the host is automatically answered within 100us.
- the Device establishes a connection state with the host in the c1 time interval, indicating that the two have successfully established a communication connection, and the two can interact. As shown in Figure 2, the Device only performs 2 frequency hopping, and the host completes the frequency.
- the master device and each slave device establishing a communication connection may further use the communication frequency hopping information and the The first timer interacts.
- the following may exist:
- Some slave devices have established a communication connection with the master device
- Some slave devices are establishing a communication connection with the master device
- the broadcast connection between the master device and the unconnected slave device may interfere with the interaction between the master device and the connected slave device; or, the interaction between the master device and the connected slave device may be related to the master device and the slave device. Interference caused by a broadcast connection between connected slave devices. To reduce such interference, this application can also be set to:
- the first frequency point used by the master device to send a broadcast connection request is different from the second frequency point, where the second frequency point refers to a frequency point used by the master device and the slave device to interact with each other, specifically by setting Broadcast frequency information and communication frequency information to achieve this goal.
- the frequency used by the master device to broadcast is different from the frequency used when interacting with the master device, so that the data transmission of the slave device that has established a communication connection with the master device can be avoided, which affects those that are not connected to the master device.
- the slave device cannot establish a communication connection with the master device for a long time, or the time for establishing the communication connection is lengthened. Therefore, in one aspect, the present application can ensure that each slave device can quickly establish a communication connection with the master device by setting the first frequency point to be different from the second frequency point.
- the present application is also capable of realizing the existence of a plurality of such communication systems in the same space environment, for example, a communication system in which a master device interacts with a slave device, and a communication in which a master device and a slave device perform a broadcast connection. system.
- the third frequency point used by the slave device to receive the broadcast connection request may be set to be different from the fourth frequency point, where the fourth frequency point refers to a frequency point used by the slave device and the master device to interact with each other.
- the fourth frequency point refers to a frequency point used by the slave device and the master device to interact with each other.
- the number of frequency points included in the communication frequency hopping information is greater than the number of frequency points included in the broadcast frequency hopping information.
- a timeout mechanism may also be set, and even if the master device does not receive the broadcast acknowledgement response fed back from the device, the master device enters the broadcast connection request in the next first timer.
- the sending process or even if the master device does not receive the data request response fed back from the device, the master device enters the sending process of the data request in the next first timer.
- the timeout mechanism refers to the receiving party's receiving response timeout, such as a slave device that receives a broadcast connection request or a data request, or a master device that receives a data request, or a master device that receives a slave device to send interactive data.
- the first timer in the present application restarts the timing every time after the end of the timing, and the timing duration can be fixed or dynamically changed, which is not limited in this application.
- the timing of the first timer if a timer interrupt is triggered, the timing is also restarted immediately. Therefore, in the present application, by the timing of the first timer, it is possible to ensure that the master device and the slave device synchronize by frequency hopping within the timing duration of the at least one first timer, that is, implement the frequency. Moreover, after the frequency is successful, the master device and the slave device can interact at the same frequency point at the same time.
- a timeout mechanism may also be set for the slave device, specifically, after the establishing a communication connection with the master device according to the connection request, if the slave device is in advance When the connection request sent by the master device is not received within the duration, the slave device may use the second timer and the broadcast frequency hopping information to listen to the broadcast connection request sent by the master device.
- the slave device may use the The second timer and the broadcast frequency hopping information monitor a broadcast connection request sent by the master device.
- the communication system may be composed of one master device and multiple slave devices. Interacts with Device based on 2.4G radio frequency chip.
- the following is a master device for Dongle, and the slave device is a handle and a camera.
- Dongle is host, and handle 1, handle 2, and Camera are both Devices.
- Dongle can be an electronic dog or receiver, which can output the data to be sent to the mobile phone or PC through the data line (USB), and the Camera is used for image capturing, which can optically position the handle 1, the handle 2 and the Dongle.
- the handle 1 and the handle 2 can then be used to calculate the gesture angle of the user.
- the attitude angle includes a yaw angle, a pitch angle, and a roll angle.
- the transmission mode between Dongle and Hand 1, Hand 2 and Camera is mainly divided into broadcast mode and connection mode.
- the broadcast mode and the connection mode use different 2.4G frequency points.
- the radio frequency modulation rate uses 2Mbps
- the broadcast mode and the connection mode use different frequency hopping sequences.
- the broadcast mode can be set to use 3 frequency points.
- the connected mode uses 12 frequency points for the hopping sequence.
- the host and the device do not establish a connection, and only broadcast data is sent and received.
- the Host starts a 2ms timer, and the Host can switch the frequency every 2ms.
- the Device starts the 6ms timer and switches the frequency every 6ms. Then, the Host can switch the frequency twice in 6ms, and the Device can listen to the 3 frequency points used by the Host within 6ms.
- the Host sends a broadcast data to the Device every 2 ms, and switches the frequency point in the frequency hopping sequence every 2 ms.
- the device switches the frequency point every 6 ms, and monitors and receives the broadcast data.
- the Device After receiving the broadcast data, the Device feeds back a broadcast confirmation response to the Host within 100 us, and enters a pre-connected state.
- the host receives the broadcast acknowledgement response, enters the pre-connection state, and sends a connection request to the device.
- the Device After receiving the connection request, the Device feeds back the connection confirmation response to the Host in 100us, and then enters the connection state.
- the Host receives the connection confirmation response, enters the connection state, and establishes a communication connection with the Device.
- the Device Since the Device does not switch the frequency point to listen to the Host's broadcast connection request within 6ms, this ensures that the Device can cover all the broadcast frequency points that the Host switches within 6ms. Even if the Device does not complete the frequency with the Host within the first 2ms, Within 6ms, Device will continue to monitor the frequency within each 2ms, which can ensure that the device hops up to several times (up to 2 times in Figure 4) and can be connected to Host.
- Figure 5-1 shows the process of requesting data from the master device to the slave device.
- the master device sends a data request every 2 ms, and jumps the frequency every 2 ms.
- the slave device skips the frequency point every 2ms to listen to the data request of the master device.
- the slave device listens to the data request of the master device, it feeds back the data to the master device within 100us and enters the data transmission state.
- the master device receives data fed back from the device.
- the master device sends data every 2ms and skips the frequency every 2ms.
- the slave device skips the frequency every 2ms to monitor the data of the master device.
- the slave device After receiving the data of the master device, the slave device feeds back the data confirmation response to the master device within 100 us, and enters the data receiving state.
- the master device receives a data acknowledgement response fed back from the device.
- the slave device sends a data request every 2 ms, and jumps the frequency every 2 ms.
- the master device skips the frequency point every 2 ms to listen to the data request of the master device.
- the master device After listening to the data request of the slave device, the master device feeds back data to the slave device within 100 us and enters a data transmission state.
- the slave device receives data fed back by the master device.
- the process of sending data from the device to the master device is as follows:
- the slave device sends data every 2ms, and jumps the frequency every 2ms.
- the master device skips the frequency every 2ms to monitor the data of the slave device.
- the master device After receiving the data of the slave device, the master device feeds back the data confirmation response within 100us. Go to the slave device and enter the data reception state.
- the slave device receives a data confirmation response fed back by the master device.
- the radio is enabled to send and receive, and the 2ms timer for sending the broadcast connection request is started.
- the Host hops once (that is, sets a new frequency) to send a broadcast connection request.
- the Device that identifies the feedback request response enters the pre-connected state and will use the current connection.
- the broadcast hopping sequence is set to connect to the hopping sequence, and if the request response is not received, the 2ms timer is restarted.
- the Host sends a connection establishment request to the Device in the pre-connected state. If the Host receives the connection confirmation response fed back by the Device, the Device that identifies the feedback connection confirmation response enters the connection state, and the Host can interact with it.
- the Host does not receive the connection confirmation response from the Device, it determines whether it times out. If it does not time out, it restarts the 2ms timer. If it times out, it identifies that the Device that has not responded to the connection confirmation response within 2ms enters the broadcast state.
- both Host and Device start the 2ms timer.
- the host sends data/request to the Device after the timer starts. If the Device feedback response (including data acknowledgement or data) is received, the 2ms timer is restarted. , for the next round of interaction. If the response of the Device feedback (including the data acknowledgement response or data) is not received, it is judged whether it times out. If it does not time out, the 2ms timer is restarted and the next round of interaction is entered; if it times out, the identifier is not within 2ms.
- the Device that acknowledges the connection confirmation acknowledges the broadcast status.
- the Host does not receive the connection confirmation response from the Device, it determines whether it times out. If it does not time out, it restarts the 2ms timer. If it times out, it identifies that the Device that has not responded to the connection confirmation response within 2ms enters the broadcast state.
- the device starts the RF transceiver and starts the 6ms timer for listening to the broadcast connection request.
- the Device skips the frequency (that is, sets a new frequency) and continues to listen to the broadcast connection request.
- the Device After receiving the broadcast connection request sent by the Host, the Device enters the pre-connected state and hops the currently used broadcast. Sequence set to connect Connect the hopping sequence and set the current 6ms timer to the 2ms timer. If the broadcast connection request sent by the Host is not received, the 6ms timer is restarted, and the broadcast connection request sent by the Host is continuously monitored.
- the device starts the process of monitoring the connection establishment request sent by the host: The Device starts the 2ms timer, and switches the frequency of monitoring the connection establishment request when the 2ms timing time expires. After receiving the connection establishment request, the Device enters the connection state, and then can interact with the Host.
- the device determines whether it times out. If it does not time out, it restarts the 2ms timer and continues to listen to the connection establishment request sent by the host. If it times out, the device enters the broadcast state and hops. The sequence is set to a broadcast hopping sequence, and the 2ms timer is set to a 6ms timer.
- the Device receives the data/request sent by the Host within 2ms, it sends a response/data to the Host in response to the received request. After the 2ms timer expires, the 2ms timer is restarted, and the data/request sent by the Host is continuously monitored. The next round of interaction.
- both the Host and the Device start the 2ms timer. If the Device does not receive the data/request sent by the Host, it determines whether it times out. If it does not time out, it restarts the 2ms timer and enters the next round of interaction. When the timeout occurs, the device enters the broadcast state, and sets the frequency hopping sequence to the broadcast hopping sequence, and sets the 2ms timer to the 6ms timer.
- the present application does not require a complicated connection protocol and does not require complicated operation steps compared to the conventional wifi-based connection establishment process. Compared with the existing mechanism, this embodiment Apply for an effective simplified connection step and shorten the length of connection establishment.
- the features of the first timer, the second timer, the broadcast frequency modulation information, the communication frequency modulation information, the pre-connection state, the connection state, and the like in any of the foregoing embodiments described in FIG. 1 to FIG. 6 are also applicable to FIG. 4 in the present application.
- the embodiments corresponding to FIG. 5 will not be described again in the subsequent similarities.
- the above describes a method of communication connection in the present application.
- the following describes a master device, a slave device, and a communication system for performing the above-described method of communication connection.
- the master device 70 is described with reference to FIG. 7.
- the master device 70 includes a transceiver module 701 and a processing module 702.
- the processing module 702 is configured to control the transceiver operation of the transceiver module 701.
- the transceiver module 701 is configured to send at least one slave according to the broadcast frequency hopping information and the first timer A broadcast connection request is sent, the broadcast connection request carries communication frequency hopping information, and the frequency used by the first timer is different in each timing duration;
- the broadcast connection request is used to set the currently used frequency hopping information to the communication frequency hopping information according to the broadcast hopping information and the slave device that receives the broadcast connection request by the second timer, the first timing The timing duration of the device is less than the timing duration of the second timer;
- the processing module 702 is configured to: after receiving, by the transceiver module 701, the broadcast acknowledgement response sent by the at least one slave device, according to the first timer and the communication frequency hopping information, by using the transceiver module 701 At least one slave device transmitting a broadcast acknowledgment response transmits a connection request, establishing a communication connection with at least one slave device transmitting the broadcast acknowledgment response.
- the broadcast connection request is further configured to: the slave device that receives the broadcast connection request sets a second timer that is currently used to the first timer.
- the processing module 702 is further configured to:
- the transceiver module 701 uses the communication frequency hopping information and the first timer to interact with the successfully connected slave device.
- the first frequency point used by the master device to send a broadcast connection request is different from the second frequency point, where the second frequency point refers to the current device and the slave device are currently The frequency used by the interaction.
- the timing duration of the first timer is a period T1 of the switching frequency of the master device
- the timing duration of the second timer is a slave device switching.
- the master device switches the T2/T1 secondary frequency point in T2.
- the number of frequency points included in the communication frequency hopping information is greater than the number of frequency points included in the broadcast frequency hopping information.
- the slave device 80 is configured to include a transceiver module 801 and a processing module 802.
- the processing module 802 is configured to control the transceiver operation of the transceiver module 801.
- the transceiver module 801 is configured to receive a broadcast connection request according to the broadcast frequency hopping information and the second timer, where the broadcast connection request is performed by the master device according to the broadcast frequency hopping information and the first timer.
- the request, the broadcast connection request carries the communication frequency hopping information, and the timing duration of the first timer is less than the timing duration of the second timer;
- the processing module 802 is configured to set, according to the broadcast connection request, the currently used frequency hopping information as the communication frequency hopping information;
- connection request is a request sent by the primary device according to the first timer and the communication frequency hopping information after receiving the broadcast acknowledgement response, according to the request
- a connection request establishes a communication connection with the master device.
- the processing module 802 is further configured to: after the transceiver module receives the broadcast connection request according to the broadcast hopping information and the second timer,
- the second timer currently used is set as the first timer according to the broadcast connection request.
- the processing module 802 is further configured to:
- the third frequency point used by the slave device to receive the broadcast connection request is different from the fourth frequency point, where the fourth frequency point refers to the slave device and the master.
- the frequency at which the device is currently interacting is different from the fourth frequency point, where the fourth frequency point refers to the slave device and the master.
- the transceiver module 801 is further configured to:
- the second timer and the broadcast frequency hopping information are used to monitor the broadcast connection request sent by the master device.
- the transceiver module 801 is further configured to:
- the second timer and the broadcast frequency hopping information are used to monitor the broadcast connection request sent by the master device.
- the communication system 90 will be described with reference to FIG. 9, which includes the master device shown in FIG. 7 and the slave device shown in FIG.
- the disclosed system, apparatus, and method may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the modules is only a logical function division.
- there may be another division manner for example, multiple modules or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or module, and may be electrical, mechanical or otherwise.
- the modules described as separate components may or may not be physically separated.
- the components displayed as modules may or may not be physical modules, that is, may be located in one place, or may be distributed to multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.
- the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
- the integrated modules, if implemented in the form of software functional modules and sold or used as separate products, may be stored in a computer readable storage medium.
- the computer program product includes one or more computer instructions.
- the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
- the computer instructions can be stored in a computer readable storage medium or One computer readable storage medium is transferred to another computer readable storage medium, for example, the computer instructions can be wired from a website site, computer, server or data center (eg, coaxial cable, fiber optic, digital subscriber line (DSL) Or wireless (eg, infrared, wireless, microwave, etc.) to another website site, computer, server, or data center.
- a website site, computer, server or data center eg, coaxial cable, fiber optic, digital subscriber line (DSL) Or wireless (eg, infrared, wireless, microwave, etc.
- the computer readable storage medium can be any available media that can be stored by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
- the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
一种通信连接的方法及设备,所述方法包括:主设备根据广播跳频信息和第一定时器向至少一个从设备发送广播连接请求,所述广播连接请求携带通信跳频信息,所述第一定时器在每个定时时长内所使用的频点不同;所述广播连接请求用于目标从设备将当前使用的跳频信息设置为所述通信跳频信息,所述从设备是指根据所述广播跳频信息和第二定时器接收到所述广播连接请求的从设备;所述主设备接收到至少一个从设备发送的广播确认响应后,根据所述第一定时器和所述通信跳频信息,向发送广播确认响应的至少一个从设备发送连接请求,与发送广播确认响应的至少一个从设备建立通信连接。通过采用本方案,能够降低主设备和从设备建立通信连接的时延。
Description
本申请涉及无线通信技术领域,尤其涉及一种通信连接的方法、设备及系统。
虚拟现实系统(英文全称:Virtual Reality System,英文简称:VR)和增强现实系统(英文全称:Augmented Reality System,英文简称:AR)应用系统中,目前所能看见的带空间定位输入的头显(HTC Vive、Oculus Rift和PlayStation VR)都是基于有线传输,为提高便利性,目前主要采用无线传输代替有线传输。
由于VR和AR有较高的延时要求,该延时除了包括无线传输的时长,还包括传感器数据融合、图形渲染、VR屏幕的像素响应时间,由此可见,目前基于VR和AR的无线传输方式均并不能达到低延时的目的。虽然目前VR和AR主要采用的无线传输协议有:无线保真技术(英文全称:WIreless-Fidelity,英文简称:Wi-Fi)、蓝牙或4G等,这些技术可以实现较低延时的无线传输空间点位信息的无线数据传输,但在实际的无线传输流程中,设备之间连接需要较长的时间,并且需要较复杂的协议。
发明内容
本申请提供了一种通信连接的方法、设备及系统,能够解决现有技术中主设备与从设备建立通信连接时间较长的问题。
本申请第一方面提供一种通信连接的方法,本申请中,主设备可基于射频芯片进行广播,以及与从设备进行交互,所述方法包括:
在广播模式下,主设备根据广播跳频信息和第一定时器向至少一个从设备发送广播连接请求,所述广播连接请求携带通信跳频信息,所述第一定时器在每个定时时长内所使用的频点不同;
所述广播连接请求用于目标从设备将当前使用的跳频信息设置为所述通信跳频信息,所述从设备是指根据所述广播跳频信息和第二定时器接收到所述广播连接请求的从设备,所述第一定时器的定时时长小于所述第二定时器
的定时时长;
所述主设备接收到至少一个从设备发送的广播确认响应后,根据所述第一定时器和所述通信跳频信息,向发送广播确认响应的至少一个从设备发送连接请求,与发送广播确认响应的至少一个从设备建立通信连接。
在一些可能的设计中,所述广播连接请求还用于目标从设备将当前使用的第二定时器设置为所述第一定时器。
在一些可能的设计中,在与发送广播确认响应的至少一个从设备建立通信连接之后,所述方法还包括:
所述主设备使用所述通信跳频信息和所述第一定时器与连接成功的从设备进行交互。
在一些可能的设计中,所述主设备当前发送广播连接请求所使用的第一频点与第二频点不同,所述第二频点是指所述主设备和从设备当前交互所使用的频点。
在一些可能的设计中,在广播模式下,所述第一定时器的定时时长为所述主设备切换频点的周期T1,所述第二定时器的定时时长为从设备切换频点的周期T2,所述主设备在T2内切换T2/T1次频点。
在一些可能的设计中,所述通信跳频信息所包括的频点数目大于所述广播跳频信息所包括的频点数目。
本申请第二方面提供一种通信连接的方法,所述方法包括:
从设备根据广播跳频信息和第二定时器接收广播连接请求,所述广播连接请求是指主设备根据所述广播跳频信息和第一定时器发送的请求,所述广播连接请求携带通信跳频信息;
所述从设备根据所述广播连接请求将当前使用的跳频信息设置为所述通信跳频信息;
所述从设备向所述主设备发送广播确认响应;
所述从设备接收连接请求,所述连接请求是指所述主设备在接收到所述广播确认响应后根据所述第一定时器和所述通信跳频信息发送的请求,根据所述连接请求与所述主设备建立通信连接。
在一些可能的设计中,在所述从设备根据广播跳频信息和第二定时器接收广播连接请求之后,所述方法还包括:
所述从设备根据所述广播连接请求将当前使用的所述第二定时器设置为所述第一定时器。
在一些可能的设计中,在所述根据所述连接请求与所述主设备建立通信连接之后,所述方法还包括:
所述从设备使用所述通信跳频信息和所述第一定时器与所述主设备进行交互。
在一些可能的设计中,所述从设备当前接收广播连接请求所使用的第三频点与第四频点不同,所述第四频点是指所述从设备和所述主设备当前交互所使用的频点。
在一些可能的设计中,在所述根据所述连接请求与所述主设备建立通信连接之后,所述方法还包括:
所述从设备在预设时长内未接收到所述主设备发送的连接请求时,使用所述第二定时器和所述广播跳频信息监听所述主设备发送的广播连接请求。
在一些可能的设计中,在所述从设备向所述主设备发送广播确认响应之后,所述方法还包括:
所述从设备在预设时长内未接收到所述主设备发送的连接请求时,使用所述第二定时器和所述广播跳频信息监听所述主设备发送的广播连接请求。
本申请第三方面提供一种主设备,具有实现对应于上述第一方面提供的通信连接的的方法的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块,所述模块可以是软件和/或硬件。一种可能的设计中,所述主设备包括收发模块和处理模块,所述处理模块用于控制所述收发模块的收发操作;
所述收发模块,用于在广播模式下,根据广播跳频信息和第一定时器向至少一个从设备发送广播连接请求,所述广播连接请求携带通信跳频信息,所述第一定时器在每个定时时长内所使用的频点不同;
所述广播连接请求用于目标从设备将当前使用的跳频信息设置为所述通
信跳频信息,所述目标从设备是指根据所述广播跳频信息和第二定时器接收到所述广播连接请求的从设备,所述第一定时器的定时时长小于所述第二定时器的定时时长;
所述处理模块,用于在通过所述收发模块接收到至少一个从设备发送的广播确认响应后,根据所述第一定时器和所述通信跳频信息,通过所述收发模块向发送广播确认响应的至少一个从设备发送连接请求,与发送广播确认响应的至少一个从设备建立通信连接。
可选的,所述广播连接请求还用于目标从设备将当前使用的第二定时器设置为所述第一定时器。
可选的,所述处理模块在与发送广播确认响应的至少一个从设备建立通信连接之后,所述处理模块还用于:
使用所述通信跳频信息和所述第一定时器,通过所述收发模块与连接成功的从设备进行交互。
可选的,所述主设备当前发送广播连接请求所使用的第一频点与第二频点不同,所述第二频点是指所述主设备和从设备当前交互所使用的频点。
可选的,在广播模式下,所述第一定时器的定时时长为所述主设备切换频点的周期T1,所述第二定时器的定时时长为从设备切换频点的周期T2,所述主设备在T2内切换T2/T1次频点。
可选的,所述通信跳频信息所包括的频点数目大于所述广播跳频信息所包括的频点数目。
本申请第四方面提供一种从设备,具有实现对应于上述第二方面提供的通信连接的的方法的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块,所述模块可以是软件和/或硬件。
一种可能的设计中,所述从设备包括包括收发模块和处理模块,所述处理模块用于控制所述收发模块的收发操作;
所述收发模块,用于根据广播跳频信息和第二定时器接收广播连接请求,所述广播连接请求是指主设备根据所述广播跳频信息和第一定时器发送的请
求,所述广播连接请求携带通信跳频信息;
所述处理模块,用于根据所述广播连接请求将当前使用的跳频信息设置为所述通信跳频信息;
通过所述收发模块向所述主设备发送广播确认响应;
通过所述收发模块接收连接请求,所述连接请求是指所述主设备在接收到所述广播确认响应后根据所述第一定时器和所述通信跳频信息发送的请求,根据所述连接请求与所述主设备建立通信连接。
可选的,所述处理模块在所述所述收发模块根据广播跳频信息和第二定时器接收广播连接请求之后,还用于:
根据所述广播连接请求将当前使用的所述第二定时器设置为所述第一定时器。
可选的,所述处理模块在所述根据所述连接请求与所述主设备建立通信连接之后,还用于:
使用所述通信跳频信息和所述第一定时器,通过所述收发模块与所述主设备进行交互。
可选的,所述从设备当前接收广播连接请求所使用的第三频点与第四频点不同,所述第四频点是指所述从设备和所述主设备当前交互所使用的频点。
可选的,在所述根据所述连接请求与所述主设备建立通信连接之后,所述方法还包括:
所述从设备在预设时长内未接收到所述主设备发送的连接请求时,使用所述第二定时器和所述广播跳频信息监听所述主设备发送的广播连接请求。
可选的,在所述从设备向所述主设备发送广播确认响应之后,所述方法还包括:
所述从设备在预设时长内未接收到所述主设备发送的连接请求时,使用所述第二定时器和所述广播跳频信息监听所述主设备发送的广播连接请求。
本申请第五方面提供一种通信系统,具有实现上述通信连接的方法的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块,所述模块可以是软件和/
或硬件。
一种可能的设计中,所述通信系统包括:
第三方面所述的主设备,以及至少一个第四方面所述的从设备。
相较于现有技术,本申请提供的方案中,主设备根据广播跳频信息和第一定时器向至少一个从设备发送携带通信跳频信息的广播连接请求,所述第一定时器在每个定时时长内所使用的频点不同,也就是根据第一定时器来切换频点;由于目标从设备是根据所述广播跳频信息和第二定时器去接收所述广播连接请求,所以,能够将从设备成功接收广播连接请求的时间限定在第二定时器内,这样可以保证目标从设备在第二定时器的定时时长内覆盖这期间主设备所有的广播连接请求,并当前使用的跳频信息设置为所述通信跳频信息;所述主设备接收到至少一个从设备发送的广播确认响应后,即可根据所述第一定时器和所述通信跳频信息,向发送广播确认响应的至少一个从设备发送连接请求,与发送广播确认响应的至少一个目标从设备建立通信连接。由此可见,通过采用本方案,能够有效的减少建立通信连接的时长,也能简化建立通信连接的复杂度。
图1为本发明实施例中通信连接的一种信令交互示意图;
图2为本发明实施例中的一种跳频序列时序控制示意图;
图3为本发明实施例中通信连接的一种网络拓扑结构示意图;
图4为本发明实施例中通信连接的另一种信令交互示意图;
图5-1为本发明实施例中通信连接的另一种信令交互示意图;
图5-2为本发明实施例中通信连接的另一种信令交互示意图;
图5为本发明实施例中主设备发送广播连接请求和交互的一种流程示意图;
图6为本发明实施例中从设备发送广播连接请求和交互的一种流程示意图;
图7为本发明实施例中主设备的一种结构示意图;
图8为本发明实施例中从设备的一种结构示意图;
图9为本发明实施例中通信系统的一种结构示意图。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或模块的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或模块,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或模块,本申请中所出现的模块的划分,仅仅是一种逻辑上的划分,实际应用中实现时可以有另外的划分方式,例如多个模块可以结合成或集成在另一个系统中,或一些特征可以忽略,或不执行,另外,所显示的或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,模块之间的间接耦合或通信连接可以是电性或其他类似的形式,本申请中均不作限定。并且,作为分离部件说明的模块或子模块可以是也可以不是物理上的分离,可以是也可以不是物理模块,或者可以分布到多个电路模块中,可以根据实际的需要选择其中的部分或全部模块来实现本申请方案的目的。
本申请提供了一种通信连接的方法、设备及系统,用于无线通信技术领域。本申请涉及的主设备和从设备,可以是指向用户提供语音和/或数据连通性的设备,具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备。无线终端可以经无线接入网(英文全称:Radio Access Network,英文简称:RAN)与一个或多个核心网进行通信,无线终端可以是移动终端,如移动电话(或称为“蜂窝”电话)和具有移动终端的计算机,例如,可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语音和/或数据。例如,个人通信业务(英文全称:Personal Communication Service,英文简称:PCS)电话、无绳电话、会话发起协议(SIP)话机、无线本地环路(Wireless Local Loop,英文简称:WLL)站、个人数字助理(英文全称:Personal Digital Assistant,英文简称:PDA)等设备。无线终端也可以称为系统、订户单元(Subscriber Unit)、订户站(Subscriber Station),
移动站(Mobile Station)、移动台(Mobile)、远程站(Remote Station)、接入点(Access Point)、远程终端(Remote Terminal)、接入终端(Access Terminal)、用户终端(User Terminal)、终端设备、用户代理(User Agent)、用户设备(User Device)、或用户装备(User Equipment)。
一些实施方式中,从设备还可以是手柄、遥控、三轴陀螺仪等无线配件,具体本申请不作限定。
为解决上述技术问题,本申请主要提供以下技术方案:
定义主设备在广播模式和连接模式时采用不同的2.4G频点,即在广播模式时采用的跳频信息与在连接模式时采用的跳频信息不同,并定义主设备发送广播连接请求的频点的切换周期小于从设备监听广播连接请求的频点的切换周期。
请参照图1,以下对本申请提供一种通信连接的方法进行举例说明,所述方法包括:
101、在广播模式下,主设备根据广播跳频信息和第一定时器向至少一个从设备发送广播连接请求。
其中,所述广播连接请求携带通信跳频信息,所述第一定时器在每个定时时长内所使用的频点不同。
所述广播连接请求用于目标从设备将当前使用的跳频信息设置为所述通信跳频信息,所述目标从设备是指根据所述广播跳频信息和第二定时器接收到所述广播连接请求的从设备,所述第一定时器的定时时长小于所述第二定时器的定时时长。
102、从设备根据广播跳频信息和第二定时器接收广播连接请求。
可选的,在一些实施方式中,在广播模式下,所述第一定时器的定时时长为所述主设备切换频点的周期T1,所述第二定时器的定时时长为从设备切换频点的周期T2,那么所述主设备可在T2内切换(T2/T1)-1次频点。
举例来说,预连接状态前,Host每间隔T1时长发送广播数据请求连接,T1大于或等于2ms;Device每间隔时间T2切换一次频点进行广播数据的监听接收,可设T2=3*T1,具体的T2与T1的倍数关系本申请不作限定。
103、从设备根据所述广播连接请求将当前使用的跳频信息设置为通信跳
频信息。
104、从设备向所述主设备发送广播确认响应。
由步骤102可知,可能会存在所述至少一个从设备在相同定时器内或不同的定时器内接收到主设备发送的广播连接请求,那么,这些接收到广播连接请求的从设备都需要向主设备发送广播确认响应。
一种实施方式中,从设备发送广播确认响应可采用自动应答的方式,以将主设备与从设备之间的广播连接请求的时延控制在第一定时器的定时时长内,以及将主设备与从设备之间的交互数据的发送时延控制在第一定时器的定时时长内。例如,主设备采针对广播调频信息中的频点的跳频间隔(即第一定时器的定时时长)为2毫秒(英文全称:millisecond,英文简称:ms),每个从设备都采用自动应答包的方式,那么从设备在接收到主设备发送的广播连接请求后,则会在一定的时间范围内向主设备返回广播应答响应;例如在40-150微秒(英文全称:microsecond,英文简称:us)之间返回;或者,从设备在接收到主设备发送的数据请求后,则会在一定的时间范围内向主设备返回广播应答响应;例如在40-150us之间返回。可见,通过这种自动应答的方式反馈主设备,能够保障主设备与从设备之间的每次广播连接时延控制在2ms内,另外,也能将主设备与从设备之间的每次双向交互数据的发送时间时延控制在2ms内。换句话来说,就是通过这种自动应答的方式,能够保证每一次双向传输在2ms内完成,如果不能在本次2ms内完成双向传输,那么就可在这个2ms内重新建立广播连接,然后,在下一个切换频点的2ms内进行依次双向传输。
105、所述主设备接收到至少一个目标从设备发送的广播确认响应。
可选的,在一些发明实施例中,在主设备与从设备建立通信连接后,从设备便获知主设备当前进行广播使用的广播跳频信息和第一定时器,那么为了保证二者通信连接后,双方能够正常通信,对于接收到所述广播连接请求的从设备而言,还需要根据上述广播连接请求,将当前使用的第二定时器设置为所述第一定时器,这样就可以保证从设备与主设备跳频一致,也就是说,在二者通信连接后,从设备和主设备都是按照第一定时器来跳频。
106、所述主设备根据所述第一定时器和所述通信跳频信息,向发送广播确认响应的至少一个从设备发送连接请求,与发送广播确认响应的至少一个从设备建立通信连接。
107、所述从设备接收连接请求,且所述从设备根据所述连接请求与所述主设备建立通信连接。
需要说明的是,本申请步骤102-步骤106中的从设备均是指根据所述广播跳频信息和第二定时器接收到所述主设备发送的广播连接请求的从设备,至于每个从设备是否是在同一个频点或相同的定时器内接收到主设备发送的广播连接请求,本申请不作限定,仅仅是为了便于表述,针对每一个接收到根据所述广播跳频信息和第二定时器接收到所述主设备发送的广播连接请求的从设备,都可执行本申请中的从设备所执行的操作,具体本申请均不再赘述。
相较于现有机制,本发明实施例中,主设备根据广播跳频信息和第一定时器向至少一个从设备发送携带通信跳频信息的广播连接请求,所述第一定时器在每个定时时长内所使用的频点不同,也就是根据第一定时器来切换频点;由于目标从设备是根据所述广播跳频信息和第二定时器去接收所述广播连接请求,所以能够将从设备成功接收广播连接请求的时间限定在第二定时器内,这样可以保证从设备在第二定时器的定时时长内覆盖这期间主设备所有的广播连接请求,将当前使用的跳频信息设置为所述通信跳频信息。所述主设备接收到至少一个从设备发送的广播确认响应后,即可根据所述第一定时器和所述通信跳频信息,向发送广播确认响应的至少一个从设备发送连接请求,与发送广播确认响应的至少一个从设备建立通信连接。由此可见,通过采用本方案,能够有效的减少建立通信连接的时长,也能简化建立通信连接的复杂度。
一方面,将主设备发送广播连接请求的第一定时器和从设备接收广播连接请求的第二定时器设置为不同,在从设备接收主设备的广播连接请求期间,从设备与主设备还未建立通信连接,而从设备暂时不知道主设备当前发送广播连接请求所使用的广播跳频信息,所以为了保证从设备能够与主设备建立
通信连接,从设备需要经过至少一次尝试与主设备对频成功后,即可正确接收主设备发送的广播数据,然后再根据广播数据中携带的通信跳频信息来与主设备进行数据交互。
另一方面,将主设备发送广播连接请求的第一定时器和从设备接收广播连接请求的第二定时器设置为不同,可以减少从设备由于高频的监听所带来的功耗。具体来说,从设备在第二定时器的定时时长T2内监听主设备发送的广播连接请求,这样保障可以覆盖主设备在第二定时器的定时时长T2内所切换的所有用于发送广播连接请求的频点,若在第二定时器的定时时长T2内未成功对频,那么在未对频成功的从设备侧,第二定时器重新定时,从设备继续监听第二定时器的定时时长T2内主设备切换的频点,直到对频成功。
举例来说,如图2所示的跳频时序控制图,图2中,Host TX channel一行表示主设备(Host)的发射通道的跳频时序控制示意图,每个阴影方框表示一个时间区间,Device Rx channel一行则表示从设备(Device)的接收通道的跳频时序控制示意图,Host每2ms跳一次频点,Device在与Host对频过程中每2ms跳一次频点。Device在d2对应的6ms时间区间开始进行广播连接请求的射频接收,Device在d2内未能与host成功对频,则会继续进入下一个6ms(例如图2中的d3对应下一个6ms的一部分时长,在d3结束时将定时器由6ms切换到2ms)进行广播连接请求的射频接收,而Host在d1时间区间启动广播连接请求的射频发送。
具体来说,图2中,Device在d2结束后进入d3时间区间继续进行广播连接请求的射频接收,在d3结束期间,将6ms定时器改为2ms定时器(对应图2中的c1时间区间)向Host返回连接确认应答,同时Host在d3时间区间接收到Device返回的连接确认应答,然后在c1时间区间内向Device发送连接建立请求,同时,Device在c1时间区间内接收Host发送的连接建立请求后,在100us内自动应答Host,最后Device在c1时间区间内,Device与host建立连接状态,表明二者已经成功建立通信连接,二者可以进行交互了。可见图2中,Device端只进行了2次跳频,就和Host完成对频。
可选的,在一些发明实施例中,在与发送广播确认响应的至少一个从设备建立通信连接之后,所述主设备和建立通信连接的各从设备还可使用所述通信跳频信息和所述第一定时器进行交互。
可选的,在一些发明实施例中,考虑到在主设备的辐射范围内,每个从设备与主设备建立通信连接的时间不同,可能会存在以下情况:
A、部分从设备与主设备已建立通信连接;
B、部分从设备正在与主设备建立通信连接;
C、部分从设备依然未收到主设备发送的广播连接请求。
那么,主设备与未连接的从设备之间的广播连接,会对主设备与已连接的从设备的交互造成干扰;或者,主设备与已连接的从设备的交互,会对主设备与未连接的从设备之间的广播连接造成干扰。为减少此类干扰,本申请中还可设置:
对于主设备而言:
所述主设备当前发送广播连接请求所使用的第一频点与第二频点不同,所述第二频点是指所述主设备和从设备当前交互所使用的频点,具体可通过设置广播频点信息和通信频点信息来达到这个目的。可见,主设备广播时采用的频点,与连接后交互时所采用的频点不同,这样就可以避免周围已与主设备建立通信连接的从设备的数据传输,会影响那些未与主设备连接的从设备长时间内无法与主设备建立通信连接,或者导致建立通信连接的时间拉长。由此可见,一方面中,本申请通过设置第一频点与第二频点不同,则可保障每个从设备都能够快速与主设备建立通信连接。
另一方面中,本申请还能够实现在相同空间环境内,可以同时存在多个这样的通信系统,例如同时存在:主设备与从设备交互的通信系统、主设备与从设备进行广播连接的通信系统。
对于从设备而言:
可设置所述从设备当前接收广播连接请求所使用的第三频点与第四频点不同,所述第四频点是指所述从设备和所述主设备当前交互所使用的频点。
这样设置可以保证正在与主设备进行交互的从设备,与正在与主设备进行对频的从设备互不干扰,进而实现多个通信系统共存。
可选的,在一些发明实施例中,所述通信跳频信息所包括的频点数目大于所述广播跳频信息所包括的频点数目。
可选的,在一些发明实施例中,还可设定超时机制,即使主设备未接收到从设备反馈的广播确认响应,主设备也会进入下一次的第一定时器内的广播连接请求的发送流程,或者,即使主设备未接收到从设备反馈的数据请求响应,主设备也会进入下一次的第一定时器内的数据请求的发送流程。其中,超时机制是指接收方的接收应答超时,例如接收广播连接请求或者数据请求的从设备,或者接收数据请求的主设备,又或者接收从设备发送交互数据的主设备。并且本申请中的第一定时器每在定时结束后,就会重新开始一次定时,定时时长可固定,也可动态更改,具体本申请不作限定。
此外,在第一定时器的定时期间,若触发了定时中断,那么,也会立刻重新启动一次定时。由此可见,本申请中,通过第一定时器的定时,能够保障主设备与从设备通过在至少一个第一定时器的定时时长内的跳频实现同步,也就是实现对频。并且,可保证对频成功后,主设备与从设备能够同一时间在同一频点进行交互。
可选的,在一些发明实施例中,还可针对从设备设置一个超时机制,具体来说,在所述根据所述连接请求与所述主设备建立通信连接之后,若所述从设备在预设时长内未接收到所述主设备发送的连接请求时,那么,该从设备则可使用所述第二定时器和所述广播跳频信息监听所述主设备发送的广播连接请求。
或者,在所述从设备向所述主设备发送广播确认响应之后,若所述从设备在预设时长内未接收到所述主设备发送的连接请求时,那么该从设备则可使用所述第二定时器和所述广播跳频信息监听所述主设备发送的广播连接请求。
为便于理解,下面以一具体的应用场景对本申请的通信连接的方法进行举例说明,通信系统可由一个主设备(Host)、多个从设备(Device)组成,Host
和Device基于2.4G无线射频芯片进行交互。下面以主设备为Dongle,以从设备为手柄和Camera为例。参考图3,Dongle为host,手柄1、手柄2和Camera都为Device。其中,Dongle可为电子狗或接收器,其可将待发送的数据通过数据线(USB)输出到手机或者PC,Camera用于图像捕捉,其可对手柄1、手柄2和Dongle进行光学定位,手柄1和手柄2则可用于运算用户的手势姿态角。其中,姿态角包括偏航角、俯仰角和横滚角。
Dongle与手柄1、手柄2、Camera之间的传输模式主要分为广播模式和连接模式。其中,广播模式和连接模式使用不同的2.4G频点,为保障低延时,射频调制速率使用2Mbps,广播模式和连接模式使用不同的跳频序列,例如可设广播模式使用3个频点做跳频序列,连接模式使用12个频点做跳频序列。
在广播模式下:
Host端与Device端未建立连接,只进行广播数据的收发。在Host进行广播时,Host启动2ms的定时器,Host可每2ms切换一次频点。相应的,Device启动6ms的定时器,每6ms切换一次频点。那么,Host可在6ms内切换2次频点,Device可在6ms内监听Host使用的3个频点。
下面对图4所示的Host端与Device端之间的广播连接建立过程和数据收发过程分别进行说明:
401、Host每间隔2ms向Device发送一次广播数据,每2ms切换一次跳频序列中的频点。
402、Device每间隔6ms切换一次频点,进行广播数据的监听和接收。
403、Device接收到广播数据后,在100us内向Host反馈广播确认响应,且进入预连接状态。
404、Host端接收到广播确认响应,进入预连接状态,向Device发送连接请求。
406、Device接收到连接请求,100us内向Host反馈连接确认响应,然后进入连接状态。
407、Host端接收到连接确认响应,进入连接状态,与Device建立通信连接。
由于Device持续在6ms内不切换频点去监听Host的广播连接请求,这样保障Device可以覆盖Host在6ms内切换的所有广播频点,即使前几个2ms内,Device与Host没有完成对频,在6ms内,Device也会继续监听后面的每个2ms内的频点,这样能够保障Device端最多跳频几次(图4中为最多2次)就能和Host对频上。
连接模式下,主设备与从设备依旧基于2ms的定时器进行交互:
主设备向从设备请求数据的过程如图5-1所示,具体包括:
501-1、主设备每隔2ms发送一次数据请求,并且每隔2ms跳一次频点。
502-1、从设备每隔2ms跳一次频点去监听主设备的数据请求。
503-1、从设备在监听到主设备的数据请求后,在100us内反馈数据至主设备,并进入数据发送状态。
504-1、主设备接收从设备反馈的数据。
主设备向从设备发送数据的过程如下:
505-1、主设备每隔2ms发送一次数据,并且每隔2ms跳一次频点。
506-1、从设备每隔2ms跳一次频点去监听主设备的数据。
507-1、从设备在接收到主设备的数据后,在100us内反馈数据确认响应至主设备,并进入数据接收状态。
508-1、主设备接收从设备反馈的数据确认响应。
相应的,从设备向主设备请求数据的过程如下如图5-2所示,具体包括:
501-2、从设备每隔2ms发送一次数据请求,并且每隔2ms跳一次频点。
502-2、主设备每隔2ms跳一次频点去监听主设备的数据请求。
503-2、主设备在监听到从设备的数据请求后,在100us内反馈数据至从设备,并进入数据发送状态。
504-2、从设备接收主设备反馈的数据。
从设备向主设备发送数据的过程如下:
505-2、从设备每隔2ms发送一次数据,并且每隔2ms跳一次频点。
506-2、主设备每隔2ms跳一次频点去监听从设备的数据。
507-2、主设备在接收到从设备的数据后,在100us内反馈数据确认响应
至从设备,并进入数据接收状态。
508-2、从设备接收主设备反馈的数据确认响应。
下面分别针对Host和Device在广播模式和连接模式下的数据收发、定时器设置等分别进行说明。对于Host,如图5所示,Host上电初始化后,启动射频收发,并启动用于发送广播连接请求的2ms定时器。当2ms定时结束时,Host跳一次频点(即设置新的频点)发送广播连接请求,当收到Device反馈的请求应答时,就标识反馈请求应答的Device进入预连接状态,并将当前使用的广播跳频序列设置为连接跳频序列,若未接收到请求应答,则重新启动2ms定时器。在2ms定时时间到时,Host向预连接状态的Device发送连接建立请求,若Host接收到Device反馈的连接确认应答,则标识反馈连接确认应答的Device进入连接状态,Host可与之进行交互。
若Host未接收到Device反馈的连接确认应答,则判断是否超时,若未超时,则重新启动2ms定时器;若超时,则标识该未在2ms内反馈连接确认应答的Device进入广播状态。
在交互过程中,Host和Device均启动2ms定时器,host在定时器定时开始后向Device发送数据/请求,若接收到Device反馈的应答(包括数据确认应答或数据),则重新启动2ms定时器,进行下一轮的交互。若未接收到Device反馈的应答(包括数据确认应答或数据),则判断是否超时,若未超时,则重新启动2ms定时器,进入下一轮的交互;若超时,则标识该未在2ms内反馈连接确认应答的Device进入广播状态。
若Host未接收到Device反馈的连接确认应答,则判断是否超时,若未超时,则重新启动2ms定时器;若超时,则标识该未在2ms内反馈连接确认应答的Device进入广播状态。
对于Device,如图6所示,Device上电初始化后,启动射频收发,并启动用于监听广播连接请求的6ms定时器。当6ms定时结束时,Device跳一次频点(即设置新的频点)继续监听广播连接请求,当收到Host发送的广播连接请求后,Device进入预连接状态,并将当前使用的广播跳频序列设置为连
接跳频序列,以及将当前的6ms定时器设置为2ms定时器。若未接收到Host发送的广播连接请求,则重新启动6ms定时器,继续监听Host发送的广播连接请求。
Device启动监听Host发送的连接建立请求的流程:Device启动2ms定时器,在2ms定时时间到时,切换监听连接建立请求的频点。当接收到连接建立请求后,Device进入连接状态,此后可与Host进行交互。
若Device未收到连接建立请求,则判断是否超时,若未超时,则重新启动2ms定时器,继续进行监听Host发送的连接建立请求的流程;若超时,则Device进入广播状态,并将跳频序列设置为广播跳频序列,将2ms定时器设置为6ms定时器。
若Device在2ms内接收到Host发送的数据/请求,则响应接收到的请求,向Host发送应答/数据,在2ms定时结束后,重新启动2ms定时器,继续监听Host发送的数据/请求,进行下一轮的交互。
在交互过程中,Host和Device均启动2ms定时器,若Device未接收到Host发送的数据/请求,则判断是否超时,若未超时,则重新启动2ms定时器,进入下一轮的交互;若超时,则Device进入广播状态,并将跳频序列设置为广播跳频序列,将2ms定时器设置为6ms定时器。
由图5和图6所对应的实施例可知,相较于传统的基于wifi的连接建立过程,本申请不需要复杂的连接协议,也不需要繁琐的操作步骤,相较于现有机制,本申请有效的简化连接步骤和缩短连接建立的时长。
上述图1-图6所描述的任意实施例中的第一定时器、第二定时器、广播调频信息、通信调频信息、预连接状态、连接状态等特征也同样适用于本申请中的图4和图5所对应的实施例,后续类似之处不再赘述。
以上对本申请中一种通信连接的方法进行说明,以下对执行上述通信连接的方法的主设备、从设备和通信系统进行描述。
一、参照图7,对主设备70进行说明,主设备70包括收发模块701和处理模块702,所述处理模块702用于控制所述收发模块701的收发操作;
所述收发模块701,用于根据广播跳频信息和第一定时器向至少一个从设
备发送广播连接请求,所述广播连接请求携带通信跳频信息,所述第一定时器在每个定时时长内所使用的频点不同;
所述广播连接请求用于根据所述广播跳频信息和第二定时器接收到所述广播连接请求的从设备将当前使用的跳频信息设置为所述通信跳频信息,所述第一定时器的定时时长小于所述第二定时器的定时时长;
所述处理模块702,用于在通过所述收发模块701接收到至少一个从设备发送的广播确认响应后,根据所述第一定时器和所述通信跳频信息,通过所述收发模块701向发送广播确认响应的至少一个从设备发送连接请求,与发送广播确认响应的至少一个从设备建立通信连接。
可选的,在一些发明实施例中,所述广播连接请求还用于接收到所述广播连接请求的从设备将当前使用的第二定时器设置为所述第一定时器。
可选的,在一些发明实施例中,所述处理模块702在与发送广播确认响应的至少一个从设备建立通信连接之后,所述处理模块702还用于:
使用所述通信跳频信息和所述第一定时器,通过所述收发模块701与连接成功的从设备进行交互。
可选的,在一些发明实施例中,所述主设备当前发送广播连接请求所使用的第一频点与第二频点不同,所述第二频点是指所述主设备和从设备当前交互所使用的频点。
可选的,在一些发明实施例中,在广播模式下,所述第一定时器的定时时长为所述主设备切换频点的周期T1,所述第二定时器的定时时长为从设备切换频点的周期T2,所述主设备在T2内切换T2/T1次频点。
可选的,在一些发明实施例中,所述通信跳频信息所包括的频点数目大于所述广播跳频信息所包括的频点数目。
二、参照图8,对从设备80进行说明,所述从设备80包括包括收发模块801和处理模块802,所述处理模块802用于控制所述收发模块801的收发操作;
所述收发模块801,用于根据广播跳频信息和第二定时器接收广播连接请求,所述广播连接请求是指主设备根据所述广播跳频信息和第一定时器发送
的请求,所述广播连接请求携带通信跳频信息,所述第一定时器的定时时长小于所述第二定时器的定时时长;
所述处理模块802,用于根据所述广播连接请求将当前使用的跳频信息设置为所述通信跳频信息;
通过所述收发模块801向所述主设备发送广播确认响应;
通过所述收发模块801接收连接请求,所述连接请求是指所述主设备在接收到所述广播确认响应后根据所述第一定时器和所述通信跳频信息发送的请求,根据所述连接请求与所述主设备建立通信连接。
可选的,在一些发明实施例中,所述处理模块802在所述所述收发模块根据广播跳频信息和第二定时器接收广播连接请求之后,还用于:
根据所述广播连接请求将当前使用的所述第二定时器设置为所述第一定时器。
可选的,在一些发明实施例中,所述处理模块802在所述根据所述连接请求与所述主设备建立通信连接之后,还用于:
使用所述通信跳频信息和所述第一定时器,通过所述收发模块801与所述主设备进行交互。
可选的,在一些发明实施例中,所述从设备当前接收广播连接请求所使用的第三频点与第四频点不同,所述第四频点是指所述从设备和所述主设备当前交互所使用的频点。
可选的,在一些发明实施例中,在所述根据所述连接请求与所述主设备建立通信连接之后,所述收发模块801还用于:
所述从设备在预设时长内未接收到所述主设备发送的连接请求时,使用所述第二定时器和所述广播跳频信息监听所述主设备发送的广播连接请求。
可选的,在一些发明实施例中,在所述从设备向所述主设备发送广播确认响应之后,所述收发模块801还用于:
所述从设备在预设时长内未接收到所述主设备发送的连接请求时,使用所述第二定时器和所述广播跳频信息监听所述主设备发送的广播连接请求。
三、参照图9,对通信系统90进行说明,所述通信系统90包括包括图7所示的主设备和图8所示的从设备。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。
所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从
一个计算机可读存储介质向另一计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。
以上对本申请所提供的技术方案进行了详细介绍,本申请中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。
Claims (16)
- 一种通信连接的方法,其特征在于,所述方法包括:主设备根据主设备的广播跳频信息和第一定时器向至少一个从设备发送广播连接请求,其中所述广播连接请求携带通信跳频信息,所述第一定时器在每个定时时长内所使用的频点不同;所述广播连接请求用于目标从设备将当前使用的跳频信息设置为所述通信跳频信息,所述目标从设备是指根据所述广播跳频信息和第二定时器接收到所述广播连接请求的从设备,所述第一定时器的定时时长小于所述第二定时器的定时时长;所述主设备接收到所述至少一个从设备发送的广播确认响应后,根据所述第一定时器和所述通信跳频信息,向发送广播确认响应的至少一个从设备发送连接请求;所述主设备与发送广播确认响应的至少一个从设备建立通信连接。
- 根据权利要求1所述的方法,其特征在于,所述广播连接请求还用于所述目标从设备将当前使用的第二定时器设置为所述第一定时器。
- 根据权利要求2所述的方法,其特征在于,在与发送广播确认响应的至少一个从设备建立通信连接之后,所述方法还包括:所述主设备使用所述通信跳频信息和所述第一定时器与连接成功的从设备进行交互。
- 根据权利要求1-3任一所述的方法,其特征在于,所述主设备当前发送广播连接请求所使用的第一频点与第二频点不同,所述第二频点是指所述主设备和从设备当前交互所使用的频点。
- 根据权利要求4所述的方法,其特征在于,在广播模式下,所述第一定时器的定时时长为所述主设备切换频点的周期T1,所述第二定时器的定时时长为从设备切换频点的周期T2,所述主设备在T2内切换T2/T1次频点。
- 一种通信连接的方法,其特征在于,所述方法包括:从设备根据广播跳频信息和第二定时器接收广播连接请求,所述广播连接请求是指主设备根据所述广播跳频信息和第一定时器发送的请求,所述广播连接请求携带通信跳频信息,所述第一定时器的定时时长小于所述第二定时器的定时时长;所述从设备根据所述广播连接请求将当前使用的跳频信息设置为所述通信跳频信息;所述从设备向所述主设备发送广播确认响应;所述从设备接收连接请求,所述连接请求是指所述主设备在接收到所述广播确认响应后根据所述第一定时器和所述通信跳频信息发送的请求,根据所述连接请求与所述主设备建立通信连接。
- 根据权利要求6所述的方法,其特征在于,在所述从设备根据广播跳频信息和第二定时器接收广播连接请求之后,所述方法还包括:所述从设备根据所述广播连接请求将当前使用的所述第二定时器设置为所述第一定时器。
- 根据权利要求7所述的方法,其特征在于,在所述根据所述连接请求与所述主设备建立通信连接之后,所述方法还包括:所述从设备使用所述通信跳频信息和所述第一定时器与所述主设备进行交互。
- 根据权利要求6-8任一所述的方法,其特征在于,在所述根据所述连接请求与所述主设备建立通信连接之后,所述方法还包括:所述从设备在预设时长内未接收到所述主设备发送的连接请求时,使用所述第二定时器和所述广播跳频信息监听所述主设备发送的广播连接请求。
- 一种主设备,其特征在于,所述主设备包括收发模块和处理模块,所述处理模块用于控制所述收发模块的收发操作;所述收发模块,用于根据广播跳频信息和第一定时器向至少一个从设备发送广播连接请求,所述广播连接请求携带通信跳频信息,所述第一定时器在每个定时时长内所使用的频点不同;所述广播连接请求用于目标从设备将当前使用的跳频信息设置为所述通信跳频信息,所述从设备是指根据所述广播跳频信息和第二定时器接收到所述广播连接请求的从设备,所述第一定时器的定时时长小于所述第二定时器的定时时长;所述处理模块,用于在通过所述收发模块接收到至少一个从设备发送的广播确认响应后,根据所述第一定时器和所述通信跳频信息,通过所述收发 模块向发送广播确认响应的至少一个从设备发送连接请求,与发送广播确认响应的至少一个从设备建立通信连接。
- 根据权利要求10所述的主设备,其特征在于,所述广播连接请求还用于所述目标从设备将当前使用的第二定时器设置为所述第一定时器。
- 根据权利要求11所述的主设备,其特征在于,所述处理模块在与发送广播确认响应的至少一个从设备建立通信连接之后,所述处理模块还用于:使用所述通信跳频信息和所述第一定时器,通过所述收发模块与连接成功的从设备进行交互。
- 根据权利要求10-12任一所述的主设备,其特征在于,所述主设备当前发送广播连接请求所使用的第一频点与第二频点不同,所述第二频点是指所述主设备和从设备当前交互所使用的频点。
- 一种从设备,其特征在于,所述从设备包括包括收发模块和处理模块,所述处理模块用于控制所述收发模块的收发操作;所述收发模块,用于根据广播跳频信息和第二定时器接收广播连接请求,所述广播连接请求是指主设备根据所述广播跳频信息和第一定时器发送的请求,所述广播连接请求携带通信跳频信息,所述第一定时器的定时时长小于所述第二定时器的定时时长;所述处理模块,用于根据所述广播连接请求将当前使用的跳频信息设置为所述通信跳频信息;通过所述收发模块向所述主设备发送广播确认响应;通过所述收发模块接收连接请求,所述连接请求是指所述主设备在接收到所述广播确认响应后根据所述第一定时器和所述通信跳频信息发送的请求,根据所述连接请求与所述主设备建立通信连接。
- 根据权利要求14所述的从设备,其特征在于,所述处理模块在所述所述收发模块根据广播跳频信息和第二定时器接收广播连接请求之后,还用于:根据所述广播连接请求将当前使用的所述第二定时器设置为所述第一定时器。
- 根据权利要求15所述的从设备,其特征在于,所述处理模块在所述 根据所述连接请求与所述主设备建立通信连接之后,还用于:使用所述通信跳频信息和所述第一定时器,通过所述收发模块与所述主设备进行交互。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US16/536,346 US10785812B2 (en) | 2017-04-24 | 2019-08-09 | Method, device and system for establishing communication connection |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710271885.2 | 2017-04-24 | ||
CN201710271885.2A CN108923819B (zh) | 2017-04-24 | 2017-04-24 | 一种通信连接的方法、设备及系统 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US16/536,346 Continuation US10785812B2 (en) | 2017-04-24 | 2019-08-09 | Method, device and system for establishing communication connection |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018196222A1 true WO2018196222A1 (zh) | 2018-11-01 |
Family
ID=63919349
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/096310 WO2018196222A1 (zh) | 2017-04-24 | 2017-08-07 | 一种通信连接的方法、设备及系统 |
Country Status (3)
Country | Link |
---|---|
US (1) | US10785812B2 (zh) |
CN (1) | CN108923819B (zh) |
WO (1) | WO2018196222A1 (zh) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020133474A1 (zh) * | 2018-12-29 | 2020-07-02 | 华为技术有限公司 | 通信方法和装置 |
CN112929594B (zh) * | 2019-12-06 | 2023-08-08 | 中兴通讯股份有限公司 | 自组网级联方法、音频采集设备、会议系统、存储介质 |
CN111148087B (zh) * | 2020-01-13 | 2023-04-18 | 重庆邮电大学 | 一种服药依从性监测装置的数据通信方法及系统 |
CN111970669B (zh) * | 2020-08-17 | 2023-11-24 | 立讯电子科技(昆山)有限公司 | 一种蓝牙连接方法、装置及蓝牙设备 |
CN112291831B (zh) * | 2020-10-28 | 2023-04-04 | 深圳市启望科文技术有限公司 | 一种2.4g设备动态多频接入方法及装置 |
CN112787674B (zh) * | 2020-12-31 | 2022-04-12 | 上海移为通信技术股份有限公司 | 数据传输方法、系统、网络设备和存储介质 |
CN112888044B (zh) * | 2021-01-28 | 2023-04-25 | 南京奇元科技有限公司 | 一种设备匹配方法 |
EP4398490A1 (en) * | 2021-09-23 | 2024-07-10 | Huawei Technologies Co., Ltd. | Frequency hopping communication method for short-range wireless communication, and related device |
CN114915919B (zh) * | 2022-04-29 | 2024-02-27 | 合肥中感微电子有限公司 | 无线通信的连接方法、装置、电子设备及存储介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004038938A1 (en) * | 2002-10-24 | 2004-05-06 | Koninklijke Philips Electronics N.V. | Beacon channel for frequency hopping wireless devices |
CN101873695A (zh) * | 2009-04-22 | 2010-10-27 | 索尼公司 | 无线通信设备、无线通信系统、无线通信方法和程序 |
CN103631846A (zh) * | 2012-08-22 | 2014-03-12 | 诺基亚公司 | 利用广告来提供关于连接设立的信息的方法和装置 |
CN103796295A (zh) * | 2012-10-31 | 2014-05-14 | 西门子医疗器械公司 | 跳频无线通信中的同步接入方法以及通信设备和系统 |
CN103812535A (zh) * | 2014-02-18 | 2014-05-21 | 天地融科技股份有限公司 | 蓝牙设备连接方法和蓝牙设备 |
CN105577293A (zh) * | 2014-10-13 | 2016-05-11 | 炬芯(珠海)科技有限公司 | 一种蓝牙设备的测试方法、装置及系统 |
Family Cites Families (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6754250B2 (en) * | 2000-12-15 | 2004-06-22 | Telefonaktiebolaget Lm Ericsson (Publ) | Networking in uncoordinated frequency hopping piconets |
EP1411686A3 (en) * | 2002-10-18 | 2006-10-11 | Samsung Electronics Co., Ltd. | Wireless communication device and method capable of connectionless broadcast |
KR101500333B1 (ko) * | 2008-09-08 | 2015-03-09 | 삼성전자주식회사 | 블루투스 통신 장치 탐색 방법 및 장치 |
CN103828456B (zh) * | 2012-08-17 | 2018-07-13 | 华为技术有限公司 | 数据发送方法和装置 |
TWI533741B (zh) * | 2014-01-23 | 2016-05-11 | 瑞昱半導體股份有限公司 | 支援點對點連線之無線通訊裝置與方法 |
US9918213B2 (en) * | 2014-05-07 | 2018-03-13 | DewMobile Inc. | Discovery and networking of proximate wireless devices by acoustic messaging |
KR101910067B1 (ko) * | 2014-07-03 | 2018-10-22 | 엘지전자 주식회사 | 블루투스 통신을 지원하는 무선 통신 시스템에서 오디오 데이터를 송수신하기 위한 방법 및 이를 위한 장치 |
KR102397285B1 (ko) * | 2014-07-31 | 2022-05-12 | 엘지전자 주식회사 | 블루투스 통신을 지원하는 무선 통신 시스템에서 전자기기를 제어하기 위한 방법 및 장치 |
WO2016017908A1 (ko) * | 2014-07-31 | 2016-02-04 | 엘지전자(주) | 블루투스 통신을 지원하는 무선 통신 시스템에서 전자기기를 제어하기 위한 방법 및 장치 |
WO2016182404A1 (ko) * | 2015-05-14 | 2016-11-17 | 엘지전자(주) | 블루투스 저전력 에너지 기술을 이용하여 대체 통신 수단을 연결하기 위한 방법 및 장치 |
US9998930B2 (en) * | 2015-05-15 | 2018-06-12 | Qualcomm Incorporated | Anchor assisted communication channel hopping |
CN105099924B (zh) * | 2015-06-30 | 2018-04-20 | 新华三技术有限公司 | 基于路由信息协议的路由更新方法和设备 |
CN106488460B (zh) * | 2015-08-28 | 2020-06-23 | 苏州恩泽迅扬节能科技有限公司 | 无线通信方法及其对应的主设备、从设备和无线通信系统 |
CN111343615B (zh) * | 2016-07-20 | 2024-04-09 | 华为技术有限公司 | 短距离通信的方法和设备 |
WO2018062370A1 (ja) * | 2016-09-30 | 2018-04-05 | 京セラ株式会社 | 移動通信システム |
-
2017
- 2017-04-24 CN CN201710271885.2A patent/CN108923819B/zh active Active
- 2017-08-07 WO PCT/CN2017/096310 patent/WO2018196222A1/zh active Application Filing
-
2019
- 2019-08-09 US US16/536,346 patent/US10785812B2/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004038938A1 (en) * | 2002-10-24 | 2004-05-06 | Koninklijke Philips Electronics N.V. | Beacon channel for frequency hopping wireless devices |
CN101873695A (zh) * | 2009-04-22 | 2010-10-27 | 索尼公司 | 无线通信设备、无线通信系统、无线通信方法和程序 |
CN103631846A (zh) * | 2012-08-22 | 2014-03-12 | 诺基亚公司 | 利用广告来提供关于连接设立的信息的方法和装置 |
CN103796295A (zh) * | 2012-10-31 | 2014-05-14 | 西门子医疗器械公司 | 跳频无线通信中的同步接入方法以及通信设备和系统 |
CN103812535A (zh) * | 2014-02-18 | 2014-05-21 | 天地融科技股份有限公司 | 蓝牙设备连接方法和蓝牙设备 |
CN105577293A (zh) * | 2014-10-13 | 2016-05-11 | 炬芯(珠海)科技有限公司 | 一种蓝牙设备的测试方法、装置及系统 |
Also Published As
Publication number | Publication date |
---|---|
US10785812B2 (en) | 2020-09-22 |
CN108923819B (zh) | 2020-04-21 |
CN108923819A (zh) | 2018-11-30 |
US20190364609A1 (en) | 2019-11-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018196222A1 (zh) | 一种通信连接的方法、设备及系统 | |
US10904832B2 (en) | Wireless system, wireless device, non-transitory computer-readable storage medium having stored therein communication program, and communication method | |
US20190239061A1 (en) | Wireless system, wireless device, non-transitory computer-readable storage medium having stored therein communication program, and communication method | |
TWI617919B (zh) | 用於促進無線對接系統中的直接配對的設備和方法 | |
CN110383767B (zh) | 基于同步链路的拓扑切换方法、装置、系统及存储介质 | |
US20150341976A1 (en) | Apparatus and method for connecting to device in wireless terminal | |
CN111556475B (zh) | 蓝牙tws设备及其主、从设备和设备间的数据传输方法 | |
JP5964737B2 (ja) | 通信端末 | |
WO2019015427A1 (zh) | 一种数据传输方法、装置、终端及计算机可读存储介质 | |
EP4258710A1 (en) | Method for transmitting data in near field, device and system | |
JP2016519869A (ja) | Ieee802.11高速セッション転送をサポートするためのマルチプロトコルドライバ | |
US20150038084A1 (en) | Reduced radiation mobile phone usage via a combined wired and a wireless communication system based on roaming hot backup | |
EP3550787B1 (en) | Device connection method and terminal | |
US20200336958A1 (en) | Audio synchronization during handover | |
CN109640304B (zh) | 提高低功耗蓝牙连接稳定性的方法 | |
US10827403B2 (en) | Data transmission method, user equipment, base station, and system | |
WO2019165983A1 (zh) | 一种蓝牙传输控制方法、控制系统及存储介质 | |
US10356666B2 (en) | Communication device and communication control method | |
JP5294416B2 (ja) | リモコン制御システムおよびリモコン制御方法 | |
JP6970578B2 (ja) | 通信装置およびその制御方法、プログラム | |
JP2018521549A (ja) | 逆方向チャネルオーディオセッションを管理するための技法 | |
WO2023000335A1 (zh) | 资源处理的方法、终端设备、网络设备及存储介质 | |
WO2018170861A1 (zh) | 随机接入的方法、终端和网络设备 | |
CN114222369A (zh) | 组网通信方法、装置及系统 | |
CN110913378B (zh) | 基于触发的即时通信的操作优化 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17907016 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 03/04/2020) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17907016 Country of ref document: EP Kind code of ref document: A1 |