Method for Establishing an SLB Connection, Electronic Device, and Communication System

By utilizing SLE access technology to transmit information for rapid SLB connection establishment, the complexity and duration of high-bandwidth SLB connections are reduced, improving user experience.

JP7712486B2Active Publication Date: 2025-07-23HUAWEI TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2024523563
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-10-22
Filing Date
2022-08-24
Publication Date
2025-07-23
Estimated Expiration
2042-08-24

AI Technical Summary

Technical Problem

The process of establishing an SLB connection is complex and time-consuming, degrading user experience due to the high-bandwidth requirements of electronic devices.

Method used

The method involves sending first and second information using SLE access technology to accelerate the SLB connection process, allowing the second device to quickly establish an SLB connection with the first device based on this information using SLB access technology, thereby simplifying and shortening the connection time.

Benefits of technology

This approach reduces the time required for establishing an SLB connection by improving the efficiency of information reception and synchronization, enhancing user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007712486000008
    Figure 0007712486000008
  • Figure 0007712486000009
    Figure 0007712486000009
  • Figure 0007712486000010
    Figure 0007712486000010
Patent Text Reader

Abstract

The embodiments of the present application provide a method, an electronic device, and a communication system for establishing an SLB connection, and relate to the field of communication technology. The method relates to a first device and a second device, the first device is an authorized node device, the second device is a terminal node device, and both the first device and the second device support communication using Sparklink Basic SLB access technology and Sparklink Low Energy SLE access technology. The method includes: the first device sends first information to the second device using the SLE access technology, and sends second information to the second device using the SLB access technology. The second device establishes an SLB connection with the first device based on the first information and the second information using the SLB access technology. In the technical solution provided in the embodiments of the present application, the first device and the second device can quickly establish an SLB connection, and thus the user experience is good.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of communication technologies, and in particular, to a method for establishing an SLB connection, an electronic device, and a communication system.

Background Art

[0002] This application claims priority to Chinese Patent Application No. 202111234162.8, titled "METHOD FOR ESTABLISHING SLB CONNECTION, ELECTRONIC DEVICE, AND COMMUNICATION SYSTEM", filed with the China National Intellectual Property Administration on October 22, 2021, which is incorporated herein by reference in its entirety.

[0003] Currently, the SparkLink Alliance provides a short-range wireless communication protocol architecture. The short-range wireless access technologies enabled by this protocol architecture include the SparkLink-Basic (SLB) access technology and the SparkLink-Low Energy (SLE) access technology. The SLB access technology supports high-bandwidth data transmission capabilities. When an electronic device has high-bandwidth service requirements (such as high-definition video projection requirements), the electronic device typically establishes an SLB connection with a peer device by processing the corresponding service using the SLB access technology. However, the process of establishing an SLB connection is complex and therefore takes a long time. This degrades the user experience.

Summary of the Invention

[0004] The present application provides a method for establishing an SLB connection, an electronic device, and a communication system to solve the problem of the prior art that the process of establishing an SLB connection is complex, time-consuming, and degrades the user experience.

[0005] To achieve the above object, in the present application, the following technical solutions are used.

[0006] According to a first aspect, an embodiment of the present application is a method for establishing an SLB connection applied to a first device and a second device, where the first device is an authorized node device, the second device is a terminal node device, and both the first device and the second device support communication using SLB access technology and SLE access technology. This method includes the following. That is, the first device sends first information to the second device using SLE access technology. The first device sends second information to the second device using SLB access technology. The second device establishes an SLB connection with the first device based on the first information and the second information using SLB access technology.

[0007] In this embodiment, the first information is related parameters or related information used to accelerate the establishment of an SLB connection between the first device and the second device. After the first device sends the first information to the second device using SLE access technology, the second device can quickly establish an SLB connection with the first device based on the first information and the second information using SLB access technology. Thereby, the process of establishing an SLB connection can be simplified, and the period for establishing an SLB connection can be shortened.

[0008] In some embodiments, the first device sending the first information to the second device using SLE access technology includes the first device sending the first information to the second device via an SLE connection when an SLE connection is established between the first device and the second device, or the first device sending the first information to the second device via an SLE broadcast when an SLE connection is not established between the first device and the second device.

[0009] In the method provided in this embodiment, the second device can quickly receive the first information transmitted by the first device, shorten the period occupied by the information reception process, and improve the efficiency of the SLB connection.

[0010] In some embodiments, the first information includes at least one of the following: the broadcast frequency and bandwidth of the first device, the root index of the synchronization signal of the first device, the physical layer identifier of the first device, the authentication credentials of the first device, all or part of the content of the broadcast information of the first device, and all or part of the content of the communication domain system information of the first device. When the first information is transmitted via the SLE broadcast, the first information does not include the physical layer identifier or the authentication credentials.

[0011] In some embodiments, the second information includes the synchronization signal, the part of the broadcast information that is not included in the first information, and the part of the communication domain system information that is not included in the first information.

[0012] It should be noted that when the first information includes all the content of the broadcast information and / or all the content of the communication domain system information, the second information does not necessarily need to include the broadcast information or the communication domain system information. In other words, in the process of establishing the SLB connection, the second device does not need to receive the broadcast information and / or the communication domain system information using the SLB access technology again. This can shorten the time taken for the second device to receive information and improve the efficiency of the SLB connection.

[0013] In some embodiments, when the first information includes a broadcast frequency and a bandwidth, for the second device to establish an SLB connection with the first device based on the first information and the second information using the SLB access technology includes the following. That is, the second device receives a synchronization signal based on the broadcast frequency and the bandwidth. The second device synchronizes with the first device based on the synchronization signal. The second device receives the portion of the second information that is not included in the first information and the portion of the communication domain system information that is not included in the first information based on the broadcast frequency and the bandwidth. The second device establishes an SLB connection with the first device based on the broadcast information and the communication domain system information using the SLB access technology.

[0014] In the method provided in this embodiment, the second device receives information based on a specific broadcast frequency and a specific bandwidth, avoiding the process in which the second device searches for the broadcast frequency and determines an appropriate reception bandwidth, and can improve the efficiency of the SLB connection.

[0015] In some embodiments, when the first information includes a root index of a synchronization signal, for the second device to establish an SLB connection with the first device based on the first information and the second information using the SLB access technology includes the following. That is, the second device receives a synchronization signal based on the root index of the synchronization signal. The second device synchronizes with the first device based on the synchronization signal. The second device receives the portion of the broadcast information that is not included in the first information and the portion of the communication domain system information that is not included in the first information. The second device establishes an SLB connection with the first device based on the broadcast information and the communication domain system information using the SLB access technology.

[0016] In some embodiments, the synchronization signal includes a first training signal FTS and a second training signal STS, the route index of the synchronization signal includes an FTS route index and an STS route index, and the second device receiving the synchronization signal based on the route index of the synchronization signal includes the second device receiving the FTS based on the FTS route index and receiving the STS based on the STS route index.

[0017] In the method provided in this embodiment of the present application, when the second device receives the synchronization signal, a long process of performing blind detection on the received signal using the route index of the synchronization signal to determine the synchronization signal is avoided. Thereby, the efficiency of receiving the synchronization signal can be improved, and thus the efficiency of the SLB connection can be improved.

[0018] In some embodiments, when the first information includes the physical layer identifier of the first device, the second device establishing an SLB connection with the first device based on the first information and the second information using the SLB access technology includes the following. That is, the second device receives the synchronization signal. The second device synchronizes with the first device based on the synchronization signal. The second device receives the part not included in the first information among the broadcast information and the part not included in the first information among the communication domain system information. The second device establishes an SLB connection with the first device in a contention-free random access mode based on the physical layer identifier, the broadcast information, and the communication domain system information.

[0019] In the method provided in this embodiment of the present application, the second device can determine the contention-free access resource information of the first device based on the physical layer identifier and perform a synchronization connection with the first device in a contention-free random access mode. In this method, the time taken for the synchronization connection process is shortened, and the efficiency of the SLB connection can be improved.

[0020] In some embodiments, when the first information includes authentication credentials, for the second device to establish an SLB connection with the first device based on the first information and the second information using the SLB access technology includes the following. That is, the second device receives a synchronization signal. The second device synchronizes with the first device based on the synchronization signal. The second device receives the part of the broadcast information that is not included in the first information and the part of the communication domain system information that is not included in the first information. The second device establishes an SLB connection with the first device based on the authentication credentials, the broadcast information, and the communication domain system information using the SLB access technology.

[0021] In the method provided in the present embodiment of the present application, after the second device establishes a synchronization connection with the first device, the pairing and authentication processes are simplified or avoided based on the authentication credentials, and the efficiency of the SLB connection can be improved.

[0022] According to a second aspect, an embodiment of the present application provides a method for establishing an SLB connection applied to a first device, where the first device supports communication using the SLB access technology and the SLE access technology. This method includes the following. That is, the first device transmits the first information to the second device using the SLE access technology. The first device transmits the second information to the second device using the SLB access technology. The first device establishes an SLB connection with the second device according to the request of the second device, where this request is transmitted by the second device based on the first information and the second information. The first device is an authorization node device, and the second device is a terminal node device.

[0023] In some embodiments, the first device transmitting the first information to the second device using the SLE access technology includes the first device transmitting the first information to the second device via the SLE connection when the SLE connection is established between the first device and the second device.

[0024] In some other embodiments, the first device transmitting the first information to the second device using the SLE access technology includes the first device transmitting the first information to the second device via the SLE broadcast when the SLE connection is not established between the first device and the second device.

[0025] In some embodiments, the first information includes at least one of the following: the broadcast frequency and bandwidth of the first device, the root index of the synchronization signal of the first device, the physical layer identifier of the first device, the authentication credentials of the first device, all or part of the content of the broadcast information of the first device, and all or part of the content of the communication domain system information of the first device. When the first information is transmitted via the SLE broadcast, the first information does not include the physical layer identifier or the authentication credentials.

[0026] In some embodiments, the second information includes the synchronization signal, the part of the broadcast information that is not included in the first information, and the part of the communication domain system information that is not included in the first information.

[0027] According to a third aspect, an embodiment of the present application provides a method for establishing an SLB connection applied to a second device, where the second device supports communication using the SLB access technology and the SLE access technology.

[0028] This method includes the following. That is, a second device receives first information transmitted by a first device using SLE access technology. The second device receives second information transmitted by the first device using SLE access technology. The second device establishes an SLB connection with the first device based on the first information and the second information using SLB access technology. The first device is an authorization node device, and the second device is a terminal node device.

[0029] In some embodiments, the second device receiving the first information transmitted by the first device using SLE access technology includes the second device receiving the first information transmitted by the first device via an SLE connection when an SLE connection is established between the first device and the second device.

[0030] In some embodiments, the second device receiving the first information transmitted by the first device using SLE access technology includes the second device receiving the first information transmitted by the first device via an SLE broadcast when an SLE connection is not established between the first device and the second device.

[0031] In some embodiments, the first information includes at least one of the following: the broadcast frequency and bandwidth of the first device, the root index of the synchronization signal of the first device, the physical layer identifier of the first device, the authentication credentials of the first device, all or part of the content of the broadcast information of the first device, and all or part of the content of the communication domain system information of the first device. When the first information is received via an SLE broadcast, the first information does not include the physical layer identifier or the authentication credentials.

[0032] In some embodiments, the second information includes a synchronization signal, a portion of the broadcast information that is not included in the first information, and a portion of the communication domain system information that is not included in the first information.

[0033] In some embodiments, when the first information includes a broadcast frequency and a bandwidth, the second device establishing an SLB connection with the first device based on the first information and the second information using the SLB access technology includes the following. That is, the second device receives a synchronization signal based on the broadcast frequency and the bandwidth. The second device synchronizes with the first device based on the synchronization signal. The second device receives a portion of the second information that is not included in the first information and a portion of the communication domain system information that is not included in the first information based on the broadcast frequency and the bandwidth. The second device establishes an SLB connection with the first device based on the broadcast information and the communication domain system information using the SLB access technology.

[0034] In some embodiments, when the first information includes a root index of a synchronization signal, the second device establishing an SLB connection with the first device based on the first information and the second information using the SLB access technology includes the following. That is, the second device receives a synchronization signal based on the root index of the synchronization signal. The second device synchronizes with the first device based on the synchronization signal. The second device receives a portion of the broadcast information that is not included in the first information and a portion of the communication domain system information that is not included in the first information. The second device establishes an SLB connection with the first device based on the broadcast information and the communication domain system information using the SLB access technology.

[0035] In some embodiments, the synchronization signal includes a first training signal FTS and a second training signal STS, the root index of the synchronization signal includes an FTS root index and an STS root index, and the second device receiving the synchronization signal based on the root index of the synchronization signal includes the second device receiving the FTS based on the FTS root index and receiving the STS based on the STS root index.

[0036] In some embodiments, when the first information includes the physical layer identifier of the first device, the second device establishing an SLB connection with the first device based on the first information and the second information using the SLB access technology includes the following. That is, the second device receives a synchronization signal. The second device synchronizes with the first device based on the synchronization signal. The second device receives the portion of the broadcast information that is not included in the first information and the portion of the communication domain system information that is not included in the first information. The second device establishes an SLB connection with the first device in a non-contentious-based random access mode based on the physical layer identifier, the broadcast information, and the communication domain system information.

[0037] In some embodiments, when the first information includes authentication credentials, the second device establishing an SLB connection with the first device based on the first information and the second information using the SLB access technology includes the following. That is, the second device receives a synchronization signal. The second device synchronizes with the first device based on the synchronization signal. The second device receives the portion of the broadcast information that is not included in the first information and the portion of the communication domain system information that is not included in the first information. The second device establishes an SLB connection with the first device using the SLB access technology based on the authentication credentials, the broadcast information, and the communication domain system information.

[0038] According to a fourth aspect, an embodiment of the present application is a communication system including a first device and a second device, where the first device is an authorization node device, the second device is a terminal node device, and both the first device and the second device support communication using both SLB access technology and SLE access technology.

[0039] The first device is configured to transmit first information to the second device using SLE access technology and transmit second information to the second device using SLB access technology.

[0040] The second device is configured to establish an SLB connection with the first device based on the first information and the second information using SLB access technology.

[0041] According to a fifth aspect, an embodiment of the present application provides an electronic device, where this electronic device supports communication using SLB access technology and SLE access technology, this electronic device is an authorization node device, and this electronic device is configured to execute a method for establishing an SLB connection according to the second aspect.

[0042] According to a sixth aspect, an embodiment of the present application provides an electronic device, where this electronic device supports communication using SLB access technology and SLE access technology, this electronic device is a terminal node device, and this electronic device is configured to execute a method for establishing an SLB connection according to the third aspect.

[0043] According to a seventh aspect, an embodiment of the present application provides a chip, where this chip includes a processor, and the processor executes a computer program stored in a memory to implement a method for establishing an SLB connection according to the second aspect or the third aspect.

[0044] According to an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, a method for establishing an SLB connection according to the second aspect or the third aspect is implemented.

[0045] According to a ninth aspect, an embodiment of the present application provides a computer program product, where the computer program product includes a computer program, and when the computer program is executed by an electronic device, the electronic device can implement a method for establishing an SLB connection according to the second aspect or the third aspect.

[0046] Regarding the advantageous effects of the second aspect to the ninth aspect, it can be understood that the related descriptions of the first aspect can be referred to. In this specification, details will not be repeated here.

Brief Description of the Drawings

[0047]

Figure 1

Figure 2

Figure 3

Figure 4A

Figure 4B

Figure 5

Figure 6

Figure 7

Figure 8

Figure 9

Figure 10

Figure 11

Figure 12

Figure 13A

Figure 13B

Figure 13C

Figure 14

Figure 15

Figure 16

Figure 17A

Figure 17B

Figure 18

Figure 19

Figure 20A

Figure 20B

Figure 21

Figure 22

Figure 23

Mode for Carrying Out the Invention

[0048] Hereinafter, with reference to the accompanying drawings, the technical solutions provided in the embodiments of the present application will be described.

[0049] In the description of the embodiments of the present application, it should be understood that " / " indicates "or" unless otherwise specified. For example, A / B may indicate A or B. The term "and / or" in this specification only describes the relationship between related objects and indicates that three relationships may exist. For example, A and / or B may indicate the following three cases: namely, the case where only A exists, the case where both A and B exist, and the case where only B exists.

[0050] The terms "first" and "second" in the embodiments are merely intended for explanation purposes and should not be understood as indicating relative importance, or as implying relative importance, or as an implicit indication of the quantity of the technical features shown. Therefore, the features limited by "first" or "second" may explicitly or implicitly include one or more features. In the description of the embodiments, "a plurality of" means two or more unless otherwise specified.

[0051] An electronic device usually stores various applications, such as a settings application, a multi-screen collaboration application, a screen projection application, an audio application, a video application, a gallery application, a camera application, a navigation application, a map application, an email client, and a game application. During execution, each of the applications may perform short-range wireless communication with a peer device based on the short-range wireless communication protocol architecture provided in the embodiments.

[0052] FIG. 1 and FIG. 2 are diagrams of a short-range wireless communication protocol architecture according to embodiments of the present application. As shown in FIG. 1, this architecture includes a basic application layer, a basic service layer, and a SparkLink access layer (which may also be called the access layer). The basic application layer and the basic service layer may also be collectively referred to as the SparkLink upper layer. The SparkLink access layer includes an SLB module and an SLE module. The SparkLink upper layer may schedule the SLB module and the SLE module in a unified manner.

[0053] (1) Basic application layer

[0054] The basic application layer includes various general frameworks. In order to conduct communication among different devices on different platforms, the basic application layer constructs frameworks for various possible general application scenarios. For example, as shown in Figure 2, these frameworks may include general frameworks such as a basic communication framework, a general perception framework, a general video framework, a general audio framework, a general data framework, and an in-vehicle control framework. After receiving the service requirements delivered from the application, the basic application layer selects the corresponding general framework to process the corresponding service.

[0055] The basic communication framework is configured to set, for example, a device discovery / discovered mode (such as a broadcast mode or a polling mode), a filtering policy (for example, in an audio service scenario, device discovery is only performed for electronic devices that support audio devices), and a discoverability level. Further, the basic communication framework is further configured to select an SLB module and / or an SLE module for communication according to the service requirements of the application.

[0056] It should be understood that different applications usually have different service requirements, and the service requirements include an application identification (AID) and a quality of service (QoS). QoS includes bit rate, latency, sampling rate, bit width, etc. After detecting the service requirements of the application, the basic application layer can select the corresponding functional module according to the service requirements to process the service and control the basic service layer to establish a service channel, etc.

[0057] The general perception framework is configured to detect user operations, battery level information of the device, signal strength, etc. The user operations may include screen touch operations, air control gestures, voice control commands, etc. The signal strength may include SLB signal strength, SLE signal strength, etc.

[0058] The general video framework is configured to process data related to video services, such as encoding and decoding video data.

[0059] The general audio framework is configured to process data related to audio services, such as encoding and decoding audio data.

[0060] The general data framework is configured to encrypt and decrypt data, etc.

[0061] The in-vehicle control framework is configured to process data related to in-vehicle control services.

[0062] (2) Basic service layer

[0063] The basic service layer includes a control plane and a data plane. The control plane includes functional modules such as a device discovery module, a service management module, a channel management module, a QoS management module, a security management module, a multi-domain coordination module, a measurement management module, and a 5G fusion module. The data plane includes channel control data, broadcast data, service management data, real-time data, reliable data, etc., and further includes a transmission control adaptation protocol, a transmission control protocol / internet protocol (TCP / IP), a transparent transmission protocol, etc. Note that some data in the data plane (for example, the channel control data within the dashed frame in Figure 2) is usually not included in the initial protocol architecture and is gradually generated and stored in the process of the electronic device using the protocol architecture.

[0064] The device discovery module is mainly configured to discover peripheral devices, inform external parties of information about the device on which the device discovery module is installed, call the access layer capabilities to execute, and determine device information, etc. In this embodiment, the device information includes a domain name, a media access control (MAC) address, a role, a device model, device capabilities (such as supported wireless connection types and supported communication protocols), and other information about the device. view

[0065] ​During device discovery, the device discovery module may be specifically configured to notify device information of an electronic device and scan for an electronic device that meets the service requirements. In a short-range wireless communication service, it should be understood that different service requirements usually correspond to different types of target electronic devices. For example, when a mobile phone performs screen projection, the device discovery module of the mobile phone needs to scan for a large-screen device with a screen projection and display function, such as a television or a projector, and does not need to scan for another electronic device that cannot accept screen projection, such as a mobile phone or a wireless headset.

[0066] Furthermore, in this embodiment, the device discovery module further supports mutual discovery between the SLB and the SLE. Specifically, during communication with a peer device using the SLB access technology, the device discovery module can discover that the peer device enables the SLE communication function, or during communication with a peer device using the SLE access technology, the device discovery module can discover that the peer device enables the SLB communication function.

[0067] The service management module is configured to provide an abstract data structure model for transmitting control commands and small data in the basic application layer, and provide methods for operating the data structure, such as reading, writing, notifying, or indicating.

[0068] The channel management module manages the transmission channels in the basic service layer, such as establishing, maintaining, and releasing transmission channels, and supports data transmission through the default transmission channel or dynamic allocation of transmission channels for data transmission.

[0069] Furthermore, the channel management module is further configured to manage the establishment and maintenance of cross-layer mapping relationships, such as managing the mapping relationship between the ports of the basic application layer and the transmission channel identifiers (TCIDs) of the basic service layer, and the mapping relationship between the TCIDs of the basic service layer and the logical channel identifiers (LCIDs) of the access layer.

[0070] The QoS management module is configured to manage the static QoS requirement table of the service and negotiate with the peer device about QoS. Different services usually have different static QoS requirement tables. The static QoS requirement table includes parameters such as transmission delay, bit rate, retransmission rate, transmission bandwidth requirement, service type, and bit width. QoS management can reduce problems such as network delay and network congestion during communication between the electronic device and the peer device, and improve the communication quality.

[0071] The security management module is configured to manage secure connections in the basic service layer, such as identification authentication, air interface communication security protection, key update, privacy protection, application layer transmission security, password requirements, secure storage of device information, secure execution, security protection, and security management.

[0072] The multi-domain adjustment module is configured to control and implement information exchange between communication domains to avoid mutual interference between multiple domains and protect load balancing between domains in a scenario where an electronic device is in multiple communication domains. In the SLB access technology, an electronic device includes an authorization node device (Grant, abbreviated as G node device) and a terminal node device (Terminal, abbreviated as T node device). A communication system jointly constituted by a G node device and all T node devices connected to the G node device is called a communication domain. When an electronic device is in multiple communication domains, the multi-domain adjustment module manages the establishment of interaction channels between multiple G node devices corresponding to the multiple communication domains, maintains a list and basic information of neighboring G node devices, adjusts resources between multiple domains, performs joint positioning and mobility management, and needs to implement load balancing.

[0073] The measurement management module is configured to measure, based on a received signal strength indicator (RSSI) and a predefined algorithm, the distance between a local device and another electronic device, the orientation of the local device with respect to another electronic device, etc. Further, the measurement management module is further configured to, for example, set a measurement cycle, report measurement events and measurement results to a basic application layer, schedule measurement resources, and control measurement power.

[0074] The 5G fusion module is configured to establish a channel using 5G remote management capabilities and obtain a device with cellular 5G remote control capabilities via an authentication mechanism. Specifically, the 5G fusion module enables all nodes to have the ability to be recognized and controlled by the 5G edge core network. For example, when the G node device has the ability to connect to the core network while the T node device does not have the ability to connect to the core network, the 5G core network can send control commands to the T node device via the G node device so that the T node device can also be controlled by the 5G core network.

[0075] (3) SparkLink Access Layer

[0076] The SparkLink access layer includes an SLB module and an SLE module. The SLB module may also be called the SLB access layer, and the SLE module may also be called the SLE access layer.

[0077] The SLB module performs communication using SLB access technology. The SLB access technology has high-bandwidth communication capabilities and can carry high-bandwidth services such as wireless screen projection services or video call services. During communication, the data throughput is high and the data transmission speed is high. However, the SLB access technology has high power consumption and takes a long time for the access process.

[0078] In the SLB access technology, electronic devices include G node devices and T node devices. The G node device is designated as capable of transmitting broadcasts, and the T node device is designated as capable of scanning for information. Furthermore, during the establishment of an SLB connection between the G node device and the T node device, only the T node device is permitted to discover the G node device by scanning and send a connection request to the G node device to connect to the G node device. On the other hand, the G node device is not permitted to send a connection request to the T node device.

[0079] In one example, when a large screen device (such as a television) is the G-node device and a mobile phone is the T-node device, after the SLB communication function becomes available, the large screen device automatically notifies the external party of the SLB connection information. When the mobile phone has the service requirement for screen projection, the mobile phone starts to scan whether there is a surrounding G-node device, receives the SLB connection information notified by the G-node device, and displays the device scan result (such as the device model and device name) based on the SLB connection information. In response to the operation by the user to select the large screen device from the scan results, the mobile phone sends a connection request to the large screen device to establish an SLB connection with the large screen device. However, the large screen device is not permitted to send a connection request to the mobile phone.

[0080] The SLE module performs communication using the SLE access technology. The communication using the SLE access technology has low-power communication capabilities. When the SLE module is in an idle state (specifically, not connected to another device), the SLE module may notify device information and data on three fixed broadcast channels so that the SLE module can be quickly discovered and connected. This helps to save the power of the device. However, the SLE access technology supports low bandwidth and the data transmission speed is low. Therefore, the SLE access technology is usually used to process services with low bandwidth requirements, such as, for example, an audio playback service based on a wireless headset or a service for controlling smart home appliances by a mobile phone.

[0081] The SLB module and the SLE module each include a data link layer and a physical layer. The data link layer includes a link control layer and a media access layer. The link control layer provides services to the basic service layer.

[0082] At the transmitting end, the link control layer performs necessary operations such as numbering (e.g., assigning a series of serial numbers SN), segmentation, encryption, and integrity protection on the upper layer service data (i.e., the data of the basic service layer), and generates the resulting link control protocol data unit ( link control protocol data unit, LC PDU) and is configured to transmit it to the medium access layer. The medium access layer mainly performs multiplexing and encapsulation on different LC PDUs based on the scheduled quantity of resources to generate a medium access protocol data unit (media access protocol data unit, MAC PDU).

[0083] At the receiving end, the medium access layer is responsible for decapsulating the data and delivering the decapsulated data to different logical channels. The link control layer performs necessary operations such as decoding, reassembly, and sorting on the data, and may deliver the service data to the basic service layer in order.

[0084] The physical layer is configured to provide a data transmission service to the data link layer. Specifically, it includes the following functions: checking the validity of the transmitted information and indicating the check result to the data link layer, forward error correction (FEC) encoding / decoding of the transmitted information, soft combining of hybrid automatic repeat request (HARQ), rate matching between the transmitted information and the corresponding physical resources, mapping between the encoded transmitted information and the corresponding physical resources, modulation and reception of physical layer control information and physical layer data information, frequency and time synchronization, measuring radio characteristics and indicating the measurement results to the data link layer, multi-input multi-output antenna processing, beamforming, radio frequency processing, etc.

[0085] Based on the above short-range wireless communication protocol architecture, an electronic device can communicate with a peer device by flexibly using different access technologies (SLB access technology and / or SLE access technology) according to different service requirements of applications.

[0086] FIG. 3 is a diagram of the architecture of a short-range wireless communication system to which the method for establishing an SLB connection according to an embodiment of the present application is applicable. As shown in FIG. 3, this system includes a first electronic device (abbreviated as the first device) and a second electronic device (abbreviated as the second device). Both the first device and the second device are configured with the short-range wireless communication protocol architecture shown in FIGS. 1 and 2, and can communicate with each other based on this protocol architecture using the SLB access technology and / or the SLE access technology.

[0087] In this embodiment, the electronic device can be an electronic device in various fields, such as a large-screen device in the smart home field, an artificial intelligence (AI) speaker, a high-fidelity (Hi-Fi) speaker, a temperature sensor, or a humidity sensor, a mobile phone, a tablet computer, a wearable device, an augmented reality (AR) / virtual reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA) in the intelligent terminal field, or a robotic arm, a camera, a joystick, a monitor, a logistics vehicle, or a smart shelf in the intelligent manufacturing field. The specific type of the electronic device is not limited in the embodiments of the present application.

[0088] Figures 4A and 4B are flowcharts for establishing an SLB connection between a first device and a second device according to an embodiment of the present application. Specifically, the following steps S401 to S404 are included.

[0089] S401: The first device becomes a G node device and notifies SLB connection information.

[0090] First, it should be noted that in the SLB access technology, different default roles are set for different electronic devices. The default role of some electronic devices is the authorization role (abbreviated as G role), and such electronic devices function as G node devices by default in the SLB connection process. The default role of some electronic devices is the terminal role (abbreviated as T role), and such electronic devices function as T node devices by default in the SLB connection process.

[0091] In a possible implementation, the default role may be determined based on the input / output state of the electronic device. The input / output state includes whether the electronic device supports information input using devices such as a mouse, keyboard, or screen, and whether the electronic device supports information output using devices such as a screen or speaker. For example, for devices where user information input is easy, such as a mobile phone or a tablet computer as an example, the default role is usually the T role, and such a device functions as a T node device by default in the SLB connection process. For devices where user information input is not easy, such as a large-screen device or a smart speaker, the default role is usually the G role, and such a device functions as a G node device by default in the SLB connection process.

[0092] Furthermore, the electronic device may alternatively determine or reset the role of the electronic device according to a user instruction. For example, the default role of the electronic device is reset at the control center or at the setting interface of the electronic device.

[0093] Based on the above, in this embodiment, after detecting the first trigger event, the first device (for example, a large-screen device) may start the SLB module as an authorized role (G role). For example, the first trigger event may be that the first device is started or the SLB communication function of the first device becomes available according to a user instruction (see FIG. 5). Specifically, after detecting the first trigger event, an application on the first device sends a first SLB start instruction to the SLB module through the basic application layer and the basic service layer in sequence. Here, the first SLB start instruction is used to instruct the SLB module to start as the G role. After the SLB module of the first device starts as the G role, the first device becomes a G node device.

[0094] After the first device becomes a G node device, the SLB module of the first device begins to notify the SLB connection information. The SLB connection information is used for the T node device to discover and connect to the G node device. In this embodiment, the SLB connection information includes the following (1) to (4).

[0095] (1) First training signal (FTS)

[0096] (2) Secondary training signal (STS)

[0097] Both FTS and STS are signals used for time synchronization in the SLB access technology. FTS is a coarse synchronization signal, and STS is a fine synchronization signal. One FTS and one STS form a group. In each group of signals, the signal that appears first in the time domain is FTS, and the signal that appears later in the time domain is STS. FTS is a Zadoff-Chu (ZC) sequence with a root index of 1 or 40 and a length of 39. STS is a ZC sequence with a root index in the range of 1 to 20 and a length of 39.

[0098] (3) Broadcast Information

[0099] The broadcast information has a total of 63 bits and is transmitted on the broadcast channel (BCH). The broadcast information carries the SLB physical layer configuration parameters specifically shown in Table 1. The second device (T node device) needs to use these parameters to receive other system information such as communication domain system information.

[0100]

Table 1

[0101] (4) Communication Domain System Information

[0102] The communication domain system information is an information element of the SLB protocol. The second device needs to obtain the communication domain system information of the first device to establish an SLB connection with the first device and obtain access resources and other information. In this embodiment, the structure of the communication domain system information may be shown as follows. DomainSysInfo-IEs ::= SEQUENCE { domainName DomainName OPTIONAL, -- Need OR domainID DomainID OPTIONAL, -- Need OR carrierChannelConf CarrierChannelConf, nonContentionAccessResourceSYS NonContentionAccessResourceSYS, OPTIONAL, -- Need OR contentionAccessResourceSYS ContentionAccessResourceSYS, p0-NominalConfig P0-NominalConfig, ack-ResourceSetConf ACK-ResourceSetConf, domainCoordination DomainCoordination, OPTIONAL, -- Need OR accessControl BIT STRING (SIZE (4)), OPTIONAL, -- Need OR keyAlgNegotiation BIT STRING (SIZE (32)), testModeIndication ENUMERATED {true, false}, OPTIONAL, -- Need OR nonCriticalExtension SEQUENCE {} OPTIONAL -- Need OR }

[0103] S402: The second device becomes a T-node device.

[0104] After detecting the second trigger event, the second device (e.g., a mobile phone) may start the SLB module as a terminal role (T-role). For example, the second trigger event may be that the second device is started or the user enables the SLB communication function of the second device (see FIG. 5). Specifically, after detecting the second trigger event, an application on the second device sends a second SLB start command to the SLB module through the basic application layer and the basic service layer in sequence. Here, the second SLB start command is used to instruct the SLB module to start as a T-role. After the SLB module of the second device starts as a T-role, the second device becomes a T-node device.

[0105] S403: The second device scans whether there is a G-node device.

[0106] After detecting the third trigger event, the application on the second device controls the SLB module of the second device to start scanning for the presence of surrounding G-node devices.

[0107] In some embodiments, the third trigger event is that the second device detects an operation by the user to control the scanning for G-node devices. For example, as shown in FIG. 6, in the process of the second device playing a video, the third trigger event is an operation performed by the user on the screen projection control on the video playback interface.

[0108] In some other embodiments, after becoming a T-node device, the second device automatically scans for the presence of surrounding G-node devices at regular intervals. Based on this, the third trigger event is that a predetermined period has elapsed.

[0109] In some other embodiments, the third trigger event is that the second device displays an SLB setting interface or the like. For example, as shown in FIG. 7, after the second device displays the SLB setting interface, the second device starts to scan for the presence of a G-node device and displays the device information (such as the device name and device model) of the G-node device discovered by the scan in the list of available devices.

[0110] Specifically, after detecting the third trigger event, the application on the second device sends a scan command to the SLB module through the basic application layer and the basic service layer in sequence. Here, the scan command is used to control the SLB module to scan for the presence of a G-node device and discover it. After receiving the scan command, the SLB module starts to scan for the presence of surrounding G-node devices and receives the SLB connection information notified by the surrounding G-node devices. Next, the SLB module reports the device information (such as the device name and device model) carried in the received SLB connection information to the application through the basic service layer and the basic application layer in sequence as the scan result. Finally, the application displays the device information of the G-node device discovered by the scan on the display interface of the second device based on the scan result.

[0111] The second device receiving the SLB connection information includes the following contents (1) to (3) in sequence.

[0112] (1) The second device receives FTS and STS and performs downlink synchronization with the first device based on FTS and STS.

[0113] Based on the above description, it can be understood that there are two types of FTS with root indexes of 1 and 40 respectively, and there are 20 types of STS with root indexes from 1 to 20 respectively. Therefore, in the process of receiving FTS and STS, the SLB module of the second device not only needs to receive the broadcast signal, but also needs to discover FTS and STS from the received broadcast signal (abbreviated notation: received signal), and further detect the specific types of FTS and STS.

[0114] In this embodiment, the SLB module of the second device may detect the specific types of FTS and STS through correlation processing. Specifically, the second device locally pre-stores or generates all types of FTS and STS in advance, and after acquiring the received signal, separately performs correlation processing on the received signal and all types of local FTS and STS. When the height of the correlation peak between a part of the received signal and a predetermined FTS or STS exceeds the threshold, it is determined that the type of that part of the received signal is the same as the type of the predetermined signal.

[0115] For example, in the process of receiving FTS, the SLB module of the second device needs to perform correlation processing on the received signal and the local FTS with root indexes of 1 and 40 respectively. When the height of the correlation peak between a part of the received signal and the FTS with a root index of 1 exceeds the threshold, it is determined that that part of the received signal is the FTS with a root index of 1. When the height of the correlation peak between a part of the received signal and the FTS with a root index of 40 exceeds the threshold, it is determined that that part of the received signal is the FTS with a root index of 40. It can be understood that the second device needs to perform correlation processing one or two times to detect the type of FTS.

[0116] In another example, in the process of receiving an STS, the SLB module of the second device first discovers the STS from the received signal based on the position of the correlation peak of the FTS, and then further detects the type of the STS. When detecting the type of the STS, the SLB module of the second device needs to perform a correlation process for each of the discovered STS and the local STS whose root index is from 1 to 20. When the height of the correlation peak between the STS and the STS whose root index is k exceeds the threshold, STS it is determined to be the STS whose root index is k. k is an arbitrary value in the range from 1 to 20, and k is an integer. It can be understood that the second device needs to perform the correlation process from 1 to 20 times to detect the type of the STS.

[0117] The SLB module of the second device may perform downlink synchronization between the SLB module of the second device and the SLB module of the first device based on the FTS and the STS. Downlink synchronization means that the T-node device synchronizes with the G-node device based on the signal (including the FTS and / or the STS) transmitted by the G-node device.

[0118] After completing the downlink synchronization with the first device (G-node device), the second device (T-node device) may receive the broadcast information and the communication domain system information transmitted by the first device at the corresponding time-frequency domain position.

[0119] (2) The second device receives the broadcast information.

[0120] As shown in FIG. 8, in the time domain, 1 ms is a superframe, and one superframe contains 48 radio frames. The length of each radio frame is 20.833 μs, and each radio frame contains 8 symbols (short notation: sym). FIG. 8 gives two frame structures of a radio frame including a first frame structure and a second frame structure for illustration purposes only. In the first frame structure, the first 4 symbols (e.g., sym#0 to sym#03) are G links, and the last 4 symbols (e.g., sym#4 to sym#7) are T links. In the second frame structure, the first 4 symbols (e.g., sym#0 to sym#03) are T links, and the last 4 symbols (e.g., sym#4 to sym#7) are G links.

[0121] The G link is a resource used to transmit information by a G node device in a communication domain and to receive information by a T node device. The T link is a resource used to transmit information by a T node device and to receive information by a G node device. This information includes physical layer signals, physical layer control information, physical layer data information, etc.

[0122] The SLB module of the first device (i.e., the G node device) transmits broadcast information using 8 symbols (specifically, system overhead symbols) of 4 consecutive superframes. This broadcast information occupies 2 symbols in each superframe. These 2 symbols are the last system overhead symbol of the first radio frame before the position of the radio frame where FTS is located, and the second wirelessIt is the last system overhead symbol of the frame. In one example, as shown in FIG. 9, these two symbols are the last system overhead symbol of the radio frame where the broadcast information 2 is located and the last system overhead symbol of the radio frame where the broadcast information 1 is located.

[0123] Since the SLB module of the first device needs to use 4 superframes to transmit one complete broadcast information, as shown in FIG. 10, the SLB module of the second device needs to receive at least 4 complete superframes to obtain the complete broadcast information by blind detection. Considering the scenario where the blind detection operation crosses the boundary of the information, the SLB module of the second device needs to receive at most 7 complete superframes to obtain the complete broadcast information by blind detection.

[0124] (3) The second device receives communication domain system information.

[0125] The communication domain system information is transmitted via broadcast by the first device (i.e., the G node device). After successfully receiving the broadcast information, the second device may continue to receive the communication domain system information based on the parameters carried in the broadcast information.

[0126] Specifically, the second device receives the communication domain system information based on the broadcast cycle of the communication domain system information and the position of the time-frequency domain resources carrying the communication domain system information.

[0127] The broadcast cycle of communication domain system information is 64, 128, 256, or 512 superframes, and the cycle parameters are carried in the communication domain system information. However, in the process of receiving the communication domain system information, the second device does not know the specific value of the broadcast cycle of the communication system information. Therefore, the second device needs to perform blind detection on the communication domain system information based on the minimum broadcast cycle (specifically, at least every 64 superframes), and the blind detection process takes a long time.

[0128] The position of the time-frequency domain resource that carries the communication domain system information is indicated by the system control information, and the system control information is carried in the common resource in the control information transmission resource of the G link in the radio frame. One superframe has only one common resource. As shown in FIG. 9, the position of the common resource starts from the first radio frame after the radio frame that carries the STS and ends at the Nth radio frame, where N = 4, 8, or 12, and N is indicated in the broadcast information. Further, the last system overhead symbol of each of the N radio frames is used for the common resource. Since the system control information has a length of 60 bits and occupies 4 or 8 symbols, the system control information needs to occupy 4 or 8 radio frames.

[0129] After detecting the STS and correctly receiving the broadcast information, the second device (i.e., the T-node device) may estimate the position of the common resource in the superframe. The common resource may carry any one of the second type of dynamic data scheduling resource indication information with a length of 69 bits, the system control information with a length of 60 bits, and the random access response control information with a length of 60 bits. Therefore, the second device needs to perform blind detection on the common resource separately based on the lengths of 60 bits and 69 bits in order to determine the type of information carried by the common resource. Four or eight symbols are used by the system control information, and one resource block is formed for every two symbols, second The device performs blind detection on the system control information using the resource block as a unit (specifically, the system control information occupies two or four resource blocks). Therefore, during the blind detection of the system control information, the electronic device needs to successfully perform blind detection up to four times based on each of the lengths of 60 bits and 69 bits in order to detect the system control information from the common resource. In other words, it is necessary to successfully perform blind detection up to eight times in total. After obtaining the system control information carried by the common resource, the second device obtains the position of the time-frequency domain resource carrying the communication domain system information from the system control information, and detects the communication domain system information at the position of the time-frequency domain resource based on the broadcast cycle of the communication domain system information.

[0130] It should be noted that during the blind detection by the second device, the blind detection may succeed or fail. The success of the blind detection means that the second device discovers the information (such as system control information) required by the detection. The failure of the blind detection means that the second device does not discover the information (such as system control information) required by the detection.

[0131] After successfully receiving the communication domain system information, the second device can start a synchronization connection with the first device based on the broadcast information and the communication domain system information to establish an SLB connection between the first device and the second device. For details, please refer to S404.

[0132] S404: The second device establishes an SLB connection with the first device.

[0133] Based on the definition of the SLB access technology, only the T-node device can start a connection with the G-node device. Therefore, in this embodiment, in the process of establishing an SLB connection between the first device and the second device, the second device (T-node device) starts contention-based random access. The details are described below.

[0134] On the second device side, after detecting that the user has selected the first device from the G-node devices discovered by scanning, the application sends a first device connection request to the basic application layer. In response to the first device connection request, the basic application layer delivers a first device connection command to the SLB module via the basic service layer, instructing the SLB module to establish an SLB connection with the first device.

[0135] After receiving the first device connection command, the SLB module of the second device starts contention-based random access with the SLB module of the first device. The four-way handshake process of contention-based random access includes the following contents (1) to (4).

[0136] (1) The SLB module of the second device sends a first message (Msg1) first to the SLB module of the device, where the content of the first message is mainly a random access request.

[0137] In this embodiment, the SLB module of the second device randomly selects a physical layer identifier from the range of [contentionPhysID - starting, contentionPhysID - ending] indicated by the information element ContentionAccessResource (in the obtained communication domain system information), and randomly selects an access resource from the contention - based access resource indicated by the information element ContentionAccessResource. The SLB module of the second device transmits the physical layer identifier on this contention - based access resource to the SLB module of the first device to indicate to the SLB module of the first device that there is a random access request.

[0138] (2) The SLB module of the first device transmits a second message (Msg2) to the SLB module of the second device. Here, the second message is a random access response (RAR), and is mainly used by the SLB module of the first device to set resources for transmitting more information about the SLB module of the second device using G - link control information, and is used to transmit scheduling signaling using G - link control signaling. The cyclic redundancy check (CRC) code of the scheduling signaling is scrambled based on the physical layer identifier of the contention - based access resource and the physical layer identifier of the SLB module of the second device (T - node device).

[0139] (3) The SLB module of the second device sends an XRC setup request (XRCSetupRequest) message on the resources set in Msg2, where this request includes an identifier used for contention resolution, and this identifier is a globally unique media access control (MAC) layer identifier that can uniquely identify the T-node device that initiated the access request. Further optionally, the SLB module of the second device reports the capability information of the SLB module of the second device to the SLB module of the first device using XRC signaling on the resources set in Msg2, and may also report the data volume of the link control layer in the form of a MAC control element (CE).

[0140] (4) The SLB module of the first device sends a fourth message (Msg4) to the SLB module of the second device, where the fourth message is an XRC setup (XRCSetup) message. The XRC setup message carries the identifier used for contention resolution reported by the SLB module of the second device. The SLB module of the second device receives the response message and determines whether the access is successful based on the identifier for contention resolution.

[0141] After completing contention-based random access, the SLB module of the first device and the SLB module of the second device need to perform pairing and authentication. After pairing and authentication are completed, the first device and the second device successfully establish an SLB connection and can transmit service data.

[0142] After the first device and the second device are successfully paired and authenticated, the SLB module of the first device and the SLB module of the second device respectively report the SLB connection result to their respective application layers via the basic service layer and the basic application layer to notify the application layer that the SLB connection has been completed.

[0143] To summarize, in the above steps S401 to S404, an SLB connection can be established between the first device and the second device to process a high-bandwidth service started by the second device for the first device.

[0144] For example, a mobile phone is connected to a speaker to play high-definition audio. In some embodiments, after being started, the speaker becomes a G-node device and notifies the SLB connection information to the outside. The mobile phone becomes a T-node device after being started. After the mobile phone enters the Setting interface, the setting application on the mobile phone delivers a scan command to the SLB module through the basic application layer and the basic service layer in sequence. The SLB module executes a scan operation, receives the SLB connection information, and reports the device information (such as device name and model) in the scan result to the setting application through the basic service layer and the basic application layer in sequence for display, so that the user can see the electronic devices supporting the SLB technology around the mobile phone. After the user selects the speaker from the electronic devices discovered through scanning, the mobile phone actively connects to the speaker and establishes an SLB connection with the speaker. After the SLB connection is successfully established, the mobile phone can control the speaker to play high-definition audio.

[0145] Currently, the process of establishing an SLB connection between the first device and the second device takes a long time mainly because the interaction process between the first device and the second device takes a long time. This will be specifically described below.

[0146] In this embodiment, in the process of establishing an SLB connection between the first device and the second device, the main interaction process includes the content (a) to (c) shown in FIG. 11. For the specific time taken for each piece of content, please refer to Table 2.

[0147] (a) The second device receives SLB connection information, namely FTS, STS, broadcast information, and communication domain system information.

[0148] (b) The first device and the second device perform contention-based random access.

[0149] (c) The first device and the second device perform pairing and authentication.

[0150] [Table 2]

[0151] Referring to Table 2, in an ideal case, it can be understood that in the process of establishing an SLB connection between the first device (G node device) and the second device (T node device), the process of interaction between the devices takes about 140 ms. It takes a long time (about 100 ms) to receive the communication domain system information.

[0152] Based on the above description, it can be understood that the process of interaction between the first device and the second device takes a long time because mainly the following processes (1) to (4) need to be executed.

[0153] (1) Detect the types of FTS and STS. In an ideal case, the SLB module of the second device (T-node device) performs correlation processing on the received signal and the local sequence where the route index is 1 or 40. When the height of the correlation peak exceeds the threshold, FTS is discovered and considered to have been detected for its type. Then, the position of STS can be estimated based on the position of FTS, and the type of STS is detected. To detect the type of FTS, the correlation process needs to be executed up to 2 times, and to detect the type of STS, the correlation process needs to be executed up to 20 times. The detection process takes a long time.

[0154] Furthermore, if the height of the correlation peak exceeds the threshold when FTS is received but subsequent detection of the type of STS fails (for example, the received FTS is interference noise), FTS detection needs to be executed again. This takes a long time.

[0155] (2) Receive broadcast information. the first device (G-node device) It is necessary to use 4 superframes to transmit broadcast information. Therefore, in the process of receiving broadcast information, the T-node device needs to perform blind detection on 4 to 7 superframes to obtain one complete piece of broadcast information. For details, refer to the above description.

[0156] (3) Receive communication domain system information.

[0157] First, the T-node device needs to estimate the location of the common resource that carries the system control information based on the indication of the broadcast information, and perform blind detection on the system control information with a length of 60 bits of the location of the common resource. Next, the T-node device obtains the location of the time-frequency domain resource that carries the communication domain system information based on the indication of the system control information. Finally, the T-node device receives the communication domain system information at the location of the time-frequency domain resource based on the broadcast cycle of the communication domain system information. The receiving process is complex and time-consuming.

[0158] Furthermore, the cycles for the G-node device to broadcast the communication domain system information are 64, 128, 256, or 512 superframes, and the cycle information is carried in the communication domain system information. Therefore, when the T-node device does not know the specific value of the broadcast cycle, the T-node device needs to parse the communication domain system information once every 64 superframes. The operation is complex and time-consuming. For details, please refer to the above description.

[0159] (4) Contention-based random access process. In an ideal case, the T-node device can complete the synchronization connection with the G-node device just by starting one contention-based random access process. However, in a contention scenario, the T-node device may need to perform multiple random access processes before successfully connecting.

[0160] In summary, in the process of establishing an SLB connection between a first device (G node device) and a second device (T node device), since the second device needs to perform blind detection and reception on the FTS, STS, broadcast information, and communication domain system information notified by the first device, and perform contention-based random access, identification authentication, contention resolution, etc., the process of establishing an SLB connection between the first device and the second device takes a long time and impairs the user experience.

[0161] Therefore, an embodiment of the present application provides a method for establishing an SLB connection. This method relates to a process in which a first device and a second device establish an SLB connection by employing the SLE access technology. In this method, the period for the first device and the second device to establish an SLB connection can be shortened, and the efficiency of the SLB connection can be improved.

[0162] Hereinafter, the process in which a first device and a second device establish an SLB connection by employing the SLE access technology provided by an embodiment of the present application will be described in detail. It should be understood that when service requirements for establishing an SLB connection between the first device and the second device appear, the SLE connection between the first device and the second device may or may not be successfully established. Hereinafter, the process of establishing an SLB connection between the first device and the second device in each of two scenarios will be described.

[0163] (I) An SLE connection is established between the first device and the second device.

[0164] To reduce the power consumption of the device, in a scenario without high-bandwidth service requirements, only the SLE connection may be maintained between the first device and the second device, and the SLB module is controlled to enter the sleep state. After an application on the first device delivers high-bandwidth service requirements to the first device, the first device and the second device activate their respective SLB modules and transmit relevant parameter information for establishing an SLB connection via the SLE connection, assisting the first device and the second device to quickly establish an SLB connection.

[0165] For example, as shown in FIG. 12, the first device is a mobile phone and the second device is a wireless headset. When high-definition audio is not being played, the mobile phone and the wireless headset only maintain the connection between the SLE modules. When the mobile phone needs to play high-definition audio, the mobile phone and the wireless headset utilize the existing SLE connection to quickly establish an SLB connection.

[0166] FIGS. 13A, 13B, and 13C are schematic flowcharts for establishing an SLB connection between a first device and a second device according to another embodiment of the present application, and relate to the process of establishing an SLB connection by utilizing an SLE connection when the SLE connection is established between the first device and the second device. Specifically, the following steps S1301 to S1305 are included.

[0167] S1301: The first device determines to establish an SLB connection with the second device.

[0168] S1302: The first device queries about the SLB capabilities of the second device via the SLE connection.

[0169] S1303: When the second device has SLB capabilities, the first device and the second device perform G / T role negotiation to determine the G node device and the T node device.

[0170] S1304: The G node device transmits the first information to the T node device. The first information includes at least one of the auxiliary SLB connection information and / or at least one of the first part of the SLB connection information (e.g., broadcast information and communication domain system information).

[0171] S1305: The T node device receives the second information. The second information includes the part of the SLB connection information that has not been previously transmitted to the second device via the SLE connection.

[0172] S1306: The T node device connects to the G node device based on the first information and the second information to establish an SLB connection.

[0173] In the method for establishing an SLB connection according to the present embodiment of the present application, since the first device and the second device can quickly establish an SLB connection based on the SLE connection, the user experience is good.

[0174] Hereinafter, S1301 to S1306 will be described in detail separately.

[0175] S1301: The first device determines to establish an SLB connection with the second device. Specifically, this step includes the following contents 1-1 to 1-3.

[0176] 1-1: The application on the first device delivers the service requirement to the basic application layer of the first device.

[0177] For example, when the first device is a mobile phone and the second device is a wireless headset, as shown in FIG. 14, after the mobile phone detects an operation for the user to control the playback of high-definition audio, the audio playback application on the mobile phone transmits the service requirement corresponding to the high-definition audio playback service to the basic application layer of the mobile phone.

[0178] 1-2: When the service requirement exceeds the bearer capacity of the SLE link, the basic application layer of the first device determines that an SLB connection needs to be established with the second device.

[0179] For example, high-bandwidth service requirements include high-definition video playback requirements, high-definition audio playback requirements, etc., and have high requirements for the bandwidth during data transmission. Usually, the SLB connection can meet the high-bandwidth service requirements, and the SLE connection cannot meet the high-bandwidth service requirements. Therefore, when the service requirement exceeds the bearer capacity of the SLE link, the first device determines to establish an SLB connection with the second device.

[0180] It should be noted that in this embodiment, high-definition audio is audio with a quality higher than a predetermined quality. For example, as shown in FIG. 14, high-definition audio may be audio with high-definition quality or audio with lossless quality. High-definition video is video with a definition higher than a predetermined definition. For example, high-definition video may be 480P, 720P, or 1080P video.

[0181] In another embodiment, the differences from 1-1 and 1-2 are as follows. That is, when the first device is a mobile phone and the second device is a wireless headset, as shown in FIG. 15, in the process of the first device controlling the wireless headset to play audio via the SLE connection, the first device may alternatively determine to establish an SLB connection with the second device according to an instruction from the user, such as based on an operation executed by the user on the SLB switch control, and play the audio currently being played on the first device via the SLB connection.

[0182] 1-3: The basic application layer of the first device delivers the SLB connection command to the basic service layer of the first device.

[0183] In this embodiment, the SLB connection command is used to instruct the basic service layer of the first device to control the establishment of the SLB connection between the first device and the second device in order to transmit service data corresponding to high-bandwidth service requirements.

[0184] S1302: The first device queries about the SLB capability of the second device via the SLE connection.

[0185] Note that S1302 is an optional step. When the SLB capability of the second device is known to the basic service layer of the first device, after executing S1301, the first device may directly execute S1303 without executing S1302.

[0186] In this embodiment, the first device may know the SLB capability of the second device in advance in the following stages. For example, in the device discovery stage before the first device establishes an SLE connection with the second device, the first device may obtain the SLB capability of the second device from the broadcast sent by the second device. Alternatively, after the first device establishes an SLE connection with the second device, the first device may know the SLB capability of the second device during service discovery.

[0187] Specifically, S1302 includes the following contents 2-1 to 2-6.

[0188] 2-1: The basic service layer of the first device sends an SLB capability query message to the SLE module of the first device, where the SLB capability query message is used to query whether the second device has SLB communication capability.

[0189] 2-2: The SLE module of the first device sends the SLB capability query message to the SLE module of the second device based on the SLE connection.

[0190] 2-3: The SLE module of the second device reports the SLB capability query message to the basic service layer of the second device.

[0191] 2-4: The basic service layer of the second device responds to the SLB capability query message and sends the SLB capability query result to the SLE module of the second device. The SLB capability query result indicates whether the second device has the SLB capability.

[0192] 2-5: The SLE module of the second device sends the SLB capability query result to the SLE module of the first device based on the SLE connection.

[0193] 2-6: The SLE module of the first device sends the SLB capability query result to the basic service layer of the first device.

[0194] S1303: When the second device has the SLB capability, the first device and the second device perform G / T role negotiation to determine the G node device and the T node device.

[0195] The SLB access technology defines the G role and the T role for the SLB modules of both devices. Here, the electronic device with the SLB module in the G role is the G node device, and the electronic device with the SLB module in the T role is the T node device. Based on the characteristics of the SLB access technology, only the T node device is permitted to connect to the G node device (specifically, only the T node device is permitted to send a connection request to the G node device). Therefore, when establishing the SLB connection between the first device and the second device, the roles of the first device and the second device need to be determined first. This can also be understood as meaning that when establishing the SLB connection between the first device and the second device, the roles of the SLB module of the first device and the SLB module of the second device need to be determined first.

[0196] In this embodiment, since the first device triggers the connection service, the first device queries about the role of the second device and starts the process of role negotiation between the SLB module of the first device and the SLB module of the second device. The fact that the SLB modules of the first device and the second device perform G / T role negotiation may include the following three scenarios. (1) The SLB module of the first device is not activated. (2) The SLB module of the first device is activated as the G role. (3) The SLB module of the first device is activated as the T role. Hereinafter, the process of G / T role negotiation between the first device and the second device in each of these three scenarios will be described.

[0197] Scenario (1): The SLB module of the first device is not activated.

[0198] When the SLB module of the second device is not activated, the basic service layer of the first device determines the following determination results. That is, after the SLB module of the first device is activated, it undertakes the G role, and after the SLB module of the second device is activated, it undertakes the T role. In other words, the first device becomes the G node device and the second device becomes the T node device, or after the first device is activated, it undertakes the T role, and after the second device is activated, it undertakes the G role. In other words, the first device becomes the T node device and the second device becomes the G node device.

[0199] When the SLB module of the second device is activated as the T role, the basic service layer of the first device executes the following determination. That is, after the SLB module of the first device is activated, it undertakes the G role, and the SLB module of the second device continues to undertake the T role. In other words, the first device becomes the G node device and the second device becomes the T node device.

[0200] When the SLB module of the second device is started as the G role, the basic service layer of the first device makes the following determination. That is, after the SLB module of the first device is started, it assumes the T role, and the SLB module of the second device continues to assume the G role. In other words, the first device becomes the T node device and the second device becomes the G node device.

[0201] In scenario (1), after determining the determination result, the basic service layer of the first device transmits the determination result to the basic service layer of the second device based on the SLE connection. The first device and the second device maintain the role of the local SLB module based on the determination result.

[0202] Scenario (2): The SLB module of the first device is started as the G role.

[0203] When the SLB module of the second device is not started, the basic service layer of the first device makes the following determination. That is, the SLB module of the first device continues to assume the G role, and after the SLB module of the second device is started, it becomes the T node. In other words, the first device becomes the G node device and the second device becomes the T node device.

[0204] When the SLB module of the second device is started as the T role, the basic service layer of the first device makes the following determination. That is, the SLB module of the first device continues to assume the G role, and the SLB module of the second device continues to assume the T role. In other words, the first device becomes the G node device and the second device becomes the T node device.

[0205] In the above two cases of Scenario (2), after determining the determination result, the basic service layer of the first device transmits the determination result to the basic service layer of the second device based on the SLE connection. The first device and the second device maintain the roles of their local SLB modules based on the determination result.

[0206] When the SLB module of the second device is activated as the G role, the roles of both the SLB module of the first device and the SLB module of the second device are the G role, resulting in a role conflict. The basic service layer of the first device needs to determine whether the first device switches its role or the second device switches its role.

[0207] In some embodiments, the basic service layer of the first device determines that the local SLB module is restarted and switches the role of its local SLB module to the T role. If the role switch of the SLB module of the first device is successful, the G / T role negotiation is successful, and the negotiation result is as follows. That is, the SLB module of the first device assumes the T role, and the SLB module of the second device assumes the G role. In other words, the first device becomes the T node device, and the second device becomes the G node device. If the role switch of the SLB module of the first device fails (for example, the role cannot be switched due to the failure of restart), the role negotiation fails, and the first device and the second device cannot establish an SLB connection due to the role conflict. The basic service layer reports the connection failure result to the basic application layer.

[0208] In some other embodiments, the basic service layer of the first device determines that the second device decides to restart the SLB module, and sends an SLB module restart request to the second device. Here, this request conveys the role (i.e., the T role) that the first device expects the second device to assume after restart. After receiving the SLB module restart request, the second device executes the processing of the following two cases.

[0209] Case 1: The second device agrees to restart the SLB module, sends a notice indicating that the second device agrees to restart the SLB module to the first device, and after the SLB module is restarted, sends the role information of the restarted SLB module to the first device.

[0210] Case 2: The second device does not agree to restart the SLB module, and sends a notice indicating that the second device does not agree to restart the SLB module to first the first device. The role negotiation fails, the establishment of the SLB connection fails, and the basic service layer reports the connection failure result to the basic application layer.

[0211] Scenario (3): The SLB module of the first device is started as the T role.

[0212] When the SLB module of the second device is not started, the basic service layer of the first device makes the following decision. That is, the SLB module of the first device continues to assume the T role, and after the SLB module of the second device is started, it assumes the G role. In other words, the first device becomes the T node device, and the second device becomes the G node device.

[0213] When the SLB module of the second device is started as the G role, the basic service layer of the first device makes the following determination. That is, the SLB module of the first device continues to assume the T role, and the SLB module of the second device continues to assume the G role. In other words, the first device becomes the T node device, and the second device becomes the G node device.

[0214] In the above two cases of scenario (3), after determining the determination result, the basic service layer of the first device SLE sends the determination result to the basic service layer of the second device via the connection. The first device and the second device maintain the roles of their local SLB modules based on the determination result.

[0215] When the SLB module of the second device is started as the T role, the roles of both the SLB module of the first device and the SLB module of the second device are the T role, and a role conflict occurs. The first device needs to determine whether the first device switches its role or the second device switches its role.

[0216] In some embodiments, the first device determines that the local SLB module is restarted and switched to the G role. If the role switching of the SLB module of the first device is successful, the G / T role negotiation result is as follows. That is, the SLB module of the first device assumes the G role, and the SLB module of the second device continues to assume the T role. In other words, the first device becomes the G node device, and the second device becomes the T node device. If the role switching of the SLB module of the first device fails, the role negotiation fails, and the establishment of the SLB connection fails.

[0217] In some other embodiments, the first device determines that the second device decides to restart the SLB module, and sends an SLB module restart request to the second device. Here, this request carries the role (i.e., the G role) that the first device expects the second device to assume after restart. After receiving the SLB module restart request, the second device executes the processing of the following two cases.

[0218] Case 1: The second device agrees to restart the SLB module, sends a notice indicating that the second device agrees to restart the SLB module to the first device, and after the SLB module is restarted, sends the role information of the restarted SLB module to the first device.

[0219] It should be noted that when the role assumed by the SLB module of the second device after restart is the G role (specifically, the role that the first device expects the second device to become after restart), the role negotiation is successful, and the G / T role negotiation result is as follows. That is, the SLB module of the first device continues to assume the T role, and the SLB module of the second device assumes the G role. In other words, the first device becomes the T node device, and the second device becomes the G node device. If the restart of the SLB module of the second device fails, the role negotiation fails, the establishment of the SLB connection fails, and the basic service layer reports the connection failure result to the basic application layer.

[0220] Case 2: The second device does not agree to restart the SLB module and sends a notice indicating that the second device does not agree to restart the SLB module to first the first device. The establishment of the SLB connection fails, and the basic service layer reports the connection failure result to the basic application layer.

[0221] In S1303, for example, before the first device and the second device perform role negotiation, the SLB module of the first device is activated as the G role, and the SLB module of the second device is activated as the T role. The process of performing G / T role negotiation by the first device and the second device in S1303 includes the following steps 3-1 to 3-7.

[0222] 3-1: The basic service layer of the first device sends a G / T role query message to the SLE module of the first device, where the G / T role query message is used to query the operating state and role information of the SLB module of the second device.

[0223] In this embodiment, the operating state of the SLB module includes a sleep state and an awake state.

[0224] Optionally, the role query message further carries the role information of the first device, and this role information indicates that the first device assumes the G role. The second device may determine whether a role conflict occurs between the first device and the second device based on the role information of the first device and the role information of the second device.

[0225] 3-2: The SLE module of the first device sends a G / T role query message to the SLE module of the second device based on the SLE connection.

[0226] 3-3: The SLE module of the second device reports the G / T role query message to the basic service layer of the second device.

[0227] 3-4: The basic service layer of the second device sends the G / T role query result to the SLE module of the second device.

[0228] The G / T role query result includes the operating state and role of the SLB module of the second device. In this embodiment, the role query result is as follows. That is, the SLB module of the second device is started as the T role.

[0229] Optionally, when the role of the SLB module of the first device is the same as that of the SLB module of the second device, the role query result may further carry conflict indication information, and the conflict indication information indicates that a role conflict has occurred between the SLB module of the first device and the SLB module of the second device. Further, the role query result further includes restart indication information indicating whether the SLB module of the second device supports a restart to switch the role.

[0230] 3-5: The SLE module of the second device sends the G / T role query result to the SLE module of the first device based on the SLE connection.

[0231] 3-6: The SLE module of the first device reports the G / T role query result to the basic service layer of the first device.

[0232] Since the SLB module of the first device is started as the G role, after knowing that the SLB module of the second device is started as the T role, the basic service layer of the first device determines that the role of the SLB module of the first device remains the G role.

[0233] 3-7: The first device and the second device perform G / T role negotiation.

[0234] Since the SLB module of the first device is started as the G role and the SLB module of the second device is started as the T role, no role conflict occurs. In this case, the basic service layer of the first device obtains the following G / T role determination result. That is, the SLB module of the first device assumes the G role and the SLB module of the second device assumes the T role. The basic service layer of the first device transmits this determination result to the second device. The SLB module of the first device remains in the G role based on the determination result, and the SLB module of the second device remains in the T role based on the determination result.

[0235] In the process of performing G / T role negotiation between the first device and the second device, when a role conflict occurs between the SLB module of the first device and the SLB module of the second device, if the SLB module of the second device does not support a restart to switch the role, the first device determines whether to restart the SLB module based on the service state of the first device. If the restart condition is met, the first device restarts the SLB module of the first device to switch the role. If the restart condition is not met, the SLB connection fails. If the SLB module of the second device supports a restart to switch the role, the first device determines whether it is possible to restart the SLB module of the first device based on the service state of the first device. If the first device meets the restart condition, the first device restarts the SLB module of the first device to switch the role. If the first device does not meet the restart condition, the second device needs to restart the SLB module to switch the role.

[0236] S1304: The G node device transmits the first information to the T node device.

[0237] For example, the G / T role negotiation result is as follows. That is, the first device becomes the G node device, and the second device becomes the T node device. Specifically, S1304 includes the following contents 4-1 to 4-9.

[0238] 4-1: The basic service layer of the first device sends the first startup instruction to the SLB module of the first device. Here, the first startup instruction is used to start the SLB module and determine that the role of the SLB module is the G role.

[0239] 4-2: In response to the first startup instruction, the SLB module of the first device is started as the G role.

[0240] Note that 4-1 and 4-2 are optional steps. After the first device and the second device complete the G / T role negotiation, if the SLB module of the first device has not been started, the first device executes steps 4-1 and 4-2 to start the SLB module of the first device, determine that the SLB module assumes the G role, and make the first device become the G node device. Alternatively, if the SLB module of the first device has been started as the G role, the first device does not need to execute step 4-1 or step 4-2.

[0241] 4-3: The basic service layer of the second device sends the second startup instruction to the SLB module of the second device. Here, the second startup instruction is used to start the SLB module and determine that the role of the SLB module is the T role.

[0242] 4-4: In response to the second startup instruction, the SLB module of the second device is started as the T role.

[0243] Note that steps 4-3 and 4-4 are optional steps. After the first device and the second device complete the role negotiation, if the SLB module of the second device is not activated, the second device executes steps 4-3 and 4-4 to second activate the SLB module of the device, determine that the SLB module is responsible for the T role, and make the second device become the T node device. Alternatively, if the SLB module of the second device is activated as the T role, the second device does not need to execute step 4-3 or step 4-4.

[0244] 4-5: The basic service layer of the first device sends a first information query message to the SLB module of the first device, where the first information query message is used to query the first information of the first device.

[0245] 4-6: The SLB module of the first device returns the first information to the basic service layer of the first device.

[0246] In this embodiment, the information for establishing the SLB connection between the first device and the second device includes auxiliary SLB connection information and SLB connection information.

[0247] The auxiliary SLB connection information includes at least one of the following contents (1) to (5).

[0248] (1) The broadcast frequency and bandwidth of the G node device.

[0249] (2) The FTS route index. The FTS route index indicates the route index of the FTS transmitted by the first device. The FTS route index is 1 or 40, and is used by the electronic device to generate or determine the local sequence signal in the process of receiving the FTS, and to perform correlation processing on the local sequence signal and the received signal for receiving the FTS.

[0250] (3) STS Route Index. The STS Route Index indicates the route index of the STS transmitted by the first device. The STS Route Index is an integer in the range of 1 to 20, and is used by the electronic device to generate or determine the local sequence signal in the process of receiving the STS, and to perform correlation processing on the local sequence signal and the received signal for receiving the STS.

[0251] (4) Physical Layer Identifier: T-PhysID. T-PhysID::=INTEGER(0...4095)

[0252] The physical layer identifier is used to uniquely identify the T node device in the communication domain and has a length of 12 bits. The physical layer identifier is used to select the non-content-based random access resource. For details, please refer to the above description. In non-content-based random access, there is a mapping relationship between the access resource and the physical layer identifier, and when the physical layer identifier is determined, the access layer resource can be known.

[0253] (5) Authentication Credentials: Authentication Password and 256-bit Shared Key (PSK).

[0254] The SLB connection information includes the following information (1) to (4).

[0255] (1) FTS. For details, please refer to the above description. In this specification, details will not be repeatedly described in this embodiment.

[0256] (2) STS. For details, please refer to the above description. In this specification, details will not be repeatedly described in this embodiment.

[0257] (3) Broadcast information. For the detailed content of the broadcast information, please refer to the above description. In this specification, the details will not be repeatedly described in this embodiment.

[0258] (4) Communication domain system information. It should be noted that the communication domain system information may be simplified communication domain system information when the SLB connection is established by leveraging the SLE connection. For example, the simplified communication domain system information includes the following contents a to g.

[0259] a. Domain name: DomainID::=BIT STRING(SIZE(48)). The domain name is the media access control (MAC) address.

[0260] b. Carrier channel number: CarrierChannelConf::=SEQUENCE(SIZE(1...32)) OF ChannelNumber.

[0261] c. Information about the non - contention - based access resource pool: NonContentionAccessResourceSYS::=SEQUENCE{ nonContentionAccessDuration ENUMERATED{ms512,ms1024,ms2048,ms4096}, nonContentionAccessResource DedicatedOverheadTimeResource, nonContentionAccessModulation SR - Modulation, OPTIONAL,--Need ON nonContentionAccessSymNum ENUMERATED{2,3,5,9} waitingWindow INTEGER(0...1023), numY INTEGER(0...4095), } DedicatedOverheadTimeResource::=BIT STRING(SIZE(96)) SR-Modulation::=ENUMERATED{qpsk,qam16,qam64,qam256,qam1024}

[0262] In the communication domain system information, the information element nonContentionAccessDuration indicates the cycle of the non - contention - based access resource pool, where ms512 represents 512 superframes, ms1024 represents 1024 superframes, ms2048 represents 2048 superframes, and ms4096 represents 4096 superframes.

[0263] The information element nonContentionAccessResource indicates the resource for transmitting non - contention access information in a superframe and contains N symbols. In the time - series order of the symbols, nonContentionAccessSymNum a certain number of overhead symbols form one group, and the N symbols are divided into

[0264]

Number

[0265] a certain number of groups in total. During the set cycle, there are

[0266]

Number

[0267] a certain number of groups in total. Each group contains five non - contention - based access resources in ascending order of sub - carrier numbers.

[0268] During the set cycle, there are

[0269]

Number

[0270] There are non - contention - based access resources. The access resources are numbered from #0 to #(Y - 1) in the time - series order of all resource groups and in ascending order of sub - carrier numbers in each group.

[0271] The T - node device selects the resource numbered mod(T - PhysID,Y) from these resources, and transmits access information including T - PhysID on this resource, where T - PhysID is the physical layer identifier set and stored by the G - node device, or T - PhysID is the physical layer identifier pre - set by the T - node device.

[0272] waitingWindow indicates the size of the waiting time window for random access in units of super - frames.

[0273] d. Random access target reception power setting: P0 - NominalConfig::=SEQUENCE{rach - P0 - NominalConfig}

[0274] e. Confirmation ACK information resource for the T - node device: DedicatedACK - ResourceSetConf::=INTEGER(0...31)

[0275] DedicatedACK - ResourceSetConf indicates a specific ACK resource pool in the ACK resource pool set. ACK indicates that when the G - node device schedules downlink data for the T - node device, the T - node device needs to return ACK information to the G - node device on the specified ACK resource.

[0276] f. If the G-node device has an access control function, the auxiliary SLB connection information further includes the following content. accessControl BIT STRING(SIZE(4)), OPTIONAL,--Need OR

[0277] g. Information about the key negotiation algorithm: keyAlgNegotiation BIT STRING(SIZE(32))

[0278] The broadcast information and communication domain system information in the SLB connection information may be sent from the first device (i.e., the G-node device) to the second device via the SLE connection, and in this embodiment, it is called the first part of the SLB connection information. However, since FTS and STS are synchronization signals at the time of establishing the SLB connection, FTS and STS can only be sent from the first device to the second device via the SLB broadcast.

[0279] In this embodiment, the first information includes at least one of the auxiliary SLB connection information and / or the first part of the SLB connection information (i.e., the broadcast information and the communication domain system information). Therefore, referring to the above description, it can be understood that the first information includes, but is not limited to, the following forms.

[0280] For example, the first information includes the broadcast frequency and bandwidth of the first device, or the first information includes the FTS route index, or the first information includes the FTS route index and the STS route index, or the first information includes the communication domain system information, or the first information includes the broadcast information and the communication domain system information, or The first information includes, or The first information includes, or The first information includes the broadcast frequency and bandwidth of the first device, the FTS route index, the STS route index, the physical layer identifier of the first device, the authentication credentials of the first device, broadcast information, and communication domain system information.

[0281] Furthermore, in some embodiments, when transmitting the broadcast information or the communication domain system information to the second device via the SLE connection, the first device may alternatively transmit only some of the content of the broadcast information or the communication domain system information. The communication domain system information is used as an example. The communication domain system information transmitted by the first device to the second device via the SLE connection may be the simplified communication domain system information shown above.

[0282] 4-7: The basic service layer of the first device transmits the first information and the indication information for instructing the SLE module of the first device to initiate an SLB connection with the second device to the SLE module of the first device.

[0283] 4-8: The SLE module of the first device transmits the first information and the indication information to the SLE module of the second device based on the SLE connection.

[0284] 4-9: The SLE module of the second device reports the first information and the indication information to the basic service layer.

[0285] If the first device triggers the SLB connection service and is a T-node device, the first device does not execute 4-5 to 4-9, but sends a request to the second device to obtain the first information, and it should be noted that the second device sends the first information to the first device based on the SLE connection.

[0286] Optionally, in 4-7 to 4-9, the first device may alternatively not send indication information to the second device. After receiving the first information, the second device functions as a connection initiator by default and starts a synchronous connection with the second device (specifically, the first device and the second device are connected in a synchronous state in the time-frequency domain).

[0287] S1305: The G-node device sends the second information to the T-node device.

[0288] The second information includes the part of the SLB connection information that has not been previously sent to the second device via the SLE connection.

[0289] In some embodiments, when the SLB connection information in the first information only includes broadcast information, the second information includes FTS, STS, and communication domain system information.

[0290] In some other embodiments, when the SLB connection information in the first information only includes communication domain system information, the second information includes FTS, STS, and broadcast information.

[0291] In still some other embodiments, when the SLB connection information in the first information includes both broadcast information and communication domain system information, the second information includes FTS and STS.

[0292] In some other embodiments, when the first information does not include SLB connection information, the second information includes FTS, STS, broadcast information, and communication domain system information.

[0293] After the first device has sent the first information and the indication information to the second device (see step 5-1 in FIG. 13C), the SLB module of the first device starts to send an SLB broadcast, where the SLB broadcast includes the second information (see step 5-2 in FIG. 13C). After receiving the indication information, the second device controls the SLB module of the second device to start scanning for the absence of the second information. Alternatively, after receiving the first information, the second device starts to function as a connection initiator by default and starts to control the SLB module of the second device to scan for the absence of the second information.

[0294] Note that if the first information includes the broadcast frequency and bandwidth of the first device, that is, if the second device already knows the broadcast frequency and bandwidth at which the first device transmits the second information when receiving the second information, the second device can receive the second information at that broadcast frequency and bandwidth to improve the efficiency of receiving the second information.

[0295] When transmitting the second information, the first device first sends an FTS and an STS. After receiving the FTS and / or the STS, the SLB module of the second device performs downlink synchronization with the first device based on the FTS and / or the STS.

[0296] When the clock sources of the SLB module and the SLE module of the T-node device are synchronized and the frame boundaries of the SLB module and the SLE module are aligned, in the process of the T-node device performing a synchronization connection with the G-node device, the T-node device receives the STS transmitted by the G-node device, and it should be noted that it is necessary to complete precise synchronization between the T-node device and the G-node device based on the STS. After the synchronization is completed, the T-node device may start non-content-based random access to the G-node device. When the clock sources of the SLB module and the SLE module of the T-node device are not synchronized, in the process of the T-node device performing a synchronization connection with the G-node device, the T-node device receives the FTS and the STS, and it is necessary to perform rough synchronization and fine synchronization with the G-node device in sequence based on the FTS and the STS.

[0297] In this embodiment, when the first information includes the FTS root index and / or the STS root index, the second device can quickly receive the FTS and / or the STS in the second information based on the first information.

[0298] This is because the first information includes the FTS root index and the STS root index. Specifically, the root index of the local signal that needs to be generated to receive the FTS and the STS is known to the T-node device. Therefore, during synchronization, the T-node device directly generates or determines the local sequence using the FTS root index and the STS root index respectively, and then receives the FTS and the STS based on the local sequence, so it is possible to improve the clock synchronization efficiency of the T-node device.

[0299] For example, when the FTS root index is known to the second device and the FTS root index is 1, the second device may determine that the first device has transmitted an FTS with a root index of 1. Accordingly, the second device locally obtains a pre-stored FTS sequence with a root index of 1, or locally generates an FTS sequence with a root index of 1, performs correlation processing on the received signal based on this sequence, and may determine from the received signal an FTS with a root index of 1 transmitted by the first device. Since the second device does not need to perform blind detection on the received signal using an FTS sequence with a root index of 40 to receive the FTS, it is possible to improve the FTS reception efficiency.

[0300] In another example, when the STS root index is known to the second device and the STS root index is 5, the second device may determine that the first device has transmitted an STS with a root index of 5. Accordingly, the second device locally obtains a pre-stored STS sequence with a root index of 5, or locally generates an STS sequence with a root index of 5, performs correlation processing on the received signal based on this sequence, and may determine from the received signal an STS with a root index of 5 which is transmitted by the first device. Since the second device does not need to perform blind detection on the received signal using STS sequences with root indices from 1 to 4 and from 6 to 20 to receive the STS, it is possible to improve the STS reception efficiency.

[0301] After synchronization is completed, in some embodiments, when the first information does not include any content of the broadcast information, after synchronizing with the second device, the first device needs to further send to the second device the part of the broadcast information that has not been sent to the second device. The second device needs to receive this part of the broadcast information using the SLB access technology to ensure that it receives the complete broadcast information before the second device executes a synchronization connection to the first device.

[0302] In some embodiments, when the first information does not include any content of the communication domain system information, the first device needs to further send to the second device the part of the communication domain system information that has not been sent to the second device. The second device needs to receive this part of the communication domain system information using the SLB access technology to ensure that it receives the complete communication domain system information before the second device executes a synchronization connection to the first device. After receiving the complete broadcast information and the complete communication domain system information, the second device can first establish a connection with the device based on

[0303] S1306: The G node device and the T node device establish an SLB connection based on the first information and the second information.

[0304] Based on the SLB access technology, only the T node device can initiate a connection request to the G node device. Further, in this embodiment, the first device is the G node device and the second device is the T node device. Therefore, in S1306, the second device actively connects to the first device. Based on this, S1306 specifically includes the following contents 6-1 to 6-6.

[0305] 6-1: The SLB module of the second device executes a synchronous connection with the SLB module of the first device based on the broadcast information and communication domain system information in the first information and the second information.

[0306] Optionally, when the auxiliary SLB connection information includes non-content-based resource information and the physical layer identifier of the first device, the second device initiates a non-content-based random access to the first device. In this embodiment, the non-content-based random access process specifically includes the following two-way handshake process.

[0307] (1) The SLB module of the second device sends a first message (Msg1) to the SLB module of the first device. Here, the content of the first message is mainly a random access request, and the random access request includes the physical layer identifier preset or stored by the second device.

[0308] (2) The SLB module of the first device sends a fourth message (Msg4) to the SLB module of the second device. Here, the fourth message is an xrcsetup message, and this setup message includes the physical layer identifier of the SLB module of the second device and is used to respond to the access request of the T node device.

[0309] 6-2: The SLB module of the first device and the SLB module of the second device perform pairing and authentication.

[0310] Optionally, since the pairing and authentication are completed when the first device and the second device establish an SLE connection, the first device and the second device may not perform pairing or authentication when establishing an SLB connection by invoking the SLE connection as an alternative.

[0311] 6-3: The SLB module of the first device sends the SLB connection result to the basic service layer of the first device.

[0312] 6-4: The basic service layer of the first device sends the SLB connection result to the basic application layer of the first device.

[0313] 6-5: The SLB module of the second device sends the SLB connection result to the basic service layer of the second device.

[0314] 6-6: The basic service layer of the second device sends the SLB connection result to the basic application layer of the second device.

[0315] From S1301 to S1306, the SLB connection (specifically, the SLB physical link) between the first device and the second device is successfully established. The first device and the second device can establish a logical link or a service link based on the physical link to transmit service data.

[0316] In the method for establishing the SLB connection according to the present embodiment of the present application, the first device and the second device may transmit auxiliary SLB connection information based on the SLE connection and quickly establish the SLB connection based on the auxiliary SLB connection information, and / or quickly transmit a part of the SLB connection information via the SLE connection, and avoid performing blind detection when establishing the SLB connection to receive that part of the SLB connection information, and may quickly establish the SLB connection. The SLB connection method provided in this embodiment takes a short time and realizes a good user experience.

[0317] For example, the first information used when establishing an SLB connection includes an FTS route index, an STS route index, broadcast information, and communication domain system information, and the second information includes FTS and STS. Referring to FIG. 16, in the process of establishing an SLB connection between a first device and a second device, it can be understood that the interaction process between the first device and the second device mainly includes the following contents (a) to (e). For the respective interaction periods of this part of the content, please refer to Table 3.

[0318] (a) The first device queries about the SLB capabilities of the second device.

[0319] (b) The first device performs role negotiation with the second device.

[0320] (c) The first device sends the first information, namely the FTS route index, the STS route index, the broadcast information, and the communication domain system information, to the second device.

[0321] (d) The second device receives the second information, namely FTS and STS, sent by the first device.

[0322] (e) The first device and the second device perform non-content-based random access.

[0323]

Table 3

[0324] As shown in Table 3, in the process of establishing the SLB connection in this embodiment, the interaction process between the first device and the second device takes a short time, only about 22 ms. Compared with the time taken in the process of establishing the SLB connection without using SLE, the time taken in the process of establishing the SLB connection by using the SLE connection is shortened by about 120 ms. The main reason is that the time taken for the synchronous connection process is significantly shortened.

[0325] In the process of establishing the SLB connection by using the SLE connection, the short time taken for the interaction process between the first device and the second device specifically includes the following factors (1) to (5).

[0326] (1) The time for detecting the types of FTS and STS is shortened. This is because when the second device receives FTS and STS, the FTS route index and the STS route index are known to the second device, and the second device directly determines the corresponding local sequence using the corresponding route index, and then performs correlation processing on the received FTS and STS using the local sequence to determine the types of FTS and STS.

[0327] (2) Broadcast information does not need to be received during the synchronous connection. This is because the first device has previously transmitted broadcast information to the second device based on the SLE connection. Therefore, during the synchronous connection, the second device does not need to receive or detect the broadcast information again.

[0328] (3) Communication domain system information does not need to be received during the synchronous connection. This is because the first device has previously transmitted communication domain system information to the second device based on the SLE connection. Therefore, during the synchronous connection, the second device does not need to receive the communication domain system information again.

[0329] (4) The time taken for the random access process is shortened. This is because the first device has previously transmitted the physical layer identifier and the contention-free access resource parameters to the second device based on the SLE connection. Therefore, when synchronously connecting to the first device, the second device can connect to the device in the contention-free random access mode first of the device.

[0330] (5) The first device and second the device can exchange the authentication password in the SLB2-direction authentication credentials via the SLE link to reduce the SLB authentication process. Alternatively, when the authentication result for the SLE module is applicable to the SLB module, the SLB authentication process may not be executed.

[0331] In summary, in the method for establishing an SLB connection according to this embodiment, the first device and the second device can transmit the auxiliary SLB connection information (for example, FTS route index, STS route index, physical layer identifier, and contention-free access resource parameters) and a part of the SLB connection information (for example, communication domain system information and broadcast information) used to quickly establish the SLB connection based on the SLE connection. Thereby, the interaction period between the first device and the second device is significantly shortened, the efficiency of establishing the SLB connection is improved, and the user experience is improved.

[0332] (II) No SLE connection is established between the first device and the second device.

[0333] In some embodiments, when no SLE connection is established between the first device and the second device and the first device has high-bandwidth service requirements, the first device may first establish an SLE connection with the second device and then quickly establish an SLB connection based on the method shown in S1301 to S1306. Details of this embodiment will not be described in detail herein.

[0334] In some other embodiments, when the SLB module of the first device is activated as the G role and the SLB module of the second device is activated as the T role (in other words, the first device is the G node device and the second device is the T node device), when the SLE connection is not established between the first device and the second device, the first device may be discovered by the second device via the SLE broadcast. When the second device has high-bandwidth service requirements, the second device may perform a synchronization connection with the first device and establish an SLB connection with the first device. For details, please refer to FIGS. 17A and 17B.

[0335] FIGS. 17A and 17B are schematic flowcharts for establishing an SLB connection between a first device and a second device according to still another embodiment of the present application. This method relates to a process of establishing an SLB connection by invoking an SLE broadcast when the SLE connection is not established between the first device and the second device. This method includes the following steps S1701 to S1704.

[0336] S1701: The first device sends an SLE broadcast, where the SLE broadcast carries the first information of the first device.

[0337] In this embodiment, the SLB module of the first device assumes the G role and is in the awake state, and the SLB module of the second device assumes the T role and is in the awake state. In other words, the first device is the G node device and the second device is the T node device. Since the SLE module has the advantage of low power consumption, the SLE module of the first device may periodically send an SLE broadcast to the outside based on the upper-layer settings (for example, after startup or according to a user command), and may also add the first information and other contents to the SLE broadcast.

[0338] In this embodiment, the first information includes at least one of auxiliary SLB connection information and / or a first part of the SLB connection information (i.e., broadcast information and communication domain system information).

[0339] The auxiliary SLB connection information includes at least one of the following contents (1) to (3): (1) the broadcast frequency and bandwidth of the G node device, (2) the FTS route index, and (3) the STS route index. For the specific content of each of the auxiliary SLB connection information, please refer to the above description. In this specification, the details will not be repeatedly described in this embodiment. In this embodiment, since the auxiliary connection information is transmitted via the SLE broadcast, it should be noted that the auxiliary SLB connection information does not include the device identifier or authentication credentials of the first device from the perspective of ensuring the information security of the first device.

[0340] The SLB connection information includes FTS, STS, broadcast information, and basic communication domain system information, where the broadcast information and the basic communication domain system information are the first part of the SLB connection information.

[0341] In this embodiment, the communication domain system information may include the following contents a to g.

[0342] a. Domain name (MAC address): DomainID::=BIT STRING(SIZE(48))

[0343] b. Carrier channel number: CarrierChannelConf::=SEQUENCE(SIZE(1...32)) OF ChannelNumber

[0344] c. Parameters of the contention-based access resource pool: ContentionAccessResourceSYS::=SEQUENCE{ contentionAccessResource DedicatedOverheadTimeResource, contentionAccessModulation SR-Modulation, contentionAccessSymNum ENUMERATED{2,3,5,9}, contentionPhysID-starting T-PhysID, contentionPhysID-ending T-PhysID, waitingWindow INTEGER(0...1023), backoffWindow INTEGER(0...1023) } SR-Modulation::=ENUMERATED{qpsk,qam16,qam64,qam256,qam1024}

[0345] d. Target received power for random access: P0-NominalConfig::=SEQUENCE{rach-P0-NominalConfig}

[0346] e. ACK information resource of the T node device: DedicatedACK-ResourceSetConf::=INTEGER(0...31)

[0347] f. Access control: accessControl BIT STRING(SIZE(4)), OPTIONAL,--Need OR

[0348] g. Information about the key negotiation algorithm: keyAlgNegotiation BIT STRING(SIZE(32))

[0349] Referring to the above description, the first information includes, but is not limited to, the following forms.

[0350] For example, the first information includes the broadcast frequency and bandwidth of the first device, or the first information includes the FTS route index, or the first information includes the FTS route index and the STS route index, or the first information includes communication domain system information, or the first information includes broadcast information and communication domain system information, or the first information includes the FTS route index, the STS route index, broadcast information, and communication domain system information, or the first information includes the broadcast frequency and bandwidth of the first device, the FTS route index, the STS route index, broadcast information, and communication domain system information.

[0351] Furthermore, in some embodiments, when transmitting broadcast information or communication domain system information to the second device via the SLE broadcast, the first device may alternatively transmit only some of the content of the broadcast information or communication domain system information.

[0352] The specific process of the first device broadcasting the first information in S1701 includes the following contents 1-1 to 1-7.

[0353] 1-1: The application layer of the first device determines to establish an SLB connection by invoking the SLE broadcast.

[0354] In some embodiments, the application layer of the first device determines to establish an SLB connection by leveraging an SLE broadcast based on default settings. For example, after the SLE function becomes available or after a specific application (such as a video playback application or an instant messaging application) is launched, first the device determines to establish an SLB connection by leveraging an SLE broadcast.

[0355] In some other embodiments, after receiving an operation performed by the user on the auxiliary connection control, the application layer determines to establish an SLB connection by leveraging an SLE broadcast.

[0356] 1-2: The application layer of the first device sends an auxiliary connection instruction to the basic application layer of the first device. The auxiliary connection instruction is used to instruct the first device to use an SLE broadcast to assist in establishing an SLB connection with another device.

[0357] 1-3: The basic application layer of the first device sends the auxiliary connection instruction to the basic service layer of the first device.

[0358] 1-4: The basic service layer of the first device sends a first information query message to the SLB module of the first device, where the first information query message is used to query the first information of the first device.

[0359] 1-5: The SLB module of the first device returns the first information to the basic service layer of the first device.

[0360] 1-6: The basic service layer of the first device sends a broadcast instruction to the SLE module of the first device, where the broadcast instruction carries the first information and is used to control the SLE module to send an SLE broadcast that carries the first information.

[0361] 1-7: The SLE module of the first device notifies the first information. In this embodiment, the SLE module of the first device notifies the first information simultaneously on three channels.

[0362] For example, as shown in FIG. 18, the payload of the SLE broadcast includes a header and a data part. The data part includes N data structures. Each of the data structures includes a data type, length information of the data, and data content. The data type occupies 1 byte, the length information of the data occupies 1 byte (Bytes), and the data content occupies Length bytes. For example, when the data length Length is 0x64, the data content occupies 100 bytes.

[0363] When the SLE broadcast conveys the first information, in the data structure that conveys the first information, the data type indicates that the data is the first information, and the data content is the specific first information.

[0364] It should be noted that after the SLE module of the first device (G node device) is started, it begins to notify the first information, and some basic connection information (such as broadcast information and communication domain system information) for establishing an SLB connection or some auxiliary connection information (such as FTS route index and STS route index) for accelerating the establishment of an SLB connection may be notified to surrounding devices using the SLE function before the first device has high-bandwidth service requirements.

[0365] S1702: The second device scans the SLE broadcast to obtain the first information carried in the SLE broadcast.

[0366] When the second device (T node device) does not have high-bandwidth service requirements, to reduce power consumption, the second device controls the SLB module of the second device to sleep, and only the SLE module may be kept scanning for SLE broadcasts periodically to receive SLE broadcasts. When the second device needs to process high-bandwidth services, the T node device activates the SLB module of the T node device and quickly establishes an SLB connection using the first information in the previously received SLE broadcast. Alternatively, when the T node device needs to process high-bandwidth services, the T node device first scans for SLE broadcasts to receive an SLE broadcast to obtain the first information, and then executes an SLB connection.

[0367] For example, as shown in FIG. 19, the first device (G node device) is a television, and the second device (T node device) is a mobile phone. After being started, the television may transmit an SLE broadcast externally, where the SLE broadcast carries the first information. When the mobile phone does not have high-bandwidth service requirements, the mobile phone controls the SLB module of the mobile phone to sleep, and only the SLE may be kept scanning for SLE broadcasts periodically to receive SLE broadcasts. After the mobile phone detects an operation executed by the user on the screen projection control, the mobile phone may execute an SLB connection using the first information in the received SLE broadcast.

[0368] When the second device obtains the first information via an SLE broadcast the first device the second device may determine that the first device has SLB communication capabilities, in other words, the second device may determine that it has discovered a first device with an SLB communication function.

[0369] When the first device notifies the surrounding T-node devices of the first information using the SLE access technology, it should be noted that another G-node device may also notify the first information of the G-node device using the SLE access technology. Therefore, the second device may receive the first information transmitted by a plurality of G-node devices. In other words, the second device may discover a plurality of electronic devices having the SLB communication function.

[0370] In this embodiment, the process by which the second device (T-node device) scans for the presence of an SLE broadcast and receives the SLE broadcast specifically includes the following content from 2-1 to 2-4.

[0371] 2-1: The application layer of the second device sends an SLE device discovery request to the basic service layer.

[0372] For example, the first device is a television and the second device is a mobile phone. The mobile phone may trigger the application to send an SLE device discovery request to the basic service layer based on the default periodic scan setting or in accordance with another application requirement for discovering an SLE device.

[0373] 2-2: The basic application layer of the second device sends the SLE device discovery request to the basic service layer of the second device.

[0374] 2-3: The basic service layer of the second device sends a scan command to the SLE module of the second device.

[0375] 2-4: The SLE module of the second device sends an SLE broadcast containing the first information discovered by the scan to the basic service layer of the second device.

[0376] S1703: When the second device has high-bandwidth service requirements, the second device receives the second information transmitted by the first device.

[0377] For example, as shown in FIGS. 20A and 20B, in a process of playing a high-definition video using a video playback application by a second device, when the second device detects an operation performed by a user on a screen projection control on a video playback interface, it indicates that the second device has high-bandwidth service requirements for screen projection. Therefore, the second device displays a list of available G-node devices based on the previously received first information of the G-node device. In response to an operation of selecting the first device (e.g., a living room television) from the list of G-node devices by the user, the second device begins to receive the second information transmitted by the first device.

[0378] Alternatively, when the first device is a screen projection device commonly used by the second device, after detecting an operation performed by the user on a screen projection control on a video playback interface, the second device uses the first device as the default screen projection device as it is and receives the second information transmitted by the first device.

[0379] The second information includes a portion of the SLB connection information that has not been previously transmitted to the second device via SLE broadcast.

[0380] In some embodiments, when the SLB connection information in the first information includes only broadcast information, the second information includes FTS, STS, and communication domain system information.

[0381] In some other embodiments, when the SLB connection information in the first information includes only communication domain system information, the second information includes FTS, STS, and broadcast information.

[0382] In still some other embodiments, when the SLB connection information in the first information includes both broadcast information and communication domain system information, the second information includes FTS and STS.

[0383] In some other embodiments, when the first information does not include SLB connection information, the second information includes FTS, STS, broadcast information, and communication domain system information.

[0384] Specifically, S1703 includes the following contents 3-1 to 3-4.

[0385] 3-1: The application on the second device sends the service requirements to the basic application layer of the second device.

[0386] For example, the first device is a television and the second device is a mobile phone. After detecting that the user has selected to connect to the television in the screen projection device search result, the mobile phone may send the service requirements to the basic application layer.

[0387] 3-2: When the service requirement is a high-bandwidth service requirement, the basic application layer of the second device determines to establish an SLB connection with the first device and sends an SLB connection command to the basic service layer of the second device.

[0388] 3-3: The basic service layer of the second device sends the first information and indication information for instructing the second device to connect to the first device to the SLB module of the second device.

[0389] 3-4: The second device receives the second information sent by the first device.

[0390] If the first information includes the broadcast frequency and bandwidth of the first device, that is, if the second device already knows the broadcast frequency and bandwidth at which the first device transmits the second information when the second device receives the second information, it should be noted that the second device can receive the second information at that broadcast frequency and bandwidth to improve the efficiency of receiving the second information.

[0391] When transmitting the second information, the first device first transmits FTS and STS. The SLB module of the second device receives the FTS and / or STS and performs downlink synchronization with the first device based on the FTS and / or STS. For details, please refer to the above description. In this specification, the details will not be described repeatedly in this embodiment. After the downlink synchronization is completed, the second device receives broadcast information and / or receives communication domain system information based on the broadcast information and / or, and / or subsequently based on the communication domain system information first can establish a connection with the device of.

[0392] In some embodiments, when the first information does not include any content of the broadcast information, after synchronizing with the second device, the first device further needs to transmit to the second device the part of the broadcast information that has not been transmitted to the second device. The second device needs to receive this part of the broadcast information using the SLB access technology to ensure that the second device receives the complete broadcast information before performing the synchronization connection with the first device.

[0393] In some embodiments, when the first information does not include any content of the communication domain system information, the first device further needs to send to the second device the part of the communication domain system information that has not been sent to the second device. The second device needs to receive this part of the communication domain system information using the SLB access technology to ensure that the second device receives the complete communication domain system information before executing the synchronization connection with the first device.

[0394] S1704: The second device and the first device establish an SLB connection based on the first information and the second information. Specifically, the following contents 4-1 to 4-6 are included.

[0395] 4-1: The SLB module of the second device executes a synchronization connection with the SLB module of the first device based on the broadcast information and the communication domain system information in the first information and the second information.

[0396] In this embodiment, it should be noted that the auxiliary SLB connection information does not include the physical layer identifier of the first device. In other words, the first device does not allocate the physical layer identifier of the first device to the second device, and the communication domain system information sent by the first device to the second device includes the contention-based access resource information of the first device. Therefore, in the process of connecting to the first device, the second device cannot select the non-contentious-based random access resource of the first device and can only execute contention-based random access. For details of the contention-based random access process, refer to the relevant description in S404. In this specification, details will not be repeatedly described in this embodiment.

[0397] 4-2: The SLB module of the second device and the SLB module of the first device execute pairing and authentication.

[0398] 4-3: The SLB module of the first device transmits the SLB connection result to the basic service layer of the first device.

[0399] 4-4: The basic service layer of the first device transmits the SLB connection result to the basic application layer of the first device.

[0400] 4-5: The SLB module of the second device transmits the SLB connection result to the basic service layer of the second device.

[0401] 4-6: The basic service layer of the second device transmits the SLB connection result to the basic application layer of the second device.

[0402] In the above steps S1701 to S1704, when the SLE connection is not established between the first device and the second device, the SLB connection between the first device and the second device can be quickly established by leveraging the SLE broadcast, and thus the user experience is good.

[0403] For example, the first information used during the establishment of the SLB connection includes the FTS route index, STS route index, broadcast information, and communication domain system information, and the second information includes FTS and STS. Referring to FIG. 21, in the process of establishing an SLB connection between the first device and the second device, the interaction process between the first device and the second device can be understood to mainly include the following contents (a) to (c). For the interaction period of each part of this content, please refer to Table 4.

[0404] (a) The first device pre-notifies the second device of the first information, namely the FTS route index, STS route index, broadcast information, and communication domain system information.

[0405] (b) The second device receives second information transmitted by the first device, namely FTS and STS.

[0406] (c) The first device and the second device perform contention-based random access.

[0407]

Table 4

[0408] As shown in Table 4, it can be understood that the process of establishing the SLB connection in this embodiment takes a short time, only about 30 ms. Compared with the time taken for the process of establishing the SLB connection without using SLE, the time taken for the process of establishing the SLB connection using SLE is shortened by about 110 ms. The main reason is that the time taken for the synchronous connection process is significantly shortened. broadcast In the process of establishing the SLB connection using the SLE broadcast, the short time taken for the interaction process between the first device and the second device specifically includes the following factors (1) to (3).

[0409] The time taken for detecting the types of FTS and STS is shortened. This is because when the second device receives FTS and STS, the FTS route index and the STS route index are known to the second device, and the second device can directly generate the corresponding local sequence using the corresponding route index, and then perform correlation processing on the received FTS and STS using the local sequence to determine the types of FTS and STS.

[0410] (1) The time for detecting the types of FTS and STS is shortened. This is because when the second device receives FTS and STS, the FTS route index and the STS route index are known to the second device, and the second device can directly generate the corresponding local sequence using the corresponding route index, and then perform correlation processing on the received FTS and STS using the local sequence to determine the types of FTS and STS.

[0411] (2) The broadcast information does not need to be received by blind detection during the synchronous connection. This is because the first device has previously obtained the broadcast information by scanning for the SLE broadcast to see if there is any and receiving the SLE broadcast. Therefore, during the synchronous connection, the second device does not need to detect the broadcast information again.

[0412] (3) The communication domain system information does not need to be received by blind detection during the synchronous connection. This is because the first device has previously obtained the communication domain system information by scanning for the SLE broadcast to see if there is any and receiving the SLE broadcast. Therefore, during the synchronous connection, the second device does not need to receive the communication domain system information again.

[0413] In summary, when the SLE connection is not established between the first device and the second device, the first device adds the auxiliary SLB connection information and / or a part of the SLB connection information to the SLE broadcast so that the second device can pre-acquire the auxiliary SLB connection information from the broadcast for later use during the SLE scan. When the second device later needs to establish an SLB connection due to service requirements, the second device can quickly establish an SLB connection with the first device using the acquired auxiliary SLB connection information and / or a part of the SLB connection information. In this way, the time taken for the process of the synchronous connection between the first device and the second device is significantly shortened, the efficiency of establishing the SLB connection is improved, and the user experience is improved.

[0414] Hereinafter, an exemplary process in which the first device (G node device) and the second device (T node device) perform pairing and authentication in the embodiments of the present application will be described.

[0415] FIG. 22 is a flowchart showing the process by which the first device and the second device according to the embodiment of the present application perform pairing and authentication. Specifically, this process includes the following steps S2201 to S2203.

[0416] S2201: The first device and the second device perform negotiation about the pairing mode.

[0417] The pairing modes of the first device (G node device) and the second device (T node device) include value comparison, communication code input, direct connection, PIN code input, out-of-band (OOB) mode (for example, transmission based on SLE connection), etc. The first device and the second device determine the pairing mode through negotiation based on the input / output (I / O) capabilities. The I / O capabilities include whether there is keyboard input, whether there is screen output, etc.

[0418] In this embodiment, the specific process of the negotiation about the pairing mode includes the following content.

[0419] The SLB module of the second device sends a security request to the SLB module of the first device, where the security request is used by the second device to actively start the pairing process. It should be noted that when the first device actively starts the pairing process, the second device may not send the security request to the first device as an alternative.

[0420] The SLB module of the first device sends a pairing request to the SLB module of the second device, where the pairing request includes the I / O capabilities and other information of the SLB module of the first device to start the pairing process for the first device.

[0421] The SLB module of the second device sends a pairing response message to the SLB module of the first device, where the pairing response message includes the I / O capabilities and other information of the SLB module of the second device.

[0422] The SLB module of the first device sends a pairing confirmation message to the SLB module of the second device, where the pairing confirmation message is used to exchange public keys, random parameters, etc. with the second device.

[0423] The SLB module of the second device sends initial pairing information to the SLB module of the first device, where the initial pairing information includes the public key, random parameters, etc. of the second device.

[0424] S2202: The first device and the second device perform mutual authentication.

[0425] The first device and the second device perform pairing in the pairing mode (e.g., PIN code input) determined by the negotiation of S2201. Specifically, they exchange identification verification information, generate an inspection Diffie-Hellman (DH) key (i.e., DH key) based on the identification verification information, and complete mutual authentication by inspecting the DH key.

[0426] In the process where the first device and the second device establish an SLB connection by leveraging an SLE connection, the first device and the second device may transmit identification verification information based on the SLE connection.

[0427] S2203: The first device and the second device execute an encryption control process.

[0428] Optionally, after the SLB module of the second device sends an encryption enable command to the SLB module of the first device, the first device and the second device encrypt the data or SLB link to be transmitted using the DH key. Alternatively, after the DH key is verified between the first device and the second device, the data or SLB link to be transmitted is directly encrypted using the DH key.

[0429] The SLB module of the first device and the SLB module of the second device may refresh the key during communication. The key refresh process includes two processes, namely, the process of interrupting encryption and the process of enabling encryption. Specifically, encryption needs to be interrupted first, then the key is updated, and then encryption is enabled using the new key.

[0430] It should be understood that the continuation numbers of the steps in the above embodiments do not mean the execution order. The execution order of the process should be determined based on the functions and internal logics of the process and should not be construed as any limitation to the implementation process of the embodiments of the present application.

[0431] Based on the method for establishing the SLB connection in the above embodiments, the embodiments of the present application further provide the following technical solutions.

[0432] The embodiments of the present application provide an apparatus for establishing an SLB connection. This apparatus is used in a first device, and this apparatus A first SLE module configured to transmit first information to a second device using SLE access technology, A first SLB module configured to transmit second information to the second device using SLB access technology and establish an SLB connection with the second device according to the request of the second device, where this request is transmitted by the second device based on the first information and the second information, the first SLB module including.

[0433] The first device is an authorized node device, and the second device is a terminal node device. Both the first device and the second device support communication using SLB access technology and SLE access technology.

[0434] Optionally, the first SLE module is configured to transmit first information to the second device using SLE access technology when a SLE connection is established between the first device and the second device 、S configured to transmit the first information to the second device via an LE connection, or when a SLE connection is not established between the first device and the second device 、S configured to transmit the first information to the second device via an LE broadcast.

[0435] Optionally, the first information includes at least one of the following: the broadcast frequency and bandwidth of the first device, the root index of the synchronization signal of the first device, the physical layer identifier of the first device, the authentication credentials of the first device, all or part of the content of the broadcast information of the first device, and all or part of the content of the communication domain system information of the first device. When the first information is transmitted via a SLE broadcast, the first information does not include a physical layer identifier or authentication credentials.

[0436] Optionally, the second information includes a synchronization signal, the part of the broadcast information that is not included in the first information, and the part of the communication domain system information that is not included in the first information.

[0437] Another embodiment of the present application further provides a device for establishing an SLB connection. This device is used in the second device, and this device a second SLE module configured to receive first information transmitted by the first device using SLE access technology, A second SLB module configured to receive second information transmitted by a first device using an SLB access technology and establish an SLB connection with the first device based on the first information and the second information using the SLB access technology, and includes.

[0438] The first device is an authorization node device, and the second device is a terminal node device. Both the first device and the second device support communication using SLB access technology and SLE access technology.

[0439] Optionally, the configuration that the second SLE module receives the first information transmitted by the first device using the SLE access technology means that when an SLE connection is established between the first device and the second device, the second device receives the first information transmitted by the first device via the SLE connection, or when no SLE connection is established between the first device and the second device, the second device receives the first information transmitted by the first device via an SLE broadcast.

[0440] Optionally, the first information includes at least one of the following: the broadcast frequency and bandwidth of the first device, the root index of the synchronization signal of the first device, the physical layer identifier of the first device, the authentication credentials of the first device, all or part of the content of the broadcast information of the first device, and all or part of the content of the communication domain system information of the first device. When the first information is received via an SLE broadcast, the first information does not include a physical layer identifier or authentication credentials.

[0441] Optionally, the second information includes a synchronization signal, the part of the broadcast information that is not included in the first information, and the part of the communication domain system information that is not included in the first information.

[0442] Optionally, when the first information includes a broadcast frequency and a bandwidth, the second SLB module is configured to establish an SLB connection with the first device based on the first information and the second information using an SLB access technique, and this includes the following.

[0443] That is, the second SLB module is configured to receive a synchronization signal based on the broadcast frequency and the bandwidth, synchronize with the first device based on the synchronization signal, receive a portion of the second information that is not included in the first information and a portion of the communication domain system information that is not included in the first information based on the broadcast frequency and the bandwidth, and establish an SLB connection with the first device based on the broadcast information and the communication domain system information using the SLB access technique.

[0444] Optionally, when the first information includes a root index of a synchronization signal, the second SLB module is configured to establish an SLB connection with the first device based on the first information and the second information using an SLB access technique, and this includes the following.

[0445] That is, the second SLB module is configured to receive a synchronization signal based on the root index of the synchronization signal, synchronize with the first device based on the synchronization signal, receive a portion of the broadcast information that is not included in the first information and a portion of the communication domain system information that is not included in the first information, and establish an SLB connection with the first device based on the broadcast information and the communication domain system information using the SLB access technique.

[0446] Optionally, when the synchronization signal includes FTS and STS and the root index of the synchronization signal includes the FTS root index and the STS root index, the second SLB module is configured to receive the synchronization signal based on the root index of the synchronization signal, which includes that the second SLB module is configured to receive FTS based on the FTS root index and receive STS based on the STS root index.

[0447] Optionally, when the first information includes the physical layer identifier of the first device, the second SLB module being configured to establish an SLB connection with the first device based on the first information and the second information using the SLB access technology includes the following. That is, the second device receives the synchronization signal. The second device synchronizes with the first device based on the synchronization signal. The second device receives the portion of the broadcast information that is not included in the first information and the portion of the communication domain system information that is not included in the first information. The second device establishes an SLB connection with the first device in a non-contention-based random access mode based on the physical layer identifier, the broadcast information, and the communication domain system information.

[0448] Optionally, when the first information includes authentication credentials, the second SLB module being configured to establish an SLB connection with the first device based on the first information and the second information using the SLB access technology includes the following.

[0449] That is, the second SLB module is configured to receive the synchronization signal, synchronize with the first device based on the synchronization signal, receive the portion of the broadcast information that is not included in the first information and the portion of the communication domain system information that is not included in the first information, and establish an SLB connection with the first device based on the authentication credentials, the broadcast information, and the communication domain system information using the SLB access technology.

[0450] An embodiment provides an electronic device. This electronic device includes the spark link short-range wireless communication protocol architecture shown in the above embodiment, and is configured to execute a method for establishing an SLB connection executed by the first device or the second device in the above embodiment.

[0451] An embodiment provides a chip. As shown in FIG. 23, this chip includes a processor and a memory. The memory stores a computer program. When the computer program is executed by the processor, a method for establishing an SLB connection by leveraging the SLE technology executed by the first device or the second device in the above embodiment is implemented.

[0452] An embodiment provides a computer-readable storage medium. This computer-readable storage medium stores a computer program. When the computer program is executed by the processor, a method for establishing an SLB connection by leveraging the SLE technology executed by the first device or the second device in the above embodiment is implemented.

[0453] An embodiment provides a computer program product. This program product includes a computer program. When the computer program is executed by an electronic device, the electronic device can implement a method for establishing an SLB connection by leveraging the SLE technology executed by the first device or the second device in the above embodiment.

[0454] The processor referred to in the embodiments of the present application may be a central processing unit (CPU), or may be another general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or another programmable logic device, discrete gate or transistor logic device, or discrete hardware component, etc. It should be understood that the general-purpose processor may be a microprocessor, or this processor may be any conventional processor, etc.

[0455] It should be further understood that the memory referred to in the embodiments of the present application may be volatile memory, non-volatile memory, or may include both volatile memory and non-volatile memory. The non-volatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM) and function as an external cache. By way of example and not limitation, many forms of RAM may be used, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and direct rambus RAM (DR RAM).

[0456] In the embodiments provided in the present application, the division into frameworks or modules is merely a logical function division, and in actual implementation, it may be other divisions. For example, multiple frameworks or modules may be combined or integrated into another system, or some features may be ignored or not executed.

[0457] Furthermore, the functional modules in the embodiments of the present application may be integrated into one processing module, each of the modules may physically exist independently, or two or more modules may be integrated into one module. The integrated module may be implemented in the form of hardware or in the form of a software functional module.

[0458] For the sake of easy and concise description, regarding the detailed operation processes of the above system, device, and unit, it should be clearly understood by those skilled in the art that the corresponding processes in the embodiments of the above method may be referred to, and details will not be repeatedly described herein.

[0459] References such as "one embodiment" and "some embodiments" described in the specification of the present application indicate that one or more embodiments of the present application include specific features, structures, or characteristics described with reference to the embodiments. Therefore, descriptions such as "in one embodiment", "in some embodiments", "in some other embodiments", and "in other embodiments" seen in various parts of this specification do not necessarily mean references to the same embodiment. Instead, this description means "one or more, but not all, embodiments" unless otherwise emphasized. "Including", "comprising", "having", and their variants all mean "including but not limited to" unless otherwise emphasized.

[0460] The above embodiments are merely intended to explain the technical solutions of the present application and are not intended to limit the present application. Although the present application has been described in detail with reference to the above embodiments, those skilled in the art can further modify the technical solutions described in the above embodiments or perform equivalent substitutions for some of their technical features without departing from the spirit and scope of the technical solutions of the embodiments of the present application. It should be understood that these modifications and substitutions are included in the protection scope of the present application.

Claims

1. A method for establishing a SparkLink Basic (SLB) connection applicable to a first device, wherein the first device supports communication using SLB access technology and SparkLink Low Energy (SLE) access technology, and the method comprises: transmitting, by the first device, first information to a second device using the SLE access technology; transmitting, by the first device, second information to the second device using the SLB access technology; establishing, by the first device, an SLB connection with the second device according to a request of the second device, wherein the request is transmitted by the second device based on the first information and the second information; including; the first device is an authorized node device, and the second device is a terminal node device; the second information includes a portion of the first device's broadcast information that is not included in the first information, and a portion of the first device's communication domain system information that is not included in the first information.

2. The step of transmitting, by the first device, first information to the second device using the SLE access technology comprises: transmitting, by the first device, the first information to the second device via the SLE connection when the SLE connection is established between the first device and the second device, according to the method of Claim 1.

3. The step of transmitting, by the first device, first information to the second device using the SLE access technology comprises: transmitting, by the first device, the first information to the second device via SLE broadcast when the SLE connection is not established between the first device and the second device, according to the method of Claim 1.

4. The first information includes the following content, namely: the broadcast frequency and bandwidth of the first device; the root index of the synchronization signal of the first device; the physical layer identifier of the first device; the authentication credentials of the first device; all or part of the content of the broadcast information of the first device, and including at least one of all or part of the content of the communication domain system information of the first device, The method according to claim 1, wherein when the first information is transmitted via an SLE broadcast, the first information does not include the physical layer identifier or the authentication credential. **Claim 5** The second information the synchronization signal The method according to claim 4, further comprising. **Claim 6** A method for establishing a SparkLink Basic (SLB) connection applied to a second device, wherein the second device supports communication using SLB access technology and SparkLink Low Energy (SLE) access technology, and the method includes: receiving, by the second device, first information transmitted by a first device using the SLE access technology; receiving, by the second device, second information transmitted by the first device using the SLB access technology; establishing, by the second device, an SLB connection with the first device based on the first information and the second information using the SLB access technology including the first device is an authorized node device, and the second device is a terminal node device, The second information includes a portion of the broadcast information of the first device that is not included in the first information and a portion of the communication domain system information of the first device that is not included in the first information. **Claim 7** The step of receiving, by the second device, first information transmitted by a first device using the SLE access technology is: The method according to claim 6, including receiving, by the second device, the first information transmitted by the first device via the SLE connection when an SLE connection is established between the first device and the second device. **Claim 8** The step of receiving, by the second device, first information transmitted by a first device using the SLE access technology is: The method according to claim 6, further comprising the step of, when an SLE connection is not established between the first device and the second device, the second device receiving the first information transmitted by the first device via an SLE broadcast.

9. The first information includes the following content, namely the broadcast frequency and bandwidth of the first device, the route index of the synchronization signal of the first device, the physical layer identifier of the first device, the authentication credentials of the first device, all or part of the content of the broadcast information of the first device, and all or part of the content of the communication domain system information of the first device, and includes at least one of them, when the first information is received via an SLE broadcast, the first information does not include the physical layer identifier or the authentication credentials, according to the method of claim 6.

10. The second information further includes the synchronization signal, according to the method of claim 9.

11. When the first information includes the broadcast frequency and the bandwidth, the step of the second device establishing an SLB connection with the first device based on the first information and the second information using the SLB access technology includes: the step of the second device receiving the synchronization signal based on the broadcast frequency and the bandwidth; the step of the second device synchronizing with the first device based on the synchronization signal; the step of the second device receiving, based on the broadcast frequency and the bandwidth, the part of the second information that is not included in the first information and the part of the communication domain system information that is not included in the first information; the step of the second device establishing the SLB connection with the first device based on the broadcast information and the communication domain system information using the SLB access technology and includes the method according to claim 10.

12. When the first information includes the route index of the synchronization signal, the step of establishing an SLB connection with the first device based on the first information and the second information by using the SLB access technology by the second device is as follows: The step of receiving the synchronization signal by the second device based on the route index of the synchronization signal; The step of synchronizing with the first device by the second device based on the synchronization signal; The step of receiving, by the second device, the portion of the broadcast information that is not included in the first information and the portion of the communication domain system information that is not included in the first information; The step of establishing the SLB connection with the first device by the second device based on the broadcast information and the communication domain system information by using the SLB access technology The method according to claim 10, comprising the above steps.

13. The synchronization signal includes a first training signal (FTS) and a second training signal (STS), the route index of the synchronization signal includes an FTS route index and an STS route index, and the step of receiving the synchronization signal by the second device based on the route index of the synchronization signal is as follows: The step of receiving the FTS by the second device based on the FTS route index and receiving the STS by the second device based on the STS route index The method according to claim 12, comprising the above steps.

14. When the first information includes the physical layer identifier of the first device, the step of establishing an SLB connection with the first device based on the first information and the second information by using the SLB access technology by the second device is as follows: The step of receiving the synchronization signal by the second device; The step of synchronizing with the first device by the second device based on the synchronization signal; The step of receiving, by the second device, the portion of the broadcast information that is not included in the first information and the portion of the communication domain system information that is not included in the first information; The step of establishing the SLB connection with the first device in a non-contentious-based random access mode based on the physical layer identifier, the broadcast information, and the communication domain system information by the second device The method according to claim 10, comprising the above.

15. When the first information includes the authentication credentials, the step of establishing the SLB connection with the first device based on the first information and the second information by using the SLB access technology by the second device is The step of receiving the synchronization signal by the second device The step of synchronizing with the first device based on the synchronization signal by the second device The step of receiving, by the second device, the portion of the broadcast information that is not included in the first information and the portion of the communication domain system information that is not included in the first information The step of establishing the SLB connection with the first device based on the authentication credentials, the broadcast information, and the communication domain system information by using the SLB access technology by the second device The method according to claim 10, comprising the above.

16. An electronic device, wherein the electronic device supports communication by using the SparkLink basic SLB access technology and the SparkLink low energy SLE access technology, the electronic device is an authorized node device, and the electronic device is configured to execute the method for establishing the SLB connection according to any one of claims 1 to 15.

17. A chip, wherein the chip includes a processor, and the processor executes a computer program stored in a memory to implement the method for establishing the SLB connection according to any one of claims 1 to 15.

18. A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for establishing the SLB connection according to any one of claims 1 to 15 is implemented.

19. A computer program, which, when executed by an electronic device, enables the electronic device to implement the method for establishing the SLB connection according to any one of claims 1 to 15.

Citation Information

Patent Citations

  • Communication method and device

    US20140342670A1