CN112449382A - Data transmission method and server - Google Patents

Data transmission method and server Download PDF

Info

Publication number
CN112449382A
CN112449382A CN201910804540.8A CN201910804540A CN112449382A CN 112449382 A CN112449382 A CN 112449382A CN 201910804540 A CN201910804540 A CN 201910804540A CN 112449382 A CN112449382 A CN 112449382A
Authority
CN
China
Prior art keywords
server
transfer point
preset condition
data transmission
service transfer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910804540.8A
Other languages
Chinese (zh)
Other versions
CN112449382B (en
Inventor
魏群
马瑞涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201910804540.8A priority Critical patent/CN112449382B/en
Publication of CN112449382A publication Critical patent/CN112449382A/en
Application granted granted Critical
Publication of CN112449382B publication Critical patent/CN112449382B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0033Control or signalling for completing the hand-off for data sessions of end-to-end connection with transfer of context information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/22Performing reselection for specific purposes for handling the traffic

Landscapes

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

Abstract

本发明的实施例提供了一种数据传输方法和服务器,涉及通信技术领域,解决了现有技术中存在信息从UE传输至AF时,虽然UE至UPF的距离最短,但由于不能保证UPF传至AF的距离最短,导致信息传输的总数据传输时延无法保证是最低的数据传输时延的问题。该方法包括:服务器确定与UE建立承载时,获取相邻服务器列表、UE的业务转接点列表和请求的业务类型;服务器根据业务类型,确定业务转接点列表中存在满足第一预设条件的业务转接点时,向核心网设备发送第一指示信令;和/或,服务器根据业务类型,确定相邻服务器列表中存在满足第二预设条件的相邻服务器时,向核心网设备发送第二指示信令。

Figure 201910804540

Embodiments of the present invention provide a data transmission method and server, which relate to the field of communication technologies, and solve the problem in the prior art that when information is transmitted from a UE to an AF, although the distance from the UE to the UPF is the shortest, it cannot be guaranteed that the UPF is transmitted to the The distance of AF is the shortest, resulting in the problem that the total data transmission delay of information transmission cannot be guaranteed to be the lowest data transmission delay. The method includes: when the server determines to establish a bearer with the UE, obtaining a list of adjacent servers, a list of service transfer points of the UE and a requested service type; When the service transfer point is established, send the first indication signaling to the core network device; and/or, when the server determines that there is a neighbor server satisfying the second preset condition in the neighbor server list according to the service type, send the first indication signaling to the core network device Send the second indication signaling.

Figure 201910804540

Description

一种数据传输方法和服务器A data transmission method and server

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种数据传输方法和服务器。The present invention relates to the field of communication technologies, and in particular, to a data transmission method and a server.

背景技术Background technique

第五代移动通信技术(英文全称:5th-generation,简称:5G)网络架构中,边缘计算技术使运营商和第三方服务可以部署到靠近用户设备(英文全称:user equipment,简称:UE)的接入访问点,从而减少端到端时延和传输网络负载,实现更加高效的服务交付。其实现原理为5G核心网选择靠近UE的用户面功能实体(英文全称:user plane function,简称:UPF),并在UPF上通过N6接口将业务流量定向到本地数据网络。In the fifth-generation mobile communication technology (English full name: 5th-generation, abbreviation: 5G) network architecture, edge computing technology enables operators and third-party services to be deployed close to user equipment (English full name: user equipment, abbreviation: UE). Access points, thereby reducing end-to-end latency and transmission network load, enabling more efficient service delivery. The implementation principle is that the 5G core network selects a user plane function entity (full name in English: user plane function, UPF for short) close to the UE, and directs service traffic to the local data network through the N6 interface on the UPF.

现有技术中,如图1所示边缘计算技术在链接建立之前,网络选择距离UE最近的UPF,之后建立被选择的UPF和UE之间的数据连接。但是由于端到端时延并不仅仅计算从UE到UPF的时延,信息由UE传输至UPF后还需要传输到应用功能(英文全称:ApplicationFunction,简称:AF),而当AF位于运营商网络内,或者网络外时,此时核心网并不能直接确定UPF与AF之间实际的传输时延,只能根据预先设定的规则为该UE匹配一个AF,此时,当信息从UE传输至AF时,虽然UE至UPF的距离最短时,却并不能保证UPF传至AF的距离最短,导致总数据传输时延无法保证是最低的数据传输时延,从而影响用户的体验。In the prior art, in the edge computing technology shown in FIG. 1 , before the link is established, the network selects the UPF closest to the UE, and then establishes a data connection between the selected UPF and the UE. However, since the end-to-end delay does not only calculate the delay from the UE to the UPF, after the information is transmitted from the UE to the UPF, it also needs to be transmitted to the application function (English full name: ApplicationFunction, abbreviation: AF), and when the AF is located in the operator network In this case, the core network cannot directly determine the actual transmission delay between the UPF and the AF, and can only match an AF for the UE according to the preset rules. At this time, when the information is transmitted from the UE to the AF During AF, although the distance from UE to UPF is the shortest, it cannot guarantee the shortest distance from UPF to AF, so the total data transmission delay cannot be guaranteed to be the lowest data transmission delay, which affects the user experience.

由上述方案可知,现有技术中存在信息从UE传输至AF时,虽然UE至UPF的距离最短,但由于不能保证UPF传至AF的距离最短,导致信息传输的总数据传输时延无法保证是最低的数据传输时延的问题。It can be seen from the above solutions that in the prior art, when the information is transmitted from the UE to the AF, although the distance from the UE to the UPF is the shortest, since the distance from the UPF to the AF cannot be guaranteed to be the shortest, the total data transmission delay of the information transmission cannot be guaranteed to be The problem of the lowest data transmission delay.

发明内容SUMMARY OF THE INVENTION

本发明的实施例提供一种数据传输方法和服务器,解决了现有技术中存在信息从UE传输至AF时,虽然UE至UPF的距离最短,但由于不能保证UPF传至AF的距离最短,导致信息传输的总数据传输时延无法保证是最低的数据传输时延的问题。Embodiments of the present invention provide a data transmission method and server, which solve the problem that when information is transmitted from UE to AF in the prior art, although the distance from UE to UPF is the shortest, the shortest distance from UPF to AF cannot be guaranteed, resulting in The total data transmission delay of information transmission cannot be guaranteed to be the problem of the lowest data transmission delay.

为达到上述目的,本发明的实施例采用如下技术方案:To achieve the above object, the embodiments of the present invention adopt the following technical solutions:

第一方面,本发明的实施例提供一种数据传输方法,包括:服务器确定与UE建立承载时,获取相邻服务器列表、UE的业务转接点列表和请求的业务类型;其中,相邻服务器列表包括至少一个相邻服务器,业务转接点列表包括至少一个可建立承载的业务转接点;服务器根据业务类型,确定业务转接点列表中存在满足第一预设条件的业务转接点时,向核心网设备发送携带满足第一预设条件的业务转接点的第一指示信令,以便核心网设备根据第一指示信令,通过满足第一预设条件的业务转接点重新建立UE至服务器的通信链路;和/或,服务器根据业务类型,确定相邻服务器列表中存在满足第二预设条件的相邻服务器时,向核心网设备发送携带满足第二预设条件的相邻服务器的第二指示信令,以便核心网设备根据第二指示信令,通过当前业务转接点重新建立UE至满足第二预设条件的相邻服务器的通信链路;其中,每种业务类型对应一个预设条件,通信链路的数据传输时延最低。In a first aspect, an embodiment of the present invention provides a data transmission method, including: when a server determines to establish a bearer with a UE, obtains a list of adjacent servers, a list of service transfer points of the UE, and a requested service type; wherein, the adjacent server The list includes at least one adjacent server, and the service transfer point list includes at least one bearer-establishable service transfer point; the server determines, according to the service type, when there is a service transfer point that meets the first preset condition in the service transfer point list , send the first indication signaling carrying the service transfer point that satisfies the first preset condition to the core network device, so that the core network device can re-establish the service transfer point that satisfies the first preset condition according to the first instruction signaling The communication link from the UE to the server; and/or, when the server determines, according to the service type, that there is a neighbor server that meets the second preset condition in the neighbor server list, it sends a message to the core network device that carries the phase that meets the second preset condition. The second indication signaling of the neighboring server, so that the core network device re-establishes the communication link between the UE and the neighboring server that satisfies the second preset condition through the current service transfer point according to the second indication signaling; wherein, each service The type corresponds to a preset condition, and the data transmission delay of the communication link is the lowest.

由上述方案可知,由于UE可以通过不同的业务转接点与服务器建立承载,而UE通过每个业务转接点与服务器建立承载时对应的时延不同;因此,本发明的实施例提供的数据传输方法,根据UE请求的业务类型,服务器判别业务转接点列表中存在满足第一预设条件的业务转接点时,向核心网设备发送携带满足第一预设条件的业务转接点的第一指示信令,以便核心网设备根据第一指示信令,通过满足第一预设条件的业务转接点重新建立UE至服务器的通信链路;和/或,根据UE请求的业务类型,判别相邻服务器列表中存在满足第二预设条件的相邻服务器时,向核心网设备发送携带满足第二预设条件的相邻服务器的第二指示信令,以便核心网设备根据第二指示信令,通过当前业务转接点重新建立UE至满足第二预设条件的相邻服务器的通信链路,从而核心网设备可以确定出数据传输时延最短的通信链路,保证了用户的体验,进而解决了现有技术中存在信息从UE传输至AF时,虽然UE至UPF的距离最短,但由于不能保证UPF传至AF的距离最短,导致信息传输的总数据传输时延无法保证是最低的数据传输时延的问题。It can be seen from the above solution that since the UE can establish a bearer with the server through different service transfer points, the corresponding delay when the UE establishes a bearer with the server through each service transfer point is different; therefore, the data provided by the embodiments of the present invention are The transmission method, according to the service type requested by the UE, when the server determines that there is a service transfer point that satisfies the first preset condition in the service transfer point list, and sends a message carrying the service transfer point that meets the first preset condition to the core network device. the first indication signaling, so that the core network device re-establishes the communication link between the UE and the server through the service transfer point that satisfies the first preset condition according to the first indication signaling; and/or, according to the service type requested by the UE, When judging that there are adjacent servers meeting the second preset condition in the adjacent server list, send the second indication signaling carrying the adjacent servers meeting the second preset condition to the core network device, so that the core network device can follow the second indication signaling, through the current service transfer point to re-establish the communication link between the UE and the adjacent server that satisfies the second preset condition, so that the core network device can determine the communication link with the shortest data transmission delay, which ensures the user experience , which solves the problem in the prior art that when the information is transmitted from the UE to the AF, although the distance from the UE to the UPF is the shortest, because the distance from the UPF to the AF cannot be guaranteed to be the shortest, the total data transmission delay of the information transmission cannot be guaranteed to be the lowest. the problem of data transmission delay.

第二方面,本发明的实施例提供一种服务器,包括:收发单元,用于处理单元确定与UE建立承载时,获取相邻服务器列表、UE的业务转接点列表和请求的业务类型;其中,相邻服务器列表包括至少一个相邻服务器,业务转接点列表包括至少一个可建立承载的业务转接点;处理单元,还用于根据收发单元获取的业务类型,确定收发单元获取的业务转接点列表中存在满足第一预设条件的业务转接点时,控制收发单元向核心网设备发送携带满足第一预设条件的业务转接点的第一指示信令,以便核心网设备根据第一指示信令,通过满足第一预设条件的业务转接点重新建立UE至服务器的通信链路;和/或,处理单元,还用于根据收发单元获取的业务类型,确定收发单元获取的相邻服务器列表中存在满足第二预设条件的相邻服务器时,控制收发单元向核心网设备发送携带满足第二预设条件的相邻服务器的第二指示信令,以便核心网设备根据第二指示信令,通过当前业务转接点重新建立UE至满足第二预设条件的相邻服务器的通信链路;其中,每种业务类型对应一个预设条件,通信链路的数据传输时延最低。In a second aspect, an embodiment of the present invention provides a server, including: a transceiver unit, configured to obtain a list of adjacent servers, a list of service transfer points of the UE, and a requested service type when the processing unit determines to establish a bearer with a UE; wherein , the adjacent server list includes at least one adjacent server, and the service transfer point list includes at least one service transfer point that can establish a bearer; the processing unit is further configured to determine the service transfer acquired by the transceiver unit according to the service type acquired by the transceiver unit. When there is a service transfer point that satisfies the first preset condition in the contact list, the transceiver unit is controlled to send the first indication signaling carrying the service transfer point that meets the first preset condition to the core network device, so that the core network device can according to the The first indication signaling is to re-establish the communication link between the UE and the server through the service transfer point that satisfies the first preset condition; and/or, the processing unit is further configured to determine, according to the service type obtained by the transceiver unit, that the transceiver unit obtains When there are adjacent servers that meet the second preset condition in the adjacent server list of The second indication signaling is to re-establish the communication link between the UE and the adjacent server that satisfies the second preset condition through the current service transfer point; wherein, each service type corresponds to a preset condition, when the data of the communication link is transmitted Minimum delay.

第三方面,本发明的实施例提供一种服务器,包括:通信接口、处理器、存储器、总线;存储器用于存储计算机执行指令,处理器与存储器通过总线连接,当服务器运行时,处理器执行存储器存储的计算机执行指令,以使服务器执行如上述第一方面提供的方法。In a third aspect, an embodiment of the present invention provides a server, including: a communication interface, a processor, a memory, and a bus; the memory is used to store computer execution instructions, the processor and the memory are connected through a bus, and when the server is running, the processor executes The computer-executed instructions stored in the memory cause the server to perform the method provided by the first aspect above.

第四方面,本发明的实施例提供一种计算机存储介质,包括指令,当其在计算机上运行时,使得计算机执行如上述第一方面提供的方法。In a fourth aspect, embodiments of the present invention provide a computer storage medium comprising instructions, which when executed on a computer, cause the computer to perform the method provided in the above-mentioned first aspect.

可以理解地,上述提供的任一种服务器用于执行上文所提供的第一方面对应的方法,因此,其所能达到的有益效果可参考上文第一方面的方法以及下文具体实施方式中对应的方案的有益效果,此处不再赘述。It can be understood that any one of the servers provided above is used to execute the method corresponding to the first aspect provided above. Therefore, for the beneficial effects that can be achieved, reference may be made to the method of the first aspect above and the following detailed description. The beneficial effects of the corresponding solution will not be repeated here.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.

图1为本发明的实施例提供的数据传输方法的网络架构图;1 is a network architecture diagram of a data transmission method provided by an embodiment of the present invention;

图2为现有技术中PDU会话建立流程示意图;2 is a schematic diagram of a flow chart of a PDU session establishment in the prior art;

图3为本发明的实施例提供的数据传输方法的流程示意图之一;3 is one of the schematic flowcharts of the data transmission method provided by the embodiment of the present invention;

图4为本发明的实施例提供的数据传输方法的流程示意图之二;4 is a second schematic flowchart of a data transmission method provided by an embodiment of the present invention;

图5为本发明的实施例提供的数据传输方法的流程示意图之三;5 is a third schematic flowchart of a data transmission method provided by an embodiment of the present invention;

图6为本发明的实施例提供的数据传输方法的流程示意图之四;6 is a fourth schematic flowchart of a data transmission method provided by an embodiment of the present invention;

图7为本发明的实施例提供的数据传输方法的流程示意图之五;7 is a fifth schematic flowchart of a data transmission method provided by an embodiment of the present invention;

图8为本发明的实施例提供的数据传输方法的流程示意图之六;8 is a sixth schematic flowchart of a data transmission method provided by an embodiment of the present invention;

图9为本发明的实施例提供的数据传输方法的流程示意图之七;FIG. 9 is a seventh schematic flowchart of a data transmission method provided by an embodiment of the present invention;

图10为本发明的实施例提供的数据传输方法的部署距离的示意图;10 is a schematic diagram of a deployment distance of a data transmission method provided by an embodiment of the present invention;

图11为本发明的实施例提供的服务器的结构示意图之一;11 is one of the schematic structural diagrams of a server provided by an embodiment of the present invention;

图12为本发明的实施例提供的服务器的结构示意图之二。FIG. 12 is a second schematic structural diagram of a server provided by an embodiment of the present invention.

附图标记:Reference number:

服务器-10;server-10;

收发单元-101;处理单元-102。Transceiver unit-101; Processing unit-102.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

为了便于清楚描述本发明实施例的技术方案,在本发明的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分,本领域技术人员可以理解“第一”、“第二”等字样并不是在对数量和执行次序进行限定。In order to clearly describe the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, words such as "first" and "second" are used to distinguish the same items or similar items with basically the same functions and functions. Those skilled in the art can understand that words such as "first" and "second" are not intended to limit the quantity and execution order.

在本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as an example, illustration or illustration. Any embodiments or designs described as "exemplary" or "such as" in the embodiments of the present invention should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present the related concepts in a specific manner.

在本发明实施例的描述中,除非另有说明,“多个”的含义是指两个或两个以上。例如,多个网络是指两个或两个以上的网络。In the description of the embodiments of the present invention, unless otherwise specified, the meaning of "plurality" refers to two or more. For example, multiple networks refers to two or more networks.

本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。The term "and/or" in this article is only an association relationship to describe the associated objects, indicating that there can be three kinds of relationships, for example, A and/or B, it can mean that A exists alone, A and B exist at the same time, and A and B exist independently B these three cases. The symbol "/" in this document indicates the relationship in which the associated object is or, for example, A/B indicates A or B.

本发明实施例中的UE可以为智能移动终端、无人机(英文全称:unmanned aerialvehicle/drones,简称:UAV)或者智能汽车。该智能移动终端为具有操作系统的移动终端。该智能移动终端可以为:智能手机、平板电脑、笔记本电脑、超级移动个人计算机(英文全称:ultra-mobile personal computer,简称:UMPC)、上网本、个人数字助理(英文全称:personal digital assistant,简称:PDA)、智能手表、智能手环等终端设备,或者该智能移动终端还可以为其他类型的智能移动终端,本发明实施例不作具体限制。The UE in the embodiment of the present invention may be an intelligent mobile terminal, an unmanned aerial vehicle (full name in English: unmanned aerialvehicle/drones, UAV for short), or a smart car. The intelligent mobile terminal is a mobile terminal with an operating system. The intelligent mobile terminal can be: a smart phone, a tablet computer, a notebook computer, an ultra-mobile personal computer (full name in English: ultra-mobile personal computer, abbreviation: UMPC), a netbook, and a personal digital assistant (full name in English: personal digital assistant, abbreviated as: PDA), smart watch, smart bracelet and other terminal devices, or the smart mobile terminal may also be other types of smart mobile terminals, which are not specifically limited in the embodiment of the present invention.

本发明的实施例提供的数据传输方法应用于如图1所示的网络架构,包括:UE、基站(英文全称:evolved node B,简称:eNodeB)、无线电接入网(英文全称:radio accessnetwork,简称:RAN)、访问和移动性管理功能实体(英文全称:access and mobilitymanagement function,简称:AMF)、会话管理功能实体(英文全称:session managementfunction,简称:SMF)、策略控制功能实体(英文全称:policy control function,PCF)、归属签约用户服务器(英文全称:unified data management,简称:UDM)、目标网络(英文全称:destination network,简称:DN)、UPF和AF;其中,RAN包括,基站(英文全称:evolvednode B,简称:eNodeB);如图2所示UE建立协议数据单元(英文全称:Protocol Data Unit,简称:PDU)会话时,第一步、UE向AMF发送NAS消息,携带PDU会话建立请求;第二步、AMF基于请求类型、NSSAI等信息进行SMF选择;第三步、AMF向SMF发送PDU会话建立上下文请求;第四步、SMF调用(用户数据库注册)Nudm_UECM_Registration针对该PDU Session在UDM中注册;第五步、SMF向AMF返回(PDU会话上下文创建反馈)Nsmf_PDUSession_CreateSMContextResponse携带Cause和(会话管理上下文ID)SM Context ID;第六步、SMF执行PCF选择功能;第七步、SMF执行(会话管理策略建立)Session Management Policy Establishment流程,为PDU会话获取默认PCC规则;第八步、SMF为PDU会话选择SSC Mode,执行UPF选择,并为UE分配IPv6前缀;第九步、SMF向UPF发送(N4接口会话建立请求)N4 Session EstablishmentRequest消息;第十步、UPF向SMF响应(N4接口会话建立响应)N4 Session EstablishmentResponse消息;第十一步、SMF向AMF发起(通信N1N2消息传输)Namf_Communication_N1N2MessageTransfer,携带分配的IP地址,QoS信息,以及(PDU会话建立接受)PDU SessionEstablishment Accept;第十二步、AMF向RAN发送(N2接口PDU会话请求)N2 PDU SessionRequest,携带(PDU会话建立接受)PDU Session Establishment Accept;第十三步、RAN向UE转发NAS消息;第十四步、RAN向AMF发送(N2接口PDU会话响应)N2 PDU SessionResponse,携带(接入网络通道信息)AN Tunnel Info;第十五步、AMF向SMF发送(PDU会话内容更新请求)Nsmf_PDUSession_UpdateSMContext Request;第十六步、SMF向UPF发送(N4承载修改)N4 Session Modification,提供AN tunnel info;第十七步、UPF向SMF返回(N4承载修改响应)N4 Session Modification Response;第十八步、SMF向AMF发送(PDU会话内容更新响应)Nsmf_PDUSession_UpdateSMContext Response(Cause);第十九步、SMF通过UPF向UE发送(IPv6路由广播)IPv6 Router Advertisement,从而建立UE与AF的PDU会话。The data transmission method provided by the embodiment of the present invention is applied to the network architecture shown in FIG. 1 , including: UE, base station (full name in English: evolved node B, abbreviation: eNodeB), and radio access network (full name in English: radio access network, Abbreviation: RAN), access and mobility management function entity (full English name: access and mobility management function, abbreviation: AMF), session management function entity (full English name: session management function, abbreviation: SMF), policy control function entity (full English name: policy control function, PCF), home subscriber server (full name in English: unified data management, abbreviation: UDM), target network (full name in English: destination network, abbreviation: DN), UPF, and AF; Full name: evolvednode B, referred to as eNodeB); as shown in Figure 2, when the UE establishes a Protocol Data Unit (English full name: Protocol Data Unit, referred to as: PDU) session, the first step is that the UE sends a NAS message to the AMF, carrying the PDU session establishment request; second step, AMF selects SMF based on the request type, NSSAI and other information; third step, AMF sends PDU session establishment context request to SMF; fourth step, SMF calls (user database registration) Nudm_UECM_Registration for this PDU Session in UDM In the fifth step, SMF returns to AMF (PDU session context creation feedback) Nsmf_PDUSession_CreateSMContextResponse carries Cause and (session management context ID) SM Context ID; sixth step, SMF executes PCF selection function; seventh step, SMF executes (session management context ID) Management policy establishment) Session Management Policy Establishment process, obtains the default PCC rule for the PDU session; Step 8, SMF selects SSC Mode for the PDU session, performs UPF selection, and assigns an IPv6 prefix to the UE; Step 9, SMF sends ( N4 interface session establishment request) N4 Session EstablishmentRequest message; tenth step, UPF responds to SMF (N4 interface session establishment response) N4 Session EstablishmentResponse message; eleventh step, SMF initiates (communication N1N2 message transmission) Namf_Communication to AMF _N1N2MessageTransfer, carrying the assigned IP address, QoS information, and (PDU Session Establishment Accept) PDU SessionEstablishment Accept; Step 12, AMF sends (N2 interface PDU Session Request) N2 PDU SessionRequest to the RAN, carrying (PDU Session Establishment Accept) PDU Session Establishment Accept; Step 13, RAN forwards the NAS message to UE; Step 14, RAN sends (N2 interface PDU Session Response) N2 PDU SessionResponse to AMF, carrying (Access Network Channel Information) AN Tunnel Info; Tenth Step 5, AMF sends (PDU session content update request) Nsmf_PDUSession_UpdateSMContext Request to SMF; Step 16, SMF sends (N4 bearer modification) N4 Session Modification to UPF, providing AN tunnel info; Step 17, UPF returns ( N4 bearer modification response) N4 Session Modification Response; Step 18, SMF sends (PDU session content update response) Nsmf_PDUSession_UpdateSMContext Response (Cause) to AMF; Step 19, SMF sends (IPv6 route broadcast) IPv6 Router to UE through UPF Advertisement, thereby establishing a PDU session between the UE and the AF.

其中,当执行到在第八步、会话管理功能实体(英文全称:session managementfunction,简称:SMF)为PDU会话选择会话和服务连续模式(英文全称:Session andService Continuity Mode,简称:SSC Mode),执行UPF选择,并为UE分配IPv6(internetprotocol version 6)前缀的时候,核心网选择一个就近的UPF为UE提供业务;然而,由于端到端时延并不仅仅计算从UE到UPF的时延,信息由UE传输至UPF后还需要传输到AF,而当AF位于运营商网络内,或者网络外时,此时核心网并不能直接确定UPF与AF之间实际的传输时延,只能根据预先设定的规则为该UE匹配一个AF,此时,当信息从UE传输至AF时,虽然UE至UPF的距离最短时,却并不能保证UPF传至AF的距离最短,导致信息传输的总数据传输时延无法保证是最低的数据传输时延影响用户的体验,为解决上述问题,本发明的实施例提供的数据传输方法,服务器根据UE的业务类型,筛选满足第一预设条件的业务转接点,并告知核心网,从而核心网通过满足第一预设条件的业务转接点重新建立UE至服务器的通信链路,和/或服务器根据UE的业务类型,筛选满足第二预设条件的相邻服务器,并告知核心网,从而核心网通过当前业务转接点重新建立UE至满足第二预设条件的相邻服务器的通信链路;其中,通信链路的数据传输时延最低;从而当服务器为AF,并且业务转接点为UPF时,可以保证UE至AF的数据传输时延最低,保证了用户的体验。Among them, when the eighth step is executed, the session management function entity (full name in English: session management function, abbreviation: SMF) selects the session and service continuity mode (full name in English: Session and Service Continuity Mode, abbreviation: SSC Mode) for the PDU session, and executes When the UPF is selected and an IPv6 (internetprotocol version 6) prefix is allocated to the UE, the core network selects a nearby UPF to provide services for the UE; however, since the end-to-end delay does not only calculate the delay from the UE to the UPF, the information After the UE is transmitted to the UPF, it needs to be transmitted to the AF. When the AF is located in the operator's network or outside the network, the core network cannot directly determine the actual transmission delay between the UPF and the AF. The predetermined rule is that the UE matches an AF. At this time, when the information is transmitted from the UE to the AF, although the distance from the UE to the UPF is the shortest, it cannot guarantee the shortest distance from the UPF to the AF, resulting in the total data transmission of the information transmission. The delay cannot be guaranteed to be the lowest data transmission delay, which affects the user experience. To solve the above problem, in the data transmission method provided by the embodiment of the present invention, the server selects the service transfer that meets the first preset condition according to the service type of the UE. point, and inform the core network, so that the core network re-establishes the communication link between the UE and the server through the service transfer point that meets the first preset condition, and/or the server selects the service that meets the second preset condition according to the service type of the UE. the adjacent server, and inform the core network, so that the core network re-establishes the communication link from the UE to the adjacent server that satisfies the second preset condition through the current service transfer point; wherein, the data transmission delay of the communication link is the lowest; thus When the server is an AF and the service transfer point is a UPF, the data transmission delay from the UE to the AF can be guaranteed to be the lowest, which ensures the user experience.

