WO2023011361A1 - Data connection establishment method, terminal, application server, network side device, electronic device, and computer readable storage medium - Google Patents

Data connection establishment method, terminal, application server, network side device, electronic device, and computer readable storage medium Download PDF

Info

Publication number
WO2023011361A1
WO2023011361A1 PCT/CN2022/109092 CN2022109092W WO2023011361A1 WO 2023011361 A1 WO2023011361 A1 WO 2023011361A1 CN 2022109092 W CN2022109092 W CN 2022109092W WO 2023011361 A1 WO2023011361 A1 WO 2023011361A1
Authority
WO
WIPO (PCT)
Prior art keywords
data connection
application server
terminal
data
connection identifier
Prior art date
Application number
PCT/CN2022/109092
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 中兴通讯股份有限公司
Publication of WO2023011361A1 publication Critical patent/WO2023011361A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/24Negotiating SLA [Service Level Agreement]; Negotiating QoS [Quality of Service]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer
    • H04W8/14Mobility data transfer between corresponding nodes

Definitions

  • the present application relates to the technical field of communication, and in particular to a method for establishing a data connection, a terminal, an application server, a network side device, an electronic device, and a computer-readable storage medium.
  • the data connection between the terminal and the application server in the existing mobile communication network is established by relying on the five-tuple information composed of Internet Protocol Address (Internet Protocol Address, referred to as "IP address”), port, and protocol.
  • IP address Internet Protocol Address
  • a data connection is first established between the terminal and the application server through the quintuple, and then the application data is transmitted.
  • the detection of the application data flow is carried out by the core network of the operator by relying on the server IP address, port, and protocol information of the application registered on the operator side. After the operator detects the application data flow and identifies the application, it can complete follow-up actions such as Quality of Service (Quality of Service, referred to as "QoS”) detection and/or QoS adjustment.
  • QoS Quality of Service
  • IP address on the application server side is generally a huge data pool, which changes with the development and changes of the application service provider's business. change.
  • the frequent change of IP address makes the terminal need to constantly re-query the IP address of the application server when establishing a data connection with the application server; Performing QoS detection and/or QoS adjustment etc. brings great challenges.
  • the embodiment of the present application provides a method for establishing a data connection, which is applied to the first network side device, including:
  • IP Internet Protocol
  • assigning a data connection identifier to the terminal and associating the assigned data connection identifier with the Internet Protocol (IP) address of the terminal assigning a data connection identifier to the application server and linking the assigned data connection identifier to the application Associate the IP address of the server; send the data connection identifier of the application server to the terminal, for the terminal to establish a data connection with the application server based on the data connection identifier of the application server, and transmit the data carrying the data connection identifier of the terminal and the application server ; and synchronizing the data connection identifiers of the terminal and the application server to the second network side device, for the second network side device to identify the transmitted data according to the data connection identifiers of the terminal and the application server, and perform quality of service (QoS) on the data detection and/or QoS adjustment.
  • QoS quality of service
  • the embodiment of the present application also provides a method for establishing a data connection, which is applied to the second network side device, including:
  • the embodiment of the present application also provides a method for establishing a data connection, which is applied to a terminal, including:
  • the data connection identifier of the terminal is associated with the IP address of the terminal; obtaining the data connection identifier of the application server, and establishing the data connection identifier with the application server through the data connection identifier of the application server Data connection; the data connection identifier of the application server is associated with the IP address of the application server; and the data carrying the data connection identifier of the terminal and the application server is transmitted with the application server, and the data connection identifier of the terminal and the application server is used for
  • the second network side device identifies the transmitted data, and performs QoS detection and/or QoS adjustment on the data.
  • the embodiment of the present application also provides a method for establishing a data connection, which is applied to the application server, including:
  • the data connection identifier of the application server is associated with the IP address of the application server; establishing a data connection with the terminal through the data connection identifier of the application server; The data of the data connection identifiers of the application server and the terminal are used, and the data connection identifiers of the application server and the terminal are used by the second network side device to identify the transmitted data, and perform QoS detection and/or QoS adjustment on the data.
  • the embodiment of the present application also provides a network-side device, including: an allocation module configured to allocate a data connection identifier for a terminal and associate the allocated data connection identifier with the IP address of the terminal, so as to provide an application server Assigning a data connection identifier and associating the assigned data connection identifier with the IP address of the application server; the sending module is configured to send the data connection identifier of the application server to the terminal for the terminal to use based on the data connection identifier of the application server Establish a data connection with the application server, and transmit data carrying the data connection identifiers of the terminal and the application server; and a synchronization module configured to synchronize the data connection identifiers of the terminal and the application server to the second network side device for the second The network side device identifies the transmitted data according to the data connection identifiers of the terminal and the application server, and performs QoS detection and/or QoS adjustment on the data.
  • an allocation module configured to allocate a data connection identifier for a terminal
  • the embodiment of the present application also provides a network-side device, including: a receiving module configured to receive the data connection identifiers of the terminal and the application server sent by the first network-side device; and a detection execution module configured to The data connection identifier of the server identifies the transmitted data, and performs QoS detection and/or QoS adjustment on the data.
  • a network-side device including: a receiving module configured to receive the data connection identifiers of the terminal and the application server sent by the first network-side device; and a detection execution module configured to The data connection identifier of the server identifies the transmitted data, and performs QoS detection and/or QoS adjustment on the data.
  • the embodiment of the present application also provides a terminal, including: an application module configured to apply for a data connection identifier of the terminal from a first network side device, where the data connection identifier of the terminal is associated with the IP address of the terminal; an acquisition module, Configured to obtain the data connection identifier of the application server, and establish a data connection with the application server through the data connection identifier of the application server; the data connection identifier of the application server is associated with the IP address of the application server; and the transmission module is configured as The data carrying the data connection identifier of the terminal and the application server is transmitted with the application server, and the data connection identifier of the terminal and the application server is used for the second network side device to identify the transmitted data, and perform QoS detection and/or QoS adjustment on the data .
  • the embodiment of the present application also provides an application server, including: an application module configured to apply for a data connection identifier of the application server from the first network side device, and the data connection identifier of the application server is related to the IP address of the application server connection; the establishment module is configured to establish a data connection with the terminal through the data connection identifier of the application server; and the transmission module is configured to transmit data carrying the data connection identifiers of the application server and the terminal with the terminal, and The data connection identifier is used by the second network side device to identify the transmitted data, and perform QoS detection and/or QoS adjustment on the data.
  • an application server including: an application module configured to apply for a data connection identifier of the application server from the first network side device, and the data connection identifier of the application server is related to the IP address of the application server connection; the establishment module is configured to establish a data connection with the terminal through the data connection identifier of the application server; and the transmission module is configured to transmit data carrying the data connection identifiers of the
  • the embodiment of the present application also provides an electronic device, including: at least one processor; and a memory connected to the at least one processor in communication; the memory stores computer-executable instructions that can be executed by the at least one processor, The computer-executable instructions are executed by at least one processor, so that at least one processor can execute the above-mentioned method for establishing a data connection.
  • Embodiments of the present application also provide a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the above method for establishing a data connection is implemented.
  • FIG. 1 is a flowchart of a method for establishing a data connection applied to a first network side device according to an embodiment of the present application
  • FIG. 2 is a flow chart of a method for establishing a data connection applied to a second network side device according to an embodiment of the present application
  • FIG. 3 is a schematic diagram of a connection structure of a terminal, an application server, and a network-side device according to an embodiment of the present application;
  • FIG. 4 is a flowchart of a method for establishing a data connection applied to a terminal according to an embodiment of the present application
  • FIG. 5 is a flowchart of a method for establishing a data connection applied to an application server in an embodiment of the present application
  • FIG. 6 is a schematic structural diagram of a first network-side device according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a second network-side device according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a terminal according to an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of an application server according to an embodiment of the present application.
  • Fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • the embodiment of the present application relates to a method for establishing a data connection, which is applied to a first network side device.
  • the specific process is shown in FIG. 1 , including steps 101 to 103.
  • the first network side device may be a connection management module, and may be deployed in an operator's core network.
  • the terminal needs to use a certain application, and establishes a data connection with the application server.
  • the first network side device assigns data connection identifiers to the terminal and the application server respectively, sends the data connection identifiers of the application server to the terminal, and further synchronizes the data connection identifiers of the terminal and the application server to the second network side equipment.
  • the process in Fig. 1 will be described in detail below.
  • Step 101 the first network-side device assigns data connection identifiers to the terminal and the application server respectively, and associates the assigned data connection identifiers with their respective Internet Protocol Addresses ("IP addresses").
  • IP addresses Internet Protocol Addresses
  • the terminal establishes a data connection with an application server, and before the data connection is established between the terminal and the application server, step 101 is performed, that is, assigning a data connection identifier to the terminal, and combining the assigned data connection identifier with the and associating with the IP address of the terminal; and assigning a data connection identifier to the application server, and associating the assigned data connection identifier with the IP address of the application server.
  • the above step 101 includes: the terminal and the application server respectively apply for a data connection identifier, and the first network side device receives the terminal and the application server to register the data connection identifier identifier; and assigning data connection identifiers to the terminal and the application server respectively, and associating the assigned data connection identifiers with their respective IP addresses.
  • Step 102 the first network side device sends the data connection identifier of the application server to the terminal to enable the two parties to establish a data connection, and transmits data carrying the data connection identifiers of the terminal and the application server.
  • the first network side device since the terminal needs to establish a data connection with an application server, the first network side device needs to send the data connection identifier of the application server to the terminal, so that the terminal can send a data connection request to the application server, and then communicate with the application server.
  • the application server establishes a data connection.
  • the first network side device when the terminal needs to access an application, the first network side device sends the data connection identifier of the application server to the terminal. After the data connection is established between the terminal and the application server, the data transmitted by the terminal and the application server carries the data connection identifiers of the terminal and the application server.
  • Step 103 the first network-side device synchronizes the data connection identifiers of the terminal and the application server to the second network-side device, so that the second network-side device can identify the transmitted data according to the data connection identifiers of the terminal and the application server and process the data.
  • Quality of Service Quality of Service
  • QoS Quality of Service
  • the above step 103 includes: after detecting that the terminal establishes a data connection with the application server, the first network-side device synchronizes the data connection identifiers of the terminal and the application server to the second network-side device , for the second network side device to perform QoS detection and/or QoS adjustment on the data according to the data connection identifiers of both parties.
  • the first network-side device in this embodiment assigns data connection identifiers to the terminal and the application server respectively, and associates the assigned data connection identifiers with their respective IP addresses, so that the terminal and the application server can identify each other through the data connection. It does not need to re-query the IP address in order to establish a connection when the IP address changes, which shields the impact of frequent changes in the IP address on the establishment of the data connection.
  • the first network-side device synchronizes the data connection identifiers of the terminal and the application server to the second network-side device. Even if the IP addresses of the terminal and the application server change frequently, the second network-side device can directly identify the transmission through the data connection identifier. and perform QoS detection and/or QoS adjustment on the data.
  • the embodiment of the present application also relates to a method for establishing a data connection, which is applied to a second network side device.
  • the specific process is shown in FIG. 2 , including steps 201 to 203.
  • the second network side device may be a packet detection and policy execution module, which may be used in the session management function (Session Management Function, referred to as "SMF"), user plane function (User Plane Function, referred to as "UPF”) network in the operator's core network Upgrading and transformation on a meta-basic basis.
  • the terminal and the application server have established a data connection, and transmit data carrying the data connection identifiers of both parties.
  • the second network-side device receives the data connection identifiers of the terminal and the application server sent by the first network-side device, identifies the data transmitted by both parties according to the data connection identifiers, and further performs QoS detection and/or QoS adjustment on the data.
  • the process in Fig. 2 will be described in detail below.
  • the second network side device receives the data connection identifiers of the terminal and the application server sent by the first network side device.
  • the first network-side device After the terminal establishes a data connection with the application server, the first network-side device sends the data connection identifier of the terminal and the application server to the second network-side device, and in step 201, the second network-side device receives the data connection identifier, and uses To identify the transmitted data and perform subsequent QoS detection and/or QoS adjustment on the data.
  • Step 202 the second network side device identifies the data transmitted by the terminal and the application server.
  • the terminal and the application server transmit data carrying the data connection identifiers of both parties.
  • the second network side device identifies the data transmitted by the terminal and the application server through the data connection identifier.
  • Step 203 the second network side device performs QoS detection and/or QoS adjustment on the data.
  • the second network side device after the second network side device identifies the data transmitted by the terminal and the application server through the data connection identifier, it performs QoS detection on the data. If the notification of the adjustment is notified, the QoS adjustment is performed on the data.
  • a mobile terminal accesses a video application, and after the mobile terminal establishes a data connection with the video application server, the first network-side device sends the data connection identifier between the mobile terminal and the video application server to the second network-side device symbol.
  • the second network side device identifies the mobile terminal and the data transmitted by the video application server through the data connection identifier, and executes a corresponding QoS policy.
  • the video application server When the video application server monitors that the QoS does not meet the video viewing requirements, the video application server carries the data connection identifiers of the mobile terminal and the video application server to request QoS adjustment to the third network side device, and the third network side device confirms the adjustment After the QoS adjustment, the QoS policy is updated to the second network side device to complete the QoS adjustment.
  • the third network side device can be a policy management and open module, which can be upgraded and modified on the basis of a policy control function (Policy Control Function, "PCF”) network element in the operator's core network.
  • Policy Control Function Policy Control Function
  • connection structure is shown in Figure 3.
  • a connection proxy module can also be set at the terminal and the application server, and the connection proxy module can be made into a protocol stack plug-in and installed on the terminal and the application server.
  • the respective connection agent modules apply for a data connection identifier from the first network side device.
  • the second network-side device in this embodiment identifies the data transmitted by the terminal and the application server according to the data connection identifiers of the terminal and the application server, and performs QoS detection and/or QoS adjustment on the data. Even if the IP address changes, the second network side device can directly identify the transmitted data through the data connection identifier and perform QoS detection and/or QoS adjustment on the data. In the case that the IP addresses of the terminal and the application server change frequently, the pressure of identifying data and performing QoS detection and/or QoS adjustment is greatly reduced.
  • the embodiment of the present application also relates to a method for establishing a data connection, which is applied to a terminal.
  • the specific process is shown in FIG. 4 , including steps 401 to 403 .
  • the terminal needs to use a certain application, and establishes a data connection with the application server.
  • the terminal first applies for a data connection identifier from the first network-side device, then obtains the data connection identifier of the application server, and finally establishes a data connection with the application server for data transmission.
  • the flow shown in FIG. 4 will be described in detail below.
  • Step 401 the terminal applies for a data connection identifier from a first network side device.
  • the terminal Before establishing a data connection, the terminal should first apply to the first network side device for a data connection identifier to replace the IP address for data connection.
  • the data connection identifier of the terminal is associated with the IP address of the terminal.
  • Step 402 the terminal obtains the data connection identifier of the application server.
  • a terminal When a terminal accesses an application, it should establish a data connection with the application server through the data connection identifier. Therefore, in step 402, the terminal inquires and acquires the data connection identifier of the application server from the first network side device.
  • Step 403 the terminal establishes a data connection with the application server for data transmission.
  • the terminal and the application server establish a data connection through the data connection identifier, and transmit data carrying the data connection identifiers of the terminal and the application server.
  • the data should carry the data connection identifiers of the terminal and the application server, so that the second network side device can subsequently identify the data and perform QoS detection and/or QoS adjustment on the data.
  • the terminal in this embodiment establishes a data connection with the application server through the data connection identifier, and does not need to constantly re-query the IP address in order to establish a connection when the IP address changes, shielding the impact of frequent changes in the IP address on the establishment of the data connection.
  • the data transmitted between the terminal and the application server in this embodiment carries the data connection identifiers of the application server and the terminal. Even if the IP address changes, the second network side device can directly identify the transmitted data through the data connection identifier and perform QoS detection and/or QoS adjustment on the data.
  • the embodiment of the present application also relates to a method for establishing a data connection, which is applied to an application server.
  • the specific process is shown in FIG. 5 , including steps 501 to 503.
  • the data connection has not been established between the terminal and the application server.
  • the application server Before the terminal establishes a data connection with the application server, the application server first applies for a data connection identifier from the first network-side device, and then establishes a data connection with the terminal for data transmission. After the application server and the terminal perform data transmission, apply to the third network side device for adjusting the QoS of the data.
  • the flow in Fig. 5 will be described in detail below.
  • step 501 the application server applies for a data connection identifier from the first network side device.
  • the application server Before establishing a data connection, the application server should firstly apply for a data connection identifier from the first network side device to replace the IP address for data connection.
  • the data connection identifier of the application server is associated with the IP address of the application server.
  • Step 502 the application server establishes a data connection with the terminal for data transmission.
  • the terminal and the application server establish a data connection through the data connection identifier, and transmit data carrying the data connection identifier of the terminal and the application server.
  • the data should carry the data connection identifiers of the terminal and the application server, so that the network side device can subsequently identify the data and perform QoS detection and/or QoS adjustment on the data.
  • step 503 the application server carries the data connection identifiers of both parties to apply to the third network side device for QoS adjustment.
  • the application server After the terminal establishes a data connection with the application server for data transmission, if there is a need for QoS adjustment, the application server carries the data connection identifier between the terminal and the application server to apply to the third network side device for QoS adjustment.
  • the mobile game application service when a mobile terminal accesses a mobile game application, after the mobile terminal establishes a data connection with the mobile game application server, when the mobile game application server detects that the QoS cannot meet the mobile game experience requirements, the mobile game application service The terminal carries the data connection identifiers of the mobile terminal and the mobile game application server to request the third network side device to perform QoS adjustment, such as increasing bandwidth.
  • the application server of this embodiment can establish a data connection with the terminal through the data connection identifier of the application server, and it is not necessary to continuously re-query the IP address in order to establish a connection when the IP address changes, shielding the frequent changes of the IP address from affecting the establishment of the data connection. Impact.
  • the data transmitted between the application server and the terminal in this embodiment carries the data connection identifiers of the application server and the terminal. Even if the IP address changes, the second network side device can directly identify the transmitted data through the data connection identifier and perform QoS detection and/or QoS adjustment on the data.
  • the embodiment of the present application also relates to a network-side device (the above-mentioned first network-side device), as shown in FIG. 6 , including an allocation module 601 , a sending module 602 and a synchronization module 603 .
  • the assignment module 601 is configured to assign a data connection identifier to the terminal and associate the assigned data connection identifier with the IP address of the terminal, assign a data connection identifier to the application server and associate the assigned data connection identifier with the The IP address of the application server is associated.
  • the sending module 602 is configured to send the data connection identifier of the application server to the terminal, for the terminal to establish a data connection with the application server based on the data connection identifier of the application server, and transmit data carrying the data connection identifiers of the terminal and the application server.
  • the synchronization module 603 is configured to synchronize the data connection identifiers of the terminal and the application server to the second network-side device, so that the second network-side device can identify the transmitted data according to the data connection identifiers of the terminal and the application server, and perform QoS on the data detection and/or QoS adjustment.
  • the network-side device provided in this embodiment can assign data connection identifiers to the terminal and the application server respectively, and associate the assigned data connection identifiers with their respective IP addresses, so that the terminal and the application server can identify each other through the data connection. It does not need to re-query the IP address in order to establish a connection when the IP address changes, which shields the impact of frequent changes in the IP address on the establishment of the data connection.
  • the network-side device synchronizes the data connection identifiers of the terminal and the application server to the second network-side device. Even if the IP addresses of the terminal and the application server change frequently, the second network-side device can directly identify the transmitted data through the data connection identifier. Data and perform QoS detection and/or QoS adjustment on the data.
  • the embodiment of the present application also relates to a network side device (the aforementioned second network side device), as shown in FIG. 7 , including a receiving module 701 and a detection execution module 702 .
  • the receiving module 701 is configured to receive the data connection identifiers of the terminal and the application server sent by the first network side device.
  • the detection execution module 702 is configured to identify transmitted data according to the data connection identifiers of the terminal and the application server, and perform QoS detection and/or QoS adjustment on the data.
  • the network-side device provided in this embodiment can identify the data transmitted by the terminal and the application server according to the data connection identifiers of the terminal and the application server, and perform QoS detection and/or QoS adjustment on the data. Even if the IP address changes, the network side device can directly identify the transmitted data through the data connection identifier and perform QoS detection and/or QoS adjustment on the data. In the case that the IP addresses of the terminal and the application server change frequently, the pressure of identifying data and performing QoS detection and/or QoS adjustment is greatly reduced.
  • the embodiment of the present application also relates to a terminal, as shown in FIG. 8 , including an application module 801 , an acquisition module 802 and a transmission module 803 .
  • the application module 801 is configured to apply for a data connection identifier of the terminal from the first network side device, where the data connection identifier of the terminal is associated with the IP address of the terminal.
  • the obtaining module 802 is configured to obtain the data connection identifier of the application server, and establish a data connection with the application server through the data connection identifier of the application server; the data connection identifier of the application server is associated with the IP address of the application server.
  • the transmission module 803 is configured to transmit data carrying data connection identifiers of the terminal and the application server with the application server, and the data connection identifiers of the terminal and the application server are used by the second network side device to identify the transmitted data and perform QoS detection on the data and/or QoS adjustments.
  • the terminal provided by this embodiment can establish a data connection with the application server through the data connection identifier, and does not need to constantly re-query the IP address in order to establish a connection when the IP address changes, shielding the impact of frequent changes in the IP address on the establishment of the data connection .
  • the data transmitted between the terminal and the application server provided in this embodiment carries the data connection identifiers of the application server and the terminal. Even if the IP address changes, the network side device can directly identify the transmitted data through the data connection identifier and perform QoS detection and/or QoS adjustment on the data.
  • the embodiment of the present application also relates to an application server, as shown in FIG. 9 , including an application module 901 , an establishment module 902 and a transmission module 903 .
  • the application module 901 is configured to apply for the data connection identifier of the application server from the first network side device, and the data connection identifier of the application server is associated with the IP address of the application server.
  • the establishment module 902 is configured to establish a data connection with the terminal through the data connection identifier of the application server.
  • the transmission module 903 is configured to transmit data carrying the data connection identifiers of the application server and the terminal with the terminal, and the data connection identifiers of the application server and the terminal are used for the second network side device to identify the transmitted data and perform QoS detection on the data and/or QoS adjustments.
  • the application server provided by this embodiment can establish a data connection with the terminal through the data connection identifier of the application server, and it is not necessary to continuously re-query the IP address in order to establish a connection when the IP address changes, shielding the frequent changes of the IP address from affecting the data. Impact on connection establishment.
  • the data transmitted between the application server and the terminal provided in this embodiment carries the data connection identifier of the application server and the terminal. Even if the IP address changes, the second network side device can directly identify the transmitted data through the data connection identifier and perform QoS detection and/or QoS adjustment on the data.
  • a logical unit can be a physical unit, or a part of a physical unit, or a combination of multiple physical units. accomplish.
  • units that are not closely related to solving the technical problems proposed in the present application are not introduced in each embodiment, but this does not mean that there are no other units in each embodiment.
  • the embodiment of the present application also provides an electronic device, as shown in FIG. 10 , including at least one processor 1001; and a memory 1002 communicatively connected to the at least one processor 1001; A computer-executable instruction executed by one processor 1001, where the computer-executable instruction is executed by the at least one processor 1001, so that the at least one processor 1001 can execute the above method for establishing a data connection.
  • the memory 1002 and the processor 1001 are connected by a bus.
  • the bus may include any number of interconnected buses and bridges.
  • the bus connects one or more processors 1001 and various circuits of the memory 1002 together.
  • the bus may also connect together various other circuits such as peripherals, voltage regulators, and power management circuits, all of which are well known in the art and therefore will not be further described herein.
  • the bus interface provides an interface between the bus and the transceivers.
  • a transceiver may be a single element, or multiple elements, such as multiple receivers and multiple transmitters, providing a unit configured to communicate with various other devices over a transmission medium.
  • the data processed by the processor 1001 is transmitted on the wireless transmission medium through the antenna, and further, the antenna also receives the data and transmits the data to the processor 1001 .
  • Processor 1001 is responsible for managing the bus and general processing, and may also provide various functions including timing, peripheral interface, voltage regulation, power management, and other control functions.
  • the memory 1002 may be configured to store data used by the processor 1001 when performing operations.
  • Embodiments of the present application also provide a computer-readable storage medium storing a computer program, and implementing the above method for establishing a data connection when the computer program is executed by a processor.
  • the computer program is stored in a computer-readable storage medium, and includes several instructions to make the device ( It may be a single-chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in this application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Databases & Information Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

Disclosed in the present application are a data connection establishment method, a terminal, an application server, a network side device, an electronic device, and a computer readable storage medium. The data connection establishment method comprises: respectively allocating data connection identifiers for a terminal and an application server, and associating the allocated data connection identifiers with respective Internet Protocol (IP) addresses; sending the data connection identifier of the application server to the terminal so that the terminal establishes a data connection with the application server on the basis of the data connection identifier of the application server, and transmitting data carrying the data connection identifiers of the terminal and the application server; and synchronizing the data connection identifiers of the terminal and the application server to a second network side device, so that the second network side device identifies the transmitted data according to the data connection identifiers of the terminal and the application server, and performs at least one of quality of service (QoS) detection and QoS adjustment on the data.

Description

数据连接的建立方法、终端、应用服务端、网络侧设备、电子设备和计算机可读存储介质Method for establishing data connection, terminal, application server, network side device, electronic device, and computer-readable storage medium
相关申请的交叉引用Cross References to Related Applications
本申请要求于2021年8月3日提交的中国专利申请NO.202110886834.7的优先权,该中国专利申请的内容通过引用的方式整体合并于此。This application claims priority to Chinese Patent Application No. 202110886834.7 filed on August 3, 2021, the contents of which are hereby incorporated by reference in their entirety.
技术领域technical field
本申请涉及通信技术领域,尤其是涉及数据连接的建立方法、终端、应用服务端、网络侧设备、电子设备和计算机可读存储介质。The present application relates to the technical field of communication, and in particular to a method for establishing a data connection, a terminal, an application server, a network side device, an electronic device, and a computer-readable storage medium.
背景技术Background technique
现有移动通信网络中终端与应用服务端之间的数据连接是通过依靠互联网协议地址(Internet Protocol Address,简称“IP地址”)、端口、协议组成的五元组信息来建立的。终端与应用服务端之间先通过五元组建立数据连接,然后进行应用数据传输。而应用数据流的检测则是由运营商核心网依靠应用登记在运营商侧的服务端IP地址、端口、协议信息来进行的。运营商检测到应用数据流、识别出应用之后,可据此完成服务质量(Quality of Service,简称“QoS”)检测和/或QoS调整等后续动作。The data connection between the terminal and the application server in the existing mobile communication network is established by relying on the five-tuple information composed of Internet Protocol Address (Internet Protocol Address, referred to as "IP address"), port, and protocol. A data connection is first established between the terminal and the application server through the quintuple, and then the application data is transmitted. The detection of the application data flow is carried out by the core network of the operator by relying on the server IP address, port, and protocol information of the application registered on the operator side. After the operator detects the application data flow and identifies the application, it can complete follow-up actions such as Quality of Service (Quality of Service, referred to as "QoS") detection and/or QoS adjustment.
然而,应用服务端侧的IP地址一般是数量庞大的数据池,其随着应用服务商业务的发展变化而发生变化,而终端移动性的增大也导致了终端侧IP地址越来越频繁地发生变化。一方面,IP地址的频繁变化使得终端在与应用服务端建立数据连接时需要不断重新查询应用服务端的IP地址;另一方面,越来越频繁的IP地址变化为运营商、政府部门等对数据进行QoS检测和/或QoS调整等带来了极大的挑战。However, the IP address on the application server side is generally a huge data pool, which changes with the development and changes of the application service provider's business. change. On the one hand, the frequent change of IP address makes the terminal need to constantly re-query the IP address of the application server when establishing a data connection with the application server; Performing QoS detection and/or QoS adjustment etc. brings great challenges.
公开内容public content
本申请的实施方式提供了一种数据连接的建立方法,应用于第一网络侧设备,包括:The embodiment of the present application provides a method for establishing a data connection, which is applied to the first network side device, including:
为终端分配数据连接标识符并将分配的数据连接标识符与所述终端的互联网协议(IP)地址相关联,为应用服务端分配数据连接标识符并将分配的数据连接标识符与所述应用服务端的IP地址相关联;向终端发送应用服务端的数据连接标识符,供终端基于应用服务端的数据连接标识符与应用服务端建立数据连接,并传输携带终端和应用服务端的数据连接标识符的数据;以及将终端和应用服务端的数据连接标识符同步给第二网络侧设备,供第二网络侧设备根据终端和应用服务端的数据连接标识符识别传输的数据,并对数据进行服务质量(QoS)的检测和/或QoS调整。assigning a data connection identifier to the terminal and associating the assigned data connection identifier with the Internet Protocol (IP) address of the terminal, assigning a data connection identifier to the application server and linking the assigned data connection identifier to the application Associate the IP address of the server; send the data connection identifier of the application server to the terminal, for the terminal to establish a data connection with the application server based on the data connection identifier of the application server, and transmit the data carrying the data connection identifier of the terminal and the application server ; and synchronizing the data connection identifiers of the terminal and the application server to the second network side device, for the second network side device to identify the transmitted data according to the data connection identifiers of the terminal and the application server, and perform quality of service (QoS) on the data detection and/or QoS adjustment.
本申请的实施方式还提供了一种数据连接的建立方法,应用于第二网络侧设备,包括:The embodiment of the present application also provides a method for establishing a data connection, which is applied to the second network side device, including:
接收第一网络侧设备发送的终端和应用服务端的数据连接标识符;以及根据终端和应用服务端的数据连接标识符识别传输的数据,并对数据进行QoS的检测和/或QoS调整。receiving the data connection identifiers of the terminal and the application server sent by the first network side device; and identifying transmitted data according to the data connection identifiers of the terminal and the application server, and performing QoS detection and/or QoS adjustment on the data.
本申请的实施方式还提供了一种数据连接的建立方法,应用于终端,包括:The embodiment of the present application also provides a method for establishing a data connection, which is applied to a terminal, including:
向第一网络侧设备申请终端的数据连接标识符,终端的数据连接标识符与终端的IP地址相关联;获取应用服务端的数据连接标识符,通过应用服务端的数据连接标识符与应用服务端建立数据连接;应用服务端的数据连接标识符与应用服务端的的IP地址相关联;以及与应用服务端传输携带终端和应用服务端的数据连接标识符的数据,终端和应用服务端的数据连接标识符用于第二网络侧设备识别传输的数据,并对数据进行QoS检测和/或QoS调整。Applying for the data connection identifier of the terminal to the first network side device, the data connection identifier of the terminal is associated with the IP address of the terminal; obtaining the data connection identifier of the application server, and establishing the data connection identifier with the application server through the data connection identifier of the application server Data connection; the data connection identifier of the application server is associated with the IP address of the application server; and the data carrying the data connection identifier of the terminal and the application server is transmitted with the application server, and the data connection identifier of the terminal and the application server is used for The second network side device identifies the transmitted data, and performs QoS detection and/or QoS adjustment on the data.
本申请的实施方式还提供了一种数据连接的建立方法,应用于应用服务端,包括:The embodiment of the present application also provides a method for establishing a data connection, which is applied to the application server, including:
向第一网络侧设备申请应用服务端的数据连接标识符,应用服务端的数据连接标识符与应用服务端的IP地址相关联;通过应用服 务端的数据连接标识符与终端建立数据连接;以及与终端传输携带应用服务端和终端的数据连接标识符的数据,应用服务端和终端的数据连接标识符用于第二网络侧设备识别传输的数据,并对数据进行QoS检测和/或QoS调整。Applying for the data connection identifier of the application server to the first network side device, the data connection identifier of the application server is associated with the IP address of the application server; establishing a data connection with the terminal through the data connection identifier of the application server; The data of the data connection identifiers of the application server and the terminal are used, and the data connection identifiers of the application server and the terminal are used by the second network side device to identify the transmitted data, and perform QoS detection and/or QoS adjustment on the data.
本申请的实施方式还提供了一种网络侧设备,包括:分配模块,配置为为终端分配数据连接标识符并将分配的数据连接标识符与所述终端的IP地址相关联,为应用服务端分配数据连接标识符并将分配的数据连接标识符与所述应用服务端的IP地址相关联;发送模块,配置为向终端发送应用服务端的数据连接标识符,供终端基于应用服务端的数据连接标识符与应用服务端建立数据连接,并传输携带终端和应用服务端的数据连接标识符的数据;以及同步模块,配置为将终端和应用服务端的数据连接标识符同步给第二网络侧设备,供第二网络侧设备根据终端和应用服务端的数据连接标识符识别传输的数据,并对数据进行QoS的检测和/或QoS调整。The embodiment of the present application also provides a network-side device, including: an allocation module configured to allocate a data connection identifier for a terminal and associate the allocated data connection identifier with the IP address of the terminal, so as to provide an application server Assigning a data connection identifier and associating the assigned data connection identifier with the IP address of the application server; the sending module is configured to send the data connection identifier of the application server to the terminal for the terminal to use based on the data connection identifier of the application server Establish a data connection with the application server, and transmit data carrying the data connection identifiers of the terminal and the application server; and a synchronization module configured to synchronize the data connection identifiers of the terminal and the application server to the second network side device for the second The network side device identifies the transmitted data according to the data connection identifiers of the terminal and the application server, and performs QoS detection and/or QoS adjustment on the data.
本申请的实施方式还提供了一种网络侧设备,包括:接收模块,配置为接收第一网络侧设备发送的终端和应用服务端的数据连接标识符;以及检测执行模块,配置为根据终端和应用服务端的数据连接标识符识别传输的数据,并对数据进行QoS的检测和/或QoS调整。The embodiment of the present application also provides a network-side device, including: a receiving module configured to receive the data connection identifiers of the terminal and the application server sent by the first network-side device; and a detection execution module configured to The data connection identifier of the server identifies the transmitted data, and performs QoS detection and/or QoS adjustment on the data.
本申请的实施方式还提供了一种终端,包括:申请模块,配置为向第一网络侧设备申请终端的数据连接标识符,终端的数据连接标识符与终端的IP地址相关联;获取模块,配置为获取应用服务端的数据连接标识符,通过应用服务端的数据连接标识符与应用服务端建立数据连接;应用服务端的数据连接标识符与应用服务端的的IP地址相关联;以及传输模块,配置为与应用服务端传输携带终端和应用服务端的数据连接标识符的数据,终端和应用服务端的数据连接标识符用于第二网络侧设备识别传输的数据,并对数据进行QoS检测和/或QoS调整。The embodiment of the present application also provides a terminal, including: an application module configured to apply for a data connection identifier of the terminal from a first network side device, where the data connection identifier of the terminal is associated with the IP address of the terminal; an acquisition module, Configured to obtain the data connection identifier of the application server, and establish a data connection with the application server through the data connection identifier of the application server; the data connection identifier of the application server is associated with the IP address of the application server; and the transmission module is configured as The data carrying the data connection identifier of the terminal and the application server is transmitted with the application server, and the data connection identifier of the terminal and the application server is used for the second network side device to identify the transmitted data, and perform QoS detection and/or QoS adjustment on the data .
本申请的实施方式还提供了一种应用服务端,包括:申请模块,配置为向第一网络侧设备申请应用服务端的数据连接标识符,应用服务端的数据连接标识符与应用服务端的IP地址相关联;建立模块, 配置为通过应用服务端的数据连接标识符与终端建立数据连接;以及传输模块,配置为与终端传输携带应用服务端和终端的数据连接标识符的数据,应用服务端和终端的数据连接标识符用于第二网络侧设备识别传输的数据,并对数据进行QoS检测和/或QoS调整。The embodiment of the present application also provides an application server, including: an application module configured to apply for a data connection identifier of the application server from the first network side device, and the data connection identifier of the application server is related to the IP address of the application server connection; the establishment module is configured to establish a data connection with the terminal through the data connection identifier of the application server; and the transmission module is configured to transmit data carrying the data connection identifiers of the application server and the terminal with the terminal, and The data connection identifier is used by the second network side device to identify the transmitted data, and perform QoS detection and/or QoS adjustment on the data.
本申请的实施方式还提供了一种电子设备,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;存储器存储有可被至少一个处理器执行的计算机可执行指令,所述计算机可执行指令被至少一个处理器执行,以使至少一个处理器能够执行上述的数据连接的建立方法。The embodiment of the present application also provides an electronic device, including: at least one processor; and a memory connected to the at least one processor in communication; the memory stores computer-executable instructions that can be executed by the at least one processor, The computer-executable instructions are executed by at least one processor, so that at least one processor can execute the above-mentioned method for establishing a data connection.
本申请的实施方式还提供了一种存储有计算机程序的计算机可读存储介质,所述计算机程序被处理器执行时实现上述的数据连接的建立方法。Embodiments of the present application also provide a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the above method for establishing a data connection is implemented.
附图说明Description of drawings
本申请一个或多个实施方式通过对应的附图中的图片进行示例性说明,这些示例性说明并不构成对本申请实施方式的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。One or more embodiments of the present application are exemplified through pictures in the corresponding drawings, and these exemplifications are not construed as limiting the embodiments of the present application. Elements with the same reference numerals in the drawings represent similar elements , unless otherwise stated, the figures in the accompanying drawings do not constitute scale limitations.
图1是根据本申请实施方式中应用于第一网络侧设备的数据连接的建立方法流程图;FIG. 1 is a flowchart of a method for establishing a data connection applied to a first network side device according to an embodiment of the present application;
图2是根据本申请实施方式中应用于第二网络侧设备的数据连接的建立方法流程图;FIG. 2 is a flow chart of a method for establishing a data connection applied to a second network side device according to an embodiment of the present application;
图3是根据本申请实施方式中的终端、应用服务端和网络侧设备的连接结构示意图;FIG. 3 is a schematic diagram of a connection structure of a terminal, an application server, and a network-side device according to an embodiment of the present application;
图4是根据本申请实施方式中应用于终端的数据连接的建立方法流程图;FIG. 4 is a flowchart of a method for establishing a data connection applied to a terminal according to an embodiment of the present application;
图5是本申请实施方式中应用于应用服务端的数据连接的建立方法流程图;FIG. 5 is a flowchart of a method for establishing a data connection applied to an application server in an embodiment of the present application;
图6是根据本申请实施方式中的第一网络侧设备的结构示意图;FIG. 6 is a schematic structural diagram of a first network-side device according to an embodiment of the present application;
图7是根据本申请实施方式中的第二网络侧设备的结构示意图;FIG. 7 is a schematic structural diagram of a second network-side device according to an embodiment of the present application;
图8是根据本申请实施方式中的终端的结构示意图;FIG. 8 is a schematic structural diagram of a terminal according to an embodiment of the present application;
图9是根据本申请实施方式中的应用服务端的结构示意图;以及FIG. 9 is a schematic structural diagram of an application server according to an embodiment of the present application; and
图10是根据本申请实施方式中的电子设备的结构示意图。Fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本申请的各实施方式进行详细的阐述。本领域的普通技术人员可以理解,在本申请各实施方式中,为了使读者更好地理解本申请而提出了许多技术细节。但是,即使没有这些技术细节和基于以下各实施方式的种种变化和修改,也可以实现本申请所要求保护的技术方案。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, various implementations of the present application will be described in detail below in conjunction with the accompanying drawings. Those skilled in the art can understand that in various embodiments of the present application, many technical details are provided for readers to better understand the present application. However, even without these technical details and various changes and modifications based on the following implementation modes, the technical solution claimed in this application can also be realized.
本申请的实施例涉及一种数据连接的建立方法,应用于第一网络侧设备,具体流程如图1所示,包括步骤101至103。第一网络侧设备可以是连接管理模块,可以部署在运营商核心网络中。本实施例中终端需要使用某应用,与该应用服务端建立数据连接。此时第一网络侧设备为终端与应用服务端分别分配数据连接标识符,并将应用服务端的数据连接标识符发送给终端,进一步将终端与应用服务端的数据连接标识符同步给第二网络侧设备。下面对图1的流程做具体说明。The embodiment of the present application relates to a method for establishing a data connection, which is applied to a first network side device. The specific process is shown in FIG. 1 , including steps 101 to 103. The first network side device may be a connection management module, and may be deployed in an operator's core network. In this embodiment, the terminal needs to use a certain application, and establishes a data connection with the application server. At this time, the first network side device assigns data connection identifiers to the terminal and the application server respectively, sends the data connection identifiers of the application server to the terminal, and further synchronizes the data connection identifiers of the terminal and the application server to the second network side equipment. The process in Fig. 1 will be described in detail below.
步骤101,第一网络侧设备为终端和应用服务端分别分配数据连接标识符,并将分配的数据连接标识符与其各自的互联网协议地址(Internet Protocol Address,简称“IP地址”)相关联。 Step 101, the first network-side device assigns data connection identifiers to the terminal and the application server respectively, and associates the assigned data connection identifiers with their respective Internet Protocol Addresses ("IP addresses").
在本实施例中,终端与某应用服务端建立数据连接,在终端和应用服务端建立数据连接之前,执行步骤101,即为终端分配数据连接标识符,并将分配的数据连接标识符与所述终端的IP地址相关联;以及为应用服务端分配数据连接标识符,并将分配的数据连接标识符与所述应用服务端的IP地址相关联。In this embodiment, the terminal establishes a data connection with an application server, and before the data connection is established between the terminal and the application server, step 101 is performed, that is, assigning a data connection identifier to the terminal, and combining the assigned data connection identifier with the and associating with the IP address of the terminal; and assigning a data connection identifier to the application server, and associating the assigned data connection identifier with the IP address of the application server.
在一些实施方式中,在终端和应用服务端建立数据连接之前,上述步骤101包括:终端和应用服务端分别申请数据连接标识符,由第一网络侧设备接收终端和应用服务端注册数据连接标识符的申请; 以及为终端和应用服务端分别分配数据连接标识符,并将分配的数据连接标识符与其各自的IP地址相关联。In some implementations, before the data connection is established between the terminal and the application server, the above step 101 includes: the terminal and the application server respectively apply for a data connection identifier, and the first network side device receives the terminal and the application server to register the data connection identifier identifier; and assigning data connection identifiers to the terminal and the application server respectively, and associating the assigned data connection identifiers with their respective IP addresses.
步骤102,第一网络侧设备向终端发送应用服务端的数据连接标识符以使双方建立数据连接,并传输携带终端和应用服务端的数据连接标识符的数据。 Step 102, the first network side device sends the data connection identifier of the application server to the terminal to enable the two parties to establish a data connection, and transmits data carrying the data connection identifiers of the terminal and the application server.
在本实施例中,由于终端需要与某应用服务端建立数据连接,因而第一网络侧设备需要向终端发送应用服务端的数据连接标识符,使得终端能够向应用服务端发送数据连接请求,进而与应用服务端建立数据连接。在步骤102中,在终端需要访问某应用时,第一网络侧设备向终端发送该应用服务端的数据连接标识符。在终端和应用服务端建立数据连接后,终端和应用服务端传输的数据携带有终端和应用服务端的数据连接标识符。In this embodiment, since the terminal needs to establish a data connection with an application server, the first network side device needs to send the data connection identifier of the application server to the terminal, so that the terminal can send a data connection request to the application server, and then communicate with the application server. The application server establishes a data connection. In step 102, when the terminal needs to access an application, the first network side device sends the data connection identifier of the application server to the terminal. After the data connection is established between the terminal and the application server, the data transmitted by the terminal and the application server carries the data connection identifiers of the terminal and the application server.
步骤103,第一网络侧设备将终端和应用服务端的数据连接标识符同步给第二网络侧设备,供第二网络侧设备根据终端和应用服务端的数据连接标识符识别传输的数据并对数据进行服务质量(Quality of Service,简称“QoS”)检测和/或QoS调整。 Step 103, the first network-side device synchronizes the data connection identifiers of the terminal and the application server to the second network-side device, so that the second network-side device can identify the transmitted data according to the data connection identifiers of the terminal and the application server and process the data. Quality of Service (Quality of Service, referred to as "QoS") detection and/or QoS adjustment.
在终端和应用服务端建立数据连接后,第二网络侧设备若要对终端和应用服务端传输的数据进行QoS检测和/或QoS调整,则需要根据终端和应用服务端的数据连接标识符识别传输的数据。在一些实施方式中,上述步骤103包括:在检测到所述终端与所述应用服务端建立数据连接后,第一网络侧设备将终端和应用服务端的数据连接标识符同步给第二网络侧设备,供第二网络侧设备根据双方的数据连接标识符对数据进行QoS检测和/或QoS调整。After the data connection is established between the terminal and the application server, if the second network side device wants to perform QoS detection and/or QoS adjustment on the data transmitted by the terminal and the application server, it needs to identify the transmission according to the data connection identifier of the terminal and the application server The data. In some implementations, the above step 103 includes: after detecting that the terminal establishes a data connection with the application server, the first network-side device synchronizes the data connection identifiers of the terminal and the application server to the second network-side device , for the second network side device to perform QoS detection and/or QoS adjustment on the data according to the data connection identifiers of both parties.
本实施例的第一网络侧设备为终端和应用服务端分别分配数据连接标识符,并将分配的数据连接标识符与其各自的IP地址相关联,以使终端与应用服务端能够通过数据连接标识符建立数据连接,不必在IP地址发生变化时为了建立连接而不断重新查询IP地址,屏蔽了IP地址的频繁变化对数据连接建立的影响。第一网络侧设备将终端和应用服务端的数据连接标识符同步给第二网络侧设备,即使终端与应用服务端的IP地址频繁发生变化,第二网络侧设备也能够直接通 过数据连接标识符识别传输的数据并对数据进行QoS检测和/或QoS调整。The first network-side device in this embodiment assigns data connection identifiers to the terminal and the application server respectively, and associates the assigned data connection identifiers with their respective IP addresses, so that the terminal and the application server can identify each other through the data connection. It does not need to re-query the IP address in order to establish a connection when the IP address changes, which shields the impact of frequent changes in the IP address on the establishment of the data connection. The first network-side device synchronizes the data connection identifiers of the terminal and the application server to the second network-side device. Even if the IP addresses of the terminal and the application server change frequently, the second network-side device can directly identify the transmission through the data connection identifier. and perform QoS detection and/or QoS adjustment on the data.
本申请的实施例还涉及一种数据连接的建立方法,应用于第二网络侧设备,具体流程如图2所示,包括步骤201至203。第二网络侧设备可以是包检测及策略执行模块,可以在运营商核心网中的会话管理功能(Session Management Function,简称“SMF”)、用户面功能(User Plane Function,简称“UPF”)网元基础上升级改造。本实施例中终端与应用服务端已经建立数据连接,传输携带有双方的数据连接标识符的数据。第二网络侧设备接收到第一网络侧设备发送的终端和应用服务端的数据连接标识符,并根据数据连接标识符识别双方传输的数据,进一步对数据进行QoS检测和/或QoS调整。下面对图2的流程做具体说明。The embodiment of the present application also relates to a method for establishing a data connection, which is applied to a second network side device. The specific process is shown in FIG. 2 , including steps 201 to 203. The second network side device may be a packet detection and policy execution module, which may be used in the session management function (Session Management Function, referred to as "SMF"), user plane function (User Plane Function, referred to as "UPF") network in the operator's core network Upgrading and transformation on a meta-basic basis. In this embodiment, the terminal and the application server have established a data connection, and transmit data carrying the data connection identifiers of both parties. The second network-side device receives the data connection identifiers of the terminal and the application server sent by the first network-side device, identifies the data transmitted by both parties according to the data connection identifiers, and further performs QoS detection and/or QoS adjustment on the data. The process in Fig. 2 will be described in detail below.
步骤201,第二网络侧设备接收第一网络侧设备发送的终端和应用服务端的数据连接标识符。In step 201, the second network side device receives the data connection identifiers of the terminal and the application server sent by the first network side device.
在终端与应用服务端建立数据连接后,第一网络侧设备向第二网络侧设备发送终端和应用服务端的数据连接标识符,在步骤201中,第二网络侧设备接收数据连接标识符,用以识别传输的数据并对数据进行后续的QoS检测和/或QoS调整。After the terminal establishes a data connection with the application server, the first network-side device sends the data connection identifier of the terminal and the application server to the second network-side device, and in step 201, the second network-side device receives the data connection identifier, and uses To identify the transmitted data and perform subsequent QoS detection and/or QoS adjustment on the data.
步骤202,第二网络侧设备识别终端和应用服务端传输的数据。 Step 202, the second network side device identifies the data transmitted by the terminal and the application server.
在终端与应用服务端建立数据连接后,终端与应用服务端传输携带有双方的数据连接标识符的数据。在步骤202中,第二网络侧设备通过数据连接标识符对终端和应用服务端传输的数据进行识别。After the data connection is established between the terminal and the application server, the terminal and the application server transmit data carrying the data connection identifiers of both parties. In step 202, the second network side device identifies the data transmitted by the terminal and the application server through the data connection identifier.
步骤203,第二网络侧设备对数据进行QoS的检测和/或QoS调整。 Step 203, the second network side device performs QoS detection and/or QoS adjustment on the data.
在一些实施方式中,在第二网络侧设备通过数据连接标识符对终端和应用服务端传输的数据进行识别之后,对数据进行QoS的检测,若接收到第三网络侧设备对该数据进行QoS调整的通知,则对数据进行QoS调整。In some implementations, after the second network side device identifies the data transmitted by the terminal and the application server through the data connection identifier, it performs QoS detection on the data. If the notification of the adjustment is notified, the QoS adjustment is performed on the data.
在一个具体实例中,手机终端访问某视频应用,手机终端与该视频应用服务端建立数据连接之后,由第一网络侧设备向第二网络侧 设备发送手机终端和该视频应用服务端的数据连接标识符。第二网络侧设备通过数据连接标识符识别手机终端和该视频应用服务端传输的数据并执行相应的QoS策略。当视频应用服务端监测到QoS达不到视频观看需求时,视频应用服务端携带手机终端和视频应用服务端的数据连接标识符向第三网络侧设备请求进行QoS调整,第三网络侧设备确认进行QoS调整后,向第二网络侧设备更新QoS策略,完成QoS调整。第三网络侧设备可以是策略管理及开放模块,可以在运营商核心网中的策略控制功能(Policy Control Function,简称“PCF”)网元基础上升级改造。In a specific example, a mobile terminal accesses a video application, and after the mobile terminal establishes a data connection with the video application server, the first network-side device sends the data connection identifier between the mobile terminal and the video application server to the second network-side device symbol. The second network side device identifies the mobile terminal and the data transmitted by the video application server through the data connection identifier, and executes a corresponding QoS policy. When the video application server monitors that the QoS does not meet the video viewing requirements, the video application server carries the data connection identifiers of the mobile terminal and the video application server to request QoS adjustment to the third network side device, and the third network side device confirms the adjustment After the QoS adjustment, the QoS policy is updated to the second network side device to complete the QoS adjustment. The third network side device can be a policy management and open module, which can be upgraded and modified on the basis of a policy control function (Policy Control Function, "PCF") network element in the operator's core network.
上述实施方式中涉及到的终端301、应用服务端302和网络侧设备(包括第一网络侧设备303、第二网络侧设备304和第三网络侧设备305)在实现上述数据连接的建立方法时的连接结构如图3所示。终端和应用服务端处还可以设置连接代理模块,连接代理模块可以做成协议栈插件,安装在终端和应用服务端上。在终端和应用注册到网络中时,由各自的连接代理模块向第一网络侧设备申请数据连接标识符。When the terminal 301, the application server 302, and the network-side device (including the first network-side device 303, the second network-side device 304, and the third network-side device 305) involved in the above-mentioned embodiment implement the above-mentioned data connection establishment method The connection structure is shown in Figure 3. A connection proxy module can also be set at the terminal and the application server, and the connection proxy module can be made into a protocol stack plug-in and installed on the terminal and the application server. When the terminal and the application are registered in the network, the respective connection agent modules apply for a data connection identifier from the first network side device.
本实施例的第二网络侧设备根据终端和应用服务端的数据连接标识符识别终端和应用服务端传输的数据,并对数据进行QoS的检测和/或QoS调整。即使IP地址发生变化,第二网络侧设备也能够直接通过数据连接标识符识别传输的数据并对数据进行QoS检测和/或QoS调整。在终端与应用服务端的IP地址频繁发生变化的情况下,大大减轻了识别数据并进行QoS检测和/或QoS调整的压力。The second network-side device in this embodiment identifies the data transmitted by the terminal and the application server according to the data connection identifiers of the terminal and the application server, and performs QoS detection and/or QoS adjustment on the data. Even if the IP address changes, the second network side device can directly identify the transmitted data through the data connection identifier and perform QoS detection and/or QoS adjustment on the data. In the case that the IP addresses of the terminal and the application server change frequently, the pressure of identifying data and performing QoS detection and/or QoS adjustment is greatly reduced.
本申请的实施例还涉及一种数据连接的建立方法,应用于终端,具体流程如图4所示,包括步骤401至403。本实施例中终端需要使用某应用,与该应用服务端建立数据连接。终端首先向第一网络侧设备申请数据连接标识符,进而获取该应用服务端数据连接标识符,最终与应用服务端建立数据连接,进行数据传输。下面对图4所示的流程做具体说明。The embodiment of the present application also relates to a method for establishing a data connection, which is applied to a terminal. The specific process is shown in FIG. 4 , including steps 401 to 403 . In this embodiment, the terminal needs to use a certain application, and establishes a data connection with the application server. The terminal first applies for a data connection identifier from the first network-side device, then obtains the data connection identifier of the application server, and finally establishes a data connection with the application server for data transmission. The flow shown in FIG. 4 will be described in detail below.
步骤401,终端向第一网络侧设备申请数据连接标识符。 Step 401, the terminal applies for a data connection identifier from a first network side device.
终端在建立数据连接前应首先向第一网络侧设备申请数据连接 标识符,以代替IP地址进行数据连接。此处终端的数据连接标识符与终端的IP地址相关联。Before establishing a data connection, the terminal should first apply to the first network side device for a data connection identifier to replace the IP address for data connection. Here the data connection identifier of the terminal is associated with the IP address of the terminal.
步骤402,终端获取应用服务端的数据连接标识符。 Step 402, the terminal obtains the data connection identifier of the application server.
在终端访问某应用时,应通过数据连接标识符与该应用服务端建立数据连接。因此,步骤402为终端向第一网络侧设备查询并获取该应用服务端数据连接标识符。When a terminal accesses an application, it should establish a data connection with the application server through the data connection identifier. Therefore, in step 402, the terminal inquires and acquires the data connection identifier of the application server from the first network side device.
步骤403,终端与应用服务端建立数据连接,进行数据传输。 Step 403, the terminal establishes a data connection with the application server for data transmission.
终端与应用服务端通过数据连接标识符建立数据连接,并传输携带有终端和应用服务端的数据连接标识符的数据。此处,数据应携带有终端与应用服务端的数据连接标识符,以供第二网络侧设备后续识别数据并对数据进行QoS的检测和/或QoS调整。The terminal and the application server establish a data connection through the data connection identifier, and transmit data carrying the data connection identifiers of the terminal and the application server. Here, the data should carry the data connection identifiers of the terminal and the application server, so that the second network side device can subsequently identify the data and perform QoS detection and/or QoS adjustment on the data.
本实施例的终端通过数据连接标识符与应用服务端建立数据连接,不必在IP地址发生变化时为了建立连接而不断重新查询IP地址,屏蔽了IP地址的频繁变化对数据连接建立的影响。本实施例的终端与应用服务端传输的数据携带有应用服务端和终端的数据连接标识符。即使IP地址发生变化,第二网络侧设备也能够直接通过数据连接标识符识别传输的数据并对数据进行QoS检测和/或QoS调整。The terminal in this embodiment establishes a data connection with the application server through the data connection identifier, and does not need to constantly re-query the IP address in order to establish a connection when the IP address changes, shielding the impact of frequent changes in the IP address on the establishment of the data connection. The data transmitted between the terminal and the application server in this embodiment carries the data connection identifiers of the application server and the terminal. Even if the IP address changes, the second network side device can directly identify the transmitted data through the data connection identifier and perform QoS detection and/or QoS adjustment on the data.
本申请的实施例还涉及一种数据连接的建立方法,应用于应用服务端,具体流程如图5所示,包括步骤501至503。本实施例中,终端与应用服务端尚未建立数据连接。在终端与应用服务端建立数据连接之前,应用服务端首先向第一网络侧设备申请数据连接标识符,进而与终端建立数据连接,进行数据传输。在应用服务端与终端进行数据传输后向第三网络侧设备申请对数据进行QoS的调整。下面对图5的流程做具体说明。The embodiment of the present application also relates to a method for establishing a data connection, which is applied to an application server. The specific process is shown in FIG. 5 , including steps 501 to 503. In this embodiment, the data connection has not been established between the terminal and the application server. Before the terminal establishes a data connection with the application server, the application server first applies for a data connection identifier from the first network-side device, and then establishes a data connection with the terminal for data transmission. After the application server and the terminal perform data transmission, apply to the third network side device for adjusting the QoS of the data. The flow in Fig. 5 will be described in detail below.
步骤501,应用服务端向第一网络侧设备申请数据连接标识符。In step 501, the application server applies for a data connection identifier from the first network side device.
应用服务端在建立数据连接前应首先向第一网络侧设备申请数据连接标识符,以代替IP地址进行数据连接。此处应用服务端的数据连接标识符与应用服务端的IP地址相关联。Before establishing a data connection, the application server should firstly apply for a data connection identifier from the first network side device to replace the IP address for data connection. Here, the data connection identifier of the application server is associated with the IP address of the application server.
步骤502,应用服务端与终端建立数据连接,进行数据传输。 Step 502, the application server establishes a data connection with the terminal for data transmission.
终端与应用服务端通过数据连接标识符建立数据连接,并传输 携带有终端和应用服务端的数据连接标识符的数据。此处,数据应携带有终端与应用服务端的数据连接标识符,以供网络侧设备后续识别数据并对数据进行QoS的检测和/或QoS调整。The terminal and the application server establish a data connection through the data connection identifier, and transmit data carrying the data connection identifier of the terminal and the application server. Here, the data should carry the data connection identifiers of the terminal and the application server, so that the network side device can subsequently identify the data and perform QoS detection and/or QoS adjustment on the data.
步骤503,应用服务端携带双方的数据连接标识符向第三网络侧设备申请进行QoS的调整。In step 503, the application server carries the data connection identifiers of both parties to apply to the third network side device for QoS adjustment.
在终端与应用服务端建立数据连接进行数据传输之后,若有进行QoS调整的需求,则由应用服务端携带终端与应用服务端的数据连接标识符向第三网络侧设备申请进行QoS的调整。After the terminal establishes a data connection with the application server for data transmission, if there is a need for QoS adjustment, the application server carries the data connection identifier between the terminal and the application server to apply to the third network side device for QoS adjustment.
在一个具体实例中,手机终端访问某手游应用,手机终端与该手游应用服务端建立数据连接之后,当该手游应用服务端监测到QoS达不到手游体验需求时,手游应用服务端携带手机终端和手游应用服务端的数据连接标识符向第三网络侧设备请求进行QoS调整,如提升带宽。In a specific example, when a mobile terminal accesses a mobile game application, after the mobile terminal establishes a data connection with the mobile game application server, when the mobile game application server detects that the QoS cannot meet the mobile game experience requirements, the mobile game application service The terminal carries the data connection identifiers of the mobile terminal and the mobile game application server to request the third network side device to perform QoS adjustment, such as increasing bandwidth.
本实施例的应用服务端能够通过应用服务端的数据连接标识符与终端建立数据连接,不必在IP地址发生变化时为了建立连接而不断重新查询IP地址,屏蔽了IP地址的频繁变化对数据连接建立的影响。本实施例的应用服务端与终端传输的数据携带有应用服务端和终端的数据连接标识符。即使IP地址发生变化,第二网络侧设备也能够直接通过数据连接标识符识别传输的数据并对数据进行QoS检测和/或QoS调整。The application server of this embodiment can establish a data connection with the terminal through the data connection identifier of the application server, and it is not necessary to continuously re-query the IP address in order to establish a connection when the IP address changes, shielding the frequent changes of the IP address from affecting the establishment of the data connection. Impact. The data transmitted between the application server and the terminal in this embodiment carries the data connection identifiers of the application server and the terminal. Even if the IP address changes, the second network side device can directly identify the transmitted data through the data connection identifier and perform QoS detection and/or QoS adjustment on the data.
本申请的实施例还涉及一种网络侧设备(上述第一网络侧设备),如图6所示,包括分配模块601、发送模块602和同步模块603。The embodiment of the present application also relates to a network-side device (the above-mentioned first network-side device), as shown in FIG. 6 , including an allocation module 601 , a sending module 602 and a synchronization module 603 .
分配模块601配置为为终端分配数据连接标识符并将分配的数据连接标识符与所述终端的IP地址相关联,为应用服务端分配数据连接标识符并将分配的数据连接标识符与所述应用服务端的IP地址相关联。The assignment module 601 is configured to assign a data connection identifier to the terminal and associate the assigned data connection identifier with the IP address of the terminal, assign a data connection identifier to the application server and associate the assigned data connection identifier with the The IP address of the application server is associated.
发送模块602配置为向终端发送应用服务端的数据连接标识符,供终端基于应用服务端的数据连接标识符与应用服务端建立数据连接,并传输携带终端和应用服务端的数据连接标识符的数据。The sending module 602 is configured to send the data connection identifier of the application server to the terminal, for the terminal to establish a data connection with the application server based on the data connection identifier of the application server, and transmit data carrying the data connection identifiers of the terminal and the application server.
同步模块603配置为将终端和应用服务端的数据连接标识符同 步给第二网络侧设备,供第二网络侧设备根据终端和应用服务端的数据连接标识符识别传输的数据,并对数据进行QoS的检测和/或QoS调整。The synchronization module 603 is configured to synchronize the data connection identifiers of the terminal and the application server to the second network-side device, so that the second network-side device can identify the transmitted data according to the data connection identifiers of the terminal and the application server, and perform QoS on the data detection and/or QoS adjustment.
本实施例提供的网络侧设备能够为终端和应用服务端分别分配数据连接标识符,并将分配的数据连接标识符与其各自的IP地址相关联,以使终端与应用服务端能够通过数据连接标识符建立数据连接,不必在IP地址发生变化时为了建立连接而不断重新查询IP地址,屏蔽了IP地址的频繁变化对数据连接建立的影响。该网络侧设备将终端和应用服务端的数据连接标识符同步给第二网络侧设备,即使终端与应用服务端的IP地址频繁发生变化,第二网络侧设备也能够直接通过数据连接标识符识别传输的数据并对数据进行QoS检测和/或QoS调整。The network-side device provided in this embodiment can assign data connection identifiers to the terminal and the application server respectively, and associate the assigned data connection identifiers with their respective IP addresses, so that the terminal and the application server can identify each other through the data connection. It does not need to re-query the IP address in order to establish a connection when the IP address changes, which shields the impact of frequent changes in the IP address on the establishment of the data connection. The network-side device synchronizes the data connection identifiers of the terminal and the application server to the second network-side device. Even if the IP addresses of the terminal and the application server change frequently, the second network-side device can directly identify the transmitted data through the data connection identifier. Data and perform QoS detection and/or QoS adjustment on the data.
本申请的实施例还涉及一种网络侧设备(上述第二网络侧设备),如图7所示,包括接收模块701和检测执行模块702。The embodiment of the present application also relates to a network side device (the aforementioned second network side device), as shown in FIG. 7 , including a receiving module 701 and a detection execution module 702 .
接收模块701配置为接收第一网络侧设备发送的终端和应用服务端的数据连接标识符。The receiving module 701 is configured to receive the data connection identifiers of the terminal and the application server sent by the first network side device.
检测执行模块702配置为根据终端和应用服务端的数据连接标识符识别传输的数据,并对数据进行QoS的检测和/或QoS调整。The detection execution module 702 is configured to identify transmitted data according to the data connection identifiers of the terminal and the application server, and perform QoS detection and/or QoS adjustment on the data.
本实施例提供的网络侧设备能够根据终端和应用服务端的数据连接标识符识别终端和应用服务端传输的数据,并对数据进行QoS的检测和/或QoS调整。即使IP地址发生变化,该网络侧设备也能够直接通过数据连接标识符识别传输的数据并对数据进行QoS检测和/或QoS调整。在终端与应用服务端的IP地址频繁发生变化的情况下,大大减轻了识别数据并进行QoS检测和/或QoS调整的压力。The network-side device provided in this embodiment can identify the data transmitted by the terminal and the application server according to the data connection identifiers of the terminal and the application server, and perform QoS detection and/or QoS adjustment on the data. Even if the IP address changes, the network side device can directly identify the transmitted data through the data connection identifier and perform QoS detection and/or QoS adjustment on the data. In the case that the IP addresses of the terminal and the application server change frequently, the pressure of identifying data and performing QoS detection and/or QoS adjustment is greatly reduced.
本申请的实施例还涉及一种终端,如图8所示,包括申请模块801、获取模块802和传输模块803。The embodiment of the present application also relates to a terminal, as shown in FIG. 8 , including an application module 801 , an acquisition module 802 and a transmission module 803 .
申请模块801配置为向第一网络侧设备申请终端的数据连接标识符,终端的数据连接标识符与终端的IP地址相关联。The application module 801 is configured to apply for a data connection identifier of the terminal from the first network side device, where the data connection identifier of the terminal is associated with the IP address of the terminal.
获取模块802配置为获取应用服务端的数据连接标识符,通过应用服务端的数据连接标识符与应用服务端建立数据连接;应用服务 端的数据连接标识符与应用服务端的的IP地址相关联。The obtaining module 802 is configured to obtain the data connection identifier of the application server, and establish a data connection with the application server through the data connection identifier of the application server; the data connection identifier of the application server is associated with the IP address of the application server.
传输模块803配置为与应用服务端传输携带终端和应用服务端的数据连接标识符的数据,终端和应用服务端的数据连接标识符用于第二网络侧设备识别传输的数据,并对数据进行QoS检测和/或QoS调整。The transmission module 803 is configured to transmit data carrying data connection identifiers of the terminal and the application server with the application server, and the data connection identifiers of the terminal and the application server are used by the second network side device to identify the transmitted data and perform QoS detection on the data and/or QoS adjustments.
本实施例提供的终端能够通过数据连接标识符与应用服务端建立数据连接,不必在IP地址发生变化时为了建立连接而不断重新查询IP地址,屏蔽了IP地址的频繁变化对数据连接建立的影响。本实施例提供的终端与应用服务端传输的数据携带有应用服务端和终端的数据连接标识符。即使IP地址发生变化,该网络侧设备也能够直接通过数据连接标识符识别传输的数据并对数据进行QoS检测和/或QoS调整。The terminal provided by this embodiment can establish a data connection with the application server through the data connection identifier, and does not need to constantly re-query the IP address in order to establish a connection when the IP address changes, shielding the impact of frequent changes in the IP address on the establishment of the data connection . The data transmitted between the terminal and the application server provided in this embodiment carries the data connection identifiers of the application server and the terminal. Even if the IP address changes, the network side device can directly identify the transmitted data through the data connection identifier and perform QoS detection and/or QoS adjustment on the data.
本申请的实施例还涉及一种应用服务端,如图9所示,包括申请模块901、建立模块902和传输模块903。The embodiment of the present application also relates to an application server, as shown in FIG. 9 , including an application module 901 , an establishment module 902 and a transmission module 903 .
申请模块901配置为向第一网络侧设备申请应用服务端的数据连接标识符,应用服务端的数据连接标识符与应用服务端的IP地址相关联。The application module 901 is configured to apply for the data connection identifier of the application server from the first network side device, and the data connection identifier of the application server is associated with the IP address of the application server.
建立模块902配置为通过应用服务端的数据连接标识符与终端建立数据连接。The establishment module 902 is configured to establish a data connection with the terminal through the data connection identifier of the application server.
传输模块903配置为与终端传输携带应用服务端和终端的数据连接标识符的数据,应用服务端和终端的数据连接标识符用于第二网络侧设备识别传输的数据,并对数据进行QoS检测和/或QoS调整。The transmission module 903 is configured to transmit data carrying the data connection identifiers of the application server and the terminal with the terminal, and the data connection identifiers of the application server and the terminal are used for the second network side device to identify the transmitted data and perform QoS detection on the data and/or QoS adjustments.
本实施例提供的应用服务端能够通过该应用服务端的数据连接标识符与终端建立数据连接,不必在IP地址发生变化时为了建立连接而不断重新查询IP地址,屏蔽了IP地址的频繁变化对数据连接建立的影响。本实施例提供的应用服务端与终端传输的数据携带有该应用服务端和终端的数据连接标识符。即使IP地址发生变化,第二网络侧设备也能够直接通过数据连接标识符识别传输的数据并对数据进行QoS检测和/或QoS调整。The application server provided by this embodiment can establish a data connection with the terminal through the data connection identifier of the application server, and it is not necessary to continuously re-query the IP address in order to establish a connection when the IP address changes, shielding the frequent changes of the IP address from affecting the data. Impact on connection establishment. The data transmitted between the application server and the terminal provided in this embodiment carries the data connection identifier of the application server and the terminal. Even if the IP address changes, the second network side device can directly identify the transmitted data through the data connection identifier and perform QoS detection and/or QoS adjustment on the data.
本申请上述实施例中所涉及到的各模块均为逻辑模块,在实际 应用中,一个逻辑单元可以是一个物理单元,也可以是一个物理单元中的一部分,还可以以多个物理单元的组合实现。此外,为了突出本申请的创新部分,各实施例中并没有将与解决本申请所提出的技术问题关系不太密切的单元引入,但这并不表明各实施例中不存在其它的单元。Each module involved in the above-mentioned embodiments of the present application is a logical module. In practical applications, a logical unit can be a physical unit, or a part of a physical unit, or a combination of multiple physical units. accomplish. In addition, in order to highlight the innovative part of the present application, units that are not closely related to solving the technical problems proposed in the present application are not introduced in each embodiment, but this does not mean that there are no other units in each embodiment.
本申请的实施例还提供一种电子设备,如图10所示,包括至少一个处理器1001;以及,与所述至少一个处理器1001通信连接的存储器1002;存储器1002存储有可被所述至少一个处理器1001执行的计算机可执行指令,所述计算机可执行指令被所述至少一个处理器1001执行,以使所述至少一个处理器1001能够执行上述数据连接的建立方法。The embodiment of the present application also provides an electronic device, as shown in FIG. 10 , including at least one processor 1001; and a memory 1002 communicatively connected to the at least one processor 1001; A computer-executable instruction executed by one processor 1001, where the computer-executable instruction is executed by the at least one processor 1001, so that the at least one processor 1001 can execute the above method for establishing a data connection.
存储器1002和处理器1001采用总线方式连接,总线可以包括任意数量的互联的总线和桥,总线将一个或多个处理器1001和存储器1002的各种电路连接在一起。总线还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路连接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口在总线和收发机之间提供接口。收发机可以是一个元件,也可以是多个元件,比如多个接收器和多个发送器,提供配置为在传输介质上与各种其他装置通信的单元。经处理器1001处理的数据通过天线在无线传输介质上进行传输,进一步,天线还接收数据并将数据传送给处理器1001。The memory 1002 and the processor 1001 are connected by a bus. The bus may include any number of interconnected buses and bridges. The bus connects one or more processors 1001 and various circuits of the memory 1002 together. The bus may also connect together various other circuits such as peripherals, voltage regulators, and power management circuits, all of which are well known in the art and therefore will not be further described herein. The bus interface provides an interface between the bus and the transceivers. A transceiver may be a single element, or multiple elements, such as multiple receivers and multiple transmitters, providing a unit configured to communicate with various other devices over a transmission medium. The data processed by the processor 1001 is transmitted on the wireless transmission medium through the antenna, and further, the antenna also receives the data and transmits the data to the processor 1001 .
处理器1001负责管理总线和通常的处理,还可以提供各种功能,包括定时、外围接口、电压调节、电源管理以及其他控制功能。而存储器1002可以配置为存储处理器1001在执行操作时所使用的数据。 Processor 1001 is responsible for managing the bus and general processing, and may also provide various functions including timing, peripheral interface, voltage regulation, power management, and other control functions. The memory 1002 may be configured to store data used by the processor 1001 when performing operations.
上述产品可执行本申请所提供的方法,具备执行方法相应的功能模块和有益效果,未在上述产品实施例中详尽描述的技术细节,可参见本申请所提供的方法。The above-mentioned products can execute the method provided in this application, and have corresponding functional modules and beneficial effects for executing the method. For technical details not described in detail in the above-mentioned product embodiments, please refer to the method provided in this application.
本申请的实施例还提供一种计算机可读存储介质,存储有计算机程序,计算机程序被处理器执行时实现上述数据连接的建立方法。Embodiments of the present application also provide a computer-readable storage medium storing a computer program, and implementing the above method for establishing a data connection when the computer program is executed by a processor.
本领域技术人员可以理解,实现上述方法中的全部或部分步骤是可以通过计算机程序来指令相关的硬件来完成,该计算机程序存储 在计算机可读存储介质中,包括若干指令,用以使得设备(可以是单片机,芯片等)或处理器(processor)执行本申请所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。Those skilled in the art can understand that all or part of the steps in the above method can be completed by instructing related hardware through a computer program, the computer program is stored in a computer-readable storage medium, and includes several instructions to make the device ( It may be a single-chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in this application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .
上述实施例是提供给本领域普通技术人员来实现和使用本申请的,本领域普通技术人员可以在不脱离本申请的思想的情况下,对上述实施例做出种种修改或变化,因而本申请的保护范围并不被上述实施例所限,而应该涵盖符合权利要求书所提到的创新性特征的最大范围。The above-mentioned embodiments are provided for those of ordinary skill in the art to implement and use this application, and those of ordinary skill in the art can make various modifications or changes to the above-mentioned embodiments without departing from the idea of this application, so this application The scope of protection is not limited by the above-mentioned embodiments, but should cover the maximum scope consistent with the innovative features mentioned in the claims.

Claims (14)

  1. 一种数据连接的建立方法,应用于第一网络侧设备,包括:A method for establishing a data connection, applied to a first network side device, comprising:
    为终端分配数据连接标识符并将分配的数据连接标识符与所述终端的互联网协议(IP)地址相关联,为应用服务端分配数据连接标识符并将分配的数据连接标识符与所述应用服务端的IP地址相关联;assigning a data connection identifier to the terminal and associating the assigned data connection identifier with the Internet Protocol (IP) address of the terminal, assigning a data connection identifier to the application server and linking the assigned data connection identifier to the application The IP address of the server is associated;
    向所述终端发送所述应用服务端的数据连接标识符,供所述终端基于所述应用服务端的数据连接标识符与所述应用服务端建立数据连接,并传输携带所述终端和所述应用服务端的数据连接标识符的数据;以及sending the data connection identifier of the application server to the terminal, so that the terminal can establish a data connection with the application server based on the data connection identifier of the application server, and transmit the information carrying the terminal and the application service the data of the data connection identifier of the terminal; and
    将所述终端和所述应用服务端的数据连接标识符同步给第二网络侧设备,供所述第二网络侧设备根据所述终端和所述应用服务端的数据连接标识符识别传输的所述数据,并对所述数据进行服务质量(QoS)的检测或QoS调整中的至少一者。synchronizing the data connection identifiers of the terminal and the application server to the second network-side device, so that the second network-side device can identify the transmitted data according to the data connection identifiers of the terminal and the application server , and perform at least one of quality of service (QoS) detection or QoS adjustment on the data.
  2. 根据权利要求1所述的数据连接的建立方法,其中,所述为终端分配数据连接标识符并将分配的数据连接标识符与所述终端的IP地址相关联包括:The method for establishing a data connection according to claim 1, wherein said assigning a data connection identifier to the terminal and associating the assigned data connection identifier with the IP address of the terminal comprises:
    接收所述终端注册数据连接标识符的申请;以及receiving an application from said terminal to register a data connection identifier; and
    为终端分配数据连接标识符并将分配的数据连接标识符与所述终端的IP地址相关联;assigning a data connection identifier to the terminal and associating the assigned data connection identifier with the IP address of said terminal;
    所述为应用服务端分配数据连接标识符并将分配的数据连接标识符与所述应用服务端的IP地址相关联包括:The allocating a data connection identifier for the application server and associating the allocated data connection identifier with the IP address of the application server includes:
    接收所述应用服务端注册数据连接标识符的申请;以及receiving an application for registering a data connection identifier from the application server; and
    为应用服务端分配数据连接标识符并将分配的数据连接标识符与所述应用服务端的IP地址相关联。Allocating a data connection identifier for the application server and associating the allocated data connection identifier with the IP address of the application server.
  3. 根据权利要求1所述的数据连接的建立方法,其中,所述将所述终端和所述应用服务端的数据连接标识符同步给第二网络侧设备包括:The method for establishing a data connection according to claim 1, wherein synchronizing the data connection identifiers of the terminal and the application server to the second network side device comprises:
    在检测到所述终端与所述应用服务端建立数据连接后,将所述终端和所述应用服务端的数据连接标识符同步给第二网络侧设备。After detecting that the terminal establishes a data connection with the application server, synchronizing the data connection identifiers of the terminal and the application server to the second network side device.
  4. 一种数据连接的建立方法,应用于第二网络侧设备,包括:A method for establishing a data connection, applied to a second network side device, comprising:
    接收第一网络侧设备发送的终端和应用服务端的数据连接标识符;以及receiving the data connection identifiers of the terminal and the application server sent by the first network side device; and
    根据所述终端和所述应用服务端的数据连接标识符识别传输的数据,并对所述数据进行QoS的检测或QoS调整中的至少一者。The transmitted data is identified according to the data connection identifiers of the terminal and the application server, and at least one of QoS detection or QoS adjustment is performed on the data.
  5. 根据权利要求4所述的数据连接的建立方法,其中,所述根据所述终端和所述应用服务端的数据连接标识符识别传输的数据,并对所述数据进行QoS的检测或QoS调整中的至少一者包括:The method for establishing a data connection according to claim 4, wherein the data to be transmitted is identified according to the data connection identifiers of the terminal and the application server, and QoS detection or QoS adjustment is performed on the data At least one of:
    根据所述终端和所述应用服务端的数据连接标识符识别传输的数据;identifying the transmitted data according to the data connection identifiers of the terminal and the application server;
    对所述数据进行QoS检测;以及performing QoS detection on the data; and
    若接收到第三网络侧设备对所述数据进行QoS调整的通知,则对所述数据进行QoS调整。If a notification that the third network side device performs QoS adjustment on the data is received, perform QoS adjustment on the data.
  6. 一种数据连接的建立方法,应用于终端,包括:A method for establishing a data connection, applied to a terminal, comprising:
    向第一网络侧设备申请所述终端的数据连接标识符,其中,所述终端的数据连接标识符与所述终端的IP地址相关联;Applying to the first network side device for the data connection identifier of the terminal, where the data connection identifier of the terminal is associated with the IP address of the terminal;
    获取应用服务端的数据连接标识符,通过所述应用服务端的数据连接标识符与所述应用服务端建立数据连接;其中,所述应用服务端的数据连接标识符与所述应用服务端的的IP地址相关联;以及Obtain the data connection identifier of the application server, and establish a data connection with the application server through the data connection identifier of the application server; wherein, the data connection identifier of the application server is related to the IP address of the application server link; and
    与所述应用服务端传输携带所述终端和所述应用服务端的数据连接标识符的数据,其中,所述终端和所述应用服务端的数据连接标识符用于第二网络侧设备识别传输的数据,并对所述数据进行QoS检测或QoS调整中的至少一者。transmitting data carrying the data connection identifiers of the terminal and the application server with the application server, wherein the data connection identifiers of the terminal and the application server are used by the second network side device to identify the transmitted data , and perform at least one of QoS detection or QoS adjustment on the data.
  7. 一种数据连接的建立方法,应用于应用服务端,包括:A method for establishing a data connection, applied to an application server, comprising:
    向第一网络侧设备申请所述应用服务端的数据连接标识符,其中,所述应用服务端的数据连接标识符与所述应用服务端的IP地址相关联;Applying to the first network side device for the data connection identifier of the application server, wherein the data connection identifier of the application server is associated with the IP address of the application server;
    通过所述应用服务端的数据连接标识符与终端建立数据连接;以及Establishing a data connection with the terminal through the data connection identifier of the application server; and
    与所述终端传输携带所述应用服务端和所述终端的数据连接标识符的数据,其中,所述应用服务端和所述终端的数据连接标识符用于第二网络侧设备识别传输的数据,并对所述数据进行QoS检测或QoS调整中的至少一者。transmitting data carrying the data connection identifiers of the application server and the terminal with the terminal, wherein the data connection identifiers of the application server and the terminal are used for the second network side device to identify the transmitted data , and perform at least one of QoS detection or QoS adjustment on the data.
  8. 根据权利要求7所述的数据连接的建立方法,还包括:The method for establishing a data connection according to claim 7, further comprising:
    在所述与所述终端传输携带所述应用服务端和所述终端的数据连接标识符的数据后,向第三网络侧设备发送用于申请进行QoS调整的申请请求,所述申请请求携带所述应用服务端和所述终端的数据连接标识符。After the data carrying the data connection identifiers of the application server and the terminal is transmitted with the terminal, an application request for applying for QoS adjustment is sent to the third network side device, and the application request carries the The data connection identifier of the application server and the terminal.
  9. 一种网络侧设备,包括:A network side device, comprising:
    分配模块,配置为为终端分配数据连接标识符并将分配的数据连接标识符与所述终端的IP地址相关联,为应用服务端分配数据连接标识符并将分配的数据连接标识符与所述应用服务端的IP地址相关联;An assignment module, configured to assign a data connection identifier to the terminal and associate the assigned data connection identifier with the IP address of the terminal, assign a data connection identifier to the application server and associate the assigned data connection identifier with the The IP address of the application server is associated;
    发送模块,配置为向所述终端发送所述应用服务端的数据连接标识符,供所述终端基于所述应用服务端的数据连接标识符与所述应用服务端建立数据连接,并传输携带所述终端和所述应用服务端的数据连接标识符的数据;以及A sending module, configured to send the data connection identifier of the application server to the terminal, for the terminal to establish a data connection with the application server based on the data connection identifier of the application server, and transmit the and the data of the data connection identifier of the application server; and
    同步模块,配置为将所述终端和所述应用服务端的数据连接标识符同步给第二网络侧设备,供所述第二网络侧设备根据所述终端和所述应用服务端的数据连接标识符识别传输的所述数据,并对所述数据进行QoS的检测或QoS调整中的至少一者。A synchronization module, configured to synchronize the data connection identifiers of the terminal and the application server to the second network side device for the second network side device to identify according to the data connection identifiers of the terminal and the application server The transmitted data, and perform at least one of QoS detection or QoS adjustment on the data.
  10. 一种网络侧设备,包括:A network side device, comprising:
    接收模块,配置为接收第一网络侧设备发送的终端和应用服务端的数据连接标识符;以及The receiving module is configured to receive the terminal and the data connection identifier of the application server sent by the first network side device; and
    检测执行模块,配置为根据所述终端和所述应用服务端的数据连接标识符识别传输的数据,并对所述数据进行QoS的检测或QoS调整中的至少一者。The detection execution module is configured to identify transmitted data according to the data connection identifiers of the terminal and the application server, and perform at least one of QoS detection or QoS adjustment on the data.
  11. 一种终端,包括:A terminal comprising:
    申请模块,配置为向第一网络侧设备申请所述终端的数据连接标识符,其中,所述终端的数据连接标识符与所述终端的IP地址相关联;The application module is configured to apply for the data connection identifier of the terminal from the first network side device, wherein the data connection identifier of the terminal is associated with the IP address of the terminal;
    获取模块,配置为获取应用服务端的数据连接标识符,通过所述应用服务端的数据连接标识符与所述应用服务端建立数据连接;其中,所述应用服务端的数据连接标识符与所述应用服务端的的IP地址相关联;以及The obtaining module is configured to obtain a data connection identifier of an application server, and establish a data connection with the application server through the data connection identifier of the application server; wherein, the data connection identifier of the application server is connected to the application service associated with the IP address of the client; and
    传输模块,配置为与所述应用服务端传输携带所述终端和所述应用服务端的数据连接标识符的数据,其中,所述终端和所述应用服务端的数据连接标识符用于第二网络侧设备识别传输的数据,并对所述数据进行QoS检测或QoS调整中的至少一者。A transmission module configured to transmit data carrying data connection identifiers of the terminal and the application server with the application server, wherein the data connection identifiers of the terminal and the application server are used by the second network side The device identifies the transmitted data and performs at least one of QoS detection or QoS adjustment on the data.
  12. 一种应用服务端,包括:An application server, comprising:
    申请模块,配置为向第一网络侧设备申请所述应用服务端的数据连接标识符,其中,所述应用服务端的数据连接标识符与所述应用服务端的IP地址相关联;The application module is configured to apply for the data connection identifier of the application server from the first network side device, wherein the data connection identifier of the application server is associated with the IP address of the application server;
    建立模块,配置为通过所述应用服务端的数据连接标识符与终端建立数据连接;以及An establishment module configured to establish a data connection with the terminal through the data connection identifier of the application server; and
    传输模块,配置为与所述终端传输携带所述应用服务端和所述终端的数据连接标识符的数据,其中,所述应用服务端和所述终端的数据连接标识符用于第二网络侧设备识别传输的数据,并对所述数据进行QoS检测或QoS调整中的至少一者。A transmission module configured to transmit data carrying data connection identifiers of the application server and the terminal with the terminal, wherein the data connection identifiers of the application server and the terminal are used by the second network side The device identifies the transmitted data and performs at least one of QoS detection or QoS adjustment on the data.
  13. 一种电子设备,包括:An electronic device comprising:
    至少一个处理器;以及,at least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的计算机可执行指令,所述计算机可执行指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如权利要求1至8中任一项所述的数据连接的建立方法。The memory stores computer-executable instructions executable by the at least one processor, the computer-executable instructions being executed by the at least one processor to enable the at least one processor to perform the A method for establishing a data connection according to any one of 8.
  14. 一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1至8中任一项所述的数据连接的建立方法。A computer-readable storage medium storing a computer program, and implementing the method for establishing a data connection according to any one of claims 1 to 8 when the computer program is executed by a processor.
PCT/CN2022/109092 2021-08-03 2022-07-29 Data connection establishment method, terminal, application server, network side device, electronic device, and computer readable storage medium WO2023011361A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110886834.7 2021-08-03
CN202110886834.7A CN115915288A (en) 2021-08-03 2021-08-03 Data connection establishing method, terminal, application server and network side equipment

Publications (1)

Publication Number Publication Date
WO2023011361A1 true WO2023011361A1 (en) 2023-02-09

Family

ID=85154273

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/109092 WO2023011361A1 (en) 2021-08-03 2022-07-29 Data connection establishment method, terminal, application server, network side device, electronic device, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN115915288A (en)
WO (1) WO2023011361A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109842921A (en) * 2017-09-28 2019-06-04 中国移动通信有限公司研究院 A kind of connection control method and terminal
CN110225599A (en) * 2018-03-02 2019-09-10 电信科学技术研究院有限公司 A kind of determination method and device of scheduling request configuration
CN112351403A (en) * 2019-08-07 2021-02-09 华为技术有限公司 Communication method, method for establishing SLRB and communication device
WO2022032464A1 (en) * 2020-08-11 2022-02-17 Zte Corporation Associating transport identifiers with quality of service flows

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109842921A (en) * 2017-09-28 2019-06-04 中国移动通信有限公司研究院 A kind of connection control method and terminal
CN110225599A (en) * 2018-03-02 2019-09-10 电信科学技术研究院有限公司 A kind of determination method and device of scheduling request configuration
CN112351403A (en) * 2019-08-07 2021-02-09 华为技术有限公司 Communication method, method for establishing SLRB and communication device
WO2022032464A1 (en) * 2020-08-11 2022-02-17 Zte Corporation Associating transport identifiers with quality of service flows

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"3rd Generation Partnership Project; Technical Specification Group Core Network and Terminals; Study on IETF QUIC Transport for 5GC Service Based Interfaces; (Release 17)", 3GPP STANDARD; TECHNICAL REPORT; 3GPP TR 29.893, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. CT WG4, no. V1.7.0, 8 February 2021 (2021-02-08), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , pages 1 - 39, XP051999320 *
"3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; Study on Access Traffic Steering, Switch and Splitting support in the 5G system architecture Phase 2 (Release 17)", 3GPP STANDARD; TECHNICAL REPORT; 3GPP TR 23.700-93, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, no. V0.2.0, 3 July 2020 (2020-07-03), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , pages 1 - 42, XP051924140 *

Also Published As

Publication number Publication date
CN115915288A (en) 2023-04-04

Similar Documents

Publication Publication Date Title
AU2021266341B2 (en) Session processing method, device, and system
US20200322867A1 (en) Data Routing Method and Terminal
EP3985931A1 (en) Service flow division method, apparatus, and system, electronic device, and storage medium
EP2536092A1 (en) Method and device for port mapping, and communications system
US11646973B2 (en) Method for managing hardware resource, method for querying location of hardware resource, and related apparatus
US20230161541A1 (en) Screen projection method and system
US10673692B2 (en) Method, apparatus, and system for acquiring configuration file
WO2017167027A1 (en) Network access method, and associated equipment and system
CN1863193B (en) Method for implementing safety tactics of network safety apparatus
US11005706B2 (en) Method for configuring forwarding table for user equipment, apparatus, and system
US20120300776A1 (en) Method for creating virtual link, communication network element, and ethernet network system
CN114025009A (en) Method, system, proxy server and device for forwarding request
WO2023011361A1 (en) Data connection establishment method, terminal, application server, network side device, electronic device, and computer readable storage medium
CN110430478B (en) Networking communication method, device, terminal equipment and storage medium
WO2023016460A1 (en) Computing task policy determination or resource allocation method and apparatus, network element, and medium
WO2023273799A1 (en) Communication method and apparatus for external devices, electronic device, and storage medium
EP3641226B1 (en) Address allocation method and related device
WO2022135132A1 (en) Service processing method and apparatus, electronic device, and storage medium
WO2022035010A1 (en) Real-time lightweight nat keep-alive interval optimization for multi-sim mobile devices
US10635466B2 (en) Enhanced security using remote applications
CN113973098A (en) Method and device for sending domain name system request
CN115051982B (en) Information processing method, system and storage medium based on FTP protocol
WO2024061145A1 (en) Gateway information use method and apparatus, terminal, and network side device
WO2018188447A1 (en) Ip address configuration method and device
US20220385698A1 (en) Method and apparatus for controlling network service of internet of things terminal, and storage medium

Legal Events

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

Ref document number: 22852074

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE