CN111200557A - Connection establishing method and terminal equipment - Google Patents

Connection establishing method and terminal equipment Download PDF

Info

Publication number
CN111200557A
CN111200557A CN201911155555.2A CN201911155555A CN111200557A CN 111200557 A CN111200557 A CN 111200557A CN 201911155555 A CN201911155555 A CN 201911155555A CN 111200557 A CN111200557 A CN 111200557A
Authority
CN
China
Prior art keywords
mptcp
application server
connection
terminal equipment
tcp connection
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201911155555.2A
Other languages
Chinese (zh)
Other versions
CN111200557B (en
Inventor
王皓
李小金
祁建锋
姚松平
郭兴民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201911155555.2A priority Critical patent/CN111200557B/en
Publication of CN111200557A publication Critical patent/CN111200557A/en
Priority to PCT/CN2020/127107 priority patent/WO2021098533A1/en
Application granted granted Critical
Publication of CN111200557B publication Critical patent/CN111200557B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/14Multichannel or multilink protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/163In-band adaptation of TCP data exchange; In-band control procedures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • H04W76/16Involving different core network technologies, e.g. a packet-switched [PS] bearer in combination with a circuit-switched [CS] bearer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/06Transport layer protocols, e.g. TCP [Transport Control Protocol] over wireless

Abstract

The application relates to the technical field of communication, and discloses a connection establishing method and terminal equipment, which are used for solving the problem that the terminal equipment is difficult to adaptively select an MPTCP deployment mode and establish MPTCP connection with an application server under the conditions of different application programs, different regions and different network operators. The method comprises the following steps: when an operating application program initiates data transmission to an application server, terminal equipment tries to establish an MPTCP connection with the application server in sequence from high to low according to the priority of multiple deployment modes of MPTCP until the MPTCP connection with the application server is successfully established; and the terminal equipment performs data transmission with the application server based on the MPTCP connection established with the application server.

Description

Connection establishing method and terminal equipment
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a connection establishing method and terminal equipment.
Background
The Multi Path Transmission Control Protocol (MPTCP) is an extended protocol of the TCP, and the MPTCP can improve the utilization rate of resources by parallel transmission of multiple TCP connections. For example: when a user watches videos, the mobile phone transmits data streams simultaneously through the TCP connections respectively corresponding to the WiFi network and the cellular network, so that the advantages of larger aggregate bandwidth, higher download rate, less pause and smoother playing can be provided.
At present, MPTCP needs to be supported by both the terminal device side and the application server side, and if one side does not support, the TCP protocol is rolled back. Referring to fig. 1A and 1B, currently, according to a support mode of an application server side, MPTCP includes deployment modes such as end cloud direct, end pipe cooperation, and end cloud cooperation. The end cloud cooperation is most easily realized, a proxy server supporting an MPTCP protocol needs to be newly established on the application server side, and multi-path transmission between the terminal equipment and the application server is realized through the proxy server; with the cooperation of end management, along with the construction of core network gateways such as a User Datagram Protocol (UDP) server/converged access gateway (HAG) of 5G, the method is easy to popularize, and multi-path transmission between the terminal equipment and the application server is realized through the UDP server and the like; the method has the advantages that the end cloud is direct, the application server is purely transformed, the popularization difficulty is the greatest, the application server is required to support the MPTCP protocol, and the multi-path transmission between the application server and the terminal equipment is directly supported by the application server.
However, in the case of different applications, different regions, and different network operators, the deployment manners of MPTCP adopted all have differences, and it is impossible for any application server, UDP server, or proxy server to implement that all regions and all network operators have the aggregation capability of MPTCP in a short period, and multiple deployment manners of MPTCP coexist for a long time. For any terminal device, the problem of continuous switching among multiple deployment modes of the MPTCP according to factors such as different application programs, regions, network operators and the like is faced, and difficulty is brought to the deployment and popularization of the MPTCP in the whole network.
Disclosure of Invention
The embodiment of the application provides a connection establishing method and terminal equipment, and is used for solving the problem that the terminal equipment is difficult to select a corresponding MPTCP deployment mode and establish MPTCP connection with an application service under the conditions of different application programs, different regions and different network operators.
In a first aspect, an embodiment of the present application provides a connection establishment method, where the method is applied to a terminal device, and the method includes: when an operating application program initiates data transmission to an application server, terminal equipment sequentially tries to establish an MPTCP connection with the application server according to the sequence of priorities from high to low of multiple deployment modes of a multi-path transmission control protocol MPTCP until the MPTCP connection with the application server is successfully established; and the terminal equipment performs data transmission with the application server based on the MPTCP connection established with the application server.
In the embodiment of the present application, the connection establishment method implemented by the terminal device may also be implemented by a component in the terminal device, such as a processing chip, a circuit, and the like in the terminal device. By adopting the method, the terminal equipment sequentially tries to establish the MPTCP connection with the application server according to the sequence of the priorities of the MPTCP in the descending order, automatically searches the MPTCP supporting capability of the network, quickly finds the MPTCP connection mode supported by the network, can adapt to different application programs, different regions and different network operators, adopts different MPTCP deployment modes, and can effectively support the deployment and popularization of the MPTCP.
In one possible design, the MPTCP connection may include, but is not limited to, a first TCP connection corresponding to a cellular network and a second TCP connection corresponding to a WiFi network. In the above design, the MPTCP connection includes, but is not limited to, the above two examples, and of course, may include a plurality of other TCP connections.
In one possible design, the multiple deployments of MPTCP include at least two of the following deployments: end cloud direct, end pipe cooperation or end cloud cooperation. In the above design, the multiple deployment manners of MPTCP are not limited to the above three examples, and the deployment manner of MPTCP according to which the terminal device performs MPTCP connection may be configured according to requirements, so as to adapt to different communication scenarios or communication requirements.
In one possible design, when the multiple deployment modes of the MPTCP are end cloud direct, end pipe cooperation and end cloud cooperation, the multiple deployment modes of the MPTCP are the end cloud direct, the end pipe cooperation and the end cloud cooperation in sequence from high to low according to the priority. In the design, from the perspective of user experience, the priorities of multiple deployment modes of the MPTCP are set according to the experience degree from high to low, and the improvement of the user experience is facilitated.
In one possible design, the terminal device attempts to establish an MPTCP connection with the application server based on an end-cloud-direct method, including: the terminal equipment initiates an MPTCP handshake of a first TCP connection to the application server; when the terminal equipment fails to conduct MPTCP handshake of a first TCP connection with the application server, the terminal equipment determines that the MPTCP connection with the application server fails to be established according to an end cloud direct mode; when the terminal equipment and the application server successfully perform the MPTCP handshake of the first TCP connection, the terminal equipment initiates the MPTCP handshake of the second TCP connection to the application server; when the terminal equipment and the application server successfully perform MPTCP handshake of the second TCP connection, the terminal equipment determines that the MPTCP connection with the application server is successfully established according to an end cloud direct mode; when the terminal equipment fails to conduct MPTCP handshake of the second TCP connection with the application server, the terminal equipment determines that the MPTCP connection with the application server fails to be established according to a terminal cloud direct mode; the successful MPTCP handshake of the TCP connection between the terminal equipment and the application server comprises that the terminal equipment receives response information which is sent by the application server and supports MPTCP in the MPTCP handshake process. In the design, a mode of trying to establish an MPTCP connection with the application server according to an end cloud direct mode is provided, which is beneficial to quickly establishing the MPTCP connection between the terminal device and the application server.
In one possible design, the attempting, by the terminal device, to establish an MPTCP connection with the application server based on a peer-to-peer coordination manner includes: the terminal equipment establishes a first TCP connection with the server; the terminal device takes the address of a network element (such as a UPF server, a HAG and the like) supporting multi-path aggregation in a core network corresponding to the first TCP connection as a network proxy address of the application server, and initiates a second TCP connection to the application server; when the terminal equipment and the application server establish a second TCP connection successfully, the terminal equipment determines that the terminal equipment and the application server establish an MPTCP connection successfully according to a terminal management cooperative mode; and when the terminal equipment fails to establish the second TCP connection with the application server, the terminal equipment determines that the MPTCP connection with the application server fails to be established according to a terminal management cooperative mode. In the above design, a way of attempting to establish MPTCP connection with the application server in a peer-to-peer coordination manner is provided, which is beneficial to establishing MPTCP connection between the terminal device and the application server.
In one possible design, the attempting, by the terminal device, to establish an MPTCP connection with the application server based on an end cloud coordination manner includes: the terminal device takes the address of a proxy server as the network proxy address of the application server, and initiates a first TCP connection and a second TCP connection to the application server; when the terminal equipment and the application server establish a first TCP connection and a second TCP connection successfully, the terminal equipment determines that the terminal equipment and the application server establish an MPTCP connection successfully according to an end cloud coordination mode; when the terminal equipment fails to establish the first TCP connection and/or the second TCP connection with the application server, the terminal equipment determines that the MPTCP connection with the application server fails to be established according to an end cloud cooperation mode. In the design, a mode of trying to establish MPTCP connection with the application server according to the end cloud coordination mode is provided, which is beneficial to establishing the MPTCP connection between the terminal device and the application server.
In one possible design, the method may further include: when the terminal equipment sequentially tries to establish the MPTCP connection with the application server unsuccessfully according to the sequence of the priorities of the MPTCP from high to low, namely the terminal equipment fails to establish the MPTCP connection with the application server according to the MPTCP deployment mode with the lowest priority, the terminal equipment establishes the TCP connection with the application server; and the terminal equipment performs data transmission with the application server based on the TCP connection. In the design, when the terminal device does not establish the MPTCP connection with the application server in any of the multiple deployment modes based on the MPTCP, the terminal device rolls back to the TCP protocol to establish the TCP connection with the application server, which is beneficial to ensuring the reliability of data transmission.
In a second aspect, an embodiment of the present application provides a terminal device, which includes a processor and a memory. Wherein the memory is used to store one or more computer programs; the one or more computer programs stored in the memory, when executed by the processor, enable the terminal device to implement any of the possible design methods of any of the aspects described above.
In a third aspect, the present application further provides an apparatus including a module/unit for performing the method of any one of the possible designs of any one of the above aspects. These modules/units may be implemented by hardware, or by hardware executing corresponding software.
In a fourth aspect, this embodiment further provides a computer-readable storage medium, where the computer-readable storage medium includes a computer program, and when the computer program runs on a terminal device, the computer program enables the terminal device to perform any one of the possible design methods of any one of the aspects.
In a fifth aspect, the present application further provides a computer program product, which when running on a terminal, enables the terminal device to execute any one of the possible design methods of any one of the above aspects.
In a sixth aspect, an embodiment of the present application further provides a chip, where the chip is coupled to a memory, and is configured to read and execute program instructions stored in the memory, so as to implement the method in the first aspect or any possible design of the first aspect.
For the technical effects achieved by the second aspect to the sixth aspect, please refer to the technical effects achieved by any one of the possible designs of the first aspect, and detailed descriptions thereof are omitted.
Drawings
Fig. 1A is a schematic diagram of an MPTCP deployment manner provided in the present application;
fig. 1B is a schematic diagram illustrating popularization difficulty, cost, and experience of an MPTCP deployment method provided in the present application;
fig. 2 is a system architecture of an MPTCP application according to an embodiment of the present application;
fig. 3 is a diagram of a data transmission system architecture for multiple network deployments according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of an extension of a TCP protocol stack to an MPTCP protocol stack according to an embodiment of the present application;
fig. 5 is a schematic diagram of an MPTCP implementation process provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 7 is a schematic diagram of a connection establishment procedure according to an embodiment of the present application;
fig. 8 is a schematic diagram illustrating establishment of an end-cloud-direct MPTCP connection according to an embodiment of the present application;
fig. 9 is a schematic diagram illustrating establishment of an end pipe cooperating with an MPTCP connection according to an embodiment of the present application;
fig. 10 is a schematic diagram illustrating establishment of an end cloud cooperating with MPTCP connection according to an embodiment of the present application;
fig. 11 is a schematic block diagram of a connection establishment apparatus according to an embodiment of the present application;
fig. 12 is a schematic diagram of another connection establishment apparatus according to an embodiment of the present application.
Detailed Description
Specific implementation procedures of the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
The connection establishing method provided by the embodiment of the application can be applied to data transmission of a communication system, wherein a data receiving end and a data sending end can perform data interaction through a Radio Access Network (RAN) and a core network, the data receiving end and the data sending end can also establish Transmission Control Protocol (TCP) connection, and a TCP protocol is adopted for data transmission. As shown in fig. 2, in the wireless communication system, data interaction is performed between a terminal device and an application server, and the terminal device accesses to a RAN through an air interface and is connected to the application server through a core network, where a network between the terminal device and the RAN may be referred to as a wireless network and a network between the RAN and the application server may be referred to as a wired network. And TCP connection is established between the application server and the terminal equipment, and data transmission is carried out.
The application server may be a server in a server cluster, for example, different video clips of a certain video application may be distributed on different servers; the application server may also be a server.
With the development of communication technology, communication systems have evolved into communication architectures deployed jointly by a plurality of communication networks, and terminal devices can access more than one communication network for communication. When the communication network is a local area network, the communication network may be, for example, a wireless fidelity (WiFi) network (also referred to as a Wi-Fi network), a bluetooth network, a zigbee network, or a Near Field Communication (NFC) network. When the communication network is a wide area network, the communication network may be, for example, a third-generation wireless telephone technology (3G) network, a fourth-generation mobile communication technology (4G) network, a fifth-generation mobile communication technology (5G) network, a future-evolution Public Land Mobile Network (PLMN), the internet, or the like.
For example, in a communication system deployed with a WiFi network and a Long Term Evolution (LTE) network in fig. 3, a terminal device may access the WiFi network, perform data transmission with an application server through an evolved packet data gateway (ePDG) or a Trusted Gateway (TGW), and also access the LTE network, and perform data transmission with the application server through a Serving Gateway (SGW) or a packet data gateway (PGW).
The deployment of the heterogeneous network promotes the development of multipath data transmission services, an MPTCP protocol is obtained by expanding a TCP protocol at present, and one service can use multipath network resources to perform data transmission by using the MPTCP protocol. For example, in fig. 3, the mobile phone may use WiFi network resources and LTE network resources to perform data transmission with the application server. Fig. 4 shows a schematic diagram of the extension of the TCP protocol stack to the MPTCP protocol stack. In the TCP stack, the data stream of the application (application) layer is sent over one TCP connection, and in the MPTCP stack, the transport layer is divided into two sublayers: the data stream of the application layer is transmitted by two TCP connections decomposed by the MPTCP layer.
Fig. 5 is a schematic diagram illustrating a usage scenario of MPTCP, and in fig. 5, two TCP connections are established between the terminal device and the application server, where one TCP connection uses WiFi network resources and the other TCP connection uses LTE network resources. The MPTCP layer of the application server decomposes the TCP stream into two TCP sub-streams and then respectively and independently transmits the two TCP sub-streams to the terminal equipment through the two TCP connections, and after the terminal equipment receives the two TCP sub-streams, the two sub-streams are merged and then transmitted to the application layer.
In some embodiments of the present application, the terminal device in the wireless communication system shown in fig. 2 may be a portable terminal device that also includes other functions, such as a personal digital assistant and/or a music player, such as a mobile phone, a tablet computer, a wearable device (e.g., a smart watch) with a wireless communication function, and the like. Exemplary embodiments of the portable terminal device include, but are not limited to, a mount
Figure BDA0002284709470000051
Or other operating system. The portable terminal device described above may also be other portable terminal devices such as laptop computers (laptop) with touch sensitive surfaces, e.g. touch panels, etc. It should also be understoodIn other embodiments of the present application, the terminal device may not be a portable terminal device, but may be a desktop computer having a touch-sensitive surface (e.g., a touch panel).
For example, as shown in fig. 6, the terminal device in the embodiment of the present application may be a mobile phone, and the embodiment is specifically described below by taking the mobile phone as an example.
The mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processor (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors. The controller may be a neural center and a command center of the cell phone 100, among others. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution. A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the mobile phone 100, and may also be used to transmit data between the mobile phone 100 and peripheral devices. The charging management module 140 is configured to receive charging input from a charger. The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like.
The wireless communication function of the mobile phone 100 can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, the baseband processor, and the like. The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the handset 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including wireless communication of 2G/3G/4G/5G, etc. applied to the handset 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the mobile phone 100, including Wireless Local Area Networks (WLANs) (e.g., WiFi networks), Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, the antenna 1 of the handset 100 is coupled to the mobile communication module 150 and the antenna 2 is coupled to the wireless communication module 160 so that the handset 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou satellite navigation system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The display screen 194 is used to display a display interface of an application and the like. The display screen 594 includes a display panel. The display panel may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), or the like. In some embodiments, the cell phone 100 may include 1 or N display screens 194, with N being a positive integer greater than 1. In the present embodiment, the display screen 194 may be used to display multiple application interfaces simultaneously.
The camera 193 is used to capture still images or video. The cameras 193 may include a front camera and a rear camera.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the cellular phone 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Wherein, the storage program area can store an operating system, software codes of at least one application program (such as an Aichi art application, a WeChat application, etc.), and the like. The data storage area can store data (such as images, videos and the like) generated during the use of the mobile phone 100 and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the storage capability of the mobile phone 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as pictures, videos, and the like are saved in an external memory card.
The mobile phone 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playing, recording, etc.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The gyro sensor 180B may be used to determine the motion attitude of the cellular phone 100. In some embodiments, the angular velocity of the handpiece 100 about three axes (i.e., the x, y, and z axes) may be determined by the gyro sensor 180B.
The gyro sensor 180B may be used for photographing anti-shake. The air pressure sensor 180C is used to measure air pressure. In some embodiments, the handset 100 calculates altitude, aiding in positioning and navigation, from the barometric pressure measured by the barometric pressure sensor 180C. The magnetic sensor 180D includes a hall sensor. The handset 100 can detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the handset 100 is a flip phone, the handset 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set. The acceleration sensor 180E can detect the magnitude of acceleration of the cellular phone 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the handset 100 is stationary. The method can also be used for identifying the gesture of the mobile phone, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The handset 100 may measure distance by infrared or laser. In some embodiments, taking a picture of a scene, the cell phone 100 may utilize the range sensor 180F to range for fast focus. The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The cellular phone 100 emits infrared light to the outside through the light emitting diode. The handset 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the cell phone 100. When insufficient reflected light is detected, the cell phone 100 can determine that there are no objects near the cell phone 100. The mobile phone 100 can detect that the mobile phone 100 is held by the user and close to the ear for communication by using the proximity light sensor 180G, so as to automatically turn off the screen to achieve the purpose of saving power. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. The handset 100 may adaptively adjust the brightness of the display 194 according to the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the mobile phone 100 is in a pocket to prevent accidental touches. The fingerprint sensor 180H is used to collect a fingerprint. The mobile phone 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, take a photograph of the fingerprint, answer an incoming call with the fingerprint, and the like.
The temperature sensor 180J is used to detect temperature. In some embodiments, the handset 100 implements a temperature processing strategy using the temperature detected by the temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the mobile phone 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the cell phone 100 heats the battery 142 when the temperature is below another threshold to avoid an abnormal shutdown of the cell phone 100 due to low temperatures. In other embodiments, when the temperature is lower than a further threshold, the mobile phone 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on the surface of the mobile phone 100, different from the position of the display 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The cellular phone 100 may receive a key input, and generate a key signal input related to user setting and function control of the cellular phone 100. The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc. The SIM card interface 195 is used to connect a SIM card. The SIM card can be attached to and detached from the cellular phone 100 by being inserted into the SIM card interface 195 or being pulled out from the SIM card interface 195.
It will be understood that the components shown in fig. 6 are not intended to be limiting, and that the handset may include more or fewer components than those shown, or some components may be combined, some components may be separated, or a different arrangement of components may be used.
Under the conditions of different applications, different regions, different network operators, and the like, the deployment modes of the MPTCP adopted may be different. The following are exemplified: the application program A only takes effect of an end-to-end coordinated MPTCP deployment mode for users in the same network (the same core network, like the same network operator); the application program B is only an MPTCP deployment mode of cloud through of an effective end of a user in Beijing area; and the application program C is only in an MPTCP deployment mode of the effective end cloud cooperation of users in Beijing, Shanghai and Shenzhen regions. In the prior art, a manner of static configuration (for example, saving to a terminal device when an application program is installed) is usually configured on the terminal device side, and an MPTCP deployment manner that takes effect on the application program is configured. The terminal device performs MPTCP connection according to the statically configured MPTCP deployment mode that takes effect on the application program, for example: the application program A only takes effect for the users in the same network, the users in the same network can successfully establish the MPTCP connection when using the MPTCP deployment mode of the end management protocol, and the users in different networks can break down when using the MPTCP deployment mode of the end management protocol and roll back to the TCP protocol. However, with the continuous construction of networks, the capability of supporting MPTCP of an application server, a UPF server, and the like will change continuously, and the way of deploying MPTCP, which takes effect on an application program by static configuration, will be further complicated, which brings difficulty to the deployment and popularization of MPTCP in the whole network.
The method aims to provide a connection establishment scheme, and under the network conditions of different application programs, different regions, different network operators and the like, MPTCP connection is established with an application server by sequentially trying to establish MPTCP connection with the application server according to the priority of multiple deployment modes of MPTCP from high to low, the MPTCP support capability of the network is automatically explored, the MPTCP connection mode supported by the network is quickly found, and the deployment and popularization of MPTCP are supported.
For convenience of understanding, the following embodiments of the present application will specifically describe a connection establishment method provided by the embodiments of the present application by taking the mobile phone 100 having the structure shown in fig. 6 as an example, with reference to the accompanying drawings.
In addition, it should be understood that in the embodiments of the present application, the word "exemplary" is used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, the term using examples is intended to present concepts in a concrete fashion. The terms "comprising" and "having" in the description of the embodiments and claims of the present application and the drawings are not intended to be exclusive. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to only those steps or modules listed, but may include other steps or modules not listed. The terms "system" and "network" are often used interchangeably herein. The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship. It should be understood that in the embodiment of the present application, "B corresponding to a" means that B is associated with a, from which B can be determined. It should also be understood that determining B from a does not mean determining B from a alone, but may be determined from a and/or other information. And, unless stated to the contrary, the embodiments of the present application refer to the ordinal numbers "first", "second", etc., for distinguishing a plurality of objects, and do not limit the sequence, timing, priority, or importance of the plurality of objects. Reference to "a plurality" in this application is two or more.
In the embodiment of the present application, the handset 100 supports MPTCP, that is, the handset 100 can simultaneously connect to at least two networks. The following are exemplified: the mobile phone 100 can be connected to both the WiFi network and the cellular network, and the mobile phone 100 can establish two corresponding communication links for data transmission through the two network connections.
In addition, the mobile phone 100 is also configured with multiple deployment manners of MPTCP, and priorities corresponding to the multiple deployment manners. The following are exemplified: the deployment mode of MPTCP configured in the handset 100 includes: the method comprises the steps of end cloud cooperation, end pipe cooperation and end cloud direct, wherein the priority of the end cloud direct is 1, the priority of the end pipe cooperation is 2, the priority of the end cloud cooperation is 3, and the corresponding priority is reduced along with the increase of the numerical value of the priority.
As an example, the multiple deployment manners of MPTCP configured in the mobile phone 100 and the priorities corresponding to the multiple deployment manners respectively may be configured in the mobile phone 100 by a manufacturer of the mobile phone 100 when the mobile phone 100 leaves a factory, and the multiple deployment manners of MPTCP configured in the mobile phone 100 and the priorities corresponding to the multiple deployment manners respectively may be updated by updating information such as system configuration in the mobile phone 100.
Specifically, when the application program running in the mobile phone 100 initiates a data connection to the application server, the mobile phone 100 sequentially tries to establish an MPTCP connection with the application server according to the sequence of priorities of multiple deployment manners included in MPTCP from high to low until the MPTCP connection with the application server is successfully established, or fails to establish an MPTCP connection with the application server according to the deployment manner of MPTCP with the lowest priority.
The following include in MPTCP connections: the first TCP connection corresponding to the cellular network and the second TCP connection corresponding to the WiFi network, and the deployment manner of the MPTCP configured in the handset 100 includes: the end cloud cooperation, the end pipe cooperation and the end cloud through are described as an example, and the priority of the end cloud through is greater than the priority of the end pipe cooperation and greater than the priority of the end cloud cooperation.
Referring to fig. 7, a flow of a connection establishment method provided in an embodiment of the present application is exemplarily shown, where the method is performed by the mobile phone 100, and the method includes the following steps.
S701: when an operating application program initiates data transmission to an application server, the mobile phone 100 tries to establish MPTCP connection with the application server based on an end cloud direct mode; when the MPTCP connection is successfully established, S704 is performed, and when the MPTCP connection is failed to be established, S702 is performed.
In this embodiment of the application, the application may be an application that needs to perform data transmission with a corresponding application server through a network, such as a Tencent video, a storm video, a hot dog music, a WeChat, and a QQ, and this application is not limited in this respect. In other words, the application is a "networked" application rather than a "stand-alone" application.
When a plurality of available networks exist, such as a cellular network and a WiFi network, and when a "networking" application program such as a flight video, a storm video, a hot dog music, and the like in the mobile phone 100 is started, the application program "such as the storm video" running in the mobile phone 100 initiates data transmission to a corresponding application server "such as a storm video application server", and when the running application program initiates data transmission to the application server, the mobile phone 100 first tries to establish MPTCP connection with the application server based on a terminal cloud direct mode. Referring to fig. 8, the handset 100 may first perform MPTCP handshake with the application server for a first TCP connection, where the first TCP connection may be a first TCP connection corresponding to a cellular network or a second TCP connection corresponding to a WiFi network. Specifically, when performing MPTCP handshake of the first TCP connection with the application server, the mobile phone 100 may send MPTCP handshake information to the application server, where the MPTCP handshake information may be sent through a synchronization sequence number (syn) packet, and carries an MPTCP capability (capability) field, which is used for negotiating the MPTCP capability with the application server.
When the application server supports MPTCP, the application server may send response information supporting MPTCP to the mobile phone 100, and after receiving the response information supporting MPTCP sent by the application server, the mobile phone 100 determines that the MPTCP handshake of the first TCP connection with the application server is successful, and the application server supports MPTCP, and the mobile phone 100 establishes the first TCP connection with the application server. When the application server does not support MPTCP, the application server may or may not send a response message to the handset 100 that does not support MPTCP, or may not respond to the MPTCP handshake message sent by the handset 100. After the mobile phone 100 sends the MPTCP handshake information to the application server, it receives response information that is sent by the application server and does not support MPTCP, or does not receive response information sent by the application server within a response duration (e.g., 1s) after the MPTCP handshake information is sent, and determines that the MPTCP handshake with the application server fails, the application server does not support MPTCP and does not support a deployment manner of end-to-end cloud, and continues to try to establish MPTCP connection with the application server based on a deployment manner of end-to-end cooperation.
After the application server supports MPTCP and the mobile phone 100 and the application server successfully perform MPTCP handshake of the first TCP connection, the mobile phone 100 continues to send MPTCP handshake information of the second TCP connection to the application server, and because it is determined that the application server supports MPTCP, the MPTCP handshake of the second TCP connection is usually successful, the mobile phone 100 can establish the second TCP connection with the application server, so that the cloud (application server) of the terminal (mobile phone) is directly reached. However, when the first TCP connection and the second TCP connection are different networks, for example, the first TCP connection (cellular network) corresponds to the core network a, such as the core network of the china mobile, and the second TCP connection (WiFi network) corresponds to the core network B, such as the core network of the china internet, a handshake failure of the second TCP connection MPTCP may also occur, and when the handshake failure of the second TCP connection MPTCP occurs, the mobile phone 100 determines that the deployment mode that does not support end cloud through between the terminal device and the application server, and continues to try to establish the MPTCP connection with the application server based on the deployment mode of end-to-end cooperation.
S702: the mobile phone 100 tries to establish MPTCP connection with the application server based on an end-to-end cooperation manner; when the MPTCP connection is successfully established, S704 is performed, and when the MPTCP connection is failed to be established, S703 is performed.
As shown in fig. 9, after the mobile phone 100 establishes the first TCP connection with the application server, the mobile phone 100 may obtain, from the first TCP connection, an address of a network element supporting multiple paths convergence in the core network corresponding to the first TCP connection (e.g., an address of an UPF server (a component, hereinafter, a network element supporting multiple paths convergence in the core network is taken as an example of the UPF server), the mobile phone 100 sets the address of the UPF server as a network proxy address of the application server, the mobile phone 100 initiates the second TCP connection to the application server, if the first TCP connection and the second TCP connection are the same network, e.g., the first TCP connection (cellular network) and the second TCP connection (WiFi network) both correspond to the same core network a, e.g., a core network of a chinese mobile network, that is, the WiFi network accessed by the mobile phone 100 is the same as the network operator of the cellular network, and both are chinese mobile, the second TCP connection can be routed to the UPF server of the first TCP, the second TCP connection can be successfully established, which indicates the deployment mode supporting the peer-to-peer cooperation.
If the first TCP connection and the second TCP connection are different networks, for example, the first TCP connection (cellular network) corresponds to a core network a, for example, a core network for china mobile, and the second TCP connection (WiFi network) corresponds to a core network B, for example, a core network for china intercommunication, the mobile phone 100 uses the address of the UPF server corresponding to the first TCP connection as the network proxy address of the application server, and when the second TCP connection is initiated, the UPF server cannot be routed to the core network B, the second TCP connection is failed to be established, and the deployment mode of end-to-end cooperation is not supported, and the MPTCP connection with the application server is continuously attempted to be established based on the deployment mode of end-to-end cloud cooperation.
A network proxy, also called "proxy", is a special network service that allows a network terminal (typically a client, such as the handset 100) to make an indirect connection with another network terminal (typically a server, such as an application server) through the service. The computer system or other type of network terminal (e.g., UPF server) providing the proxy service may be referred to as a proxy server (proxy server), and in this embodiment, the UPF server serving as a network proxy and the proxy server described below are intermediate proxy mechanisms between the mobile phone 100 and the application server, and are responsible for forwarding data between the mobile phone 100 and the application server.
S703: the mobile phone 100 tries to establish MPTCP connection with the application server based on an end cloud coordination manner; when the MPTCP connection is successfully established, S704 is performed, and when the MPTCP connection is failed to be established, S705 is performed.
Referring to fig. 10, the mobile phone 100 modifies the network proxy address to the address of the proxy server, and initiates a first TCP connection and a second TCP connection to the application server; the method comprises the steps that a first TCP connection corresponding to a cellular network and a second TCP connection corresponding to a WiFi network are initiated to an application server, generally speaking, the first TCP connection and the second TCP connection are successful, and the terminal equipment can establish an MPTCP connection with the application server; and if any TCP connection failure exists, determining that the deployment mode of end cloud cooperation is not supported. In one possible implementation, the proxy server may be set by the manufacturer of the handset 100 and the address of the proxy server is pre-configured in the handset 100.
S704: the handset 100 performs data transmission with the application server based on the MPTCP connection established with the application server.
S705: if the MPTCP connection between the mobile phone 100 and the application server is not successfully established after the steps S701 to S703 are performed, the mobile phone 100 establishes a TCP connection with the application server, and performs data transmission with the application server based on the TCP connection.
If the MPTCP connection between the mobile phone 100 and the application server is successfully established, the mobile phone 100 performs data transmission with the application server based on the MPTCP connection established with the application server. If the mobile phone 100 tries to establish MPTCP connection with the application server in sequence from high to low according to the priorities of multiple deployment modes of MPTCP until the MPTCP connection with the application server is not successfully established according to the deployment mode of the MPTCP with the lowest priority, "deployment mode of end cloud coordination", the mobile phone 100 can roll back to the TCP connection mode from the MPTCP, and establish TCP connection with the application server, for example, establish only a first TCP connection corresponding to a cellular network with the application server or establish a second TCP connection corresponding to a wireless fidelity WiFi network, and perform data transmission with the application server, thereby further protecting the reliability of data transmission.
In the embodiments provided in the present application, the method provided in the embodiments of the present application is introduced from the perspective of the terminal device as an execution subject. In order to implement the functions in the method provided by the embodiment of the present application, the terminal device may include a hardware structure and/or a software module, and implement the functions in the form of a hardware structure, a software module, or a hardware structure and a software module. Whether any of the above-described functions is implemented as a hardware structure, a software module, or a hardware structure plus a software module depends upon the particular application and design constraints imposed on the technical solution.
Based on the same concept, fig. 11 shows a connection establishing apparatus 1100 provided by the present application, configured to execute the connection establishing method shown in fig. 7. The apparatus 1100 may be, for example, a terminal device or an application server, and may also be a chip. Illustratively, the apparatus 1100 includes a processing unit 1101 and a communication unit 1102.
For example, the processing unit 1101 is configured to, when a running application program initiates data transmission to an application server, sequentially attempt to establish an MPTCP connection with the application server through the communication unit 1102 in an order from high priority to low priority of multiple deployment manners of MPTCP until the MPTCP connection with the application server is successfully established; a communication unit 1102, configured to perform data transmission with the application server based on the MPTCP connection established with the application server. For example, when the apparatus 1100 is a terminal device, the communication unit 1102 may be a transceiver. For another example, when the apparatus 1100 is a chip, the communication unit 1102 may be an interface.
Based on the same concept, refer to fig. 12 for illustrating a connection establishing apparatus 1200 provided by the present application. The apparatus 1200 comprises: a transceiver 1201, a processor 1202, and a memory 1203. Wherein the transceiver 1201, the processor 1202 and the memory 1203 are connected to each other.
Optionally, the transceiver 1201, the processor 1202, and the memory 1203 are connected to each other through a bus 1204. The bus 1204 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 12, but this is not intended to represent only one bus or type of bus.
The memory 1203 is used for storing program instructions, data, and the like. In particular, the program instructions may include program code comprising computer operational instructions. The memory 1203 may include Random Access Memory (RAM), and may also include non-volatile memory (e.g., at least one disk memory). The processor 1202 executes the program instructions and data stored in the memory 1203 to implement the above functions, thereby implementing the connection establishment method provided by the above embodiments.
Based on the above embodiments, embodiments of the present application further provide a computer program product, which, when running on a terminal device, enables the terminal device to execute the connection establishment method provided in the above embodiments.
Based on the above embodiments, the present application further provides a chip, where the chip is coupled with a memory, and is configured to read and execute the program instructions stored in the memory, and execute the connection establishment method provided by the above embodiments.
Based on the above embodiments, the present application further provides a computer-readable storage medium, which includes a computer program and when the computer program runs on a terminal device, causes the terminal device to execute the connection establishment method provided by the above embodiments.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may 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, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

Claims (13)

1. A method for establishing a connection, comprising:
when an operating application program initiates data transmission to an application server, terminal equipment sequentially tries to establish an MPTCP connection with the application server according to the sequence of priorities from high to low of multiple deployment modes of a multi-path transmission control protocol MPTCP until the MPTCP connection with the application server is successfully established;
and the terminal equipment performs data transmission with the application server based on the MPTCP connection established with the application server.
2. The method of claim 1, wherein the MPTCP connection comprises:
the first TCP connection corresponding to the cellular network and the second TCP connection corresponding to the wireless fidelity WiFi network.
3. The method of claim 1, wherein the multiple deployments of MPTCP in order of priority from high to low comprise:
end cloud through, end pipe cooperation and end cloud cooperation.
4. The method of any one of claims 1-3, wherein the terminal device attempting to establish an MPTCP connection with the application server based on an end-cloud-direct approach comprises:
when the terminal equipment and the application server successfully perform the MPTCP handshake of the first TCP connection, the terminal equipment initiates the MPTCP handshake of the second TCP connection to the application server;
when the terminal equipment and the application server successfully perform MPTCP handshake of the second TCP connection, the terminal equipment determines that the MPTCP connection is successfully established with the application server according to the end cloud direct;
when the terminal equipment fails to conduct MPTCP handshake of the second TCP connection with the application server, the terminal equipment determines that the MPTCP connection with the application server fails to be established according to the end cloud;
the successful MPTCP handshake of the TCP connection between the terminal equipment and the application server comprises that the terminal equipment receives response information which is sent by the application server and supports MPTCP in the MPTCP handshake process.
5. The method of any one of claims 1-4, further comprising:
when the terminal equipment does not succeed in sequentially trying to establish the MPTCP connection with the application server according to the sequence of the priorities of the MPTCP in the multiple deployment modes from high to low, the terminal equipment establishes the TCP connection with the application server;
and the terminal equipment performs data transmission with the application server based on the TCP connection.
6. A terminal device comprising a processor and a memory;
the memory for storing one or more computer programs;
the one or more computer programs stored by the memory, when executed by the processor, cause the terminal device to perform:
when an operating application program initiates data transmission to an application server, sequentially trying to establish an MPTCP connection with the application server according to the sequence of priorities from high to low of multiple deployment modes of a multi-path transmission control protocol MPTCP until the MPTCP connection with the application server is successfully established;
and carrying out data transmission with the application server based on the MPTCP connection established with the application server.
7. The terminal device of claim 6, wherein the MPTCP connection comprises:
the first TCP connection corresponding to the cellular network and the second TCP connection corresponding to the wireless fidelity WiFi network.
8. The terminal device of claim 6, wherein the multiple deployments of MPTCP include, in order of priority from high to low:
end cloud through, end pipe cooperation and end cloud cooperation.
9. The terminal device of any one of claims 6-8, wherein the one or more computer programs stored in the memory, when executed by the processor, are to, in particular when attempting to establish an MPTCP connection with the application server based on an end-cloud-direct approach:
initiating MPTCP handshake of a second TCP connection to the application server when MPTCP handshake of a first TCP connection with the application server is successful;
when the MPTCP handshake of the second TCP connection with the application server is successful, determining that the MPTCP connection with the application server is successful according to the end cloud direct;
when the MPTCP handshake of the second TCP connection with the application server fails, determining that the MPTCP connection with the application server according to the end cloud direct fails;
the successful MPTCP handshake connected with the application server TCP comprises the step of receiving response information supporting MPTCP sent by the application server in the MPTCP handshake process.
10. The terminal device of any of claims 6-9, wherein the memory stores one or more computer programs that, when executed by the processor, are further configured to:
when the MPTCP connection is not successfully established with the application server in the sequence of the priorities of the MPTCP in the multiple deployment modes from high to low, establishing the TCP connection with the application server;
and carrying out data transmission with the application server based on the TCP connection.
11. A computer program, characterized in that it causes a terminal device to perform the method according to any one of claims 1-5, when it is run on the terminal device.
12. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a computer program which, when run on a terminal device, causes the terminal device to perform the connection establishment method according to any one of claims 1-5.
13. A chip for reading a computer program stored in a memory for performing the method according to any one of claims 1 to 5.
CN201911155555.2A 2019-11-22 2019-11-22 Connection establishing method and terminal equipment Active CN111200557B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911155555.2A CN111200557B (en) 2019-11-22 2019-11-22 Connection establishing method and terminal equipment
PCT/CN2020/127107 WO2021098533A1 (en) 2019-11-22 2020-11-06 Connection establishment method, and terminal apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911155555.2A CN111200557B (en) 2019-11-22 2019-11-22 Connection establishing method and terminal equipment

Publications (2)

Publication Number Publication Date
CN111200557A true CN111200557A (en) 2020-05-26
CN111200557B CN111200557B (en) 2021-08-10

Family

ID=70747649

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911155555.2A Active CN111200557B (en) 2019-11-22 2019-11-22 Connection establishing method and terminal equipment

Country Status (2)

Country Link
CN (1) CN111200557B (en)
WO (1) WO2021098533A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111970334A (en) * 2020-07-30 2020-11-20 杭州超级科技有限公司 Data transmission method and device based on TCP, electronic equipment and medium
CN112398943A (en) * 2020-11-13 2021-02-23 Oppo广东移动通信有限公司 Information intercommunication method and device, storage medium and electronic equipment
WO2021098533A1 (en) * 2019-11-22 2021-05-27 荣耀终端有限公司 Connection establishment method, and terminal apparatus
CN115277560A (en) * 2022-09-28 2022-11-01 鹏城实验室 Heterogeneous network fusion transmission method based on MPTCP and MPQUIC
WO2023231373A1 (en) * 2022-06-01 2023-12-07 浙江宇视科技有限公司 Device connection method and apparatus, electronic device and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115022277A (en) * 2022-06-22 2022-09-06 支付宝(杭州)信息技术有限公司 Service processing method, device and equipment under dual-stack network

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516694A (en) * 2012-06-28 2014-01-15 华为技术有限公司 Communication method, device and system
CN104243443A (en) * 2013-06-06 2014-12-24 苹果公司 Establishment and Control system of Multipath TCP Subflow, and method
GB2525416A (en) * 2014-04-24 2015-10-28 Samsung Electronics Co Ltd Data Transfer using a multipath TCP Connection
CN105917620A (en) * 2014-10-27 2016-08-31 思科技术公司 Multipath provisioning of L4-L7 traffic in a network
CN108092908A (en) * 2016-11-23 2018-05-29 华为技术有限公司 Control the method and sending ending equipment of flow
CN110166374A (en) * 2019-05-21 2019-08-23 北京邮电大学 MPTCP jamming control method and device based on efficiency
CN110351186A (en) * 2018-04-02 2019-10-18 苹果公司 The use of multi-path transmission control protocol agency in cellular networks

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107708224A (en) * 2017-09-29 2018-02-16 努比亚技术有限公司 Wi Fi control methods, mobile terminal and computer-readable recording medium
CN111200557B (en) * 2019-11-22 2021-08-10 荣耀终端有限公司 Connection establishing method and terminal equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516694A (en) * 2012-06-28 2014-01-15 华为技术有限公司 Communication method, device and system
CN104243443A (en) * 2013-06-06 2014-12-24 苹果公司 Establishment and Control system of Multipath TCP Subflow, and method
GB2525416A (en) * 2014-04-24 2015-10-28 Samsung Electronics Co Ltd Data Transfer using a multipath TCP Connection
CN105917620A (en) * 2014-10-27 2016-08-31 思科技术公司 Multipath provisioning of L4-L7 traffic in a network
CN108092908A (en) * 2016-11-23 2018-05-29 华为技术有限公司 Control the method and sending ending equipment of flow
CN110351186A (en) * 2018-04-02 2019-10-18 苹果公司 The use of multi-path transmission control protocol agency in cellular networks
CN110166374A (en) * 2019-05-21 2019-08-23 北京邮电大学 MPTCP jamming control method and device based on efficiency

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021098533A1 (en) * 2019-11-22 2021-05-27 荣耀终端有限公司 Connection establishment method, and terminal apparatus
CN111970334A (en) * 2020-07-30 2020-11-20 杭州超级科技有限公司 Data transmission method and device based on TCP, electronic equipment and medium
CN112398943A (en) * 2020-11-13 2021-02-23 Oppo广东移动通信有限公司 Information intercommunication method and device, storage medium and electronic equipment
WO2023231373A1 (en) * 2022-06-01 2023-12-07 浙江宇视科技有限公司 Device connection method and apparatus, electronic device and storage medium
CN115277560A (en) * 2022-09-28 2022-11-01 鹏城实验室 Heterogeneous network fusion transmission method based on MPTCP and MPQUIC

Also Published As

Publication number Publication date
CN111200557B (en) 2021-08-10
WO2021098533A1 (en) 2021-05-27

Similar Documents

Publication Publication Date Title
CN111200557B (en) Connection establishing method and terminal equipment
CN110809297B (en) Data transmission method and electronic equipment
KR102623159B1 (en) How to handle network connections, related devices and computer storage media
CN110896528B (en) Method for operating functions and resources of electronic device
CN111866950B (en) Method and communication device for data transmission in MEC
WO2021185141A1 (en) Wi-fi aware link establishment method and system, electronic device, and storage medium
WO2022083386A1 (en) Screen projection method and system, and electronic device
WO2021000923A1 (en) Router configuration method, terminal, and router
CN113423106B (en) Mobile network hotspot sharing method and device and hotspot sharing equipment
WO2020168578A1 (en) Network searching method, and terminal device
WO2021147660A1 (en) Data transmission method, and device
WO2022052731A1 (en) Method for transmitting data and electronic device
WO2021109872A1 (en) Http request transmission method and device
CN113498108B (en) Chip, device and method for adjusting data transmission strategy based on service type
CN111565441B (en) Cell residence method and device
KR102524305B1 (en) Connection establishment method and terminal device
CN113810451B (en) Method and device for establishing point-to-point link, first terminal equipment and storage medium
WO2020124447A1 (en) Multi-sim facing network management
EP4102927A1 (en) Dual wifi connection method and electronic device
WO2022068646A1 (en) Data transmission method and electronic device
CN113141637B (en) Multipath transmission control method and control device
CN114356187A (en) Content acquisition method and device
CN115550892B (en) Method and device for synchronizing system information
CN113691979B (en) Wireless data transmission method, electronic device, system and storage medium
WO2021143921A1 (en) Multipath transmission control method and control apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210428

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Applicant after: Honor Device Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Applicant before: HUAWEI TECHNOLOGIES Co.,Ltd.

GR01 Patent grant
GR01 Patent grant