Device and electronic equipment based on wireless short-range communication protocol architecture

Through the wireless short-range communication protocol architecture, the SLB and SLE access layers are used to support high bandwidth or low power transmission, which solves the diversified data transmission needs of different services, improves transmission efficiency and reliability, and reduces delays.

CN115379428BActive Publication Date: 2025-09-05HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110883107.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-05-18
Filing Date
2021-08-02
Publication Date
2025-09-05
Estimated Expiration
2041-08-02

AI Technical Summary

Technical Problem

The existing wireless short-range communication technology cannot meet the diversified data transmission needs of different services, resulting in waste of resources or abnormal data transmission.

Method used

It adopts a wireless short-range communication protocol architecture, including the basic application layer, the basic service layer and the access layer, and supports high bandwidth and low power data transmission capabilities through the SLB and SLE access layers respectively, and selects appropriate communication methods according to service needs.

Benefits of technology

Improve data transmission efficiency, reduce resource waste, meet the needs of different services, while reducing delays and improving reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115379428B_ABST
    Figure CN115379428B_ABST
Patent Text Reader

Abstract

The present application provides a device and electronic device based on a wireless short-range communication protocol architecture, relating to the field of communication technology. The wireless short-range communication protocol architecture in the device includes a basic application layer, a basic service layer and an access layer, and the access layer includes a first access layer and a second access layer. The basic application layer is used to send the business requirements of the communication service to the basic service layer. The basic service layer is used to establish a business channel for the communication service according to the business requirements. The business channel corresponds to the first access layer or the second access layer, and the first access layer and the second access layer support different data transmission capabilities. The basic application layer is also used to send business data of the communication service to the access layer through the business channel. The access layer is used to transmit business data using the first access layer or the second access layer corresponding to the business channel. Through the device provided by the present application, the electronic device can meet the different business requirements of the communication service, improve data transmission efficiency, and reduce resource waste.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on May 18, 2021, with application number 202110543487.8 and application name “A short-range communication protocol architecture based on multi-platforms supporting multiple types of services”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of communication technology, and in particular to a device and electronic equipment based on a wireless short-range communication protocol architecture. Background Art

[0003] With the development of the Internet of Things (IoT), wireless short-range communication technology is being used more and more widely in various fields. For example, in smart home scenarios, mobile phones can achieve end-to-end connection with smart home devices through wireless short-range communication technology, allowing them to manage and control smart home devices.

[0004] Currently, wireless short-range communication technologies include wireless fidelity (WiFi), Bluetooth, etc. Some support high-bandwidth data transmission, while others support low-power data transmission. Currently, when electronic devices are running applications, they usually select a wireless short-range communication technology for communication based on the pre-set settings of the application. However, in actual communication, different services (such as audio services and video services) or different usage scenarios of the same service (such as playing standard-definition videos and playing high-definition videos in video services) usually have different requirements for power consumption and bandwidth. Therefore, using the same communication technology for various services of the same application may lead to problems such as waste of resources or abnormal data transmission. It can be seen that the current wireless short-range communication technology cannot meet the diverse data transmission needs of services. Summary of the Invention

[0005] The present application provides a wireless short-range communication protocol architecture, which can, to a certain extent, solve the problem in the prior art that wireless short-range communication technology cannot meet the data transmission needs of diversified services.

[0006] To achieve the above objectives, this application adopts the following technical solutions:

[0007] In a first aspect, an embodiment of the present application provides a device based on a wireless short-range communication protocol architecture, wherein the wireless short-range communication protocol architecture includes a basic application layer, a basic service layer, and an access layer, wherein the access layer includes a first access layer and a second access layer.

[0008] The basic application layer is used to send business requirements of communication services to the basic service layer.

[0009] The basic service layer is used to establish a service channel for communication services according to service requirements. The service channel corresponds to the first access layer or the second access layer. The first access layer and the second access layer support different data transmission capabilities.

[0010] The basic application layer is also used to send the service data of the communication service to the access layer through the service channel.

[0011] The access layer is used to transmit the service data using the first access layer or the second access layer corresponding to the service channel.

[0012] By using the device based on the wireless short-range communication protocol architecture provided by the embodiments of the present application, electronic devices can select an appropriate communication method for each communication service based on its specific service requirements, while meeting the diverse service requirements. Furthermore, while meeting the diverse service requirements, the device can also improve data transmission efficiency and reduce resource waste.

[0013] In some embodiments, the first access layer is the Star Flash basic SLB access layer, which supports high-bandwidth data transmission capabilities; the second access layer is the Star Flash low-power SLE access layer, which supports low-power data transmission capabilities.

[0014] Through the device provided in the embodiments of the present application, the electronic device can provide high-bandwidth or low-power data transmission capabilities to the communication service according to business requirements.

[0015] In some embodiments, the basic application layer sends the business requirements of the communication service to the basic service layer, specifically including: the basic application layer determines the application identifier AID according to the business requirements; allocates a port Port for the communication service; and requests the basic service layer to establish a business channel for the communication service according to the AID and Port.

[0016] The basic service layer establishes a service channel for the service according to the service requirements, specifically including: the basic service layer determines the TCID of the communication service based on the AID of the communication service and the mapping relationship between each AID and the transmission channel group identifier TCID, and the TCID of the communication service corresponds to the SLB access layer or SLE access layer; and establishes an SLB service channel or SLE service channel corresponding to the TCID of the communication service.

[0017] In some embodiments, the service requirement includes a service type BID and a service quality of service QoS requirement.

[0018] In some embodiments, the base application layer includes:

[0019] Basic communication framework, used to set device discovery and discovery modes, set filtering policies and discoverability levels. And / or,

[0020] A general perception framework for sensing user actions or changing parameters of electronic devices. And / or,

[0021] A general video framework for processing data related to video communication services. And / or,

[0022] A general audio framework for processing data related to audio communication services. And / or,

[0023] A common data framework for encrypting and decrypting data. And / or,

[0024] The vehicle control framework is used to process data related to vehicle control services.