具体的,服务器可以是AF或者移动边缘计算(英文全称:mobile edge computing,简称:MEC)。Specifically, the server may be AF or mobile edge computing (full English name: mobile edge computing, abbreviation: MEC).

示例性的,以服务器为AF、业务转接点为UPF为例进行说明,具体的实现过程如下:Exemplarily, taking the server as AF and the service transfer point as UPF as an example, the specific implementation process is as follows:

实施例一Example 1

本发明的实施例提供一种数据传输方法,如图3所示包括:An embodiment of the present invention provides a data transmission method, as shown in FIG. 3 , including:

S101、服务器确定与UE建立承载时,获取相邻服务器列表、UE的业务转接点列表和请求的业务类型;其中,相邻服务器列表包括至少一个相邻服务器,业务转接点列表包括至少一个可建立承载的业务转接点。S101. When the server determines to establish a bearer with the UE, obtain a list of adjacent servers, a list of service transfer points of the UE, and a requested service type; wherein, the list of adjacent servers includes at least one adjacent server, and the list of service transfer points includes at least one A bearer service transfer point can be established.

需要说明的是,在实际的应用中服务器确定与UE建立承载时包括:UE第一次建立承载,核心网返回一个业务转接点列表(UPF列表)以及优选的排序,UE选择核心网推优的UPF建立业务。此时终端建立承载并且与一个AF链接,实现应用层业务。It should be noted that, in the actual application, when the server determines to establish a bearer with the UE, it includes: when the UE establishes a bearer for the first time, the core network returns a service transfer point list (UPF list) and a preferred ranking, and the UE selects the core network to push the optimization UPF established business. At this time, the terminal establishes a bearer and links with an AF to implement application layer services.

具体的,核心网支持一个应用程序编程接口(英文全称:applicationprogramming interface,简称:API),用于向AF上报支持一个上报消息;其中,上报消息包括:建立承载的UE标识,以及该UE标识承载的应用的链接标识(AF根据该UE标识承载的应用,确定该UE请求的业务类型),以及UPF列表,UPF列表包括每个UPF的五元组信息(IP地址,源端口,目的IP地址,目的端口和传输层协议),使得AF可以通过这些标识查找到一个特定的UPF。Specifically, the core network supports an application programming interface (full name in English: application programming interface, abbreviation: API), which is used to report a report message to the AF; wherein the report message includes: the UE identity for establishing the bearer, and the UE identity bearer The link identifier of the application (AF determines the service type requested by the UE according to the application carried by the UE identifier), and the UPF list, which includes the five-tuple information of each UPF (IP address, source port, destination IP address, destination port and transport layer protocol), so that AF can find a specific UPF through these identifiers.

需要说明的是,在实际的应用中当前UE通过UPF1与AF1建立承载,那么相邻服务器列表包括与AF1相邻的所有AF,业务转接点列表包括与UPF1相邻的所有UPF;或者,相邻服务器列表包括AF1对应的AF池中所有的AF,业务转接点列表包括UPF1对应的UPF池中所有的UPF。It should be noted that, in an actual application, the current UE establishes a bearer with AF1 through UPF1, then the adjacent server list includes all AFs adjacent to AF1, and the service transfer point list includes all UPFs adjacent to UPF1; The neighbor server list includes all AFs in the AF pool corresponding to AF1, and the service transfer point list includes all UPFs in the UPF pool corresponding to UPF1.

S102、服务器根据业务类型,确定业务转接点列表中存在满足第一预设条件的业务转接点时,向核心网设备发送携带满足第一预设条件的业务转接点的第一指示信令,以便核心网设备根据第一指示信令,通过满足第一预设条件的业务转接点重新建立UE至服务器的通信链路。S102. When the server determines, according to the service type, that there is a service transfer point that satisfies the first preset condition in the service transfer point list, sends a first indication message carrying the service transfer point that satisfies the first preset condition to the core network device command, so that the core network device re-establishes the communication link between the UE and the server through the service transfer point that satisfies the first preset condition according to the first indication signaling.

和/或,and / or,

S103、服务器根据业务类型,确定相邻服务器列表中存在满足第二预设条件的相邻服务器时,向核心网设备发送携带满足第二预设条件的相邻服务器的第二指示信令,以便核心网设备根据第二指示信令,通过当前业务转接点重新建立UE至满足第二预设条件的相邻服务器的通信链路;其中,每种业务类型对应一个预设条件,通信链路的数据传输时延最低。S103. When the server determines, according to the service type, that there are adjacent servers that satisfy the second preset condition in the adjacent server list, send the second indication signaling carrying the adjacent servers that satisfy the second preset condition to the core network device, so that The core network device re-establishes the communication link between the UE and the adjacent server that satisfies the second preset condition through the current service transfer point according to the second indication signaling; wherein, each service type corresponds to a preset condition, and the communication link The data transmission delay is the lowest.

可选的,服务器根据业务类型,确定业务转接点列表中存在满足第一预设条件的业务转接点时,向核心网设备发送携带满足第一预设条件的业务转接点的第一指示信令,如图4、图5、图6和图7所示包括:Optionally, when the server determines, according to the service type, that there is a service transfer point that satisfies the first preset condition in the service transfer point list, it sends the first information carrying the service transfer point that meets the first preset condition to the core network device. The indication signaling, as shown in Figure 4, Figure 5, Figure 6 and Figure 7, includes:

S1020、服务器获取当前时延测试周期内服务器和业务转接点之间发送数据的丢包率和数据传输时延。S1020, the server obtains the packet loss rate and the data transmission delay of the data sent between the server and the service transfer point in the current delay test period.

S1021、服务器根据数据传输时延,确定抖动值;其中,抖动值等于Dt-1-Dt,Dt-1表示在上一个时延测试周期服务器和业务转接点之间发送数据的数据传输时延,Dt表示在当前时延测试周期服务器和业务转接点之间发送数据的数据传输时延。S1021. The server determines the jitter value according to the data transmission delay; wherein, the jitter value is equal to D t-1 -D t , and D t-1 represents the data of the data sent between the server and the service transfer point in the last delay test period Transmission delay, D t represents the data transmission delay of sending data between the server and the service transfer point in the current delay test period.

S1022、服务器根据业务类型、数据传输时延、丢包率和抖动值,确定业务转接点列表中存在满足第一预设条件的业务转接点时,向核心网设备发送携带满足第一预设条件的业务转接点的第一指示信令,以便核心网设备根据第一指示信令,通过满足第一预设条件的业务转接点重新建立UE至服务器的通信链路;其中,第一预设条件包括数据传输时延小于或等时延阈值,并且丢包率小于或等于丢包阈值,并且抖动值小于或等于抖动阈值。S1022. The server determines that, according to the service type, data transmission delay, packet loss rate and jitter value, when there is a service transfer point that meets the first preset condition in the service transfer point list, send a message to the core network device that satisfies the first preset condition. Set the first indication signaling of the conditional service transfer point, so that the core network device re-establishes the communication link between the UE and the server through the service transfer point that satisfies the first preset condition according to the first indication signaling; A preset condition includes that the data transmission delay is less than or equal to the delay threshold, the packet loss rate is less than or equal to the packet loss threshold, and the jitter value is less than or equal to the jitter threshold.

或者,or,

S1023、服务器根据业务类型、数据传输时延和丢包率,确定业务转接点列表中存在满足第一预设条件的业务转接点时,向核心网设备发送携带满足第一预设条件的业务转接点的第一指示信令,以便核心网设备根据第一指示信令,通过满足第一预设条件的业务转接点重新建立UE至服务器的通信链路;其中,第一预设条件包括数据传输时延小于或等时延阈值,并且丢包率小于或等于丢包阈值,并且上一个时延测试周期服务器和业务转接点之间发送数据的数据传输时延大于或等于当前时延测试周期服务器和业务转接点之间发送数据的数据传输时延。S1023. The server determines that, according to the service type, data transmission delay and packet loss rate, when there is a service transfer point that meets the first preset condition in the service transfer point list, send a message to the core network device that satisfies the first preset condition. The first indication signaling of the service transfer point, so that the core network device re-establishes the communication link between the UE and the server through the service transfer point that satisfies the first preset condition according to the first instruction signaling; wherein the first preset The conditions include that the data transmission delay is less than or equal to the delay threshold, and the packet loss rate is less than or equal to the packet loss threshold, and the data transmission delay of the data sent between the server and the service transfer point in the last delay test cycle is greater than or equal to the current The data transmission delay of the data sent between the server and the service transfer point during the delay test period.

或者,or,

S1024、服务器根据业务类型、数据传输时延,确定业务转接点列表中存在满足第一预设条件的业务转接点时,向核心网设备发送携带满足第一预设条件的业务转接点的第一指示信令,以便核心网设备根据第一指示信令,通过满足第一预设条件的业务转接点重新建立UE至服务器的通信链路;其中,第一预设条件包括数据传输时延小于或等时延阈值,并且上一个时延测试周期服务器和业务转接点之间发送数据的数据传输时延大于或等于当前时延测试周期服务器和业务转接点之间发送数据的数据传输时延。S1024. The server determines, according to the service type and the data transmission delay, that there is a service transfer point that meets the first preset condition in the service transfer point list, and sends a service transfer point carrying the service transfer point that meets the first preset condition to the core network device. The first indication signaling, so that the core network device re-establishes the communication link between the UE and the server through the service transfer point that satisfies the first preset condition according to the first instruction signaling; wherein, the first preset condition includes data transmission. The delay is less than or equal to the delay threshold, and the data transmission delay of the data sent between the server and the service transfer point in the previous delay test period is greater than or equal to the data transmission delay between the server and the service transfer point in the current delay test period. Data transmission delay.

或者,or,

S1025、服务器根据业务类型、数据传输时延、丢包率和抖动值,确定业务转接点列表中存在满足第一预设条件的业务转接点时,向核心网设备发送携带满足第一预设条件的业务转接点的第一指示信令,以便核心网设备根据第一指示信令,通过满足第一预设条件的业务转接点重新建立UE至服务器的通信链路;其中,第一预设条件包括数据传输时延小于或等时延阈值,并且丢包率小于或等于丢包阈值,并且抖动值小于或等于抖动阈值,并且上一个时延测试周期服务器和业务转接点之间发送数据的数据传输时延大于或等于当前时延测试周期服务器和业务转接点之间发送数据的数据传输时延,每种业务类型对应一个时延阈值、丢包阈值和抖动阈值。S1025. The server determines that, according to the service type, data transmission delay, packet loss rate and jitter value, when there is a service transfer point that meets the first preset condition in the service transfer point list, send a message to the core network device that satisfies the first preset condition. Set the first indication signaling of the conditional service transfer point, so that the core network device re-establishes the communication link between the UE and the server through the service transfer point that satisfies the first preset condition according to the first indication signaling; A preset condition includes that the data transmission delay is less than or equal to the delay threshold, and the packet loss rate is less than or equal to the packet loss threshold, and the jitter value is less than or equal to the jitter threshold, and the difference between the server and the service transfer point in the last delay test cycle The data transmission delay of the data sent between the two is greater than or equal to the data transmission delay of the data sent between the server and the service transfer point in the current delay test period. Each service type corresponds to a delay threshold, packet loss threshold and jitter threshold.

具体的,服务器还可以根据业务类型、数据传输时延和抖动值,确定业务转接点列表中存在满足第一预设条件的业务转接点时,向核心网设备发送携带满足第一预设条件的业务转接点的第一指示信令,以便核心网设备根据第一指示信令,通过满足第一预设条件的业务转接点重新建立UE至服务器的通信链路;其中,第一预设条件包括数据传输时延小于或等时延阈值,并且抖动值小于或等于抖动阈值。Specifically, the server may also, according to the service type, data transmission delay and jitter value, determine that when there is a service transfer point that satisfies the first preset condition in the service transfer point list, send a message to the core network device that satisfies the first preset condition. The first indication signaling of the conditional service transfer point, so that the core network device re-establishes the communication link between the UE and the server through the service transfer point that satisfies the first preset condition according to the first indication signaling; wherein the first The preset conditions include that the data transmission delay is less than or equal to the delay threshold, and the jitter value is less than or equal to the jitter threshold.

或者,or,

服务器还可以根据业务类型、数据传输时延和抖动值,确定业务转接点列表中存在满足第一预设条件的业务转接点时,向核心网设备发送携带满足第一预设条件的业务转接点的第一指示信令,以便核心网设备根据第一指示信令,通过满足第一预设条件的业务转接点重新建立UE至服务器的通信链路;其中,第一预设条件包括数据传输时延小于或等时延阈值,并且抖动值小于或等于抖动阈值,并且上一个时延测试周期服务器和业务转接点之间发送数据的数据传输时延大于或等于当前时延测试周期服务器和业务转接点之间发送数据的数据传输时延。The server may also determine that, according to the service type, data transmission delay and jitter value, when there is a service transfer point that meets the first preset condition in the service transfer point list, send the service carrying the service that meets the first preset condition to the core network device. The first indication signaling of the transfer point, so that the core network device can re-establish the communication link between the UE and the server through the service transfer point that satisfies the first preset condition according to the first instruction signaling; wherein, the first preset condition Including the data transmission delay is less than or equal to the delay threshold, and the jitter value is less than or equal to the jitter threshold, and the data transmission delay of the data sent between the server and the service transfer point in the last delay test cycle is greater than or equal to the current delay test The data transmission delay of the data sent between the periodic server and the service transfer point.

或者,or,

服务器根据业务类型、数据传输时延和丢包率,确定业务转接点列表中存在满足第一预设条件的业务转接点时,向核心网设备发送携带满足第一预设条件的业务转接点的第一指示信令,以便核心网设备根据第一指示信令,通过满足第一预设条件的业务转接点重新建立UE至服务器的通信链路;其中,第一预设条件包括数据传输时延小于或等时延阈值,并且丢包率小于或等于丢包阈值。According to the service type, data transmission delay and packet loss rate, the server determines that when there is a service transfer point that meets the first preset condition in the service transfer point list, it sends a service transfer point carrying the service transfer point that meets the first preset condition to the core network device. The first indication signaling of the contact point, so that the core network device re-establishes the communication link from the UE to the server through the service transfer point that satisfies the first preset condition according to the first instruction signaling; wherein, the first preset condition includes The data transmission delay is less than or equal to the delay threshold, and the packet loss rate is less than or equal to the packet loss threshold.

或者,or,

服务器根据业务类型、数据传输时延,确定业务转接点列表中存在满足第一预设条件的业务转接点时,向核心网设备发送携带满足第一预设条件的业务转接点的第一指示信令,以便核心网设备根据第一指示信令,通过满足第一预设条件的业务转接点重新建立UE至服务器的通信链路;其中,第一预设条件包括数据传输时延小于或等时延阈值。According to the service type and the data transmission delay, when it is determined that there is a service transfer point that meets the first preset condition in the service transfer point list, the server sends to the core network device the first information carrying the service transfer point that meets the first preset condition. an indication signaling, so that the core network device can re-establish the communication link between the UE and the server through the service transfer point that satisfies the first preset condition according to the first instruction signaling; wherein, the first preset condition includes the data transmission delay Less than or equal to the delay threshold.

具体的,当UE的业务类型为多媒体业务时,数据传输时延和抖动值是比较重要的,则AF选择以测定数据传输时延以及抖动值为主;例如在UE当前通过UPF1与AF1建立了连接,与UPF1相邻的UPF包括UPF2和UPF3,此时AF可以在当前时延测试周期对UPF1、UPF2和UPF3分别测定了6次数据传输时延(AF1至UPF1、AF1至UPF2和AF1至UPF3的数据传输时延),其中,Specifically, when the service type of the UE is multimedia service, the data transmission delay and jitter value are more important, and the AF selection is mainly based on measuring the data transmission delay and jitter value; The UPFs adjacent to UPF1 include UPF2 and UPF3. At this time, AF can measure the data transmission delays of UPF1, UPF2 and UPF3 for 6 times respectively in the current delay test cycle (AF1 to UPF1, AF1 to UPF2 and AF1 to UPF3 data transmission delay), where,

UPF1的数据传输时延为:[50ms,40ms,50ms,40ms,55ms,20ms];The data transmission delay of UPF1 is: [50ms, 40ms, 50ms, 40ms, 55ms, 20ms];

UPF2的数据传输时延为:[70ms,60ms,50ms,40ms,30ms,20ms];The data transmission delay of UPF2 is: [70ms, 60ms, 50ms, 40ms, 30ms, 20ms];

UPF3的数据传输时延为:[45ms,44ms,45ms,44ms,45ms,44ms]。The data transmission delay of UPF3 is: [45ms, 44ms, 45ms, 44ms, 45ms, 44ms].

根据上述数据可知,According to the above data, it can be seen that

UPF1的抖动值数据为:[Ji1=10,Ji2=-10,Ji3=10,Ji4=-5,Ji5=30];The jitter value data of UPF1 is: [Ji1=10, Ji2=-10, Ji3=10, Ji4=-5, Ji5=30];

UPF2的抖动值数据为:[Ji1=10,Ji2=10,Ji3=10,Ji4=10,Ji5=10];The jitter value data of UPF2 is: [Ji1=10, Ji2=10, Ji3=10, Ji4=10, Ji5=10];

UPF3的抖动值数据为:[Ji1=1,Ji2=-1,Ji3=1,Ji4=-1,Ji5=1]。The jitter value data of UPF3 is: [Ji1=1, Ji2=-1, Ji3=1, Ji4=-1, Ji5=1].

假设多媒体业务对应的时延阈值为50ms,抖动阈值为5时,此时AF1确定UPF3满足多媒体业务对数据传输时延和抖动值的要求;因此,AF1可以通知核心网UPF3为更优的UPF,此时核心网设备拿到AF1反馈的信息(包含AF1至UPF1的数据传输时延数据以及AF1至UPF3的数据传输时延数据)后,测定UE至UPF1以及UE至UPF3的数据传输时延,并根据AF1至UPF1的数据传输时延数据以及AF1至UPF3的数据传输时延数据,从而确定UE通过UPF1传输至AF1的第一总数据传输时延、以及UE通过UPF3传输至AF1的第二总数据传输时延,当第二总数据传输时延小于第一总数据传输时延时,向核心网设备发送第一指令信息,以便核心网设备放通过UPF1建立的UE与AF1的数据链路,重新通过UPF3建立UE与AF1的数据链路;当第二总数据传输时延大于第一总数据传输时延时,此时核心网设备不做任何更改。Assuming that the delay threshold corresponding to the multimedia service is 50ms and the jitter threshold is 5, AF1 determines that UPF3 meets the requirements of the multimedia service for data transmission delay and jitter value; therefore, AF1 can notify the core network that UPF3 is a better UPF, At this time, after the core network device obtains the information fed back by AF1 (including the data transmission delay data from AF1 to UPF1 and the data transmission delay data from AF1 to UPF3), it measures the data transmission delay from UE to UPF1 and from UE to UPF3, and calculates the data transmission delay from UE to UPF1 and UE to UPF3. According to the data transmission delay data of AF1 to UPF1 and the data transmission delay data of AF1 to UPF3, the first total data transmission delay of UE to transmit to AF1 through UPF1 and the second total data of UE to transmit to AF1 through UPF3 are determined. Transmission delay, when the second total data transmission delay is less than the first total data transmission delay, send the first instruction information to the core network device, so that the core network device can put the data link between the UE and the AF1 established through the UPF1, and restart the A data link between the UE and the AF1 is established through the UPF3; when the second total data transmission delay is greater than the first total data transmission delay, the core network equipment does not make any changes at this time.

具体的,当UE的业务类型为控制指令时,则丢包率和数据传输时延比较重要,则AF选择以测定数据传输时延以及丢包率为主;例如在UE当前通过UPF1与AF1建立了连接,与UPF1相邻的UPF包括UPF2和UPF3,此时AF可以在当前时延测试周期对UPF1、UPF2和UPF3分别测定了6次数据传输时延和丢包率(AF1至UPF1、AF1至UPF2和AF1至UPF3的数据传输时延和丢包率),其中,Specifically, when the service type of the UE is a control command, the packet loss rate and data transmission delay are more important, and the AF selection is mainly based on measuring the data transmission delay and packet loss rate; for example, when the UE is currently established through UPF1 and AF1 In this case, the UPFs adjacent to UPF1 include UPF2 and UPF3. At this time, AF can measure the data transmission delay and packet loss rate for UPF1, UPF2 and UPF3 for 6 times respectively in the current delay test cycle (AF1 to UPF1, AF1 to UPF1 UPF2 and AF1 to UPF3 data transmission delay and packet loss rate), where,

UPF1的数据传输时延为:[50ms,40ms,50ms,40ms,55ms,20ms];The data transmission delay of UPF1 is: [50ms, 40ms, 50ms, 40ms, 55ms, 20ms];

UPF2的数据传输时延为:[70ms,60ms,50ms,40ms,30ms,20ms];The data transmission delay of UPF2 is: [70ms, 60ms, 50ms, 40ms, 30ms, 20ms];

UPF3的数据传输时延为:[45ms,44ms,45ms,44ms,45ms,44ms];The data transmission delay of UPF3 is: [45ms, 44ms, 45ms, 44ms, 45ms, 44ms];

UPF1的丢包率为5%;UPF2的丢包率为4%;UPF3的丢包率为2%。The packet loss rate of UPF1 is 5%; the packet loss rate of UPF2 is 4%; the packet loss rate of UPF3 is 2%.

假设控制指令对应的时延阈值为50ms,丢包阈值为3%时,此时AF1确定UPF3满足多媒体业务对数据传输时延和丢包率的要求;因此,AF1可以通知核心网UPF3为更优的UPF,此时核心网设备拿到AF1反馈的信息(包含AF1至UPF1的数据传输时延数据以及AF1至UPF3的数据传输时延数据)后,测定UE至UPF1以及UE至UPF3的数据传输时延,并根据AF1至UPF1的数据传输时延数据以及AF1至UPF3的数据传输时延数据,从而确定UE通过UPF1传输至AF1的第一总数据传输时延、以及UE通过UPF3传输至AF1的第二总数据传输时延,当第二总数据传输时延小于第一总数据传输时延时,向核心网设备发送第一指令信息,以便核心网设备需要释放通过UPF1建立的UE与AF1的数据链路,重新通过UPF3建立UE与AF1的数据链路;当第二总数据传输时延大于第一总数据传输时延时,此时核心网设备不做任何更改。Assuming that the delay threshold corresponding to the control command is 50ms and the packet loss threshold is 3%, AF1 determines that UPF3 meets the requirements of multimedia services for data transmission delay and packet loss rate; therefore, AF1 can notify the core network that UPF3 is a better At this time, after the core network device obtains the information fed back by AF1 (including the data transmission delay data from AF1 to UPF1 and the data transmission delay data from AF1 to UPF3), it measures the data transmission time from UE to UPF1 and from UE to UPF3. According to the data transmission delay data of AF1 to UPF1 and the data transmission delay data of AF1 to UPF3, the first total data transmission delay of UE to transmit to AF1 through UPF1 and the first total data transmission delay of UE to transmit to AF1 through UPF3 are determined. 2. The total data transmission delay. When the second total data transmission delay is less than the first total data transmission delay, the first instruction information is sent to the core network device, so that the core network device needs to release the UE and AF1 data established through UPF1. link, and re-establish the data link between UE and AF1 through UPF3; when the second total data transmission delay is greater than the first total data transmission delay, the core network equipment does not make any changes at this time.

具体的,当UE的业务类型为低时延业务时,则递归性(是指上一个时延测试周期所述服务器和业务转接点之间发送数据的数据传输时延大于或等于当前时延测试周期服务器向所述业务转接点发送数据的数据传输时延)和数据传输时延比较重要,则AF选择以测定数据传输时延以及递归性为主;例如在UE当前通过UPF1与AF1建立了连接,与UPF1相邻的UPF包括UPF2和UPF3,此时AF可以在当前时延测试周期对UPF1、UPF2和UPF3分别测定了6次数据传输时延(AF1至UPF1、AF1至UPF2和AF1至UPF3的数据传输时延),其中,Specifically, when the service type of the UE is a low-latency service, the recursive (meaning that the data transmission delay of the data sent between the server and the service transfer point in the previous delay test period is greater than or equal to the current delay) In the test period, the data transmission delay (data transmission delay) and data transmission delay of the server sending data to the service transfer point are more important, and the AF selection is mainly based on measuring the data transmission delay and recursion; for example, when the UE is currently established through UPF1 and AF1 In this case, the UPFs adjacent to UPF1 include UPF2 and UPF3. At this time, AF can measure the data transmission delays for UPF1, UPF2 and UPF3 for 6 times in the current delay test cycle (AF1 to UPF1, AF1 to UPF2, and AF1 to UPF3). UPF3 data transmission delay), where,

UPF1的数据传输时延为:[50ms,40ms,50ms,40ms,55ms,20ms];The data transmission delay of UPF1 is: [50ms, 40ms, 50ms, 40ms, 55ms, 20ms];

UPF2的数据传输时延为:[49ms,45ms,44ms,40ms,30ms,20ms];The data transmission delay of UPF2 is: [49ms, 45ms, 44ms, 40ms, 30ms, 20ms];

UPF3的数据传输时延为:[70ms,66ms,67ms,55ms,45ms,60ms]。The data transmission delay of UPF3 is: [70ms, 66ms, 67ms, 55ms, 45ms, 60ms].

假设低时延业务对应的时延阈值为50ms,并且要求UPF的数据传输时延需要具备递归性时,此时AF1确定只有UPF2满足多媒体业务对数据传输时延和递归性的要求;因此,AF1可以通知核心网UPF2为更优的UPF,此时核心网设备拿到AF1反馈的信息(包含AF1至UPF1的数据传输时延数据以及AF1至UPF2的数据传输时延数据)后,测定UE至UPF1以及UE至UPF2的数据传输时延,并根据AF1至UPF1的数据传输时延数据以及AF1至UPF2的数据传输时延数据,从而确定UE通过UPF1传输至AF1的第一总数据传输时延、以及UE通过UPF2传输至AF1的第二总数据传输时延,当第二总数据传输时延小于第一总数据传输时延时,向核心网设备发送第一指令信息,以便核心网设备需要释放通过UPF1建立的UE与AF1的数据链路,重新通过UPF2建立UE与AF1的数据链路;当第二总数据传输时延大于第一总数据传输时延时,此时核心网设备不做任何更改。Assuming that the delay threshold corresponding to the low-latency service is 50ms, and the data transmission delay of the UPF is required to be recursive, AF1 determines that only UPF2 meets the requirements of the multimedia service for the data transmission delay and recursion; therefore, AF1 The core network can be notified that UPF2 is a better UPF. At this time, the core network device obtains the information fed back by AF1 (including the data transmission delay data from AF1 to UPF1 and the data transmission delay data from AF1 to UPF2), and then measures the UE to UPF1. and the data transmission delay from UE to UPF2, and according to the data transmission delay data from AF1 to UPF1 and the data transmission delay data from AF1 to UPF2, to determine the first total data transmission delay transmitted by the UE to AF1 through UPF1, and The UE transmits the second total data transmission delay to AF1 through UPF2. When the second total data transmission delay is less than the first total data transmission delay, the UE sends the first instruction information to the core network device, so that the core network device needs to release the The data link between UE and AF1 established by UPF1, re-establishes the data link between UE and AF1 through UPF2; when the second total data transmission delay is greater than the first total data transmission delay, the core network equipment does not make any changes at this time .

可选的,服务器根据业务类型,确定相邻服务器列表中存在满足第二预设条件的相邻服务器时,向核心网设备发送携带满足第二预设条件的相邻服务器的第二指示信令,如图8所示包括:Optionally, when the server determines, according to the service type, that there is a neighbor server that meets the second preset condition in the neighbor server list, sends a second indication signaling carrying the neighbor server that meets the second preset condition to the core network device. , as shown in Figure 8 including:

S1030、服务器获取相邻服务器的容量占用率和计算资源;其中,容量占用率用于指示相邻服务器已服务用户的总数与额定服务用户的总数的比值,计算资源用于指示相邻服务器未使用处理器的总数与额定处理器总数的比值。S1030, the server obtains the capacity occupancy rate and computing resources of the adjacent server; wherein, the capacity occupancy rate is used to indicate the ratio of the total number of users served by the adjacent server to the total number of rated service users, and the computing resource is used to indicate that the adjacent server is not used. The ratio of the total number of processors to the total number of rated processors.

S1031、服务器根据业务类型、容量占用率和计算资源,确定相邻服务器列表中存在满足第二预设条件的相邻服务器时,向核心网设备发送携带满足第二预设条件的相邻服务器的第二指示信令,以便核心网设备根据第二指示信令,通过当前业务转接点重新建立UE至满足第二预设条件的相邻服务器的通信链路;其中,第二预设条件包括:容量占用率小于或等于容量阈值并且计算资源大于或等于计算阈值,每种业务类型对应一个容量阈值和计算阈值。S1031. According to the service type, capacity occupancy rate, and computing resources, when the server determines that there are adjacent servers that meet the second preset condition in the adjacent server list, send a message to the core network device that carries the adjacent servers that meet the second preset condition. the second indication signaling, so that the core network device can re-establish the communication link between the UE and the adjacent server that satisfies the second preset condition through the current service transfer point according to the second instruction signaling; wherein, the second preset condition includes : The capacity occupancy rate is less than or equal to the capacity threshold and the computing resources are greater than or equal to the calculation threshold. Each service type corresponds to a capacity threshold and a calculation threshold.

具体的,AF可以通过收集每个时延测试周期内对UPF和/或相邻AF进行时延测试的测试数据,从而完成协助核心网选择出UE至AF的数据传输时延最低的通信链路。Specifically, the AF can assist the core network to select the communication link with the lowest data transmission delay from the UE to the AF by collecting the test data of the delay test performed on the UPF and/or the adjacent AF in each delay test period. .

示例性的,假设一共有k个UPF,则每个UPF可标记为UPF1、UPF2、UPF3…UPFk;AF向本次UE可连接的k个UPF同时发出k个信令延迟测量指示(英文全称:Latency MeasurementIndication,简称:LMI),分别标记为LMI1、LMI2、LMI3…LMIk;其中,LMI消息可以是独立的消息,可以通过承载建立方式实现,或者通过API接口通道形成的开放接口实现。Exemplarily, assuming that there are k UPFs in total, each UPF can be marked as UPF1, UPF2, UPF3...UPFk; the AF simultaneously sends k signaling delay measurement indications (full English name: Latency MeasurementIndication, referred to as LMI), respectively marked as LMI1, LMI2, LMI3...LMIk; wherein, the LMI message can be an independent message, which can be implemented through a bearer establishment method, or through an open interface formed by an API interface channel.

这里有两种实现方法,例如承载方法、LMI消息需要保证尽量与现有UPF走相同的路由,因此可以由AF触发,在UPF的同一个承载中建立一个应用层的测量通道,在承载建立之后,可以通过时延测试脚本text1,经过UPF1建立到终端的端到端应用层通道,记录脚本text1从UPF1传输到AF的时间节点t0;以及脚本从AF传输到UPF1的时间节点tpreset,则AF至UPF1的数据传输时延Timedelay等于tpreset-t0;其中,AF至UPFn的数据传输时延的计算方法与AF至UPF1的数据传输时延的计算方法相同,此处不再赘述。There are two implementation methods here. For example, the bearer method and the LMI message need to ensure the same route as the existing UPF as much as possible. Therefore, it can be triggered by the AF to establish an application layer measurement channel in the same bearer of the UPF. After the bearer is established , you can pass the delay test script text1, establish an end-to-end application layer channel to the terminal through UPF1, record the time node t0 when the script text1 is transmitted from UPF1 to AF; and the time node tpreset when the script is transmitted from AF to UPF1, then AF to The data transmission delay Timedelay of UPF1 is equal to tpreset-t0; wherein, the calculation method of the data transmission delay from AF to UPFn is the same as the calculation method of the data transmission delay from AF to UPF1, which is not repeated here.

具体的,根据应用层业务的不同,可以通过一次脚本测定的时延Timedelay,或者可以设定一个测试周期Ttext,脚本可在Ttext周期内进行多次测定,形成一个数据传输时延的集合,则Specifically, according to different application layer services, the time delay Timedelay can be measured by a script, or a test period Ttext can be set, and the script can measure multiple times within the Ttext period to form a set of data transmission delays, then

UPF1的数据传输时延的集合可以表示为:[Timedelay0,Timedelay1,…,TimedelayN];The set of data transmission delays of UPF1 can be expressed as: [Timedelay0, Timedelay1, ..., TimedelayN];

UPF2的数据传输时延的集合可以表示为:[Timedelay0,Timedelay1,…,TimedelayN];The set of data transmission delays of UPF2 can be expressed as: [Timedelay0, Timedelay1, ..., TimedelayN];

UPF3的数据传输时延的集合可以表示为:[Timedelay0,Timedelay1,…,TimedelayN];The set of data transmission delays of UPF3 can be expressed as: [Timedelay0, Timedelay1, ..., TimedelayN];

UPFn的数据传输时延的集合可以表示为:[Timedelay0,imedelay1,…,TimedelayN];The set of data transmission delays of UPFn can be expressed as: [Timedelay0, imedelay1, ..., TimedelayN];

AF可以取这个UPFn的数据传输时延的集合的时延平均值,获得UPF1的时延平均值为aveTimedelay1,UPF2的时延平均值为aveTimedelay2,UPF3的时延平均值为aveTimedelay3,UPFn的时延平均值为aveTimedelay。The AF can take the average delay of the set of UPFn data transmission delays, and obtain the average delay of UPF1 as aveTimedelay1, the average delay of UPF2 as aveTimedelay2, the average delay of UPF3 as aveTimedelay3, and the average of UPFn delay as aveTimedelay.

具体的,在有多个AF的情况下,可以设置一个主用AF,例如在同一个本地网内设置一个主用AF,其相邻的AF有p个;例如对于AF1,相邻AF列表为[AF2,AF3,…,AFp];对于AF2,相邻AF列表为[AF1,AF3,…,AFp];对于AF3,相邻AF列表为[AF1,AF2,…,AFp];对于AFp,相邻AF列表为[AF1,AF3,…,AFp-1];Specifically, in the case of multiple AFs, one main AF can be set. For example, one main AF is set in the same local network, and there are p adjacent AFs; for example, for AF1, the adjacent AF list is [AF2, AF3, ..., AFp]; for AF2, the adjacent AF list is [AF1, AF3, ..., AFp]; for AF3, the adjacent AF list is [AF1, AF2, ..., AFp]; for AFp, the relative The neighbor AF list is [AF1, AF3, ..., AFp-1];

根据AF的增减,这个集合会进行更新,当终端通过UPF1与AF2建立了承载之后,AF2通过API获得了UPF列表以及相邻AF列表,此时AF需要分别建立相邻AF列表中每个AF至UPF1的测试链路(包括AF2至UPF1的通信链路),以及UPF列表中每个UPF值AF2的测试链路(包括UPF1至AF2的通信链路),从而寻找出满足条件的AF和/或UPF,进而协助核心网设备确定数据传输时延最低的通信链路,保证用户的体验。According to the increase or decrease of AF, this set will be updated. After the terminal establishes a bearer with AF2 through UPF1, AF2 obtains the UPF list and the adjacent AF list through API. At this time, AF needs to establish each AF in the adjacent AF list separately. The test link to UPF1 (including the communication link from AF2 to UPF1), and the test link of each UPF value AF2 in the UPF list (including the communication link from UPF1 to AF2), so as to find out the AF and/or that meet the conditions Or UPF, and then assist the core network equipment to determine the communication link with the lowest data transmission delay to ensure the user experience.

具体的,当UE的业务类型为多媒体业务时,数据传输时延和抖动值是比较重要的,则AF选择以测定数据传输时延以及抖动值为主;例如在UE当前通过UPF1与AF1建立了连接,与AF1相邻的AF包括AF2和AF3,此时AF可以在当前时延测试周期对AF2和AF3分别测定了6次数据传输时延(AF1至UPF1、AF2至UPF1和AF3至UPF1的数据传输时延),其中,Specifically, when the service type of the UE is multimedia service, the data transmission delay and jitter value are more important, and the AF selection is mainly based on measuring the data transmission delay and jitter value; The AF adjacent to AF1 includes AF2 and AF3. At this time, AF can measure the data transmission delay of AF2 and AF3 for 6 times in the current delay test cycle (AF1 to UPF1, AF2 to UPF1, and AF3 to UPF1 data). transmission delay), where,

AF1的数据传输时延为:[50ms,40ms,50ms,40ms,55ms,20ms];The data transmission delay of AF1 is: [50ms, 40ms, 50ms, 40ms, 55ms, 20ms];

AF2的数据传输时延为:[70ms,60ms,50ms,40ms,30ms,20ms];The data transmission delay of AF2 is: [70ms, 60ms, 50ms, 40ms, 30ms, 20ms];

AF3的数据传输时延为:[45ms,44ms,45ms,44ms,45ms,44ms]。The data transmission delay of AF3 is: [45ms, 44ms, 45ms, 44ms, 45ms, 44ms].

根据上述数据可知,According to the above data, it can be seen that

AF1的抖动值数据为:[Ji1=10,Ji2=-10,Ji3=10,Ji4=-5,Ji5=30];The jitter value data of AF1 is: [Ji1=10, Ji2=-10, Ji3=10, Ji4=-5, Ji5=30];

AF2的抖动值数据为:[Ji1=10,Ji2=10,Ji3=10,Ji4=10,Ji5=10];The jitter value data of AF2 is: [Ji1=10, Ji2=10, Ji3=10, Ji4=10, Ji5=10];

AF3的抖动值数据为:[Ji1=1,Ji2=-1,Ji3=1,Ji4=-1,Ji5=1]。The jitter value data of AF3 is: [Ji1=1, Ji2=-1, Ji3=1, Ji4=-1, Ji5=1].

假设多媒体业务对应的时延阈值为50ms,抖动阈值为5时,此时只有AF3满足多媒体业务对数据传输时延和抖动值的要求;因此,AF1可以通知核心网AF3为更优的AF,此时核心网设备拿到AF1反馈的信息(包含AF1至UPF1的数据传输时延数据以及AF3至UPF1的数据传输时延数据)后,测定UE至UPF1的数据传输时延,并根据AF1至UPF1的数据传输时延数据以及AF3至UPF1的数据传输时延数据,从而确定UE通过UPF1传输至AF1的第一总数据传输时延、以及UE通过UPF1传输至AF3的第二总数据传输时延,当第二总数据传输时延小于第一总数据传输时延时,向核心网设备发送第一指令信息,以便核心网设备需要释放通过UPF1建立的UE与AF1的数据链路,重新通过UPF1建立UE与AF3的数据链路;当第二总数据传输时延大于第一总数据传输时延时,此时核心网设备不做任何更改。Assuming that the delay threshold corresponding to the multimedia service is 50ms and the jitter threshold is 5, only AF3 can meet the requirements of the multimedia service for data transmission delay and jitter value; therefore, AF1 can notify the core network AF3 to be a better AF, and this When the core network device obtains the information fed back by AF1 (including the data transmission delay data from AF1 to UPF1 and the data transmission delay data from AF3 to UPF1), it measures the data transmission delay from UE to UPF1, and calculates the data transmission delay from AF1 to UPF1 according to the The data transmission delay data and the data transmission delay data from AF3 to UPF1, so as to determine the first total data transmission delay transmitted by the UE to AF1 through UPF1, and the second total data transmission delay transmitted by the UE to AF3 through UPF1, when The second total data transmission delay is less than the first total data transmission delay, and the first instruction information is sent to the core network device, so that the core network device needs to release the data link between the UE and AF1 established through UPF1, and re-establish the UE through UPF1 Data link with AF3; when the second total data transmission delay is greater than the first total data transmission delay, the core network equipment does not make any changes at this time.

可选的,如图9所示该方法还包括:Optionally, as shown in Figure 9, the method further includes:

S104、服务器获取UE的经度坐标、纬度坐标和移动速度。S104, the server acquires the longitude coordinates, latitude coordinates and moving speed of the UE.

S105、服务器根据经度坐标、纬度坐标,确定UE当前所处的驻留区域;其中,驻留区域包括在建城区或者郊区。S105 , the server determines the current residency area where the UE is located according to the longitude coordinates and the latitude coordinates; wherein, the residency area includes an urban area under construction or a suburban area.

S106、服务器根据驻留区域,确定部署距离;其中,部署距离用于指示不同驻留区域内业务转接点之间的距离。S106. The server determines the deployment distance according to the residency area; wherein, the deployment distance is used to indicate the distance between service transfer points in different residency areas.

需要说明的时,部署距离是指在每个驻留区域内新建业务转接点时,该业务转接点与相邻业务转接点之间的距离;如图10,所示UPF1的相邻UPF包括UPF2、UPF3、UPF4和UPF5;而UPF2的相邻UPF包括UPF1、UPF3和UPF5;因此,当UPF1、UPF2、UPF3、UPF4和UPF5位于同一个驻留区域内时,此时,UPF1与UPF2之间的部署距离、UPF1与UPF3之间的部署距离、UPF1与UPF4之间的部署距离以及UPF1与UPF5之间的部署距离均相同。When it needs to be explained, the deployment distance refers to the distance between the service transfer point and the adjacent service transfer point when a new service transfer point is created in each resident area; as shown in Figure 10, the adjacent UPF1 UPF includes UPF2, UPF3, UPF4, and UPF5; and UPF2's adjacent UPFs include UPF1, UPF3, and UPF5; therefore, when UPF1, UPF2, UPF3, UPF4, and UPF5 are located in the same residency area, at this time, UPF1 and UPF2 The deployment distance between, the deployment distance between UPF1 and UPF3, the deployment distance between UPF1 and UPF4, and the deployment distance between UPF1 and UPF5 are all the same.

S107、服务器根据部署距离和移动速度,确定时延测试周期。S107, the server determines the delay test period according to the deployment distance and the moving speed.

需要说明的是,在实际的应用中,AF支持缓存通过API得到的所有上报消息并进行存储;其中,核心网设备可以通过API发送UPF的部署距离L。It should be noted that, in practical applications, the AF supports caching and storing all reported messages obtained through the API; wherein, the core network device can send the deployment distance L of the UPF through the API.

具体的,UE的经度坐标、纬度坐标和移动速度等可以通过应用层发送给AF;例如通过app方式将UE的经度坐标、纬度坐标和移动速度等发送至AF。Specifically, the longitude coordinates, latitude coordinates and moving speed of the UE can be sent to the AF through the application layer; for example, the longitude coordinates, latitude coordinates and moving speed of the UE are sent to the AF through an app.

具体的,AF可以通过从应用层获得的UE的移动速度,计算一个测试周期T,例如UE的移动速度为15km/h,则在0.6h之后才能够移动10km左右;而当UE移动10m后,为了保证UE与AF之间的通信链路的数据传输时延最低,因此需要判别是否需要切换UPF,从而实时保证用户的体验;其中,核心网设备会预先配置不同驻留区域对应的UPF的部署距离,从而AF可以通过API获取该部署距离L;示例性的,在城建区的部署距离L为10km,郊区的部署距离L为20km。Specifically, the AF can calculate a test period T based on the moving speed of the UE obtained from the application layer. For example, if the moving speed of the UE is 15km/h, it can only move about 10km after 0.6h; and when the UE moves 10m, In order to ensure that the data transmission delay of the communication link between the UE and the AF is the lowest, it is necessary to determine whether the UPF needs to be switched, so as to ensure the user's experience in real time; among which, the core network equipment will pre-configure the deployment of UPFs corresponding to different residency areas The AF can obtain the deployment distance L through the API; for example, the deployment distance L in the urban construction area is 10km, and the deployment distance L in the suburb is 20km.

由上述方案可知,由于UE可以通过不同的业务转接点与服务器建立承载,而UE通过每个业务转接点与服务器建立承载时对应的时延不同;因此,本发明的实施例提供的数据传输方法,根据UE请求的业务类型,服务器判别业务转接点列表中存在满足第一预设条件的业务转接点时,向核心网设备发送携带满足第一预设条件的业务转接点的第一指示信令,以便核心网设备根据第一指示信令,通过满足第一预设条件的业务转接点重新建立UE至服务器的通信链路;和/或,根据UE请求的业务类型,判别相邻服务器列表中存在满足第二预设条件的相邻服务器时,向核心网设备发送携带满足第二预设条件的相邻服务器的第二指示信令,以便核心网设备根据第二指示信令,通过当前业务转接点重新建立UE至满足第二预设条件的相邻服务器的通信链路,从而核心网设备可以确定出数据传输时延最短的通信链路,保证了用户的体验,进而解决了现有技术中存在信息从UE传输至AF时,虽然UE至UPF的距离最短,但由于不能保证UPF传至AF的距离最短,导致信息传输的总数据传输时延无法保证是最低的数据传输时延的问题。It can be seen from the above solution that since the UE can establish a bearer with the server through different service transfer points, the corresponding delay when the UE establishes a bearer with the server through each service transfer point is different; therefore, the data provided by the embodiments of the present invention are The transmission method, according to the service type requested by the UE, when the server determines that there is a service transfer point that satisfies the first preset condition in the service transfer point list, and sends a message carrying the service transfer point that meets the first preset condition to the core network device. the first indication signaling, so that the core network device re-establishes the communication link between the UE and the server through the service transfer point that satisfies the first preset condition according to the first indication signaling; and/or, according to the service type requested by the UE, When judging that there are adjacent servers meeting the second preset condition in the adjacent server list, send the second indication signaling carrying the adjacent servers meeting the second preset condition to the core network device, so that the core network device can follow the second indication signaling, through the current service transfer point to re-establish the communication link between the UE and the adjacent server that satisfies the second preset condition, so that the core network device can determine the communication link with the shortest data transmission delay, which ensures the user experience , which solves the problem in the prior art that when the information is transmitted from the UE to the AF, although the distance from the UE to the UPF is the shortest, because the distance from the UPF to the AF cannot be guaranteed to be the shortest, the total data transmission delay of the information transmission cannot be guaranteed to be the lowest. The problem of data transmission delay.

实施例二Embodiment 2

本发明的实施例提供一种服务器10,如图11所示包括:An embodiment of the present invention provides a server 10, as shown in FIG. 11, including:

收发单元101,用于处理单元102确定与UE建立承载时,获取相邻服务器列表、UE的业务转接点列表和请求的业务类型;其中,相邻服务器列表包括至少一个相邻服务器,业务转接点列表包括至少一个可建立承载的业务转接点。The transceiver unit 101 is used for the processing unit 102 to obtain a list of adjacent servers, a list of service transfer points of the UE, and a requested service type when the processing unit 102 determines to establish a bearer with the UE; wherein, the adjacent server list includes at least one adjacent server, and the service transfer The contact list includes at least one service switching point that can establish a bearer.

处理单元102,还用于根据收发单元101获取的业务类型,确定收发单元101获取的业务转接点列表中存在满足第一预设条件的业务转接点时,控制收发单元101向核心网设备发送携带满足第一预设条件的业务转接点的第一指示信令,以便核心网设备根据第一指示信令,通过满足第一预设条件的业务转接点重新建立UE至服务器的通信链路。The processing unit 102 is further configured to, according to the service type acquired by the transceiver unit 101, determine that when there is a service transit point satisfying the first preset condition in the service transit point list acquired by the transceiver unit 101, control the transceiver unit 101 to send the core network device Send the first indication signaling carrying the service transfer point that satisfies the first preset condition, so that the core network device can re-establish the communication between the UE and the server through the service transfer point that satisfies the first preset condition according to the first instruction signaling link.

和/或,and / or,

处理单元102,还用于根据收发单元101获取的业务类型,确定收发单元101获取的相邻服务器列表中存在满足第二预设条件的相邻服务器时,控制收发单元101向核心网设备发送携带满足第二预设条件的相邻服务器的第二指示信令,以便核心网设备根据第二指示信令,通过当前业务转接点重新建立UE至满足第二预设条件的相邻服务器的通信链路;其中,每种业务类型对应一个预设条件,通信链路的数据传输时延最低。The processing unit 102 is further configured to, according to the service type obtained by the transceiver unit 101, determine that when there are adjacent servers that meet the second preset condition in the adjacent server list obtained by the transceiver unit 101, control the transceiver unit 101 to send a packet containing the data to the core network device. The second indication signaling of the adjacent server that satisfies the second preset condition, so that the core network device can re-establish the communication between the UE and the adjacent server that satisfies the second preset condition through the current service transfer point according to the second indication signaling link; wherein, each service type corresponds to a preset condition, and the data transmission delay of the communication link is the lowest.

可选的,收发单元101,具体用于获取当前时延测试周期内服务器和业务转接点之间发送数据的丢包率和数据传输时延;处理单元102,具体用于根据收发单元101获取的数据传输时延,确定抖动值;其中,抖动值等于Dt-1-Dt,Dt-1表示在上一个时延测试周期服务器和业务转接点之间发送数据的数据传输时延,Dt表示在当前时延测试周期服务器和业务转接点之间发送数据的数据传输时延;处理单元102,具体用于根据抖动值、收发单元101获取的业务类型、收发单元101获取的数据传输时延和收发单元101获取的丢包率,确定业务转接点列表中存在满足第一预设条件的业务转接点时,控制收发单元101向核心网设备发送携带满足第一预设条件的业务转接点的第一指示信令,以便核心网设备根据第一指示信令,通过满足第一预设条件的业务转接点重新建立UE至服务器的通信链路;其中,第一预设条件包括数据传输时延小于或等时延阈值,并且丢包率小于或等于丢包阈值,并且抖动值小于或等于抖动阈值;或者,处理单元102,具体用于根据收发单元101获取的业务类型、收发单元101获取的数据传输时延和收发单元101获取的丢包率,确定业务转接点列表中存在满足第一预设条件的业务转接点时,控制收发单元101向核心网设备发送携带满足第一预设条件的业务转接点的第一指示信令,以便核心网设备根据第一指示信令,通过满足第一预设条件的业务转接点重新建立UE至服务器的通信链路;其中,第一预设条件包括数据传输时延小于或等时延阈值,并且丢包率小于或等于丢包阈值,并且上一个时延测试周期服务器和业务转接点之间发送数据的数据传输时延大于或等于当前时延测试周期服务器和业务转接点之间发送数据的数据传输时延;或者,处理单元102,具体用于根据收发单元101获取的业务类型和收发单元101获取的数据传输时延,确定业务转接点列表中存在满足第一预设条件的业务转接点时,控制收发单元101向核心网设备发送携带满足第一预设条件的业务转接点的第一指示信令,以便核心网设备根据第一指示信令,通过满足第一预设条件的业务转接点重新建立UE至服务器的通信链路;其中,第一预设条件包括数据传输时延小于或等时延阈值,并且上一个时延测试周期服务器和业务转接点之间发送数据的数据传输时延大于或等于当前时延测试周期服务器和业务转接点之间发送数据的数据传输时延;或者,处理单元102,具体用于根据抖动值、收发单元101获取的业务类型、收发单元101获取的数据传输时延和收发单元101获取的丢包率,确定业务转接点列表中存在满足第一预设条件的业务转接点时,控制收发单元101向核心网设备发送携带满足第一预设条件的业务转接点的第一指示信令,以便核心网设备根据第一指示信令,通过满足第一预设条件的业务转接点重新建立UE至服务器的通信链路;其中,第一预设条件包括数据传输时延小于或等时延阈值,并且丢包率小于或等于丢包阈值,并且抖动值小于或等于抖动阈值,并且上一个时延测试周期服务器和业务转接点之间发送数据的数据传输时延大于或等于当前时延测试周期服务器和业务转接点之间发送数据的数据传输时延,每种业务类型对应一个时延阈值、丢包阈值和抖动阈值。Optionally, the transceiver unit 101 is specifically used to obtain the packet loss rate and data transmission delay of data sent between the server and the service transfer point in the current delay test period; the processing unit 102 is specifically used to obtain according to the transceiver unit 101 The jitter value is determined by the data transmission delay of , D t represents the data transmission delay of sending data between the server and the service transfer point in the current delay test period; the processing unit 102 is specifically used for the jitter value, the service type acquired by the transceiver unit 101, the The data transmission delay and the packet loss rate obtained by the transceiver unit 101, when it is determined that there is a service transit point that meets the first preset condition in the service transit point list, the transceiver unit 101 is controlled to send a packet that meets the first preset condition to the core network device. The first indication signaling of the conditional service transfer point, so that the core network device re-establishes the communication link between the UE and the server through the service transfer point that satisfies the first preset condition according to the first indication signaling; wherein the first The preset conditions include that the data transmission delay is less than or equal to the delay threshold, and the packet loss rate is less than or equal to the packet loss threshold, and the jitter value is less than or equal to the jitter threshold; The service type, the data transmission delay acquired by the transceiver unit 101, and the packet loss rate acquired by the transceiver unit 101, when it is determined that there is a service transit point that satisfies the first preset condition in the service transit point list, the transceiver unit 101 is controlled to send to the core network The device sends the first indication signaling carrying the service transfer point that satisfies the first preset condition, so that the core network device re-establishes the UE-to-server connection through the service transfer point that satisfies the first preset condition according to the first instruction signaling. Communication link; wherein, the first preset condition includes that the data transmission delay is less than or equal to the delay threshold, and the packet loss rate is less than or equal to the packet loss threshold, and the data transmission between the server and the service transfer point in the last delay test cycle The data transmission delay of the data is greater than or equal to the data transmission delay of the data sent between the server and the service transfer point in the current delay test period; 101 obtains the data transmission delay, and when it is determined that there is a service transfer point that meets the first preset condition in the service transfer point list, the transceiver unit 101 is controlled to send a service transfer point that satisfies the first preset condition to the core network device. The first indication signaling, so that the core network device re-establishes the communication link between the UE and the server through the service transfer point that satisfies the first preset condition according to the first instruction signaling; wherein, the first preset condition includes data transmission. The delay is less than or equal to the delay threshold, and the data transmission delay of the data sent between the server and the service transfer point in the previous delay test period is greater than or equal to the data transmission delay between the server and the service transfer point in the current delay test period. data transmission delay; or, the processing unit 102, specifically configured to The service type obtained by the element 101, the data transmission delay obtained by the transceiver unit 101, and the packet loss rate obtained by the transceiver unit 101, and when it is determined that there is a service transfer point that meets the first preset condition in the service transfer point list, control the transceiver unit. 101 Send a first indication signaling carrying a service transfer point that satisfies the first preset condition to the core network device, so that the core network device re-establishes the service transfer point that satisfies the first preset condition according to the first instruction signaling The communication link from the UE to the server; wherein, the first preset condition includes that the data transmission delay is less than or equal to the delay threshold, and the packet loss rate is less than or equal to the packet loss threshold, and the jitter value is less than or equal to the jitter threshold, and the previous The data transmission delay of the data sent between the server and the service transfer point in the delay test period is greater than or equal to the data transmission delay of the data sent between the server and the service transfer point in the current delay test period. Each service type corresponds to a time delay. Latency Threshold, Packet Loss Threshold, and Jitter Threshold.

可选的,收发单元101,具体用于获取相邻服务器的容量占用率和计算资源;其中,容量占用率用于指示相邻服务器当前服务用户的总数与额定服务用户的总数的比值,计算资源用于指示相邻服务器未使用处理器的总数与额定处理器总数的比值;处理单元102,具体用于根据收发单元101获取的业务类型、收发单元101获取的容量占用率和收发单元101获取的计算资源,确定相邻服务器列表中存在满足第二预设条件的相邻服务器时,控制收发单元101向核心网设备发送携带满足第二预设条件的相邻服务器的第二指示信令,以便核心网设备根据第二指示信令,通过当前业务转接点重新建立UE至满足第二预设条件的相邻服务器的通信链路;其中,第二预设条件包括:容量占用率小于或等于容量阈值并且计算资源大于或等于计算阈值,每种业务类型对应一个容量阈值和计算阈值。Optionally, the transceiver unit 101 is specifically used to obtain the capacity occupancy rate and computing resources of adjacent servers; wherein, the capacity occupancy rate is used to indicate the ratio of the total number of current service users to the total number of rated service users of adjacent servers, and the computing resources Used to indicate the ratio of the total number of unused processors of adjacent servers to the total number of rated processors; the processing unit 102 is specifically used for the service type obtained by the transceiver unit 101, the capacity occupancy rate obtained by the transceiver unit 101, and the data obtained by the transceiver unit 101. Computing resources, when it is determined that there are adjacent servers that meet the second preset condition in the adjacent server list, control the transceiver unit 101 to send to the core network device the second indication signaling that carries the adjacent servers that meet the second preset condition, so that The core network device re-establishes the communication link between the UE and the adjacent server that satisfies the second preset condition through the current service transfer point according to the second indication signaling; wherein, the second preset condition includes: the capacity occupancy rate is less than or equal to The capacity threshold and the computing resources are greater than or equal to the computing threshold, and each service type corresponds to a capacity threshold and a computing threshold.

可选的,收发单元101,还用于获取UE的经度坐标、纬度坐标和移动速度;处理单元102,还用于根据收发单元101获取的经度坐标、收发单元101获取的纬度坐标,确定UE当前所处的驻留区域;其中,驻留区域包括在建城区或者郊区;处理单元102,还用于根据驻留区域,确定部署距离;其中,部署距离用于指示不同驻留区域内业务转接点之间的距离;处理单元102,还用于根据部署距离和收发单元101获取的移动速度,确定时延测试周期。Optionally, the transceiver unit 101 is further configured to obtain the longitude coordinates, latitude coordinates and moving speed of the UE; the processing unit 102 is further configured to determine the current UE current status according to the longitude coordinates obtained by the transceiver unit 101 and the latitude coordinates obtained by the transceiver unit 101. The resident area where it is located; wherein, the resident area includes urban areas or suburbs under construction; the processing unit 102 is further configured to determine the deployment distance according to the resident area; wherein, the deployment distance is used to indicate service transfer in different resident areas The distance between the points; the processing unit 102 is further configured to determine the delay test period according to the deployment distance and the moving speed obtained by the transceiver unit 101 .

其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,其作用在此不再赘述。Wherein, all relevant contents of the steps involved in the above method embodiments can be cited in the functional descriptions of the corresponding functional modules, and the functions thereof will not be repeated here.

在采用集成的模块的情况下服务器10包括:存储单元、处理单元以及收发单元。处理单元用于对服务器的动作进行控制管理,例如,收发单元用于支持支持服务器执行图3中的过程S101、处理单元用于支持服务器执行图3中的过程S102和过程S103;收发单元还用于支持服务器与其他设备的信息交互。存储单元,用于存储服务器的程序代码和数据。In the case of using an integrated module, the server 10 includes: a storage unit, a processing unit, and a transceiver unit. The processing unit is used to control and manage the actions of the server. For example, the transceiver unit is used to support the server to perform the process S101 in FIG. 3, and the processing unit is used to support the server to perform the process S102 and the process S103 in FIG. 3; It is used to support the information exchange between the server and other devices. The storage unit is used to store the program code and data of the server.

其中,以处理单元为处理器,存储单元为存储器,收发单元为通信接口为例。其中,服务器参照图12中所示,包括通信接口501、处理器502、存储器503和总线504,通信接口501、处理器502通过总线504与存储器503相连。The processing unit is a processor, the storage unit is a memory, and the transceiver unit is a communication interface as an example. 12 , the server includes a communication interface 501 , a processor 502 , a memory 503 and a bus 504 . The communication interface 501 and the processor 502 are connected to the memory 503 through the bus 504 .

处理器502可以是一个通用中央处理器(英文全称:Central Processing Unit,简称:CPU),微处理器,特定应用集成电路(英文全称:Application-Specific IntegratedCircuit,简称:ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。The processor 502 may be a general-purpose central processing unit (full name in English: Central Processing Unit, referred to as: CPU), a microprocessor, an application-specific integrated circuit (full name in English: Application-Specific Integrated Circuit, referred to as: ASIC), or one or more An integrated circuit for controlling the execution of the program of the present application.

存储器503可以是只读存储器(英文全称:Read-Only Memory,简称:ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(英文全称:Random AccessMemory,简称:RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(英文全称:Electrically Erasable Programmable Read-only Memory,简称:EEPROM)、只读光盘(英文全称:Compact Disc Read-Only Memory,简称:CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过总线与处理器相连接。存储器也可以和处理器集成在一起。The memory 503 can be a read-only memory (full name in English: Read-Only Memory, referred to as: ROM) or other types of static storage devices that can store static information and instructions, random access memory (full name in English: Random Access Memory, referred to as: RAM) Or other types of dynamic storage devices that can store information and instructions, and can also be Electrically Erasable Programmable Read-Only Memory (English full name: Electrically Erasable Programmable Read-only Memory, abbreviation: EEPROM), read-only CD-ROM (English full name: Compact Disc Read-Only Memory, CD-ROM for short) or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or capable of using Without limitation, any other medium that carries or stores the desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory can exist independently and be connected to the processor through a bus. The memory can also be integrated with the processor.

其中,存储器503用于存储执行本申请方案的应用程序代码,并由处理器502来控制执行。通信接口501用于与其他设备进行信息交互,例如与遥控器的信息交互。处理器502用于执行存储器503中存储的应用程序代码,从而实现本申请实施例中所述的方法。Wherein, the memory 503 is used for storing the application code for executing the solution of the present application, and the execution is controlled by the processor 502 . The communication interface 501 is used for information interaction with other devices, such as information interaction with a remote control. The processor 502 is configured to execute the application program code stored in the memory 503, thereby implementing the method described in the embodiments of the present application.

此外,还提供一种计算存储媒体(或介质),包括在被执行时进行上述实施例中的服务器执行的方法操作的指令。另外,还提供一种计算机程序产品,包括上述计算存储媒体(或介质)。In addition, a computing storage medium (or medium) is also provided, including instructions that, when executed, perform the method operations performed by the server in the above-described embodiments. In addition, a computer program product is also provided, including the above-mentioned computing storage medium (or medium).

应理解,在本发明的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that, in various embodiments of the present invention, the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, rather than the embodiments of the present invention. implementation constitutes any limitation.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(英文全称:read-only memory,简称:ROM)、随机存取存储器(英文全称:random access memory,简称:RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (full name in English: read-only memory, referred to as: ROM), random access memory (full name in English: random access memory, referred to as: RAM), magnetic disk or Various media that can store program codes, such as optical discs.

可以理解地,上述提供的任一种服务器用于执行上文所提供的实施例一对应的方法,因此,其所能达到的有益效果可参考上文实施例一的方法以及下文具体实施方式中对应的方案的有益效果,此处不再赘述。It can be understood that any server provided above is used to execute the method corresponding to the first embodiment provided above. Therefore, for the beneficial effects that can be achieved, reference may be made to the method of the above embodiment 1 and the following detailed description. The beneficial effects of the corresponding solution will not be repeated here.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (10)

1. A method of data transmission, comprising:
when a server determines to establish a bearer with UE, acquiring a list of adjacent servers, a list of service transfer points of the UE and a requested service type; the adjacent server list comprises at least one adjacent server, and the service transfer point list comprises at least one service transfer point;
when the server determines that a service transfer point meeting a first preset condition exists in the service transfer point list according to the service type, a first indication signaling carrying the service transfer point meeting the first preset condition is sent to core network equipment, so that the core network equipment reestablishes a communication link from the UE to the server through the service transfer point meeting the first preset condition according to the first indication signaling;
and/or the presence of a gas in the gas,
when the server determines that an adjacent server meeting a second preset condition exists in the adjacent server list according to the service type, sending a second indication signaling carrying the adjacent server meeting the second preset condition to core network equipment, so that the core network equipment reestablishes a communication link from the UE to the adjacent server meeting the second preset condition through a current service transfer point according to the second indication signaling; each service type corresponds to a preset condition, and the data transmission delay of the communication link is the lowest.
2. The data transmission method according to claim 1, wherein when the server determines that a service transfer point meeting a first preset condition exists in the service transfer point list according to the service type, the server sends a first indication signaling carrying the service transfer point meeting the first preset condition to a core network device, so that the core network device reestablishes a communication link from the UE to the server through the service transfer point meeting the first preset condition according to the first indication signaling, including:
the server acquires the packet loss rate and the data transmission delay of data transmitted between the server and the service transfer point in the current delay test period;
the server determines a jitter value according to the data transmission delay; wherein the jitter value is equal to Dt-1-Dt,Dt-1Representing the data transmission delay, D, of data transmitted between said server and said service switching point in the previous delay test periodtRepresenting a data transmission delay of data transmitted between the server and the service transfer point in a current delay test period;
when the server determines that a service transfer point meeting a first preset condition exists in the service transfer point list according to the jitter value, the service type, the data transmission delay and the packet loss rate, sending a first indication signaling carrying the service transfer point meeting the first preset condition to core network equipment, so that the core network equipment reestablishes a communication link from the UE to the server through the service transfer point meeting the first preset condition according to the first indication signaling; the first preset condition comprises that the data transmission time delay is smaller than or equal to a time delay threshold value, the packet loss rate is smaller than or equal to a packet loss threshold value, and the jitter value is smaller than or equal to a jitter threshold value;
or,
when the server determines that a service transfer point meeting a first preset condition exists in the service transfer point list according to the service type, the data transmission delay and the packet loss rate, sending a first indication signaling carrying the service transfer point meeting the first preset condition to core network equipment, so that the core network equipment reestablishes a communication link from the UE to the server through the service transfer point meeting the first preset condition according to the first indication signaling; the first preset condition includes that the data transmission delay is smaller than or equal to a delay threshold, the packet loss rate is smaller than or equal to a packet loss threshold, and the data transmission delay for transmitting data between the server and the service transfer point in a previous delay test period is larger than or equal to the data transmission delay for transmitting data between the server and the service transfer point in a current delay test period;
or,
when the server determines that a service transfer point meeting a first preset condition exists in the service transfer point list according to the service type and the data transmission delay, a first indication signaling carrying the service transfer point meeting the first preset condition is sent to core network equipment, so that the core network equipment reestablishes a communication link from the UE to the server through the service transfer point meeting the first preset condition according to the first indication signaling; the first preset condition includes that the data transmission delay is smaller than or equal to a delay threshold, and the data transmission delay for transmitting data between the server and the service transfer point in the previous delay test period is greater than or equal to the data transmission delay for transmitting data between the server and the service transfer point in the current delay test period;
or,
when the server determines that a service transfer point meeting a first preset condition exists in the service transfer point list according to the jitter value, the service type, the data transmission delay and the packet loss rate, sending a first indication signaling carrying the service transfer point meeting the first preset condition to core network equipment, so that the core network equipment reestablishes a communication link from the UE to the server through the service transfer point meeting the first preset condition according to the first indication signaling; the first preset condition includes that the data transmission delay is smaller than or equal to a delay threshold, the packet loss rate is smaller than or equal to a packet loss threshold, the jitter value is smaller than or equal to a jitter threshold, and the data transmission delay for transmitting data between the server and the service transfer point in a previous delay test period is greater than or equal to the data transmission delay for transmitting data between the server and the service transfer point in a current delay test period.
3. The data transmission method of claim 2, further comprising:
the server acquires the longitude coordinate, the latitude coordinate and the moving speed of the UE;
the server determines a resident area where the UE is currently located according to the longitude coordinate and the latitude coordinate; wherein the residential area comprises an urban or suburban area under construction;
the server determines a deployment distance according to the residence area; the deployment distance is used for indicating the distance between service transfer points in different residence areas;
and the server determines the time delay test period according to the deployment distance and the moving speed.
4. The data transmission method according to claim 1, wherein when the server determines, according to the service type, that there is an adjacent server that meets a second preset condition in the adjacent server list, the server sends a second indication signaling that carries the adjacent server that meets the second preset condition to a core network device, so that the core network device reestablishes a communication link from the UE to the adjacent server that meets the second preset condition through a current service transfer point according to the second indication signaling, including:
the server acquires the capacity occupancy rate and the computing resources of the adjacent server; wherein the capacity occupancy is used to indicate a ratio of a total number of served users of the neighboring server to a total number of rated served users, and the computing resource is used to indicate a ratio of a total number of unused processors of the neighboring server to a total number of rated processors;
when the server determines that an adjacent server meeting a second preset condition exists in the adjacent server list according to the service type, the capacity occupancy rate and the computing resource, sending a second indication signaling carrying the adjacent server meeting the second preset condition to core network equipment, so that the core network equipment reestablishes a communication link from the UE to the adjacent server meeting the second preset condition through a current service transfer point according to the second indication signaling; wherein the second preset condition comprises: the capacity occupancy is less than or equal to a capacity threshold and the computing resources are greater than or equal to a computing threshold, one capacity threshold and one computing threshold for each traffic type.
5. A server, comprising:
the receiving and sending unit is used for acquiring a neighboring server list, a service transfer point list of the UE and a requested service type when the processing unit determines to establish a bearer with the UE; the adjacent server list comprises at least one adjacent server, and the service transfer point list comprises at least one service transfer point capable of establishing a bearer;
the processing unit is further configured to, when it is determined that a service transfer point meeting a first preset condition exists in the service transfer point list acquired by the transceiver unit according to the service type acquired by the transceiver unit, control the transceiver unit to send a first indication signaling carrying the service transfer point meeting the first preset condition to a core network device, so that the core network device reestablishes a communication link from the UE to the server through the service transfer point meeting the first preset condition according to the first indication signaling;
and/or the presence of a gas in the gas,
the processing unit is further configured to, when it is determined that an adjacent server meeting a second preset condition exists in the adjacent server list acquired by the transceiver unit according to the service type acquired by the transceiver unit, control the transceiver unit to send a second indication signaling carrying the adjacent server meeting the second preset condition to a core network device, so that the core network device reestablishes a communication link from the UE to the adjacent server meeting the second preset condition through a current service transfer point according to the second indication signaling; each service type corresponds to a preset condition, and the data transmission delay of the communication link is the lowest.
6. The server according to claim 5, wherein the transceiver unit is specifically configured to obtain a packet loss rate and a data transmission delay of data transmitted between the server and the service transfer point in a current delay test period;
the processing unit is specifically configured to determine a jitter value according to the data transmission delay acquired by the transceiver unit; wherein the jitter value is equal to Dt-1-Dt,Dt-1Representing the data transmission delay, D, of data transmitted between said server and said service switching point in the previous delay test periodtRepresenting a data transmission delay of data transmitted between the server and the service transfer point in a current delay test period;
the processing unit is specifically configured to, when determining that a service transfer point meeting a first preset condition exists in the service transfer point list according to the jitter value, the service type obtained by the transceiving unit, the data transmission delay obtained by the transceiving unit, and the packet loss rate obtained by the transceiving unit, control the transceiving unit to send a first indication signaling carrying the service transfer point meeting the first preset condition to a core network device, so that the core network device reestablishes a communication link from the UE to the server through the service transfer point meeting the first preset condition according to the first indication signaling; the first preset condition comprises that the data transmission time delay is smaller than or equal to a time delay threshold value, the packet loss rate is smaller than or equal to a packet loss threshold value, and the jitter value is smaller than or equal to a jitter threshold value;
or,
the processing unit is specifically configured to, when it is determined that a service transfer point meeting a first preset condition exists in the service transfer point list according to the service type obtained by the transceiver unit, the data transmission delay obtained by the transceiver unit, and the packet loss rate obtained by the transceiver unit, control the transceiver unit to send a first indication signaling carrying the service transfer point meeting the first preset condition to a core network device, so that the core network device reestablishes a communication link from the UE to the server through the service transfer point meeting the first preset condition according to the first indication signaling; the first preset condition includes that the data transmission delay is smaller than or equal to a delay threshold, the packet loss rate is smaller than or equal to a packet loss threshold, and the data transmission delay for transmitting data between the server and the service transfer point in a previous delay test period is larger than or equal to the data transmission delay for transmitting data between the server and the service transfer point in a current delay test period;
or,
the processing unit is specifically configured to, when it is determined that a service transfer point meeting a first preset condition exists in the service transfer point list according to the service type acquired by the transceiving unit and the data transmission delay acquired by the transceiving unit, control the transceiving unit to send a first indication signaling carrying the service transfer point meeting the first preset condition to a core network device, so that the core network device reestablishes a communication link from the UE to the server through the service transfer point meeting the first preset condition according to the first indication signaling; the first preset condition includes that the data transmission delay is smaller than or equal to a delay threshold, and the data transmission delay for transmitting data between the server and the service transfer point in the previous delay test period is greater than or equal to the data transmission delay for transmitting data between the server and the service transfer point in the current delay test period;
or,
the processing unit is specifically configured to, when determining that a service transfer point meeting a first preset condition exists in the service transfer point list according to the jitter value, the service type obtained by the transceiving unit, the data transmission delay obtained by the transceiving unit, and the packet loss rate obtained by the transceiving unit, control the transceiving unit to send a first indication signaling carrying the service transfer point meeting the first preset condition to a core network device, so that the core network device reestablishes a communication link from the UE to the server through the service transfer point meeting the first preset condition according to the first indication signaling; the first preset condition includes that the data transmission delay is smaller than or equal to a delay threshold, the packet loss rate is smaller than or equal to a packet loss threshold, the jitter value is smaller than or equal to a jitter threshold, the data transmission delay for transmitting data between the server and the service transfer point in a previous delay test period is greater than or equal to the data transmission delay for transmitting data between the server and the service transfer point in a current delay test period, and each service type corresponds to one delay threshold, one packet loss threshold and one jitter threshold.
7. The server according to claim 6, wherein the transceiver unit is further configured to obtain longitude coordinates, latitude coordinates, and moving speed of the UE;
the processing unit is further configured to determine a currently-located residence area of the UE according to the longitude coordinate acquired by the transceiver unit and the latitude coordinate acquired by the transceiver unit; wherein the residential area comprises an urban or suburban area under construction;
the processing unit is further configured to determine a deployment distance according to the residence area; the deployment distance is used for indicating the distance between service transfer points in different residence areas;
the processing unit is further configured to determine the time delay test period according to the deployment distance and the moving speed obtained by the transceiver unit.
8. The server according to claim 5, wherein the transceiver unit is specifically configured to obtain a capacity occupancy rate and a computing resource of the neighboring server; wherein the capacity occupancy rate is used for indicating the ratio of the total number of the current service users of the adjacent server to the total number of the rated service users, and the computing resource is used for indicating the ratio of the total number of the unused processors of the adjacent server to the total number of the rated processors;
the processing unit is specifically configured to, when it is determined that an adjacent server meeting a second preset condition exists in the adjacent server list according to the service type obtained by the transceiver unit, the capacity occupancy rate obtained by the transceiver unit, and the computing resource obtained by the transceiver unit, control the transceiver unit to send a second indication signaling carrying the adjacent server meeting the second preset condition to a core network device, so that the core network device reestablishes a communication link from the UE to the adjacent server meeting the second preset condition through a current service transfer point according to the second indication signaling; wherein the second preset condition comprises: the capacity occupancy is less than or equal to a capacity threshold and the computing resources are greater than or equal to a computing threshold, one capacity threshold and one computing threshold for each traffic type.
9. A computer storage medium comprising instructions which, when run on a computer, cause the computer to perform the data transmission method of any one of claims 1 to 4.
10. A server, comprising: communication interface, processor, memory, bus; the memory is used for storing computer execution instructions, the processor is connected with the memory through the bus, and when the server runs, the processor executes the computer execution instructions stored in the memory so as to enable the server to execute the data transmission method according to any one of the claims 1-4.
CN201910804540.8A 2019-08-28 2019-08-28 A data transmission method and server Active CN112449382B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910804540.8A CN112449382B (en) 2019-08-28 2019-08-28 A data transmission method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910804540.8A CN112449382B (en) 2019-08-28 2019-08-28 A data transmission method and server

Publications (2)

Publication Number Publication Date
CN112449382A true CN112449382A (en) 2021-03-05
CN112449382B CN112449382B (en) 2022-11-22

Family

ID=74741397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910804540.8A Active CN112449382B (en) 2019-08-28 2019-08-28 A data transmission method and server

Country Status (1)

Country Link
CN (1) CN112449382B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114158074A (en) * 2021-11-29 2022-03-08 北京恒安嘉新安全技术有限公司 5G network element address determination method and device, electronic equipment and storage medium
WO2024066651A1 (en) * 2022-09-28 2024-04-04 腾讯科技(深圳)有限公司 Data transmission control method and apparatus, computer readable medium, and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140200036A1 (en) * 2012-09-06 2014-07-17 Dell Products, Lp Method and Apparatus for Context Aware Management of Location Optimization of Virtual Machines for Mobility and Real-time Enterprise Applications
CN108243177A (en) * 2016-12-27 2018-07-03 中国移动通信有限公司研究院 A data transmission method and device
CN109547286A (en) * 2018-11-21 2019-03-29 中国联合网络通信集团有限公司 A kind of selection method and equipment of CDN node
CN109792458A (en) * 2016-09-30 2019-05-21 华为技术有限公司 Method and system for user plane path selection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140200036A1 (en) * 2012-09-06 2014-07-17 Dell Products, Lp Method and Apparatus for Context Aware Management of Location Optimization of Virtual Machines for Mobility and Real-time Enterprise Applications
CN109792458A (en) * 2016-09-30 2019-05-21 华为技术有限公司 Method and system for user plane path selection
CN108243177A (en) * 2016-12-27 2018-07-03 中国移动通信有限公司研究院 A data transmission method and device
CN109547286A (en) * 2018-11-21 2019-03-29 中国联合网络通信集团有限公司 A kind of selection method and equipment of CDN node

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114158074A (en) * 2021-11-29 2022-03-08 北京恒安嘉新安全技术有限公司 5G network element address determination method and device, electronic equipment and storage medium
CN114158074B (en) * 2021-11-29 2024-03-29 北京恒安嘉新安全技术有限公司 5G network element address determination method and device, electronic equipment and storage medium
WO2024066651A1 (en) * 2022-09-28 2024-04-04 腾讯科技(深圳)有限公司 Data transmission control method and apparatus, computer readable medium, and electronic device

Also Published As

Publication number Publication date
CN112449382B (en) 2022-11-22

Similar Documents

Publication Publication Date Title
JP7516448B2 (en) Communication method and communication device
JP7183416B2 (en) Time-dependent networking communication method and apparatus
CN111466110B (en) Edge computing relocation
JP7521005B2 (en) Method for determining user plane function, method for providing information, device, and medium
WO2021027949A1 (en) Routing method and device
CN112448885B (en) Method and device for service message transmission
WO2022007899A1 (en) Upf selection method and apparatus
WO2018161850A1 (en) System and method of network policy optimization
JP2021517437A (en) Wireless communication method and equipment
WO2020239195A1 (en) Network nodes for joint mec host and upf selection
US9338085B2 (en) Smart mobility management entity for UE attached relay node
CN107318141B (en) Method, device and system for data transmission
CN110392448B (en) A session reconstruction method, device and system
CN112369072A (en) Communication method and device
JP7192140B2 (en) Policy management method and device
CN112449395B (en) Data transmission method, core network equipment and AMF
JP2020506625A (en) Choosing sustainable services
US9420590B2 (en) Mobile gateway, control method for the same, and radio access network equipped with the same
CN109804612B (en) Method and apparatus for inter-user equipment communication
CN112449382B (en) A data transmission method and server
WO2013061115A1 (en) Method and apparatus for supporting usage of a multipath transport protocol
WO2022022345A1 (en) Event notification method, apparatus and system
CN104365144B (en) The method and apparatus enhanced for the switching to user equipment applications laminar flow amount
CN112449381B (en) Data transmission method and UE
CN112449398B (en) A path selection method and core network equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant