WO2017185368A1 - Signalling transmission method and device - Google Patents

Signalling transmission method and device Download PDF

Info

Publication number
WO2017185368A1
WO2017185368A1 PCT/CN2016/080802 CN2016080802W WO2017185368A1 WO 2017185368 A1 WO2017185368 A1 WO 2017185368A1 CN 2016080802 W CN2016080802 W CN 2016080802W WO 2017185368 A1 WO2017185368 A1 WO 2017185368A1
Authority
WO
WIPO (PCT)
Prior art keywords
tcp
signaling
tcp connection
air interface
wireless air
Prior art date
Application number
PCT/CN2016/080802
Other languages
French (fr)
Chinese (zh)
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 CN201680084421.4A priority Critical patent/CN108886705A/en
Priority to PCT/CN2016/080802 priority patent/WO2017185368A1/en
Publication of WO2017185368A1 publication Critical patent/WO2017185368A1/en

Links

Images

Classifications

    • 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/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W92/00Interfaces specially adapted for wireless communication networks
    • H04W92/04Interfaces between hierarchically different network devices
    • H04W92/10Interfaces between hierarchically different network devices between terminal device and access point, i.e. wireless air interface

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a signaling transmission method and device.
  • MTC Machine Type Communication
  • TCP Transmission Control Protocol
  • IP Internet Protocol
  • the initiator obtains the IP address of the destination end through interaction with the Domain Name System (DNS). Then, the initiator sends a three-way handshake process through the network side.
  • DNS Domain Name System
  • the network side is responsible for transparently transmitting the TCP packet sent by the initiator to the destination end. details as follows:
  • the destination end returns a segment 2 containing the TCP initial sequence number of the destination end through the network side as a response.
  • the initiator returns the segment 3 as a confirmation through the network side.
  • the initiator uses the TCP packet to perform the four-way handshake process between the network side and the destination end, thereby completing the release of the TCP connection with the destination end, as shown in FIG. 3, where the network side is responsible for sending the originating end.
  • the TCP packet is transparently transmitted to the destination. The specific process is as follows:
  • the initiator sends the segment 4 to the destination through the network side, stops the data transmission with the destination, and actively closes the TCP connection.
  • the data sequence number is the sequence number of the last byte of the transmitted data plus one.
  • the sequence number of one byte is incremented by 1.
  • the embodiment of the present invention provides a signaling transmission method and device, which are used to solve the TCP packet used in the establishment and release process of the existing TCP connection, and even if some information is empty in the TCP header, The byte of the corresponding length is occupied, which causes a waste of air interface resources.
  • a signaling transmission method includes:
  • the first device exchanges, by using the first wireless air interface signaling, information related to the establishment or release of the TCP connection of the first device and the second device with the network device, where the first wireless air interface signaling does not include TCP/ IP header structure;
  • the first device establishes a TCP connection with the second device according to related information established by the TCP connection of the first device and the second device; or the first device is configured according to the first device and the second device
  • the TCP connection releases relevant information, releasing the TCP connection with the second device.
  • the related information about the TCP connection established by the first device and the second device includes: indication information indicating that the network device is proxying the TCP connection between the first device and the second device; or
  • the related information about the TCP connection release of the first device and the second device includes: indication information for instructing the network device to proxy TCP release of the first device and the second device.
  • the related information about the TCP connection established by the first device and the second device includes: a TCP initial sequence number of the first device, or a TCP initial sequence number of the second device.
  • the related information about the TCP connection established by the first device and the second device further includes: an IP address of the first device, an IP address of the second device, and the first At least one of a TCP port number of the device and a TCP port number of the second device.
  • the first wireless air interface signaling is radio resource control RRC signaling, non-access stratum NAS signaling, or MAC layer signaling that is defined in a standard or a protocol.
  • the method includes:
  • the first device establishes a response by interacting with the network device by using the second wireless air interface signaling, where the second wireless air interface signaling does not include a TCP/IP header structure; or
  • the first device exchanges a TCP connection with the network device by using the third wireless air interface signaling, and the third wireless air interface signaling does not include a TCP/IP header structure.
  • the second wireless air interface signaling further includes: the first device The initial TCP serial number or the TCP initial serial number of the second device.
  • the second wireless air interface signaling further includes: an IP address of the first device, an IP address of the second device, and a TCP port number and location of the first device. At least one piece of information of a TCP port number of the second device.
  • the second wireless air interface signaling is RRC signaling, NAS signaling, or MAC layer signaling that is defined in a standard or a protocol;
  • the third wireless air interface signaling is RRC signaling, NAS signaling, or MAC layer signaling defined in a standard or protocol.
  • a signaling transmission method includes:
  • the network device interacts with the first device by using the first wireless air interface signaling to establish or release information related to the TCP connection of the first device and the second device, where the first wireless air interface signaling does not include TCP/ IP header structure;
  • the network device initiates TCP of the first device and the second device to the first device or the second device according to related information established by the TCP connection of the first device and the second device Establishing the connection; or the network device initiating the first device and the second device according to the related information released by the TCP connection of the first device and the second device to the first device or the second device
  • the TCP connection is released.
  • the method further includes: after the first device interacts with the information about the TCP connection established or released by the first device and the second device, the method further includes: :
  • the network device reconstructs a TCP/IP header according to related information established by the TCP connection of the first device and the second device, and sends the second device to request the second device to establish and a first TCP connection establishment signaling of a TCP connection of the first device, where the first TCP connection establishment signaling includes a reconstructed TCP/IP header;
  • the network device initiates, according to the information about the release of the TCP connection of the first device and the second device, the TCP connection release of the first device and the second device to the second device,
  • the network device reconfigures a TCP/IP header according to related information released by the TCP connection of the first device and the second device, and sends the second device to request the second device to release the device.
  • the first TCP connection release signaling of the TCP connection of the first device where the first TCP connection release signaling includes a reconstructed TCP/IP header.
  • the method before the network device interacts with the first device by using the first wireless air interface signaling, the method further includes: before the first device interacts with the information about the TCP connection established or released by the first device and the second device, the method further includes: :
  • the second TCP connection establishment signaling includes information about establishing a TCP connection between the first device and the second device, where The second TCP connection setup signaling includes a TCP/IP header structure;
  • the second TCP connection release signaling includes information about the release of the TCP connection of the first device and the second device, where The second TCP connection release signaling includes a TCP/IP header structure.
  • the method further includes:
  • the network device establishes a response by interacting with the first device by using a second wireless air interface signaling
  • the network device releases a response by interacting with the first device by using a third wireless air interface signaling.
  • the related information of the TCP connection establishment or release of the first device and the second device in the second aspect the first wireless air interface signaling, the second wireless air interface signaling, and the third wireless air interface signaling
  • the first wireless air interface signaling the second wireless air interface signaling
  • the third wireless air interface signaling For details, refer to the description of related embodiments in the first aspect, and details are not described herein again.
  • a terminal device includes:
  • An information interaction module configured to exchange, by using the first wireless air interface signaling, information related to the establishment or release of the TCP connection of the first device and the second device with the network device, where the first wireless air interface signaling is not Contains the TCP/IP header structure;
  • a processing module configured to establish a TCP connection with the second device according to related information established by the TCP connection of the first device and the second device; or according to the first device and the second device The related information released by the TCP connection releases the TCP connection with the second device.
  • the information interaction module is further configured to:
  • the related information of the TCP connection establishment or release of the first device and the second device in the third aspect the first wireless air interface signaling, the second wireless air interface signaling, and the third wireless air interface signaling
  • the first wireless air interface signaling the second wireless air interface signaling
  • the third wireless air interface signaling For details, refer to the description of related embodiments in the first aspect, and details are not described herein again.
  • a terminal device includes: a transceiver, and at least one processor coupled to the transceiver, wherein:
  • a processor for reading a program in the memory performing the following process:
  • Controlling by the first wireless air interface signaling, the transceiver, by using the first wireless air interface signaling, to exchange information related to the establishment or release of the transmission control protocol TCP connection between the first device and the second device, where the first wireless air interface signaling does not include TCP/IP header structure;
  • a transceiver for receiving and transmitting data under the control of a processor.
  • the processor reads the program in the memory and also performs the following process:
  • the transceiver controlling, by the third wireless air interface signaling, the transceiver to perform a TCP connection release response with the network device, where the third wireless air interface signaling does not include a TCP/IP header structure.
  • the related information of the TCP connection establishment or release of the first device and the second device in the fourth aspect the first wireless air interface signaling, the second wireless air interface signaling, and the third wireless air interface signaling
  • the first wireless air interface signaling the second wireless air interface signaling
  • the third wireless air interface signaling For details, refer to the description of related embodiments in the first aspect, and details are not described herein again.
  • a network device includes:
  • An interaction module configured to exchange, by using the first wireless air interface signaling, information related to the establishment or release of the TCP connection of the first device and the second device by the first device, where the first wireless air interface signaling is not Contains the TCP/IP header structure;
  • a management module configured to initiate, according to the related information established by the TCP connection of the first device and the second device, the first device and the second device to the first device or the second device Establishing a TCP connection; or initiating a TCP connection between the first device and the second device to the first device or the second device according to related information released by the TCP connection of the first device and the second device freed.
  • the interaction module is further configured to:
  • the first TCP connection establishment signaling of the TCP connection where the first TCP connection establishment signaling includes a reconstructed TCP/IP header
  • the connected first TCP connection releases signaling, and the first TCP connection release signaling includes a reconstructed TCP/IP header.
  • the interaction module is configured to: before the first device interacts with the first device to establish or release the related information about the TCP connection of the first device and the second device, by using the first wireless air interface signaling,
  • the second TCP connection establishment signaling includes information about establishing a TCP connection between the first device and the second device, where the second TCP is
  • the connection establishment signaling includes a TCP/IP header structure
  • the second TCP connection release signaling includes information about the release of the TCP connection of the first device and the second device, where The second TCP connection release signaling includes a TCP/IP header structure.
  • the interaction module is further configured to:
  • the TCP connection release response is exchanged with the first device by the third wireless air interface signaling.
  • the related information of the TCP connection establishment or release of the first device and the second device in the fifth aspect the first wireless air interface signaling, the second wireless air interface signaling, and the third wireless air interface signaling
  • the first wireless air interface signaling the second wireless air interface signaling
  • the third wireless air interface signaling For details, refer to the description of related embodiments in the first aspect, and details are not described herein again.
  • a network device includes: a transceiver, and at least one processor coupled to the transceiver, wherein:
  • a processor for reading a program in the memory performing the following process:
  • a transceiver for receiving and transmitting data under the control of a processor.
  • the processor reads a program in the memory, and further executes:
  • the first TCP connection of the TCP connection of the first device releases signaling, and the first TCP connection release signaling includes a reconstructed TCP/IP header.
  • the transceiver performs, by using the first wireless air interface signaling, before the first device interacts with the information about the establishment or release of the TCP connection between the first device and the second device,
  • the second TCP connection establishment signaling includes information about establishing a TCP connection between the first device and the second device, where the second TCP is
  • the connection establishment signaling includes a TCP/IP header structure
  • the second TCP connection release signaling includes information about the release of the TCP connection of the first device and the second device
  • the second TCP The connection release signaling includes a TCP/IP header structure.
  • the processor reads a program in the memory, and further executes:
  • the related information of the TCP connection establishment or release of the first device and the second device in the sixth aspect the first wireless air interface signaling, the second wireless air interface signaling, and the third wireless air interface signaling
  • the first wireless air interface signaling the second wireless air interface signaling
  • the third wireless air interface signaling For details, refer to the description of related embodiments in the first aspect, and details are not described herein again.
  • the first device and the network device exchange the related information about the establishment or release of the TCP connection between the first device and the second device by using the first wireless air interface signaling
  • the first wireless air interface signaling does not include a TCP/IP header structure, and the first wireless air interface signaling carries the related information released by the TCP connection of the first device and the second device, thereby reducing the load of the air interface transmission.
  • FIG. 1 is a schematic structural diagram of a TCP packet
  • FIG. 2 is a schematic diagram of an existing TCP connection establishment process
  • FIG. 3 is a schematic diagram of a conventional TCP connection release process
  • FIG. 4 is a schematic diagram of a possible network architecture according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of a signaling transmission method according to Embodiment 1 of the present invention.
  • FIG. 6 is a schematic flowchart of a signaling transmission method according to Embodiment 2 of the present invention.
  • FIG. 7 is a schematic flowchart of a signaling transmission method according to Embodiment 3 of the present invention.
  • FIG. 8 is a schematic flowchart of a signaling transmission method according to Embodiment 4 of the present invention.
  • FIG. 9 is a schematic flowchart of a signaling transmission method according to Embodiment 5 of the present invention.
  • FIG. 10 is a schematic flowchart of a signaling transmission method according to Embodiment 6 of the present invention.
  • FIG. 11 is a schematic flowchart diagram of a signaling transmission method according to Embodiment 7 of the present invention.
  • FIG. 12 is a schematic flowchart of a signaling transmission method according to Embodiment 8 of the present invention.
  • FIG. 13 is a schematic flowchart of a signaling transmission method according to Embodiment 9 of the present invention.
  • FIG. 14 is a schematic diagram of a terminal device according to Embodiment 10 of the present invention.
  • FIG. 15 is a schematic diagram of a terminal device according to Embodiment 11 of the present invention.
  • FIG. 16 is a schematic diagram of a network device according to Embodiment 12 of the present invention.
  • FIG. 17 is a schematic diagram of a network device according to Embodiment 13 of the present invention.
  • GSM Global System for Mobile Communications
  • CDMA Code Division Multiple Access
  • TDMA Time Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • OFDMA multiple frequency divisions FDMA
  • OFDMA Orthogonal Frequency-Division Multiple Access
  • SC-FDMA single carrier FDMA
  • GPRS General Packet Radio Service
  • LTE Long Term Evolution
  • FIG. 4 is a schematic diagram of a possible network architecture according to an embodiment of the present invention.
  • the base station (eNB) in FIG. 4 is a network device
  • the user equipment (UE) is a first device
  • the network device and the first device communicate with each other through air interface technology.
  • the first device and the network device transmit the related information about the establishment or release of the TCP connection between the first device and the second device by using the first wireless interface signaling, so that the network device proxy initiates the first A TCP connection between the device and the second device is established or released. Since the first wireless air interface signaling does not include a TCP/IP header structure, the load of the air interface transmission is reduced.
  • the first device in the embodiment of the present invention is a wireless terminal
  • the second device may be a wireless terminal, or may be a wired terminal or a wired device (such as a server).
  • the wireless terminal can be a device that provides voice and/or data connectivity to the user, a handheld device with wireless connectivity, or other processing device that is connected to the wireless modem.
  • the wireless terminal can communicate with one or more core networks via a radio access network (eg, RAN, Radio Access Network), which can be a mobile terminal, such as a mobile phone (or "cellular" phone) and with a mobile terminal
  • the computers for example, can be portable, pocket-sized, handheld, computer-integrated or in-vehicle mobile devices that exchange language and/or data with the wireless access network.
  • PCS personal communication service
  • SIP Session Initiation Protocol
  • WLL Wireless Local Loop
  • PDA Personal Digital Assistant
  • the network device in the embodiment of the present invention may refer to an access network that passes through one or A device in which multiple sectors communicate with a wireless terminal.
  • the network device may be a base station (BTS, Base Transceiver Station) in GSM or CDMA, or may be a base station (NodeB) in WCDMA, or may be an evolved base station in LTE (NodeB or eNB or e-NodeB, evolutional) Node B) is not limited in the present invention.
  • a signaling transmission method is provided, as shown in FIG. 5, including:
  • the first device exchanges, by using the first wireless air interface signaling, information related to the establishment or release of the TCP connection between the first device and the second device, and the first wireless air interface signaling does not include the TCP/IP. Header structure.
  • the first device if the first device actively initiates the establishment or release of the TCP connection with the second device, the first device sends the TCP connection between the first device and the second device to the network device by using the first wireless air interface signaling.
  • Establishing or releasing related information if the first device passively establishes or releases a TCP connection with the second device, the network device establishes or releases the TCP connection between the first device and the second device that is sent by the second device After the related information, the related information of the TCP connection establishment or release of the first device and the second device is sent to the first device by using the first wireless air interface signaling.
  • the first device establishes a TCP connection with the second device according to related information established by the TCP connection of the first device and the second device, or the first device is configured according to the first device and the first device.
  • the information about the release of the TCP connection of the two devices releases the TCP connection with the second device.
  • the network device initiates, according to the information about the TCP connection established by the first device and the second device, the TCP of the first device and the second device to the first device or the second device. Establishing the connection; or the network device initiating the first device and the second device according to the related information released by the TCP connection of the first device and the second device to the first device or the second device The TCP connection is released.
  • the network device acquires related information about the TCP connection establishment of the first device and the second device from the first device, and initiates the information to the second device.
  • the TCP connection of the first device and the second device is established; if the second device actively initiates the establishment of the TCP connection, the network device acquires the TCP of the first device and the second device from the second device Correlating the established related information, and initiating the first setting to the first device
  • a TCP connection with the second device is established. If the first device actively initiates the release of the TCP connection, the network device acquires related information about the release of the TCP connection between the first device and the second device from the first device, and initiates the information to the second device.
  • the TCP connection of the device and the second device is released; if the second device actively initiates the release of the TCP connection, the network device acquires the TCP connection of the first device and the second device from the second device. Related information, and initiating a TCP connection release of the first device and the second device to the first device.
  • the first device and the network device exchange the related information about the establishment or release of the TCP connection between the first device and the second device by using the first wireless air interface signaling, because the first wireless air interface message
  • the command does not include the TCP/IP header structure, and the first wireless air interface signaling carries the related information released by the TCP connection of the first device and the second device, thereby reducing the load of the air interface transmission.
  • the execution order of S51 and S52 is not limited. Specifically, S51 may be executed first, and then S52 may be executed; S52 may be executed first, and then S51 may be executed; and S51 and S52 may be simultaneously executed.
  • the first device may be a user equipment
  • the second device may be a server.
  • a method for signaling transmission in a process of establishing a TCP connection with a second device by a first device is provided.
  • the process is as shown in FIG. 6 and includes the following steps:
  • the first device establishes a TCP connection with the second device.
  • the first device sends, by using the first wireless air interface signaling, related information about establishing a TCP connection between the first device and the second device to the network device.
  • the first device indicates, by using the first wireless air interface signaling, that the network device is configured to establish a TCP connection between the first device and the second device, where the first wireless air interface signaling does not include a TCP/IP header structure.
  • the first wireless air interface signaling is a Radio Resource Control (RRC) signaling defined in a standard or a protocol, and a non-access layer (Non Access Stratum) , referred to as NAS) signaling, or Media Access Control (MAC) signaling.
  • RRC Radio Resource Control
  • NAS Non Access Stratum
  • MAC Media Access Control
  • the first device carries related information about the TCP connection established by the first device and the second device by extending the wireless air interface signaling defined in the standard or the protocol.
  • the wireless air interface signaling defined in the standard or the protocol.
  • the first wireless air interface signaling is newly defined signaling.
  • the first device carries the TCP connection establishment between the first device and the second device by using newly defined signaling, such as IP proxy request signaling and MAC control element signaling. Related information.
  • the related information about the TCP connection established by the first device and the second device includes: an indication for instructing the network device to proxy a TCP connection between the first device and the second device information.
  • the related information about the TCP connection established by the first device and the second device further includes: a TCP initial sequence number of the first device.
  • the related information about the TCP connection established by the first device and the second device further includes: an IP address of the first device and an IP address of the second device, and a TCP of the first device At least one of a port number and a TCP port number of the second device.
  • the related information about the TCP connection established by the first device and the second device includes: a TCP initial sequence number of the first device.
  • the related information about the TCP connection established by the first device and the second device further includes: an IP address of the first device and an IP address of the second device, and a TCP of the first device At least one of a port number and a TCP port number of the second device.
  • the wireless air interface protocol layer of the first device such as Packet Data Convergence Protocol (PDCP) layer, Radio Link Control (RLC) a layer, an RRC layer, a MAC layer, a physical layer, etc.
  • PDCP Packet Data Convergence Protocol
  • RLC Radio Link Control
  • a TCP packet also referred to as a TCP packet
  • the first wireless air interface signaling Sending, to the network device, related information about establishing or releasing a TCP connection of the first device and the second device, where the first wireless air interface signaling does not include a TCP/IP header.
  • the network device reconfigures a TCP/IP header according to related information established by the TCP connection of the first device and the second device, and sends the first TCP connection establishment signaling to the second device.
  • a segment 1) instructing the second device to establish a TCP connection with the first device, that is, step 1 in the TCP establishment three-way handshake process, where the first TCP connection establishment signaling includes a reconstructed TCP /IP header, TCP establishes a three-way handshake process.
  • the main purpose of step 1 is to notify the peer to initiate TCP establishment.
  • the network device Since the second device is generally a server, and the wired connection is generally between the network device and the server, the network device needs to reconstruct the TCP/IP header and send it to the second device.
  • the information required to reconstruct the TCP/IP header may further include: an IP address of the first device and an IP address of the second device, and the The TCP port number of the device and the TCP port number of the second device may be directly obtained from the first wireless air interface signaling, or may be obtained by other means, in the communication with the first device as described above,
  • the first device notifies the network device of the information required for establishing the TCP connection of the first device and the second device, where the network device saves information required for establishing a TCP connection between the first device and the second device .
  • the embodiment of the present invention does not limit the manner in which the network device acquires information required for establishing a TCP connection between the first device and the second device.
  • the network device receives a TCP connection setup response returned by the second device.
  • the second device After completing the TCP connection with the first device, the second device returns a TCP connection establishment response (ie, segment 2) to the network device, that is, TCP establishes step 2 in the three-way handshake, and the TCP establishes three times.
  • TCP connection establishment response ie, segment 2
  • the main purpose of step 2 in the handshake process is as a response to step 1.
  • the network device returns a TCP connection establishment response to the first device by using the second wireless air interface signaling, to notify the first device that the second device has completed establishing a TCP connection, and the second wireless air interface
  • the TCP/IP header structure is not included in the signaling.
  • the second wireless air interface signaling includes a TCP initial sequence number of the second device.
  • the second wireless air interface signaling further includes an IP address of the first device and the At least one of an IP address of the second device, and a TCP port number of the first device and a TCP port number of the second device.
  • the first device determines that the second device has established a TCP connection with the first device.
  • the wireless air interface protocol layer of the first device receives the TCP connection establishment response by using the second wireless air interface signaling, the wireless air interface protocol layer of the first device According to the information carried in the second wireless air interface signaling, the TCP packet (including the TCP/IP header) corresponding to the step 2 in the three-way handshake process is reconstructed, that is, the segment 2 is sent, and the TCP packet is sent. Give the TCP/IP layer of the first device.
  • the first device returns an acknowledgement message to the network device by using the fourth wireless air interface signaling to indicate that the TCP connection establishment response is correctly received, and the fourth wireless air interface signaling does not include the TCP/IP header. structure.
  • the TCP/IP layer of the first device receives the TCP packet corresponding to the step 2 in the TCP establishment three-way handshake process delivered by the wireless air interface protocol layer of the first device.
  • the TCP packet corresponding to the step 3 in the three-way handshake process is generated, that is, the packet 3 is sent, and the TCP packet is sent to the wireless air interface protocol layer of the first device; the wireless air interface protocol layer of the first device is generated.
  • the fourth wireless air interface signaling an acknowledgement message to the network device according to the received TCP packet.
  • the network device reconstructs a TCP/IP header, and sends a message carrying the reconstructed TCP/IP header to the second device, that is, TCP establishes step 3 in the three-way handshake, and TCP establishes a three-way handshake step 3 Is a confirmation of step 2 to indicate that the TCP connection setup response has been received correctly.
  • execution order of S61 is not limited, and S61 may also be performed after S62 and before S63, or may be performed after S66.
  • the third embodiment of the present invention another method for signaling transmission in the process of establishing a TCP connection with a second device by the first device is provided.
  • the first device and the network device extend the existing RRC. Signaling, interacting with the establishment of a TCP connection between the first device and the second device Information, other situations are similar to this embodiment, and will not be exemplified herein.
  • the flow of this embodiment is shown in FIG. 7 and includes the following steps:
  • the UE sends an RRC Connection Request message to the eNB.
  • the eNB sends an RRC Connection Setup message to the UE.
  • the UE sends an RRC Connection Setup Complete message to the eNB.
  • the eNB sends a Security Mode Command message to the UE.
  • the UE sends a Security Mode Complete message to the eNB, where the Security Mode Complete message carries the information of the first step (step 1) in the three-way handshake process.
  • an IPAgentReuest item is added to the IE (Information Element) of the Security Mode Complete message, and the IPAgentQuest includes the information of the step 1 in the TCP establishment handshake process, including: the initial TCP sequence number of the first device, and The IP address of the first device and the IP address of the second device, and the TCP port number of the first device and the TCP port number of the second device may be included.
  • the eNB initiates a TCP establishment three-way handshake process to the peer (Peer entity), such as a server;
  • the eNB establishes the information of step 1 in the three-way handshake process according to the TCP carried in the Security Mode Complete message, reconstructs the TCP/IP header, and sends a message including the reconstructed TCP/IP header to the peer end, the TCPTCP/IP
  • the header includes the information of step 1 in TCP establishing the three-way handshake process.
  • the peer end initiates a TCP establishment three-way handshake process to the eNB, step 2;
  • the eNB sends an RRC Connection Reconfiguration (RRC Connection Reconfiguration) message to the UE, where the RRC connection reconfiguration message carries the information of the step 2 in the three-way handshake process.
  • RRC Connection Reconfiguration RRC Connection Reconfiguration
  • an IPAgent entry is added to the IE field in the RRC Connection reconfiguration message, where the IPAgent includes the information of the step 2, specifically including the TCP of the second device.
  • the initial sequence number may further include an IP address of the first device and an IP address of the second device, and a TCP port number of the first device and a TCP port number of the second device.
  • the UE passes the RRC Connection Reconfiguration Complete (RRC Connection Reconfiguration Complete) message, indicating that the information of step 2 in the TCP establishment three-way handshake process has been correctly received.
  • RRC Connection Reconfiguration Complete RRC Connection Reconfiguration Complete
  • the wireless air interface protocol layer of the UE reconstructs the TCP corresponding to the step 2 in the three-way handshake process established by the TCP according to the information carried in the message. a packet (including a TCP/IP header), and sending the TCP packet to the TCP/IP layer of the UE;
  • the TCP/IP layer of the UE After receiving the TCP packet sent by the wireless air interface protocol layer of the UE, the TCP/IP layer of the UE generates a TCP packet corresponding to the step 2 in the three-way handshake process, and sends the TCP packet to the wireless air interface protocol layer of the UE.
  • the wireless air interface protocol layer of the UE indicates that the information of step 2 in the three-way handshake process of the TCP establishment has been correctly received through the RRC Connection Reconfiguration Complete message.
  • the RRC Connection Reconfiguration Complete message may not carry additional information. If the eNB receives the RRC Connection Reconfiguration Complete message, it determines that the UE has correctly received the information of step 2 in the TCP establishment three-way handshake process. Certainly, the RRC Connection Reconfiguration Complete message may also carry an indication IE, indicating that the information of step 2 in the TCP establishment three-way handshake process has been correctly received.
  • the eNB returns a TCP to the peer end to establish a three-way handshake process in step 3;
  • the eNB reconstructs the TCP/IP header and returns a message including the reconstructed TCP/IP header to the peer end, that is, initiating TCP to the peer to establish step 3 in the three-way handshake process.
  • the UE initiates uplink information transmission (UL Information Transfer) to the eNB.
  • UL Information Transfer uplink information transmission
  • a method for signaling transmission in a process of establishing a TCP connection with a first device by a second device is provided.
  • the process is as shown in FIG. 8 and includes the following steps:
  • the second device establishes a TCP connection with the first device.
  • the second device sends, by using a TCP packet, the related information about the TCP connection established by the first device and the second device to the network device, that is, initiates a TCP establishment three-step handshake process.
  • the network device sends, by using the first wireless air interface signaling, related information about establishing a TCP connection between the first device and the second device to the first device.
  • the related information about the TCP connection established by the first device and the second device includes: an indication for instructing the network device to proxy a TCP connection between the first device and the second device information.
  • the related information about the TCP connection established by the first device and the second device further includes: a TCP initial sequence number of the second device.
  • the related information about the TCP connection established by the first device and the second device further includes: an IP address of the first device and an IP address of the second device, and a TCP of the first device At least one of a port number and a TCP port number of the second device.
  • the related information about the TCP connection established by the first device and the second device includes: a TCP initial sequence number of the second device.
  • the related information about the TCP connection established by the first device and the second device further includes: an IP address of the first device and an IP address of the second device, and a TCP of the first device At least one of a port number and a TCP port number of the second device.
  • the first device establishes a TCP connection with the second device.
  • the first device establishes a TCP connection with the second device after receiving the related information about the TCP connection established by the first device and the second device that is sent by the network device by using the first wireless air interface signaling. .
  • the first device returns a TCP connection establishment response to the network device by using the second wireless air interface signaling, to indicate that the TCP connection establishment of the first device and the second device is completed, and the second The TCP/IP header structure is not included in the wireless air interface signaling.
  • the second wireless air interface signaling includes a TCP initial sequence number of the first device.
  • the second wireless air interface signaling further includes: an IP address of the first device and an IP address of the second device, and a TCP port number of the first device and the second At least one of the TCP port numbers of the device.
  • the wireless air interface protocol layer of the UE reconstructs the step 1 of the TCP establishment three-way handshake process according to the information carried in the signaling.
  • Corresponding TCP packet (including the TCP/IP header), and sending the TCP packet to the TCP/IP layer of the UE;
  • the TCP/IP layer of the UE After receiving the TCP packet sent by the wireless air interface protocol layer of the UE, the TCP/IP layer of the UE generates a TCP packet corresponding to the step 2 in the three-way handshake process, and sends the TCP packet to the wireless air interface protocol layer of the UE.
  • the wireless air interface protocol layer of the UE indicates that the information of step 1 in the three-way handshake process is correctly received by the TCP through the second wireless air interface signaling.
  • the network device reconstructs a TCP/IP header, and sends a message carrying the reconstructed TCP/IP header to the second device, that is, TCP establishes step 2 in the three-way handshake to indicate that the first A TCP connection is established between the device and the second device.
  • the second device returns an acknowledgement message to the network device by using a TCP packet, that is, the TCP establishes step 3 in the three-way handshake to indicate that the TCP connection setup response has been correctly received.
  • the network device returns an acknowledgement message to the first device by using the fourth wireless air interface signaling, to indicate that the TCP connection establishment response is correctly received, and the fourth wireless air interface signaling does not include the TCP/IP header. structure.
  • the wireless air interface protocol layer of the first device needs to reconstruct the TCP/IP header and include The TCP packet of the TCP/IP header is sent to the TCP/IP layer of the first device.
  • the fifth embodiment of the present invention another method for actively initiating the first device by the second device is provided.
  • the signaling transmission method in the process of establishing a TCP connection.
  • the first device and the network device exchange existing RRC signaling, and exchange related information established by the TCP connection between the first device and the second device.
  • Other situations are similar to this embodiment, and are not illustrated here.
  • the flow of this embodiment is shown in FIG. 9 and includes the following steps:
  • the peer end (such as a server) initiates a TCP establishment three-way handshake process to the eNB, step 1;
  • the eNB sends a paging message to the UE.
  • the UE sends an RRC Connection Request message to the eNB.
  • the eNB sends an RRC Connection Setup message to the UE.
  • the UE sends an RRC Connection Setup Complete message to the eNB.
  • the eNB sends a Security Mode Command message to the UE, where the Security Mode Command message carries the information of step 1 in the three-way handshake process.
  • an IPAgentRequest item is added to the IE (Information Element) of the Security Mode Command message, where the IPAgentRequest includes the information of the step 1 in the TCP establishment handshake process, including: the initial TCP sequence number of the second device, and The IP address of the first device and the IP address of the second device, and the TCP port number of the first device and the TCP port number of the second device may be included.
  • the IPAgentRequest includes the information of the step 1 in the TCP establishment handshake process, including: the initial TCP sequence number of the second device, and The IP address of the first device and the IP address of the second device, and the TCP port number of the first device and the TCP port number of the second device may be included.
  • the UE sends a Security Mode Complete message to the eNB, where the Security Mode Complete message carries the information of step 2 in the three-way handshake process.
  • the wireless air interface protocol layer of the UE reconstructs the TCP corresponding to the step 1 in the three-way handshake process.
  • the message (including the TCP/IP header) is sent to the TCP/IP layer of the UE.
  • the wireless air interface protocol layer of the UE After receiving the TCP packet corresponding to step 2 in the three-way handshake process of the TCP/IP layer sent by the UE, the wireless air interface protocol layer of the UE sends a TCP to establish a three-way handshake process in step 2 by using a Security Mode Complete message. information.
  • the eNB initiates a TCP establishment of a three-way handshake process to the peer (Peer entity), such as a server;
  • the eNB establishes the information of step 2 in the three-way handshake process according to the TCP carried in the Security Mode Complete message, reconstructs the TCP/IP header, and sends a message including the reconstructed TCP/IP header to the peer end, the TCPTCP/IP
  • the header includes information that TCP establishes step 2 in the three-way handshake process.
  • the peer initiates a TCP establishment to the eNB to establish step 3 in the three-way handshake process.
  • the eNB sends an RRC Connection Reconfiguration message to the UE, where the RRC connection reconfiguration message carries the information of step 3 in the three-way handshake process.
  • an IPAgent entry is added to the IE field in the RRC Connection reconfiguration message, where the IPAgent includes the information of the step 3, and specifically includes the indication information for instructing the second device to correctly receive the step 2 of the TCP establishment three-way handshake process;
  • the method may include: an IP address of the first device and an IP address of the second device, and a TCP port number of the first device and a TCP port number of the second device.
  • the UE sends an RRC Connection Reconfiguration Complete message to the eNB.
  • the wireless air interface protocol layer of the UE reconstructs the TCP packet corresponding to step 3 in the three-way handshake process (including TCP). /IP header), and send the TCP packet to the TCP/IP layer of the UE.
  • the UE initiates UL Information Transfer to the eNB.
  • a signaling transmission method in a process of actively initiating a TCP connection release with a second device by a first device is provided.
  • the process is as shown in FIG. 10, and includes the following steps:
  • the first device sends, by using the first wireless air interface signaling, related information released by the TCP connection of the first device and the second device to the network device.
  • the first device indicates, by using the first wireless air interface signaling, that the network device is configured to release the TCP connection of the first device and the second device, and the first wireless air interface signaling does not include a TCP/IP header structure.
  • the first device carries related information about the release of the TCP connection between the first device and the second device by extending the wireless air interface signaling defined in the standard or the protocol. For example, by extending the existing RRC signaling, the NAS signaling or the MAC signaling carries the related information released by the TCP connection of the first device and the second device.
  • the idle resources in the existing signaling can be better utilized, thereby reducing the air interface signaling load and further reducing the load of the air interface transmission.
  • the first device carries the first device and the first device by using newly defined signaling, such as IP proxy request signaling, and MAC control element signaling. Information about the release of the TCP connection of the second device.
  • the related information about the TCP connection release of the first device and the second device includes: indication information used to indicate that the network device is proxying the TCP release of the first device and the second device.
  • the wireless air interface protocol layer of the first device corresponds to step 1 in the TCP release four-way handshake process sent by the TCP/IP layer of the first device.
  • the information in the TCP packet is obtained and sent to the network device by using the first wireless air interface signaling.
  • the first device releases a TCP connection established with the second device.
  • the network device reconfigures a TCP/IP header according to related information released by the TCP connection of the first device and the second device.
  • the network device Since the second device is generally a server, and the wired connection is generally between the network device and the server, the network device needs to reconstruct the TCP/IP according to the related information released by the TCP connection between the first device and the second device. The header is sent to the second device.
  • the network device sends the first TCP connection release signaling (ie, segment 4) to the second device, to indicate that the second device releases the established TCP connection with the first device. That is, the TCP releases the step 1 in the four-way handshake process, where the first TCP connection release signaling includes the reconstructed TCP/IP header; the TCP release four-way handshake process is mainly used to notify the second device of the first step.
  • the device initiates a release of the TCP connection.
  • the network device returns a TCP connection release response to the first device by using the third wireless air interface signaling, to notify the second device that the TCP connection release is completed, and the third wireless space is The TCP/IP header structure is not included in the port signaling.
  • the wireless air interface protocol layer of the first device needs to reconfigure the TCP release four-step handshake process. 2 and / or step 3 corresponding TCP message (including TCP / IP header), and send the TCP message to the TCP / IP layer of the first device.
  • Step 2 is a response to step 1 in the TCP release four-way handshake process, and the corresponding TCP packet is segment 5; in the TCP release four-way handshake process, step 3 is used to notify the first device that the second device initiates the release.
  • the corresponding TCP packet is segment 6.
  • S102 may be performed before S101, and S102 may also be executed after S105.
  • the process of releasing the TCP connection between the first device and the second device initiated by the network device to the second device includes:
  • the network device initiates a TCP release four-way handshake process to the second device, and initiates a TCP release process.
  • the second device initiates a TCP release four-way handshake process step 2, that is, a response to step 1 to the network device, indicating that the second device has received step 1;
  • the second device initiates a TCP release four-way handshake process step 3 to the network device, that is, notifying the first device that the second device initiates releasing the TCP connection;
  • the network device initiates a TCP release four-way handshake process step 4 to the second device, that is, an acknowledgement to step 3, indicating that the network device has received step 3.
  • a signaling transmission method in a process of the second device actively initiating a TCP connection release with the first device is provided.
  • the process is as shown in FIG. 11 and includes the following steps:
  • the network device receives the second TCP connection release signaling sent by the second device, that is, the TCP release four-way handshake process step 1, the second TCP connection release signaling includes the first device and the first Information about the release of the TCP connection of the second device, where the second TCP connection release signaling includes a TCP/IP header structure;
  • the network device sends the first device to the first device by using the first wireless air interface signaling. Information about the release of the TCP connection with the second device.
  • the network device may reconfigure the TCP/IP packet corresponding to step 2 in the TCP release four-way handshake process, and send the packet to the second device.
  • the first device releases a TCP connection established with the second device.
  • the wireless air interface protocol layer of the first device needs to reconstruct the TCP release four-step handshake process. 1 corresponding TCP message (including TCP/IP header), and the TCP message is sent to the TCP/IP layer of the first device.
  • the first device returns a TCP connection release response to the network device by using the third wireless air interface signaling, to indicate that the first device has completed the TCP connection release, and the third wireless air interface signaling does not include TCP/IP header structure.
  • the wireless air interface protocol layer of the first device receives the TCP corresponding to step 3 in the TCP release four-way handshake process sent by the TCP/IP layer of the first device. After the packet is received, the information in the TCP packet is obtained and sent to the network device through the third wireless air interface signaling.
  • the TCP/IP packet corresponding to step 4 in the TCP release four-way handshake process (including the TCP/IP header) is reconstructed, that is, Segment 7 is sent to the TCP/IP layer of the first device.
  • the network device After receiving the third wireless air interface signaling, the network device reconstructs a TCP packet (including a TCP/IP header) corresponding to step 3 in the TCP release four-way handshake process, and sends the packet to the second device.
  • a TCP packet including a TCP/IP header
  • the eighth embodiment of the present invention another signaling transmission method in the process of actively initiating a TCP connection release with the first device by the second device is provided.
  • the first device and the network device extend the existing RRC. Signaling, interacting with the release of the TCP connection of the first device and the second device Information, other situations are similar to this embodiment, and will not be exemplified herein.
  • the flow of this embodiment is as shown in FIG. 12, and includes the following steps:
  • a peer such as a server, initiates a TCP release four-way handshake process to the eNB, step 1;
  • the eNB initiates a TCP release four-way handshake process to the peer end step 2;
  • the eNB initiates a TCP release four-way handshake process to the peer end in step 3;
  • the peer end initiates a TCP release four-way handshake process to the eNB, step 4;
  • the eNB sends an RRC Connection Release message to the UE, where the RRC connection release message carries related information released by the TCP connection of the first device and the second device.
  • the UE releases the established TCP connection with the peer.
  • the wireless air interface protocol layer of the UE needs to reconstruct the TCP packet corresponding to the step 1 of the TCP release process (including the TCP/IP header) after receiving the RRC connection release message. And sending the TCP packet to the TCP/IP layer of the UE.
  • the wireless air interface protocol layer of the UE receives the TCP packet (including the TCP/IP header) corresponding to step 3 of the TCP release process sent by the TCP/IP layer of the UE,
  • the TCP packet corresponding to step 4 of the TCP release process (including the TCP/IP header) is constructed, and the TCP packet is sent to the TCP/IP layer of the UE.
  • the ninth embodiment of the present invention another signaling transmission method in the process of actively initiating a TCP connection release with the first device by the second device is provided.
  • the first device and the network device extend the existing RRC.
  • the signaling is related to the information about the release of the TCP connection between the first device and the second device.
  • the other situations are similar to the embodiment, and are not illustrated here.
  • the flow of this embodiment is shown in FIG. 13 and includes the following steps:
  • a peer such as a server, initiates a TCP release four-way handshake process to the eNB, step 1;
  • the eNB sends an RRC Connection Reconfiguration message to the UE, where the RRC Connection Reconfiguration message carries the TCP connection between the first device and the second device. Relevant information released;
  • the eNB initiates a TCP release four-way handshake process to the peer end.
  • the UE releases the established TCP connection with the peer end.
  • the UE wireless air interface protocol layer reconstructs the TCP packet corresponding to the step 1 in the TCP release four-way handshake process (including TCP/IP).
  • the header is sent to the TCP/IP layer of the UE;
  • the TCP/IP layer of the UE sends the received TCP packet (including the TCP/IP header) to the application layer of the UE;
  • the application layer of the UE releases the established TCP connection with the peer according to the received TCP packet (including the TCP/IP header).
  • the UE sends an RRC Connection Reconfiguration Complete message to the eNB, where the RRC Connection Reconfiguration Complete message carries a TCP connection release response, to indicate that the UE has completed the TCP connection release.
  • the wireless air interface protocol layer of the UE receives the TCP/IP packet corresponding to step 3 in the TCP release four-way handshake process sent by the TCP/IP layer of the UE (including TCP) After the /IP header, the trigger sends an RRC Connection Reconfiguration Complete message to the eNB.
  • the eNB initiates a TCP release four-way handshake process to the peer end, step 3;
  • the peer end initiates a TCP release four-way handshake process step 4 to the eNB.
  • the content of the TCP/IP header field does not need to be transmitted in the wireless air interface, that is, the network device and the first device use the wireless air interface.
  • the structure of the TCP/IP header is not included in the transmitted signaling.
  • the network device needs to obtain related information and reconstruct a corresponding TCP/IP header structure.
  • the air interface between the first device and the network side may not need to send a TCP/IP header, and the first device and the network side follow certain rules. Heavy Construct a corresponding TCP/IP header.
  • the TCP/IP header reconstruction in the data transmission phase mainly includes the TCP/IP header sent by the network side to the second device (the network side receives the data sent by the first device and the network side receives the data sent by the second device).
  • the TCP ACK packet and the first device reconstruct the TCP/IP header sent to the upper layer.
  • the data sequence number in the TCP header is the initial sequence number carried in the wireless air interface signaling or an initial sequence number randomly generated (when the wireless air interface signaling does not carry the initial sequence) Number);
  • the data sequence number in the currently recovered TCP/IP header is the data sequence number of the previously restored TCP header +1; otherwise, the data sequence number in the currently restored TCP header is (previous The data sequence number in the TCP header of a recovery + the size of the data carried in the TCP/IP packet to which the previously restored TCP header belongs)%(2 32 );
  • the window field is used for flow control, indicating the number of bytes that can be sent. Since the network device has the TCP layer processing function, the flow control function can be set on the network device side; when the network device reconstructs the TCP/IP header, it can be set according to the current buffer status; when the first device (such as the UE) reconstructs the TCP When the /IP header is set, it can be set to the maximum value of the window field.
  • the primary purpose of the identifier is to use the scenario for IP packet segmentation.
  • the network device reconfigures the TCP/IP header, since the uplink packet passes only the first device (such as the UE) side and does not segment the IP packet, it only needs to be set to (the last identifier + 1)% ( 2 16 ) Yes, the first identifier can be a randomly generated number (within the valid range).
  • the network side can wait until all the same IP packet arrives before sending it to the first device, so it only needs to be set to (on The identifier of one time is +1)%(2 16 ), and the first identifier can be a randomly generated number (within the effective range);
  • the acknowledgment field (ACK) is set to 1 under other conditions.
  • the ACK SN is set to (the initial sequence number +1 carried in the wireless air interface signaling) +1% (2 32 ).
  • the network device For the TCP ACK packet corresponding to the downlink data packet (that is, the TCP ACK constructed by the network device) and the TCP ACK packet constructed by the network device side in the TCP release process, the network device generates the ACK according to the RLC layer ACK or the physical (PHY) layer ACK. That is, the network device can know which packets are correctly transmitted and which packets are not transmitted correctly, and the network device can generate a TCP/IP ACK according to the situation, wherein the ACK SN is set to correspond to the ordered data packet that the network device has correctly transmitted.
  • the network device saves the received downlink data packet, and directly sends the TCP layer ACK SN and ACK to the opposite end (that is, the wireless side does not need to wait for the correct transmission, and the subsequent wireless side transmission error occurs, the network device directly focuses on the wireless side.
  • the ACK SN is set to the byte number corresponding to the TCP packet that the network device has received correctly and orderly.
  • the first device For the TCP ACK message corresponding to the uplink data packet (ie, the TCP ACK constructed by the UE side) and the TCP ACK message constructed by the UE side in the TCP release process, the first device (such as the UE) according to the RLC layer ACK or PHY layer in the wireless protocol
  • the ACK situation is generated, that is, the RLC layer or the PHY layer in the wireless protocol can know which packets are correctly transmitted and which packets are not transmitted correctly. Therefore, the first device can generate a TCP/IP ACK according to these conditions (the ACK SN is set to the wireless protocol has been correctly transmitted.
  • the byte number corresponding to the ordered data packet is generated.
  • the second device and the network device may perform interaction through wireless air interface signaling.
  • the second device and the network device The wireless air interface signaling between the interaction does not include the TCP/IP header, and the specific process and the The wireless air interface signaling between a device and a network device is similar, and is not illustrated in the present invention.
  • the above method processing flow can be implemented by a software program, which can be stored in a storage medium, and when the stored software program is called, the above method steps are performed.
  • a terminal device As shown in FIG. 14, the device includes:
  • the information interaction module 141 is configured to exchange, by using the first wireless air interface signaling, information related to the establishment or release of the transmission control protocol TCP connection between the first device and the second device, and the first wireless air interface signaling. Does not include the TCP/IP header structure;
  • the processing module 142 is configured to establish a TCP connection with the second device according to the related information about the TCP connection established by the first device and the second device, or release the TCP connection according to the first device and the second device. Related information, releasing a TCP connection with the second device.
  • the first wireless air interface signaling, the second wireless air interface signaling, and the third wireless air interface signaling refer to related descriptions in any of the embodiments shown in FIG. 6 to FIG. I will not repeat them here.
  • the information interaction module is further configured to:
  • the device includes: a transceiver 151, and at least one processor 152 connected to the transceiver 151. among them:
  • the processor 152 is configured to read a program in the memory 153 and perform the following process:
  • the transceiver interacts with the network device to establish or release related information of the transmission control protocol TCP connection between the first device and the second device, where the first wireless The TCP/IP header structure is not included in the air interface signaling;
  • the transceiver 151 is configured to receive and transmit data under the control of the processor 152.
  • the bus architecture can include any number of interconnected buses and bridges, specifically linked by one or more processors represented by processor 152 and various circuits of memory represented by memory 153.
  • the bus architecture can also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and, therefore, will not be further described herein.
  • the bus interface provides an interface.
  • Transceiver 151 can be a plurality of components, including a transmitter and a receiver, providing means for communicating with various other devices on a transmission medium.
  • the user interface 154 may also be an interface capable of externally connecting the required devices, including but not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.
  • the processor 152 is responsible for managing the bus architecture and general processing, and the memory 153 can store data used by the processor 152 in performing operations.
  • the first wireless air interface signaling, the second wireless air interface signaling, and the third wireless air interface signaling refer to related descriptions in any of the embodiments shown in FIG. 6 to FIG. I will not repeat them here.
  • the processor 152 reads the program in the memory 153 and also performs the following process:
  • the transceiver controlling, by the third wireless air interface signaling, the transceiver to perform a TCP connection release response with the network device, where the third wireless air interface signaling does not include a TCP/IP header structure.
  • a network device is provided, as shown in the figure.
  • the device includes:
  • the interaction module 161 is configured to exchange, by using the first wireless air interface signaling, information related to the connection or release of the transmission control protocol TCP connection between the first device and the second device, and the first wireless air interface signaling. Does not include the TCP/IP header structure;
  • the management module 162 is configured to initiate the first device and the second device to the first device or the second device according to related information about the TCP connection established by the first device and the second device.
  • the TCP connection is established; or the TCP of the first device and the second device is initiated to the first device or the second device according to the related information released by the TCP connection of the first device and the second device The connection is released.
  • the interaction module is further configured to:
  • the first TCP connection establishment signaling of the TCP connection where the first TCP connection establishment signaling includes a reconstructed TCP/IP header
  • the connected first TCP connection releases signaling, and the first TCP connection release signaling includes a reconstructed TCP/IP header.
  • the information interaction module is configured to: before the first device interacts with the first device to establish or release the related information about the TCP connection of the first device and the second device, by using the first wireless air interface signaling,
  • the second TCP connection establishment signaling includes information about establishing a TCP connection between the first device and the second device, where the second TCP is
  • the connection establishment signaling includes a TCP/IP header structure
  • the second TCP connection release signaling includes information about the release of the TCP connection of the first device and the second device
  • the second TCP The connection release signaling includes a TCP/IP header structure.
  • the interaction module is further configured to:
  • the TCP connection release response is exchanged with the first device by the third wireless air interface signaling.
  • the first wireless air interface signaling, the second wireless air interface signaling, and the third wireless air interface signaling are specifically referred to the related description in any of the embodiments shown in FIG. 6 to FIG. I won't go into details here.
  • the device includes: a transceiver 171, and at least one processor 172 connected to the transceiver 171. among them:
  • the processor 172 is configured to read a program in the memory 173 and perform the following process:
  • the transceiver 171 is configured to receive and transmit data under the control of the processor 172.
  • the bus architecture may include any number of interconnected buses and bridges, specifically linked by one or more processors represented by processor 172 and various circuits of memory represented by memory 173.
  • the bus architecture can also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and, therefore, will not be further described herein.
  • the bus interface provides an interface.
  • Transceiver 171 can be a plurality of components, including a transmitter and a transceiver, providing means for communicating with various other devices on a transmission medium.
  • the processor 172 is responsible for managing the bus architecture and general processing, and the memory 173 can store data used by the processor 172 in performing operations.
  • the processor reads the program in the memory, and further executes:
  • the first TCP connection of the TCP connection of the first device releases signaling, and the first TCP connection release signaling includes a reconstructed TCP/IP header.
  • the transceiver performs, by using the first wireless air interface signaling, before the first device interacts with the information about establishing or releasing the TCP connection between the first device and the second device,
  • the second TCP connection establishment signaling includes information about establishing a TCP connection between the first device and the second device, where the second TCP is
  • the connection establishment signaling includes a TCP/IP header structure
  • the second TCP connection release signaling includes information about the release of the TCP connection of the first device and the second device
  • the second TCP The connection release signaling includes a TCP/IP header structure.
  • the processor reads the program in the memory and further performs:
  • the first wireless air interface signaling, the second wireless air interface signaling, and the third wireless air interface signaling are specifically referred to the related description in any of the embodiments shown in FIG. 6 to FIG. I won't go into details here.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A signalling transmission method and device, which are used for solving the problem of waste of air interface resources caused by the fact that in a TCP packet used in the existing TCP connection establishment and release process some pieces of information in a TCP header may also occupy a byte with the corresponding length even if it is empty. The method comprises: a first device interacts information related to transmission control protocol (TCP) connection establishment or release between the first device and a second device with a network device via first wireless air interface signalling, the first wireless air interface signalling that it does not contain a TCP/IP header structure; the first device establishing a TCP connection with the second device according to information related to TCP connection establishment between the first device and the second device; alternatively, the first device releasing a TCP connection with the second device according to information related to TCP connection release between the first device and the second device. Since first wireless air interface signalling does not contain a TCP/IP header structure, the load of air interface transmission is reduced.

Description

一种信令传输方法和设备Signal transmission method and device 技术领域Technical field
本发明涉及通信技术领域,特别涉及一种信令传输方法和设备。The present invention relates to the field of communications technologies, and in particular, to a signaling transmission method and device.
背景技术Background technique
随着通信技术的发展,越来越多的终端需要接入到无线网络,通信也不再局限于人与人之间的通信,机器类型通讯(Machine Type Communication,简称MTC)技术实现了机器与机器的通信(Machine to Machine),也变得日益普及。在目前的第五代移动通信网络需求中,低功率、低成本且大覆盖的MTC终端(即MTC通信中的终端)的连接密度达到200000/km2,且这些MTC终端每次通信的数据量比较少,有些MTC终端的通信间隔也比较长。With the development of communication technology, more and more terminals need to access the wireless network, communication is no longer limited to communication between people, Machine Type Communication (MTC) technology realizes the machine and Machine to Machine has also become increasingly popular. In the current fifth-generation mobile communication network requirements, the connection density of low-power, low-cost and large-coverage MTC terminals (ie, terminals in MTC communication) reaches 200,000/km 2 , and the amount of data of each MTC terminal communicates each time. Less, some MTC terminals have longer communication intervals.
MTC通信中仍然有部分MTC终端采用传输控制协议(Transmission Control Protocol,TCP)/因特网协议(Internet Protocol,IP),这就需要在传输数据之前先建立TCP连接,数据传输完之后,再释放所建立的TCP连接。TCP连接建立过程中,发起端使用TCP报文,通过网络侧与目的端进行三次握手流程,从而完成与目的端的TCP连接的建立,TCP报文的结构如图1所示,包括IPv4报头、TCP报头以及数据,TCP及IPv4报头总共占用40字节(byte)。TCP连接建立和释放过程所使用的TCP报文中包含了TCP报头。TCP连接的建立的过程如图2所示,发起端通过与域名系统(Domain Name System,简称DNS)的交互,获取到目的端的IP地址,然后,发起端通过网络侧,发起TCP建立三次握手流程,其中,网络侧负责将发起端发送的TCP报文,透传给目的端。具体如下:Some MTC terminals still use the Transmission Control Protocol (TCP)/Internet Protocol (IP) in the MTC communication. This requires establishing a TCP connection before transmitting data. After the data is transmitted, the release is established. TCP connection. During the TCP connection establishment process, the initiating end uses the TCP packet to perform the three-way handshake process between the network side and the destination end to complete the establishment of the TCP connection with the destination end. The structure of the TCP packet is as shown in Figure 1, including the IPv4 header and TCP. The header and data, TCP and IPv4 headers occupy a total of 40 bytes. The TCP message used in the TCP connection establishment and release process contains a TCP header. The process of establishing a TCP connection is as shown in Figure 2. The initiator obtains the IP address of the destination end through interaction with the Domain Name System (DNS). Then, the initiator sends a three-way handshake process through the network side. The network side is responsible for transparently transmitting the TCP packet sent by the initiator to the destination end. details as follows:
首先,发起端通过网络侧向目的端发送报文段1,该报文段1中携带目的端的端口,以及发起端的TCP初始序号ISN,该报文段中的SYN=1,ACK=0,数据序号设置seq=i,seq=i为选择的TCP初始序号(即ISN)。TCP规定,SYN=1的报文段不能携带数据,但要消耗掉一个序号。 First, the initiating end sends the segment 1 to the destination end through the network side, where the segment 1 carries the port of the destination end, and the initial number ISN of the originating end of the TCP, and the SYN=1, ACK=0 in the segment. The sequence number is set to seq=i, and seq=i is the selected TCP initial sequence number (ie, ISN). According to TCP, a segment with SYN=1 cannot carry data, but consumes a sequence number.
然后,目的端通过网络侧返回包含该目的端的TCP初始序号的报文段2作为响应。其中,报文段2中的确认序号设置为发起端的ISN加1,报文段2中的SYN=1,ACK=1,确认序号ack=i+1,数据序号设置为seq=j,seq=j为选择TCP初始序号seq=j,一个SYN将占用一个序号。Then, the destination end returns a segment 2 containing the TCP initial sequence number of the destination end through the network side as a response. The acknowledgement sequence number in the segment 2 is set to 1 for the ISN of the initiator, SYN=1 for the segment 2, ACK=1, the sequence number ack=i+1 is confirmed, and the data sequence number is set to seq=j, seq= j is to select the TCP initial sequence number seq=j, and a SYN will occupy a sequence number.
最后,发起端通过网络侧返回报文段3作为确认。其中,报文段3中的确认序号设置为目的端的ISN加1,ACK=1,确认序号ack=j+1,数据序号设置为seq=i+1。Finally, the initiator returns the segment 3 as a confirmation through the network side. The acknowledgement sequence number in the segment 3 is set to the ISN of the destination end plus 1, ACK=1, the confirmation sequence number ack=j+1, and the data sequence number is set to seq=i+1.
TCP连接释放过程中,发起端使用TCP报文,通过网络侧与目的端进行四次握手流程,从而完成与目的端的TCP连接的释放,如图3所示,其中,网络侧负责将发起端发送的TCP报文,透传给目的端。具体过程如下:During the TCP connection release process, the initiator uses the TCP packet to perform the four-way handshake process between the network side and the destination end, thereby completing the release of the TCP connection with the destination end, as shown in FIG. 3, where the network side is responsible for sending the originating end. The TCP packet is transparently transmitted to the destination. The specific process is as follows:
首先,发起端通过网络侧向目的端发送报文段4,并停止与目的端的数据传输,主动关闭TCP连接。报文段4中的FIN=1,数据序号为seq=u,该数据序号为已传送的数据的最后一个字节的序号加1。First, the initiator sends the segment 4 to the destination through the network side, stops the data transmission with the destination, and actively closes the TCP connection. In the segment 4, FIN=1, the data sequence number is seq=u, and the data sequence number is the sequence number of the last byte of the transmitted data plus one.
然后,目的端通过网络侧返回报文段5,该报文段5中的ACK=1,确认序号为ack=u+1,数据序号为seq=v,该数据序号为已传送的数据的最后一个字节的序号加1。Then, the destination end returns the segment 5 through the network side, the ACK=1 in the segment 5, the confirmation sequence number is ack=u+1, the data sequence number is seq=v, and the data sequence number is the last of the transmitted data. The sequence number of one byte is incremented by 1.
接着,若目的端已没有需要向发起端发送的数据,则通过网络侧向发起端发送报文段6,该报文段6中的FIN=1,确认序号ack=u+1,数据序号seq=w。Then, if the destination has no data to be sent to the initiator, the segment 6 is sent to the initiator through the network side, and the FIN=1 in the segment 6 confirms the sequence number ack=u+1, and the data sequence seq =w.
最后,发起端收到报文段6后,通过网络侧返回报文段7,该报文段7中的ACK=1,确认序号ack=w+1,数据序号seq=u+1。Finally, after receiving the segment 6, the initiator returns the segment 7 through the network side, and the ACK=1 in the segment 7 confirms the sequence number ack=w+1, and the data sequence seq=u+1.
从所述内容可以看出,TCP连接建立和释放过程所使用的TCP报文中,TCP报头中即使有些信息为空,也会占用相应长度的字节,从而造成了空口资源的浪费。It can be seen from the above that in the TCP packets used in the TCP connection establishment and release process, even if some information in the TCP header is empty, the bytes of the corresponding length are occupied, thereby causing waste of air interface resources.
发明内容Summary of the invention
本发明实施例提供了一种信令传输方法和设备,用于解决现有TCP连接建立和释放过程所使用的TCP报文中,TCP报头中即使有些信息为空,也会 占用相应长度的字节,从而造成了空口资源的浪费的问题。The embodiment of the present invention provides a signaling transmission method and device, which are used to solve the TCP packet used in the establishment and release process of the existing TCP connection, and even if some information is empty in the TCP header, The byte of the corresponding length is occupied, which causes a waste of air interface resources.
第一方面,一种信令传输方法,包括:In a first aspect, a signaling transmission method includes:
第一设备通过第一无线空口信令,与网络设备交互所述第一设备与第二设备的传输控制协议TCP连接建立或释放的相关信息,所述第一无线空口信令中不包含TCP/IP报头结构;The first device exchanges, by using the first wireless air interface signaling, information related to the establishment or release of the TCP connection of the first device and the second device with the network device, where the first wireless air interface signaling does not include TCP/ IP header structure;
所述第一设备根据所述第一设备与第二设备的TCP连接建立的相关信息,建立与所述第二设备的TCP连接;或者所述第一设备根据所述第一设备与第二设备的TCP连接释放的相关信息,释放与所述第二设备的TCP连接。The first device establishes a TCP connection with the second device according to related information established by the TCP connection of the first device and the second device; or the first device is configured according to the first device and the second device The TCP connection releases relevant information, releasing the TCP connection with the second device.
一种可能的实现方式中,所述第一设备与第二设备的TCP连接建立的相关信息包括:用于指示网络设备代理所述第一设备与第二设备的TCP连接的指示信息;或者In a possible implementation manner, the related information about the TCP connection established by the first device and the second device includes: indication information indicating that the network device is proxying the TCP connection between the first device and the second device; or
所述第一设备与第二设备的TCP连接释放的相关信息包括:用于指示网络设备代理所述第一设备与第二设备的TCP释放的指示信息。The related information about the TCP connection release of the first device and the second device includes: indication information for instructing the network device to proxy TCP release of the first device and the second device.
一种可能的实现方式中,所述第一设备与第二设备的TCP连接建立的相关信息包括:所述第一设备的TCP初始序号、或者所述第二设备的TCP初始序号。In a possible implementation manner, the related information about the TCP connection established by the first device and the second device includes: a TCP initial sequence number of the first device, or a TCP initial sequence number of the second device.
一种可能的实现方式中,所述第一设备与第二设备的TCP连接建立的相关信息还包括:所述第一设备的IP地址和所述第二设备的IP地址、以及所述第一设备的TCP端口号和所述第二设备的TCP端口号中的至少一项信息。In a possible implementation manner, the related information about the TCP connection established by the first device and the second device further includes: an IP address of the first device, an IP address of the second device, and the first At least one of a TCP port number of the device and a TCP port number of the second device.
一种可能的实现方式中,所述第一无线空口信令为标准或协议中已定义的无线资源控制RRC信令、非接入层NAS信令、或者MAC层信令。In a possible implementation manner, the first wireless air interface signaling is radio resource control RRC signaling, non-access stratum NAS signaling, or MAC layer signaling that is defined in a standard or a protocol.
一种可能的实现方式中,所述方法包括:In a possible implementation manner, the method includes:
所述第一设备通过第二无线空口信令,与所述网络设备交互TCP连接建立响应,所述第二无线空口信令中不包含TCP/IP报头结构;或者The first device establishes a response by interacting with the network device by using the second wireless air interface signaling, where the second wireless air interface signaling does not include a TCP/IP header structure; or
所述第一设备通过第三无线空口信令,与所述网络设备交互TCP连接释放响应,所述第三无线空口信令中不包含TCP/IP报头结构。The first device exchanges a TCP connection with the network device by using the third wireless air interface signaling, and the third wireless air interface signaling does not include a TCP/IP header structure.
一种可能的实现方式中,所述第二无线空口信令中还包括:所述第一设 备的TCP初始序号、或者所述第二设备的TCP初始序号。In a possible implementation manner, the second wireless air interface signaling further includes: the first device The initial TCP serial number or the TCP initial serial number of the second device.
一种可能的实现方式中,所述第二无线空口信令中还包括:所述第一设备的IP地址和所述第二设备的IP地址、以及所述第一设备的TCP端口号和所述第二设备的TCP端口号中的至少一项信息。In a possible implementation, the second wireless air interface signaling further includes: an IP address of the first device, an IP address of the second device, and a TCP port number and location of the first device. At least one piece of information of a TCP port number of the second device.
一种可能的实现方式中,所述第二无线空口信令为标准或协议中已定义的RRC信令、NAS信令、或者MAC层信令;In a possible implementation manner, the second wireless air interface signaling is RRC signaling, NAS signaling, or MAC layer signaling that is defined in a standard or a protocol;
所述第三无线空口信令为标准或协议中已定义的RRC信令、NAS信令、或者MAC层信令。The third wireless air interface signaling is RRC signaling, NAS signaling, or MAC layer signaling defined in a standard or protocol.
第二方面,一种信令传输方法,包括:In a second aspect, a signaling transmission method includes:
网络设备通过第一无线空口信令,与第一设备交互所述第一设备与第二设备的传输控制协议TCP连接建立或释放的相关信息,所述第一无线空口信令中不包含TCP/IP报头结构;The network device interacts with the first device by using the first wireless air interface signaling to establish or release information related to the TCP connection of the first device and the second device, where the first wireless air interface signaling does not include TCP/ IP header structure;
所述网络设备根据所述第一设备与所述第二设备的TCP连接建立的相关信息,向所述第一设备或所述第二设备发起所述第一设备与所述第二设备的TCP连接建立;或者所述网络设备根据所述第一设备与第二设备的TCP连接释放的相关信息,向所述第一设备或所述第二设备发起所述第一设备与所述第二设备的TCP连接释放。The network device initiates TCP of the first device and the second device to the first device or the second device according to related information established by the TCP connection of the first device and the second device Establishing the connection; or the network device initiating the first device and the second device according to the related information released by the TCP connection of the first device and the second device to the first device or the second device The TCP connection is released.
一种可能的实现方式中,所述网络设备通过第一无线空口信令,与第一设备交互所述第一设备与第二设备的TCP连接建立或释放的相关信息之后,所述方法还包括:In a possible implementation manner, after the network device interacts with the first device by using the first wireless air interface signaling, the method further includes: after the first device interacts with the information about the TCP connection established or released by the first device and the second device, the method further includes: :
所述网络设备根据所述第一设备与所述第二设备的TCP连接建立的相关信息,重构TCP/IP报头,并向所述第二设备发送用于请求所述第二设备建立与所述第一设备的TCP连接的第一TCP连接建立信令,所述第一TCP连接建立信令中包含重构的TCP/IP报头;The network device reconstructs a TCP/IP header according to related information established by the TCP connection of the first device and the second device, and sends the second device to request the second device to establish and a first TCP connection establishment signaling of a TCP connection of the first device, where the first TCP connection establishment signaling includes a reconstructed TCP/IP header;
或者or
所述网络设备根据所述第一设备与所述第二设备的TCP连接释放的相关信息,向所述第二设备发起所述第一设备与所述第二设备的TCP连接释放, 包括:所述网络设备根据所述第一设备与第二设备的TCP连接释放的相关信息,重构TCP/IP报头,并向所述第二设备发送用于请求所述第二设备释放与所述第一设备的TCP连接的第一TCP连接释放信令,所述第一TCP连接释放信令中包含重构的TCP/IP报头。The network device initiates, according to the information about the release of the TCP connection of the first device and the second device, the TCP connection release of the first device and the second device to the second device, The network device reconfigures a TCP/IP header according to related information released by the TCP connection of the first device and the second device, and sends the second device to request the second device to release the device. The first TCP connection release signaling of the TCP connection of the first device, where the first TCP connection release signaling includes a reconstructed TCP/IP header.
一种可能的实现方式中,所述网络设备通过第一无线空口信令,与第一设备交互所述第一设备与第二设备的TCP连接建立或释放的相关信息之前,所述方法还包括:In a possible implementation manner, before the network device interacts with the first device by using the first wireless air interface signaling, the method further includes: before the first device interacts with the information about the TCP connection established or released by the first device and the second device, the method further includes: :
所述网络设备接收到所述第二设备发送的第二TCP连接建立信令,所述第二TCP连接建立信令中包括所述第一设备与第二设备的TCP连接建立的相关信息,所述第二TCP连接建立信令中包含TCP/IP报头结构;或者Receiving, by the network device, the second TCP connection establishment signaling sent by the second device, where the second TCP connection establishment signaling includes information about establishing a TCP connection between the first device and the second device, where The second TCP connection setup signaling includes a TCP/IP header structure; or
所述网络设备接收到所述第二设备发送的第二TCP连接释放信令,所述第二TCP连接释放信令中包括所述第一设备与第二设备的TCP连接释放的相关信息,所述第二TCP连接释放信令中包含TCP/IP报头结构。Receiving, by the network device, the second TCP connection release signaling sent by the second device, where the second TCP connection release signaling includes information about the release of the TCP connection of the first device and the second device, where The second TCP connection release signaling includes a TCP/IP header structure.
一种可能的实现方式中,所述方法还包括:In a possible implementation manner, the method further includes:
所述网络设备通过第二无线空口信令,与所述第一设备交互TCP连接建立响应;或者The network device establishes a response by interacting with the first device by using a second wireless air interface signaling; or
所述网络设备通过第三无线空口信令,与所述第一设备交互TCP连接释放响应。The network device releases a response by interacting with the first device by using a third wireless air interface signaling.
第二方面中的所述第一设备与第二设备的TCP连接建立或释放的相关信息、所述第一无线空口信令、所述第二无线空口信令、所述第三无线空口信令,具体参见第一方面中的相关实施例的描述,此处不再赘述。The related information of the TCP connection establishment or release of the first device and the second device in the second aspect, the first wireless air interface signaling, the second wireless air interface signaling, and the third wireless air interface signaling For details, refer to the description of related embodiments in the first aspect, and details are not described herein again.
第三方面,一种终端设备,包括:In a third aspect, a terminal device includes:
信息交互模块,用于通过第一无线空口信令,与网络设备交互所述第一设备与第二设备的传输控制协议TCP连接建立或释放的相关信息,所述第一无线空口信令中不包含TCP/IP报头结构;An information interaction module, configured to exchange, by using the first wireless air interface signaling, information related to the establishment or release of the TCP connection of the first device and the second device with the network device, where the first wireless air interface signaling is not Contains the TCP/IP header structure;
处理模块,用于根据所述第一设备与第二设备的TCP连接建立的相关信息,建立与所述第二设备的TCP连接;或者根据所述第一设备与第二设备的 TCP连接释放的相关信息,释放与所述第二设备的TCP连接。a processing module, configured to establish a TCP connection with the second device according to related information established by the TCP connection of the first device and the second device; or according to the first device and the second device The related information released by the TCP connection releases the TCP connection with the second device.
一种可能的实现方式中,所述信息交互模块还用于:In a possible implementation manner, the information interaction module is further configured to:
通过第二无线空口信令,与所述网络设备交互TCP连接建立响应,所述第二无线空口信令中不包含TCP/IP报头结构;或者Establishing, by the second wireless air interface signaling, a TCP connection establishment response with the network device, where the second wireless air interface signaling does not include a TCP/IP header structure; or
通过第三无线空口信令,与所述网络设备交互TCP连接释放响应,所述第三无线空口信令中不包含TCP/IP报头结构。And transmitting, by the third wireless air interface signaling, a TCP connection release response with the network device, where the third wireless air interface signaling does not include a TCP/IP header structure.
第三方面中的所述第一设备与第二设备的TCP连接建立或释放的相关信息、所述第一无线空口信令、所述第二无线空口信令、所述第三无线空口信令,具体参见第一方面中的相关实施例的描述,此处不再赘述。The related information of the TCP connection establishment or release of the first device and the second device in the third aspect, the first wireless air interface signaling, the second wireless air interface signaling, and the third wireless air interface signaling For details, refer to the description of related embodiments in the first aspect, and details are not described herein again.
第四方面,一种终端设备,包括:收发机、以及与该收发机连接的至少一个处理器,其中:In a fourth aspect, a terminal device includes: a transceiver, and at least one processor coupled to the transceiver, wherein:
处理器,用于读取存储器中的程序,执行下列过程:A processor for reading a program in the memory, performing the following process:
控制所述收发机通过第一无线空口信令,与网络设备交互所述第一设备与第二设备的传输控制协议TCP连接建立或释放的相关信息,所述第一无线空口信令中不包含TCP/IP报头结构;Controlling, by the first wireless air interface signaling, the transceiver, by using the first wireless air interface signaling, to exchange information related to the establishment or release of the transmission control protocol TCP connection between the first device and the second device, where the first wireless air interface signaling does not include TCP/IP header structure;
根据所述第一设备与第二设备的TCP连接建立的相关信息,建立与所述第二设备的TCP连接;或者根据所述第一设备与第二设备的TCP连接释放的相关信息,释放与所述第二设备的TCP连接;Establishing a TCP connection with the second device according to the related information established by the TCP connection of the first device and the second device; or releasing the related information according to the TCP connection released by the first device and the second device a TCP connection of the second device;
收发机,用于在处理器的控制下接收和发送数据。A transceiver for receiving and transmitting data under the control of a processor.
一种可能的实现方式中,处理器读取存储器中的程序,还执行下列过程:In a possible implementation, the processor reads the program in the memory and also performs the following process:
控制所述收发机通过第二无线空口信令,与所述网络设备交互TCP连接建立响应,所述第二无线空口信令中不包含TCP/IP报头结构;或者Controlling, by the second wireless air interface signaling, the transceiver to establish a response with the network device to exchange a TCP connection, where the second wireless air interface signaling does not include a TCP/IP header structure; or
控制所述收发机通过第三无线空口信令,与所述网络设备交互TCP连接释放响应,所述第三无线空口信令中不包含TCP/IP报头结构。And controlling, by the third wireless air interface signaling, the transceiver to perform a TCP connection release response with the network device, where the third wireless air interface signaling does not include a TCP/IP header structure.
第四方面中的所述第一设备与第二设备的TCP连接建立或释放的相关信息、所述第一无线空口信令、所述第二无线空口信令、所述第三无线空口信令,具体参见第一方面中的相关实施例的描述,此处不再赘述。 The related information of the TCP connection establishment or release of the first device and the second device in the fourth aspect, the first wireless air interface signaling, the second wireless air interface signaling, and the third wireless air interface signaling For details, refer to the description of related embodiments in the first aspect, and details are not described herein again.
第五方面,一种网络设备,包括:In a fifth aspect, a network device includes:
交互模块,用于通过第一无线空口信令,与第一设备交互所述第一设备与第二设备的传输控制协议TCP连接建立或释放的相关信息,所述第一无线空口信令中不包含TCP/IP报头结构;An interaction module, configured to exchange, by using the first wireless air interface signaling, information related to the establishment or release of the TCP connection of the first device and the second device by the first device, where the first wireless air interface signaling is not Contains the TCP/IP header structure;
管理模块,用于根据所述第一设备与所述第二设备的TCP连接建立的相关信息,向所述第一设备或所述第二设备发起所述第一设备与所述第二设备的TCP连接建立;或者根据所述第一设备与第二设备的TCP连接释放的相关信息,向所述第一设备或所述第二设备发起所述第一设备与所述第二设备的TCP连接释放。a management module, configured to initiate, according to the related information established by the TCP connection of the first device and the second device, the first device and the second device to the first device or the second device Establishing a TCP connection; or initiating a TCP connection between the first device and the second device to the first device or the second device according to related information released by the TCP connection of the first device and the second device freed.
一种可能的实现方式中,所述交互模块还用于:In a possible implementation manner, the interaction module is further configured to:
根据所述第一设备与所述第二设备的TCP连接建立的相关信息,重构TCP/IP报头,并向所述第二设备发送用于请求所述第二设备建立与所述第一设备的TCP连接的第一TCP连接建立信令,所述第一TCP连接建立信令中包含重构的TCP/IP报头;Reconstructing a TCP/IP header according to related information established by the TCP connection of the first device and the second device, and sending, to the second device, a request for the second device to establish the first device The first TCP connection establishment signaling of the TCP connection, where the first TCP connection establishment signaling includes a reconstructed TCP/IP header;
或者or
根据所述第一设备与第二设备的TCP连接释放的相关信息,重构TCP/IP报头,并向所述第二设备发送用于请求所述第二设备释放与所述第一设备的TCP连接的第一TCP连接释放信令,所述第一TCP连接释放信令中包含重构的TCP/IP报头。Reconstructing a TCP/IP header according to related information released by the TCP connection of the first device and the second device, and sending, to the second device, a request for the second device to release the TCP with the first device The connected first TCP connection releases signaling, and the first TCP connection release signaling includes a reconstructed TCP/IP header.
一种可能的实现方式中,所述交互模块通过第一无线空口信令,与第一设备交互所述第一设备与第二设备的TCP连接建立或释放的相关信息之前,还用于:In a possible implementation, the interaction module is configured to: before the first device interacts with the first device to establish or release the related information about the TCP connection of the first device and the second device, by using the first wireless air interface signaling,
接收到所述第二设备发送的第二TCP连接建立信令,所述第二TCP连接建立信令中包括所述第一设备与第二设备的TCP连接建立的相关信息,所述第二TCP连接建立信令中包含TCP/IP报头结构;或者Receiving, by the second device, the second TCP connection establishment signaling, where the second TCP connection establishment signaling includes information about establishing a TCP connection between the first device and the second device, where the second TCP is The connection establishment signaling includes a TCP/IP header structure; or
接收到所述第二设备发送的第二TCP连接释放信令,所述第二TCP连接释放信令中包括所述第一设备与第二设备的TCP连接释放的相关信息,所述 第二TCP连接释放信令中包含TCP/IP报头结构。Receiving, by the second device, the second TCP connection release signaling, where the second TCP connection release signaling includes information about the release of the TCP connection of the first device and the second device, where The second TCP connection release signaling includes a TCP/IP header structure.
一种可能的实现方式中,所述交互模块还用于:In a possible implementation manner, the interaction module is further configured to:
通过第二无线空口信令,与所述第一设备交互TCP连接建立响应;或者Establishing a response by interacting with the first device by using the second wireless air interface signaling; or
通过第三无线空口信令,与所述第一设备交互TCP连接释放响应。The TCP connection release response is exchanged with the first device by the third wireless air interface signaling.
第五方面中的所述第一设备与第二设备的TCP连接建立或释放的相关信息、所述第一无线空口信令、所述第二无线空口信令、所述第三无线空口信令,具体参见第一方面中的相关实施例的描述,此处不再赘述。The related information of the TCP connection establishment or release of the first device and the second device in the fifth aspect, the first wireless air interface signaling, the second wireless air interface signaling, and the third wireless air interface signaling For details, refer to the description of related embodiments in the first aspect, and details are not described herein again.
第七方面,一种网络设备,包括:收发机、以及与该收发机连接的至少一个处理器,其中:In a seventh aspect, a network device includes: a transceiver, and at least one processor coupled to the transceiver, wherein:
处理器,用于读取存储器中的程序,执行下列过程:A processor for reading a program in the memory, performing the following process:
控制所述收发机通过第一无线空口信令,与第一设备交互所述第一设备与第二设备的传输控制协议TCP连接建立或释放的相关信息,所述第一无线空口信令中不包含TCP/IP报头结构;Controlling, by the first wireless air interface signaling, the transceiver, by using the first wireless air interface signaling, to exchange information related to the establishment or release of the transmission control protocol TCP connection between the first device and the second device by the first device, where the first wireless air interface signaling is not Contains the TCP/IP header structure;
根据所述第一设备与所述第二设备的TCP连接建立的相关信息,向所述第一设备或所述第二设备发起所述第一设备与所述第二设备的TCP连接建立;或者根据所述第一设备与第二设备的TCP连接释放的相关信息,向所述第一设备或所述第二设备发起所述第一设备与所述第二设备的TCP连接释放;Establishing, by the first device or the second device, a TCP connection establishment of the first device and the second device according to the related information about the TCP connection established by the first device and the second device; or Deleting a TCP connection release of the first device and the second device to the first device or the second device according to the information about the TCP connection release of the first device and the second device;
收发机,用于在处理器的控制下接收和发送数据。A transceiver for receiving and transmitting data under the control of a processor.
一种可能的实现方式中,所述处理器读取存储器中的程序,还执行:In a possible implementation manner, the processor reads a program in the memory, and further executes:
根据所述第一设备与所述第二设备的TCP连接建立的相关信息,重构TCP/IP报头,并控制所述收发机向所述第二设备发送用于请求所述第二设备建立与所述第一设备的TCP连接的第一TCP连接建立信令,所述第一TCP连接建立信令中包含重构的TCP/IP报头;Reconstructing a TCP/IP header according to related information established by the TCP connection of the first device and the second device, and controlling the transceiver to send the second device to request the second device to establish a first TCP connection establishment signaling of the TCP connection of the first device, where the first TCP connection establishment signaling includes a reconstructed TCP/IP header;
或者or
根据所述第一设备与第二设备的TCP连接释放的相关信息,重构TCP/IP报头,并控制所述收发机向所述第二设备发送用于请求所述第二设备释放与 所述第一设备的TCP连接的第一TCP连接释放信令,所述第一TCP连接释放信令中包含重构的TCP/IP报头。Reconstructing a TCP/IP header according to related information released by the TCP connection of the first device and the second device, and controlling the transceiver to send the second device to request release of the second device The first TCP connection of the TCP connection of the first device releases signaling, and the first TCP connection release signaling includes a reconstructed TCP/IP header.
一种可能的实现方式中,所述收发机通过第一无线空口信令,与第一设备交互所述第一设备与第二设备的TCP连接建立或释放的相关信息之前,还执行:In a possible implementation manner, the transceiver performs, by using the first wireless air interface signaling, before the first device interacts with the information about the establishment or release of the TCP connection between the first device and the second device,
接收到所述第二设备发送的第二TCP连接建立信令,所述第二TCP连接建立信令中包括所述第一设备与第二设备的TCP连接建立的相关信息,所述第二TCP连接建立信令中包含TCP/IP报头结构;或者Receiving, by the second device, the second TCP connection establishment signaling, where the second TCP connection establishment signaling includes information about establishing a TCP connection between the first device and the second device, where the second TCP is The connection establishment signaling includes a TCP/IP header structure; or
接收到所述第二设备发送的第二TCP连接释放信令,所述第二TCP连接释放信令中包括所述第一设备与第二设备的TCP连接释放的相关信息,所述第二TCP连接释放信令中包含TCP/IP报头结构。Receiving, by the second device, the second TCP connection release signaling, where the second TCP connection release signaling includes information about the release of the TCP connection of the first device and the second device, the second TCP The connection release signaling includes a TCP/IP header structure.
一种可能的实现方式中,所述处理器读取存储器中的程序,还执行:In a possible implementation manner, the processor reads a program in the memory, and further executes:
控制所述收发机通过第二无线空口信令,与所述第一设备交互TCP连接建立响应;或者Controlling, by the second wireless air interface signaling, the transceiver to establish a response by interacting with the first device by using a TCP connection; or
控制所述收发机通过第三无线空口信令,与所述第一设备交互TCP连接释放响应。And controlling the transceiver to release a response by interacting with the first device by using a third wireless air interface signaling.
第六方面中的所述第一设备与第二设备的TCP连接建立或释放的相关信息、所述第一无线空口信令、所述第二无线空口信令、所述第三无线空口信令,具体参见第一方面中的相关实施例的描述,此处不再赘述。The related information of the TCP connection establishment or release of the first device and the second device in the sixth aspect, the first wireless air interface signaling, the second wireless air interface signaling, and the third wireless air interface signaling For details, refer to the description of related embodiments in the first aspect, and details are not described herein again.
本发明实施例提供的方法和设备中,第一设备与网络设备之间通过第一无线空口信令,交互所述第一设备与第二设备的TCP连接建立或释放的相关信息,由于所述第一无线空口信令中不包含TCP/IP报头结构,在第一无线空口信令中携带所述第一设备与第二设备的TCP连接释放的相关信息即可,从而减少了空口传输的负荷。In the method and device provided by the embodiment of the present invention, the first device and the network device exchange the related information about the establishment or release of the TCP connection between the first device and the second device by using the first wireless air interface signaling, The first wireless air interface signaling does not include a TCP/IP header structure, and the first wireless air interface signaling carries the related information released by the TCP connection of the first device and the second device, thereby reducing the load of the air interface transmission. .
附图说明DRAWINGS
图1为TCP报文的结构示意图; FIG. 1 is a schematic structural diagram of a TCP packet;
图2为现有TCP连接建立过程的示意图;2 is a schematic diagram of an existing TCP connection establishment process;
图3为现有TCP连接释放过程的示意图;3 is a schematic diagram of a conventional TCP connection release process;
图4为本发明实施例的一种可能的网络架构示意图;4 is a schematic diagram of a possible network architecture according to an embodiment of the present invention;
图5为本发明实施例一中提供的一种信令传输方法的流程示意图;FIG. 5 is a schematic flowchart of a signaling transmission method according to Embodiment 1 of the present invention;
图6为本发明实施例二中提供的一种信令传输方法的流程示意图;FIG. 6 is a schematic flowchart of a signaling transmission method according to Embodiment 2 of the present invention;
图7为本发明实施例三中提供的一种信令传输方法的流程示意图;FIG. 7 is a schematic flowchart of a signaling transmission method according to Embodiment 3 of the present invention;
图8为本发明实施例四中提供的一种信令传输方法的流程示意图;FIG. 8 is a schematic flowchart of a signaling transmission method according to Embodiment 4 of the present invention;
图9为本发明实施例五中提供的一种信令传输方法的流程示意图;FIG. 9 is a schematic flowchart of a signaling transmission method according to Embodiment 5 of the present invention;
图10为本发明实施例六中提供的一种信令传输方法的流程示意图;FIG. 10 is a schematic flowchart of a signaling transmission method according to Embodiment 6 of the present invention;
图11为本发明实施例七中提供的一种信令传输方法的流程示意图;FIG. 11 is a schematic flowchart diagram of a signaling transmission method according to Embodiment 7 of the present invention;
图12为本发明实施例八中提供的一种信令传输方法的流程示意图;FIG. 12 is a schematic flowchart of a signaling transmission method according to Embodiment 8 of the present invention;
图13为本发明实施例九中提供的一种信令传输方法的流程示意图;FIG. 13 is a schematic flowchart of a signaling transmission method according to Embodiment 9 of the present invention;
图14为本发明实施例十中提供的一种终端设备的示意图;FIG. 14 is a schematic diagram of a terminal device according to Embodiment 10 of the present invention; FIG.
图15为本发明实施例十一中提供的一种终端设备的示意图;FIG. 15 is a schematic diagram of a terminal device according to Embodiment 11 of the present invention; FIG.
图16为本发明实施例十二中提供的一种网络设备的示意图;FIG. 16 is a schematic diagram of a network device according to Embodiment 12 of the present invention; FIG.
图17为本发明实施例十三中提供的一种网络设备的示意图。FIG. 17 is a schematic diagram of a network device according to Embodiment 13 of the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
下面结合说明书附图对本发明实施例作进一步详细描述。应当理解,此处所描述的实施例仅用于说明和解释本发明,并不用于限定本发明。The embodiments of the present invention are further described in detail below with reference to the accompanying drawings. It is to be understood that the embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明中描述的技术方案可用于各种通信系统,例如当前2G,3G通信系统和下一代通信系统,例如全球移动通信系统(GSM,Global System for  Mobile communications),码分多址(CDMA,Code Division Multiple Access)系统,时分多址(TDMA,Time Division Multiple Access)系统,宽带码分多址(WCDMA,Wideband Code Division Multiple Access Wireless),频分多址(FDMA,Frequency Division Multiple Addressing)系统,正交频分多址(OFDMA,Orthogonal Frequency-Division Multiple Access)系统,单载波FDMA(SC-FDMA)系统,通用分组无线业务(GPRS,General Packet Radio Service)系统,长期演进(LTE,Long Term Evolution)系统,以及其他此类通信系统。The technical solution described in the present invention can be applied to various communication systems, such as current 2G, 3G communication systems and next generation communication systems, such as Global System for Mobile Communications (GSM, Global System for Mobile communications), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wideband Code Division Multiple Access (WCDMA), multiple frequency divisions FDMA (Frequency Division Multiple Addressing) system, Orthogonal Frequency-Division Multiple Access (OFDMA) system, single carrier FDMA (SC-FDMA) system, general packet radio service (GPRS, General Packet Radio Service) Systems, Long Term Evolution (LTE) systems, and other such communication systems.
图4为本发明实施例的一种可能的网络架构示意图。图4中的基站(eNB)为网络设备,用户设备(UE)为第一设备,网络设备与第一设备之间通过空口技术相互通信。本发明实施例中,第一设备与网络设备之间通过第一无线接口信令传输所述第一设备与第二设备的TCP连接建立或释放的相关信息,以使网络设备代理发起所述第一设备与所述第二设备的TCP连接建立或释放,由于所述第一无线空口信令中不包含TCP/IP报头结构,减少了空口传输的负荷。FIG. 4 is a schematic diagram of a possible network architecture according to an embodiment of the present invention. The base station (eNB) in FIG. 4 is a network device, and the user equipment (UE) is a first device, and the network device and the first device communicate with each other through air interface technology. In the embodiment of the present invention, the first device and the network device transmit the related information about the establishment or release of the TCP connection between the first device and the second device by using the first wireless interface signaling, so that the network device proxy initiates the first A TCP connection between the device and the second device is established or released. Since the first wireless air interface signaling does not include a TCP/IP header structure, the load of the air interface transmission is reduced.
本发明实施例中的第一设备为无线终端,第二设备可以是无线终端,也可以为有线终端或有线设备(如服务器)。无线终端可以是指向用户提供语音和/或数据连通性的设备,具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备。无线终端可以经无线接入网(例如,RAN,Radio Access Network)与一个或多个核心网进行通信,无线终端可以是移动终端,如移动电话(或称为“蜂窝”电话)和具有移动终端的计算机,例如,可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据。例如,个人通信业务(PCS,Personal Communication Service)电话、无绳电话、会话发起协议(SIP)话机、无线本地环路(WLL,Wireless Local Loop)站、个人数字助理(PDA,Personal Digital Assistant)等设备。The first device in the embodiment of the present invention is a wireless terminal, and the second device may be a wireless terminal, or may be a wired terminal or a wired device (such as a server). The wireless terminal can be a device that provides voice and/or data connectivity to the user, a handheld device with wireless connectivity, or other processing device that is connected to the wireless modem. The wireless terminal can communicate with one or more core networks via a radio access network (eg, RAN, Radio Access Network), which can be a mobile terminal, such as a mobile phone (or "cellular" phone) and with a mobile terminal The computers, for example, can be portable, pocket-sized, handheld, computer-integrated or in-vehicle mobile devices that exchange language and/or data with the wireless access network. For example, personal communication service (PCS, Personal Communication Service) telephone, cordless telephone, Session Initiation Protocol (SIP) telephone, Wireless Local Loop (WLL) station, Personal Digital Assistant (PDA, Personal Digital Assistant), etc. .
本发明实施例中的网络设备可以是指接入网中在空中接口上通过一个或 多个扇区与无线终端通信的设备。例如,网络设备可以是GSM或CDMA中的基站(BTS,Base Transceiver Station),也可以是WCDMA中的基站(NodeB),还可以是LTE中的演进型基站(NodeB或eNB或e-NodeB,evolutional Node B),本发明中并不限定。The network device in the embodiment of the present invention may refer to an access network that passes through one or A device in which multiple sectors communicate with a wireless terminal. For example, the network device may be a base station (BTS, Base Transceiver Station) in GSM or CDMA, or may be a base station (NodeB) in WCDMA, or may be an evolved base station in LTE (NodeB or eNB or e-NodeB, evolutional) Node B) is not limited in the present invention.
本发明实施例一中,提供了一种信令传输方法,如图5所示,包括:In the first embodiment of the present invention, a signaling transmission method is provided, as shown in FIG. 5, including:
S51、第一设备通过第一无线空口信令,与网络设备交互所述第一设备与第二设备的TCP连接建立或释放的相关信息,所述第一无线空口信令中不包含TCP/IP报头结构。S51: The first device exchanges, by using the first wireless air interface signaling, information related to the establishment or release of the TCP connection between the first device and the second device, and the first wireless air interface signaling does not include the TCP/IP. Header structure.
本步骤中,若第一设备主动发起与第二设备的TCP连接建立或释放,则由第一设备通过第一无线空口信令,向网络设备发送所述第一设备与第二设备的TCP连接建立或释放的相关信息;若第一设备被动建立或释放与第二设备的TCP连接,则由网络设备在接收到第二设备发送的所述第一设备与第二设备的TCP连接建立或释放的相关信息后,通过第一无线空口信令,向第一设备发送所述第一设备与第二设备的TCP连接建立或释放的相关信息。In this step, if the first device actively initiates the establishment or release of the TCP connection with the second device, the first device sends the TCP connection between the first device and the second device to the network device by using the first wireless air interface signaling. Establishing or releasing related information; if the first device passively establishes or releases a TCP connection with the second device, the network device establishes or releases the TCP connection between the first device and the second device that is sent by the second device After the related information, the related information of the TCP connection establishment or release of the first device and the second device is sent to the first device by using the first wireless air interface signaling.
S52、所述第一设备根据所述第一设备与第二设备的TCP连接建立的相关信息,建立与所述第二设备的TCP连接;或者所述第一设备根据所述第一设备与第二设备的TCP连接释放的相关信息,释放与所述第二设备的TCP连接。S52. The first device establishes a TCP connection with the second device according to related information established by the TCP connection of the first device and the second device, or the first device is configured according to the first device and the first device. The information about the release of the TCP connection of the two devices releases the TCP connection with the second device.
S53、所述网络设备根据所述第一设备与第二设备的TCP连接建立的相关信息,向所述第一设备或所述第二设备发起所述第一设备与所述第二设备的TCP连接建立;或者所述网络设备根据所述第一设备与第二设备的TCP连接释放的相关信息,向所述第一设备或所述第二设备发起所述第一设备与所述第二设备的TCP连接释放。S53. The network device initiates, according to the information about the TCP connection established by the first device and the second device, the TCP of the first device and the second device to the first device or the second device. Establishing the connection; or the network device initiating the first device and the second device according to the related information released by the TCP connection of the first device and the second device to the first device or the second device The TCP connection is released.
具体的,若第一设备主动发起TCP连接建立,则所述网络设备从第一设备处获取到所述第一设备与第二设备的TCP连接建立的相关信息,并向所述第二设备发起所述第一设备与所述第二设备的TCP连接建立;若第二设备主动发起TCP连接建立,则所述网络设备从所述第二设备处获取所述第一设备与第二设备的TCP连接建立的相关信息,并向所述第一设备发起所述第一设 备与所述第二设备的TCP连接建立。若第一设备主动发起TCP连接释放,则所述网络设备从第一设备处获取到所述第一设备与第二设备的TCP连接释放的相关信息,并向所述第二设备发起所述第一设备与所述第二设备的TCP连接释放;若第二设备主动发起TCP连接释放,则所述网络设备从所述第二设备处获取所述第一设备与第二设备的TCP连接释放的相关信息,并向所述第一设备发起所述第一设备与所述第二设备的TCP连接释放。Specifically, if the first device actively initiates the establishment of the TCP connection, the network device acquires related information about the TCP connection establishment of the first device and the second device from the first device, and initiates the information to the second device. The TCP connection of the first device and the second device is established; if the second device actively initiates the establishment of the TCP connection, the network device acquires the TCP of the first device and the second device from the second device Correlating the established related information, and initiating the first setting to the first device A TCP connection with the second device is established. If the first device actively initiates the release of the TCP connection, the network device acquires related information about the release of the TCP connection between the first device and the second device from the first device, and initiates the information to the second device. The TCP connection of the device and the second device is released; if the second device actively initiates the release of the TCP connection, the network device acquires the TCP connection of the first device and the second device from the second device. Related information, and initiating a TCP connection release of the first device and the second device to the first device.
本发明实施例中,第一设备与网络设备之间通过第一无线空口信令,交互所述第一设备与第二设备的TCP连接建立或释放的相关信息,由于所述第一无线空口信令中不包含TCP/IP报头结构,在第一无线空口信令中携带所述第一设备与第二设备的TCP连接释放的相关信息即可,从而减少了空口传输的负荷。In the embodiment of the present invention, the first device and the network device exchange the related information about the establishment or release of the TCP connection between the first device and the second device by using the first wireless air interface signaling, because the first wireless air interface message The command does not include the TCP/IP header structure, and the first wireless air interface signaling carries the related information released by the TCP connection of the first device and the second device, thereby reducing the load of the air interface transmission.
本实施例中不限定S51和S52的执行顺序,具体的:可以先执行S51,再执行S52;也可以先执行S52,再执行S51;还可以同时执行S51和S52。In this embodiment, the execution order of S51 and S52 is not limited. Specifically, S51 may be executed first, and then S52 may be executed; S52 may be executed first, and then S51 may be executed; and S51 and S52 may be simultaneously executed.
一种可能的实现方式中,第一设备可以是用户设备,第二设备可以为服务器。In a possible implementation manner, the first device may be a user equipment, and the second device may be a server.
本发明实施例二中,提供了一种由第一设备主动发起与第二设备的TCP连接建立过程中的信令传输方法,其流程如图6所示,包括如下步骤:In the second embodiment of the present invention, a method for signaling transmission in a process of establishing a TCP connection with a second device by a first device is provided. The process is as shown in FIG. 6 and includes the following steps:
S61、第一设备建立与所述第二设备的TCP连接。S61. The first device establishes a TCP connection with the second device.
S62、第一设备通过第一无线空口信令,向网络设备发送所述第一设备与第二设备的TCP连接建立的相关信息。S62. The first device sends, by using the first wireless air interface signaling, related information about establishing a TCP connection between the first device and the second device to the network device.
具体的,第一设备通过第一无线空口信令指示网络设备代理所述第一设备与所述第二设备的TCP连接建立,所述第一无线空口信令中不包含TCP/IP报头结构。Specifically, the first device indicates, by using the first wireless air interface signaling, that the network device is configured to establish a TCP connection between the first device and the second device, where the first wireless air interface signaling does not include a TCP/IP header structure.
在具体实施中,一种可能的实现方式,所述第一无线空口信令为标准或协议中已定义的无线资源控制(Radio Resource Control,简称RRC)信令,非接入层(Non Access Stratum,简称NAS)信令、或者媒体接入控制(Media Access Control,简称MAC)信令。 In a specific implementation, in a possible implementation manner, the first wireless air interface signaling is a Radio Resource Control (RRC) signaling defined in a standard or a protocol, and a non-access layer (Non Access Stratum) , referred to as NAS) signaling, or Media Access Control (MAC) signaling.
具体的,第一设备通过对标准或协议中已定义的无线空口信令的扩展,携带所述第一设备与第二设备的TCP连接建立的相关信息。通过扩展标准或协议中已定义的无线空口信令的方式,能够更好利用现有的信令中的空闲资源,从而减少了空口信令负荷,进一步减少空口传输的负荷。Specifically, the first device carries related information about the TCP connection established by the first device and the second device by extending the wireless air interface signaling defined in the standard or the protocol. By extending the standard air interface signaling in the standard or protocol, the idle resources in the existing signaling can be better utilized, thereby reducing the air interface signaling load and further reducing the load of the air interface transmission.
另一种可能的实现方式,所述第一无线空口信令为新定义的信令。In another possible implementation manner, the first wireless air interface signaling is newly defined signaling.
具体的,第一设备通过新定义的信令,如IP代理请求(IP Agent Request)信令、MAC控制单元(MAC control element)信令,携带所述第一设备与第二设备的TCP连接建立的相关信息。Specifically, the first device carries the TCP connection establishment between the first device and the second device by using newly defined signaling, such as IP proxy request signaling and MAC control element signaling. Related information.
在具体实施中,一种可能的实现方式,所述第一设备与第二设备的TCP连接建立的相关信息包括:用于指示网络设备代理所述第一设备与第二设备的TCP连接的指示信息。In a specific implementation, in a possible implementation manner, the related information about the TCP connection established by the first device and the second device includes: an indication for instructing the network device to proxy a TCP connection between the first device and the second device information.
进一步可选的,所述第一设备与第二设备的TCP连接建立的相关信息还包括:所述第一设备的TCP初始序号。Further, optionally, the related information about the TCP connection established by the first device and the second device further includes: a TCP initial sequence number of the first device.
进一步可选的,所述第一设备与第二设备的TCP连接建立的相关信息还包括:所述第一设备的IP地址和所述第二设备的IP地址、以及所述第一设备的TCP端口号和所述第二设备的TCP端口号中的至少一项信息。Further, the related information about the TCP connection established by the first device and the second device further includes: an IP address of the first device and an IP address of the second device, and a TCP of the first device At least one of a port number and a TCP port number of the second device.
在具体实施中,另一种可能的实现方式,所述第一设备与第二设备的TCP连接建立的相关信息包括:所述第一设备的TCP初始序号。In a specific implementation, the related information about the TCP connection established by the first device and the second device includes: a TCP initial sequence number of the first device.
进一步可选的,所述第一设备与第二设备的TCP连接建立的相关信息还包括:所述第一设备的IP地址和所述第二设备的IP地址、以及所述第一设备的TCP端口号和所述第二设备的TCP端口号中的至少一项信息。Further, the related information about the TCP connection established by the first device and the second device further includes: an IP address of the first device and an IP address of the second device, and a TCP of the first device At least one of a port number and a TCP port number of the second device.
本步骤中,为了不影响第一设备的TCP/IP层,第一设备的无线空口协议层,比如分组数据汇聚协议(Packet Data Convergence Protocol,PDCP)层,无线链路控制(Radio Link Control,RLC)层,RRC层,MAC层,物理层等,接收到第一设备的TCP/IP层发送的用于发起TCP连接建立或者释放的TCP报文(也称为TCP包)时,从该TCP报文的TCP/IP报头中获取所述第一设备与第二设备的TCP连接建立或释放的相关信息,通过第一无线空口信令, 向网络设备发送所述第一设备与第二设备的TCP连接建立或释放的相关信息,其中,第一无线空口信令中不包含TCP/IP报头。In this step, in order not to affect the TCP/IP layer of the first device, the wireless air interface protocol layer of the first device, such as Packet Data Convergence Protocol (PDCP) layer, Radio Link Control (RLC) a layer, an RRC layer, a MAC layer, a physical layer, etc., when receiving a TCP packet (also referred to as a TCP packet) sent by the TCP/IP layer of the first device for initiating a TCP connection establishment or release, from the TCP packet Acquiring information about establishing or releasing a TCP connection between the first device and the second device in the TCP/IP header of the text, by using the first wireless air interface signaling, Sending, to the network device, related information about establishing or releasing a TCP connection of the first device and the second device, where the first wireless air interface signaling does not include a TCP/IP header.
S63、所述网络设备根据所述第一设备与第二设备的TCP连接建立的相关信息,重构TCP/IP报头,并向所述第二设备发送所述第一TCP连接建立信令(即报文段1),以指示所述第二设备建立与所述第一设备的TCP连接,即TCP建立三次握手流程中的step 1,所述第一TCP连接建立信令中包含重构的TCP/IP报头,TCP建立三次握手流程中step 1主要目的是通知对端发起TCP建立。S63. The network device reconfigures a TCP/IP header according to related information established by the TCP connection of the first device and the second device, and sends the first TCP connection establishment signaling to the second device. a segment 1), instructing the second device to establish a TCP connection with the first device, that is, step 1 in the TCP establishment three-way handshake process, where the first TCP connection establishment signaling includes a reconstructed TCP /IP header, TCP establishes a three-way handshake process. The main purpose of step 1 is to notify the peer to initiate TCP establishment.
由于第二设备一般为服务器,而网络设备与服务器之间一般采用有线连接,因此,网络设备需要重构TCP/IP报头,并发送给第二设备。Since the second device is generally a server, and the wired connection is generally between the network device and the server, the network device needs to reconstruct the TCP/IP header and send it to the second device.
其中,重构TCP/IP报头所需的信息,如所述第一设备的TCP初始序号,还可能包括:所述第一设备的IP地址和所述第二设备的IP地址、以及所述第一设备的TCP端口号和所述第二设备的TCP端口号,可以从第一无线空口信令中直接获取,也可以通过其他方式获取,如上一次与所述第一设备的通信中,所述第一设备将所述第一设备与所述第二设备的TCP连接建立所需的信息通知给网络设备,网络设备保存所述第一设备与所述第二设备的TCP连接建立所需的信息。本发明实施例不限定网络设备获取所述第一设备与所述第二设备的TCP连接建立所需的信息的方式。The information required to reconstruct the TCP/IP header, such as the initial TCP sequence number of the first device, may further include: an IP address of the first device and an IP address of the second device, and the The TCP port number of the device and the TCP port number of the second device may be directly obtained from the first wireless air interface signaling, or may be obtained by other means, in the communication with the first device as described above, The first device notifies the network device of the information required for establishing the TCP connection of the first device and the second device, where the network device saves information required for establishing a TCP connection between the first device and the second device . The embodiment of the present invention does not limit the manner in which the network device acquires information required for establishing a TCP connection between the first device and the second device.
S64、所述网络设备接收到所述第二设备返回的TCP连接建立响应;S64. The network device receives a TCP connection setup response returned by the second device.
具体的,所述第二设备完成与所述第一设备的TCP连接之后,向所述网络设备返回TCP连接建立响应(即报文段2),即TCP建立三次握手中的step2,TCP建立三次握手流程中step 2的主要目的是作为step 1的响应。Specifically, after completing the TCP connection with the first device, the second device returns a TCP connection establishment response (ie, segment 2) to the network device, that is, TCP establishes step 2 in the three-way handshake, and the TCP establishes three times. The main purpose of step 2 in the handshake process is as a response to step 1.
S65、所述网络设备通过第二无线空口信令,向所述第一设备返回TCP连接建立响应,以通知所述第一设备所述第二设备已完成TCP连接建立,所述第二无线空口信令中不包含TCP/IP报头结构。S65. The network device returns a TCP connection establishment response to the first device by using the second wireless air interface signaling, to notify the first device that the second device has completed establishing a TCP connection, and the second wireless air interface The TCP/IP header structure is not included in the signaling.
可选的,所述第二无线空口信令中包括所述第二设备的TCP初始序号。Optionally, the second wireless air interface signaling includes a TCP initial sequence number of the second device.
进一步,所述第二无线空口信令中还包括所述第一设备的IP地址和所述 第二设备的IP地址、以及所述第一设备的TCP端口号和所述第二设备的TCP端口号中的至少一项信息。Further, the second wireless air interface signaling further includes an IP address of the first device and the At least one of an IP address of the second device, and a TCP port number of the first device and a TCP port number of the second device.
相应的,第一设备接收到TCP连接建立响应后,确定第二设备已建立与第一设备的TCP连接。Correspondingly, after receiving the TCP connection establishment response, the first device determines that the second device has established a TCP connection with the first device.
可选的,为了不影响第一设备的TCP/IP层,所述第一设备的无线空口协议层在通过第二无线空口信令接收到TCP连接建立响应之后,第一设备的无线空口协议层根据第二无线空口信令中携带的信息,重构出TCP建立三次握手流程中的step 2对应的TCP报文(包含TCP/IP报头),即报文段2,并将该TCP报文发送给第一设备的TCP/IP层。Optionally, in order not to affect the TCP/IP layer of the first device, after the wireless air interface protocol layer of the first device receives the TCP connection establishment response by using the second wireless air interface signaling, the wireless air interface protocol layer of the first device According to the information carried in the second wireless air interface signaling, the TCP packet (including the TCP/IP header) corresponding to the step 2 in the three-way handshake process is reconstructed, that is, the segment 2 is sent, and the TCP packet is sent. Give the TCP/IP layer of the first device.
可选的,S65之后,还包括:Optional, after S65, also includes:
S66、所述第一设备通过第四无线空口信令,向所述网络设备返回确认消息,以指示已正确接收到TCP连接建立响应,所述第四无线空口信令中不包含TCP/IP报头结构。S66. The first device returns an acknowledgement message to the network device by using the fourth wireless air interface signaling to indicate that the TCP connection establishment response is correctly received, and the fourth wireless air interface signaling does not include the TCP/IP header. structure.
可选的,为了不影响第一设备的TCP/IP层,第一设备的TCP/IP层接收到第一设备的无线空口协议层传递的TCP建立三次握手流程中的step 2对应的TCP报文后,生成TCP建立三次握手流程中的step 3对应的TCP报文(即报文段3),并将该TCP报文发送给第一设备的无线空口协议层;第一设备的无线空口协议层根据接收到的TCP报文,通过第四无线空口信令,向所述网络设备返回确认消息。Optionally, in order not to affect the TCP/IP layer of the first device, the TCP/IP layer of the first device receives the TCP packet corresponding to the step 2 in the TCP establishment three-way handshake process delivered by the wireless air interface protocol layer of the first device. After the TCP is generated, the TCP packet corresponding to the step 3 in the three-way handshake process is generated, that is, the packet 3 is sent, and the TCP packet is sent to the wireless air interface protocol layer of the first device; the wireless air interface protocol layer of the first device is generated. And returning, by the fourth wireless air interface signaling, an acknowledgement message to the network device according to the received TCP packet.
S67、所述网络设备重构TCP/IP报头,并向所述第二设备发送携带重构的TCP/IP报头的消息,即TCP建立三次握手中的step 3,TCP建立三次握手流程中step 3是对step 2的确认,以指示已正确接收到TCP连接建立响应。S67. The network device reconstructs a TCP/IP header, and sends a message carrying the reconstructed TCP/IP header to the second device, that is, TCP establishes step 3 in the three-way handshake, and TCP establishes a three-way handshake step 3 Is a confirmation of step 2 to indicate that the TCP connection setup response has been received correctly.
需要说明的是,本实施例中不限定S61的执行顺序,S61还可以在S62之后且S63之前执行,还可以在S66之后执行。It should be noted that, in this embodiment, the execution order of S61 is not limited, and S61 may also be performed after S62 and before S63, or may be performed after S66.
本发明实施例三中,提供了另一种由第一设备主动发起与第二设备的TCP连接建立过程中的信令传输方法,本实施例中,第一设备与网络设备通过扩展现有RRC信令,交互所述第一设备与第二设备的TCP连接建立的相关 信息,其他情况与本实施例类似,此处不再一一举例说明。本实施例的流程如图7所示,包括如下步骤:In the third embodiment of the present invention, another method for signaling transmission in the process of establishing a TCP connection with a second device by the first device is provided. In this embodiment, the first device and the network device extend the existing RRC. Signaling, interacting with the establishment of a TCP connection between the first device and the second device Information, other situations are similar to this embodiment, and will not be exemplified herein. The flow of this embodiment is shown in FIG. 7 and includes the following steps:
S701、UE向eNB发送RRC连接请求(RRC Connection Request)消息;S701. The UE sends an RRC Connection Request message to the eNB.
S702、eNB向UE发送RRC连接建立(RRC Connection Setup)消息;S702. The eNB sends an RRC Connection Setup message to the UE.
S703、UE向eNB发送RRC连接建立完成(RRC Connection Setup Complete)消息;S703. The UE sends an RRC Connection Setup Complete message to the eNB.
S704、eNB向UE发送安全模式命令(Security Mode Command)消息;S704. The eNB sends a Security Mode Command message to the UE.
S705、UE向eNB发送安全模式完成(Security Mode Complete)消息,其中,Security Mode Complete消息中携带TCP建立三次握手流程中第一步(step 1)的信息;S705. The UE sends a Security Mode Complete message to the eNB, where the Security Mode Complete message carries the information of the first step (step 1) in the three-way handshake process.
举例说明,在Security Mode Complete消息的IE(Information Element)中增加一个IPAgentReuest项,该IPAgentQuest中包括TCP建立三次握手流程中step 1的信息,具体包括:所述第一设备的TCP初始序列号,还可能包括所述第一设备的IP地址和所述第二设备的IP地址、以及所述第一设备的TCP端口号和所述第二设备的TCP端口号。For example, an IPAgentReuest item is added to the IE (Information Element) of the Security Mode Complete message, and the IPAgentQuest includes the information of the step 1 in the TCP establishment handshake process, including: the initial TCP sequence number of the first device, and The IP address of the first device and the IP address of the second device, and the TCP port number of the first device and the TCP port number of the second device may be included.
S706、eNB向对端(Peer entity),如服务器,发起TCP建立三次握手流程中step 1;S706, the eNB initiates a TCP establishment three-way handshake process to the peer (Peer entity), such as a server;
具体的,eNB根据Security Mode Complete消息中携带的TCP建立三次握手流程中step 1的信息,重构TCP/IP报头,并向对端发送包含重构的TCP/IP报头的消息,该TCPTCP/IP报头中包括TCP建立三次握手流程中step 1的信息。Specifically, the eNB establishes the information of step 1 in the three-way handshake process according to the TCP carried in the Security Mode Complete message, reconstructs the TCP/IP header, and sends a message including the reconstructed TCP/IP header to the peer end, the TCPTCP/IP The header includes the information of step 1 in TCP establishing the three-way handshake process.
S707、对端向eNB发起TCP建立三次握手流程中step 2;S707, the peer end initiates a TCP establishment three-way handshake process to the eNB, step 2;
S708、eNB向UE发送RRC连接重配置(RRC Connection Reconfiguration)消息,其中,RRC连接重配置消息中携带TCP建立三次握手流程中step 2的信息。S708. The eNB sends an RRC Connection Reconfiguration (RRC Connection Reconfiguration) message to the UE, where the RRC connection reconfiguration message carries the information of the step 2 in the three-way handshake process.
举例说明,在RRC Connection reconfiguration消息中的IE字段中增加一个IPAgent项,该IPAgent中包括step 2的信息,具体包括所述第二设备的TCP 初始序号,还可能包括所述第一设备的IP地址和所述第二设备的IP地址、以及所述第一设备的TCP端口号和所述第二设备的TCP端口号。For example, an IPAgent entry is added to the IE field in the RRC Connection reconfiguration message, where the IPAgent includes the information of the step 2, specifically including the TCP of the second device. The initial sequence number may further include an IP address of the first device and an IP address of the second device, and a TCP port number of the first device and a TCP port number of the second device.
S709、UE通过RRC连接重配置完成(RRC Connection Reconfiguration Complete)消息,指示已正确接收到了TCP建立三次握手流程中step 2的信息;S709. The UE passes the RRC Connection Reconfiguration Complete (RRC Connection Reconfiguration Complete) message, indicating that the information of step 2 in the TCP establishment three-way handshake process has been correctly received.
可选的,为了不影响UE的TCP/IP层,UE的无线空口协议层接收到RRC Connection Reconfiguration消息之后,根据该消息中携带的信息,重构出TCP建立三次握手流程中step 2对应的TCP报文(包含TCP/IP报头),并将该TCP报文发送给UE的TCP/IP层;Optionally, in order to not affect the TCP/IP layer of the UE, after receiving the RRC Connection Reconfiguration message, the wireless air interface protocol layer of the UE reconstructs the TCP corresponding to the step 2 in the three-way handshake process established by the TCP according to the information carried in the message. a packet (including a TCP/IP header), and sending the TCP packet to the TCP/IP layer of the UE;
相应的,UE的TCP/IP层在接收到UE的无线空口协议层发送的TCP报文后,生成TCP建立三次握手流程中step 2对应的TCP报文,并发送给UE的无线空口协议层;Correspondingly, after receiving the TCP packet sent by the wireless air interface protocol layer of the UE, the TCP/IP layer of the UE generates a TCP packet corresponding to the step 2 in the three-way handshake process, and sends the TCP packet to the wireless air interface protocol layer of the UE.
相应的,UE的无线空口协议层在接收到UE的TCP/IP层发送的TCP报文后,通过RRC Connection Reconfiguration Complete消息,指示已正确接收到了TCP建立三次握手流程中step 2的信息。Correspondingly, after receiving the TCP packet sent by the TCP/IP layer of the UE, the wireless air interface protocol layer of the UE indicates that the information of step 2 in the three-way handshake process of the TCP establishment has been correctly received through the RRC Connection Reconfiguration Complete message.
举例说明,RRC Connection Reconfiguration Complete消息中可以不携带额外的信息,若eNB接收到了RRC Connection Reconfiguration Complete消息,则确定UE已经正确接收到了TCP建立三次握手流程中step 2的信息。当然,RRC Connection Reconfiguration Complete消息中也可以携带一个指示IE,指示已正确接收到了TCP建立三次握手流程中step 2的信息。For example, the RRC Connection Reconfiguration Complete message may not carry additional information. If the eNB receives the RRC Connection Reconfiguration Complete message, it determines that the UE has correctly received the information of step 2 in the TCP establishment three-way handshake process. Certainly, the RRC Connection Reconfiguration Complete message may also carry an indication IE, indicating that the information of step 2 in the TCP establishment three-way handshake process has been correctly received.
S710、eNB向对端返回TCP建立三次握手流程中step 3;S710. The eNB returns a TCP to the peer end to establish a three-way handshake process in step 3;
具体的,eNB重构TCP/IP报头,并向对端返回包含重构的TCP/IP报头的消息,即向对端发起TCP建立三次握手流程中step 3。Specifically, the eNB reconstructs the TCP/IP header and returns a message including the reconstructed TCP/IP header to the peer end, that is, initiating TCP to the peer to establish step 3 in the three-way handshake process.
S711、UE向eNB发起上行信息传输(UL Information Transfer)。S711. The UE initiates uplink information transmission (UL Information Transfer) to the eNB.
本发明实施例四中,提供了一种由第二设备主动发起与第一设备的TCP连接建立过程中的信令传输方法,其流程如图8所示,包括如下步骤:In the fourth embodiment of the present invention, a method for signaling transmission in a process of establishing a TCP connection with a first device by a second device is provided. The process is as shown in FIG. 8 and includes the following steps:
S81、第二设备建立与第一设备的TCP连接; S81. The second device establishes a TCP connection with the first device.
S82、第二设备通过TCP报文,向网络设备发送所述第一设备与第二设备的TCP连接建立的相关信息,即发起TCP建立三次握手流程中step 1。S82. The second device sends, by using a TCP packet, the related information about the TCP connection established by the first device and the second device to the network device, that is, initiates a TCP establishment three-step handshake process.
S83、网络设备通过第一无线空口信令,向第一设备发送所述第一设备与第二设备的TCP连接建立的相关信息。S83. The network device sends, by using the first wireless air interface signaling, related information about establishing a TCP connection between the first device and the second device to the first device.
其中,第一无线空口信令具体参见图6所示实施例中的相关描述,此处不再赘述。For details, refer to the related description in the embodiment shown in FIG. 6 for the first wireless air interface signaling, and details are not described herein again.
在具体实施中,一种可能的实现方式,所述第一设备与第二设备的TCP连接建立的相关信息包括:用于指示网络设备代理所述第一设备与第二设备的TCP连接的指示信息。In a specific implementation, in a possible implementation manner, the related information about the TCP connection established by the first device and the second device includes: an indication for instructing the network device to proxy a TCP connection between the first device and the second device information.
进一步可选的,所述第一设备与第二设备的TCP连接建立的相关信息还包括:所述第二设备的TCP初始序号。Further, optionally, the related information about the TCP connection established by the first device and the second device further includes: a TCP initial sequence number of the second device.
进一步可选的,所述第一设备与第二设备的TCP连接建立的相关信息还包括:所述第一设备的IP地址和所述第二设备的IP地址、以及所述第一设备的TCP端口号和所述第二设备的TCP端口号中的至少一项信息。Further, the related information about the TCP connection established by the first device and the second device further includes: an IP address of the first device and an IP address of the second device, and a TCP of the first device At least one of a port number and a TCP port number of the second device.
在具体实施中,另一种可能的实现方式,所述第一设备与第二设备的TCP连接建立的相关信息包括:所述第二设备的TCP初始序号。In a specific implementation, the related information about the TCP connection established by the first device and the second device includes: a TCP initial sequence number of the second device.
进一步可选的,所述第一设备与第二设备的TCP连接建立的相关信息还包括:所述第一设备的IP地址和所述第二设备的IP地址、以及所述第一设备的TCP端口号和所述第二设备的TCP端口号中的至少一项信息。Further, the related information about the TCP connection established by the first device and the second device further includes: an IP address of the first device and an IP address of the second device, and a TCP of the first device At least one of a port number and a TCP port number of the second device.
S84、所述第一设备建立与所述第二设备的TCP连接。S84. The first device establishes a TCP connection with the second device.
具体的,所述第一设备通过第一无线空口信令,接收到网络设备发送的所述第一设备与第二设备的TCP连接建立的相关信息后,建立与所述第二设备的TCP连接。Specifically, the first device establishes a TCP connection with the second device after receiving the related information about the TCP connection established by the first device and the second device that is sent by the network device by using the first wireless air interface signaling. .
可选的,S84之后,还包括:Optionally, after S84, it also includes:
S85、所述第一设备通过第二无线空口信令,向所述网络设备返回TCP连接建立响应,以指示已完成所述第一设备与所述第二设备的TCP连接建立,所述第二无线空口信令中不包含TCP/IP报头结构。 S85. The first device returns a TCP connection establishment response to the network device by using the second wireless air interface signaling, to indicate that the TCP connection establishment of the first device and the second device is completed, and the second The TCP/IP header structure is not included in the wireless air interface signaling.
可选的,所述第二无线空口信令中包括所述第一设备的TCP初始序号。Optionally, the second wireless air interface signaling includes a TCP initial sequence number of the first device.
进一步可选的,所述第二无线空口信令中还包括:所述第一设备的IP地址和所述第二设备的IP地址、以及所述第一设备的TCP端口号和所述第二设备的TCP端口号中的至少一项信息。Further optionally, the second wireless air interface signaling further includes: an IP address of the first device and an IP address of the second device, and a TCP port number of the first device and the second At least one of the TCP port numbers of the device.
可选的,为了不影响UE的TCP/IP层,UE的无线空口协议层接收到第一无线空口信令之后,根据该信令中携带的信息,重构出TCP建立三次握手流程中step 1对应的TCP报文(包含TCP/IP报头),并将该TCP报文发送给UE的TCP/IP层;Optionally, in order to not affect the TCP/IP layer of the UE, after receiving the first wireless air interface signaling, the wireless air interface protocol layer of the UE reconstructs the step 1 of the TCP establishment three-way handshake process according to the information carried in the signaling. Corresponding TCP packet (including the TCP/IP header), and sending the TCP packet to the TCP/IP layer of the UE;
相应的,UE的TCP/IP层在接收到UE的无线空口协议层发送的TCP报文后,生成TCP建立三次握手流程中step 2对应的TCP报文,并发送给UE的无线空口协议层;Correspondingly, after receiving the TCP packet sent by the wireless air interface protocol layer of the UE, the TCP/IP layer of the UE generates a TCP packet corresponding to the step 2 in the three-way handshake process, and sends the TCP packet to the wireless air interface protocol layer of the UE.
相应的,UE的无线空口协议层在接收到UE的TCP/IP层发送的TCP报文后,通过第二无线空口信令,指示已正确接收到了TCP建立三次握手流程中step 1的信息。Correspondingly, after receiving the TCP packet sent by the TCP/IP layer of the UE, the wireless air interface protocol layer of the UE indicates that the information of step 1 in the three-way handshake process is correctly received by the TCP through the second wireless air interface signaling.
S86、所述网络设备重构TCP/IP报头,并向所述第二设备发送携带重构的TCP/IP报头的消息,即TCP建立三次握手中的step 2,以指示已完成所述第一设备与所述第二设备的TCP连接建立。S86. The network device reconstructs a TCP/IP header, and sends a message carrying the reconstructed TCP/IP header to the second device, that is, TCP establishes step 2 in the three-way handshake to indicate that the first A TCP connection is established between the device and the second device.
可选的,S86之后,还包括:Optional, after S86, also includes:
S87、所述第二设备通过TCP报文,向所述网络设备返回确认消息,即TCP建立三次握手中的step 3,以指示已正确接收到TCP连接建立响应。S87. The second device returns an acknowledgement message to the network device by using a TCP packet, that is, the TCP establishes step 3 in the three-way handshake to indicate that the TCP connection setup response has been correctly received.
S88、所述网络设备通过第四无线空口信令,向所述第一设备返回确认消息,以指示已正确接收到TCP连接建立响应,所述第四无线空口信令中不包含TCP/IP报头结构。S88. The network device returns an acknowledgement message to the first device by using the fourth wireless air interface signaling, to indicate that the TCP connection establishment response is correctly received, and the fourth wireless air interface signaling does not include the TCP/IP header. structure.
可选的,为了不影响第一设备的TCP/IP层,第一设备的无线空口协议层在接收到网络设备发送的第四无线空口信令后,需要重构TCP/IP报头,并将包含该TCP/IP报头的TCP报文发送给第一设备的TCP/IP层。Optionally, in order to not affect the TCP/IP layer of the first device, after receiving the fourth wireless air interface signaling sent by the network device, the wireless air interface protocol layer of the first device needs to reconstruct the TCP/IP header and include The TCP packet of the TCP/IP header is sent to the TCP/IP layer of the first device.
本发明实施例五中,提供了另一种由第二设备主动发起与第一设备的 TCP连接建立过程中的信令传输方法,本实施例中,第一设备与网络设备之间通过扩展现有RRC信令,交互所述第一设备与第二设备的TCP连接建立的相关信息,其他情况与本实施例类似,此处不再一一举例说明。本实施例的流程如图9所示,包括如下步骤:In the fifth embodiment of the present invention, another method for actively initiating the first device by the second device is provided. The signaling transmission method in the process of establishing a TCP connection. In this embodiment, the first device and the network device exchange existing RRC signaling, and exchange related information established by the TCP connection between the first device and the second device. Other situations are similar to this embodiment, and are not illustrated here. The flow of this embodiment is shown in FIG. 9 and includes the following steps:
S901、对端(如服务器)向eNB发起TCP建立三次握手流程中step 1;S901, the peer end (such as a server) initiates a TCP establishment three-way handshake process to the eNB, step 1;
S902、eNB向UE发送寻呼消息;S902. The eNB sends a paging message to the UE.
S903、UE向eNB发送RRC Connection Request消息;S903. The UE sends an RRC Connection Request message to the eNB.
S904、eNB向UE发送RRC Connection Setup消息;S904. The eNB sends an RRC Connection Setup message to the UE.
S905、UE向eNB发送RRC Connection Setup Complete消息;S905. The UE sends an RRC Connection Setup Complete message to the eNB.
S906、eNB向UE发送Security Mode Command消息,其中,Security Mode Command消息中携带TCP建立三次握手流程中step 1的信息;S906. The eNB sends a Security Mode Command message to the UE, where the Security Mode Command message carries the information of step 1 in the three-way handshake process.
举例说明,在Security Mode Command消息的IE(Information Element)中增加一个IPAgentRequest项,该IPAgentRequest中包括TCP建立三次握手流程中step 1的信息,具体包括:所述第二设备的TCP初始序列号,还可能包括所述第一设备的IP地址和所述第二设备的IP地址、以及所述第一设备的TCP端口号和所述第二设备的TCP端口号。For example, an IPAgentRequest item is added to the IE (Information Element) of the Security Mode Command message, where the IPAgentRequest includes the information of the step 1 in the TCP establishment handshake process, including: the initial TCP sequence number of the second device, and The IP address of the first device and the IP address of the second device, and the TCP port number of the first device and the TCP port number of the second device may be included.
S907、UE向eNB发送Security Mode Complete消息,其中,Security Mode Complete消息中携带TCP建立三次握手流程中step 2的信息;S907. The UE sends a Security Mode Complete message to the eNB, where the Security Mode Complete message carries the information of step 2 in the three-way handshake process.
本实施例中,可选的,为了不影响UE的TCP/IP层,UE的无线空口协议层在接收到eNB发送的Security Mode Command消息后,重构TCP建立三次握手流程中step 1 对应的TCP报文(包含TCP/IP报头),并将该TCP报文发送给UE的TCP/IP层。In this embodiment, optionally, in order not to affect the TCP/IP layer of the UE, after receiving the Security Mode Command message sent by the eNB, the wireless air interface protocol layer of the UE reconstructs the TCP corresponding to the step 1 in the three-way handshake process. The message (including the TCP/IP header) is sent to the TCP/IP layer of the UE.
UE的无线空口协议层在接收到UE的TCP/IP层发送的TCP建立三次握手流程中step 2对应的TCP报文后,通过Security Mode Complete消息,向eNB发送TCP建立三次握手流程中step 2的信息。After receiving the TCP packet corresponding to step 2 in the three-way handshake process of the TCP/IP layer sent by the UE, the wireless air interface protocol layer of the UE sends a TCP to establish a three-way handshake process in step 2 by using a Security Mode Complete message. information.
S908、eNB向对端(Peer entity),如服务器,发起TCP建立三次握手流程中step 2; S908, the eNB initiates a TCP establishment of a three-way handshake process to the peer (Peer entity), such as a server;
具体的,eNB根据Security Mode Complete消息中携带的TCP建立三次握手流程中step 2的信息,重构TCP/IP报头,并向对端发送包含重构的TCP/IP报头的消息,该TCPTCP/IP报头中包括TCP建立三次握手流程中step 2的信息。Specifically, the eNB establishes the information of step 2 in the three-way handshake process according to the TCP carried in the Security Mode Complete message, reconstructs the TCP/IP header, and sends a message including the reconstructed TCP/IP header to the peer end, the TCPTCP/IP The header includes information that TCP establishes step 2 in the three-way handshake process.
S909、对端向eNB发起TCP建立三次握手流程中step 3。S909. The peer initiates a TCP establishment to the eNB to establish step 3 in the three-way handshake process.
S910、eNB向UE发送RRC Connection Reconfiguration消息,其中,RRC连接重配置消息中携带TCP建立三次握手流程中step 3的信息。S910. The eNB sends an RRC Connection Reconfiguration message to the UE, where the RRC connection reconfiguration message carries the information of step 3 in the three-way handshake process.
举例说明,在RRC Connection reconfiguration消息中的IE字段中增加一个IPAgent项,该IPAgent中包括step 3的信息,具体包括用于指示第二设备正确接收TCP建立三次握手流程中step 2的指示信息;还可能包括:所述第一设备的IP地址和所述第二设备的IP地址、以及所述第一设备的TCP端口号和所述第二设备的TCP端口号。For example, an IPAgent entry is added to the IE field in the RRC Connection reconfiguration message, where the IPAgent includes the information of the step 3, and specifically includes the indication information for instructing the second device to correctly receive the step 2 of the TCP establishment three-way handshake process; The method may include: an IP address of the first device and an IP address of the second device, and a TCP port number of the first device and a TCP port number of the second device.
S911、UE向eNB发送RRC Connection Reconfiguration Complete消息;S911. The UE sends an RRC Connection Reconfiguration Complete message to the eNB.
可选的,为了不影响UE的TCP/IP层,UE的无线空口协议层在接收到eNB发送的RRC Connection Reconfiguration消息后,重构TCP建立三次握手流程中step 3对应的TCP报文(包含TCP/IP报头),并将该TCP报文发送给UE的TCP/IP层。Optionally, in order to not affect the TCP/IP layer of the UE, after receiving the RRC Connection Reconfiguration message sent by the eNB, the wireless air interface protocol layer of the UE reconstructs the TCP packet corresponding to step 3 in the three-way handshake process (including TCP). /IP header), and send the TCP packet to the TCP/IP layer of the UE.
S912、UE向eNB发起UL Information Transfer。S912. The UE initiates UL Information Transfer to the eNB.
本发明实施例六中,提供了一种由第一设备主动发起与第二设备的TCP连接释放过程中的信令传输方法,其流程如图10所示,包括如下步骤:In the sixth embodiment of the present invention, a signaling transmission method in a process of actively initiating a TCP connection release with a second device by a first device is provided. The process is as shown in FIG. 10, and includes the following steps:
S101、第一设备通过第一无线空口信令,向网络设备发送所述第一设备与第二设备的TCP连接释放的相关信息。S101. The first device sends, by using the first wireless air interface signaling, related information released by the TCP connection of the first device and the second device to the network device.
具体的,第一设备通过第一无线空口信令指示网络设备代理所述第一设备与所述第二设备的TCP连接释放,所述第一无线空口信令中不包含TCP/IP报头结构。Specifically, the first device indicates, by using the first wireless air interface signaling, that the network device is configured to release the TCP connection of the first device and the second device, and the first wireless air interface signaling does not include a TCP/IP header structure.
一种可能的实现方式中,第一设备通过对标准或协议中已定义的无线空口信令的扩展,携带所述第一设备与第二设备的TCP连接释放的相关信息, 如通过扩展现有的RRC信令,NAS信令、或者MAC信令,携带所述第一设备与第二设备的TCP连接释放的相关信息。In a possible implementation manner, the first device carries related information about the release of the TCP connection between the first device and the second device by extending the wireless air interface signaling defined in the standard or the protocol. For example, by extending the existing RRC signaling, the NAS signaling or the MAC signaling carries the related information released by the TCP connection of the first device and the second device.
通过扩展标准或协议中已定义的无线空口信令的方式,能够更好利用现有的信令中的空闲资源,从而减少了空口信令负荷,进一步减少空口传输的负荷。By extending the standard air interface signaling in the standard or protocol, the idle resources in the existing signaling can be better utilized, thereby reducing the air interface signaling load and further reducing the load of the air interface transmission.
另一种可能的实现方式中,第一设备通过新定义的信令,如IP代理请求(IP Agent Request)信令、MAC控制单元(MAC control element)信令,携带所述第一设备与第二设备的TCP连接释放的相关信息。In another possible implementation manner, the first device carries the first device and the first device by using newly defined signaling, such as IP proxy request signaling, and MAC control element signaling. Information about the release of the TCP connection of the second device.
可选的,所述第一设备与第二设备的TCP连接释放的相关信息包括:用于指示网络设备代理所述第一设备与第二设备的TCP释放的指示信息。Optionally, the related information about the TCP connection release of the first device and the second device includes: indication information used to indicate that the network device is proxying the TCP release of the first device and the second device.
可选的,为了不影响第一设备的TCP/IP层,第一设备的无线空口协议层的在接收到第一设备的TCP/IP层发送的TCP释放四次握手流程中的step 1对应的TCP报文后,获取该TCP报文中的信息,并通过第一无线空口信令发送给网络设备。Optionally, in order not to affect the TCP/IP layer of the first device, the wireless air interface protocol layer of the first device corresponds to step 1 in the TCP release four-way handshake process sent by the TCP/IP layer of the first device. After the TCP packet is received, the information in the TCP packet is obtained and sent to the network device by using the first wireless air interface signaling.
S102、所述第一设备释放与所述第二设备已建立的TCP连接。S102. The first device releases a TCP connection established with the second device.
S103、所述网络设备根据所述第一设备与第二设备的TCP连接释放的相关信息,重构TCP/IP报头;S103. The network device reconfigures a TCP/IP header according to related information released by the TCP connection of the first device and the second device.
由于第二设备一般为服务器,而网络设备与服务器之间一般采用有线连接,因此,网络设备需要根据所述第一设备与所述第二设备的TCP连接释放的相关信息,重构TCP/IP报头,并发送给第二设备。Since the second device is generally a server, and the wired connection is generally between the network device and the server, the network device needs to reconstruct the TCP/IP according to the related information released by the TCP connection between the first device and the second device. The header is sent to the second device.
S104、所述网络设备向所述第二设备发送所述第一TCP连接释放信令(即报文段4),以指示所述第二设备释放与所述第一设备已建立的TCP连接,即TCP释放四次握手流程中step 1,其中,所述第一TCP连接释放信令中包含重构的TCP/IP报头;TCP释放四次握手流程中step 1主要目的是通知第二设备第一设备发起释放TCP连接。S104. The network device sends the first TCP connection release signaling (ie, segment 4) to the second device, to indicate that the second device releases the established TCP connection with the first device. That is, the TCP releases the step 1 in the four-way handshake process, where the first TCP connection release signaling includes the reconstructed TCP/IP header; the TCP release four-way handshake process is mainly used to notify the second device of the first step. The device initiates a release of the TCP connection.
S105、所述网络设备通过第三无线空口信令,向所述第一设备返回TCP连接释放响应,以通知所述第二设备已完成TCP连接释放,所述第三无线空 口信令中不包含TCP/IP报头结构。S105. The network device returns a TCP connection release response to the first device by using the third wireless air interface signaling, to notify the second device that the TCP connection release is completed, and the third wireless space is The TCP/IP header structure is not included in the port signaling.
可选的,为了不影响第一设备的TCP/IP层,第一设备的无线空口协议层在接收到网络设备发送的第三无线空口信令后,需要重构TCP释放四次握手流程中step 2和/或step 3对应的TCP报文(包含TCP/IP报头),并将该TCP报文发送给第一设备的TCP/IP层。其中,TCP释放四次握手流程中step 2是对step1的响应,其对应的TCP报文即为报文段5;TCP释放四次握手流程中step 3用于通知第一设备第二设备发起释放TCP连接,其对应的TCP报文即为报文段6。Optionally, in order to not affect the TCP/IP layer of the first device, after receiving the third wireless air interface signaling sent by the network device, the wireless air interface protocol layer of the first device needs to reconfigure the TCP release four-step handshake process. 2 and / or step 3 corresponding TCP message (including TCP / IP header), and send the TCP message to the TCP / IP layer of the first device. Step 2 is a response to step 1 in the TCP release four-way handshake process, and the corresponding TCP packet is segment 5; in the TCP release four-way handshake process, step 3 is used to notify the first device that the second device initiates the release. For a TCP connection, the corresponding TCP packet is segment 6.
需要说明的是,本实施例中不限定S102的执行顺序,S102也可以在S101之前执行,S102还可以在S105之后执行。It should be noted that, in this embodiment, the execution order of S102 is not limited, S102 may be performed before S101, and S102 may also be executed after S105.
其中,网络设备向第二设备发起的第一设备与第二设备的TCP连接释放过程包括:The process of releasing the TCP connection between the first device and the second device initiated by the network device to the second device includes:
网络设备向第二设备发起TCP释放四次握手流程中step 1,即发起TCP释放流程;The network device initiates a TCP release four-way handshake process to the second device, and initiates a TCP release process.
第二设备向网络设备发起TCP释放四次握手流程中step 2,即对step 1的响应,表明第二设备接收到了step 1;The second device initiates a TCP release four-way handshake process step 2, that is, a response to step 1 to the network device, indicating that the second device has received step 1;
第二设备向网络设备发起TCP释放四次握手流程中step 3,即通知第一设备第二设备发起释放TCP连接;The second device initiates a TCP release four-way handshake process step 3 to the network device, that is, notifying the first device that the second device initiates releasing the TCP connection;
网络设备向第二设备发起TCP释放四次握手流程中step 4,即对step 3的确认,表明网络设备接收到了step 3。The network device initiates a TCP release four-way handshake process step 4 to the second device, that is, an acknowledgement to step 3, indicating that the network device has received step 3.
本发明实施例七中,提供了一种第二设备主动发起与第一设备的TCP连接释放过程中的信令传输方法,其流程如图11所示,包括如下步骤:In the seventh embodiment of the present invention, a signaling transmission method in a process of the second device actively initiating a TCP connection release with the first device is provided. The process is as shown in FIG. 11 and includes the following steps:
S111、网络设备接收到所述第二设备发送的第二TCP连接释放信令,即TCP释放四次握手流程中step 1,所述第二TCP连接释放信令中包括所述第一设备与第二设备的TCP连接释放的相关信息,所述第二TCP连接释放信令中包含TCP/IP报头结构;S111, the network device receives the second TCP connection release signaling sent by the second device, that is, the TCP release four-way handshake process step 1, the second TCP connection release signaling includes the first device and the first Information about the release of the TCP connection of the second device, where the second TCP connection release signaling includes a TCP/IP header structure;
S112、网络设备通过第一无线空口信令,向第一设备发送所述第一设备 与第二设备的TCP连接释放的相关信息。S112. The network device sends the first device to the first device by using the first wireless air interface signaling. Information about the release of the TCP connection with the second device.
其中,第一无线空口信令具体参见图10所示实施例中的相关描述,此处不再赘述。For details of the first wireless air interface signaling, refer to the related description in the embodiment shown in FIG. 10, and details are not described herein again.
可选的,网络设备可以重构出TCP释放四次握手流程中step 2对应的TCP/IP报文,并发送给第二设备。Optionally, the network device may reconfigure the TCP/IP packet corresponding to step 2 in the TCP release four-way handshake process, and send the packet to the second device.
S113、所述第一设备释放与所述第二设备已建立的TCP连接。S113. The first device releases a TCP connection established with the second device.
可选的,为了不影响第一设备的TCP/IP层,第一设备的无线空口协议层在接收到网络设备发送的第一无线空口信令后,需要重构TCP释放四次握手流程中step 1对应的TCP报文(包含TCP/IP报头),并将该TCP报文发送给第一设备的TCP/IP层。Optionally, in order to not affect the TCP/IP layer of the first device, after receiving the first wireless air interface signaling sent by the network device, the wireless air interface protocol layer of the first device needs to reconstruct the TCP release four-step handshake process. 1 corresponding TCP message (including TCP/IP header), and the TCP message is sent to the TCP/IP layer of the first device.
可选的,S113之后,还包括:Optionally, after S113, it also includes:
S114、所述第一设备通过第三无线空口信令,向所述网络设备返回TCP连接释放响应,以指示所述第一设备已完成TCP连接释放,所述第三无线空口信令中不包含TCP/IP报头结构。S114. The first device returns a TCP connection release response to the network device by using the third wireless air interface signaling, to indicate that the first device has completed the TCP connection release, and the third wireless air interface signaling does not include TCP/IP header structure.
可选的,为了不影响第一设备的TCP/IP层,第一设备的无线空口协议层在接收到第一设备的TCP/IP层发送的TCP释放四次握手流程中的step 3对应的TCP报文后,获取TCP报文中的信息,并通过第三无线空口信令发送给网络设备。Optionally, in order not to affect the TCP/IP layer of the first device, the wireless air interface protocol layer of the first device receives the TCP corresponding to step 3 in the TCP release four-way handshake process sent by the TCP/IP layer of the first device. After the packet is received, the information in the TCP packet is obtained and sent to the network device through the third wireless air interface signaling.
可选的,第一设备的无线空口协议层发送第三无线空口信令之后,重构出TCP释放四次握手流程中的step 4对应的TCP/IP报文(包含TCP/IP报头),即报文段7,并发送给第一设备的TCP/IP层。Optionally, after the third air interface signaling is sent by the wireless air interface protocol layer of the first device, the TCP/IP packet corresponding to step 4 in the TCP release four-way handshake process (including the TCP/IP header) is reconstructed, that is, Segment 7 is sent to the TCP/IP layer of the first device.
进一步,所述网络设备收到所述第三无线空口信令之后,重构出TCP释放四次握手流程中step 3对应的TCP报文(包含TCP/IP报头),并发送给所述第二设备。Further, after receiving the third wireless air interface signaling, the network device reconstructs a TCP packet (including a TCP/IP header) corresponding to step 3 in the TCP release four-way handshake process, and sends the packet to the second device.
本发明实施例八中,提供了另一种由第二设备主动发起与第一设备的TCP连接释放过程中的信令传输方法,本实施例中,第一设备与网络设备通过扩展现有RRC信令,交互所述第一设备与第二设备的TCP连接释放的相关 信息,其他情况与本实施例类似,此处不再一一举例说明。本实施例的流程如图12所示,包括如下步骤:In the eighth embodiment of the present invention, another signaling transmission method in the process of actively initiating a TCP connection release with the first device by the second device is provided. In this embodiment, the first device and the network device extend the existing RRC. Signaling, interacting with the release of the TCP connection of the first device and the second device Information, other situations are similar to this embodiment, and will not be exemplified herein. The flow of this embodiment is as shown in FIG. 12, and includes the following steps:
S121、对端(Peer entity),如服务器,向eNB发起TCP释放四次握手流程中step 1;S121, a peer (Peer entity), such as a server, initiates a TCP release four-way handshake process to the eNB, step 1;
S122、eNB向对端发起TCP释放四次握手流程中step 2;S122, the eNB initiates a TCP release four-way handshake process to the peer end step 2;
S123、eNB向对端发起TCP释放四次握手流程中step 3;S123, the eNB initiates a TCP release four-way handshake process to the peer end in step 3;
S124、对端向eNB发起TCP释放四次握手流程中step 4;S124, the peer end initiates a TCP release four-way handshake process to the eNB, step 4;
S125、eNB向UE发送RRC连接释放(RRC Connection Release)消息,其中,RRC连接释放消息中携带所述第一设备与第二设备的TCP连接释放的相关信息;S125. The eNB sends an RRC Connection Release message to the UE, where the RRC connection release message carries related information released by the TCP connection of the first device and the second device.
S126、UE释放与对端已建立的TCP连接S126. The UE releases the established TCP connection with the peer.
可选的,为了不影响UE的TCP/IP层,UE的无线空口协议层在接收到RRC连接释放消息后,需要重构TCP释放流程的step 1对应的TCP报文(包含TCP/IP报头),并将该TCP报文发送给UE的TCP/IP层。Optionally, in order to not affect the TCP/IP layer of the UE, the wireless air interface protocol layer of the UE needs to reconstruct the TCP packet corresponding to the step 1 of the TCP release process (including the TCP/IP header) after receiving the RRC connection release message. And sending the TCP packet to the TCP/IP layer of the UE.
进一步,为了不影响UE的TCP/IP层,UE的无线空口协议层在接收到UE的TCP/IP层发送的TCP释放流程的step 3对应的TCP报文(包含TCP/IP报头)后,重构出TCP释放流程的step 4对应的TCP报文(包含TCP/IP报头),并将该TCP报文发送给UE的TCP/IP层。Further, in order not to affect the TCP/IP layer of the UE, the wireless air interface protocol layer of the UE receives the TCP packet (including the TCP/IP header) corresponding to step 3 of the TCP release process sent by the TCP/IP layer of the UE, The TCP packet corresponding to step 4 of the TCP release process (including the TCP/IP header) is constructed, and the TCP packet is sent to the TCP/IP layer of the UE.
本发明实施例九中,提供了另一种由第二设备主动发起与第一设备的TCP连接释放过程中的信令传输方法,本实施例中,第一设备与网络设备通过扩展现有RRC信令,交互所述第一设备与第二设备的TCP连接释放的相关信息,其他情况与本实施例类似,此处不再一一举例说明。本实施例的流程如图13所示,包括如下步骤:.In the ninth embodiment of the present invention, another signaling transmission method in the process of actively initiating a TCP connection release with the first device by the second device is provided. In this embodiment, the first device and the network device extend the existing RRC. The signaling is related to the information about the release of the TCP connection between the first device and the second device. The other situations are similar to the embodiment, and are not illustrated here. The flow of this embodiment is shown in FIG. 13 and includes the following steps:
S131、对端(Peer entity),如服务器,向eNB发起TCP释放四次握手流程中step 1;S131, a peer (Peer entity), such as a server, initiates a TCP release four-way handshake process to the eNB, step 1;
S132、eNB向UE发送RRC Connection Reconfiguration消息,其中,RRC Connection Reconfiguration消息中携带所述第一设备与第二设备的TCP连接 释放的相关信息;S132. The eNB sends an RRC Connection Reconfiguration message to the UE, where the RRC Connection Reconfiguration message carries the TCP connection between the first device and the second device. Relevant information released;
S133、eNB向对端发起TCP释放四次握手流程中step 2;S133. The eNB initiates a TCP release four-way handshake process to the peer end.
S134、UE释放与对端已建立的TCP连接;S134. The UE releases the established TCP connection with the peer end.
可选的,为了不影响UE的TCP/IP层,UE无线空口协议层的收到RRC Connection Reconfiguration消息之后,重构出TCP释放四次握手流程中step 1对应的TCP报文(包含TCP/IP报头),并将该TCP报文发送给UE的TCP/IP层;Optionally, in order to not affect the TCP/IP layer of the UE, after receiving the RRC Connection Reconfiguration message, the UE wireless air interface protocol layer reconstructs the TCP packet corresponding to the step 1 in the TCP release four-way handshake process (including TCP/IP). The header is sent to the TCP/IP layer of the UE;
相应的,UE的TCP/IP层将接收到的TCP报文(包含TCP/IP报头)发送给UE的应用层;Correspondingly, the TCP/IP layer of the UE sends the received TCP packet (including the TCP/IP header) to the application layer of the UE;
相应的,UE的应用层根据接收到的TCP报文(包含TCP/IP报头),释放与对端已建立的TCP连接。Correspondingly, the application layer of the UE releases the established TCP connection with the peer according to the received TCP packet (including the TCP/IP header).
S135、UE向eNB发送RRC Connection Reconfiguration Complete消息,其中,RRC Connection Reconfiguration Complete消息中携带TCP连接释放响应,以指示UE已完成TCP连接释放;S135. The UE sends an RRC Connection Reconfiguration Complete message to the eNB, where the RRC Connection Reconfiguration Complete message carries a TCP connection release response, to indicate that the UE has completed the TCP connection release.
可选的,为了不影响UE的TCP/IP层,UE的无线空口协议层收到UE的TCP/IP层发送的TCP释放四次握手流程中的step 3对应的TCP/IP报文(包含TCP/IP报头)后,触发向eNB发送RRC Connection Reconfiguration Complete消息。Optionally, in order not to affect the TCP/IP layer of the UE, the wireless air interface protocol layer of the UE receives the TCP/IP packet corresponding to step 3 in the TCP release four-way handshake process sent by the TCP/IP layer of the UE (including TCP) After the /IP header, the trigger sends an RRC Connection Reconfiguration Complete message to the eNB.
S136、eNB向对端发起TCP释放四次握手流程中step 3;S136, the eNB initiates a TCP release four-way handshake process to the peer end, step 3;
S137、对端向eNB发起TCP释放四次握手流程中step 4。S137. The peer end initiates a TCP release four-way handshake process step 4 to the eNB.
基于上述任一实施例,本发明实施例中,为了节省无线空口中TCP/IP报头的负荷,在无线空口中无需传输TCP/IP报头域的内容,即网络设备与第一设备在使用无线空口传输时,所传输的信令中不包含TCP/IP报头的结构。但是对于非无线空口传输的信令,即网络设备与第二设备之间传输的信令,需要网络设备获取相关信息并重构出对应的TCP/IP报头结构。另外,在TCP建立完成之后,第一设备和第二设备之间发送数据时,第一设备和网络侧之间在空口也可以无需发送TCP/IP报头,第一设备和网络侧按照一定的规则重 构出对应的TCP/IP报头。数据发送阶段的TCP/IP报头重构主要包括网络侧发送给第二设备时的TCP/IP报头(网络侧收到第一设备发送的数据及网络侧收到第二设备发送的数据时对应的TCP ACK报文)及第一设备重构出发送给高层的TCP/IP报头。In the embodiment of the present invention, in order to save the load of the TCP/IP header in the wireless air interface, the content of the TCP/IP header field does not need to be transmitted in the wireless air interface, that is, the network device and the first device use the wireless air interface. When transmitting, the structure of the TCP/IP header is not included in the transmitted signaling. However, for signaling of non-wireless air interface transmission, that is, signaling transmitted between the network device and the second device, the network device needs to obtain related information and reconstruct a corresponding TCP/IP header structure. In addition, after the TCP is established, when the data is sent between the first device and the second device, the air interface between the first device and the network side may not need to send a TCP/IP header, and the first device and the network side follow certain rules. Heavy Construct a corresponding TCP/IP header. The TCP/IP header reconstruction in the data transmission phase mainly includes the TCP/IP header sent by the network side to the second device (the network side receives the data sent by the first device and the network side receives the data sent by the second device). The TCP ACK packet and the first device reconstruct the TCP/IP header sent to the upper layer.
下面给出一种可能的重构TCP/IP报头结构的方法,具体如下:A possible method for reconstructing the TCP/IP header structure is given below, as follows:
1、TCP报头中SYN/FIN的恢复:1. Recovery of SYN/FIN in the TCP header:
当网络侧或者第一设备收到无线空口信令需要恢复TCP建立或者释放对应的TCP报头时,则在构造的TCP报头中设置SYN或者FIN为1,否则设置为0。When the network side or the first device receives the wireless air interface signaling and needs to resume the TCP establishment or release the corresponding TCP header, set SYN or FIN to 1 in the constructed TCP header, otherwise set to 0.
2、TCP报头中的数据序号的恢复:2. Recovery of the data sequence number in the TCP header:
如果当前恢复的TCP报头中SYN=1时,则TCP报头中的数据序号为无线空口信令中携带的初始序列号或者为随机生成的一个初始序列号(当无线空口信令中没有携带初始序列号时);If the current recovered TCP header has SYN=1, the data sequence number in the TCP header is the initial sequence number carried in the wireless air interface signaling or an initial sequence number randomly generated (when the wireless air interface signaling does not carry the initial sequence) Number);
否则:otherwise:
如果前一次恢复的TCP报头中为SYN=1时,则当前恢复的TCP/IP报头中数据序号为前一次恢复的TCP报头的数据序号+1;否则当前恢复的TCP报头中数据序号为(前一次恢复的TCP报头中数据序号+前一次恢复的TCP报头所属的TCP/IP报文中携带的数据大小)%(232);If the previous recovered TCP header is SYN=1, the data sequence number in the currently recovered TCP/IP header is the data sequence number of the previously restored TCP header +1; otherwise, the data sequence number in the currently restored TCP header is (previous The data sequence number in the TCP header of a recovery + the size of the data carried in the TCP/IP packet to which the previously restored TCP header belongs)%(2 32 );
3、TCP报头中的窗口字段(Window)的恢复:窗口字段用于流控,表示可发送的字节数。由于网络设备具有TCP层处理功能,所以流控功能可以设置在网络设备侧;当网络设备重构TCP/IP报头时,可以根据当前的缓冲状况设置;当第一设备(如UE)重构TCP/IP报头时,可以设置为窗口字段的最大值。3. Recovery of the window field (Window) in the TCP header: The window field is used for flow control, indicating the number of bytes that can be sent. Since the network device has the TCP layer processing function, the flow control function can be set on the network device side; when the network device reconstructs the TCP/IP header, it can be set according to the current buffer status; when the first device (such as the UE) reconstructs the TCP When the /IP header is set, it can be set to the maximum value of the window field.
4、IP报头中的标识的恢复:由于IP报头中的标识只是用于表示当前是哪一个包,该标识的主要目的是用于IP报分段的场景。当网络设备重构TCP/IP报头时,由于上行数据包只经过第一设备(如UE)侧,不会对IP报文分段,所以只需设置为(上一次的标识+1)%(216)即可,第一个标识可以为随机 生成的一个数(在有效范围内)。当第一设备重构TCP/IP报头时,由于网络侧具有TCP/IP层功能,所以网络侧可以等到所有同一个IP报文都到达之后再发送给第一设备,所以只需设置为(上一次的标识+1)%(216)即可,第一个标识可以为随机生成的一个数(在有效范围内);4. Recovery of the identifier in the IP header: Since the identifier in the IP header is only used to indicate which packet is currently in use, the primary purpose of the identifier is to use the scenario for IP packet segmentation. When the network device reconfigures the TCP/IP header, since the uplink packet passes only the first device (such as the UE) side and does not segment the IP packet, it only needs to be set to (the last identifier + 1)% ( 2 16 ) Yes, the first identifier can be a randomly generated number (within the valid range). When the first device reconfigures the TCP/IP header, since the network side has the TCP/IP layer function, the network side can wait until all the same IP packet arrives before sending it to the first device, so it only needs to be set to (on The identifier of one time is +1)%(2 16 ), and the first identifier can be a randomly generated number (within the effective range);
5、TCP报头中的确认序号(ACK SN)和确认字段(ACK)的恢复:5. Recovery of the acknowledgment sequence number (ACK SN) and acknowledgement field (ACK) in the TCP header:
除了TCP连接建立流程中的step 1中设置确认字段(ACK)为0,其他条件下设置确认字段(ACK)为1。In addition to setting the acknowledgment field (ACK) to 0 in step 1 of the TCP connection establishment procedure, the acknowledgment field (ACK) is set to 1 under other conditions.
对于TCP连接建立流程TCP ACK报文(包括网络设备和UE构造的TCP ACK),ACK SN设置为(无线空口信令中携带的初始序列号+1)%(232)。For the TCP connection establishment process TCP ACK message (including the TCP ACK constructed by the network device and the UE), the ACK SN is set to (the initial sequence number +1 carried in the wireless air interface signaling) +1% (2 32 ).
对于下行数据包对应的TCP ACK报文(即网络设备构造的TCP ACK)及TCP释放流程中网络设备侧构造的TCP ACK报文,网络设备根据RLC层ACK或物理(PHY)层ACK情况生成,即网络设备可以知道哪些包传输正确,哪些包没有传输正确,则网络设备可以根据这些情况给对端生成TCP/IP ACK,其中,ACK SN设置为网络设备已经正确发送的有序数据包对应的字节号;或者,网络设备保存收到的下行数据包,直接给对端发送TCP层的ACK SN和ACK(即无需等无线侧正确传输,后续无线侧传输错误时,网络设备直接在无线侧重发),其中,ACK SN设置为网络设备已经正确有序接收的TCP数据包对应的字节号。For the TCP ACK packet corresponding to the downlink data packet (that is, the TCP ACK constructed by the network device) and the TCP ACK packet constructed by the network device side in the TCP release process, the network device generates the ACK according to the RLC layer ACK or the physical (PHY) layer ACK. That is, the network device can know which packets are correctly transmitted and which packets are not transmitted correctly, and the network device can generate a TCP/IP ACK according to the situation, wherein the ACK SN is set to correspond to the ordered data packet that the network device has correctly transmitted. Byte number; or, the network device saves the received downlink data packet, and directly sends the TCP layer ACK SN and ACK to the opposite end (that is, the wireless side does not need to wait for the correct transmission, and the subsequent wireless side transmission error occurs, the network device directly focuses on the wireless side. The ACK SN is set to the byte number corresponding to the TCP packet that the network device has received correctly and orderly.
对于上行数据包对应的TCP ACK报文(即UE侧构造的TCP ACK)及TCP释放流程中UE侧构造的TCP ACK报文,第一设备(如UE)根据无线协议中RLC层ACK或PHY层ACK情况生成,即无线协议中RLC层或PHY层可以知道哪些包传输正确,哪些包没有传输正确,因此,第一设备可以根据这些情况生成TCP/IP ACK(ACK SN设置为无线协议已经正确发送的有序数据包对应的字节号。For the TCP ACK message corresponding to the uplink data packet (ie, the TCP ACK constructed by the UE side) and the TCP ACK message constructed by the UE side in the TCP release process, the first device (such as the UE) according to the RLC layer ACK or PHY layer in the wireless protocol The ACK situation is generated, that is, the RLC layer or the PHY layer in the wireless protocol can know which packets are correctly transmitted and which packets are not transmitted correctly. Therefore, the first device can generate a TCP/IP ACK according to these conditions (the ACK SN is set to the wireless protocol has been correctly transmitted. The byte number corresponding to the ordered data packet.
基于上述任一实施例,本发明实施例中,若第二设备也为无线设备,则第二设备与网络设备之间可以通过无线空口信令进行交互,可选的,第二设备与网络设备之间交互的无线空口信令中不包含TCP/IP报头,具体过程与第 一设备与网络设备之间的无线空口信令类似,本发明中不再一一举例说明。Based on any of the foregoing embodiments, in the embodiment of the present invention, if the second device is also a wireless device, the second device and the network device may perform interaction through wireless air interface signaling. Optionally, the second device and the network device The wireless air interface signaling between the interaction does not include the TCP/IP header, and the specific process and the The wireless air interface signaling between a device and a network device is similar, and is not illustrated in the present invention.
上述方法处理流程可以用软件程序实现,该软件程序可以存储在存储介质中,当存储的软件程序被调用时,执行上述方法步骤。The above method processing flow can be implemented by a software program, which can be stored in a storage medium, and when the stored software program is called, the above method steps are performed.
基于同一发明构思,本发明实施例十中,提供了一种终端设备,如图14所示,所述设备包括:Based on the same inventive concept, in a tenth embodiment of the present invention, a terminal device is provided. As shown in FIG. 14, the device includes:
信息交互模块141,用于通过第一无线空口信令,与网络设备交互所述第一设备与第二设备的传输控制协议TCP连接建立或释放的相关信息,所述第一无线空口信令中不包含TCP/IP报头结构;The information interaction module 141 is configured to exchange, by using the first wireless air interface signaling, information related to the establishment or release of the transmission control protocol TCP connection between the first device and the second device, and the first wireless air interface signaling. Does not include the TCP/IP header structure;
处理模块142,用于根据所述第一设备与第二设备的TCP连接建立的相关信息,建立与所述第二设备的TCP连接;或者根据所述第一设备与第二设备的TCP连接释放的相关信息,释放与所述第二设备的TCP连接。The processing module 142 is configured to establish a TCP connection with the second device according to the related information about the TCP connection established by the first device and the second device, or release the TCP connection according to the first device and the second device. Related information, releasing a TCP connection with the second device.
本实施例中,所述第一设备与第二设备的TCP连接建立的相关信息具体参见图6至图13所示任一实施例中的相关描述,此处不再赘述。For the related information about the establishment of the TCP connection between the first device and the second device, refer to the related description in any embodiment shown in FIG. 6 to FIG. 13 , and details are not described herein again.
本实施例中,所述第一无线空口信令、所述第二无线空口信令、所述第三无线空口信令,具体参见图6至图13所示任一实施例中的相关描述,此处不再赘述。In this embodiment, the first wireless air interface signaling, the second wireless air interface signaling, and the third wireless air interface signaling, refer to related descriptions in any of the embodiments shown in FIG. 6 to FIG. I will not repeat them here.
基于上述任一实施例,所述信息交互模块还用于:Based on any of the foregoing embodiments, the information interaction module is further configured to:
通过第二无线空口信令,与所述网络设备交互TCP连接建立响应,所述第二无线空口信令中不包含TCP/IP报头结构;或者Establishing, by the second wireless air interface signaling, a TCP connection establishment response with the network device, where the second wireless air interface signaling does not include a TCP/IP header structure; or
通过第三无线空口信令,与所述网络设备交互TCP连接释放响应,所述第三无线空口信令中不包含TCP/IP报头结构。And transmitting, by the third wireless air interface signaling, a TCP connection release response with the network device, where the third wireless air interface signaling does not include a TCP/IP header structure.
基于同一发明构思,本发明实施例十一中,提供了另一种终端设备,如图15所示,所述设备包括:收发机151、以及与该收发机151连接的至少一个处理器152,其中:Based on the same inventive concept, in the eleventh embodiment of the present invention, another terminal device is provided. As shown in FIG. 15, the device includes: a transceiver 151, and at least one processor 152 connected to the transceiver 151. among them:
处理器152,用于读取存储器153中的程序,执行下列过程:The processor 152 is configured to read a program in the memory 153 and perform the following process:
控制所述收发机通过第一无线空口信令,与网络设备交互所述第一设备与第二设备的传输控制协议TCP连接建立或释放的相关信息,所述第一无线 空口信令中不包含TCP/IP报头结构;Controlling, by the first wireless air interface signaling, the transceiver interacts with the network device to establish or release related information of the transmission control protocol TCP connection between the first device and the second device, where the first wireless The TCP/IP header structure is not included in the air interface signaling;
根据所述第一设备与第二设备的TCP连接建立的相关信息,建立与所述第二设备的TCP连接;或者根据所述第一设备与第二设备的TCP连接释放的相关信息,释放与所述第二设备的TCP连接;Establishing a TCP connection with the second device according to the related information established by the TCP connection of the first device and the second device; or releasing the related information according to the TCP connection released by the first device and the second device a TCP connection of the second device;
收发机151,用于在处理器152的控制下接收和发送数据。The transceiver 151 is configured to receive and transmit data under the control of the processor 152.
其中,在图15中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器152代表的一个或多个处理器和存储器153代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机151可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元。针对不同的用户设备,用户接口154还可以是能够外接内接需要设备的接口,连接的设备包括但不限于小键盘、显示器、扬声器、麦克风、操纵杆等。Wherein, in FIG. 15, the bus architecture can include any number of interconnected buses and bridges, specifically linked by one or more processors represented by processor 152 and various circuits of memory represented by memory 153. The bus architecture can also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and, therefore, will not be further described herein. The bus interface provides an interface. Transceiver 151 can be a plurality of components, including a transmitter and a receiver, providing means for communicating with various other devices on a transmission medium. For different user equipments, the user interface 154 may also be an interface capable of externally connecting the required devices, including but not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.
处理器152负责管理总线架构和通常的处理,存储器153可以存储处理器152在执行操作时所使用的数据。The processor 152 is responsible for managing the bus architecture and general processing, and the memory 153 can store data used by the processor 152 in performing operations.
本实施例中,所述第一设备与第二设备的TCP连接建立或释放的相关信息具体参见图6至图13所示任一实施例中的相关描述,此处不再赘述。For the information about the establishment or the release of the TCP connection between the first device and the second device, refer to the related description in any embodiment shown in FIG. 6 to FIG. 13 , and details are not described herein again.
本实施例中,所述第一无线空口信令、所述第二无线空口信令、所述第三无线空口信令,具体参见图6至图13所示任一实施例中的相关描述,此处不再赘述。In this embodiment, the first wireless air interface signaling, the second wireless air interface signaling, and the third wireless air interface signaling, refer to related descriptions in any of the embodiments shown in FIG. 6 to FIG. I will not repeat them here.
基于上述任一实施例,处理器152读取存储器153中的程序,还执行下列过程:Based on any of the above embodiments, the processor 152 reads the program in the memory 153 and also performs the following process:
控制所述收发机通过第二无线空口信令,与所述网络设备交互TCP连接建立响应,所述第二无线空口信令中不包含TCP/IP报头结构;或者Controlling, by the second wireless air interface signaling, the transceiver to establish a response with the network device to exchange a TCP connection, where the second wireless air interface signaling does not include a TCP/IP header structure; or
控制所述收发机通过第三无线空口信令,与所述网络设备交互TCP连接释放响应,所述第三无线空口信令中不包含TCP/IP报头结构。And controlling, by the third wireless air interface signaling, the transceiver to perform a TCP connection release response with the network device, where the third wireless air interface signaling does not include a TCP/IP header structure.
基于同一发明构思,本发明实施例十二中,提供了一种网络设备,如图 16所示,所述设备包括:Based on the same inventive concept, in the twelfth embodiment of the present invention, a network device is provided, as shown in the figure. As shown in Figure 16, the device includes:
交互模块161,用于通过第一无线空口信令,与第一设备交互所述第一设备与第二设备的传输控制协议TCP连接建立或释放的相关信息,所述第一无线空口信令中不包含TCP/IP报头结构;The interaction module 161 is configured to exchange, by using the first wireless air interface signaling, information related to the connection or release of the transmission control protocol TCP connection between the first device and the second device, and the first wireless air interface signaling. Does not include the TCP/IP header structure;
管理模块162,用于根据所述第一设备与所述第二设备的TCP连接建立的相关信息,向所述第一设备或所述第二设备发起所述第一设备与所述第二设备的TCP连接建立;或者根据所述第一设备与第二设备的TCP连接释放的相关信息,向所述第一设备或所述第二设备发起所述第一设备与所述第二设备的TCP连接释放。The management module 162 is configured to initiate the first device and the second device to the first device or the second device according to related information about the TCP connection established by the first device and the second device. The TCP connection is established; or the TCP of the first device and the second device is initiated to the first device or the second device according to the related information released by the TCP connection of the first device and the second device The connection is released.
可选的,其特征在于,所述交互模块还用于:Optionally, the interaction module is further configured to:
根据所述第一设备与所述第二设备的TCP连接建立的相关信息,重构TCP/IP报头,并向所述第二设备发送用于请求所述第二设备建立与所述第一设备的TCP连接的第一TCP连接建立信令,所述第一TCP连接建立信令中包含重构的TCP/IP报头;Reconstructing a TCP/IP header according to related information established by the TCP connection of the first device and the second device, and sending, to the second device, a request for the second device to establish the first device The first TCP connection establishment signaling of the TCP connection, where the first TCP connection establishment signaling includes a reconstructed TCP/IP header;
或者or
根据所述第一设备与第二设备的TCP连接释放的相关信息,重构TCP/IP报头,并向所述第二设备发送用于请求所述第二设备释放与所述第一设备的TCP连接的第一TCP连接释放信令,所述第一TCP连接释放信令中包含重构的TCP/IP报头。Reconstructing a TCP/IP header according to related information released by the TCP connection of the first device and the second device, and sending, to the second device, a request for the second device to release the TCP with the first device The connected first TCP connection releases signaling, and the first TCP connection release signaling includes a reconstructed TCP/IP header.
可选的,所述信息交互模块通过第一无线空口信令,与第一设备交互所述第一设备与第二设备的TCP连接建立或释放的相关信息之前,还用于:Optionally, the information interaction module is configured to: before the first device interacts with the first device to establish or release the related information about the TCP connection of the first device and the second device, by using the first wireless air interface signaling,
接收到所述第二设备发送的第二TCP连接建立信令,所述第二TCP连接建立信令中包括所述第一设备与第二设备的TCP连接建立的相关信息,所述第二TCP连接建立信令中包含TCP/IP报头结构;或者Receiving, by the second device, the second TCP connection establishment signaling, where the second TCP connection establishment signaling includes information about establishing a TCP connection between the first device and the second device, where the second TCP is The connection establishment signaling includes a TCP/IP header structure; or
接收到所述第二设备发送的第二TCP连接释放信令,所述第二TCP连接释放信令中包括所述第一设备与第二设备的TCP连接释放的相关信息,所述第二TCP连接释放信令中包含TCP/IP报头结构。 Receiving, by the second device, the second TCP connection release signaling, where the second TCP connection release signaling includes information about the release of the TCP connection of the first device and the second device, the second TCP The connection release signaling includes a TCP/IP header structure.
本实施例中,所述第一设备与第二设备的TCP连接建立或释放的相关信息具体参见图6至图13所示任一实施例中的相关描述,此处不再赘述。For the information about the establishment or the release of the TCP connection between the first device and the second device, refer to the related description in any embodiment shown in FIG. 6 to FIG. 13 , and details are not described herein again.
基于上述任一实施例,所述交互模块还用于:Based on any of the above embodiments, the interaction module is further configured to:
通过第二无线空口信令,与所述第一设备交互TCP连接建立响应;或者Establishing a response by interacting with the first device by using the second wireless air interface signaling; or
通过第三无线空口信令,与所述第一设备交互TCP连接释放响应。The TCP connection release response is exchanged with the first device by the third wireless air interface signaling.
本实施例中,所述第一无线空口信令、所述第二无线空口信令、所述第三无线空口信令具体参见图6至图13所示任一实施例中的相关描述,此处不再赘述。In this embodiment, the first wireless air interface signaling, the second wireless air interface signaling, and the third wireless air interface signaling are specifically referred to the related description in any of the embodiments shown in FIG. 6 to FIG. I won't go into details here.
基于同一发明构思,本发明实施例十三中,提供了另一种网络设备,如图17所示,所述设备包括:收发机171、以及与该收发机171连接的至少一个处理器172,其中:Based on the same inventive concept, in the thirteenth embodiment of the present invention, another network device is provided. As shown in FIG. 17, the device includes: a transceiver 171, and at least one processor 172 connected to the transceiver 171. among them:
处理器172,用于读取存储器173中的程序,执行下列过程:The processor 172 is configured to read a program in the memory 173 and perform the following process:
控制所述收发机通过第一无线空口信令,与第一设备交互所述第一设备与第二设备的传输控制协议TCP连接建立或释放的相关信息,所述第一无线空口信令中不包含TCP/IP报头结构;Controlling, by the first wireless air interface signaling, the transceiver, by using the first wireless air interface signaling, to exchange information related to the establishment or release of the transmission control protocol TCP connection between the first device and the second device by the first device, where the first wireless air interface signaling is not Contains the TCP/IP header structure;
根据所述第一设备与所述第二设备的TCP连接建立的相关信息,向所述第一设备或所述第二设备发起所述第一设备与所述第二设备的TCP连接建立;或者根据所述第一设备与第二设备的TCP连接释放的相关信息,向所述第一设备或所述第二设备发起所述第一设备与所述第二设备的TCP连接释放;Establishing, by the first device or the second device, a TCP connection establishment of the first device and the second device according to the related information about the TCP connection established by the first device and the second device; or Deleting a TCP connection release of the first device and the second device to the first device or the second device according to the information about the TCP connection release of the first device and the second device;
收发机171,用于在处理器172的控制下接收和发送数据。The transceiver 171 is configured to receive and transmit data under the control of the processor 172.
其中,在图17中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器172代表的一个或多个处理器和存储器173代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机171可以是多个元件,即包括发送机和收发机,提供用于在传输介质上与各种其他装置通信的单元。 处理器172负责管理总线架构和通常的处理,存储器173可以存储处理器172在执行操作时所使用的数据。Here, in FIG. 17, the bus architecture may include any number of interconnected buses and bridges, specifically linked by one or more processors represented by processor 172 and various circuits of memory represented by memory 173. The bus architecture can also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and, therefore, will not be further described herein. The bus interface provides an interface. Transceiver 171 can be a plurality of components, including a transmitter and a transceiver, providing means for communicating with various other devices on a transmission medium. The processor 172 is responsible for managing the bus architecture and general processing, and the memory 173 can store data used by the processor 172 in performing operations.
可选的,所述处理器读取存储器中的程序,还执行:Optionally, the processor reads the program in the memory, and further executes:
根据所述第一设备与所述第二设备的TCP连接建立的相关信息,重构TCP/IP报头,并控制所述收发机向所述第二设备发送用于请求所述第二设备建立与所述第一设备的TCP连接的第一TCP连接建立信令,所述第一TCP连接建立信令中包含重构的TCP/IP报头;Reconstructing a TCP/IP header according to related information established by the TCP connection of the first device and the second device, and controlling the transceiver to send the second device to request the second device to establish a first TCP connection establishment signaling of the TCP connection of the first device, where the first TCP connection establishment signaling includes a reconstructed TCP/IP header;
或者or
根据所述第一设备与第二设备的TCP连接释放的相关信息,重构TCP/IP报头,并控制所述收发机向所述第二设备发送用于请求所述第二设备释放与所述第一设备的TCP连接的第一TCP连接释放信令,所述第一TCP连接释放信令中包含重构的TCP/IP报头。Reconstructing a TCP/IP header according to related information released by the TCP connection of the first device and the second device, and controlling the transceiver to send the second device to request the second device to release the The first TCP connection of the TCP connection of the first device releases signaling, and the first TCP connection release signaling includes a reconstructed TCP/IP header.
可选的,所述收发机通过第一无线空口信令,与第一设备交互所述第一设备与第二设备的TCP连接建立或释放的相关信息之前,还执行:Optionally, the transceiver performs, by using the first wireless air interface signaling, before the first device interacts with the information about establishing or releasing the TCP connection between the first device and the second device,
接收到所述第二设备发送的第二TCP连接建立信令,所述第二TCP连接建立信令中包括所述第一设备与第二设备的TCP连接建立的相关信息,所述第二TCP连接建立信令中包含TCP/IP报头结构;或者Receiving, by the second device, the second TCP connection establishment signaling, where the second TCP connection establishment signaling includes information about establishing a TCP connection between the first device and the second device, where the second TCP is The connection establishment signaling includes a TCP/IP header structure; or
接收到所述第二设备发送的第二TCP连接释放信令,所述第二TCP连接释放信令中包括所述第一设备与第二设备的TCP连接释放的相关信息,所述第二TCP连接释放信令中包含TCP/IP报头结构。Receiving, by the second device, the second TCP connection release signaling, where the second TCP connection release signaling includes information about the release of the TCP connection of the first device and the second device, the second TCP The connection release signaling includes a TCP/IP header structure.
本实施例中,所述第一设备与第二设备的TCP连接建立或释放的相关信息具体参见图6至图13所示任一实施例中的相关描述,此处不再赘述。For the information about the establishment or the release of the TCP connection between the first device and the second device, refer to the related description in any embodiment shown in FIG. 6 to FIG. 13 , and details are not described herein again.
基于上述任一实施例,所述处理器读取存储器中的程序,还执行:Based on any of the above embodiments, the processor reads the program in the memory and further performs:
控制所述收发机通过第二无线空口信令,与所述第一设备交互TCP连接建立响应;或者Controlling, by the second wireless air interface signaling, the transceiver to establish a response by interacting with the first device by using a TCP connection; or
控制所述收发机通过第三无线空口信令,与所述第一设备交互TCP连接释放响应。 And controlling the transceiver to release a response by interacting with the first device by using a third wireless air interface signaling.
本实施例中,所述第一无线空口信令、所述第二无线空口信令、所述第三无线空口信令具体参见图6至图13所示任一实施例中的相关描述,此处不再赘述。In this embodiment, the first wireless air interface signaling, the second wireless air interface signaling, and the third wireless air interface signaling are specifically referred to the related description in any of the embodiments shown in FIG. 6 to FIG. I won't go into details here.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权 利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While the preferred embodiment of the invention has been described, it will be understood that Therefore, the right to attach All changes and modifications are intended to be included within the scope of the invention.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。 It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention

Claims (28)

  1. 一种信令传输方法,其特征在于,所述方法包括:A signaling transmission method, the method comprising:
    第一设备通过第一无线空口信令,与网络设备交互所述第一设备与第二设备的传输控制协议TCP连接建立或释放的相关信息,所述第一无线空口信令中不包含TCP/IP报头结构;The first device exchanges, by using the first wireless air interface signaling, information related to the establishment or release of the TCP connection of the first device and the second device with the network device, where the first wireless air interface signaling does not include TCP/ IP header structure;
    所述第一设备根据所述第一设备与第二设备的TCP连接建立的相关信息,建立与所述第二设备的TCP连接;或者所述第一设备根据所述第一设备与第二设备的TCP连接释放的相关信息,释放与所述第二设备的TCP连接。The first device establishes a TCP connection with the second device according to related information established by the TCP connection of the first device and the second device; or the first device is configured according to the first device and the second device The TCP connection releases relevant information, releasing the TCP connection with the second device.
  2. 如权利要求1所述的方法,其特征在于,所述第一设备与第二设备的TCP连接建立的相关信息包括:用于指示网络设备代理所述第一设备与第二设备的TCP连接的指示信息;或者The method of claim 1, wherein the information about the TCP connection established by the first device and the second device comprises: indicating that the network device is proxying the TCP connection of the first device and the second device Instructions; or
    所述第一设备与第二设备的TCP连接释放的相关信息包括:用于指示网络设备代理所述第一设备与第二设备的TCP释放的指示信息。The related information about the TCP connection release of the first device and the second device includes: indication information for instructing the network device to proxy TCP release of the first device and the second device.
  3. 如权利要求1或2所述的方法,其特征在于,所述第一设备与第二设备的TCP连接建立的相关信息包括:所述第一设备的TCP初始序号或者所述第二设备的TCP初始序号。The method according to claim 1 or 2, wherein the information about the TCP connection established by the first device and the second device comprises: a TCP initial sequence number of the first device or a TCP of the second device Initial serial number.
  4. 如权利要求1所述的方法,其特征在于,所述第一无线空口信令为标准或协议中已定义的无线资源控制RRC信令、非接入层NAS信令、或者MAC层信令。The method according to claim 1, wherein the first wireless air interface signaling is radio resource control RRC signaling, non-access stratum NAS signaling, or MAC layer signaling defined in a standard or protocol.
  5. 如权利要求1~4任一项所述的方法,其特征在于,所述方法包括:The method according to any one of claims 1 to 4, wherein the method comprises:
    所述第一设备通过第二无线空口信令,与所述网络设备交互TCP连接建立响应,所述第二无线空口信令中不包含TCP/IP报头结构;或者The first device establishes a response by interacting with the network device by using the second wireless air interface signaling, where the second wireless air interface signaling does not include a TCP/IP header structure; or
    所述第一设备通过第三无线空口信令,与所述网络设备交互TCP连接释放响应,所述第三无线空口信令中不包含TCP/IP报头结构。The first device exchanges a TCP connection with the network device by using the third wireless air interface signaling, and the third wireless air interface signaling does not include a TCP/IP header structure.
  6. 如权利要求5所述的方法,其特征在于,所述第二无线空口信令中还包括:所述第一设备的TCP初始序号、或者所述第二设备的TCP初始序号。 The method according to claim 5, wherein the second wireless air interface signaling further comprises: a TCP initial sequence number of the first device, or a TCP initial sequence number of the second device.
  7. 如权利要求5所述的方法,其特征在于,所述第二无线空口信令为标准或协议中已定义的RRC信令、NAS信令、或者MAC层信令;The method according to claim 5, wherein the second wireless air interface signaling is RRC signaling, NAS signaling, or MAC layer signaling defined in a standard or protocol;
    所述第三无线空口信令为标准或协议中已定义的RRC信令、NAS信令、或者MAC层信令。The third wireless air interface signaling is RRC signaling, NAS signaling, or MAC layer signaling defined in a standard or protocol.
  8. 一种信令传输方法,其特征在于,所述方法包括:A signaling transmission method, the method comprising:
    网络设备通过第一无线空口信令,与第一设备交互所述第一设备与第二设备的传输控制协议TCP连接建立或释放的相关信息,所述第一无线空口信令中不包含TCP/IP报头结构;The network device interacts with the first device by using the first wireless air interface signaling to establish or release information related to the TCP connection of the first device and the second device, where the first wireless air interface signaling does not include TCP/ IP header structure;
    所述网络设备根据所述第一设备与所述第二设备的TCP连接建立的相关信息,向所述第一设备或所述第二设备发起所述第一设备与所述第二设备的TCP连接建立;或者所述网络设备根据所述第一设备与第二设备的TCP连接释放的相关信息,向所述第一设备或所述第二设备发起所述第一设备与所述第二设备的TCP连接释放。The network device initiates TCP of the first device and the second device to the first device or the second device according to related information established by the TCP connection of the first device and the second device Establishing the connection; or the network device initiating the first device and the second device according to the related information released by the TCP connection of the first device and the second device to the first device or the second device The TCP connection is released.
  9. 如权利要求8所述的方法,其特征在于,所述网络设备通过第一无线空口信令,与第一设备交互所述第一设备与第二设备的TCP连接建立或释放的相关信息之后,所述方法还包括:The method according to claim 8, wherein the network device interacts with the first device by using the first wireless air interface signaling, after the first device interacts with the TCP connection of the first device and the second device. The method further includes:
    所述网络设备根据所述第一设备与所述第二设备的TCP连接建立的相关信息,重构TCP/IP报头,并向所述第二设备发送用于请求所述第二设备建立与所述第一设备的TCP连接的第一TCP连接建立信令,所述第一TCP连接建立信令中包含重构的TCP/IP报头;The network device reconstructs a TCP/IP header according to related information established by the TCP connection of the first device and the second device, and sends the second device to request the second device to establish and a first TCP connection establishment signaling of a TCP connection of the first device, where the first TCP connection establishment signaling includes a reconstructed TCP/IP header;
    或者or
    所述网络设备根据所述第一设备与所述第二设备的TCP连接释放的相关信息,向所述第二设备发起所述第一设备与所述第二设备的TCP连接释放,包括:所述网络设备根据所述第一设备与第二设备的TCP连接释放的相关信息,重构TCP/IP报头,并向所述第二设备发送用于请求所述第二设备释放与所述第一设备的TCP连接的第一TCP连接释放信令,所述第一TCP连接释放信令中包含重构的TCP/IP报头。 The network device initiates, according to the information about the release of the TCP connection of the first device and the second device, the TCP connection release of the first device and the second device to the second device, including: Determining, by the network device, the TCP/IP header according to the related information released by the TCP connection of the first device and the second device, and sending the second device to request the second device to release the first The first TCP connection of the TCP connection of the device releases signaling, and the first TCP connection release signaling includes a reconstructed TCP/IP header.
  10. 如权利要求8或9所述的方法,其特征在于,所述第一设备与第二设备的TCP连接建立或释放的相关信息包括:用于指示网络设备代理所述第一设备与第二设备的TCP连接或释放的指示信息。The method according to claim 8 or 9, wherein the information about the establishment or release of the TCP connection between the first device and the second device comprises: indicating that the network device is proxying the first device and the second device Instructions for TCP connection or release.
  11. 如权利要求8或9所述的方法,其特征在于,所述第一设备与第二设备的TCP连接建立的相关信息包括:所述第一设备的TCP初始序号、或者所述第二设备的TCP初始序号。The method according to claim 8 or 9, wherein the information about the TCP connection established by the first device and the second device comprises: a TCP initial sequence number of the first device, or a second device TCP initial sequence number.
  12. 如权利要求9所述的方法,其特征在于,所述方法还包括:The method of claim 9 wherein the method further comprises:
    所述网络设备通过第二无线空口信令,与所述第一设备交互TCP连接建立响应;或者The network device establishes a response by interacting with the first device by using a second wireless air interface signaling; or
    所述网络设备通过第三无线空口信令,与所述第一设备交互TCP连接释放响应。The network device releases a response by interacting with the first device by using a third wireless air interface signaling.
  13. 如权利要求12所述的方法,其特征在于,所述第二无线空口信令中还包括:所述第一设备的TCP初始序号、或者所述第二设备的TCP初始序号。The method according to claim 12, wherein the second wireless air interface signaling further comprises: a TCP initial sequence number of the first device, or a TCP initial sequence number of the second device.
  14. 如权利要求12所述的方法,其特征在于,所述第一无线空口信令为标准或协议中已定义的无线资源控制RRC信令、非接入层NAS信令、或者MAC层信令;和/或The method according to claim 12, wherein the first wireless air interface signaling is defined as radio resource control RRC signaling, non-access stratum NAS signaling, or MAC layer signaling defined in a standard or protocol; and / or
    所述第二无线空口信令为标准或协议中已定义的RRC信令、NAS信令、或者MAC层信令;和/或The second wireless air interface signaling is RRC signaling, NAS signaling, or MAC layer signaling defined in a standard or protocol; and/or
    所述第三无线空口信令为标准或协议中已定义的RRC信令、NAS信令、或者MAC层信令。The third wireless air interface signaling is RRC signaling, NAS signaling, or MAC layer signaling defined in a standard or protocol.
  15. 一种终端设备,其特征在于,所述设备包括:A terminal device, the device comprising:
    信息交互模块,用于通过第一无线空口信令,与网络设备交互所述第一设备与第二设备的传输控制协议TCP连接建立或释放的相关信息,所述第一无线空口信令中不包含TCP/IP报头结构;An information interaction module, configured to exchange, by using the first wireless air interface signaling, information related to the establishment or release of the TCP connection of the first device and the second device with the network device, where the first wireless air interface signaling is not Contains the TCP/IP header structure;
    处理模块,用于根据所述第一设备与第二设备的TCP连接建立的相关信息,建立与所述第二设备的TCP连接;或者根据所述第一设备与第二设备的TCP连接释放的相关信息,释放与所述第二设备的TCP连接。 a processing module, configured to establish a TCP connection with the second device according to the related information about the TCP connection established by the first device and the second device; or release the TCP connection according to the first device and the second device Related information, releasing a TCP connection with the second device.
  16. 如权利要求15所述的设备,其特征在于,所述第一设备与第二设备的TCP连接建立的相关信息包括:用于指示网络设备代理所述第一设备与第二设备的TCP连接的指示信息;或者The device according to claim 15, wherein the information about the TCP connection established by the first device and the second device comprises: indicating that the network device is proxying the TCP connection of the first device and the second device Instructions; or
    所述第一设备与第二设备的TCP连接释放的相关信息包括:用于指示网络设备代理所述第一设备与第二设备的TCP释放的指示信息。The related information about the TCP connection release of the first device and the second device includes: indication information for instructing the network device to proxy TCP release of the first device and the second device.
  17. 如权利要求15或16所述的设备,其特征在于,所述第一设备与第二设备的TCP连接建立的相关信息包括:所述第一设备的TCP初始序号、或者所述第二设备的TCP初始序号。The device according to claim 15 or 16, wherein the information about the TCP connection established by the first device and the second device comprises: a TCP initial sequence number of the first device, or a second device TCP initial sequence number.
  18. 如权利要求15所述的设备,其特征在于,所述第一无线空口信令为标准或协议中已定义的无线资源控制RRC信令、非接入层NAS信令、或者MAC层信令。The device according to claim 15, wherein the first wireless air interface signaling is radio resource control RRC signaling, non-access stratum NAS signaling, or MAC layer signaling defined in a standard or protocol.
  19. 如权利要求15或16所述的设备,其特征在于,所述信息交互模块还用于:The device according to claim 15 or 16, wherein the information interaction module is further configured to:
    通过第二无线空口信令,与所述网络设备交互TCP连接建立响应,所述第二无线空口信令中不包含TCP/IP报头结构;或者Establishing, by the second wireless air interface signaling, a TCP connection establishment response with the network device, where the second wireless air interface signaling does not include a TCP/IP header structure; or
    通过第三无线空口信令,与所述网络设备交互TCP连接释放响应,所述第三无线空口信令中不包含TCP/IP报头结构。And transmitting, by the third wireless air interface signaling, a TCP connection release response with the network device, where the third wireless air interface signaling does not include a TCP/IP header structure.
  20. 如权利要求19所述的设备,其特征在于,所述第二无线空口信令中还包括:所述第一设备的TCP初始序号、或者所述第二设备的TCP初始序号。The device according to claim 19, wherein the second wireless air interface signaling further comprises: a TCP initial sequence number of the first device or a TCP initial sequence number of the second device.
  21. 如权利要求19所述的设备,其特征在于,所述第二无线空口信令为标准或协议中已定义的RRC信令、NAS信令、或者MAC层信令;The device according to claim 19, wherein the second wireless air interface signaling is RRC signaling, NAS signaling, or MAC layer signaling defined in a standard or protocol;
    所述第三无线空口信令为标准或协议中已定义的RRC信令、NAS信令、或者MAC层信令。The third wireless air interface signaling is RRC signaling, NAS signaling, or MAC layer signaling defined in a standard or protocol.
  22. 一种网络设备,其特征在于,所述设备包括:A network device, the device comprising:
    交互模块,用于通过第一无线空口信令,与第一设备交互所述第一设备与第二设备的传输控制协议TCP连接建立或释放的相关信息,所述第一无线空口信令中不包含TCP/IP报头结构; An interaction module, configured to exchange, by using the first wireless air interface signaling, information related to the establishment or release of the TCP connection of the first device and the second device by the first device, where the first wireless air interface signaling is not Contains the TCP/IP header structure;
    管理模块,用于根据所述第一设备与所述第二设备的TCP连接建立的相关信息,向所述第一设备或所述第二设备发起所述第一设备与所述第二设备的TCP连接建立;或者根据所述第一设备与第二设备的TCP连接释放的相关信息,向所述第一设备或所述第二设备发起所述第一设备与所述第二设备的TCP连接释放。a management module, configured to initiate, according to the related information established by the TCP connection of the first device and the second device, the first device and the second device to the first device or the second device Establishing a TCP connection; or initiating a TCP connection between the first device and the second device to the first device or the second device according to related information released by the TCP connection of the first device and the second device freed.
  23. 如权利要求22所述的设备,其特征在于,所述交互模块还用于:The device of claim 22, wherein the interaction module is further configured to:
    根据所述第一设备与所述第二设备的TCP连接建立的相关信息,重构TCP/IP报头,并向所述第二设备发送用于请求所述第二设备建立与所述第一设备的TCP连接的第一TCP连接建立信令,所述第一TCP连接建立信令中包含重构的TCP/IP报头;Reconstructing a TCP/IP header according to related information established by the TCP connection of the first device and the second device, and sending, to the second device, a request for the second device to establish the first device The first TCP connection establishment signaling of the TCP connection, where the first TCP connection establishment signaling includes a reconstructed TCP/IP header;
    或者or
    根据所述第一设备与第二设备的TCP连接释放的相关信息,重构TCP/IP报头,并向所述第二设备发送用于请求所述第二设备释放与所述第一设备的TCP连接的第一TCP连接释放信令,所述第一TCP连接释放信令中包含重构的TCP/IP报头。Reconstructing a TCP/IP header according to related information released by the TCP connection of the first device and the second device, and sending, to the second device, a request for the second device to release the TCP with the first device The connected first TCP connection releases signaling, and the first TCP connection release signaling includes a reconstructed TCP/IP header.
  24. 如权利要求22或23所述的设备,其特征在于,所述第一设备与第二设备的TCP连接建立或释放的相关信息包括:用于指示网络设备代理所述第一设备与第二设备的TCP连接或释放的指示信息。The device according to claim 22 or 23, wherein the information about the establishment or release of the TCP connection between the first device and the second device comprises: indicating that the network device is proxying the first device and the second device Instructions for TCP connection or release.
  25. 如权利要求22或23所述的设备,其特征在于,所述第一设备与第二设备的TCP连接建立的相关信息包括:所述第一设备的TCP初始序号、或者所述第二设备的TCP初始序号。The device according to claim 22 or 23, wherein the information about the TCP connection established by the first device and the second device comprises: a TCP initial sequence number of the first device, or a second device TCP initial sequence number.
  26. 如权利要求23所述的设备,其特征在于,所述交互模块还用于:The device of claim 23, wherein the interaction module is further configured to:
    通过第二无线空口信令,与所述第一设备交互TCP连接建立响应;或者Establishing a response by interacting with the first device by using the second wireless air interface signaling; or
    通过第三无线空口信令,与所述第一设备交互TCP连接释放响应。The TCP connection release response is exchanged with the first device by the third wireless air interface signaling.
  27. 如权利要求26所述的设备,其特征在于,所述第二无线空口信令中还包括:所述第二设备的TCP初始序号。The device according to claim 26, wherein the second wireless air interface signaling further comprises: a TCP initial sequence number of the second device.
  28. 如权利要求26所述的设备,其特征在于,所述第一无线空口信令为 标准或协议中已定义的无线资源控制RRC信令、非接入层NAS信令、或者MAC层信令;和/或The device according to claim 26, wherein said first wireless air interface signaling is Radio resource control RRC signaling, non-access stratum NAS signaling, or MAC layer signaling defined in the standard or protocol; and/or
    所述第二无线空口信令为标准或协议中已定义的RRC信令、NAS信令、或者MAC层信令;和/或The second wireless air interface signaling is RRC signaling, NAS signaling, or MAC layer signaling defined in a standard or protocol; and/or
    所述第三无线空口信令为标准或协议中已定义的RRC信令、NAS信令、或者MAC层信令。 The third wireless air interface signaling is RRC signaling, NAS signaling, or MAC layer signaling defined in a standard or protocol.
PCT/CN2016/080802 2016-04-29 2016-04-29 Signalling transmission method and device WO2017185368A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201680084421.4A CN108886705A (en) 2016-04-29 2016-04-29 A kind of signal transmission method and equipment
PCT/CN2016/080802 WO2017185368A1 (en) 2016-04-29 2016-04-29 Signalling transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/080802 WO2017185368A1 (en) 2016-04-29 2016-04-29 Signalling transmission method and device

Publications (1)

Publication Number Publication Date
WO2017185368A1 true WO2017185368A1 (en) 2017-11-02

Family

ID=60161714

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/080802 WO2017185368A1 (en) 2016-04-29 2016-04-29 Signalling transmission method and device

Country Status (2)

Country Link
CN (1) CN108886705A (en)
WO (1) WO2017185368A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112104763A (en) * 2020-09-17 2020-12-18 宏图智能物流股份有限公司 Method for realizing butt joint of different network platforms in warehouse

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115941762A (en) * 2021-09-03 2023-04-07 华为技术有限公司 Data transmission method, electronic equipment and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1641193A1 (en) * 1999-05-25 2006-03-29 Lucent Technologies Inc. Method for telecommunications using internet protocol
US20070291788A1 (en) * 2006-06-15 2007-12-20 Interdigital Technology Corporation Method and apparatus for reducing transmission overhead
CN101094162A (en) * 2006-06-21 2007-12-26 华为技术有限公司 Method for transferring media stream by using mode of removing out head part
CN101309233A (en) * 2008-06-04 2008-11-19 腾讯科技(深圳)有限公司 Method realizing TCP connection reusing in instant communication
CN102056235A (en) * 2009-11-09 2011-05-11 华为技术有限公司 Data transmission method, equipment and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030235206A1 (en) * 2001-02-15 2003-12-25 Tantivy Communications, Inc. Dual proxy approach to TCP performance improvements over a wireless interface
CN102355462B (en) * 2011-10-09 2015-05-20 大唐移动通信设备有限公司 Method and device for realizing TCP (Transmission Control Protocol) transmission
CN104618961A (en) * 2015-01-21 2015-05-13 普天信息技术有限公司 Single-channel TCP/ IP header compression method and system for intelligent power grid
CN104618007B (en) * 2015-03-12 2017-12-26 北京邮电大学 A kind of synchronous satellite Transmission Control Protocol segmentation connection optimization method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1641193A1 (en) * 1999-05-25 2006-03-29 Lucent Technologies Inc. Method for telecommunications using internet protocol
US20070291788A1 (en) * 2006-06-15 2007-12-20 Interdigital Technology Corporation Method and apparatus for reducing transmission overhead
CN101094162A (en) * 2006-06-21 2007-12-26 华为技术有限公司 Method for transferring media stream by using mode of removing out head part
CN101309233A (en) * 2008-06-04 2008-11-19 腾讯科技(深圳)有限公司 Method realizing TCP connection reusing in instant communication
CN102056235A (en) * 2009-11-09 2011-05-11 华为技术有限公司 Data transmission method, equipment and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112104763A (en) * 2020-09-17 2020-12-18 宏图智能物流股份有限公司 Method for realizing butt joint of different network platforms in warehouse

Also Published As

Publication number Publication date
CN108886705A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN110199568B (en) Connection recovery method, access and mobility management functional entity and user equipment
CN112514528B (en) User plane optimization for 5G cellular Internet of things
EP3621360B1 (en) System information transmission method and related device
JP2017508364A (en) Communication method executed by secondary base station and master base station, and corresponding base station
US11419027B2 (en) User plane link establishment method, base station, and mobility management device
JP6806411B2 (en) Systems and methods for maintaining synchronization in connectionless transmission
CN109429366B (en) PDU session processing method and device
WO2013166670A1 (en) Method and device for configuring resources of uplink channel
JP7206390B2 (en) Data transmission methods and devices
WO2016011849A1 (en) Method, device and system for controlling air interface resources
TW201918057A (en) Device and method of handling a protocol data unit session and a network slice
JP2017526296A (en) Data transmission method and base station
WO2017008701A1 (en) Data transmission method, apparatus, and user device
CN113038590B (en) Time synchronization method, electronic device, and storage medium
EP3681182A1 (en) Method, apparatus and device for determining state of terminal device
WO2018170747A1 (en) Communication method and apparatus
TW201826822A (en) Method for rlc layer status report control pdu transmission and related apparatus
EP3064030B1 (en) Systems, methods and devices for modifying relay operation of a wireless device
WO2018010127A1 (en) Wireless communication method, device, access network entity and terminal device
WO2019137169A1 (en) Data transmission method, apparatus and device, and computer-readable storage medium
WO2017185368A1 (en) Signalling transmission method and device
KR102104844B1 (en) Data transmission method, first device and second device
CN107770847B (en) Network access method, access equipment and terminal equipment
CN111866969B (en) Data processing method, communication device and system
TW201929571A (en) Network redirection method and terminal, access network device, mobile management device

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16899879

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16899879

Country of ref document: EP

Kind code of ref document: A1