[0025] Through the device provided in the embodiment of the present application, the basic application layer has established a framework for various possible and generally meaningful application scenarios. After receiving the business requirements, the basic application layer selects the corresponding framework to process the corresponding business.

[0026] In some embodiments, the basic service layer includes:

[0027] The device discovery module is used to determine the device role and perform device discovery and discovery. And / or,

[0028] The service management module is used to provide a data structure model for information transmission at the basic application layer, and to provide a method for operating the data structure. And / or,

[0029] The channel management module is used to manage the transmission channels of the basic service layer, including the establishment, maintenance and release of transmission channels. The transmission channels include control channels and service channels. And / or,

[0030] A QoS management module is used to negotiate QoS and determine the quality of service of the communication link. And / or,

[0031] A security management module for managing the security connection of the basic service layer. And / or,

[0032] A multi-domain coordination module is used to control information interaction between multiple communication domains when the electronic device is in multiple communication domains. And / or,

[0033] The measurement management module is used to measure the distance and relative position between the electronic device and other electronic devices based on the received signal strength RSSI and a preset algorithm. And / or,

[0034] 5G fusion module, used to establish a channel for 5G remote management capabilities.

[0035] In some embodiments, the first access layer and the second access layer both include a data link layer and a physical layer; the data link layer includes a link control layer and a media access layer; wherein the link control layer provides services to the basic service layer, used to encrypt / decrypt, segment / reassemble, add sequence numbers, and sort data to form a link control layer protocol data unit LC PDU; the media access layer is used to encapsulate the LC PDU to form a media access layer protocol data unit MAC PDU; the physical layer is used to transmit MAC PDU.

[0036] In a second aspect, an embodiment of the present application provides an electronic device, comprising the device based on the wireless short-range communication protocol architecture shown in the above-mentioned first aspect and each embodiment of the first aspect, and capable of performing wireless short-range communication through the device.

[0037] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the electronic device has the functions that can be achieved by the device based on the wireless short-range communication protocol architecture as shown in the above-mentioned first aspect and the various embodiments of the first aspect.

[0038] In a fourth aspect, an embodiment of the present application also provides a chip system, including a processor. When the processor executes a computer program stored in a memory, the electronic device has the functions that can be achieved by a device based on a wireless short-range communication protocol architecture as shown in the above-mentioned first aspect and each embodiment of the first aspect.

[0039] In the fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device can have the functions that can be achieved by the device based on the wireless short-range communication protocol architecture as shown in the above-mentioned first aspect and each embodiment of the first aspect.

[0040] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 This is a schematic diagram of an application scenario of a wireless short-range communication technology provided by an embodiment of the present application;

[0042] Figure 2A This is a schematic diagram of the structure of a communication domain provided by an embodiment of the present application;

[0043] Figure 2B This is a schematic diagram of the structure of a communication domain provided by another embodiment of the present application;

[0044] Figure 3is a schematic diagram of a wireless short-range communication protocol architecture provided by another embodiment of the present application;

[0045] Figure 4 is a schematic diagram of a transmission channel provided by an embodiment of the present application;

[0046] Figure 5 This is a flowchart of data packet processing under the SLB / SLE technology provided by an embodiment of the present application;

[0047] Figure 6 This is a flowchart of audio service processing under the SLB / SLE technology provided by an embodiment of the present application;

[0048] Figure 7 It is a structural diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0049] The technical solutions provided in the embodiments of the present application are described below with reference to the accompanying drawings.

[0050] It should be understood that in the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is merely a way to describe the association relationship of associated objects, indicating that three relationships can exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0051] In this embodiment, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of the technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this embodiment, unless otherwise specified, "plurality" means two or more.

[0052] With the development of Internet of Things technology, see Figure 1 As shown in the figure, wireless short-range communication technology is increasingly being used in smart cockpits, smart homes, smartphones, smart manufacturing, and other fields. For example, in a smart home scenario, a mobile phone can achieve end-to-end connection with smart home devices through wireless short-range communication technology to manage and control smart home devices. Exemplary smart home devices include tablets, large-screen devices, artificial intelligence (AI) speakers, high-fidelity (HiFi) speakers, temperature sensors, humidity sensors, headphones, virtual reality (VR) devices, and other electronic devices.

[0053] In this embodiment, in addition to smart home devices, electronic devices may also include mobile phones, tablet computers, wearable devices, augmented reality (AR) / virtual reality (VR) devices, laptops, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), robotic arms, cameras, joysticks, monitors, sensors, logistics vehicles, smart shelves, etc. The embodiments of this application do not impose any restrictions on the specific types of electronic devices.

[0054] Existing wireless short-range communication technologies include WiFi, Bluetooth, near-field communication (NFC), ZigBee, and ultra-wideband (UWB). Technologies like WiFi and UWB support high-bandwidth communication and faster data transmission speeds, while technologies like Bluetooth, NFC, and ZigBee support narrow bandwidth, low power consumption, and low-rate communication, helping to conserve device battery life.

[0055] With the emergence and development of new services such as 4K / 8K high-definition video projection, VR gaming, smart home, smart manufacturing, and smart cockpits, wireless short-range communications are required to have low latency, high reliability, and high speed to ensure the normal execution of services. However, currently, when electronic devices are running applications, they usually select a wireless short-range communication technology (such as WiFi) for communication based on the application's pre-set settings. However, in actual communication, different services (specifically communication services, such as audio and video services) or different usage scenarios of the same service (such as playing standard-definition video and playing high-definition video in audio services) usually have different power consumption and bandwidth requirements. Therefore, using the same communication technology for various services of the same application may lead to problems such as resource waste or data transmission anomalies. Therefore, it can be seen that current wireless short-range communication technologies cannot meet the diverse data transmission needs of services.

[0056] To this end, the embodiment of the present application provides a wireless short-range communication protocol architecture for selecting communication technology according to the specific business requirements of each business, which can reduce the delay of existing wireless short-range communication to a certain extent, improve the reliability of wireless short-range communication, improve resource utilization, increase data transmission rate, and meet the diversified data transmission needs of the business.

[0057] To facilitate understanding of the solution, some nouns or terms involved in the embodiments of this application are explained below.

[0058] (1) G-node / T-node

[0059] Under the wireless short-range communication protocol architecture provided in this embodiment, electronic devices are divided into management nodes (i.e., Grant nodes, referred to as G nodes) and managed nodes (i.e., Terminal nodes, referred to as T nodes). A G node can manage at least one T node, and G nodes and T nodes are connected to jointly complete specific communication functions (such as projecting the screen from a mobile phone to a TV, transmitting data from a mobile phone to a computer, etc.). The communication link between the G node and the T node is called a GT link.

[0060] (2) Communication domain

[0061] In this embodiment, a communication system composed of a G node and all T nodes connected to it is called a communication domain. Figure 2A As shown in the figure, taking the smart car scenario as an example, the cockpit domain controller (CDC) can serve as a G node, and various in-vehicle devices (such as microphones, speakers, mobile phones, and other electronic devices) can serve as T nodes. The CDC and in-vehicle devices are connected to jointly implement cockpit entertainment functions. In this case, the CDC and all in-vehicle devices form a communication domain.

[0062] In some embodiments, an electronic device may be in multiple communication domains. For example, see Figure 2B As shown, the CDC, microphone, speaker, and phone form communication domain 1, where the CDC is the G node and the microphone, speaker, and phone are the T nodes. Furthermore, the phone and Bluetooth headset form communication domain 2, where the phone is the G node and the Bluetooth headset is the T node. The phone is in both communication domains 1 and 2.

[0063] (3) SLB / SLE link

[0064] GT links include SparkLink-Basic (SLB) and SparkLink-LowEnergy (SLE). SLB links support high-bandwidth communication and faster data transmission, while SLE links support low-power, small-bandwidth, and low-rate communication, helping to conserve device power.

[0065] (4) Transmission channel

[0066] A transmission channel (TC) is a channel in the basic service layer of the wireless short-range communication protocol architecture. It can handle the mapping of multiple ports upstream and map multiple transmission channels to the same or different logical channels. In this embodiment, the port refers to a logical port, and different services typically correspond to different ports. In other words, different services can be distinguished by the port.

[0067] The transmission channel includes a control channel and a service channel. The service channel is used to transmit service-related data, such as service control instructions, media streams, etc. The control channel is the basis for establishing different service channels between devices. In the process of establishing a service channel between devices, the two electronic devices negotiate on the control channel the parameters required to establish the service channel (such as transmission mode (such as stream mode, flow control mode, retransmission mode, basic mode, etc.) and parameters under different transmission modes, transport channel identifier (TCID) number, and port mapped by the transmission channel, etc.). Different service channels can be established between different services using the same control channel. These services can be services of the same application or services of different applications.

[0068] (5) Logical Link

[0069] A logical link (LC) is a channel at the access layer that can be mapped to multiple transmission channels. In some embodiments, it can also be called a logical channel.

[0070] (6) Physical link

[0071] A physical link is a link at the access layer that can be mapped to multiple logical links. In some embodiments, a physical link can also be called a physical channel.

[0072] The following describes the wireless short-range communication protocol architecture provided in the embodiments of the present application.

[0073] Electronic devices typically store a variety of applications, such as settings applications, multi-screen collaboration applications, screen projection applications, audio applications, video applications, gallery applications, camera applications, navigation applications, map applications, email clients, and game applications. During the operation of each application, if the services provided require wireless short-range communication with other electronic devices, this wireless short-range communication protocol architecture can be used to achieve the required communication functions.

[0074] Figure 3 This is a schematic diagram of the wireless short-range communication protocol architecture provided by the embodiment of the present application. Figure 3As shown, the protocol architecture includes a basic application layer, a basic service layer, and a Star Flash access layer (also called an access layer). Among them, the basic application layer and the basic service layer can be collectively referred to as the Host protocol architecture.

[0075] The basic application layer defines various frameworks common to different applications. Each framework defines its own message format and application rules. To enable communication between different devices on different platforms, the basic application layer establishes frameworks for various possible and universally applicable application scenarios. Examples include a basic communication framework, a universal perception framework, a universal video framework, a universal audio framework, a universal data framework, and an in-vehicle control framework. After receiving service requirements, the basic application layer selects the appropriate framework to handle the corresponding business.

[0076] The basic communication framework is used to set device discovery and discovery modes (such as broadcast mode and polling mode), set filtering policies (for example, in audio service scenarios, only discover electronic devices that support audio devices), set discoverability levels, etc. In addition, the basic communication framework is also used to trigger control channel selection based on service requirements (i.e., select the SLB control channel or the SLE control channel based on service requirements) and allocate port numbers to services.

[0077] The general perception framework is used to detect user operations, device battery information, signal strength, etc. User operations can include touch commands entered on the electronic device screen, air control gestures entered by the user, and voice control commands. Signal strength includes WiFi signal strength, cellular signal strength, Bluetooth signal strength, SLB signal strength, and SLE signal strength.

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

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

[0080] The general data framework is used to encrypt and decrypt data.

[0081] The vehicle control framework is used to process data related to vehicle control services.

[0082] It should be understood that different applications typically have different business requirements, which include business identification (BID) and quality of service (QoS). QoS includes bit rate, latency, sampling rate, and bit width, among others. After detecting the business requirements of an application, the basic application layer can determine the application identification (AID) based on the business requirements, select the corresponding functional module to process the service based on the AID, establish a service channel for the service based on the AID, process the data in the service channel, and send the processed data to the access layer. The AID is used to characterize the QoS capabilities required by the service in the application.

[0083] The basic service layer includes the control plane and the data plane. Among them, the control plane includes functional modules such as device discovery module, service management module, channel management module, QoS management module, security management module, multi-domain coordination module, measurement management module, and 5G fusion module. The data plane includes channel control data, broadcast data, service management data, real-time data, and reliable data, etc. It also includes transmission control adaptation protocol, transmission control protocol / internet protocol (TCP / IP), transparent transmission protocol, etc. It should be noted that some data on the data plane (such as Figure 3 The channel control data in the dotted box, etc.) are usually not included in the initial protocol architecture, but are gradually generated and stored in the process of electronic devices using the protocol architecture.

[0084] The device discovery module is primarily used to determine the device role (i.e., whether the electronic device is a G-node or a T-node), discover and be discovered via broadcast / unicast data links, and determine device information. In this embodiment, the device information includes the device's domain name, media access control (MAC) address, device role, device model, and device capabilities (e.g., wireless connection type, supported communication protocols).

[0085] During the device discovery process, the device discovery module can be specifically used to broadcast the device information of the electronic device itself and scan electronic devices that meet business needs. It should be understood that for wireless short-range communication services, different business needs usually correspond to different types of electronic devices. For example, when a mobile phone is casting a screen, the device discovery module of the mobile phone needs to scan large-screen devices with screen casting display functions, such as TVs, projectors, etc., without scanning other mobile phones or Bluetooth headsets and other electronic devices that do not support screen casting display.

[0086] In addition, in this embodiment, the device discovery module also supports SLB / SLE mutual discovery, that is, in the process of using SLB technology to communicate with the peer device, it can be discovered that the peer device has enabled the SLE communication function, or in the process of using SLE technology to communicate with the peer device, it can be discovered that the peer device has enabled the SLB communication function.

[0087] The service management module is used to provide an abstract data structure model for the control instructions and small data transmission of the basic application layer, as well as methods for operating data structures such as reading, writing, notifying, and indicating.

[0088] The channel management module is used to manage the transmission channels of the basic service layer, including the establishment, maintenance and release of transmission channels. It supports data transmission through the default transmission channel or dynamic allocation of transmission channels for data transmission.

[0089] In addition, the channel management module is also used to manage the establishment and maintenance of cross-layer mapping relationships, including the mapping relationship between the AID of the basic application layer and the TCID of the basic service layer, and the mapping relationship between the TCID of the basic service layer and the logical link identifier (LCID) of the access layer. The mapping relationship between TCID and AID can represent the mapping relationship between the transmission channel and the service. The mapping relationship between TCID and LCID can represent the corresponding relationship between the transmission channel and the logical link.

[0090] The QoS management module manages the static QoS request table for each service and negotiates QoS with the peer. Different services typically have different static QoS request tables, which include parameters such as transmission delay, bit rate, retransmission rate, transmission bandwidth requirements, service type, and bit width. QoS management can alleviate network delays and congestion during communication between electronic devices and peers, improving communication quality.

[0091] The security management module is used to manage the secure connections of the basic service layer, including identity 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.

[0092] The multi-domain coordination module, when an electronic device is in multiple communication domains, is used to control information exchange between communication domains, avoid mutual interference between multiple domains, and maintain load balancing between domains. When an electronic device is in multiple communication domains simultaneously, the multi-domain coordination module needs to manage the establishment of interaction channels between multiple G nodes corresponding to the multiple communication domains, maintain a list of neighboring G nodes and basic information, coordinate resources between multiple domains, perform joint positioning, manage mobility, and achieve load balancing.

[0093] The measurement management module is used to measure the distance between the device and other electronic devices, as well as the device's orientation relative to other electronic devices, based on the received signal strength indication (RSSI) and a preset algorithm. The measurement management module also configures the measurement cycle, reports measurement events and results to the basic application layer, schedules measurement resources, and controls measurement power.

[0094] The 5G Convergence Module establishes a channel for 5G remote management capabilities. Through authentication and authorization mechanisms, it enables devices with cellular 5G remote control capabilities. In other words, the 5G Convergence Module enables each node device to be perceived and controlled by the 5G edge core network. For example, if a G node has core network connectivity but a T node does not, the 5G core network can issue control commands to the T node through the G node, allowing the T node to be controlled by the 5G core network.

[0095] In this embodiment, the Star Flash access layer includes the SLB access layer and the SLE access layer. Both the SLB access layer and the SLE access layer include the data link layer and the physical layer. The data link layer includes the link control layer and the media access layer. The link control layer provides services to the basic service layer.

[0096] On the transmitting end, the link control layer performs necessary operations such as numbering (such as adding sequence numbers, SNs), segmenting, encryption, and integrity protection on upper-layer service data (i.e., data from the basic service layer). The resulting link control layer protocol data unit (LC PDU) is then sent to the media access layer. The media access layer, based primarily on the amount of scheduled resources, multiplexes and encapsulates different LC PDUs to generate media access profile data units (MAC PDUs).

[0097] At the receiving end, the media access layer is responsible for decapsulating the data and delivering it to different logical channels. The link control layer can perform necessary operations such as decryption, reassembly, and sorting on the data, and deliver the service data in sequence to the basic service layer.

[0098] The physical layer is used to provide data transmission services to the data link layer, specifically including the following functions: correctness verification of transmission information and indication to the data link layer, forward error correction (FEC) encoding / decoding of transmission information, hybrid automatic repeat request (HARQ) soft combining, rate matching of transmission information to corresponding physical resources, mapping of encoded transmission information to corresponding physical resources, modulation and demodulation of physical layer control information and physical layer data information, frequency and time synchronization, wireless characteristic measurement and indication to the data link layer, multiple-input multiple-output antenna processing, beamforming, RF processing, etc.

[0099] Based on the wireless short-range communication protocol architecture provided in the above embodiment, the services of the basic application layer can communicate with the opposite end through SLB technology or through SLE technology according to different business needs. Among them, SLB technology is usually used to process services with large bandwidth transmission requirements, such as wireless screen projection services, video call services, etc., and the data throughput during transmission is usually high. SLE technology is usually used to process services with small bandwidth transmission requirements, such as audio playback services based on Bluetooth headsets, mobile phone control services for smart home devices, etc., and the data throughput during transmission is usually low, and the transmission rate and power consumption are also low.

[0100] There are usually many services in the basic application layer. So which services need to use SLB technology to communicate with the other end and which services need to use SLE technology to communicate with the other end, which requires further judgment based on the Host protocol architecture. Figure 4 This section describes how the Host protocol architecture determines the communication method based on business requirements.

[0101] Electronic devices execute corresponding services by running applications. Different applications have the same or different types of services, such as audio services, video services, data transmission services, etc. Different types of services have different service identifiers (BIDs). For example, as shown in Table 1, the service identifier of the audio service is BID1, the service identifier of the data transmission service is BID2, and the service identifier of the video service is BID3. In addition, different services have different requirements for the quality of data transmission service. Some services require high fidelity, low latency, and high speed during data transmission, while some services require low power consumption of the device during data transmission. Therefore, different applications are configured with different QoS for their different services. In the process of establishing a service, the application needs to send its service requirements, that is, the BID and QoS of the service, to the basic application layer.

[0102] Table 1

[0103] BID Business Type BID1 Audio BID2 Data transmission BID3 video … …

[0104] The basic application layer maintains a correspondence between a service's application identifier (AID), BID, and QoS (e.g., as shown in Table 2). Therefore, after receiving a service's BID and QoS, the basic application layer can determine the AID corresponding to the service based on this correspondence. The AID is used to characterize the QoS capabilities required by the service.

[0105] It should be understood that since each application may provide different services, and different services usually have different QoS requirements, an application can have one or more AIDs. In addition, the basic application layer also allocates ports for each service flow and applies for service channels from the basic service layer using the AID and port.

[0106] Table 2

[0107]

[0108] The basic service layer maintains mappings between AIDs and TCIDs (e.g., as shown in Table 3), as well as mappings between TCIDs and SLB / SLEs. Based on these mappings, the basic service layer can determine the corresponding TCID based on the service's AID and establish a mapping between Ports and TCIDs. For example, based on the mappings shown in Table 3, the basic service layer can assign service channel TCID1 to a service with application identifier AID1 and establish a mapping between TCID1 and Port1; assign service channel TCID2 to a service with application identifier AID2 and establish a mapping between TCID1 and Port2.

[0109] Table 3

[0110] AID TCID AID1 TCID1 AID2 TCID2 AID3 TCID3 … …

[0111] Because TCIDs and SLB / SLEs are mapped to each other, the communication technology used (e.g., SLB or SLE) is also determined once the TCID for a service is determined. For example, if the transmission channel identifier for service 1 is TCID1, and TCID1 corresponds to the SLB communication technology, then the communication technology used by service 1 is the SLB communication technology. After receiving service 1's service data, the basic application layer sends this service data to the SLB access layer via the basic service layer's transmission channel TCID1. The SLB access layer then transmits this data to the peer device via the SLB link.

[0112] Under the wireless short-range communication protocol architecture provided in this embodiment, the service processing flow of the SLB technology and the SLE technology is the same. The following describes the service processing flow using the audio service as an example.

[0113] Figure 5 This is a flowchart of the processing of audio services under SLB / SLE technology provided by an embodiment of the present application. When the audio service processing flow is a flow under SLB communication technology, Figure 5 The access layer in is the SLB access layer. When the audio service processing flow is the flow under the SLE communication technology, Figure 5 The access layer in the example is the SLE access layer. The audio service processing flow includes the following steps S1 to S8.

[0114] In this embodiment, two electronic devices communicate in a client / server (C / S) mode, where the electronic device that first initiates the connection is called the client device, and the device that responds to the connection request and establishes a connection with the other device is called the server device. For example, when a mobile phone actively scans for a Bluetooth headset, the mobile phone is the client device, and the Bluetooth headset is the server device.

[0115] Step S1: The client device scans and discovers the server device.

[0116] On the server side, the device discovery module sends device information to its data link layer. This device information includes the device name, service universally unique identifier (UUID), manufacturer information, device type (such as headphones, speakers, large-screen devices, etc.), and device appearance. After receiving the device information, the data link layer sends a broadcast message containing the above device information.

[0117] On the client device side, in response to user operations, the universal audio framework sends an audio device scan instruction to the device discovery module. This audio device scan instruction is used to instruct the device discovery module to scan for devices that support audio playback functions (such as AI speakers, HiFi speakers, Bluetooth headsets, smart speakers, etc.). During the process of scanning audio devices, the device discovery module receives broadcast messages sent by the server device through the data link layer.

[0118] It should be understood that the device discovery module of the client device may scan broadcast messages sent by various electronic devices, some of which support audio services and some do not. Therefore, after receiving the broadcast message, the device discovery module needs to filter the broadcast message according to the current service type (i.e., audio service), filter the electronic devices that support audio services according to the device information in the broadcast information, and send the device information of the electronic devices that support audio services as the scan results to the universal audio framework. For example, after the device discovery module receives the broadcast messages of the refrigerator, air conditioner and speaker, since the client device needs to scan the audio device, the device discovery module only reports the device information of the speaker to the universal audio framework, and does not report the device information of other devices.

[0119] In step S2, the client device and the server device establish a control channel and a default service channel.

[0120] When establishing a service channel between devices, the client and server devices negotiate the parameters required for establishing the service channel over the control channel. The default service channel can be used to transmit control instructions for services (such as audio), such as instructions for negotiating the service port with the server device. Therefore, the client and server devices must first establish the control channel and the default service channel. The details are shown below.

[0121] On the client device side, the universal audio framework sends a first control instruction to the channel management module, which is used to instruct the channel management module to establish a control channel and a default service channel (i.e., the default service channel). According to the first control instruction, the channel management module sends a basic link establishment instruction to the data link layer, which carries parameters such as connection timeout, delay, connection period, and target connection address. According to the basic link establishment instruction, the data link layer of the client device sends a connection request to the data link layer of the server device to request to establish a connection. In addition to carrying parameters such as connection timeout, delay, connection period, and target connection address, the connection request also includes the resource allocation status of the basic link requested to be established at the physical layer.

[0122] On the server side, after receiving the connection request, the data link layer sends it to the channel management module. After confirming parameters such as the connection timeout, latency, and connection period, the channel management module sends a connection permission notification to the client device's data link layer via the local data link layer. Furthermore, the server device's data link layer sends a basic link establishment completion notification to the local channel management module. Based on the established basic link, the universal channel module negotiates with the universal audio framework to establish a control channel and a default service channel in the basic service layer.

[0123] On the client device side, after receiving the basic link establishment completion notification, the data link layer sends the basic link establishment completion notification to the universal audio framework via the channel management module. Based on the established basic link, the channel management module negotiates with the universal audio framework to establish a control channel and a default service channel.

[0124] In step S3, the client device and the server device encrypt the basic link.

[0125] On the client device side, the channel management module controls the security management module to send an encryption notification to the server device via the data link layer. This encryption notification carries key negotiation information, including the encryption key. On the server device side, the security management module receives the encryption notification from the client device via the data link layer and the channel management module, and confirms the encryption method based on the key negotiation information. After confirmation, the security management module controls the channel management module to send an encryption completion notification to the client device via the data link layer. Furthermore, the client device's channel management module also sends a device binding success notification to the local universal audio framework.

[0126] On the client device side, after receiving the encryption completion notification via the data link layer, the security management module sends the encryption completion notification to the channel management module. Subsequently, the channel management module sends a device binding success notification to the universal audio framework.

[0127] In steps S4 to S7 , the client device and the server device establish a non-default service channel (ie, a default service channel).

[0128] In step S4, the client device and the server device negotiate service parameters.

[0129] The client device's universal audio framework sends service control instructions to the server device's universal audio framework to negotiate service parameters with the server. For example, for audio services, these service parameters include codec information (i.e., codec information, such as the encoding format) and transmission bitrate. For data transmission services, these service parameters include data compression method, decoding method, and transmission bitrate.

[0130] After receiving the service control command, the server's universal audio framework replies to the client's universal audio framework with the service parameter negotiation result. This service parameter negotiation result indicates to the client whether the server agrees to use the service parameters provided by the client device to process the corresponding service. If the server agrees to use the client's service parameters, the service parameter negotiation is successful, and the process proceeds to step S5. If the server disagrees, the service parameter negotiation fails, and renegotiation is required.

[0131] In step S5, on the client device, the universal audio framework sends a non-default service channel establishment instruction to the channel management module. This instruction carries the service requirements: BID and QoS. The channel management module sends a QoS negotiation instruction to the server device through the QoS management module to negotiate the link quality (XQI) corresponding to the non-default service channel.

[0132] On the server side, after completing the QoS negotiation according to the non-default service channel establishment instruction, the QoS management module of the server side sends the QoS negotiation result to the QoS management module of the client device. The QoS negotiation result includes the negotiated link quality (ie, XQI).

[0133] In step S6, the client device and the server device adjust or create a new logical link, wherein the adjusted or newly created logical link can meet the transmission requirements of the service data.

[0134] It should be noted that step S6 is optional. If the default logical link can meet the service data transmission requirements, step S6 is not required, that is, S6 can be omitted. If the default logical link cannot meet the service data transmission requirements, the client device and the server device can obtain a logical link that can meet the service data transmission requirements by executing S6.

[0135] In step S7, the client device and the server device establish a service channel.

[0136] After the client and server devices complete QoS negotiation, the client's channel management module sends a service channel establishment request to the server's channel management module via the local data link layer and the server's data link layer. The server's channel management module then sends a service channel establishment completion notification to the local and client's universal audio frameworks, completing the service channel establishment.

[0137] In step S8, the client device sends audio service data to the server device.

[0138] On the client device side, after receiving the audio service data sent by the audio playback application, the universal audio framework sends the audio service data to the local service management module, which then sends it to the server device through the data link layer.

[0139] On the server side, the data link layer receives the audio service data from the client device and sends it to the service management module, which then sends it to the universal audio framework. After the universal audio framework sends the audio service data to the upper-layer audio playback application, the server device can play the audio.

[0140] See Figure 6 , the data transmission process under the short-range communication protocol architecture provided by this embodiment is described below in combination with specific services of different applications.

[0141] At the basic application layer, different applications can provide different services, each with different service requirements. For example, App1 supports audio and data transmission services. Its audio service requirements are: BID1 and QoS1; its data transmission service requirements are: BID2 and QoS2. Another example is App2, which supports audio and data transmission services. Its audio service requirements are: BID1 and QoS3; its data transmission service requirements are: BID2 and QoS4. Another example is App3, which supports video services. Its video service requirements are: BID3 and QoS5.

[0142] After an application initiates a service, the basic communication framework in the basic application layer determines the AID based on the service's requirements and, based on the AID and the mapping between the AID and the port number, allocates an unoccupied port number to the service. The port number and the length of the application layer data, len, are then appended to the application layer data header to form an application layer service data unit (SDU), which is then sent to the basic service layer.

[0143] For example, based on the service requirements BID1 and QoS1 for APP1's audio service, the basic communication framework first determines the application identifier AID1 and assigns port number Port1 to the service. The basic communication framework then adds the port number Port1 and the length of the application layer data, len, to the packet header of the application layer data, forming an application layer SDU. Finally, the basic communication framework sends the application layer SDU to the basic service layer.

[0144] After receiving the application layer SDU, the basic service layer determines the transmission channel identifier (TCID2), for example, based on the correspondence between port number Port1 and the transmission channel. The basic service layer then adds TCID2 and the length of the application layer SDU to form a service layer SDU, which it then sends to the access layer.

[0145] It should be noted that the basic service layer can combine the application layer SDUs of different services into one application SDU and transmit it through the same transmission channel. The different services can belong to the same application or different applications. For example, see Figure 6As shown, the basic service layer can combine the application layer SDUs with port numbers Port3, Port4 and Port5 into one application layer SDU, and transmit it through the transmission channel identified as TCID4.

[0146] After receiving the service layer SDU, the link control layer adds a sequence number (SN) and an upper protocol identifier (UPI) supported by the electronic device to the service layer SDU to form a logical protocol data unit (LC PDU). In this embodiment, the UPI includes at least one of a non-IP protocol, an IP protocol (such as TCP / UDP), a transparent transmission protocol, and the like. The scope of the UPI is determined by the capabilities supported by the access layer. The scope of the UPI varies depending on the transport protocol supported by the underlying layer.

[0147] It should be noted that after processing the service layer SDU, the link control layer can split a service layer SDU into multiple sub-SDUs, add SN and UPI to each of them, and form multiple LC PDUs. For example, see Figure 6 As shown in FIG, for a service layer SDU containing TCID4, the link control layer can split it into SDU1 and SDU2, and then add a sequence number and UPI to SDU1 and SDU2 respectively to form two LC PDUs.

[0148] After generating the LC PDU, the link control layer adds the LCID and the length of the LC PDU, len, to the LC PDU to form a sub-media access control (MAC) PDU. For example, for the LC PDU corresponding to the audio service of App1, the link control layer adds LCID1 and len to it to form a sub-MAC PDU.

[0149] Finally, the access layer can combine one or more sub-MAC PDUs into one MAC PDU, which is then sent to the peer device by scheduling time and frequency domain resources by the physical layer (PHY). These sub-MAC PDUs can be data packets of the same application or data packets of different applications. For example, see Figure 6 As shown in the figure, the access layer can merge the sub-MAC PDUs whose logical links are LCID1, LCID2, and LCID3 into one MAC PDU. For another example, the access layer can also merge the sub-MAC PDUs whose logical links are LCID3, LCID4, and LCID5 into one MAC PDU, and then the physical layer sends the MAC PDU to the peer device.

[0150] In addition, in this embodiment, the application may also use the TCP / IP protocol or the transparent transmission protocol to transmit data. During the transmission process, the processing of the data within the electronic device is as follows.

[0151] Taking App4 as an example, when using the TCP / IP protocol to transmit data, App4 does not need to determine the AID, port number, and TCID based on business needs. Instead, it directly sends the application layer data in App4 to the TCP / IP protocol stack of the basic service layer. The protocol stack adds the IP header and TCP header to the application layer data to form the service layer SDU. Finally, the link control layer in the access layer adds the SN and UPI to the service layer SDU to form the LC PDU, and adds the LCID to the LC PDU to form a sub-MAC PDU. The physical layer then generates a MAC PDU based on one or more sub-MAC PDUs and sends it to the peer device.

[0152] In addition, to increase data transmission rates and reduce data transmission latency, the wireless short-range communication protocol architecture provided in the embodiments of the present application can provide a fast transmission channel from the application to the access layer for a specific application (such as the in-vehicle control application App5). Through this fast transmission channel, the application can directly transparently transmit its application layer data to the link control layer, which then adds the SN and UPI to the data to form an LC PDU and sends the LC PDU to the peer end.

[0153] Based on the wireless short-range communication protocol architecture provided in the above embodiments and the data packets and business processing flow under the protocol architecture, the embodiments of the present application also provide the following technical solutions.

[0154] An embodiment of the present application provides a device based on a wireless short-range communication protocol architecture, wherein the wireless short-range communication protocol architecture includes a basic application layer, a basic service layer, and an access layer, wherein the access layer includes a first access layer and a second access layer.

[0155] The basic application layer is used to send business requirements of communication services to the basic service layer.

[0156] The basic service layer is used to establish service channels for communication services according to service requirements. The service channels correspond to the first access layer or the second access layer. The first access layer and the second access layer support different data transmission capabilities.

[0157] The basic application layer is also used to send business data of communication services to the access layer through the business channel.

[0158] The access layer is used to transmit service data using the first access layer or the second access layer corresponding to the service channel.

[0159] By using the device based on the wireless short-range communication protocol architecture provided by the embodiments of the present application, the electronic device can select an appropriate communication mode (such as SLB or SLE) for each communication service based on the diverse business needs of different communication services. While meeting different business needs, the device can also improve data transmission efficiency and reduce resource waste.

[0160] Optionally, the first access layer is the Star Flash basic SLB access layer, which supports high-bandwidth data transmission capabilities; the second access layer is the Star Flash low-power SLE access layer, which supports low-power data transmission capabilities.

[0161] Optionally, the basic application layer is used to send the business requirements of the communication service to the basic service layer, specifically including: the basic application layer is used to determine the application identifier AID based on the business requirements; allocate a port Port for the communication service; and request the basic service layer to establish a business channel for the communication service based on the AID and Port. The basic service layer is used to establish a business channel for the service based on the business requirements, specifically including: the basic service layer is used to determine the TCID of the communication service based on the AID of the communication service and the mapping relationship between each AID and the transmission channel group identifier TCID, the TCID of the communication service corresponding to the SLB access layer or SLE access layer; and establish an SLB business channel or SLE business channel corresponding to the TCID of the communication service.

[0162] Optionally, the service requirement includes a service type BID and a service quality of service QoS requirement.

[0163] Optionally, the basic application layer is also used to set device discovery and discovery modes, set filtering policies and discoverability levels; and / or perceive user operations or changing parameters of electronic devices; and / or process data related to video communication services; and / or process data related to audio communication services; and / or encrypt and decrypt data; and / or process data related to vehicle control services.

[0164] Optionally, the basic service layer is also used to determine the device role, perform device discovery and be discovered; and / or provide a data structure model for information sending of the basic application layer, and provide a method for operating the data structure; and / or manage the transmission channel of the basic service layer, including the establishment, maintenance and release of the transmission channel, the transmission channel includes a control channel and a business channel; and / or negotiate QoS and determine the service quality of the communication link; and / or manage the secure connection of the basic service layer; and / or control the information interaction between multiple communication domains when the electronic device is in a scenario where the electronic device is in multiple communication domains; and / or measure the distance and relative position of the electronic device to other electronic devices based on the received signal strength RSSI and a preset algorithm; and / or establish a channel for 5G remote management capabilities.

[0165] Optionally, both the first access layer and the second access layer can be used to: provide services for the basic service layer, for encrypting / decrypting, segmenting / reassembling, adding sequence numbers, and sorting data to form a link control layer protocol data unit LC PDU; encapsulating the LCPDU to form a media access layer protocol data unit MAC PDU; and, transmitting the MAC PDU.

[0166] An embodiment of the present application also provides an electronic device, which is the client device or server device provided by the above embodiment, includes the wireless short-range communication protocol architecture provided by the above embodiment, and can communicate with other electronic devices through the SLB and / or SLE technology provided by the architecture.

[0167] An embodiment of the present application also provides a wireless short-range communication system, which includes a client device and a server device, and both the client device and the server device include the wireless short-range communication protocol architecture provided by the above-mentioned embodiment. The client device and the server device can communicate with each other through the SLB and / or SLE technology provided by the architecture.

[0168] The present application also provides a chip system. Figure 7 As shown, the chip system includes a processor and a memory, wherein a computer program is stored in the memory. When the computer program runs on the processor, it can provide the wireless short-range communication protocol architecture provided in the above embodiment to the electronic device.

[0169] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements various communication or data processing methods that can be provided by the wireless short-range communication protocol architecture in the above-mentioned embodiments.

[0170] An embodiment of the present application also provides a computer program product, which includes a program. When the program is run by an electronic device, the electronic device executes various communication or data processing methods that can be provided by the wireless short-range communication protocol architecture in the above-mentioned embodiments.

[0171] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0172] It should be understood that the processor mentioned in the embodiments of the present application may be a central processing unit (CPU), or may be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.

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

[0174] In the embodiments provided in this application, the division of each framework or module is merely a logical function division. In actual implementation, there may be other division methods, for example, multiple frameworks or modules can be combined or integrated into another system, or some features can be ignored or not executed.

[0175] In addition, the functional modules in the various embodiments of the present application may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into a single module. The above-mentioned integrated modules may be implemented in the form of hardware or software functional modules.

[0176] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and modules described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0177] References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure, or characteristic described in conjunction with that embodiment is included in one or more embodiments of the present application. Thus, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in other embodiments" appearing in various places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more but not all embodiments," unless otherwise specifically emphasized. The terms "including," "comprising," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.

[0178] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included in the scope of protection of the present application.

Claims

1. A device based on a wireless short-range communication protocol architecture, characterized in that: The wireless short-range communication protocol architecture includes a basic application layer, a basic service layer and an access layer, and the access layer includes a first access layer and a second access layer; The basic application layer is used to send business requirements of communication services to the basic service layer; The basic service layer is configured to establish a service channel for the communication service according to the service demand, where the service channel corresponds to the first access layer or the second access layer, and the first access layer and the second access layer support different data transmission capabilities; The basic application layer is further configured to send the service data of the communication service to the access layer through the service channel; The access layer is used to transmit the service data using the first access layer or the second access layer corresponding to the service channel.

2. The device according to claim 1, characterized in that The first access layer is a Star Flash basic SLB access layer, and the SLB access layer supports high-bandwidth data transmission capabilities; The second access layer is a Star Flash low power consumption SLE access layer, and the SLE access layer supports low power consumption data transmission capability.

3. The device according to claim 2, characterized in that The basic application layer is used to send the service requirements of the communication service to the basic service layer, specifically including: The basic application layer is used to: Determine the application identifier AID according to the business requirements; Allocate a port Port for the communication service; Requesting the basic service layer to establish a service channel for the communication service according to the AID and the Port; The basic service layer is used to establish a service channel for the service according to the service requirements, specifically including: The basic service layer is used to: Determine the TCID of the communication service according to the AID of the communication service and the mapping relationship between each AID and the transmission channel group identifier TCID, where the TCID of the communication service corresponds to the SLB access layer or the SLE access layer; and Establish an SLB service channel or an SLE service channel corresponding to the TCID of the communication service.

4. The device according to claim 1, characterized in that The service requirements include service type BID and service quality QoS requirements.

5. The device according to any one of claims 1 to 4, characterized in that: The basic application layer includes: Basic communication framework for setting device discovery and discovery modes, setting filtering policies and discoverability levels; and / or, A general perception framework for sensing user actions or changing parameters of electronic devices; and / or A general video framework for processing data related to video communication services; and / or, A general audio framework for processing data related to audio communication services; and / or, A common data framework for encrypting and decrypting data; and / or, The vehicle control framework is used to process data related to vehicle control services.

6. The device according to any one of claims 1 to 4, characterized in that: The basic service layer includes: A device discovery module, used to determine device roles, perform device discovery, and be discovered; and / or, A service management module, configured to provide a data structure model for information transmission at the basic application layer, and a method for operating the data structure; and / or a channel management module, configured to manage the transmission channel of the basic service layer, including the establishment, maintenance, and release of the transmission channel, wherein the transmission channel includes the control channel and the service channel; and / or A QoS management module, configured to negotiate QoS and determine the quality of service of the communication link; and / or a security management module, configured to manage the security connection of the basic service layer; and / or A multi-domain coordination module, configured to control information interaction between multiple communication domains when the electronic device is in multiple communication domains; and / or a measurement management module, configured to measure the distance and relative position between the electronic device and other electronic devices based on the received signal strength RSSI and a preset algorithm; and / or, 5G fusion module, used to establish a channel for 5G remote management capabilities.

7. The device according to any one of claims 1 to 4, characterized in that: The first access layer and the second access layer both include a data link layer and a physical layer; The data link layer includes a link control layer and a media access layer; wherein the link control layer provides services for the basic service layer and is used to encrypt / decrypt, segment / reassemble, add sequence numbers, and sort data to form a link control layer protocol data unit (LC PDU); the media access layer is used to encapsulate the LC PDU to form a media access layer protocol data unit (MAC PDU); The physical layer is used to transmit MAC PDU.

8. An electronic device, characterized in that: The invention comprises a device based on a wireless short-range communication protocol architecture as claimed in any one of claims 1 to 7, and is capable of performing wireless short-range communication through the device.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the electronic device is enabled to have the functions that can be achieved by the device based on the wireless short-range communication protocol architecture as claimed in any one of claims 1 to 7.

10. A chip system, characterized in that: The electronic device comprises a processor, and when the processor executes the computer program stored in the memory, the electronic device has the functions that can be realized by the device based on the wireless short-range communication protocol architecture as claimed in any one of claims 1 to 7.

Citation Information

Patent Citations

  • QOS (Quality of Service)-based method for selecting network connection mode by terminal equipment

    CN102932863A

  • Access method of wireless network, device and terminal

    CN104540176A