WO2017132961A1 - 通信链路建立方法、协议栈、终端及网络设备 - Google Patents

通信链路建立方法、协议栈、终端及网络设备 Download PDF

Info

Publication number
WO2017132961A1
WO2017132961A1 PCT/CN2016/073565 CN2016073565W WO2017132961A1 WO 2017132961 A1 WO2017132961 A1 WO 2017132961A1 CN 2016073565 W CN2016073565 W CN 2016073565W WO 2017132961 A1 WO2017132961 A1 WO 2017132961A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
data packet
network device
network
protocol
Prior art date
Application number
PCT/CN2016/073565
Other languages
English (en)
French (fr)
Inventor
马洁
蔺波
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to BR112018015794A priority Critical patent/BR112018015794A2/pt
Priority to EP16888786.7A priority patent/EP3402307B1/en
Priority to CN201680078469.4A priority patent/CN108605381B/zh
Priority to PCT/CN2016/073565 priority patent/WO2017132961A1/zh
Publication of WO2017132961A1 publication Critical patent/WO2017132961A1/zh
Priority to US16/054,660 priority patent/US20180343701A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/30Security of mobile devices; Security of mobile applications
    • H04W12/33Security of mobile devices; Security of mobile applications using wearable devices, e.g. using a smartwatch or smart-glasses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/02Data link layer protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0268Traffic management, e.g. flow control or congestion control using specific QoS parameters for wireless networks, e.g. QoS class identifier [QCI] or guaranteed bit rate [GBR]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/27Transitions between radio resource control [RRC] states
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/04Terminal devices adapted for relaying to or from another terminal or user
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Definitions

  • the present invention relates to the field of wireless communications, and in particular, to a communication link establishment method, a protocol stack, a terminal, and a network device.
  • the wearable device may upload the data acquired by the wearable device to the network device by using the relay device, so that the network device provides the service for the wearable device, for example, the data acquired by the wearable device includes the physiological data of the wearer acquired by the wearable device,
  • the device can be a smart mobile terminal of the wearer of the wearable device, and the wearable device can also be used as a convenient portable communication tool to provide the wearer with services such as receiving text messages, viewing time and location.
  • wearable devices include smart glasses, smart bracelets, smart watches, smart shoes, and the like.
  • the wearable device in view of the small size of the wearable device, the small battery capacity, and the low power consumption, the wearable device cannot directly communicate with the network device of the cellular network, and the wearable device needs to pass through the network of the relay device and the cellular network.
  • the device communicates.
  • the wearable device In a process in which the wearable device needs to communicate with the network device of the cellular network through the relay device, the wearable device sends the data packet to the relay device, and the relay device parses the data packet at the application (application, APP) layer. And regenerating a data packet, the relay device sends the data packet regenerated by the APP layer to the network device.
  • the network device identifies that the received data packet is sent by the relay device, and the network device cannot recognize that the data packet sent by the relay device is sent by the wearable device, so that the network device cannot directly directly connect to the wearable device.
  • Management not value-added services for wearable devices.
  • the prior art has certain security risks.
  • the listener may monitor the process in which the wearable device negotiates a key for data packet transmission with the relay device, and the listener uses the monitored key to crack the wearable device and the middle.
  • the data packets transmitted between the devices cause security risks to the data packets.
  • the wearable device transmits the data packet to the APP layer of the relay device, and the APP layer parses and regenerates the data packet. In the process of becoming a new data packet, there may be a malicious program inside the relay device to obtain a data packet, which also causes a security risk in the data packet.
  • the embodiments of the present invention provide a communication link establishment method, a protocol stack, a terminal, and a network device, which are used to establish a communication link between the wearable device and the network device, and implement direct management of the wearable device by the network device, thereby reducing
  • the wearable device has a security risk during communication between the relay device and the network device.
  • a method for establishing a communication link includes:
  • the first terminal establishes a connection with the network device by using the second terminal, and the second terminal establishes a cellular network communication link with the network device;
  • the preset protocol is a Bluetooth protocol or a wireless fidelity WIFI protocol, and the communication link based on the preset protocol and the communication link of the cellular network are commonly used by the first terminal to pass the second terminal.
  • the network device transmits a data packet; in the process that the first terminal transmits a data packet by using the second terminal and the network device, the first terminal and the second terminal both have a data packet conversion function.
  • the data packet conversion function refers to converting a transmitted data packet between a data packet based on a preset protocol and a cellular network data packet.
  • the first terminal determines link configuration information, including:
  • the first terminal receives the configuration information of the radio bearer sent by the network device, and the first terminal generates the link configuration information according to the configuration information of the radio bearer, where the radio bearer is the first terminal and a radio bearer between the network devices; or,
  • the first terminal generates the link configuration information according to the pre-configuration information.
  • the first terminal and the second terminal establish a communication chain based on a preset protocol After the road, it also includes:
  • the first terminal transmits a data packet to the network device by using the second terminal.
  • the first terminal by using the second terminal, to transmit a data packet to the network device, includes:
  • the cellular network data packet is transmitted to the network device through the cellular network communication link.
  • the first terminal transmits the data packet to the network device by using the second terminal ,include:
  • the first terminal converts the data packet based on the preset protocol into the cellular network data packet, and delivers the cellular network data packet to the cellular network module for processing.
  • a second aspect of the present invention provides a communication link establishment method, including:
  • the network device establishes a connection with the first terminal by using the second terminal, and the second terminal and the network device have established a cellular network communication link;
  • the network device sends configuration information, where the configuration information is used to establish a communication link based on a preset protocol between the first terminal and the second terminal;
  • the preset protocol is a Bluetooth protocol or a wireless fidelity WIFI protocol, and the communication link based on the preset protocol and the communication link of the cellular network are commonly used by the first terminal to pass the second terminal.
  • the network device transmits a data packet; in the process that the first terminal transmits a data packet by using the second terminal and the network device, the first terminal and the second terminal both have a data packet conversion function.
  • the data packet conversion function refers to converting a transmitted data packet between a data packet based on a preset protocol and a cellular network data packet.
  • the network device establishes a connection with the first terminal by using the second terminal, including:
  • the network device receives, by using the second terminal, a request message sent by the first terminal, where the request message is used by the first terminal to establish a connection with the network device.
  • the sending, by the network device, the configuration information includes:
  • the network device sends the configuration information of the radio bearer to the first terminal and the second terminal, where the configuration information of the radio bearer is used to generate link configuration information, where the link configuration information is used for the first Establishing a communication link based on a preset protocol between the terminal and the second terminal, where the radio bearer is a radio bearer between the first terminal and the network device; or
  • the network device sends link configuration information to the first terminal and the second terminal, where the link configuration information is used to establish a preset protocol between the first terminal and the second terminal. Communication link.
  • the method further includes:
  • the network device transmits a data packet to the first terminal by using the second terminal.
  • the network device transmits the data packet to the first terminal by using the second terminal, including:
  • the network device Receiving, by the network device, the cellular network data packet sent by the second terminal by using the cellular network communication link, where the cellular network data packet is converted by the second terminal by using a data packet based on a preset protocol,
  • the data packet based on the preset protocol is sent by the first terminal to the second terminal by using the communication link based on a preset protocol;
  • a third aspect of the present invention provides a communication link establishment method, including:
  • the second terminal determines that the first terminal establishes a connection with the network device, and the second terminal establishes a cellular network communication link with the network device;
  • the preset protocol is a Bluetooth protocol or a wireless fidelity WIFI protocol, and the communication link based on the preset protocol and the communication link of the cellular network are commonly used by the first terminal to pass the second terminal.
  • the network device transmits a data packet; in the process that the first terminal transmits a data packet by using the second terminal and the network device, the first terminal and the second terminal both have a data packet conversion function.
  • the data packet conversion function refers to converting a transmitted data packet between a data packet based on a preset protocol and a cellular network data packet.
  • the second terminal determines link configuration information, including:
  • the second terminal receives the link configuration information sent by the network device.
  • the second terminal determines link configuration information, including:
  • the second terminal receives configuration information of a radio bearer sent by the network device, where the second The terminal generates the link configuration information according to the configuration information of the radio bearer, where the radio bearer is a radio bearer between the first terminal and the network device.
  • the method further includes:
  • the second terminal sends the link configuration information to the first terminal.
  • the second terminal is established based on the first terminal After the communication link of the preset protocol, it also includes:
  • the second terminal receives the pre-precement sent by the first terminal by using the communication link based on the preset protocol. Set the data packet of the agreement;
  • the second terminal converts the data packet based on the preset protocol into a cellular network data packet, and sends the cellular network data packet to the network device by using the cellular network communication link.
  • the second terminal is established based on the first terminal After the communication link of the preset protocol, it also includes:
  • the second terminal receives the cellular network data packet sent by the network device by using the second terminal and the network device to transmit a data packet by using the second terminal;
  • a fourth aspect of the present invention provides a network connection determining method, including:
  • the first terminal determines that the second terminal can establish a connection with the network device, where the network device is A device in a network to which the second terminal is connected.
  • the acquiring, by the first terminal, the identifier of the network to which the second terminal is connected includes:
  • first information that is broadcast by the second terminal, where the first information includes an identifier of a network to which the second terminal is connected, and a data packet format of the first information is based on a Bluetooth protocol or a wireless protection True WIFI protocol;
  • the first terminal parses the identifier of the network to which the second terminal is connected from the second information.
  • the first terminal determines that, after the second terminal establishes a connection with the network device, ,Also includes:
  • the first terminal sends a request message to the network device by using the second terminal, where the request message is used by the first terminal to establish a connection with the network device.
  • a fifth aspect of the present invention provides a network connection determining method, including:
  • the second terminal Determining, by the second terminal, the first information, where the first information includes an identifier of a network to which the second terminal is connected, and the identifier of the network to which the second terminal is connected is used by the first terminal to determine that the second terminal is Establishing a connection with a network device, where the network device is a device in a network to which the second terminal is connected;
  • the second terminal broadcasts the first information.
  • the second terminal determines the first information, including:
  • the third information includes a flag of a network to which the second terminal is connected, and a data packet format of the third information is based on a cellular network protocol;
  • the second terminal converts the third information into the first information, and the data format of the first information is based on a Bluetooth protocol or a wireless fidelity WIFI protocol.
  • the method further includes:
  • the second terminal forwards the request message sent by the first terminal to the network device, where the request message is used by the first terminal to establish a connection with the network device.
  • a protocol stack is provided in the system, where the protocol stack is applied to a system in which a first terminal is connected to a network device by using a second terminal, where the protocol stack includes: a first terminal protocol stack, and a second a terminal protocol stack and a network device protocol stack;
  • the first terminal protocol stack includes: a cellular network packet synthesis protocol PDCP layer, an adaptation layer, and a preset protocol stack, which are sequentially set from an upper layer to an lower layer; the preset protocol stack is based on a Bluetooth protocol or a wireless fidelity WIFI protocol;
  • the second terminal protocol stack includes: a protocol stack on a first interface side between the second terminal and the first terminal, and a second interface side between the second terminal and the network device Protocol stack;
  • the protocol stack on the first interface side includes: an adaptation layer and a preset protocol stack that are sequentially set from the upper layer to the bottom layer and are equivalent to the first terminal protocol stack;
  • the protocol stack on the second interface side includes: a second radio link control RLC layer, a second medium access control MAC layer, and a second physical PHY layer, which are sequentially disposed from an upper layer to an lower layer;
  • the network device protocol stack includes: a cellular network PDCP layer that is sequentially disposed from the upper layer to the bottom layer and is equal to the first terminal protocol stack, and a second RLC layer that is equivalent to the protocol stack of the second interface side, a second MAC layer and a second PHY layer;
  • a cellular network radio resource control RRC layer is disposed on the cellular network PDCP layer of the first terminal protocol stack, and the network device protocol stack is set on the cellular network PDCP layer.
  • the first terminal and the second terminal transmit a data packet by using a communication link based on a preset protocol, where the preset protocol is a Bluetooth protocol or WIFI agreement;
  • a cellular network RLC is disposed between the PDCP layer and the adaptation layer of the cellular network in the first terminal protocol stack.
  • a cellular network RLC layer that is equivalent to the first terminal protocol stack is disposed under the PDCP layer of the cellular network in the network side protocol stack.
  • the adaptation layer is configured to:
  • the second terminal and the network device transmit a data packet by using a cellular network communication link
  • a second PDCP layer is disposed on the second RLC layer of the second terminal protocol stack
  • a second PDCP layer that is equivalent to the second terminal protocol stack is disposed;
  • the second PDCP layer is configured to implement a function for the secure processing of the data packet negotiated by the second terminal and the network device.
  • the adaptation layer in the protocol stack on the first interface side is used to implement the second interface The function of the second PDCP layer or the second RLC layer in the side protocol stack to transmit the data packet.
  • the preset protocol stack is based on a Bluetooth protocol, and the preset protocol stack is sequentially disposed from the upper layer to the bottom layer: a logical link control and adaptation protocol L2CAP layer, a first PHY layer; or
  • the preset protocol stack is based on the WIFI protocol, and the preset protocol stack is sequentially disposed from the upper layer to the bottom layer: a first MAC layer and a first PHY layer.
  • a first terminal provided by the embodiment of the present invention includes:
  • a network connection unit configured to establish, by using the second terminal, the first terminal to establish a connection with the network device, where the second terminal and the network device have established a cellular network communication link;
  • a link establishing unit configured to implement, by using the second terminal, the first terminal and the network connection unit After the network device establishes the connection, determining the link configuration information, and establishing, according to the link configuration information, a communication link based on the preset protocol between the first terminal and the second terminal;
  • the preset protocol is a Bluetooth protocol or a wireless fidelity WIFI protocol, and the communication link based on the preset protocol and the communication link of the cellular network are commonly used by the first terminal to pass the second terminal. Transmitting, by the network device, a data packet;
  • a protocol adaptation unit configured to: after the link establishing unit establishes a communication link between the first terminal and the second terminal based on a preset protocol, after the first terminal passes the second terminal and During the process of transmitting the data packet by the network device, the data packet to be transmitted inside the first terminal is converted between the data packet based on the preset protocol and the data packet of the cellular network, and the data packet is transmitted.
  • the link establishing unit determines the link configuration information, specifically:
  • the link configuration information is generated according to the pre-configuration information.
  • the method further includes:
  • a data packet transmission unit configured to transmit a data packet to the network device by using the second terminal.
  • the data packet transmission unit is specifically configured to:
  • the second terminal Transmitting the data packet based on the preset protocol to the second terminal by using the preset protocol-based communication link, so that the second terminal converts the received preset protocol-based data packet into After the cellular network data packet, the cellular network data packet is sent to the network device through the cellular network communication link.
  • the data packet transmission unit is specifically configured to:
  • the eighth aspect of the present invention provides a network device, including:
  • a network connection unit configured to establish, by using the second terminal, a network device to establish a connection with the first terminal, where the second terminal and the network device have established a cellular network communication link;
  • a configuration information sending unit configured to send configuration information after the network connection unit establishes a connection between the network device and the first terminal by using the second terminal, where the configuration information is used by the first terminal and the second Establishing a communication link based on a preset protocol between the terminals;
  • the preset protocol is a Bluetooth protocol or a wireless fidelity WIFI protocol, and the communication link based on the preset protocol and the communication link of the cellular network are commonly used by the first terminal to pass the second terminal.
  • the network device transmits a data packet; in the process that the first terminal transmits a data packet by using the second terminal and the network device, the first terminal and the second terminal both have a data packet conversion function.
  • the data packet conversion function refers to converting a transmitted data packet between a data packet based on a preset protocol and a cellular network data packet.
  • the network connection unit is specifically configured to:
  • the configuration information sending unit is specifically configured to:
  • the bearer configuration information is used to generate link configuration information, where the link configuration information is used to establish a communication link based on a preset protocol between the first terminal and the second terminal, where the radio bearer is a radio bearer between the first terminal and the network device; or
  • the method further includes:
  • a data packet transmission unit configured to transmit a data packet by using the second terminal and the first terminal.
  • the data packet transmission unit is specifically configured to:
  • a ninth aspect, the second terminal provided by the embodiment of the present invention includes:
  • a network connection determining unit configured to determine that the first terminal establishes a connection with the network device, where the second terminal and the network device have established a cellular network communication link;
  • a link establishing unit configured to determine, at the network connection determining unit, the first terminal and the network device After the connection is established, determining link configuration information, and establishing, according to the link configuration information, a communication link based on a preset protocol between the second terminal and the first terminal;
  • the preset protocol is a Bluetooth protocol or a wireless fidelity WIFI protocol, and the communication link based on the preset protocol and the communication link of the cellular network are commonly used by the first terminal to pass the second terminal. Transmitting, by the network device, a data packet;
  • a protocol adaptation unit configured to: after the link establishing unit establishes a communication link based on a preset protocol between the second terminal and the first terminal, by using the second terminal and the first terminal In the process of transmitting a data packet by the network device, the data packet to be transmitted inside the second terminal is converted between the data packet based on the preset protocol and the data packet of the cellular network, and the data packet is transmitted.
  • the link establishing unit determines the link configuration information, specifically:
  • the link establishing unit determines the link configuration information, specifically:
  • the link establishing unit is further configured to:
  • the method further includes:
  • a first data packet transmission unit configured to receive the first terminal by using the communication link based on a preset protocol in a process in which the first terminal transmits a data packet by using the second terminal and the network device Transmitting a data packet based on a preset protocol; converting the data packet based on the preset protocol into a cellular network data packet, and transmitting the cellular network data packet to the network device by using the cellular network communication link.
  • the method further includes:
  • a second data packet transmission unit configured to receive, by the first terminal, a cellular network sent by the network device by using the cellular network communication link in a process of transmitting a data packet by using the second terminal and the network device Transmitting the cellular network data packet into a data packet based on a preset protocol, and transmitting the data packet based on the preset protocol to the first terminal by using the communication link based on a preset protocol.
  • a network connection determining apparatus where the application is related to the first terminal, includes:
  • a network identifier obtaining unit configured to acquire an identifier of a network to which the second terminal is connected
  • a network connection determining unit configured to: when the identifier of the network connected to the second terminal acquired by the network identifier acquiring unit is consistent with the identifier of the network that the first terminal subscribes to, determining that the first terminal can pass the The second terminal establishes a connection with the network device, where the network device is a device in a network to which the second terminal is connected.
  • the network identifier obtaining unit is specifically configured to:
  • the first information includes an identifier of a network to which the second terminal is connected, and a data packet format of the first information is based on a Bluetooth protocol or a wireless fidelity WIFI protocol;
  • Converting the first information into second information the data packet format of the second information is based on a cellular network protocol
  • the method further includes:
  • a network connection establishing unit configured to send, by using the second terminal, a request message to the network device, where the request message is used by the first terminal to establish a connection with the network device.
  • a network connection determining apparatus is applied to a second The terminal includes:
  • An information determining unit configured to determine first information, where the first information includes an identifier of a network to which the second terminal is connected, and an identifier of a network to which the second terminal is connected is used by the first terminal to determine that the The second terminal establishes a connection with the network device, where the network device is a device in a network to which the second terminal is connected;
  • an information sending unit configured to broadcast the first information determined by the information determining unit.
  • the information determining unit is specifically configured to:
  • third information includes a flag of a network to which the second terminal is connected, and a data packet format of the third information is based on a cellular network protocol;
  • Converting the third information into the first information, and the data packet format of the first information is based on a Bluetooth protocol or a wireless fidelity WIFI protocol.
  • the method further includes:
  • a network connection establishing unit configured to forward, to the network device, a request message sent by the first terminal, where the request message is used by the first terminal to establish a connection with the network device.
  • a protocol stack and a method for establishing a communication link establish a secure connection between the first terminal and the network device, and can implement direct management of the first terminal by the network device, for example, a network device. Value-added services can be performed on the first terminal.
  • the communication link based on the Bluetooth protocol or the WIFI protocol established between the first terminal and the second terminal avoids the process of regenerating the data packet when the second terminal forwards the data packet in the prior art, thereby reducing the data packet transmission. There are security risks in the process.
  • the protocol stack provided by the embodiment of the present invention is equivalent to the first terminal directly connected to the base station in the network device through the UU interface, so that the compatibility of the core network can be maintained; Directly managing, the network device saves information such as the context of the first terminal, even if the distance between the second terminal and the first terminal as the relay device is far, and the connection between the first terminal and the second terminal is caused. When disconnected, the network device can quickly restore the transmission capability of the service data, reduce the complexity of the mobility processing process, and thus reduce the delay.
  • 1a is a schematic structural diagram of a user plane protocol stack according to an embodiment of the present invention.
  • 1b is a schematic structural diagram of a control plane protocol stack according to an embodiment of the present invention.
  • 2a is a schematic structural diagram of an adaptation layer in a first terminal protocol stack according to an embodiment of the present invention
  • 2b is a schematic structural diagram of an adaptation layer in a second terminal protocol stack according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a method for establishing a communication link according to an embodiment of the present invention
  • FIG. 4 is a schematic flowchart of a method for determining a network connection according to an embodiment of the present invention
  • FIG. 5 is a schematic flowchart of a method for establishing a communication link according to an embodiment of the present invention
  • FIG. 6 is a schematic flowchart of a method for establishing a communication link according to an embodiment of the present invention.
  • FIG. 7 is a schematic flowchart of a method for establishing a communication link according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a first terminal according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a network device according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of a second terminal according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of a network connection determining apparatus according to an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of a network connection determining apparatus according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of a first terminal according to an embodiment of the present disclosure.
  • FIG. 14 is a schematic structural diagram of a network device according to an embodiment of the present disclosure.
  • FIG. 15 is a schematic structural diagram of a second terminal according to an embodiment of the present invention.
  • the embodiments of the present invention provide a communication link establishment method, a protocol stack, a terminal, and a network device, which are used to establish a communication link between the wearable device and the network device, and implement the network device to the wearable device.
  • the direct management of the backup reduces the security risks in the process of communication between the wearable device and the network device through the relay device.
  • the method and the device are based on the same inventive concept. Since the principles of the method and the device for solving the problem are similar, the implementation of the device and the method can be referred to each other, and the repeated description is not repeated.
  • the technical solution provided by the embodiment of the present invention is applicable to a Long Term Evolution (LTE) system.
  • the technical solution provided by the embodiment of the present invention establishes a secure communication link between the first terminal and the network device, and the first terminal passes the The second terminal communicates with the network device, and the network device can directly manage the first terminal.
  • LTE Long Term Evolution
  • the first terminal includes a wearable device, which may also be referred to as a remote device, and the wearable device includes smart glasses, a smart bracelet, a smart watch, a smart shoe, and the like.
  • the second terminal includes a relay device, such as a smart mobile terminal such as a mobile phone, and the network device includes a device in a cellular network to which the second terminal is connected.
  • the network device may be a base station.
  • the first terminal communicates with the network device through the second terminal.
  • the first terminal is connected to the second terminal by a communication link based on a Bluetooth Low Noise (BLE) protocol or a Wireless Fidelity (WIFI) protocol, and the second terminal is connected to the network device in the cellular network .
  • BLE Bluetooth Low Noise
  • WIFI Wireless Fidelity
  • FIG. 1a is a user plane protocol stack
  • FIG. 1b is a control plane protocol stack
  • the protocol stack 10 application shown in FIG. 1a and FIG. In the system in which the first terminal is connected to the network device through the second terminal.
  • the user plane protocol stack 10 in FIG. 1a includes a first terminal protocol stack 11, a second terminal protocol stack 12, and a network device protocol stack 13.
  • the first terminal protocol stack 11 includes a Packet Data Convergence Protocol (PDCP) layer 111, an adaptation layer 112, and a preset protocol stack 113, which are sequentially disposed from the upper layer to the bottom layer.
  • the preset protocol stack 113 is based on the Bluetooth protocol or the WIFI protocol;
  • the adaptation layer 112 is configured to implement a function of converting a data packet between a data packet based on a preset protocol and a cellular network data packet, and is configured to implement a configuration preset protocol.
  • the function of the parameter information of the stack 113 is configured to implement a configuration preset protocol.
  • the preset protocol stack 113 is based on the Bluetooth protocol, and the preset protocol stack 113 is sequentially provided with a logical link from the upper layer to the bottom layer.
  • Control and Adaptation Protocol Logical Link Control and Adaptation Protocol, L2CAP
  • L2CAP Logical Link Control and Adaptation Protocol
  • the preset protocol stack 113 is based on the WIFI protocol, and the preset protocol stack 113 is sequentially configured with the first MAC layer from the upper layer to the bottom layer.
  • the first PHY layer is based on the WIFI protocol, and the preset protocol stack 113 is sequentially configured with the first MAC layer from the upper layer to the bottom layer.
  • the second terminal protocol stack 12 includes: a protocol stack on the first interface 11-12 side between the second terminal and the first terminal, and a protocol stack on the second interface 12-13 side between the second terminal and the network device;
  • the first interface 11-12 is an E-PC5-Bluetooth interface or an E-PC5-WIFI interface
  • the second interface 12-13 is a UU interface. among them,
  • the protocol stack on the side of the first interface 11-12 includes: an adaptation layer 112 and a preset protocol stack 113 that are sequentially disposed from the upper layer to the bottom layer and are aligned with the first terminal protocol stack 11;
  • the adaptation layer 112 in the protocol stack on the first interface 11-12 side is used to implement the function of converting the data packet between the data packet based on the preset protocol and the cellular network data packet, and is used to implement the configuration preset protocol stack.
  • the protocol stack on the second interface 12-13 side includes: a second radio link control (RLC) layer 114 and a second medium access control (MAC) layer 115 that are sequentially disposed from the upper layer to the bottom layer. And a second physical (physical, PHY) layer 116; the adaptation layer 112 in the protocol stack on the first interface 11-12 side is further configured to implement the second RLC layer 114 in the protocol stack on the side of the second interface 12-13 The function of transmitting data packets.
  • RLC radio link control
  • MAC medium access control
  • the network device protocol stack 13 includes a cellular network PDCP layer 111 that is sequentially disposed from the upper layer to the bottom layer, and a second RLC layer 114 that is peered with the protocol stack on the second interface 12-13 side.
  • the cellular network PDCP layer 111 is configured to implement a function for secure processing of data packets negotiated by the first terminal and the network device.
  • the second terminal and the network device transmit the data packet through the cellular network communication link.
  • a cellular network RLC layer 117 is disposed between the cellular network PDCP layer 111 and the adaptation layer 112 in the first terminal protocol stack 11;
  • a cellular network RLC layer 117 that is equivalent to the first terminal protocol stack 11 is disposed under the cellular network PDCP layer 111 in the network side protocol stack.
  • a second PDCP layer 118 is disposed on the second RLC layer 114 of the second terminal protocol stack 12;
  • a second PDCP layer 118 that is equivalent to the second terminal protocol stack 12 is disposed between the cellular network PDCP layer 111 and the second RLC layer 114 of the network device protocol stack 13;
  • the second PDCP layer 118 is configured to implement a function of the secure processing of the data packet negotiated by the second terminal and the network device.
  • the adaptation layer 112 in the protocol stack on the first interface 11-12 side is further configured to implement a function of transmitting a data packet with the second PDCP layer 118 in the protocol stack on the second interface 12-13 side.
  • a cellular network MAC layer 120 is disposed under the cellular network PDCP layer 111 in the first protocol stack 11;
  • a cellular MAC layer 120 that is peered with the first protocol stack 11.
  • the first terminal transmits the data packet from the cellular network module to the network device through the second terminal after performing security processing on the PDCP layer of the cellular network.
  • the network device sends the data packet from the core network to the first terminal through the second terminal after performing security processing on the PDCP layer of the cellular network.
  • the control plane protocol stack 10 shown in FIG. 1b includes a first terminal protocol stack 11, a second terminal protocol stack 12, and a network device protocol stack 13, and the control plane protocol stack 10 shown in FIG. 1b is in the user plane protocol shown in FIG.
  • a cellular network radio resource control (RRC) layer 119 is disposed on the cellular network PDCP layer 111 of the first terminal protocol stack 11.
  • the cellular network PDCP layer 111 of the network device protocol stack 13 is provided with the first terminal.
  • Protocol stack 11 peer-to-peer cellular RRC layer 119.
  • the RRC layer 119 is configured to manage a parameter configuration when the first terminal is connected to the network device, configure a security parameter for transmitting data packets and signaling between the first terminal and the network device, and configure a bearer of the first terminal, where the first terminal
  • the bearer includes a first radio bearer connected to the network and a bearer of the network device to the core network.
  • the adaptation layer 112 includes a protocol packet conversion unit 1121 and a configuration unit 1122. among them,
  • the protocol packet conversion unit 1121 is configured to implement a function of converting a data packet between a Bluetooth protocol-based data packet and a cellular network data packet (ie, a packet based on a cellular network protocol), or to package the data in a WIFI protocol-based data.
  • a cellular network data packet ie, a packet based on a cellular network protocol
  • the ability to convert between packets and cellular packets Specifically, based on the Bluetooth protocol or the WIFI protocol, the protocol packet conversion unit 1121 performs endian conversion of the data packet, and/or adds or deletes part of the header content of the data packet.
  • the protocol packet conversion unit 1121 converts the cellular network data packet generated by the cellular network module into a data packet based on the Bluetooth protocol or the WIFI protocol, so that the first terminal transmits the converted data packet to the second terminal.
  • the protocol packet conversion unit 1121 converts the Bluetooth protocol or WIFI protocol-based data packet from the second terminal into a cellular network data packet, and delivers it to the cellular network module for further processing.
  • the protocol layer of the cellular network module includes at least a cellular network RRC layer and/or a cellular network PDCP layer.
  • the configuration unit 1122 is configured to implement the function of configuring the parameter information of the preset protocol stack 113, and can also be used to implement the quality of service (QoS) level mapping of the data packets of the radio bearer.
  • the configuration unit 1122 is configured to configure parameters of each protocol layer in the preset protocol stack 113 based on the Bluetooth protocol or the WIFI protocol according to the bearer configuration information of the cellular network.
  • the radio bearer configuration information of the cellular network usually includes configuration parameters of the cellular network RLC layer and/or the cellular network MAC layer.
  • the purpose of these configuration parameters is to ensure reliable transmission of data and a certain data transmission rate of the protocol transmitting end and the receiving end. .
  • the correspondence between the bearer configuration information of the cellular network and the configuration information under the Bluetooth protocol is as follows:
  • the L2CAP layer in the Bluetooth protocol-based preset protocol stack should be configured to have a mode of receiving acknowledgement; when the cellular MAC layer is configured with a guaranteed bit rate ( When Guaranteed Bit Rate (PBR), the number of channels configured under the Bluetooth protocol should satisfy the value of PBR. or,
  • the bearer configuration information of the cellular network includes a QoS Class Identifier (QCI), and the QCI value corresponds to the data transmission rate and the data transmission mode under the Bluetooth protocol (including the acknowledged transmission). Transmission mode, retransmission transmission mode, and unacknowledged transmission mode). According to the QCI, the number of channels of the L2CAP layer, the maximum value of the data packet, and the number of retransmissions are configured.
  • QCI QoS Class Identifier
  • the adaptation layer 112 includes a protocol packet conversion unit 1121.
  • the adaptation layer 112 shown in Figure 2b differs from the adaptation layer 112 shown in Figure 2a in that the adaptation layer 112 shown in Figure 2b adds a packet forwarding unit 1123 for implementing the adaptation layer. 112.
  • the protocol packet conversion unit 1121 converts the Bluetooth protocol or WIFI protocol-based data packet from the first terminal into a cellular network data packet
  • the data packet forwarding unit 1123 delivers the cellular network data packet to the second data packet.
  • the RLC layer or the second PDCP layer thereby implementing the second terminal to send the cellular network data packet to the network device.
  • the data packet forwarding unit 1123 receives the cellular network data packet from the second RLC layer or the second PDCP layer, and the data packet forwarding unit 1123 delivers the cellular network data packet to the protocol data packet conversion unit 1121, the protocol The packet conversion unit 1121 converts the cellular network data packet into a data packet based on the Bluetooth protocol or the WIFI protocol, thereby implementing the second terminal to send the data packet based on the Bluetooth protocol or the WIFI protocol to the first terminal.
  • the adaptation layer in the protocol stack may be an independent entity to implement the functions of the protocol layer, and may also implement the functions of the adaptation layer through other existing protocol layers.
  • the function of the configuration unit 1122 of the adaptation layer is implemented by the cellular network RRC layer
  • the functions of the protocol packet conversion unit 1121 and the packet forwarding unit 1123 of the adaptation layer are implemented by the PDCP layer of the cellular network.
  • the protocol stack provided by the embodiment of the present invention can establish a secure communication link between the first terminal and the network device, thereby implementing the purpose of direct management of the first terminal by the network device.
  • a method for establishing a communication link according to an embodiment of the present invention is described in detail below with reference to a protocol stack provided by an embodiment of the present invention.
  • the method between the first terminal, the second terminal, and the network device includes:
  • the first terminal establishes a connection with the network device by using the second terminal.
  • the second terminal and the network device have established a cellular network communication link.
  • S302 The network device sends configuration information.
  • the configuration information sent by the network device is used to determine link configuration information of the first terminal and the second terminal, where the link configuration information is used by the first terminal to establish a communication link based on a preset protocol with the second terminal.
  • the default protocol refers to the Bluetooth protocol or the WIFI protocol.
  • the first terminal and the second terminal respectively determine link configuration information, and establish, according to the link configuration information, a communication link based on a preset protocol between the first terminal and the second terminal.
  • the communication link and the cellular communication link based on the preset protocol are used by the first terminal to transmit the data packet through the second terminal and the network device; in the process that the first terminal transmits the data packet through the second terminal and the network device, Both the terminal and the second terminal have a data packet conversion function, and the data packet conversion function refers to converting the transmitted data packet between the data packet based on the preset protocol and the cellular network data packet.
  • the first terminal establishes a connection with the network device by using the second terminal
  • the embodiment of the present invention further provides a network connection determining method, as shown in FIG. 4, between the first terminal, the second terminal, and the network device.
  • the interaction process is as follows:
  • the second terminal determines first information, where the first information includes an identifier of a network to which the second terminal is connected.
  • the identifier of the network to which the second terminal is connected is used by the first terminal to determine whether a connection can be established with the network device by using the second terminal, where the network device is a device in the network to which the second terminal is connected.
  • the first information includes one or a combination of the following:
  • PLMN Public Lands Mobile Networ
  • cell ID cell identity
  • device identity device identity
  • IP Internet Protocol
  • the PLMN identifier refers to the identifier of the cellular network to which the second terminal is connected, for example, China Mobile;
  • the cell identifier refers to the identifier of the cell where the second terminal is currently camped or the identifier of the cell currently served by the second terminal;
  • the identifier of the network device (base station or core network device) of the cellular network to which the second terminal is connected is assigned to the second terminal, where the identifier is used to indicate that the second terminal can serve as a relay device;
  • the IP address of the base station refers to IP address of the base station of the cellular network to which the second terminal is connected site.
  • the second terminal determines the first information by receiving the third information sent by the network device.
  • the third information includes at least a flag of the network to which the second terminal is connected, the data packet format of the third information is based on a cellular network protocol, and the third information may include partial information or all information included in the first information.
  • the second terminal converts the third information from the network device into the first information through the adaptation layer, and the data packet format of the first information is based on the Bluetooth protocol or the WIFI protocol.
  • the second terminal acquires the third information by receiving an RRC message broadcast by the network device, where the RRC message broadcast by the network device includes the third information.
  • the second terminal broadcasts the first information.
  • the adaptation layer of the second terminal protocol stack converts the first information based on the Bluetooth protocol, and then delivers the first information to the preset protocol stack based on the Bluetooth protocol.
  • the L2CAP layer and instructs to transmit the first information using a Bluetooth broadcast channel.
  • the L2CAP layer in the preset protocol stack based on the Bluetooth protocol periodically sends the first information.
  • the first information may be periodically sent by defining a period default of the preset protocol stack based on the Bluetooth protocol, or the L2CAP layer in the preset protocol stack based on the Bluetooth protocol may be periodically sent by the adaptation layer to periodically send the first information. .
  • the second terminal broadcasts the first information through the WIFI broadcast channel, and after the adaptation layer of the second terminal protocol stack converts the first information based on the WIFI protocol, the first information is delivered to the preset protocol stack based on the WIFI protocol.
  • the first MAC layer indicates that the first MAC layer sends the first information by using a Traffic Indication Map (TIM) field in a Beacon frame.
  • TIM Traffic Indication Map
  • All bits in the Asocaition ID in the TIM domain are set to 1.
  • the content sent by the TIM domain is called the base station temporary storage frame.
  • the base station temporary storage frame is periodically transmitted.
  • the receiving end of the base station temporary storage frame refers to the corresponding WIFI receiving end when the bits in the Assocaition ID are set to 1, that is, the corresponding The first terminal in the embodiment of the invention. Setting all the bits in the Assocaition ID to 1 indicates that all the first terminals can receive the first information sent by using the TIM domain within the coverage of the WIFI signal of the second terminal as the relay device.
  • the first terminal After receiving the first information broadcast by the second terminal, the first terminal includes, according to the first information, The identifier of the network connected to the second terminal determines whether the connection can be established with the network device by using the second terminal.
  • the first terminal according to its own module underlying protocol (including the Bluetooth protocol or the WIFI protocol), the RRC layer of the first terminal initiates a search network mode for implementing a broadcast channel corresponding to the Bluetooth channel or a broadcast channel based on the WIFI protocol.
  • the first information broadcast by the second terminal There are two types of search network modes here, one is to search for a relay device for a first terminal to connect to a network device, that is, a second terminal, and the other is to search for broadcast information of a cellular network.
  • the first terminal first searches for the relay device for connecting the network device to the first terminal, and after a certain period of time The terminal still does not search for available relay devices, and the first terminal searches for broadcast information of the cellular network.
  • the RRC layer of the first terminal initiates a search network mode, and indicates that the preset protocol stack based on the Bluetooth protocol or the WIFI protocol receives the first information broadcast by the second terminal, and the data packet format of the first information is based on a Bluetooth protocol or wireless fidelity.
  • a WIFI protocol the first terminal converts the first information into the second information by using an adaptation layer, and the data packet format of the second information is based on a cellular network protocol; the adaptation layer submits the second information to the RRC layer of the cellular network to obtain the first The identifier of the network to which the second terminal is connected.
  • the first terminal determines that the second terminal can establish a connection with the network device, where the network device is the device in the network to which the second terminal is connected.
  • the first terminal determines that the second terminal cannot establish a connection with the network device.
  • the first terminal after the first terminal determines that the second terminal can establish a connection with the network device, the first terminal sends a request message to the network device by using the second terminal, where the request message is used by the first terminal to establish a connection or maintain a connection with the network device.
  • S302 and S303, S302 includes configuration information that is sent by the network device, and S303 includes the first terminal and the second terminal respectively determining link configuration information, and establishing the first terminal and the second according to the link configuration information.
  • the communication link based on the preset protocol between terminals can be implemented by the following four methods:
  • Method 1 As shown in FIG. 5, the interaction process between the first terminal, the second terminal, and the network device is as follows:
  • the network device sends configuration information of the radio bearer to the first terminal and the second terminal, respectively.
  • the radio bearer is a radio bearer between the first terminal and the network device.
  • the first terminal generates link configuration information according to configuration information of the radio bearer.
  • the second terminal generates link configuration information according to the configuration information of the radio bearer.
  • the first terminal and the second terminal establish a communication link based on a preset protocol between the first terminal and the second terminal according to the link configuration information.
  • a Bluetooth protocol-based communication link is established between the first terminal and the second terminal, and the adaptation layer establishes a Bluetooth protocol-based communication link between the first terminal and the second terminal according to the configuration information of the wireless bearer.
  • the adaptation layer maps the QoS parameter of the radio bearer to the QoS parameter of the Bluetooth protocol, and then generates link configuration information, including configuration parameters of the preset protocol stack based on the Bluetooth protocol, that is, the configuration parameter including the L2CAP layer and the a configuration parameter of the PHY layer, the adaptation layer sends the configuration parameter of the L2CAP layer and the configuration parameter of the first PHY layer to the preset protocol stack based on the Bluetooth protocol, so that the default protocol stack based on the Bluetooth protocol is configured according to the L2CAP layer configuration parameter.
  • the configuration parameters of the first PHY layer to set parameters of the internal L2CAP layer and parameters of the first PHY layer.
  • a Bluetooth-based communication link between the first terminal and the second terminal can be established, and the Bluetooth-based protocol can be utilized subsequently.
  • the communication link and the cellular communication link between the second terminal and the network device enable the first terminal to transmit data packets between the second terminal and the network device.
  • the adaptation layer establishes a Bluetooth protocol-based communication link between the first terminal and the second terminal according to the configuration information of the radio bearer, and can implement a one between the radio bearer between the first terminal and the network device and the channel of the L2CAP layer.
  • all the radio bearers between the first terminal and the network device may be corresponding to one channel of the L2CAP layer.
  • the modification to the Bluetooth protocol in this embodiment is to add a protocol indication to point in the Protocol/Service Multiplexer (PSM).
  • PSM Protocol/Service Multiplexer
  • Adaptation layer The adaptation layer of the second terminal also needs to configure the mapping forwarding function between the channel of the L2CAP layer and the cellular module, including the mapping relationship between the identifier of the radio bearer and the channel identification (CID), and is forwarded to the second terminal.
  • the function of adding the packet header information and deleting the packet header information is used to implement the function of the second terminal forwarding the data packet of the first terminal to the network device.
  • the adaptation layer establishes a communication link based on the WIFI protocol between the first terminal and the second terminal according to the configuration information of the radio bearer. Specifically, the adaptation layer generates link configuration information according to the QoS parameter of the radio bearer, including configuration parameters of the preset protocol stack based on the Bluetooth protocol, that is, the configuration parameters of the first MAC layer and the configuration parameters of the first PHY layer.
  • the configuration layer sends the configuration parameter of the first MAC layer and the configuration parameter of the first PHY layer to the preset protocol stack based on the WIFI protocol, so that the preset protocol stack based on the WIFI protocol is configured according to the configuration parameters of the first MAC layer and the first PHY.
  • the configuration parameters of the layer are used to set the parameters of the first MAC layer and the parameters of the first PHY layer.
  • the first terminal and the second terminal do not need to distinguish the service flow, but need to distinguish the QoS level of the radio bearer, and the adaptation layer.
  • the data packets of the radio bearers belonging to the same QoS class are assembled and sent to the first MAC layer, and the adaptation layer is used to implement the function of performing QoS level mapping on the data packets of the radio bearers.
  • the adaptation layer is only used to implement the function of performing QoS level mapping on the data packet of the radio bearer;
  • the network PDCP layer does not add the identifier of the first terminal and the identifier of the radio bearer to the data packet of the radio bearer, and the adaptation layer is used to implement the QoS level mapping function on the data packet of the radio bearer, and is also used to implement the radio bearer.
  • the data packet adds the function of the identity of the first terminal and the identity of the radio bearer.
  • the adaptation layer of the second terminal is further configured to implement a mapping forwarding function between the configuration of the cellular network module and the preset protocol stack based on the WIFI protocol.
  • Method 2 As shown in FIG. 6, the interaction process between the first terminal, the second terminal, and the network device is as follows:
  • the network device sends link configuration information to the first terminal and the second terminal, respectively.
  • the first terminal and the second terminal establish a communication link based on a preset protocol between the first terminal and the second terminal according to the link configuration information.
  • the method shown in FIG. 6 includes establishing a Bluetooth protocol-based communication link between the first terminal and the second terminal, or establishing a communication link based on the WIFI protocol between the first terminal and the second terminal.
  • the difference from the method of establishing a communication link shown in FIG. 5 is:
  • the network device Establishing a Bluetooth protocol-based communication link between the first terminal and the second terminal, the network device generates link configuration information according to the configuration information of the radio bearer, where the link configuration information is used to establish a relationship between the first terminal and the second terminal.
  • a communication link based on the Bluetooth protocol That is, the network device generates link configuration information according to the QoS parameter of the radio bearer, including configuration parameters of the preset protocol stack based on the Bluetooth protocol, that is, the configuration parameters including the L2CAP layer and the configuration parameters of the first PHY layer, and the network device will be the L2CAP layer.
  • the configuration parameter and the configuration parameter of the first PHY layer are sent to the first terminal and the second terminal, and the Bluetooth protocol-based preset protocol stack of the first terminal and the second terminal is configured according to the configuration parameter of the L2CAP layer and the configuration parameter of the first PHY layer.
  • the Bluetooth protocol-based preset protocol stack of the first terminal and the second terminal is configured according to the configuration parameter of the L2CAP layer and the configuration parameter of the first PHY layer.
  • a Bluetooth-based communication link between the first terminal and the second terminal can be established, and the Bluetooth-based protocol can be utilized subsequently.
  • the communication link and the cellular communication link between the second terminal and the network device enable the first terminal to transmit data packets between the second terminal and the network device.
  • the network device Establishing a communication link based on the WIFI protocol between the first terminal and the second terminal, the network device generates link configuration information according to the configuration information of the radio bearer, where the link configuration information is used to establish a relationship between the first terminal and the second terminal.
  • Communication link based on WIFI protocol That is, the network device generates the link configuration information according to the QoS parameter of the radio bearer, including the configuration parameters of the preset protocol stack based on the WIFI protocol, that is, the configuration parameters of the first MAC layer and the configuration parameters of the first PHY layer, and the network device will be configured.
  • the configuration parameters of the MAC layer and the configuration parameters of the first PHY layer are sent to the preset protocol stack based on the WIFI protocol, so that the default protocol stack based on the WIFI protocol of the first terminal and the second terminal is based on the first MAC
  • the configuration parameters of the layer and the configuration parameters of the first PHY layer are used to set the parameters of the first MAC layer and the parameters of the first PHY layer.
  • Method 3 As shown in FIG. 7, the interaction process between the first terminal, the second terminal, and the network device is as follows:
  • the network device sends configuration information of the radio bearer to the second terminal.
  • the radio bearer is a radio bearer between the first terminal and the network device.
  • the second terminal generates link configuration information according to the configuration information of the radio bearer.
  • the second terminal sends the link configuration information to the first terminal.
  • the first terminal and the second terminal establish a communication link based on a preset protocol between the first terminal and the second terminal according to the link configuration information.
  • the method shown in FIG. 7 includes establishing a Bluetooth protocol-based communication link between the first terminal and the second terminal, or establishing a communication link based on the WIFI protocol between the first terminal and the second terminal.
  • the difference from the method of establishing a communication link as shown in FIGS. 5 and 6 is:
  • the network device sends the configuration information of the radio bearer to the second terminal, where the second terminal generates the link configuration information, and the second terminal sends the link configuration information to the first terminal, and then the first terminal and the second terminal according to the chain
  • the path configuration information is used to set a preset protocol stack of its own, including a preset protocol stack based on the Bluetooth protocol or a preset protocol stack based on the WIFI protocol.
  • the communication link between the first terminal and the second terminal based on the preset protocol may be established, and the specific process and FIG. 5 or FIG. 6 is similar and will not be described here.
  • Method 4 When the first terminal establishes a connection with the network device by using the second terminal, the first terminal and the second terminal receive the RRC message broadcasted by the network device, and learn that the cellular network system of the network device is an LTE system, and generates pre-configuration information.
  • the adaptation layer generates link configuration information according to the pre-configuration information, and the adaptation layer sends the link configuration information to the preset protocol stack, including a preset protocol stack based on the Bluetooth protocol. Or a preset protocol stack based on the WIFI protocol.
  • the preset protocol stack sets parameters of each protocol layer in its own according to the link configuration information.
  • the communication link between the first terminal and the second terminal based on the preset protocol may be established, and the specific process and FIG. 5 to FIG. 7 is similar and will not be described here.
  • the pre-configuration information may include one or a combination of the following:
  • the initial bearer configuration information includes: a configuration information of a protocol layer in the preset protocol stack, where the adaptation layer can generate configuration information of the protocol layer in the preset protocol stack according to the initial bearer configuration information.
  • Initial link configuration information under the Bluetooth protocol and configuration parameters of the L2CAP layer for example, a data transmission mode, a maximum packet length, a number of channels of the first PHY layer, and the like;
  • Configuration parameters under the WIFI protocol for example, the transmit power level, the length of the listening window, etc.;
  • the transmission quality reference value in the cellular network includes the link rate, the maximum delay of packet transmission, and the like, for example, the transmission quality reference value shown in Table 1 below.
  • QCI Data rate Packet transmission maximum delay 0 20kbps 300ms 1 32kbps 200ms 2 64kbps 200ms 3 128kbps 200ms 4 512kbps 100ms 5 1024 kbps 100ms 6 2048kbps 100ms 7 2048kbps 50ms
  • the communication link based on the preset protocol (the communication link between the first terminal and the second terminal) and the communication link of the cellular network (the communication link between the second terminal and the network device) are common
  • the first terminal is configured to transmit a data packet to the network device by using the second terminal.
  • the packet conversion function refers to converting the transmitted data packet between the data packet based on the preset protocol and the cellular network data packet.
  • the process of transmitting a data packet by the first terminal and the network device by using the second terminal is described in detail below in conjunction with the protocol stack provided by the embodiment of the present invention.
  • the process of the first terminal transmitting the data packet through the second terminal and the network device is as follows:
  • the process of transmitting uplink packets includes:
  • the cellular network data packet generated by the cellular network module of the first terminal is securely processed by the PDCP layer of the cellular network and then delivered to the adaptation layer, and the adaptation layer converts the cellular network data into a data packet based on a preset protocol, and the first terminal Corresponding to the Bluetooth protocol-based communication link or the WIFI protocol-based communication link between the second terminal, the data packet based on the preset protocol includes a Bluetooth protocol-based data packet or a WIFI protocol-based data packet.
  • the adaptation layer delivers the Bluetooth protocol-based data packet to the L2CAP layer of the Bluetooth protocol-based preset protocol stack, and the L2CAP layer sends the Bluetooth protocol-based data packet to the L2CAP layer of the second terminal; or the adaptation layer is based on the WIFI
  • the data packet of the protocol is delivered to the first MAC layer of the preset protocol stack based on the WIFI protocol, and the first MAC layer sends the data packet based on the WIFI protocol to the first MAC layer of the second terminal.
  • the L2CAP layer of the second terminal After receiving the data packet based on the Bluetooth protocol, the L2CAP layer of the second terminal delivers the data packet based on the Bluetooth protocol to the adaptation layer, and the adaptation layer converts the data packet based on the Bluetooth protocol into a cellular network data packet, and the adaptation layer
  • the cellular network data packet is delivered to the second PDCP layer, and the second PDCP layer sends the cellular network data packet to the second PDCP layer of the network device through the UU interface between the second terminal and the network device, and the internal network device of the network device
  • the data is further processed to enable the first terminal to send an uplink data packet to the network device by using the second terminal.
  • the first MAC layer of the second terminal delivers the data packet based on the WIFI protocol to the adaptation layer, and the adaptation layer converts the data packet based on the WIFI protocol into a cellular network data packet.
  • the layering layer delivers the cellular network data packet to the second PDCP layer, and the second PDCP layer sends the cellular network data packet to the second PDCP layer of the network device through the UU interface between the second terminal and the network device, and the internal device of the network device
  • the cellular network data is further processed to enable the first terminal to send an uplink data packet to the network device by using the second terminal.
  • the process of transmitting downlink data packets is the reverse process of the process of transmitting uplink data packets, including:
  • the cellular network data packet generated by the cellular network module of the network device is securely processed by the PDCP layer of the cellular network and then delivered to the second PDCP layer, and the second PDCP layer sends the cellular network data packet through the UU interface between the second terminal and the network device.
  • the second PDCP layer is given to the second terminal.
  • the second PDCP layer of the second terminal After receiving the cellular network data packet, the second PDCP layer of the second terminal delivers the cellular network data packet to the adaptation layer, and the adaptation layer converts the cellular network data into a data packet based on a preset protocol, and the first terminal
  • the data packet based on the preset protocol includes a Bluetooth protocol-based data packet or a WIFI protocol-based data packet corresponding to the Bluetooth protocol-based communication link or the WIFI protocol-based communication link between the second terminals.
  • the adaptation layer delivers the Bluetooth protocol-based data packet to the L2CAP layer of the Bluetooth protocol-based preset protocol stack, and the L2CAP layer sends the Bluetooth protocol-based data packet to the L2CAP layer of the first terminal; or the adaptation layer is based on the WIFI
  • the data packet of the protocol is delivered to the first MAC layer of the preset protocol stack based on the WIFI protocol, and the first MAC layer sends the data packet based on the WIFI protocol to the first MAC layer of the first terminal.
  • the L2CAP layer of the first terminal After receiving the data packet based on the Bluetooth protocol, the L2CAP layer of the first terminal delivers the data packet based on the Bluetooth protocol to the adaptation layer, and the adaptation layer converts the data packet based on the Bluetooth protocol into a cellular network data packet, and the first terminal internally
  • the cellular network data is further processed to enable the network device to send the downlink data packet to the first terminal by using the second terminal.
  • the first MAC layer of the first terminal delivers the data packet based on the WIFI protocol to the adaptation layer, and the adaptation layer converts the data packet based on the WIFI protocol into a cellular network data packet, where The data of the cellular network is further processed by the terminal to enable the network device to send the downlink data packet to the first terminal by using the second terminal.
  • a protocol stack and a method for establishing a communication link establish a secure connection between the first terminal and the network device, and can implement direct management of the first terminal by the network device, for example, a network device. Value-added services can be performed on the first terminal.
  • the communication link based on the Bluetooth protocol or the WIFI protocol established between the first terminal and the second terminal avoids the process of regenerating the data packet when the second terminal forwards the data packet in the prior art, thereby reducing the data packet transmission. There are security risks in the process.
  • a protocol stack provided by the embodiment of the present invention is equivalent to the first terminal directly connected to the base station in the network device through the UU interface, so that the compatibility of the core network can be maintained;
  • the network device directly manages the first terminal, and the network device stores information such as the context of the first terminal, even if the distance between the second terminal and the first terminal as the relay device is far, and the first terminal is The connection between the second terminals is disconnected, and the network device can quickly restore the transmission capability of the service data, reduce the complexity of the mobility processing flow, and thus reduce the delay.
  • the embodiment of the present invention further provides a first terminal, where the first terminal may adopt the method provided by the embodiment corresponding to the first terminal in FIG. 3.
  • the first terminal 800 includes: a network.
  • the network connection unit 801 is configured to establish, by using the second terminal, that the first terminal establishes a connection with the network device, and the second terminal establishes a cellular network communication link with the network device;
  • the link establishing unit 802 is configured to determine, after the network connection unit 801 establishes the connection between the first terminal and the network device by using the second terminal, the link configuration information, and establish the first terminal and the second terminal according to the link configuration information. a communication link based on a preset protocol;
  • the preset protocol is a Bluetooth protocol or a wireless fidelity WIFI protocol, and the communication link and the cellular network communication link based on the preset protocol are used together for the first terminal to transmit the data packet through the second terminal and the network device;
  • the protocol adaptation unit 803 is configured to: after the link establishing unit 802 establishes a communication link based on a preset protocol between the first terminal and the second terminal, in the process of transmitting, by the first terminal, the data packet by using the second terminal and the network device Converting the transmitted data packet between the data packet based on the preset protocol and the cellular network data packet and the delivery of the data packet inside the first terminal.
  • the link establishing unit 802 determines the link configuration information, specifically:
  • the link configuration information is generated according to the pre-configuration information.
  • it also includes:
  • the data packet transmission unit 804 is configured to transmit a data packet to the network device by using the second terminal.
  • the data packet transmission unit 804 is specifically configured to:
  • the link sends the cellular network packet to the network device.
  • the data packet transmission unit 804 is specifically configured to:
  • the data packet based on the preset protocol is converted into a cellular network data packet, and the cellular network data packet is delivered to the cellular network module for processing.
  • the embodiment of the present invention further provides a network device, and the network device may adopt the method provided by the embodiment corresponding to the network device in FIG. 3.
  • the network device 900 includes: a network connection unit 901 and The configuration information sending unit 902, optionally, further includes a data packet transmission unit 903.
  • the network connection unit 901 is configured to establish, by using the second terminal, the network device to establish a connection with the first terminal, where the second terminal and the network device have established a cellular network communication link;
  • the configuration information sending unit 902 is configured to send configuration information after the network connection unit 901 establishes a connection between the network device and the first terminal by using the second terminal, and the configuration information is used to establish a pre-predetermination between the first terminal and the second terminal. Set the communication link of the protocol;
  • the preset protocol is a Bluetooth protocol or a wireless fidelity WIFI protocol, and the communication link and the cellular network communication link based on the preset protocol are used together for the first terminal to transmit the data packet through the second terminal and the network device;
  • the first terminal and the second terminal both have a data packet conversion function, and the data packet conversion function refers to the data packet to be transmitted in a data packet based on a preset protocol and the cellular network. Convert between packets.
  • the network connection unit 901 is specifically configured to:
  • the configuration information sending unit 902 is specifically configured to:
  • the configuration information of the radio bearer is sent to the first terminal and the second terminal respectively, and the configuration information of the radio bearer is used to generate link configuration information, and the link configuration information is used to establish a preset protocol between the first terminal and the second terminal.
  • Communication link, the radio bearer is a radio bearer between the first terminal and the network device; or
  • the radio bearer is a radio bearer between the first terminal and the network device;
  • the link configuration information is sent to the first terminal and the second terminal respectively, and the link configuration information is used to establish a communication link based on the preset protocol between the first terminal and the second terminal.
  • it also includes:
  • the data packet transmission unit 903 is configured to transmit a data packet to the first terminal by using the second terminal.
  • the data packet transmission unit 903 is specifically configured to:
  • the cellular network data packet is converted by the second terminal by using the data packet based on the preset protocol, and the data packet based on the preset protocol is adopted by the first terminal. Setting a communication link of the protocol to the second terminal; and/or,
  • the embodiment of the present invention further provides a second terminal, and the second terminal may adopt the method provided by the embodiment corresponding to the second terminal in FIG. 3.
  • the second terminal 1000 includes: a network.
  • the network connection determining unit 1001 is configured to determine that the first terminal establishes a connection with the network device, and the second terminal establishes a cellular network communication link with the network device;
  • the link establishing unit 1002 is configured to determine link configuration information after the network connection determining unit 1001 determines that the first terminal establishes a connection with the network device, and establish a pre-predetermination between the second terminal and the first terminal according to the link configuration information. Set the communication link of the protocol;
  • the preset protocol is a Bluetooth protocol or a wireless fidelity WIFI protocol, and the communication link and the cellular network communication link based on the preset protocol are used together for the first terminal to transmit the data packet through the second terminal and the network device;
  • the protocol adaptation unit 1003 is configured to: after the link establishing unit 1002 establishes a communication link based on the preset protocol between the second terminal and the first terminal, the process of transmitting the data packet by the first terminal and the network device by using the second terminal In the second terminal, the data packet to be transmitted is converted between the data packet based on the preset protocol and the cellular network data packet, and the data packet is transmitted.
  • the link establishing unit 1002 determines the link configuration information, specifically:
  • the link establishing unit 1002 determines the link configuration information, specifically:
  • the link establishing unit 1002 is further configured to:
  • it also includes:
  • a first data packet transmission unit 1004 configured to receive, by using a communication protocol based on a preset protocol, a preset protocol-based data sent by the first terminal, in a process that the first terminal transmits the data packet by using the second terminal and the network device Packet; converts the data packet based on the preset protocol into a cellular network data packet, and sends the cellular network data packet to the network device through the cellular network communication link.
  • it also includes:
  • a second data packet transmission unit 1004 configured to receive, during a process of transmitting, by the first terminal, the data packet by using the second terminal and the network device, receiving, by the cellular network communication link, a cellular network data packet sent by the network device; Translating into a data packet based on a preset protocol, and transmitting a data packet based on a preset protocol to the first terminal through a communication link based on a preset protocol.
  • the embodiment of the present invention further provides a network connection determining apparatus, which is applied to the first terminal, and the first terminal may adopt the method provided by the embodiment corresponding to the first terminal in FIG. 4, as shown in FIG.
  • the network connection determining apparatus 1100 includes: a network identity obtaining unit 1101 and a network connection determining unit 1102, and optionally, a network connection establishing unit 1103.
  • the network identifier obtaining unit 1101 is configured to acquire an identifier of a network to which the second terminal is connected;
  • the network connection determining unit 1102 is configured to: when the identifier of the network connected to the second terminal acquired by the network identifier acquiring unit 1101 is consistent with the identifier of the network that the first terminal subscribes to, determine that the first terminal can establish with the network device by using the second terminal. Connected, the network device is a device in the network to which the second terminal is connected.
  • the network identifier obtaining unit 1101 is specifically configured to:
  • the first information includes an identifier of a network to which the second terminal is connected, and the data packet format of the first information is based on a Bluetooth protocol or a wireless fidelity WIFI protocol;
  • Converting the first information into the second information, and the data packet format of the second information is based on a cellular network protocol
  • the identifier of the network to which the second terminal is connected is obtained from the second information.
  • it also includes:
  • the network connection establishing unit 1103 is configured to send, by using the second terminal, a request message to the network device, where the request message is used by the first terminal to establish a connection with the network device.
  • the embodiment of the present invention further provides a network connection determining apparatus, which is applied to the second terminal, and the second terminal may adopt the method provided by the embodiment corresponding to the second terminal in FIG. 4, as shown in FIG.
  • the network connection determining apparatus 1200 includes: an information determining unit 1201 and an information transmitting unit 1202, and optionally, a network connection establishing unit 1203.
  • the information determining unit 1201 is configured to determine first information, where the first information includes an identifier of a network to which the second terminal is connected, and the identifier of the network connected to the second terminal is used by the first terminal to determine that the second terminal can establish with the network device.
  • the network device is a device in a network to which the second terminal is connected;
  • the information transmitting unit 1202 is configured to broadcast the first information determined by the information determining unit 1201.
  • the information determining unit 1201 is specifically configured to:
  • the packet format of the third information is based on a cellular network protocol
  • the third information is converted into the first information, and the data packet format of the first information is based on a Bluetooth protocol or a wireless fidelity WIFI protocol.
  • it also includes:
  • the network connection establishing unit 1203 is configured to forward, to the network device, a request message sent by the first terminal, where the request message is used by the first terminal to establish a connection with the network device.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • An integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, can be stored in a computer readable storage medium.
  • the technical solution of the present application in essence or the contribution to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
  • the present invention further provides a first terminal, where the first terminal may adopt the method provided by the embodiment corresponding to the first terminal in FIG. 3 and/or FIG. 4, which may be the same as FIG. 8 and/or FIG.
  • the first terminal device shown is the same device.
  • the first terminal 1300 includes: a processor 1301, a transceiver 1302, a bus 1303, and a memory 1304, where:
  • the processor 1301, the transceiver 1302, and the memory 1304 are connected to each other through a bus 1303; the bus 1303 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA). Bus, etc.
  • PCI peripheral component interconnect
  • EISA extended industry standard architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in FIG. 13, but it does not mean that there is only one bus or one type of bus.
  • the processor 1301 in the first terminal 1300 corresponds to a unit that needs to have a processing function in the first terminal, and the transceiver 1302 corresponds to a unit in the first terminal that needs to receive or transmit data.
  • the memory 1304 is used to store programs and the like.
  • the program can include program code, the program code including computer operating instructions.
  • the memory 1304 may include a random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage.
  • the processor 1301 executes the application stored in the memory 1304 to implement the above communication link establishment method.
  • the present invention further provides a network device.
  • the network device may be the same as the network device shown in FIG. 9 by using the method provided by the embodiment corresponding to the network device in FIG.
  • the network device 1400 includes: a processor 1401, a transceiver 1402, a bus 1403, and a memory 1404, wherein:
  • the processor 1401, the transceiver 1402, and the memory 1404 are connected to each other through a bus 1403; the bus 1403 may be a PCI bus or an EISA bus or the like.
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 14, but it does not mean that there is only one bus or one type of bus.
  • the processor 1401 in the network device 1400 corresponds to a unit in the network device that needs to have a processing function
  • the transceiver 1402 corresponds to a unit in the network device that needs to have a function of receiving or transmitting data.
  • the memory 1404 is used to store programs and the like.
  • the program can include program code, the program code including computer operating instructions.
  • Memory 1404 may include RAM and may also include non-volatile memory, such as at least one disk storage.
  • the processor 1401 executes the application stored in the memory 1404 to implement the above communication link establishing method.
  • the present invention further provides a second terminal, and the second terminal may adopt the method provided by the embodiment corresponding to the second terminal in FIG. 3 and/or FIG. 4, which may be the same as FIG. 10 and/or FIG.
  • the second terminal device shown is the same device.
  • the second terminal 1500 includes: a processor 1501, a transceiver 1502, a bus 1503, and a memory 1504, wherein:
  • the processor 1501, the transceiver 1502, and the memory 1504 are connected to each other through a bus 1503.
  • the bus 1503 may be a PCI bus or an EISA bus or the like.
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 15, but it does not mean that there is only one bus or one type of bus.
  • the processor 1501 in the second terminal 1500 corresponds to a unit that needs to have a processing function in the second terminal
  • the transceiver 1502 corresponds to a unit in the second terminal that needs to have a function of receiving or transmitting data.
  • the memory 1504 is used to store programs and the like.
  • the program can include program code, the program code including computer operating instructions.
  • the memory 1504 may include RAM and may also include non-volatile memory, such as at least one disk storage.
  • the processor 1501 executes the application stored in the memory 1504 to implement the above communication link establishing method.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

一种通信链路建立方法、协议栈、终端及网络设备,用以建立可穿戴设备与网络设备之间的通信链路,实现网络设备对可穿戴设备的直接管理,降低可穿戴设备通过中继设备与网络设备之间通信过程中的安全隐患。方法包括:第一终端通过第二终端与网络设备建立连接;网络设备下发配置信息;第一终端和第二终端分别确定链路配置信息,并根据该链路配置信息,建立第一终端与第二终端之间基于预设协议的通信链路。基于预设协议的通信链路和蜂窝网通信链路共同用于第一终端通过第二终端与网络设备传输数据包;第一终端和第二终端均具备数据包转换功能,数据包转换功能是指将传输的数据包在基于预设协议的数据包与蜂窝网数据包之间转换。

Description

通信链路建立方法、协议栈、终端及网络设备 技术领域
本发明涉及无线通信领域,尤其涉及一种通信链路建立方法、协议栈、终端及网络设备。
背景技术
随着可穿戴设备(Wearable equipment,WE)的蓬勃发展,可穿戴设备被广泛应用在人们的日常生活中。可穿戴设备可以通过中继设备将可穿戴设备获取的数据上传至网络设备,使得网络设备为可穿戴设备提供服务,例如可穿戴设备获取的数据包括可穿戴设备获取的佩戴者的生理数据,中继设备可以为可穿戴设备的佩戴者的智能移动终端,可穿戴设备也可以作为便捷的随身通信工具,为佩戴者提供接收短信、查看时间及位置定位等服务。例如,可穿戴设备包括智能眼镜、智能手环、智能手表、智能鞋等等。
现有技术中,考虑到可穿戴设备体积小、电池容量小、功耗低的特点,可穿戴设备不能与蜂窝网的网络设备直接进行通信,可穿戴设备需要通过中继设备与蜂窝网的网络设备进行通信。在可穿戴设备需要通过中继设备与蜂窝网的网络设备的通信过程中,可穿戴设备将数据包发送至中继设备,中继设备在应用(Application,APP)层对该数据包进行解析处理并重新生成一个数据包,中继设备将APP层重新生成的数据包发送给网络设备。
基于上述现有技术,网络设备识别接收的数据包是中继设备发送的,而网络设备不能够识别出中继设备发送的数据包是可穿戴设备发送的,使得网络设备不能对可穿戴设备直接管理,不能针对可穿戴设备进行增值服务。此外,现有技术存在一定的安全隐患,例如,监听者可能监听可穿戴设备与中继设备协商用于数据包传输的密钥的过程,监听者利用监听到的密钥破解可穿戴设备与中继设备之间传输的数据包,使得数据包存在安全隐患。又如,可穿戴设备将数据包传输至中继设备的APP层,APP层对数据包解析并重新生 成新数据包的过程中,中继设备内部可能存在恶意程序获取数据包,也使得数据包存在安全隐患。
发明内容
本发明实施例提供了一种通信链路建立方法、协议栈、终端及网络设备,用以建立可穿戴设备与网络设备之间的通信链路,实现网络设备对可穿戴设备的直接管理,降低可穿戴设备通过中继设备与网络设备之间通信过程中的安全隐患。
第一方面,本发明实施例提供的一种通信链路建立方法,包括:
第一终端通过第二终端与网络设备建立连接,所述第二终端与所述网络设备已建立蜂窝网通信链路;
所述第一终端确定链路配置信息,并根据所述链路配置信息,与所述第二终端建立基于预设协议的通信链路;
其中,所述预设协议为蓝牙协议或无线保真WIFI协议,所述基于预设协议的通信链路和所述蜂窝网通信链路共同用于所述第一终端通过所述第二终端与所述网络设备传输数据包;在所述第一终端通过所述第二终端与所述网络设备传输数据包的过程中,所述第一终端和所述第二终端均具备数据包转换功能,所述数据包转换功能是指将传输的数据包在基于预设协议的数据包与蜂窝网数据包之间转换。
结合第一方面,在第一种可能的实现方式中,所述第一终端确定链路配置信息,包括:
所述第一终端接收所述网络设备发送的无线承载的配置信息,所述第一终端根据所述无线承载的配置信息生成所述链路配置信息,所述无线承载为所述第一终端与所述网络设备之间的无线承载;或者,
所述第一终端接收所述网络设备发送的所述链路配置信息;或者,
所述第一终端接收所述第二终端发送的所述链路配置信息;或者,
所述第一终端根据预配置信息生成所述链路配置信息。
结合第一方面或第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述第一终端与所述第二终端建立基于预设协议的通信链路之后,还包括:
所述第一终端通过所述第二终端与所述网络设备传输数据包。
结合第一方面的第二种可能的实现方式,在第一方面的第三种可能的实现方式中,所述第一终端通过所述第二终端与所述网络设备传输数据包,包括:
所述第一终端将蜂窝网模块产生的蜂窝网数据包转换成基于预设协议的数据包;
所述第一终端通过所述基于预设协议的通信链路将所述基于预设协议的数据包发送给所述第二终端,以使所述第二终端将接收的所述基于预设协议的数据包转换成所述蜂窝网数据包后,通过所述蜂窝网通信链路将所述蜂窝网数据包发送给所述网络设备。
结合第一方面的第二种或第三种可能的实现方式,在第一方面的第四种可能的实现方式中,所述第一终端通过所述第二终端与所述网络设备传输数据包,包括:
所述第一终端通过所述基于预设协议的通信链路接收所述第二终端的基于预设协议的数据包,所述基于预设协议的数据包由所述第二终端将蜂窝网数据包转换得到,所述蜂窝网数据包由所述网络设备通过所述蜂窝网通信链路发送给所述第二终端;
所述第一终端将所述基于预设协议的数据包转换成所述蜂窝网数据包,并将所述蜂窝网数据包递交给蜂窝网模块处理。
第二方面,本发明实施例提供的一种通信链路建立方法,包括:
网络设备通过第二终端与第一终端建立连接,所述第二终端与所述网络设备已建立蜂窝网通信链路;
所述网络设备下发配置信息,所述配置信息用于所述第一终端与所述第二终端之间建立基于预设协议的通信链路;
其中,所述预设协议为蓝牙协议或无线保真WIFI协议,所述基于预设协议的通信链路和所述蜂窝网通信链路共同用于所述第一终端通过所述第二终端与所述网络设备传输数据包;在所述第一终端通过所述第二终端与所述网络设备传输数据包的过程中,所述第一终端和所述第二终端均具备数据包转换功能,所述数据包转换功能是指将传输的数据包在基于预设协议的数据包与蜂窝网数据包之间转换。
结合第二方面,在第一种可能的实现方式中,网络设备通过第二终端与第一终端建立连接,包括:
所述网络设备通过所述第二终端接收所述第一终端发送的请求消息,所述请求消息用于所述第一终端请求与所述网络设备建立连接。
结合第二方面或第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述网络设备下发所述配置信息,包括:
所述网络设备将无线承载的配置信息分别发送给所述第一终端和第二终端,所述无线承载的配置信息用于生成链路配置信息,所述链路配置信息用于所述第一终端与所述第二终端之间建立基于预设协议的通信链路,所述无线承载为所述第一终端与所述网络设备之间的无线承载;或者,
所述网络设备将所述无线承载的配置信息发送给所述第二终端,所述无线承载的配置信息用于生成链路配置信息,所述链路配置信息用于所述第一终端与所述第二终端之间建立基于预设协议的通信链路,所述无线承载为所述第一终端与所述网络设备之间的无线承载;或者,
所述网络设备将链路配置信息分别发送给所述第一终端和所述第二终端,所述链路配置信息用于所述第一终端与所述第二终端之间建立基于预设协议的通信链路。
结合第二方面、第二方面的第一种或第二种可能的实现方式,在第二方面的第三种可能的实现方式中,还包括:
所述网络设备通过所述第二终端与所述第一终端传输数据包。
结合第二方面的第三种可能的实现方式,在第二方面的第四种可能的实 现方式中,所述网络设备通过所述第二终端与所述第一终端传输数据包,包括:
所述网络设备通过所述蜂窝网通信链路接收所述第二终端发送的蜂窝网数据包,所述蜂窝网数据包由所述第二终端将基于预设协议的数据包转换得到,所述基于预设协议的数据包由所述第一终端通过所述基于预设协议的通信链路发送给所述第二终端;和/或,
所述网络设备通过所述蜂窝网通信链路向所述第二终端发送蜂窝网数据包,以使所述第二终端将接收的所述蜂窝网数据包转换成基于预设协议的数据包,通过所述基于预设协议的通信链路将所述基于预设协议的数据包发送给所述第一终端。
第三方面,本发明实施例提供的一种通信链路建立方法,包括:
第二终端确定第一终端与网络设备建立连接,所述第二终端与所述网络设备已建立蜂窝网通信链路;
所述第二终端确定链路配置信息,并根据所述链路配置信息,与所述第一终端建立基于预设协议的通信链路;
其中,所述预设协议为蓝牙协议或无线保真WIFI协议,所述基于预设协议的通信链路和所述蜂窝网通信链路共同用于所述第一终端通过所述第二终端与所述网络设备传输数据包;在所述第一终端通过所述第二终端与所述网络设备传输数据包的过程中,所述第一终端和所述第二终端均具备数据包转换功能,所述数据包转换功能是指将传输的数据包在基于预设协议的数据包与蜂窝网数据包之间转换。
结合第三方面,在第一种可能的实现方式中,所述第二终端确定链路配置信息,包括:
所述第二终端接收所述网络设备发送的所述链路配置信息。
结合第三方面,在第二种可能的实现方式中,所述第二终端确定链路配置信息,包括:
所述第二终端接收所述网络设备发送的无线承载的配置信息,所述第二 终端根据所述无线承载的配置信息生成所述链路配置信息,所述无线承载为所述第一终端与所述网络设备之间的无线承载。
结合第三方面的第二种可能的实现方式,在第三方面的第三种可能的实现方式中,还包括:
所述第二终端将所述链路配置信息发送给所述第一终端。
结合第三方面、第三方面的第一种至第三种任一可能的实现方式,在第三方面的第四种可能的实现方式中,所述第二终端与所述第一终端建立基于预设协议的通信链路之后,还包括:
在所述第一终端通过所述第二终端与所述网络设备传输数据包的过程中,所述第二终端通过所述基于预设协议的通信链路接收所述第一终端发送的基于预设协议的数据包;
所述第二终端将所述基于预设协议的数据包转换成蜂窝网数据包,并通过所述蜂窝网通信链路将所述蜂窝网数据包发送给所述网络设备。
结合第三方面、第三方面的第一种至第四种任一可能的实现方式,在第三方面的第五种可能的实现方式中,所述第二终端与所述第一终端建立基于预设协议的通信链路之后,还包括:
在所述第一终端通过所述第二终端与所述网络设备传输数据包的过程中,所述第二终端通过所述蜂窝网通信链路接收所述网络设备发送的蜂窝网数据包;
所述第二终端将所述蜂窝网数据包转换成基于预设协议的数据包,并通过所述基于预设协议的通信链路将所述基于预设协议的数据包发送给所述第一终端。
第四方面,本发明实施例提供的一种网络连接确定方法,包括:
第一终端获取所述第二终端所连接的网络的标识;
当所述第二终端所连接的网络的标识与所述第一终端签约的网络的标识一致时,所述第一终端确定可以通过所述第二终端与网络设备建立连接,所述网络设备为所述第二终端所连接的网络中的设备。
结合第四方面,在第一种可能的实现方式中,所述第一终端获取所述第二终端所连接的网络的标识,包括:
所述第一终端接收所述第二终端广播的第一信息,所述第一信息包括所述第二终端所连接的网络的标识,所述第一信息的数据包格式基于蓝牙协议或者无线保真WIFI协议;
所述第一终端将所述第一信息转换成第二信息,所述第二信息的数据包格式基于蜂窝网协议;
所述第一终端从所述第二信息中解析得到所述第二终端所连接的网络的标识。
结合第四方面或第四方面的第一种可能的实现方式,在第四方面的第二种可能的实现方式中,所述第一终端确定可以通过所述第二终端与网络设备建立连接之后,还包括:
所述第一终端通过所述第二终端向所述网络设备发送请求消息,所述请求消息用于所述第一终端请求与所述网络设备建立连接。
第五方面,本发明实施例提供的一种网络连接确定方法,包括:
第二终端确定第一信息,所述第一信息包括所述第二终端所连接的网络的标识,所述第二终端所连接的网络的标识用于第一终端确定可以通过所述第二终端与网络设备建立连接,所述网络设备为所述第二终端所连接的网络中的设备;
所述第二终端广播所述第一信息。
结合第五方面,在第一种可能的实现方式中,第二终端确定第一信息,包括:
所述第二终端接收所述网络设备发送的第三信息,所述第三信息包括所述第二终端所连接的网络的标志,所述第三信息的数据包格式基于蜂窝网协议;
所述第二终端将所述第三信息转换成所述第一信息,所述第一信息的数据包格式基于蓝牙协议或无线保真WIFI协议。
结合第五方面或第五方面的第一种可能的实现方式,在第五方面的第二种可能的实现方式中,所述第二终端广播所述第一信息之后,还包括:
所述第二终端向所述网络设备转发所述第一终端发送的请求消息,所述请求消息用于所述第一终端请求与所述网络设备建立连接。
第六方面,本发明实施例提供的一种协议栈,所述协议栈应用于第一终端通过第二终端与网络设备连接的系统中,所述协议栈包括:第一终端协议栈、第二终端协议栈和网络设备协议栈;
所述第一终端协议栈包括:从上层至底层依次设置的蜂窝网数据包合成协议PDCP层、适配层、预设协议栈;所述预设协议栈基于蓝牙协议或无线保真WIFI协议;
所述第二终端协议栈包括:所述第二终端与所述第一终端之间的第一接口侧的协议栈,以及所述第二终端与所述网络设备之间的第二接口侧的协议栈;其中,
所述第一接口侧的协议栈包括:从上层至底层依次设置的与所述第一终端协议栈对等的适配层、预设协议栈;
所述第二接口侧的协议栈包括:从上层至底层依次设置的第二无线链路控制RLC层、第二媒体接入控制MAC层和第二物理PHY层;
所述网络设备协议栈包括:从上层至底层依次设置的与所述第一终端协议栈对等的蜂窝网PDCP层,以及与所述第二接口侧的协议栈对等的第二RLC层、第二MAC层和第二PHY层;
若所述协议栈包括控制面协议栈,则所述第一终端协议栈的蜂窝网PDCP层之上设置有蜂窝网无线资源控制RRC层,所述网络设备协议栈的蜂窝网PDCP层之上设置有与所述第一终端协议栈对等的蜂窝网RRC层。
结合第六方面,在第一种可能的实现方式中,所述第一终端与所述第二终端之间通过基于预设协议的通信链路传输数据包,所述预设协议为蓝牙协议或WIFI协议;
所述第一终端协议栈中蜂窝网PDCP层与适配层之间设置有蜂窝网RLC 层;
所述网络侧协议栈中蜂窝网PDCP层之下设置有:与所述第一终端协议栈对等的蜂窝网RLC层。
结合第六方面,在第二种可能的实现方式中,所述适配层用于:
实现将数据包在基于预设协议的数据包与蜂窝网数据包之间转换的功能;
实现配置所述预设协议栈的参数信息的功能。
结合第六方面,在第三种可能的实现方式中,所述第二终端与所述网络设备之间通过蜂窝网通信链路传输数据包;
所述第二终端协议栈的第二RLC层之上设置有第二PDCP层;
所述网络设备协议栈的蜂窝网PDCP层与第二RLC层之间设置有:与所述第二终端协议栈对等的第二PDCP层;
所述第二PDCP层用于实现所述第二终端与所述网络设备协商好的对数据包的安全处理的功能。
结合第六方面的第三种可能的实现方式,在第六方面的第四种可能的实现方式中,所述第一接口侧的协议栈中的适配层用于实现与所述第二接口侧的协议栈中的第二PDCP层或者第二RLC层传输数据包的功能。
结合第六方面或第六方面的第二种可能的实现方式,在第六方面的第五种可能的实现方式中,
所述预设协议栈基于蓝牙协议,所述预设协议栈从上层至底层依次设置有:逻辑链路控制和适配协议L2CAP层,第一PHY层;或者,
所述预设协议栈基于WIFI协议,所述预设协议栈从上层至底层依次设置有:第一MAC层,第一PHY层。
第七方面,本发明实施例提供的一种第一终端,包括:
网络连接单元,用于通过第二终端实现第一终端与网络设备建立连接,所述第二终端与所述网络设备已建立蜂窝网通信链路;
链路建立单元,用于在所述网络连接单元通过第二终端实现第一终端与 网络设备建立连接之后,确定链路配置信息,并根据所述链路配置信息,建立所述第一终端与所述第二终端之间基于预设协议的通信链路;
其中,所述预设协议为蓝牙协议或无线保真WIFI协议,所述基于预设协议的通信链路和所述蜂窝网通信链路共同用于所述第一终端通过所述第二终端与所述网络设备传输数据包;
协议适配单元,用于所述链路建立单元建立所述第一终端与所述第二终端之间基于预设协议的通信链路之后,在所述第一终端通过所述第二终端与所述网络设备传输数据包的过程中,在所述第一终端的内部将传输的数据包在基于预设协议的数据包与蜂窝网数据包之间转换以及数据包的传递。
结合第七方面,在第一种可能的实现方式中,所述链路建立单元确定链路配置信息时,具体用于:
接收所述网络设备发送的无线承载的配置信息,根据所述无线承载的配置信息生成所述链路配置信息,所述无线承载为所述第一终端与所述网络设备之间的无线承载;或者,
接收所述网络设备发送的所述链路配置信息;或者,
接收所述第二终端发送的所述链路配置信息;或者,
根据预配置信息生成所述链路配置信息。
结合第七方面或第七方面的第一种可能的实现方式,在第七方面的第二种可能的实现方式中,还包括:
数据包传输单元,用于通过所述第二终端与所述网络设备传输数据包。
结合第七方面的第二种可能的实现方式,在第七方面的第三种可能的实现方式中,所述数据包传输单元具体用于:
将蜂窝网模块产生的蜂窝网数据包转换成基于预设协议的数据包;
通过所述基于预设协议的通信链路将所述基于预设协议的数据包发送给所述第二终端,以使所述第二终端将接收的所述基于预设协议的数据包转换成所述蜂窝网数据包后,通过所述蜂窝网通信链路将所述蜂窝网数据包发送给所述网络设备。
结合第七方面的第二种或第三种可能的实现方式,在第七方面的第四种可能的实现方式中,所述数据包传输单元具体用于:
通过所述基于预设协议的通信链路接收所述第二终端的基于预设协议的数据包,所述基于预设协议的数据包由所述第二终端将蜂窝网数据包转换得到,所述蜂窝网数据包由所述网络设备通过所述蜂窝网通信链路发送给所述第二终端;
将所述基于预设协议的数据包转换成所述蜂窝网数据包,并将所述蜂窝网数据包递交给蜂窝网模块处理。
第八方面,本发明实施例提供的一种网络设备,包括:
网络连接单元,用于通过第二终端实现网络设备与第一终端建立连接,所述第二终端与所述网络设备已建立蜂窝网通信链路;
配置信息下发单元,用于在所述网络连接单元通过第二终端实现网络设备与第一终端建立连接之后,下发配置信息,所述配置信息用于所述第一终端与所述第二终端之间建立基于预设协议的通信链路;
其中,所述预设协议为蓝牙协议或无线保真WIFI协议,所述基于预设协议的通信链路和所述蜂窝网通信链路共同用于所述第一终端通过所述第二终端与所述网络设备传输数据包;在所述第一终端通过所述第二终端与所述网络设备传输数据包的过程中,所述第一终端和所述第二终端均具备数据包转换功能,所述数据包转换功能是指将传输的数据包在基于预设协议的数据包与蜂窝网数据包之间转换。
结合第八方面,在第一种可能的实现方式中,所述网络连接单元具体用于:
通过所述第二终端接收所述第一终端发送的请求消息,所述请求消息用于所述第一终端请求与所述网络设备建立连接。
结合第八方面或第八方面的第一种可能的实现方式,在第八方面的第二种可能的实现方式中,所述配置信息下发单元具体用于:
将无线承载的配置信息分别发送给所述第一终端和第二终端,所述无线 承载的配置信息用于生成链路配置信息,所述链路配置信息用于所述第一终端与所述第二终端之间建立基于预设协议的通信链路,所述无线承载为所述第一终端与所述网络设备之间的无线承载;或者,
将所述无线承载的配置信息发送给所述第二终端,所述无线承载的配置信息用于生成链路配置信息,所述链路配置信息用于所述第一终端与所述第二终端之间建立基于预设协议的通信链路,所述无线承载为所述第一终端与所述网络设备之间的无线承载;或者,
将链路配置信息分别发送给所述第一终端和所述第二终端,所述链路配置信息用于所述第一终端与所述第二终端之间建立基于预设协议的通信链路。
结合第八方面、第八方面的第一种或第二种可能的实现方式,在第八方面的第三种可能的实现方式中,还包括:
数据包传输单元,用于通过所述第二终端与所述第一终端传输数据包。
结合第八方面的第三种可能的实现方式,在第八方面的第四种可能的实现方式中,所述数据包传输单元具体用于:
通过所述蜂窝网通信链路接收所述第二终端发送的蜂窝网数据包,所述蜂窝网数据包由所述第二终端将基于预设协议的数据包转换得到,所述基于预设协议的数据包由所述第一终端通过所述基于预设协议的通信链路发送给所述第二终端;和/或,
通过所述蜂窝网通信链路向所述第二终端发送蜂窝网数据包,以使所述第二终端将接收的所述蜂窝网数据包转换成基于预设协议的数据包,通过所述基于预设协议的通信链路将所述基于预设协议的数据包发送给所述第一终端。
第九方面,本发明实施例提供的一种第二终端,包括:
网络连接确定单元,用于确定第一终端与网络设备建立连接,所述第二终端与所述网络设备已建立蜂窝网通信链路;
链路建立单元,用于在所述网络连接确定单元确定第一终端与网络设备 建立连接之后,确定链路配置信息,并根据所述链路配置信息,建立第二终端与所述第一终端之间基于预设协议的通信链路;
其中,所述预设协议为蓝牙协议或无线保真WIFI协议,所述基于预设协议的通信链路和所述蜂窝网通信链路共同用于所述第一终端通过所述第二终端与所述网络设备传输数据包;
协议适配单元,用于在所述链路建立单元建立第二终端与所述第一终端之间基于预设协议的通信链路之后,在所述第一终端通过所述第二终端与所述网络设备传输数据包的过程中,在所述第二终端的内部将传输的数据包在基于预设协议的数据包与蜂窝网数据包之间转换以及数据包的传递。
结合第九方面,在第一种可能的实现方式中,所述链路建立单元确定链路配置信息时,具体用于:
接收所述网络设备发送的所述链路配置信息。
结合第九方面,在第二种可能的实现方式中,所述链路建立单元确定链路配置信息时,具体用于:
接收所述网络设备发送的无线承载的配置信息,根据所述无线承载的配置信息生成所述链路配置信息,所述无线承载为所述第一终端与所述网络设备之间的无线承载。
结合第九方面的第二种可能的实现方式,在第九方面的第三种可能的实现方式中,所述链路建立单元还用于:
将所述链路配置信息发送给所述第一终端。
结合第九方面、第九方面的第一种至第三种任一可能的实现方式,在第九方面的第四种可能的实现方式中,还包括:
第一数据包传输单元,用于在所述第一终端通过所述第二终端与所述网络设备传输数据包的过程中,通过所述基于预设协议的通信链路接收所述第一终端发送的基于预设协议的数据包;将所述基于预设协议的数据包转换成蜂窝网数据包,并通过所述蜂窝网通信链路将所述蜂窝网数据包发送给所述网络设备。
结合第九方面、第九方面的第一种至第四种任一可能的实现方式,在第九方面的第五种可能的实现方式中,还包括:
第二数据包传输单元,用于在所述第一终端通过所述第二终端与所述网络设备传输数据包的过程中,通过所述蜂窝网通信链路接收所述网络设备发送的蜂窝网数据包;将所述蜂窝网数据包转换成基于预设协议的数据包,并通过所述基于预设协议的通信链路将所述基于预设协议的数据包发送给所述第一终端。
第十方面,本发明实施例提供的一种网络连接确定装置,应用与第一终端,包括:
网络标识获取单元,用于获取所述第二终端所连接的网络的标识;
网络连接确定单元,用于当所述网络标识获取单元获取的所述第二终端所连接的网络的标识与所述第一终端签约的网络的标识一致时,确定所述第一终端可以通过所述第二终端与网络设备建立连接,所述网络设备为所述第二终端所连接的网络中的设备。
结合第十方面,在第一种可能的实现方式中,所述网络标识获取单元具体用于:
接收所述第二终端广播的第一信息,所述第一信息包括所述第二终端所连接的网络的标识,所述第一信息的数据包格式基于蓝牙协议或者无线保真WIFI协议;
将所述第一信息转换成第二信息,所述第二信息的数据包格式基于蜂窝网协议;
从所述第二信息中解析得到所述第二终端所连接的网络的标识。
结合第十方面或第十方面的第一种可能的实现方式,在第十方面的第二种可能的实现方式中,还包括:
网络连接建立单元,用于通过所述第二终端向所述网络设备发送请求消息,所述请求消息用于所述第一终端请求与所述网络设备建立连接。
第十一方面,本发明实施例提供的一种网络连接确定装置,应用于第二 终端包括:
信息确定单元,用于确定第一信息,所述第一信息包括所述第二终端所连接的网络的标识,所述第二终端所连接的网络的标识用于第一终端确定可以通过所述第二终端与网络设备建立连接,所述网络设备为所述第二终端所连接的网络中的设备;
信息发送单元,用于广播所述信息确定单元确定的所述第一信息。
结合第十一方面,在第一种可能的实现方式中,所述信息确定单元具体用于:
接收所述网络设备发送的第三信息,所述第三信息包括所述第二终端所连接的网络的标志,所述第三信息的数据包格式基于蜂窝网协议;
将所述第三信息转换成所述第一信息,所述第一信息的数据包格式基于蓝牙协议或无线保真WIFI协议。
结合第十一方面或第五方面的第一种可能的实现方式,还包括:
网络连接建立单元,用于向所述网络设备转发所述第一终端发送的请求消息,所述请求消息用于所述第一终端请求与所述网络设备建立连接。
通过本发明实施例提供的一种协议栈、以及一种通信链路的建立方法,建立了第一终端与网络设备之间安全连接,可实现网络设备对第一终端的直接管理,例如网络设备可以对第一终端进行增值服务。通过第一终端与第二终端之间建立的基于蓝牙协议或WIFI协议的通信链路,避免了现有技术中第二终端转发数据包时对数据包的重新生成过程,进而降低了数据包传输过程中存在的安全隐患。
本发明实施例提供的一种协议栈,对于核心网,相当于第一终端通过UU接口直接连接到网络设备中的基站,这样可以保持核心网的兼容性;此外,网络设备对第一终端的直接管理,网络设备保存有第一终端的上下文等信息,即使由于作为中继设备的第二终端与第一终端之间的距离较远等因素,导致第一终端与第二终端之间的连接断开,网络设备可以快速回恢复业务数据的传输能力,降低移动性处理流程的复杂度,进而减少时延。
附图说明
图1a为本发明实施例提供的一种用户面协议栈的结构示意图;
图1b为本发明实施例提供的一种控制面协议栈的结构示意图;
图2a为本发明实施例提供的第一终端协议栈中适配层的结构示意图;
图2b为本发明实施例提供的第二终端协议栈中适配层的结构示意图;
图3为本发明实施例提供的一种通信链路建立方法流程示意图;
图4为本发明实施例提供的一种网络连接确定方法流程示意图;
图5为本发明实施例提供的一种通信链路建立方法流程示意图;
图6为本发明实施例提供的一种通信链路建立方法流程示意图;
图7为本发明实施例提供的一种通信链路建立方法流程示意图;
图8为本发明实施例提供的一种第一终端的结构示意图;
图9为本发明实施例提供的一种网络设备的结构示意图;
图10为本发明实施例提供的一种第二终端的结构示意图;
图11为本发明实施例提供的一种网络连接确定装置结构示意图;
图12为本发明实施例提供的一种网络连接确定装置结构示意图;
图13为本发明实施例提供的一种第一终端的结构示意图;
图14为本发明实施例提供的一种网络设备的结构示意图;
图15为本发明实施例提供的一种第二终端的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例提供一种通信链路建立方法、协议栈、终端及网络设备,用以建立可穿戴设备与网络设备之间的通信链路,实现网络设备对可穿戴设 备的直接管理,降低可穿戴设备通过中继设备与网络设备之间通信过程中的安全隐患。其中,方法和装置是基于同一发明构思的,由于方法及装置解决问题的原理相似,因此装置与方法的实施可以相互参见,重复之处不再赘述。
本发明实施例提供的技术方案适用于长期演进(Long Term Evolution,LTE)系统,通过本发明实施例提供的技术方案,建立第一终端与网络设备之间的安全通信链路,第一终端通过第二终端与网络设备间进行通信,网络设备可对第一终端进行直接管理。
其中,第一终端包括可穿戴设备,也可称为远端设备,可穿戴设备包括智能眼镜、智能手环、智能手表、智能鞋等等。第二终端包括中继设备,例如手机等智能移动终端,网络设备包括第二终端连接的蜂窝网络中的设备,具体的,网络设备可以为基站。第一终端通过第二终端与网络设备进行通信。第一终端通过基于低功耗蓝牙(Blue tooth low energy,BLE)协议或无线保真(Wireless Fidelity,WIFI)协议的通信链路连接到第二终端,第二终端连接到蜂窝网中的网络设备。
本发明实施例中提供的技术方案基于如图1a和图1b所示的协议栈,图1a为用户面协议栈,图1b为控制面协议栈,图1a和图1b所示的协议栈10应用于第一终端通过第二终端与网络设备连接的系统中。
图1a中用户面协议栈10包括:第一终端协议栈11、第二终端协议栈12和网络设备协议栈13。
第一终端协议栈11包括:从上层至底层依次设置的蜂窝网数据包合成协议(Packet Data Convergence Protocol,PDCP)层111、适配层112、预设协议栈113。该预设协议栈113基于蓝牙协议或WIFI协议;适配层112用于实现将数据包在基于预设协议的数据包与蜂窝网数据包之间转换的功能,以及用于实现配置预设协议栈113的参数信息的功能。
其中,若第一终端与第二终端之间通过基于蓝牙协议的通信链路传输数据包,则预设协议栈113基于蓝牙协议,预设协议栈113从上层至底层依次设置有:逻辑链路控制和适配协议(Logical Link Control and Adaptation  Protocol,L2CAP)层,第一PHY层;
若第一终端与第二终端之间通过基于WIFI协议的通信链路传输数据包,则预设协议栈113基于WIFI协议,预设协议栈113从上层至底层依次设置有:第一MAC层,第一PHY层。
第二终端协议栈12包括:第二终端与第一终端之间的第一接口11-12侧的协议栈,以及第二终端与网络设备之间的第二接口12-13侧的协议栈;第一接口11-12为E-PC5-蓝牙接口或E-PC5-WIFI接口,第二接口12-13为UU接口。其中,
第一接口11-12侧的协议栈包括:从上层至底层依次设置的与第一终端协议栈11对等的适配层112、预设协议栈113;
第一接口11-12侧的协议栈中的适配层112用于实现将数据包在基于预设协议的数据包与蜂窝网数据包之间转换的功能,以及用于实现配置预设协议栈113的参数信息的功能。
第二接口12-13侧的协议栈包括:从上层至底层依次设置的第二无线链路控制(Radio Link Control,RLC)层114、第二媒体接入控制(Media Access Control,MAC)层115和第二物理(Physical,PHY)层116;第一接口11-12侧的协议栈中的适配层112还用于实现与第二接口12-13侧的协议栈中的第二RLC层114传输数据包的功能。
网络设备协议栈13包括:从上层至底层依次设置的与第一终端协议栈11对等的蜂窝网PDCP层111,以及与第二接口12-13侧的协议栈对等的第二RLC层114、第二MAC层115和第二PHY层116。其中,蜂窝网PDCP层111用于实现第一终端与网络设备协商好的对数据包的安全处理的功能。第二终端与网络设备之间通过蜂窝网通信链路传输数据包。
可选的,第一终端协议栈11中蜂窝网PDCP层111与适配层112之间设置有蜂窝网RLC层117;
网络侧协议栈中蜂窝网PDCP层111之下设置有:与第一终端协议栈11对等的蜂窝网RLC层117。
可选的,第二终端协议栈12的第二RLC层114之上设置有第二PDCP层118;
网络设备协议栈13的蜂窝网PDCP层111与第二RLC层114之间设置有:与第二终端协议栈12对等的第二PDCP层118;
第二PDCP层118用于实现第二终端与网络设备协商好的对数据包的安全处理的功能。
可选的,第一接口11-12侧的协议栈中的适配层112还用于实现与第二接口12-13侧的协议栈中的第二PDCP层118传输数据包的功能。
可选的,第一协议栈11中的蜂窝网PDCP层111之下设置有蜂窝网MAC层120;
网络设备协议栈13的蜂窝网PDCP层111之下设置有:与第一协议栈11对等的蜂窝网MAC层120。
通过图1a所示的用户面协议栈,对于上行传输数据,第一终端将来自蜂窝网模块的数据包在蜂窝网PDCP层进行安全处理后,通过第二终端发送至网络设备。对于下行传输数据,网络设备将来自核心网的数据包在蜂窝网PDCP层进行安全处理后,通过第二终端发送至第一终端。
图1b所示的控制面协议栈10包括第一终端协议栈11、第二终端协议栈12和网络设备协议栈13,图1b所示的控制面协议栈10在图1a所示的用户面协议栈10的基础上,如图1b所示,增加如下内容:
第一终端协议栈11的蜂窝网PDCP层111之上设置有蜂窝网无线资源控制(Radio Resource Control,RRC)层119,网络设备协议栈13的蜂窝网PDCP层111之上设置有与第一终端协议栈11对等的蜂窝网RRC层119。
蜂窝网RRC层119用于管理第一终端连接到网络设备时的参数配置,配置第一终端与网络设备之间传输数据包和信令的安全参数,以及配置第一终端的承载,第一终端的承载包括第一终连接到网络设的无线承载和网络设备到核心网的承载。
对于第一终端协议栈中的适配层112,按照适配层112实现的功能划分, 如图2a所示,该适配层112包括协议数据包转换单元1121和配置单元1122。其中,
协议数据包转换单元1121用于实现将数据包在基于蓝牙协议的数据包与蜂窝网数据包(即基于蜂窝网协议的数据包)之间转换的功能,或者将数据包在基于WIFI协议的数据包与蜂窝网数据包之间转换的功能。具体的,基于蓝牙协议或WIFI协议,协议数据包转换单元1121对数据包进行字节序的转换,和/或,添加或删除数据包的部分包头内容。对于上行传输数据,协议数据包转换单元1121将蜂窝网模块产生的蜂窝网数据包转换成基于蓝牙协议或WIFI协议的数据包,进而实现第一终端将转换后的数据包发送至第二终端。对于下行传输数据,协议数据包转换单元1121将来自第二终端的基于蓝牙协议或WIFI协议的数据包转换成蜂窝网数据包,并递交至蜂窝网模块做进一步处理。其中,蜂窝网模块的协议层至少包括蜂窝网RRC层和/或蜂窝网PDCP层。
配置单元1122用于实现配置预设协议栈113的参数信息的功能,还可以用于实现对无线承载的数据包进行服务质量(Quality of Service,QoS)等级映射的功能。配置单元1122用于根据蜂窝网的承载配置信息,来配置基于蓝牙协议或WIFI协议的预设协议栈113中各个协议层的参数。
蜂窝网的无线承载配置信息通常包含有蜂窝网RLC层和/或蜂窝网MAC层的配置参数,这些配置参数的目的是能够保证协议发送端和接收端可靠的传输数据并且保证一定的数据传输速率。
例如,蜂窝网的承载配置信息和蓝牙协议下的配置信息的对应关系如下:
当蜂窝网RLC层配置为应答模式(acknowedge mode,AM)时,基于蓝牙协议的预设协议栈中的L2CAP层应当配置为有接收端确认的模式;当蜂窝网MAC层配置有保证比特速率(Guaranteed Bit Rate,PBR)时,则蓝牙协议下配置的信道个数应满足PBR的值。或者,
蜂窝网的承载配置信息包含QoS级别标识符(QoS Class Identifier,QCI),这个QCI值对应蓝牙协议下的数据传输速率和数据传输模式(包括确认的传 输模式、重传的传输模式以及无确认的传输模式)。根据QCI来配置L2CAP层的信道个数,数据包的最大值,重传次数等。
对于第二终端协议栈的第一接口侧的协议栈中的适配层112,按照适配层112实现的功能划分,如图2b所示,该适配层112包括协议数据包转换单元1121、配置单元1122以及数据包转发单元1123。
图2b所示的适配层112与图2a所示的适配层112区别在于,图2b所示的适配层112增加了数据包转发单元1123,数据包转发单元1123用于实现适配层112与第二RLC层或第二PDCP层传输数据包的功能。对于上行传输数据包,协议数据包转换单元1121对将来自第一终端的基于蓝牙协议或WIFI协议的数据包转换成蜂窝网数据包,数据包转发单元1123将该蜂窝网数据包递交给第二RLC层或第二PDCP层,进而实现第二终端将蜂窝网数据包发送至网络设备。对于下行传输数据包,数据包转发单元1123接收来自第二RLC层或或第二PDCP层的蜂窝网数据包,数据包转发单元1123将该蜂窝网数据包递交给协议数据包转换单元1121,协议数据包转换单元1121将该蜂窝网数据包转换为基于蓝牙协议或WIFI协议的数据包,进而实现第二终端将基于蓝牙协议或WIFI协议的数据包发送至第一终端。
需要说明的是,本发明实施例提供的协议栈中的适配层可以是一个独立的实体,以实现其具有的功能;也可以通过其他现有的协议层实现该适配层具有的功能,例如,通过蜂窝网RRC层实现适配层的配置单元1122具有的功能,通过蜂窝网PDCP层实现适配层的协议数据包转换单元1121和数据包转发单元1123具有的功能。
通过本发明实施例提供的一种协议栈,能够建立第一终端与网络设备之间的安全通信链路,进而实现网络设备对第一终端的直接管理的目的。
下面结合本发明实施例提供的一种协议栈,详细说明本发明实施例提供的一种通信链路建立方法。
如图3所示,本发明实施例提供的一种通信链路建立方法中,第一终端、第二终端以及网络设备之间该方法包括:
S301、第一终端通过第二终端与网络设备建立连接;
第二终端与网络设备已建立蜂窝网通信链路。
S302、网络设备下发配置信息。
网络设备下发的配置信息用于确定第一终端和第二终端的链路配置信息,该链路配置信息用于第一终端与第二终端建立基于预设协议的通信链路。其中,预设协议是指蓝牙协议或WIFI协议。
S303、第一终端和第二终端分别确定链路配置信息,并根据该链路配置信息,建立第一终端与第二终端之间基于预设协议的通信链路。
基于预设协议的通信链路和蜂窝网通信链路共同用于第一终端通过第二终端与网络设备传输数据包;在第一终端通过第二终端与网络设备传输数据包的过程中,第一终端和第二终端均具备数据包转换功能,数据包转换功能是指将传输的数据包在基于预设协议的数据包与蜂窝网数据包之间转换。
对于本发明实施例S301第一终端通过第二终端与网络设备建立连接,本发明实施例还提供一种网络连接确定方法,如图4所示,第一终端、第二终端以及网络设备之间的交互过程如下:
S401、第二终端确定第一信息,第一信息包括第二终端所连接的网络的标识。
第二终端所连接的网络的标识用于第一终端确定是否可以通过第二终端与网络设备建立连接,网络设备为第二终端所连接的网络中的设备。
可选的,第一信息包括以下之一或组合:
公用陆地移动网络(Public Lands Mobile Networ,PLMN)标识、小区标识(cell ID)、设备标识以及基站的因特网协议(Internet Protocol,IP)地址。
其中,PLMN标识是指第二终端所连接的蜂窝网络的标识,例如中国移动;小区标识是指第二终端当前所驻留的小区的标识或第二终端当前被服务的小区的标识;设备标识是指第二终端所连接的蜂窝网络的网络设备(基站或核心网设备)分配给该第二终端的标识,该标识用于指示该第二终端可以作为中继设备;基站的IP地址是指第二终端所连接的蜂窝网络的基站的IP地 址。
第二终端通过接收网络设备发送的第三信息,来确定第一信息。第三信息至少包括第二终端所连接的网络的标志,第三信息的数据包格式基于蜂窝网协议,第三信息可以包括第一信息包括的部分信息或全部信息。第二终端通过适配层将来自网络设备的第三信息转换成第一信息,第一信息的数据包格式基于蓝牙协议或WIFI协议。
可选的,第二终端通过接收网络设备广播的RRC消息获取第三信息,网络设备广播的RRC消息包括第三信息。
S402、第二终端广播第一信息。
若第二终端通过蓝牙广播信道广播第一信息,则第二终端协议栈的适配层转换得到基于蓝牙协议的第一信息后,将该第一信息递交至基于蓝牙协议的预设协议栈中的L2CAP层,并指示利用蓝牙广播信道发送该第一信息。
可选的,基于蓝牙协议的预设协议栈中的L2CAP层周期性地发送第一信息。可以通过定义基于蓝牙协议的预设协议栈的周期缺省来实现周期性发送第一信息,也可以通过适配层指示基于蓝牙协议的预设协议栈中的L2CAP层周期性地发送第一信息。
第二终端通过WIFI广播信道广播第一信息,则第二终端协议栈的适配层转换得到基于WIFI协议的第一信息后,将该第一信息递交至基于WIFI协议的预设协议栈中的第一MAC层,并指示第一MAC层利用信标(Beacon)帧中的数据待传信息(Traffic Indication Map,TIM)域发送该第一信息。
TIM域中连接标识(Assocaition ID)中的所有比特位均设置为1。TIM域发送的内容叫做基站暂存帧,这个基站暂存帧是周期性发送,基站暂存帧的接收端是指Assocaition ID中的比特位均设置为1时对应的WIFI接收端,即对应本发明实施例中的第一终端。将Assocaition ID中所有比特位均设置为1表示,在作为中继设备的第二终端的WIFI信号覆盖范围内,所有第一终端都可以接收到利用该TIM域发送的第一信息。
S403、第一终端接收第二终端广播的第一信息后,根据第一信息包括的 第二终端所连接的网络的标识,确定是否可以通过第二终端与网络设备建立连接。
第一终端根据自身的模块底层协议(包括蓝牙协议或WIFI协议),第一终端的蜂窝网RRC层发起搜索网络模式,用以实现通过基于蓝牙协议对应的广播信道或基于WIFI协议的广播信道接收第二终端广播的第一信息。这里的搜索网络模式包括两种,一种是搜索用于第一终端连接网络设备的中继设备,即第二终端,另一种是搜索蜂窝网络的广播信息。考虑到第一终端的低功耗的特点,且第一终端周围通常存在中继设备,优选的,第一终端首先搜索用于第一终端连接网络设备的中继设备,当经过一定时长第一终端仍未搜索到可用的中继设备,第一终端再搜索蜂窝网络的广播信息。
第一终端的蜂窝网RRC层发起搜索网络模式,指示基于蓝牙协议或WIFI协议的预设协议栈接收第二终端广播的第一信息,该第一信息的数据包格式基于蓝牙协议或者无线保真WIFI协议;第一终端通过适配层将该第一信息转换成第二信息,第二信息的数据包格式基于蜂窝网协议;适配层将该第二信息递交至蜂窝网RRC层解析得到第二终端所连接的网络的标识。
当第二终端所连接的网络的标识与第一终端签约的网络的标识一致时,第一终端确定可以通过第二终端与网络设备建立连接,网络设备为第二终端所连接的网络中的设备。
当第二终端所连接的网络的标识与第一终端签约的网络的标识不一致时,第一终端确定不可以通过第二终端与网络设备建立连接。
可选的,第一终端确定可以通过第二终端与网络设备建立连接之后,第一终端通过第二终端向网络设备发送请求消息,请求消息用于第一终端请求与网络设备建立连接或保持连接。
对于本发明实施例中S302和S303,S302包括网络设备下发配置信息,S303包括第一终端和第二终端分别确定链路配置信息,并根据该链路配置信息,建立第一终端与第二终端之间基于预设协议的通信链路,可以通过以下四种方法实现:
方法一:如图5所示,第一终端、第二终端以及网络设备之间的交互过程如下:
S501、网络设备分别向第一终端和第二终端发送无线承载的配置信息;
其中,无线承载为第一终端与网络设备之间的无线承载。
S502、第一终端根据无线承载的配置信息,生成链路配置信息;
S503、第二终端根据无线承载的配置信息,生成链路配置信息;
需要说明的是,本发明实施例中并不限制S502和S503在执行上的先后顺序。
S504、第一终端和第二终端根据链路配置信息,建立第一终端与第二终端之间的基于预设协议的通信链路。
对于第一终端与第二终端之间建立基于蓝牙协议的通信链路,适配层根据无线承载的配置信息建立第一终端与第二终端之间基于蓝牙协议的通信链路。具体包括:适配层将无线承载的Qos参数映射到蓝牙协议的QoS参数上,然后生成链路配置信息,包括基于蓝牙协议的预设协议栈的配置参数,即包括L2CAP层的配置参数和第一PHY层的配置参数,适配层将L2CAP层的配置参数和第一PHY层的配置参数发送给基于蓝牙协议的预设协议栈,使得基于蓝牙协议的预设协议栈根据L2CAP层的配置参数和第一PHY层的配置参数来设置自己内部的L2CAP层的参数和第一PHY层的参数。第一终端和第二终端都配置好自身的基于蓝牙协议的预设协议栈后,就可以建立第一终端与第二终端之间基于蓝牙协议的通信链路,后续就可以利用该基于蓝牙协议的通信链路和第二终端与网络设备之间的蜂窝网通信链路,实现第一终端通过第二终端与网络设备之间传输数据包。
适配层根据无线承载的配置信息建立第一终端与第二终端之间基于蓝牙协议的通信链路,可以实现第一终端与网络设备之间的无线承载与L2CAP层的信道之间的一一对应,或者可以实现第一终端与网络设备之间的所有无线承载对应L2CAP层的一个信道。本实施例中对于蓝牙协议的改动在于:在上层协议复用(Protocol/Service Multiplexer,PSM)中增加一个协议指示来指向 适配层。第二终端的适配层还需要配置L2CAP层的信道与蜂窝模块之间的映射转发功能,包括无线承载的标识与信道标识(channel identification,CID)之间的映射关系,对第二终端转发的数据包进行添加包头信息和删除包头信息的功能,用于实现第二终端将第一终端的数据包转发给网络设备的功能。
同理,对于第一终端与第二终端之间建立基于WIFI协议的通信链路,适配层根据无线承载的配置信息建立第一终端与第二终端之间基于WIFI协议的通信链路。具体包括:适配层根据无线承载的Qos参数生成链路配置信息,包括基于蓝牙协议的预设协议栈的配置参数,即包括第一MAC层的配置参数和第一PHY层的配置参数,适配层将第一MAC层的配置参数和第一PHY层的配置参数发送给基于WIFI协议的预设协议栈,使得基于WIFI协议的预设协议栈根据第一MAC层的配置参数和第一PHY层的配置参数来设置自己内部的第一MAC层的参数和第一PHY层的参数。第一终端和第二终端都配置好自身的基于WIFI协议的预设协议栈后,就可以建立第一终端与第二终端之间基于WIFI协议的通信链路,后续就可以利用该基于WIFI协议的通信链路和第二终端与网络设备之间的蜂窝网通信链路,实现第一终端通过第二终端与网络设备之间传输数据包。
在利用基于WIFI协议的通信链路传输数据包的过程中不存在业务流的概念,因此第一终端与第二终端之间不需要区分业务流,但需要区分无线承载的QoS等级,适配层将属于同一QoS等级的无线承载的数据包组装在一起发送给第一MAC层,适配层用于实现对无线承载的数据包进行QoS等级映射的功能。例如,若蜂窝网PDCP层对无线承载的数据包已经添加了第一终端的标识和无线承载的标识,则适配层只用于实现对无线承载的数据包进行QoS等级映射的功能;若蜂窝网PDCP层没有对无线承载的数据包添加第一终端的标识和无线承载的标识,则适配层用于实现对无线承载的数据包进行QoS等级映射的功能,还用于实现对无线承载的数据包添加第一终端的标识和无线承载的标识的功能。第二终端的适配层还用于实现配置蜂窝网模块与基于WIFI协议的预设协议栈之间的映射转发功能。
方法二:如图6所示,第一终端、第二终端以及网络设备之间的交互过程如下:
S601、网络设备分别向第一终端和第二终端发送链路配置信息;
S602、第一终端和第二终端根据链路配置信息,建立第一终端与第二终端之间的基于预设协议的通信链路。
图6所示的方法包括建立第一终端与第二终端之间基于蓝牙协议的通信链路,或者,建立第一终端与第二终端之间基于WIFI协议的通信链路。与图5所示的建立通信链路的方法区别在于:
对于第一终端与第二终端之间建立基于蓝牙协议的通信链路,网络设备根据无线承载的配置信息生成链路配置信息,该链路配置信息用于建立第一终端与第二终端之间基于蓝牙协议的通信链路。即网络设备根据无线承载的Qos参数生成链路配置信息,包括基于蓝牙协议的预设协议栈的配置参数,即包括L2CAP层的配置参数和第一PHY层的配置参数,网络设备将L2CAP层的配置参数和第一PHY层的配置参数发送给第一终端和第二终端,第一终端和第二终端的基于蓝牙协议的预设协议栈根据L2CAP层的配置参数和第一PHY层的配置参数来设置自己内部的L2CAP层的参数和第一PHY层的参数。第一终端和第二终端都配置好自身的基于蓝牙协议的预设协议栈后,就可以建立第一终端与第二终端之间基于蓝牙协议的通信链路,后续就可以利用该基于蓝牙协议的通信链路和第二终端与网络设备之间的蜂窝网通信链路,实现第一终端通过第二终端与网络设备之间传输数据包。
对于第一终端与第二终端之间建立基于WIFI协议的通信链路,网络设备根据无线承载的配置信息生成链路配置信息,该链路配置信息用于建立第一终端与第二终端之间基于WIFI协议的通信链路。即网络设备根据无线承载的Qos参数生成链路配置信息,包括基于WIFI协议的预设协议栈的配置参数,即包括第一MAC层的配置参数和第一PHY层的配置参数,网络设备将第一MAC层的配置参数和第一PHY层的配置参数发送给基于WIFI协议的预设协议栈,使得第一终端和第二终端的基于WIFI协议的预设协议栈根据第一MAC 层的配置参数和第一PHY层的配置参数来设置自己内部的第一MAC层的参数和第一PHY层的参数。第一终端和第二终端都配置好自身的基于WIFI协议的预设协议栈后,就可以建立第一终端与第二终端之间基于WIFI协议的通信链路,后续就可以利用该基于WIFI协议的通信链路和第二终端与网络设备之间的蜂窝网通信链路,实现第一终端通过第二终端与网络设备之间传输数据包。
方法三:如图7所示,第一终端、第二终端以及网络设备之间的交互过程如下:
S701、网络设备向第二终端发送无线承载的配置信息;
其中,无线承载为第一终端与网络设备之间的无线承载。
S702、第二终端根据无线承载的配置信息,生成链路配置信息;
S703、第二终端将链路配置信息发送给第一终端;
S704、第一终端和第二终端根据链路配置信息,建立第一终端与第二终端之间的基于预设协议的通信链路。
图7所示的方法包括建立第一终端与第二终端之间基于蓝牙协议的通信链路,或者,建立第一终端与第二终端之间基于WIFI协议的通信链路。与图5和图6所示的建立通信链路的方法区别在于:
网络设备将无线承载的配置信息发送给第二终端,由第二终端生成链路配置信息,第二终端将该链路配置信息发送给第一终端,进而第一终端和第二终端根据该链路配置信息来设置自己内部的预设协议栈,包括基于蓝牙协议的预设协议栈或者基于WIFI协议的预设协议栈。第一终端和第二终端都配置好自身的基于WIFI协议的预设协议栈后,就可以建立第一终端与第二终端之间基于预设协议的通信链路,具体过程与图5或图6类似,此处不再赘述。
方法四:第一终端通过第二终端与网络设备建立连接时,第一终端和第二终端通过接收网络设备广播的RRC消息,获知网络设备的蜂窝网系统为LTE系统,生成预配置信息。适配层根据该预配置信息生成链路配置信息,适配层将链路配置信息发送给预设协议栈,包括基于蓝牙协议的预设协议栈 或者基于WIFI协议的预设协议栈。预设协议栈根据链路配置信息来设置自己内部的各个协议层的参数。第一终端和第二终端都配置好自身的基于WIFI协议的预设协议栈后,就可以建立第一终端与第二终端之间基于预设协议的通信链路,具体过程与图5至图7类似,此处不再赘述。
其中,预配置信息可以包括以下之一或组合:
初始承载配置信息:包括蜂窝网RLC层,蜂窝网MAC层的配置信息,适配层可以根据初始承载配置信息生成预设协议栈中的协议层的配置参数;
蓝牙协议下的初始链路配置信息和L2CAP层的配置参数:例如数据传输模式、最大数据包长度、第一PHY层的信道个数等;
WIFI协议下的配置参数:例如发射功率水平,监听窗口的长度等;
蜂窝网中的传输质量参考值,传输质量参考值包括链路速率、数据包传输最大时延等,例如,如下表一所示的传输质量参考值。
表一
QCI 数据速率 数据包传输最大时延
0 20kbps 300ms
1 32kbps 200ms
2 64kbps 200ms
3 128kbps 200ms
4 512kbps 100ms
5 1024kbps 100ms
6 2048kbps 100ms
7 2048kbps 50ms
本发明实施例中,基于预设协议的通信链路(第一终端与第二终端之间的通信链路)和蜂窝网通信链路(第二终端与网络设备之间的通信链路)共同用于第一终端通过第二终端与网络设备传输数据包。在第一终端通过第二终端与网络设备传输数据包的过程中,第一终端和第二终端均具备数据包转 换功能,数据包转换功能是指将传输的数据包在基于预设协议的数据包与蜂窝网数据包之间转换。
下面结合本发明实施例提供的协议栈,详细描述第一终端通过第二终端与网络设备传输数据包的过程。第一终端通过第二终端与网络设备传输数据包的过程如下:
传输上行数据包的过程包括:
第一终端的蜂窝网模块产生的蜂窝网数据包经过蜂窝网PDCP层进行安全处理后递交给适配层,适配层将该蜂窝网数据转换成基于预设协议的数据包,与第一终端与第二终端之间基于蓝牙协议的通信链路或基于WIFI协议的通信链路对应的,基于预设协议的数据包包括基于蓝牙协议的数据包或基于WIFI协议的数据包。适配层将基于蓝牙协议的数据包递交至基于蓝牙协议的预设协议栈的L2CAP层,L2CAP层将基于蓝牙协议的数据包发送给第二终端的L2CAP层;或者,适配层将基于WIFI协议的数据包递交至基于WIFI协议的预设协议栈的第一MAC层,第一MAC层将基于WIFI协议的数据包发送给第二终端的第一MAC层。
第二终端的L2CAP层接收基于蓝牙协议的数据包后,将基于蓝牙协议的数据包递交至适配层,适配层将基于蓝牙协议的数据包转换成蜂窝网数据包,适配层将该蜂窝网数据包递交至第二PDCP层,第二PDCP层通过第二终端与网络设备之间的UU接口将蜂窝网数据包发送给网络设备的第二PDCP层,网络设备的内部对该蜂窝网数据做进一步处理,以实现第一终端通过第二终端向网络设备发送上行数据包。或者,第二终端的第一MAC层接收基于WIFI协议的数据包后,将基于WIFI协议的数据包递交至适配层,适配层将基于WIFI协议的数据包转换成蜂窝网数据包,适配层将该蜂窝网数据包递交至第二PDCP层,第二PDCP层通过第二终端与网络设备之间的UU接口将蜂窝网数据包发送给网络设备的第二PDCP层,网络设备的内部对该蜂窝网数据做进一步处理,以实现第一终端通过第二终端向网络设备发送上行数据包。
传输下行数据包的过程为传输上行数据包的过程的逆过程,包括:
网络设备的蜂窝网模块产生的蜂窝网数据包经过蜂窝网PDCP层进行安全处理后递交至第二PDCP层,第二PDCP层通过第二终端与网络设备之间的UU接口将蜂窝网数据包发送给第二终端的第二PDCP层。
第二终端的第二PDCP层接收到蜂窝网数据包后,将蜂窝网数据包递交至适配层,适配层将该蜂窝网数据转换成基于预设协议的数据包,与第一终端与第二终端之间基于蓝牙协议的通信链路或基于WIFI协议的通信链路对应的,基于预设协议的数据包包括基于蓝牙协议的数据包或基于WIFI协议的数据包。适配层将基于蓝牙协议的数据包递交至基于蓝牙协议的预设协议栈的L2CAP层,L2CAP层将基于蓝牙协议的数据包发送给第一终端的L2CAP层;或者,适配层将基于WIFI协议的数据包递交至基于WIFI协议的预设协议栈的第一MAC层,第一MAC层将基于WIFI协议的数据包发送给第一终端的第一MAC层。
第一终端的L2CAP层接收基于蓝牙协议的数据包后,将基于蓝牙协议的数据包递交至适配层,适配层将基于蓝牙协议的数据包转换成蜂窝网数据包,第一终端内部对该蜂窝网数据做进一步处理,以实现网络设备通过第二终端向第一终端发送下行数据包。或者,第一终端的第一MAC层接收基于WIFI协议的数据包后,将基于WIFI协议的数据包递交至适配层,适配层将基于WIFI协议的数据包转换成蜂窝网数据包,第一终端内部对该蜂窝网数据做进一步处理,以实现网络设备通过第二终端向第一终端发送下行数据包。
通过本发明实施例提供的一种协议栈、以及一种通信链路的建立方法,建立了第一终端与网络设备之间安全连接,可实现网络设备对第一终端的直接管理,例如网络设备可以对第一终端进行增值服务。通过第一终端与第二终端之间建立的基于蓝牙协议或WIFI协议的通信链路,避免了现有技术中第二终端转发数据包时对数据包的重新生成过程,进而降低了数据包传输过程中存在的安全隐患。
本发明实施例提供的一种协议栈,对于核心网,相当于第一终端通过UU接口直接连接到网络设备中的基站,这样可以保持核心网的兼容性;此外, 网络设备对第一终端的直接管理,网络设备保存有第一终端的上下文等信息,即使由于作为中继设备的第二终端与第一终端之间的距离较远等因素,导致第一终端与第二终端之间的连接断开,网络设备可以快速回恢复业务数据的传输能力,降低移动性处理流程的复杂度,进而减少时延。
基于以上实施例,本发明实施例还提供了一种第一终端,第一终端可以采用图3中第一终端对应的实施例提供的方法,参阅图8所示,第一终端800包括:网络连接单元801、链路建立单元802以及协议适配单元803,可选的,还包括数据包传输单元804。
网络连接单元801,用于通过第二终端实现第一终端与网络设备建立连接,第二终端与网络设备已建立蜂窝网通信链路;
链路建立单元802,用于在网络连接单元801通过第二终端实现第一终端与网络设备建立连接之后,确定链路配置信息,并根据链路配置信息,建立第一终端与第二终端之间基于预设协议的通信链路;
其中,预设协议为蓝牙协议或无线保真WIFI协议,基于预设协议的通信链路和蜂窝网通信链路共同用于第一终端通过第二终端与网络设备传输数据包;
协议适配单元803,用于链路建立单元802建立第一终端与第二终端之间基于预设协议的通信链路之后,在第一终端通过第二终端与网络设备传输数据包的过程中,在第一终端的内部将传输的数据包在基于预设协议的数据包与蜂窝网数据包之间转换以及数据包的传递。
可选的,链路建立单元802确定链路配置信息时,具体用于:
接收网络设备发送的无线承载的配置信息,根据无线承载的配置信息生成链路配置信息,无线承载为第一终端与网络设备之间的无线承载;或者,
接收网络设备发送的链路配置信息;或者,
接收第二终端发送的链路配置信息;或者,
根据预配置信息生成链路配置信息。
可选的,还包括:
数据包传输单元804,用于通过第二终端与网络设备传输数据包。
可选的,数据包传输单元804具体用于:
将蜂窝网模块产生的蜂窝网数据包转换成基于预设协议的数据包;
通过基于预设协议的通信链路将基于预设协议的数据包发送给第二终端,以使第二终端将接收的基于预设协议的数据包转换成蜂窝网数据包后,通过蜂窝网通信链路将蜂窝网数据包发送给网络设备。
可选的,数据包传输单元804具体用于:
通过基于预设协议的通信链路接收第二终端的基于预设协议的数据包,基于预设协议的数据包由第二终端将蜂窝网数据包转换得到,蜂窝网数据包由网络设备通过蜂窝网通信链路发送给第二终端;
将基于预设协议的数据包转换成蜂窝网数据包,并将蜂窝网数据包递交给蜂窝网模块处理。
基于以上实施例,本发明实施例还提供了一种网络设备,网络设备可以采用图3中网络设备对应的实施例提供的方法,参阅图9所示,网络设备900包括:网络连接单元901和配置信息下发单元902,可选的,还包括数据包传输单元903。
网络连接单元901,用于通过第二终端实现网络设备与第一终端建立连接,第二终端与网络设备已建立蜂窝网通信链路;
配置信息下发单元902,用于在网络连接单元901通过第二终端实现网络设备与第一终端建立连接之后,下发配置信息,配置信息用于第一终端与第二终端之间建立基于预设协议的通信链路;
其中,预设协议为蓝牙协议或无线保真WIFI协议,基于预设协议的通信链路和蜂窝网通信链路共同用于第一终端通过第二终端与网络设备传输数据包;在第一终端通过第二终端与网络设备传输数据包的过程中,第一终端和第二终端均具备数据包转换功能,数据包转换功能是指将传输的数据包在基于预设协议的数据包与蜂窝网数据包之间转换。
可选的,网络连接单元901具体用于:
通过第二终端接收第一终端发送的请求消息,请求消息用于第一终端请求与网络设备建立连接。
可选的,配置信息下发单元902具体用于:
将无线承载的配置信息分别发送给第一终端和第二终端,无线承载的配置信息用于生成链路配置信息,链路配置信息用于第一终端与第二终端之间建立基于预设协议的通信链路,无线承载为第一终端与网络设备之间的无线承载;或者,
将无线承载的配置信息发送给第二终端,无线承载的配置信息用于生成链路配置信息,链路配置信息用于第一终端与第二终端之间建立基于预设协议的通信链路,无线承载为第一终端与网络设备之间的无线承载;或者,
将链路配置信息分别发送给第一终端和第二终端,链路配置信息用于第一终端与第二终端之间建立基于预设协议的通信链路。
可选的,还包括:
数据包传输单元903,用于通过第二终端与第一终端传输数据包。
可选的,数据包传输单元903具体用于:
通过蜂窝网通信链路接收第二终端发送的蜂窝网数据包,蜂窝网数据包由第二终端将基于预设协议的数据包转换得到,基于预设协议的数据包由第一终端通过基于预设协议的通信链路发送给第二终端;和/或,
通过蜂窝网通信链路向第二终端发送蜂窝网数据包,以使第二终端将接收的蜂窝网数据包转换成基于预设协议的数据包,通过基于预设协议的通信链路将基于预设协议的数据包发送给第一终端。
基于以上实施例,本发明实施例还提供了一种第二终端,第二终端可以采用图3中第二终端对应的实施例提供的方法,参阅图10所示,第二终端1000包括:网络连接确定单元1001、链路建立单元1002以及协议适配单元1003,可选的,还包括数据包传输单元1004。
网络连接确定单元1001,用于确定第一终端与网络设备建立连接,第二终端与网络设备已建立蜂窝网通信链路;
链路建立单元1002,用于在网络连接确定单元1001确定第一终端与网络设备建立连接之后,确定链路配置信息,并根据链路配置信息,建立第二终端与第一终端之间基于预设协议的通信链路;
其中,预设协议为蓝牙协议或无线保真WIFI协议,基于预设协议的通信链路和蜂窝网通信链路共同用于第一终端通过第二终端与网络设备传输数据包;
协议适配单元1003,用于在链路建立单元1002建立第二终端与第一终端之间基于预设协议的通信链路之后,在第一终端通过第二终端与网络设备传输数据包的过程中,在第二终端的内部将传输的数据包在基于预设协议的数据包与蜂窝网数据包之间转换以及数据包的传递。
可选的,链路建立单元1002确定链路配置信息时,具体用于:
接收网络设备发送的链路配置信息。
可选的,链路建立单元1002确定链路配置信息时,具体用于:
接收网络设备发送的无线承载的配置信息,根据无线承载的配置信息生成链路配置信息,无线承载为第一终端与网络设备之间的无线承载。
可选的,链路建立单元1002还用于:
将链路配置信息发送给第一终端。
可选的,还包括:
第一数据包传输单元1004单元,用于在第一终端通过第二终端与网络设备传输数据包的过程中,通过基于预设协议的通信链路接收第一终端发送的基于预设协议的数据包;将基于预设协议的数据包转换成蜂窝网数据包,并通过蜂窝网通信链路将蜂窝网数据包发送给网络设备。
可选的,还包括:
第二数据包传输单元1004单元,用于在第一终端通过第二终端与网络设备传输数据包的过程中,通过蜂窝网通信链路接收网络设备发送的蜂窝网数据包;将蜂窝网数据包转换成基于预设协议的数据包,并通过基于预设协议的通信链路将基于预设协议的数据包发送给第一终端。
基于以上实施例,本发明实施例还提供了一种网络连接确定装置,应用于第一终端,该第一终端可以采用图4中第一终端对应的实施例提供的方法,参阅图11所示,网络连接确定装置1100包括:网络标识获取单元1101和网络连接确定单元1102,可选的,还包括网络连接建立单元1103。
网络标识获取单元1101,用于获取第二终端所连接的网络的标识;
网络连接确定单元1102,用于当网络标识获取单元1101获取的第二终端所连接的网络的标识与第一终端签约的网络的标识一致时,确定第一终端可以通过第二终端与网络设备建立连接,网络设备为第二终端所连接的网络中的设备。
可选的,网络标识获取单元1101具体用于:
接收第二终端广播的第一信息,第一信息包括第二终端所连接的网络的标识,第一信息的数据包格式基于蓝牙协议或者无线保真WIFI协议;
将第一信息转换成第二信息,第二信息的数据包格式基于蜂窝网协议;
从第二信息中解析得到第二终端所连接的网络的标识。
可选的,还包括:
网络连接建立单元1103,用于通过第二终端向网络设备发送请求消息,请求消息用于第一终端请求与网络设备建立连接。
基于以上实施例,本发明实施例还提供了一种网络连接确定装置,应用于第二终端,该第二终端可以采用图4中第二终端对应的实施例提供的方法,参阅图12所示,网络连接确定装置1200包括:信息确定单元1201和信息发送单元1202,可选的,还包括网络连接建立单元1203。
信息确定单元1201,用于确定第一信息,第一信息包括第二终端所连接的网络的标识,第二终端所连接的网络的标识用于第一终端确定可以通过第二终端与网络设备建立连接,网络设备为第二终端所连接的网络中的设备;
信息发送单元1202,用于广播信息确定单元1201确定的第一信息。
可选的,信息确定单元1201具体用于:
接收网络设备发送的第三信息,第三信息包括第二终端所连接的网络的 标志,第三信息的数据包格式基于蜂窝网协议;
将第三信息转换成第一信息,第一信息的数据包格式基于蓝牙协议或无线保真WIFI协议。
可选的,还包括:
网络连接建立单元1203,用于向网络设备转发第一终端发送的请求消息,请求消息用于第一终端请求与网络设备建立连接。
需要说明的是,本发明实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
基于以上实施例,本发明还提供了一种第一终端,第一终端可采用图3和/或图4中第一终端对应的实施例提供的方法,可以是与图8和/或图11所示的第一终端装置相同的设备。参阅图13所示,该第一终端1300包括:处理器1301、收发机1302、总线1303以及存储器1304,其中:
处理器1301、收发机1302以及存储器1304通过总线1303相互连接;总线1303可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA) 总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图13中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
第一终端1300中的处理器1301对应第一终端中需要具备处理功能的单元,收发机1302对应第一终端中需要具备接收或发送数据功能的单元。存储器1304用于存放程序等。具体地,程序可以包括程序代码,该程序代码包括计算机操作指令。存储器1304可能包含随机存取存储器(random access memory,RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。处理器1301执行存储器1304所存放的应用程序,实现如上通信链路建立方法。
基于以上实施例,本发明还提供了一种网络设备,网络设备可采用图3中网络设备对应的实施例提供的方法,可以是与图9所示的网络设备相同的设备。参阅图14所示,该网络设备1400包括:处理器1401、收发机1402、总线1403以及存储器1404,其中:
处理器1401、收发机1402以及存储器1404通过总线1403相互连接;总线1403可以是简称PCI总线或EISA总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图14中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
网络设备1400中的处理器1401对应网络设备中需要具备处理功能的单元,收发机1402对应网络设备中需要具备接收或发送数据功能的单元。存储器1404用于存放程序等。具体地,程序可以包括程序代码,该程序代码包括计算机操作指令。存储器1404可能包含RAM,也可能还包括非易失性存储器,例如至少一个磁盘存储器。处理器1401执行存储器1404所存放的应用程序,实现如上通信链路建立方法。
基于以上实施例,本发明还提供了一种第二终端,第二终端可采用图3和/或图4中第二终端对应的实施例提供的方法,可以是与图10和/或图12所示的第二终端装置相同的设备。参阅图15所示,该第二终端1500包括:处理器1501、收发机1502、总线1503以及存储器1504,其中:
处理器1501、收发机1502以及存储器1504通过总线1503相互连接;总线1503可以是PCI总线或EISA总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图15中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
第二终端1500中的处理器1501对应第二终端中需要具备处理功能的单元,收发机1502对应第二终端中需要具备接收或发送数据功能的单元。存储器1504用于存放程序等。具体地,程序可以包括程序代码,该程序代码包括计算机操作指令。存储器1504可能包含RAM,也可能还包括非易失性存储器,例如至少一个磁盘存储器。处理器1501执行存储器1504所存放的应用程序,实现如上通信链路建立方法。
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。
显然,本领域的技术人员可以对本发明实施例进行各种改动和变型而不脱离本发明实施例的精神和范围。这样,倘若本发明实施例的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。

Claims (50)

  1. 一种通信链路建立方法,其特征在于,该方法包括:
    第一终端通过第二终端与网络设备建立连接,所述第二终端与所述网络设备已建立蜂窝网通信链路;
    所述第一终端确定链路配置信息,并根据所述链路配置信息,与所述第二终端建立基于预设协议的通信链路;
    其中,所述预设协议为蓝牙协议或无线保真WIFI协议,所述基于预设协议的通信链路和所述蜂窝网通信链路共同用于所述第一终端通过所述第二终端与所述网络设备传输数据包;在所述第一终端通过所述第二终端与所述网络设备传输数据包的过程中,所述第一终端和所述第二终端均具备数据包转换功能,所述数据包转换功能是指将传输的数据包在基于预设协议的数据包与蜂窝网数据包之间转换。
  2. 如权利要求1所述的方法,其特征在于,所述第一终端确定链路配置信息,包括:
    所述第一终端接收所述网络设备发送的无线承载的配置信息,所述第一终端根据所述无线承载的配置信息生成所述链路配置信息,所述无线承载为所述第一终端与所述网络设备之间的无线承载;或者,
    所述第一终端接收所述网络设备发送的所述链路配置信息;或者,
    所述第一终端接收所述第二终端发送的所述链路配置信息;或者,
    所述第一终端根据预配置信息生成所述链路配置信息。
  3. 如权利要求1或2所述的方法,其特征在于,所述第一终端与所述第二终端建立基于预设协议的通信链路之后,还包括:
    所述第一终端通过所述第二终端与所述网络设备传输数据包。
  4. 如权利要求3所述的方法,其特征在于,所述第一终端通过所述第二终端与所述网络设备传输数据包,包括:
    所述第一终端将蜂窝网模块产生的蜂窝网数据包转换成基于预设协议的 数据包;
    所述第一终端通过所述基于预设协议的通信链路将所述基于预设协议的数据包发送给所述第二终端,以使所述第二终端将接收的所述基于预设协议的数据包转换成所述蜂窝网数据包后,通过所述蜂窝网通信链路将所述蜂窝网数据包发送给所述网络设备。
  5. 如权利要求3或4所述的方法,其特征在于,所述第一终端通过所述第二终端与所述网络设备传输数据包,包括:
    所述第一终端通过所述基于预设协议的通信链路接收所述第二终端的基于预设协议的数据包,所述基于预设协议的数据包由所述第二终端将蜂窝网数据包转换得到,所述蜂窝网数据包由所述网络设备通过所述蜂窝网通信链路发送给所述第二终端;
    所述第一终端将所述基于预设协议的数据包转换成所述蜂窝网数据包,并将所述蜂窝网数据包递交给蜂窝网模块处理。
  6. 一种通信链路建立方法,其特征在于,包括:
    网络设备通过第二终端与第一终端建立连接,所述第二终端与所述网络设备已建立蜂窝网通信链路;
    所述网络设备下发配置信息,所述配置信息用于所述第一终端与所述第二终端之间建立基于预设协议的通信链路;
    其中,所述预设协议为蓝牙协议或无线保真WIFI协议,所述基于预设协议的通信链路和所述蜂窝网通信链路共同用于所述第一终端通过所述第二终端与所述网络设备传输数据包;在所述第一终端通过所述第二终端与所述网络设备传输数据包的过程中,所述第一终端和所述第二终端均具备数据包转换功能,所述数据包转换功能是指将传输的数据包在基于预设协议的数据包与蜂窝网数据包之间转换。
  7. 如权利要求6所述的方法,其特征在于,网络设备通过第二终端与第一终端建立连接,包括:
    所述网络设备通过所述第二终端接收所述第一终端发送的请求消息,所 述请求消息用于所述第一终端请求与所述网络设备建立连接。
  8. 如权利要求6或7所述的方法,其特征在于,所述网络设备下发所述配置信息,包括:
    所述网络设备将无线承载的配置信息分别发送给所述第一终端和第二终端,所述无线承载的配置信息用于生成链路配置信息,所述链路配置信息用于所述第一终端与所述第二终端之间建立基于预设协议的通信链路,所述无线承载为所述第一终端与所述网络设备之间的无线承载;或者,
    所述网络设备将所述无线承载的配置信息发送给所述第二终端,所述无线承载的配置信息用于生成链路配置信息,所述链路配置信息用于所述第一终端与所述第二终端之间建立基于预设协议的通信链路,所述无线承载为所述第一终端与所述网络设备之间的无线承载;或者,
    所述网络设备将链路配置信息分别发送给所述第一终端和所述第二终端,所述链路配置信息用于所述第一终端与所述第二终端之间建立基于预设协议的通信链路。
  9. 如权利要求6至8任一所述的方法,其特征在于,还包括:
    所述网络设备通过所述第二终端与所述第一终端传输数据包。
  10. 如权利要求9所述的方法,其特征在于,所述网络设备通过所述第二终端与所述第一终端传输数据包,包括:
    所述网络设备通过所述蜂窝网通信链路接收所述第二终端发送的蜂窝网数据包,所述蜂窝网数据包由所述第二终端将基于预设协议的数据包转换得到,所述基于预设协议的数据包由所述第一终端通过所述基于预设协议的通信链路发送给所述第二终端;和/或,
    所述网络设备通过所述蜂窝网通信链路向所述第二终端发送蜂窝网数据包,以使所述第二终端将接收的所述蜂窝网数据包转换成基于预设协议的数据包,通过所述基于预设协议的通信链路将所述基于预设协议的数据包发送给所述第一终端。
  11. 一种通信链路建立方法,其特征在于,包括:
    第二终端确定第一终端与网络设备建立连接,所述第二终端与所述网络设备已建立蜂窝网通信链路;
    所述第二终端确定链路配置信息,并根据所述链路配置信息,与所述第一终端建立基于预设协议的通信链路;
    其中,所述预设协议为蓝牙协议或无线保真WIFI协议,所述基于预设协议的通信链路和所述蜂窝网通信链路共同用于所述第一终端通过所述第二终端与所述网络设备传输数据包;在所述第一终端通过所述第二终端与所述网络设备传输数据包的过程中,所述第一终端和所述第二终端均具备数据包转换功能,所述数据包转换功能是指将传输的数据包在基于预设协议的数据包与蜂窝网数据包之间转换。
  12. 如权利要求11所述的方法,其特征在于,所述第二终端确定链路配置信息,包括:
    所述第二终端接收所述网络设备发送的所述链路配置信息。
  13. 如权利要求11所述的方法,其特征在于,所述第二终端确定链路配置信息,包括:
    所述第二终端接收所述网络设备发送的无线承载的配置信息,所述第二终端根据所述无线承载的配置信息生成所述链路配置信息,所述无线承载为所述第一终端与所述网络设备之间的无线承载。
  14. 如权利要求13所述的方法,其特征在于,还包括:
    所述第二终端将所述链路配置信息发送给所述第一终端。
  15. 如权利要求11至14任一所述的方法,其特征在于,所述第二终端与所述第一终端建立基于预设协议的通信链路之后,还包括:
    在所述第一终端通过所述第二终端与所述网络设备传输数据包的过程中,所述第二终端通过所述基于预设协议的通信链路接收所述第一终端发送的基于预设协议的数据包;
    所述第二终端将所述基于预设协议的数据包转换成蜂窝网数据包,并通过所述蜂窝网通信链路将所述蜂窝网数据包发送给所述网络设备。
  16. 如权利要求11至15任一所述的方法,其特征在于,所述第二终端与所述第一终端建立基于预设协议的通信链路之后,还包括:
    在所述第一终端通过所述第二终端与所述网络设备传输数据包的过程中,所述第二终端通过所述蜂窝网通信链路接收所述网络设备发送的蜂窝网数据包;
    所述第二终端将所述蜂窝网数据包转换成基于预设协议的数据包,并通过所述基于预设协议的通信链路将所述基于预设协议的数据包发送给所述第一终端。
  17. 一种网络连接确定方法,其特征在于,包括:
    第一终端获取所述第二终端所连接的网络的标识;
    当所述第二终端所连接的网络的标识与所述第一终端签约的网络的标识一致时,所述第一终端确定可以通过所述第二终端与网络设备建立连接,所述网络设备为所述第二终端所连接的网络中的设备。
  18. 如权利要求17所述的方法,其特征在于,所述第一终端获取所述第二终端所连接的网络的标识,包括:
    所述第一终端接收所述第二终端广播的第一信息,所述第一信息包括所述第二终端所连接的网络的标识,所述第一信息的数据包格式基于蓝牙协议或者无线保真WIFI协议;
    所述第一终端将所述第一信息转换成第二信息,所述第二信息的数据包格式基于蜂窝网协议;
    所述第一终端从所述第二信息中解析得到所述第二终端所连接的网络的标识。
  19. 如权利要求17或18所述的方法,其特征在于,所述第一终端确定可以通过所述第二终端与网络设备建立连接之后,还包括:
    所述第一终端通过所述第二终端向所述网络设备发送请求消息,所述请求消息用于所述第一终端请求与所述网络设备建立连接。
  20. 一种网络连接确定方法,其特征在于,包括:
    第二终端确定第一信息,所述第一信息包括所述第二终端所连接的网络的标识,所述第二终端所连接的网络的标识用于第一终端确定可以通过所述第二终端与网络设备建立连接,所述网络设备为所述第二终端所连接的网络中的设备;
    所述第二终端广播所述第一信息。
  21. 如权利要求20所述的方法,其特征在于,第二终端确定第一信息,包括:
    所述第二终端接收所述网络设备发送的第三信息,所述第三信息包括所述第二终端所连接的网络的标志,所述第三信息的数据包格式基于蜂窝网协议;
    所述第二终端将所述第三信息转换成所述第一信息,所述第一信息的数据包格式基于蓝牙协议或无线保真WIFI协议。
  22. 如权利要求20或21所述的方法,其特征在于,所述第二终端广播所述第一信息之后,还包括:
    所述第二终端向所述网络设备转发所述第一终端发送的请求消息,所述请求消息用于所述第一终端请求与所述网络设备建立连接。
  23. 一种协议栈,其特征在于,所述协议栈应用于第一终端通过第二终端与网络设备连接的系统中,所述协议栈包括:第一终端协议栈、第二终端协议栈和网络设备协议栈;
    所述第一终端协议栈包括:从上层至底层依次设置的蜂窝网数据包合成协议PDCP层、适配层、预设协议栈;所述预设协议栈基于蓝牙协议或无线保真WIFI协议;
    所述第二终端协议栈包括:所述第二终端与所述第一终端之间的第一接口侧的协议栈,以及所述第二终端与所述网络设备之间的第二接口侧的协议栈;其中,
    所述第一接口侧的协议栈包括:从上层至底层依次设置的与所述第一终端协议栈对等的适配层、预设协议栈;
    所述第二接口侧的协议栈包括:从上层至底层依次设置的第二无线链路控制RLC层、第二媒体接入控制MAC层和第二物理PHY层;
    所述网络设备协议栈包括:从上层至底层依次设置的与所述第一终端协议栈对等的蜂窝网PDCP层,以及与所述第二接口侧的协议栈对等的第二RLC层、第二MAC层和第二PHY层;
    若所述协议栈包括控制面协议栈,则所述第一终端协议栈的蜂窝网PDCP层之上设置有蜂窝网无线资源控制RRC层,所述网络设备协议栈的蜂窝网PDCP层之上设置有与所述第一终端协议栈对等的蜂窝网RRC层。
  24. 如权利要求23所述的方法,其特征在于,所述第一终端与所述第二终端之间通过基于预设协议的通信链路传输数据包,所述预设协议为蓝牙协议或WIFI协议;
    所述第一终端协议栈中蜂窝网PDCP层与适配层之间设置有蜂窝网RLC层;
    所述网络侧协议栈中蜂窝网PDCP层之下设置有:与所述第一终端协议栈对等的蜂窝网RLC层。
  25. 如权利要求23所述的方法,其特征在于,所述适配层用于:
    实现将数据包在基于预设协议的数据包与蜂窝网数据包之间转换的功能;
    实现配置所述预设协议栈的参数信息的功能。
  26. 如权利要求23所述的方法,其特征在于,所述第二终端与所述网络设备之间通过蜂窝网通信链路传输数据包;
    所述第二终端协议栈的第二RLC层之上设置有第二PDCP层;
    所述网络设备协议栈的蜂窝网PDCP层与第二RLC层之间设置有:与所述第二终端协议栈对等的第二PDCP层;
    所述第二PDCP层用于实现所述第二终端与所述网络设备协商好的对数据包的安全处理的功能。
  27. 如权利要求26所述的方法,其特征在于,所述第一接口侧的协议栈 中的适配层用于实现与所述第二接口侧的协议栈中的第二PDCP层或者第二RLC层传输数据包的功能。
  28. 如权利要求23或25所述的方法,其特征在于,
    所述预设协议栈基于蓝牙协议,所述预设协议栈从上层至底层依次设置有:逻辑链路控制和适配协议L2CAP层,第一PHY层;或者,
    所述预设协议栈基于WIFI协议,所述预设协议栈从上层至底层依次设置有:第一MAC层,第一PHY层。
  29. 一种第一终端,其特征在于,包括:
    网络连接单元,用于通过第二终端实现第一终端与网络设备建立连接,所述第二终端与所述网络设备已建立蜂窝网通信链路;
    链路建立单元,用于在所述网络连接单元通过第二终端实现第一终端与网络设备建立连接之后,确定链路配置信息,并根据所述链路配置信息,建立所述第一终端与所述第二终端之间基于预设协议的通信链路;
    其中,所述预设协议为蓝牙协议或无线保真WIFI协议,所述基于预设协议的通信链路和所述蜂窝网通信链路共同用于所述第一终端通过所述第二终端与所述网络设备传输数据包;
    协议适配单元,用于所述链路建立单元建立所述第一终端与所述第二终端之间基于预设协议的通信链路之后,在所述第一终端通过所述第二终端与所述网络设备传输数据包的过程中,在所述第一终端的内部将传输的数据包在基于预设协议的数据包与蜂窝网数据包之间转换以及数据包的传递。
  30. 如权利要求29所述的第一终端,其特征在于,所述链路建立单元确定链路配置信息时,具体用于:
    接收所述网络设备发送的无线承载的配置信息,根据所述无线承载的配置信息生成所述链路配置信息,所述无线承载为所述第一终端与所述网络设备之间的无线承载;或者,
    接收所述网络设备发送的所述链路配置信息;或者,
    接收所述第二终端发送的所述链路配置信息;或者,
    根据预配置信息生成所述链路配置信息。
  31. 如权利要求29或30所述的第一终端,其特征在于,还包括:
    数据包传输单元,用于通过所述第二终端与所述网络设备传输数据包。
  32. 如权利要求31所述的第一终端,其特征在于,所述数据包传输单元具体用于:
    将蜂窝网模块产生的蜂窝网数据包转换成基于预设协议的数据包;
    通过所述基于预设协议的通信链路将所述基于预设协议的数据包发送给所述第二终端,以使所述第二终端将接收的所述基于预设协议的数据包转换成所述蜂窝网数据包后,通过所述蜂窝网通信链路将所述蜂窝网数据包发送给所述网络设备。
  33. 如权利要求31所述的第一终端,其特征在于,所述数据包传输单元具体用于:
    通过所述基于预设协议的通信链路接收所述第二终端的基于预设协议的数据包,所述基于预设协议的数据包由所述第二终端将蜂窝网数据包转换得到,所述蜂窝网数据包由所述网络设备通过所述蜂窝网通信链路发送给所述第二终端;
    将所述基于预设协议的数据包转换成所述蜂窝网数据包,并将所述蜂窝网数据包递交给蜂窝网模块处理。
  34. 一种网络设备,其特征在于,包括:
    网络连接单元,用于通过第二终端实现网络设备与第一终端建立连接,所述第二终端与所述网络设备已建立蜂窝网通信链路;
    配置信息下发单元,用于在所述网络连接单元通过第二终端实现网络设备与第一终端建立连接之后,下发配置信息,所述配置信息用于所述第一终端与所述第二终端之间建立基于预设协议的通信链路;
    其中,所述预设协议为蓝牙协议或无线保真WIFI协议,所述基于预设协议的通信链路和所述蜂窝网通信链路共同用于所述第一终端通过所述第二终端与所述网络设备传输数据包;在所述第一终端通过所述第二终端与所述网 络设备传输数据包的过程中,所述第一终端和所述第二终端均具备数据包转换功能,所述数据包转换功能是指将传输的数据包在基于预设协议的数据包与蜂窝网数据包之间转换。
  35. 如权利要求34所述的网络设备,其特征在于,所述网络连接单元具体用于:
    通过所述第二终端接收所述第一终端发送的请求消息,所述请求消息用于所述第一终端请求与所述网络设备建立连接。
  36. 如权利要求34或25所述的网络设备,其特征在于,所述配置信息下发单元具体用于:
    将无线承载的配置信息分别发送给所述第一终端和第二终端,所述无线承载的配置信息用于生成链路配置信息,所述链路配置信息用于所述第一终端与所述第二终端之间建立基于预设协议的通信链路,所述无线承载为所述第一终端与所述网络设备之间的无线承载;或者,
    将所述无线承载的配置信息发送给所述第二终端,所述无线承载的配置信息用于生成链路配置信息,所述链路配置信息用于所述第一终端与所述第二终端之间建立基于预设协议的通信链路,所述无线承载为所述第一终端与所述网络设备之间的无线承载;或者,
    将链路配置信息分别发送给所述第一终端和所述第二终端,所述链路配置信息用于所述第一终端与所述第二终端之间建立基于预设协议的通信链路。
  37. 如权利要求34至36任一所述的网络设备,其特征在于,还包括:
    数据包传输单元,用于通过所述第二终端与所述第一终端传输数据包。
  38. 如权利要求37所述的网络设备,其特征在于,所述数据包传输单元具体用于:
    通过所述蜂窝网通信链路接收所述第二终端发送的蜂窝网数据包,所述蜂窝网数据包由所述第二终端将基于预设协议的数据包转换得到,所述基于预设协议的数据包由所述第一终端通过所述基于预设协议的通信链路发送给 所述第二终端;和/或,
    通过所述蜂窝网通信链路向所述第二终端发送蜂窝网数据包,以使所述第二终端将接收的所述蜂窝网数据包转换成基于预设协议的数据包,通过所述基于预设协议的通信链路将所述基于预设协议的数据包发送给所述第一终端。
  39. 一种第二终端,其特征在于,包括:
    网络连接确定单元,用于确定第一终端与网络设备建立连接,所述第二终端与所述网络设备已建立蜂窝网通信链路;
    链路建立单元,用于在所述网络连接确定单元确定第一终端与网络设备建立连接之后,确定链路配置信息,并根据所述链路配置信息,建立第二终端与所述第一终端之间基于预设协议的通信链路;
    其中,所述预设协议为蓝牙协议或无线保真WIFI协议,所述基于预设协议的通信链路和所述蜂窝网通信链路共同用于所述第一终端通过所述第二终端与所述网络设备传输数据包;
    协议适配单元,用于在所述链路建立单元建立第二终端与所述第一终端之间基于预设协议的通信链路之后,在所述第一终端通过所述第二终端与所述网络设备传输数据包的过程中,在所述第二终端的内部将传输的数据包在基于预设协议的数据包与蜂窝网数据包之间转换以及数据包的传递。
  40. 如权利要求39任一所述的第二终端,其特征在于,所述链路建立单元确定链路配置信息时,具体用于:
    接收所述网络设备发送的所述链路配置信息。
  41. 如权利要求39任一所述的第二终端,其特征在于,所述链路建立单元确定链路配置信息时,具体用于:
    接收所述网络设备发送的无线承载的配置信息,根据所述无线承载的配置信息生成所述链路配置信息,所述无线承载为所述第一终端与所述网络设备之间的无线承载。
  42. 如权利要求41所述的第二终端,其特征在于,所述链路建立单元还 用于:
    将所述链路配置信息发送给所述第一终端。
  43. 如权利要求39至42任一所述的第二终端,其特征在于,还包括:
    第一数据包传输单元,用于在所述第一终端通过所述第二终端与所述网络设备传输数据包的过程中,通过所述基于预设协议的通信链路接收所述第一终端发送的基于预设协议的数据包;将所述基于预设协议的数据包转换成蜂窝网数据包,并通过所述蜂窝网通信链路将所述蜂窝网数据包发送给所述网络设备。
  44. 如权利要求39至43任一所述的第二终端,其特征在于,还包括:
    第二数据包传输单元,用于在所述第一终端通过所述第二终端与所述网络设备传输数据包的过程中,通过所述蜂窝网通信链路接收所述网络设备发送的蜂窝网数据包;将所述蜂窝网数据包转换成基于预设协议的数据包,并通过所述基于预设协议的通信链路将所述基于预设协议的数据包发送给所述第一终端。
  45. 一种网络连接确定装置,其特征在于,应用与第一终端,包括:
    网络标识获取单元,用于获取所述第二终端所连接的网络的标识;
    网络连接确定单元,用于当所述网络标识获取单元获取的所述第二终端所连接的网络的标识与所述第一终端签约的网络的标识一致时,确定所述第一终端可以通过所述第二终端与网络设备建立连接,所述网络设备为所述第二终端所连接的网络中的设备。
  46. 如权利要求45所述的装置,其特征在于,所述网络标识获取单元具体用于:
    接收所述第二终端广播的第一信息,所述第一信息包括所述第二终端所连接的网络的标识,所述第一信息的数据包格式基于蓝牙协议或者无线保真WIFI协议;
    将所述第一信息转换成第二信息,所述第二信息的数据包格式基于蜂窝网协议;
    从所述第二信息中解析得到所述第二终端所连接的网络的标识。
  47. 如权利要求45或46所述的装置,其特征在于,还包括:
    网络连接建立单元,用于通过所述第二终端向所述网络设备发送请求消息,所述请求消息用于所述第一终端请求与所述网络设备建立连接。
  48. 一种网络连接确定装置,其特征在于,应用于第二终端,包括:
    信息确定单元,用于确定第一信息,所述第一信息包括所述第二终端所连接的网络的标识,所述第二终端所连接的网络的标识用于第一终端确定可以通过所述第二终端与网络设备建立连接,所述网络设备为所述第二终端所连接的网络中的设备;
    信息发送单元,用于广播所述信息确定单元确定的所述第一信息。
  49. 如权利要求48所述的装置,其特征在于,所述信息确定单元具体用于:
    接收所述网络设备发送的第三信息,所述第三信息包括所述第二终端所连接的网络的标志,所述第三信息的数据包格式基于蜂窝网协议;
    将所述第三信息转换成所述第一信息,所述第一信息的数据包格式基于蓝牙协议或无线保真WIFI协议。
  50. 如权利要求48或49所述的装置,其特征在于,还包括:
    网络连接建立单元,用于向所述网络设备转发所述第一终端发送的请求消息,所述请求消息用于所述第一终端请求与所述网络设备建立连接。
PCT/CN2016/073565 2016-02-04 2016-02-04 通信链路建立方法、协议栈、终端及网络设备 WO2017132961A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
BR112018015794A BR112018015794A2 (pt) 2016-02-04 2016-02-04 método de estabelecimento de enlace de comunicação, pilha de protocolos, terminal e dispositivo de rede
EP16888786.7A EP3402307B1 (en) 2016-02-04 2016-02-04 Method, protocol stack, terminal, and network device for establishing communication link
CN201680078469.4A CN108605381B (zh) 2016-02-04 2016-02-04 通信链路建立方法、终端及网络设备
PCT/CN2016/073565 WO2017132961A1 (zh) 2016-02-04 2016-02-04 通信链路建立方法、协议栈、终端及网络设备
US16/054,660 US20180343701A1 (en) 2016-02-04 2018-08-03 Communication Link Establishment Method, Protocol Stack, Terminal, and Network Device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/073565 WO2017132961A1 (zh) 2016-02-04 2016-02-04 通信链路建立方法、协议栈、终端及网络设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/054,660 Continuation US20180343701A1 (en) 2016-02-04 2018-08-03 Communication Link Establishment Method, Protocol Stack, Terminal, and Network Device

Publications (1)

Publication Number Publication Date
WO2017132961A1 true WO2017132961A1 (zh) 2017-08-10

Family

ID=59500496

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/073565 WO2017132961A1 (zh) 2016-02-04 2016-02-04 通信链路建立方法、协议栈、终端及网络设备

Country Status (5)

Country Link
US (1) US20180343701A1 (zh)
EP (1) EP3402307B1 (zh)
CN (1) CN108605381B (zh)
BR (1) BR112018015794A2 (zh)
WO (1) WO2017132961A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109451422A (zh) * 2018-11-12 2019-03-08 周口师范学院 基于位置的窄带物联网信息共享系统及其同步配置方法
WO2022237721A1 (zh) * 2021-05-14 2022-11-17 华为技术有限公司 联网方法、相关装置及系统

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017193370A1 (zh) * 2016-05-13 2017-11-16 富士通株式会社 信息传输装置、方法以及通信系统
EP3451784A4 (en) * 2016-05-13 2019-05-15 Huawei Technologies Co., Ltd. METHOD AND DEVICE FOR PRODUCING A WIRELESS CONNECTION
US10524181B2 (en) * 2016-08-03 2019-12-31 Samsung Electronics Co., Ltd. Method for cell reselection in idle mode for next generation mobile communication systems
WO2018034033A1 (ja) * 2016-08-16 2018-02-22 本郷飛行機株式会社 通信制御装置
CN108616999B (zh) * 2017-01-04 2019-09-17 电信科学技术研究院 一种数据传输方法、装置及系统
CN108199905A (zh) * 2018-02-01 2018-06-22 乐鑫信息科技(上海)有限公司 Mesh网络及其mesh设备和配网方法
JP7268685B2 (ja) * 2018-10-10 2023-05-08 ソニーグループ株式会社 通信装置、通信方法、プログラム、及び通信システム
CN111436091B (zh) * 2019-03-28 2022-05-20 维沃移动通信有限公司 传输路径的选择方法、信息配置方法、终端及网络设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201294640Y (zh) * 2008-09-28 2009-08-19 熊猫电子集团有限公司 支持蓝牙多跳传输语音的双网融合嵌入式终端
CN101686428A (zh) * 2008-09-26 2010-03-31 美国博通公司 一种无线通信方法和无线通信系统
CN102685249A (zh) * 2012-05-30 2012-09-19 江苏南亿迪纳数字科技发展有限公司 具有全球泛在通信功能的gid系统及其终端身份识别方法
CN104363557A (zh) * 2014-11-12 2015-02-18 北京国承万通信息科技有限公司 第一设备及其与第二设备通信的方法以及通信系统

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8316152B2 (en) * 2005-02-15 2012-11-20 Qualcomm Incorporated Methods and apparatus for machine-to-machine communications
US8595452B1 (en) * 2005-11-30 2013-11-26 Sprint Communications Company L.P. System and method for streaming data conversion and replication
KR101366040B1 (ko) * 2012-03-30 2014-02-26 삼성전기주식회사 가변 WiFi송신파워를 갖는 휴대용 라우팅 장치 및 그 전력소모 감축 방법
CN103582010B (zh) * 2012-07-24 2019-02-15 中兴通讯股份有限公司 一种实现融合网络数据传输方法、ue、接入网设备
US9413502B2 (en) * 2012-10-15 2016-08-09 Headwater Partners LLC Backhaul assisted by user equipment
EP2723134B1 (en) * 2012-10-18 2014-11-26 Fujitsu Limited Wireless communication in Multi-RAT System
US20140199963A1 (en) * 2013-01-16 2014-07-17 Behzad Mohebbi Methods and apparatus for a network-agnostic wireless router
US9402326B2 (en) * 2013-03-15 2016-07-26 Brightsky, Llc Fixed relocatable wireless device
US9819469B2 (en) * 2013-07-01 2017-11-14 Qualcomm Incorporated Techniques for enabling quality of service (QoS) on WLAN for traffic related to a bearer on cellular networks
US9907085B2 (en) * 2014-09-26 2018-02-27 Avago Technologies General Ip (Singapore) Pte. Ltd. WIFI-coordinated LAA-LTE
WO2016064141A1 (ko) * 2014-10-23 2016-04-28 엘지전자 주식회사 무선 통신 시스템에서 연결된 상태의 단말을 위하여 개선된 drx 방식을 구성하는 방법 및 장치
US10367854B2 (en) * 2015-11-05 2019-07-30 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for controlling services in an internet protocol multimedia subsystem

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101686428A (zh) * 2008-09-26 2010-03-31 美国博通公司 一种无线通信方法和无线通信系统
CN201294640Y (zh) * 2008-09-28 2009-08-19 熊猫电子集团有限公司 支持蓝牙多跳传输语音的双网融合嵌入式终端
CN102685249A (zh) * 2012-05-30 2012-09-19 江苏南亿迪纳数字科技发展有限公司 具有全球泛在通信功能的gid系统及其终端身份识别方法
CN104363557A (zh) * 2014-11-12 2015-02-18 北京国承万通信息科技有限公司 第一设备及其与第二设备通信的方法以及通信系统

Non-Patent Citations (1)

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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109451422A (zh) * 2018-11-12 2019-03-08 周口师范学院 基于位置的窄带物联网信息共享系统及其同步配置方法
WO2022237721A1 (zh) * 2021-05-14 2022-11-17 华为技术有限公司 联网方法、相关装置及系统

Also Published As

Publication number Publication date
CN108605381B (zh) 2020-10-27
US20180343701A1 (en) 2018-11-29
BR112018015794A2 (pt) 2018-12-26
CN108605381A (zh) 2018-09-28
EP3402307B1 (en) 2019-10-09
EP3402307A4 (en) 2019-01-02
EP3402307A1 (en) 2018-11-14

Similar Documents

Publication Publication Date Title
WO2017132961A1 (zh) 通信链路建立方法、协议栈、终端及网络设备
WO2021159906A1 (zh) sidelink中继通信方法、装置、设备及介质
CN108307536B (zh) 一种路由方法和设备
TWI764893B (zh) 用於建立無線資源控制連接的方法和裝置
EP3032871B1 (en) Data transmission method, device and system
US10764408B2 (en) Method for establishing wireless connection and device
CN110771253B (zh) 终端装置、基站装置、通信方法以及集成电路
US10440602B2 (en) System and method for data forwarding in a communications system
US10111210B2 (en) Method for implementing radio resource control protocol function, macro base station, and micro cell node
JP2014511168A (ja) 移動体通信ネットワークおよび方法
CN110741720B (zh) 终端装置、基站装置、通信方法以及集成电路
CN110771256B (zh) 终端装置、基站装置、通信方法以及集成电路
JP2023535201A (ja) サイドリンク信号伝達無線ベアラ構成方法および通信装置
US20230337299A1 (en) Methods, apparatuses and computer-readable medium for device-to-device communication
WO2022110168A1 (zh) 通信配置的方法和通信装置
WO2022052851A1 (zh) 一种服务质量QoS的监测方法
US20230023135A1 (en) Method for remote terminal connection management, terminal, and network-side device
CN105704641A (zh) 设备到设备d2d数据传输方法、装置及d2d ue
WO2018103016A1 (zh) 数据处理方法和设备
US20200154357A1 (en) Communication method and device
WO2016070615A1 (zh) 设备到设备d2d数据传输方法、装置及d2d ue
CN112913322A (zh) 终端装置、基站装置以及方法
WO2024140666A1 (zh) 一种通信方法、通信装置及通信系统
WO2024027412A1 (zh) 通信方法、通信装置及通信系统
WO2023279296A1 (zh) 无线通信方法、第一终端和通信设备

Legal Events

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

Ref document number: 16888786

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2016888786

Country of ref document: EP

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112018015794

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 2016888786

Country of ref document: EP

Effective date: 20180809

ENP Entry into the national phase

Ref document number: 112018015794

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20180802