[go: up one dir, main page]

CN106304228B - A PGW switching control method, system and server - Google Patents

A PGW switching control method, system and server Download PDF

Info

Publication number
CN106304228B
CN106304228B CN201610803017.XA CN201610803017A CN106304228B CN 106304228 B CN106304228 B CN 106304228B CN 201610803017 A CN201610803017 A CN 201610803017A CN 106304228 B CN106304228 B CN 106304228B
Authority
CN
China
Prior art keywords
pgw
information
source
server
terminal
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.)
Active
Application number
CN201610803017.XA
Other languages
Chinese (zh)
Other versions
CN106304228A (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.)
Huizhou Smart Big Data Co ltd
Original Assignee
Guangdong University of Technology
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 Guangdong University of Technology filed Critical Guangdong University of Technology
Priority to CN201610803017.XA priority Critical patent/CN106304228B/en
Publication of CN106304228A publication Critical patent/CN106304228A/en
Application granted granted Critical
Publication of CN106304228B publication Critical patent/CN106304228B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/32Reselection being triggered by specific parameters by location or mobility data, e.g. speed data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management

Landscapes

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

Abstract

本发明公开了一种PGW切换控制方法,包括:终端将当前位置信息发送给源PGW;源PGW检测用户数据时延信息,并将判断信息上报给服务器;其中,判断信息包括当前位置信息、用户数据时延信息、源PGW信息、MME信息、APN名;服务器将接收到的判断信息与数据库中存储的历史信息进行对比,并根据对比结果判断是否需要进行PGW切换,当需要进行PGW切换时,向MME发送PGW切换指示;MME向终端发送去附着请求;终端根据去附着请求发起附着,并选择当前最优的PGW作为目的PGW;该方法可以在最优的时刻控制终端进行PGW切换,减少了路由迂回,提升了用户体验;本发明还公开了一种PGW切换控制系统及服务器。

The invention discloses a PGW switching control method, comprising: a terminal sends current location information to a source PGW; the source PGW detects user data delay information, and reports judgment information to a server; wherein, the judgment information includes current location information, user Data delay information, source PGW information, MME information, APN name; the server compares the received judgment information with the historical information stored in the database, and judges whether PGW switching is required based on the comparison result. When PGW switching is required, Send a PGW switching instruction to the MME; MME sends a detachment request to the terminal; the terminal initiates an attachment according to the detachment request, and selects the current optimal PGW as the target PGW; this method can control the terminal to perform PGW switching at the optimal time, reducing the The circuitous route improves user experience; the invention also discloses a PGW switching control system and server.

Description

一种PGW切换控制方法、系统及服务器A PGW switching control method, system and server

技术领域technical field

本发明涉移动通信领域,特别涉及一种PGW切换控制方法、系统及服务器。The invention relates to the field of mobile communication, in particular to a PGW switching control method, system and server.

背景技术Background technique

在4G标准中,用户接入EPC网络(即4G移动通信网络的核心网)时会选择一个PGW锚定,该PGW将一直为该用户的该次数据接入服务,即用户的数据都需要经由该PGW接入数据网络,直到用户去附着。由于在正常情况下PGW一直不会改变,但是随着用户位置的变更,通过初次接入时锚定的固定PGW接入数据网将存在数据迂回,从而影响用户的业务体验。In the 4G standard, when a user accesses the EPC network (that is, the core network of the 4G mobile communication network), he will choose a PGW to anchor, and the PGW will always serve the user's data access, that is, the user's data needs to pass The PGW accesses the data network until the user detaches. Under normal circumstances, the PGW will not change, but as the user's location changes, there will be a data detour when accessing the data network through the fixed PGW anchored during the initial access, thus affecting the user's service experience.

为了减少路由迂回,4G标准随后增加了PGW重选(切换)的功能,即当用户处于空闲态时,可以由EPC发起用户重附着,当用户再次附着时,就能选择锚定更优的PGW了In order to reduce routing detours, the 4G standard subsequently added the function of PGW reselection (handover), that is, when the user is in an idle state, the EPC can initiate user reattachment, and when the user attaches again, the PGW with better anchoring can be selected up

但是在实际部署上,EPC核心网何时触发用户发起重附着是一个难题,因为核心网没有很好的手段去判断什么时候该进行PGW的切换。因此,如何解决当前EPC网络无法有效判断何时该进行PGW重选,导致容易形成路由迂回的问题,是本领域技术人员需要解决的技术问题。However, in actual deployment, it is a difficult problem when the EPC core network triggers the user to initiate reattachment, because the core network has no good means to judge when to switch the PGW. Therefore, how to solve the problem that the current EPC network cannot effectively determine when to perform PGW reselection, resulting in easy routing detours, is a technical problem that needs to be solved by those skilled in the art.

发明内容Contents of the invention

本发明的目的是提供一种PGW切换控制方法、系统及服务器,可以在最优的时刻控制终端进行PGW切换,减少了路由迂回,提升了用户体验。The purpose of the present invention is to provide a PGW switching control method, system and server, which can control a terminal to perform PGW switching at an optimal time, reduce circuitous routes, and improve user experience.

为解决上述技术问题,本发明提供一种PGW切换控制方法,包括:In order to solve the above technical problems, the present invention provides a PGW handover control method, including:

终端将当前位置信息发送给源PGW;The terminal sends the current location information to the source PGW;

所述源PGW检测用户数据时延信息,并将判断信息上报给服务器;其中,所述判断信息包括所述当前位置信息、所述用户数据时延信息、源PGW信息、MME信息、APN名;The source PGW detects user data delay information, and reports the judgment information to the server; wherein, the judgment information includes the current location information, the user data delay information, source PGW information, MME information, and APN name;

所述服务器将接收到的所述判断信息与数据库中存储的历史信息进行对比,并根据对比结果判断是否需要进行PGW切换,当需要进行PGW切换时,向MME发送PGW切换指示;The server compares the received judgment information with historical information stored in the database, and judges whether PGW switching is required according to the comparison result, and sends a PGW switching instruction to the MME when PGW switching is required;

所述MME向所述终端发送去附着请求;The MME sends a detach request to the terminal;

所述终端根据所述去附着请求发起附着,并选择当前最优的PGW作为目的PGW。The terminal initiates an attach according to the detach request, and selects the currently optimal PGW as the target PGW.

其中,终端将当前位置信息发送给源PGW,包括:Among them, the terminal sends the current location information to the source PGW, including:

终端按照预设周期向源PGW发送当前位置信息;或,The terminal sends current location information to the source PGW according to a preset period; or,

终端检测到位置信息发生变化时向源PGW发送当前位置信息。When the terminal detects that the location information changes, it sends the current location information to the source PGW.

其中,所述源PGW检测用户数据时延信息,包括:Wherein, the source PGW detects user data delay information, including:

所述源PGW检测所述源PGW至所述终端的第一时延信息;The source PGW detects first delay information from the source PGW to the terminal;

所述源PGW根据业务服务器的地址检测所述源PGW至所述业务服务器的第二时延信息,并将所述第一时延信息及所述第二时延信息作为用户数据时延信息;其中,所述源PGW根据用户数据包包头解析得出所述业务服务器的地址。The source PGW detects second delay information from the source PGW to the service server according to the address of the service server, and uses the first delay information and the second delay information as user data delay information; Wherein, the source PGW analyzes the header of the user data packet to obtain the address of the service server.

其中,该方法还包括:Wherein, the method also includes:

所述目的PGW将新获取的判断信息上报给所述服务器;The target PGW reports the newly acquired judgment information to the server;

所述服务器将新获取的判断信息存储到所述数据库中对应位置。The server stores the newly acquired judgment information in a corresponding position in the database.

本发明还提供一种PGW切换控制系统,包括:The present invention also provides a PGW switching control system, including:

终端,用于将当前位置信息发送给源PGW;根据所述去附着请求发起附着,并选择当前最优的PGW作为目的PGW;The terminal is configured to send the current location information to the source PGW; initiate attachment according to the detachment request, and select the currently optimal PGW as the target PGW;

源PGW,用于检测用户数据时延信息,并将判断信息上报给服务器;其中,所述判断信息包括所述当前位置信息、所述用户数据时延信息、源PGW信息、MME信息、APN名;The source PGW is used to detect user data delay information, and report the judgment information to the server; wherein, the judgment information includes the current location information, the user data delay information, source PGW information, MME information, APN name ;

服务器,用于将接收到的所述判断信息与数据库中存储的历史信息进行对比,并根据对比结果判断是否需要进行PGW切换,当需要进行PGW切换时,向MME发送PGW切换指示;The server is configured to compare the received judgment information with historical information stored in the database, and judge whether PGW switching is required according to the comparison result, and send a PGW switching instruction to the MME when PGW switching is required;

MME,用于向所述终端发送去附着请求。The MME is configured to send a detachment request to the terminal.

其中,所述终端包括:Wherein, the terminal includes:

位置发送单元,用于按照预设周期向源PGW发送当前位置信息;或,当检测到位置信息发生变化时向源PGW发送当前位置信息。The location sending unit is configured to send the current location information to the source PGW according to a preset period; or, send the current location information to the source PGW when a change in the location information is detected.

其中,所述源PGW包括:Wherein, the source PGW includes:

第一检测单元,用于检测所述源PGW至所述终端的第一时延信息;a first detection unit, configured to detect first delay information from the source PGW to the terminal;

第二检测单元,用于根据业务服务器的地址检测所述源PGW至所述业务服务器的第二时延信息,并将所述第一时延信息及所述第二时延信息作为用户数据时延信息;其中,所述源PGW根据用户数据包包头解析得出所述业务服务器的地址。The second detection unit is configured to detect the second delay information from the source PGW to the service server according to the address of the service server, and use the first delay information and the second delay information as user data time extension information; wherein, the source PGW obtains the address of the service server by parsing the header of the user data packet.

其中,该系统还包括:Among them, the system also includes:

目的PGW,用于将新获取的判断信息上报给所述服务器;The destination PGW is configured to report newly acquired judgment information to the server;

服务器还用于将新获取的判断信息存储到所述数据库中对应位置。The server is also used to store the newly acquired judgment information in a corresponding position in the database.

本发明还提供一种服务器,包括:The present invention also provides a server, including:

接收单元,用于接收源PGW发送的判断信息;其中,所述判断信息包括终端的当前位置信息、所述用户数据时延信息、源PGW信息、MME信息、APN名;The receiving unit is configured to receive the judgment information sent by the source PGW; wherein the judgment information includes the current location information of the terminal, the user data delay information, source PGW information, MME information, and APN name;

判断单元,用于将所述判断信息与数据库中存储的历史信息进行对比,并根据对比结果判断是否需要进行PGW切换;A judging unit, configured to compare the judging information with historical information stored in the database, and judge whether PGW switching is required according to the comparison result;

发送单元,用于当需要进行PGW切换时,向MME发送PGW切换指示,使所述终端根据所述MME发送的去附着请求发起附着,并选择当前最优的PGW作为目的PGW。The sending unit is configured to send a PGW switching instruction to the MME when PGW switching is required, so that the terminal initiates attachment according to the detach request sent by the MME, and selects the currently optimal PGW as the target PGW.

其中,服务器还包括:Among them, the server also includes:

更新单元,用于将所述目的PGW新获取的判断信息存储到所述数据库中对应位置。An updating unit, configured to store the judgment information newly acquired by the target PGW in a corresponding position in the database.

本发明所提供的一种PGW切换控制方法,包括:终端将当前位置信息发送给源PGW;源PGW检测用户数据时延信息,并将判断信息上报给服务器;其中,判断信息包括当前位置信息、用户数据时延信息、源PGW信息、MME信息、APN名;服务器将接收到的判断信息与数据库中存储的历史信息进行对比,并根据对比结果判断是否需要进行PGW切换,当需要进行PGW切换时,向MME发送PGW切换指示;MME向终端发送去附着请求;终端根据去附着请求发起附着,并选择当前最优的PGW作为目的PGW;该方法可以在最优的时刻控制终端进行PGW切换,减少了路由迂回,提升了用户体验,且方案实现简便;本发明还提供了一种PGW切换控制系统及服务器,具有上述有益效果,在此不再赘述。A PGW switching control method provided by the present invention includes: the terminal sends the current location information to the source PGW; the source PGW detects user data delay information, and reports the judgment information to the server; wherein, the judgment information includes the current location information, User data delay information, source PGW information, MME information, APN name; the server compares the received judgment information with the historical information stored in the database, and judges whether PGW switching is required based on the comparison result. When PGW switching is required , send a PGW switching instruction to the MME; the MME sends a detachment request to the terminal; the terminal initiates an attachment according to the detachment request, and selects the current optimal PGW as the target PGW; this method can control the terminal to perform PGW switching at the optimal time, reducing The route detour is improved, the user experience is improved, and the solution is easy to implement; the present invention also provides a PGW switching control system and server, which have the above-mentioned beneficial effects, and will not be repeated here.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the 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 It is an embodiment of the present invention, and those skilled in the art can also obtain other drawings according to the provided drawings on the premise of not paying creative efforts.

图1为本发明实施例所提供的PGW切换控制方法的流程图;FIG. 1 is a flowchart of a PGW handover control method provided by an embodiment of the present invention;

图2为本发明实施例所提供的PGW切换控制方法的数据流向示意图;FIG. 2 is a schematic diagram of data flow in a PGW handover control method provided by an embodiment of the present invention;

图3为本发明实施例所提供的PGW切换控制系统的结构框图。Fig. 3 is a structural block diagram of a PGW switching control system provided by an embodiment of the present invention.

具体实施方式Detailed ways

本发明的核心是提供一种PGW切换控制方法、系统及服务器,可以在最优的时刻控制终端进行PGW切换,减少了路由迂回,提升了用户体验。The core of the present invention is to provide a PGW switching control method, system and server, which can control a terminal to perform PGW switching at an optimal time, reduce roundabout routing, and improve user experience.

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

请参考图1,图1为本发明实施例所提供的PGW切换控制方法的流程图;该方法可以包括:Please refer to FIG. 1, which is a flowchart of a PGW handover control method provided by an embodiment of the present invention; the method may include:

S100、终端将当前位置信息发送给源PGW;S100. The terminal sends the current location information to the source PGW;

其中,终端及时向源PGW发送其当前位置信息,为了提高发送数据的有效性和可用性,且减轻终端的功耗,可以不用实时发送当前位置信息;即可选的,终端按照预设周期向源PGW发送当前位置信息;或,终端检测到位置信息发生变化时向源PGW发送当前位置信息。Among them, the terminal sends its current location information to the source PGW in a timely manner. In order to improve the validity and usability of sending data and reduce the power consumption of the terminal, it is not necessary to send the current location information in real time; The PGW sends the current location information; or, when the terminal detects that the location information changes, the terminal sends the current location information to the source PGW.

具体的,终端周期性上报当前的位置信息,或者当终端更改了所属小区或TA(Tracking Area)后即终端检测到位置信息发生变化时,将向源PGW上报最新的位置信息。或者两者满足任意一种情况都需要向源PGW上报最新的位置信息。Specifically, the terminal periodically reports the current location information, or when the terminal changes the cell or TA (Tracking Area) to which it belongs, that is, when the terminal detects that the location information changes, it will report the latest location information to the source PGW. Or if any of the two conditions is satisfied, the latest location information needs to be reported to the source PGW.

S110、所述源PGW检测用户数据时延信息,并将判断信息上报给服务器;其中,所述判断信息至少包括终端的当前位置信息、所述用户数据时延信息、源PGW信息、MME信息、APN名;还可以根据用户需求增加或者修改判断信息所包含的具体内容。S110. The source PGW detects user data delay information, and reports the judgment information to the server; wherein, the judgment information includes at least the current location information of the terminal, the user data delay information, source PGW information, MME information, APN name; the specific content contained in the judgment information can also be added or modified according to user needs.

具体的,这里的源PGW可以定期的监测用户数据时延信息,该检测周期可以由用户根据实际情况进行确认。该检测周期并不是越小越好,还要考虑服务器的硬件水平,频繁的对比分析的效率等。Specifically, the source PGW here can periodically monitor user data delay information, and the detection period can be confirmed by the user according to actual conditions. The detection cycle is not as short as possible, but also consider the hardware level of the server, the efficiency of frequent comparative analysis, etc.

源PGW检测用户数据时延信息可以包括:The user data delay information detected by the source PGW may include:

所述源PGW检测所述源PGW至所述终端的第一时延信息;The source PGW detects first delay information from the source PGW to the terminal;

所述源PGW根据业务服务器的地址检测所述源PGW至所述业务服务器的第二时延信息,并将所述第一时延信息及所述第二时延信息作为用户数据时延信息;其中,所述源PGW根据用户数据包包头解析得出所述业务服务器的地址。The source PGW detects second delay information from the source PGW to the service server according to the address of the service server, and uses the first delay information and the second delay information as user data delay information; Wherein, the source PGW analyzes the header of the user data packet to obtain the address of the service server.

S120、所述服务器将接收到的所述判断信息与数据库中存储的历史信息进行对比,并根据对比结果判断是否需要进行PGW切换,当需要进行PGW切换时,向MME发送PGW切换指示;S120. The server compares the received judgment information with historical information stored in the database, and judges whether PGW switching is required according to the comparison result, and sends a PGW switching instruction to the MME when PGW switching is required;

具体的,对比过程额可以是根据数据库中在类似硬件条件下的数据时延情况,以及在该情况下在切换PGW后的数据时延情况,若数据库中统计、记录的信息是切换后数据时延情况比切换前好,则判定需要进行PGW切换。即服务器在数据库中确认与判断信息类似状况的数据时延参考数值,更换PGW后的数据时延等信息判定其是否需要进行切换。Specifically, the comparison process can be based on the data delay situation in the database under similar hardware conditions, and the data delay situation after switching the PGW in this case, if the statistics and recorded information in the database are the data after switching If the delay situation is better than before the handover, it is determined that a PGW handover is required. That is, the server confirms in the database the reference value of the data delay in a similar situation to the judging information, and determines whether switching is required based on information such as the data delay after the replacement of the PGW.

其中,本实施例还可以根据用户实际需求进行分析规则的细化,例如当数据库中记录的信息是切换后数据时延情况比切换前好,且判断时延降低程度是否大于阈值,若均满足则判定需要进行PGW切换。这里并不对具体对比判定的分析规则进行限定,只需要根据历史海量数据进行分析以往类似情况下切换前后数据时延信息得到是否进行切换的结果即可。Among them, this embodiment can also refine the analysis rules according to the actual needs of users. For example, when the information recorded in the database is that the data delay after the switch is better than before the switch, and it is judged whether the delay reduction is greater than the threshold, if all meet the Then it is determined that the PGW switching needs to be performed. The analysis rules for specific comparison and judgment are not limited here. It is only necessary to analyze the data delay information before and after switching in similar situations in the past based on historical massive data to obtain the result of switching.

S130、所述MME向所述终端发送去附着请求;S130. The MME sends a detachment request to the terminal;

S140、所述终端根据所述去附着请求发起附着,并选择当前最优的PGW作为目的PGW。S140. The terminal initiates an attachment according to the detachment request, and selects a currently optimal PGW as a target PGW.

具体的,MME发起用户重附着流程。MME向终端发送去附着请求(该去附着请求可以包含PGW切换指示),该请求中指示终端须立即重新发起附着,终端根据指示在去附着后,立即重新发起附着,并选择当前最优的PGW为其提供服务。Specifically, the MME initiates a user reattachment process. The MME sends a detachment request to the terminal (the detachment request may include a PGW switching instruction), which instructs the terminal to immediately re-initiate the attachment, and the terminal immediately re-initiates the attachment after detachment according to the instruction, and selects the currently optimal PGW provide services for it.

为了使得服务器能够完整记录该终端在切换前后的数据时延情况,以更新对应情况下的分析数据,则优选的,该实施例还包括:In order to enable the server to completely record the data delay situation of the terminal before and after switching, so as to update the analysis data in the corresponding situation, preferably, this embodiment also includes:

所述目的PGW将新获取的判断信息上报给所述服务器;The target PGW reports the newly acquired judgment information to the server;

所述服务器将新获取的判断信息存储到所述数据库中对应位置。The server stores the newly acquired judgment information in a corresponding position in the database.

具体的,该步骤是为了进一步更新数据库,即目标PGW还需要向大数据服务器上报切换后的详细信息,使服务器能够及时获取切换后的详细信息,从而也可以得到切换效果。提升后续服务器指导切换操作的准确性。即目标PGW向大数据服务器上报相关信息。终端对应的PGW切换完成后,目标PGW向大数据服务器上报用户的位置信息、目标PGW信息与MME信息、APN名与最新监测出的数据时延信息,大数据服务器把相关信息存储在大数据数据库中,用于辅助后续的PGW切换判断。Specifically, this step is to further update the database, that is, the target PGW also needs to report the detailed information after switching to the big data server, so that the server can obtain the detailed information after switching in time, so that the switching effect can also be obtained. Improve the accuracy of subsequent server-guided switching operations. That is, the target PGW reports relevant information to the big data server. After the switching of the PGW corresponding to the terminal is completed, the target PGW reports the user's location information, target PGW information, MME information, APN name and the latest monitored data delay information to the big data server, and the big data server stores the relevant information in the big data database , used to assist subsequent PGW handover judgment.

下面以具体的PGW切换为例进行说明,请参考图2,图2给出了该例子中的数据流向;图中的大数据服务器即上述服务器,且信息上报的内容即上报的判断信息。具体工作流程如下:The following takes a specific PGW switching as an example for illustration, please refer to Figure 2, which shows the data flow in this example; the big data server in the figure is the above server, and the content of information reporting is the reported judgment information. The specific workflow is as follows:

1、终端接入EPC网络,选择源PGW为其服务。1. The terminal accesses the EPC network and selects the source PGW to serve it.

2、终端周期性或当发生位置改变时,把其最新位置信息发送给源PGW。2. The terminal sends its latest location information to the source PGW periodically or when its location changes.

3、源PGW周期性检测用户的数据时延;PGW测量的数据时延可以包括两部分数据。第一个是PGW与终端间的数据时延;第二个是PGW与业务服务器间的时延,PGW从终端数据包的包头中可以解析出业务服务器的IP地址,然后检测PGW至业务服务器的数据时延。3. The source PGW periodically detects the data delay of the user; the data delay measured by the PGW may include two parts of data. The first is the data delay between the PGW and the terminal; the second is the delay between the PGW and the service server. The PGW can parse out the IP address of the service server from the packet header of the terminal data packet, and then detect the connection between the PGW and the service server. Data latency.

4、源PGW把终端当前位置、为终端提供服务器的MME与PGW信息、APN名及测量出的数据时延上报大数据服务器。即上报判断信息。4. The source PGW reports the current location of the terminal, the MME and PGW information of the server providing the terminal, the APN name and the measured data delay to the big data server. That is, the judgment information is reported.

5、大数据服务器根据收到的信息及海量历史数据进行切换判断。5. The big data server makes switching judgments based on the received information and massive historical data.

6、当大数据服务器判断出终端需要进行PGW切换,大数据服务器向MME发送PGW切换指示。6. When the big data server determines that the terminal needs to perform PGW switching, the big data server sends a PGW switching instruction to the MME.

7、MME向终端发送去附着请求,其中指示终端须立即发起重附着。7. The MME sends a detachment request to the terminal, which instructs the terminal to initiate reattachment immediately.

8、终端按指示发起重附着,选择新的最优的PGW(目的PGW)为其提供服务;8. The terminal initiates reattachment according to the instruction, and selects a new optimal PGW (target PGW) to provide services for it;

9、目的PGW测试用户数据时延。9. The destination PGW tests the user data delay.

10、目的PGW把终端当前位置、为终端提供服务器的MME与PGW信息、APN名及测量出的数据时延上报大数据服务器。10. The destination PGW reports the current location of the terminal, the MME and PGW information of the server providing the terminal, the APN name and the measured data delay to the big data server.

11、大数据服务区存储收到的信息用于辅助后续的切换判决。11. The big data service area stores the received information to assist subsequent handover decisions.

基于上述技术方案,本发明实施例提供的PGW切换控制方法,针对当前EPC网络无法有效判断何时该进行PGW重选,导致容易形成路由迂回的问题,利用核心网络大数据分析,综合参考当前终端的位置、当前选择的PGW、本次接入的APN名、测量出的数据时延及海量历史数据信息来做PGW切换判决,随后再由核心网控制发起PGW重选(切换)操作,该方案实现简便,可以在最优的时刻控制终端进行PGW切换,可以减少路由迂回,提升用户体验。Based on the above technical solution, the PGW switching control method provided by the embodiment of the present invention aims at the problem that the current EPC network cannot effectively judge when to perform PGW reselection, which leads to the easy formation of circuitous routes. By using the big data analysis of the core network, comprehensively refer to the current terminal The location of the current selected PGW, the name of the APN accessed this time, the measured data delay, and massive historical data information are used to make a PGW handover decision, and then the core network controls and initiates the PGW reselection (handover) operation. The implementation is simple, and the terminal can be controlled to perform PGW handover at the optimal time, which can reduce routing circuitousness and improve user experience.

下面对本发明实施例提供的PGW切换控制系统及服务器进行介绍,下文描述的PGW切换控制系统及服务器与上文描述的PGW切换控制方法可相互对应参照。The PGW switching control system and server provided by the embodiments of the present invention are introduced below, and the PGW switching control system and server described below and the PGW switching control method described above may be referred to in correspondence.

请参考图3,图3为本发明实施例所提供的PGW切换控制系统的结构框图;该系统可以包括:Please refer to FIG. 3. FIG. 3 is a structural block diagram of a PGW switching control system provided by an embodiment of the present invention; the system may include:

终端10,用于将当前位置信息发送给源PGW;根据所述去附着请求发起附着,并选择当前最优的PGW作为目的PGW;The terminal 10 is configured to send the current location information to the source PGW; initiate attachment according to the detachment request, and select the currently optimal PGW as the target PGW;

源PGW20,用于检测用户数据时延信息,并将判断信息上报给服务器;其中,所述判断信息包括所述当前位置信息、所述用户数据时延信息、源PGW信息、MME信息、APN名;The source PGW20 is used to detect user data delay information, and report the judgment information to the server; wherein, the judgment information includes the current location information, the user data delay information, source PGW information, MME information, APN name ;

服务器30,用于将接收到的所述判断信息与数据库中存储的历史信息进行对比,并根据对比结果判断是否需要进行PGW切换,当需要进行PGW切换时,向MME发送PGW切换指示;The server 30 is configured to compare the received judgment information with historical information stored in the database, and judge whether PGW switching is required according to the comparison result, and send a PGW switching instruction to the MME when PGW switching is required;

MME40,用于向所述终端发送去附着请求;MME40, configured to send a detachment request to the terminal;

目的PGW50,用于作为所述终端的新的源PGW。The destination PGW50 is used as the new source PGW of the terminal.

基于上述实施例,所述终端10包括:Based on the above embodiments, the terminal 10 includes:

位置发送单元,用于按照预设周期向源PGW发送当前位置信息;或,当检测到位置信息发生变化时向源PGW发送当前位置信息。The location sending unit is configured to send the current location information to the source PGW according to a preset period; or, send the current location information to the source PGW when a change in the location information is detected.

基于上述实施例,所述源PGW20包括:Based on the above embodiments, the source PGW20 includes:

第一检测单元,用于检测所述源PGW至所述终端的第一时延信息;a first detection unit, configured to detect first delay information from the source PGW to the terminal;

第二检测单元,用于根据业务服务器的地址检测所述源PGW至所述业务服务器的第二时延信息,并将所述第一时延信息及所述第二时延信息作为用户数据时延信息;其中,所述源PGW根据用户数据包包头解析得出所述业务服务器的地址。The second detection unit is configured to detect the second delay information from the source PGW to the service server according to the address of the service server, and use the first delay information and the second delay information as user data time extension information; wherein, the source PGW obtains the address of the service server by parsing the header of the user data packet.

基于上述实施例,该系统还包括:Based on the foregoing embodiments, the system also includes:

目的PGW50,还用于将新获取的判断信息上报给所述服务器;The destination PGW50 is also used to report the newly acquired judgment information to the server;

服务器30还用于将新获取的判断信息存储到所述数据库中对应位置。The server 30 is also configured to store the newly acquired judgment information in a corresponding location in the database.

本发明实施例还提供一种服务器,该服务器具备处理大数据的能力,其包括:The embodiment of the present invention also provides a kind of server, and this server has the ability of processing big data, and it comprises:

接收单元,用于接收源PGW发送的判断信息;其中,所述判断信息包括终端的当前位置信息、所述用户数据时延信息、源PGW信息、MME信息、APN名;The receiving unit is configured to receive the judgment information sent by the source PGW; wherein the judgment information includes the current location information of the terminal, the user data delay information, source PGW information, MME information, and APN name;

判断单元,用于将所述判断信息与数据库中存储的历史信息进行对比,并根据对比结果判断是否需要进行PGW切换;A judging unit, configured to compare the judging information with historical information stored in the database, and judge whether PGW switching is required according to the comparison result;

发送单元,用于当需要进行PGW切换时,向MME发送PGW切换指示,使所述终端根据所述MME发送的去附着请求发起附着,并选择当前最优的PGW作为目的PGW。The sending unit is configured to send a PGW switching instruction to the MME when PGW switching is required, so that the terminal initiates attachment according to the detach request sent by the MME, and selects the currently optimal PGW as the target PGW.

基于上述实施例,该服务器还包括:Based on the foregoing embodiments, the server also includes:

更新单元,用于将所述目的PGW新获取的判断信息存储到所述数据库中对应位置。An updating unit, configured to store the judgment information newly acquired by the target PGW in a corresponding position in the database.

基于上述技术方案,本发明实施例提的服务器能够用核心网络大数据分析,综合参考当前终端的位置、当前选择的PGW、本次接入的APN名、测量出的数据时延及海量历史数据信息来做PGW切换判决,并在需要进行PGW切换时,下发PGW切换指示,处理速度快,可以在最优的时刻控制终端进行PGW切换,可以减少路由迂回,提升用户体验。Based on the above technical solution, the server proposed in the embodiment of the present invention can use core network big data analysis to comprehensively refer to the location of the current terminal, the currently selected PGW, the name of the APN accessed this time, the measured data delay and a large amount of historical data Information is used to make PGW switching decisions, and when PGW switching is required, PGW switching instructions are issued. The processing speed is fast, and the terminal can be controlled to perform PGW switching at the optimal time, which can reduce routing detours and improve user experience.

说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。Each embodiment in the description is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for the related information, please refer to the description of the method part.

专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Professionals can further realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software or a combination of the two. In order to clearly illustrate the possible For interchangeability, in the above description, the composition and steps of each example have been generally described according to their functions. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of the methods or algorithms described in connection with the embodiments disclosed herein may be directly implemented by hardware, software modules executed by a processor, or a combination of both. Software modules can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other Any other known storage medium.

以上对本发明所提供的PGW切换控制方法、系统及服务器进行了详细介绍。本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以对本发明进行若干改进和修饰,这些改进和修饰也落入本发明权利要求的保护范围内。The PGW handover control method, system and server provided by the present invention have been introduced in detail above. In this paper, specific examples are used to illustrate the principle and implementation of the present invention, and the descriptions of the above embodiments are only used to help understand the method and core idea of the present invention. It should be pointed out that for those skilled in the art, without departing from the principles of the present invention, some improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the protection scope of the claims of the present invention.

Claims (10)

1.一种PGW切换控制方法,其特征在于,包括:1. A PGW switching control method, characterized in that, comprising: 终端将当前位置信息发送给源PGW;The terminal sends the current location information to the source PGW; 所述源PGW检测用户数据时延信息,并将判断信息上报给服务器;其中,所述判断信息包括所述当前位置信息、所述用户数据时延信息、源PGW信息、MME信息、APN名;The source PGW detects user data delay information, and reports the judgment information to the server; wherein, the judgment information includes the current location information, the user data delay information, source PGW information, MME information, and APN name; 所述服务器将接收到的所述判断信息与数据库中存储的历史信息进行对比,并根据对比结果判断是否需要进行PGW切换,当需要进行PGW切换时,向MME发送PGW切换指示;具体的,所述服务器在所述数据库中确认与所述判断信息类似状况的数据时延参考数值,更换PGW后的数据时延信息判定是否需要进行切换;The server compares the received judgment information with historical information stored in the database, and judges whether PGW switching is required according to the comparison result, and sends a PGW switching instruction to the MME when PGW switching is required; specifically, the The server confirms in the database a data delay reference value similar to the judgment information, and determines whether switching is required based on the data delay information after replacing the PGW; 所述MME向所述终端发送去附着请求;The MME sends a detach request to the terminal; 所述终端根据所述去附着请求发起附着,并选择当前最优的PGW作为目的PGW。The terminal initiates an attach according to the detach request, and selects the currently optimal PGW as the target PGW. 2.根据权利要求1所述的PGW切换控制方法,其特征在于,终端将当前位置信息发送给源PGW,包括:2. The PGW handover control method according to claim 1, wherein the terminal sends the current location information to the source PGW, comprising: 终端按照预设周期向源PGW发送当前位置信息;或,The terminal sends current location information to the source PGW according to a preset period; or, 终端检测到位置信息发生变化时向源PGW发送当前位置信息。When the terminal detects that the location information changes, it sends the current location information to the source PGW. 3.根据权利要求2所述的PGW切换控制方法,其特征在于,所述源PGW检测用户数据时延信息,包括:3. The PGW handover control method according to claim 2, wherein the source PGW detects user data delay information, comprising: 所述源PGW检测所述源PGW至所述终端的第一时延信息;The source PGW detects first delay information from the source PGW to the terminal; 所述源PGW根据业务服务器的地址检测所述源PGW至所述业务服务器的第二时延信息,并将所述第一时延信息及所述第二时延信息作为用户数据时延信息;其中,所述源PGW根据用户数据包包头解析得出所述业务服务器的地址。The source PGW detects second delay information from the source PGW to the service server according to the address of the service server, and uses the first delay information and the second delay information as user data delay information; Wherein, the source PGW analyzes the header of the user data packet to obtain the address of the service server. 4.根据权利要求1-3任一项所述的PGW切换控制方法,其特征在于,还包括:4. The PGW handover control method according to any one of claims 1-3, further comprising: 所述目的PGW将新获取的判断信息上报给所述服务器;The target PGW reports the newly acquired judgment information to the server; 所述服务器将新获取的判断信息存储到所述数据库中对应位置。The server stores the newly acquired judgment information in a corresponding position in the database. 5.一种PGW切换控制系统,其特征在于,包括:5. A PGW switching control system, characterized in that, comprising: 终端,用于将当前位置信息发送给源PGW;根据去附着请求发起附着,并选择当前最优的PGW作为目的PGW;The terminal is used to send the current location information to the source PGW; initiate attachment according to the detachment request, and select the currently optimal PGW as the destination PGW; 源PGW,用于检测用户数据时延信息,并将判断信息上报给服务器;其中,所述判断信息包括所述当前位置信息、所述用户数据时延信息、源PGW信息、MME信息、APN名;The source PGW is used to detect user data delay information, and report the judgment information to the server; wherein, the judgment information includes the current location information, the user data delay information, source PGW information, MME information, APN name ; 服务器,用于将接收到的所述判断信息与数据库中存储的历史信息进行对比,并根据对比结果判断是否需要进行PGW切换,当需要进行PGW切换时,向MME发送PGW切换指示;具体的,所述服务器在所述数据库中确认与所述判断信息类似状况的数据时延参考数值,更换PGW后的数据时延信息判定是否需要进行切换;The server is configured to compare the received judgment information with historical information stored in the database, and judge whether PGW switching is required according to the comparison result, and send a PGW switching instruction to the MME when PGW switching is required; specifically, The server confirms in the database a data delay reference value similar to the judgment information, and determines whether switching is required based on the data delay information after replacing the PGW; MME,用于向所述终端发送所述去附着请求。MME, configured to send the detach request to the terminal. 6.根据权利要求5所述的PGW切换控制系统,其特征在于,所述终端,包括:6. The PGW switching control system according to claim 5, wherein the terminal comprises: 位置发送单元,用于按照预设周期向源PGW发送当前位置信息;或,当检测到位置信息发生变化时向源PGW发送当前位置信息。The location sending unit is configured to send the current location information to the source PGW according to a preset period; or, send the current location information to the source PGW when a change in the location information is detected. 7.根据权利要求6所述的PGW切换控制系统,其特征在于,所述源PGW,包括:7. The PGW switching control system according to claim 6, wherein the source PGW comprises: 第一检测单元,用于检测所述源PGW至所述终端的第一时延信息;a first detection unit, configured to detect first delay information from the source PGW to the terminal; 第二检测单元,用于根据业务服务器的地址检测所述源PGW至所述业务服务器的第二时延信息,并将所述第一时延信息及所述第二时延信息作为用户数据时延信息;其中,所述源PGW根据用户数据包包头解析得出所述业务服务器的地址。The second detection unit is configured to detect the second delay information from the source PGW to the service server according to the address of the service server, and use the first delay information and the second delay information as user data time extension information; wherein, the source PGW obtains the address of the service server by parsing the header of the user data packet. 8.根据权利要求5-7任一项所述的PGW切换控制系统,其特征在于,还包括:8. The PGW switching control system according to any one of claims 5-7, further comprising: 目的PGW,用于将新获取的判断信息上报给所述服务器;The destination PGW is configured to report newly acquired judgment information to the server; 服务器还用于将新获取的判断信息存储到所述数据库中对应位置。The server is also used to store the newly acquired judgment information in a corresponding position in the database. 9.一种服务器,其特征在于,包括:9. A server, characterized in that, comprising: 接收单元,用于接收源PGW发送的判断信息;其中,所述判断信息包括终端的当前位置信息、用户数据时延信息、源PGW信息、MME信息、APN名;The receiving unit is configured to receive judgment information sent by the source PGW; wherein the judgment information includes current location information of the terminal, user data delay information, source PGW information, MME information, and APN name; 判断单元,用于将所述判断信息与数据库中存储的历史信息进行对比,并根据对比结果判断是否需要进行PGW切换;A judging unit, configured to compare the judging information with historical information stored in the database, and judge whether PGW switching is required according to the comparison result; 发送单元,用于当需要进行PGW切换时,向MME发送PGW切换指示,使所述终端根据所述MME发送的去附着请求发起附着,并选择当前最优的PGW作为目的PGW。The sending unit is configured to send a PGW switching instruction to the MME when PGW switching is required, so that the terminal initiates attachment according to the detach request sent by the MME, and selects the currently optimal PGW as the target PGW. 10.根据权利要求9所述的服务器,其特征在于,还包括:10. The server according to claim 9, further comprising: 更新单元,用于将所述目的PGW新获取的判断信息存储到所述数据库中对应位置。An updating unit, configured to store the judgment information newly acquired by the target PGW in a corresponding position in the database.
CN201610803017.XA 2016-09-05 2016-09-05 A PGW switching control method, system and server Active CN106304228B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610803017.XA CN106304228B (en) 2016-09-05 2016-09-05 A PGW switching control method, system and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610803017.XA CN106304228B (en) 2016-09-05 2016-09-05 A PGW switching control method, system and server

Publications (2)

Publication Number Publication Date
CN106304228A CN106304228A (en) 2017-01-04
CN106304228B true CN106304228B (en) 2019-10-22

Family

ID=57710831

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610803017.XA Active CN106304228B (en) 2016-09-05 2016-09-05 A PGW switching control method, system and server

Country Status (1)

Country Link
CN (1) CN106304228B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108282827B (en) * 2017-01-06 2022-07-12 北京三星通信技术研究有限公司 Method, node and device for interoperability between networks
CN109218455B (en) * 2017-06-30 2021-04-09 华为技术有限公司 Method and device for converting application instance address
CN111614563A (en) * 2019-02-22 2020-09-01 华为技术有限公司 Method and device for selecting user plane path

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011150649A1 (en) * 2010-12-24 2011-12-08 华为技术有限公司 Method and device for reallocating packet data gateway
CN102523629A (en) * 2009-09-18 2012-06-27 日本电气株式会社 Communication system and communication controlling method
CN102740270A (en) * 2011-04-07 2012-10-17 中兴通讯股份有限公司 Method for managing mobility, creating context and establishing channels for terminal
CN105813146A (en) * 2014-12-31 2016-07-27 中兴通讯股份有限公司 Service flow transmission path optimizing method and device and MME

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101502716B1 (en) * 2011-04-03 2015-03-13 엘지전자 주식회사 Server for undertaking control plane in mobile communication network and method for supporting traffic detour service mobility in same server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523629A (en) * 2009-09-18 2012-06-27 日本电气株式会社 Communication system and communication controlling method
WO2011150649A1 (en) * 2010-12-24 2011-12-08 华为技术有限公司 Method and device for reallocating packet data gateway
CN102740270A (en) * 2011-04-07 2012-10-17 中兴通讯股份有限公司 Method for managing mobility, creating context and establishing channels for terminal
CN105813146A (en) * 2014-12-31 2016-07-27 中兴通讯股份有限公司 Service flow transmission path optimizing method and device and MME

Also Published As

Publication number Publication date
CN106304228A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
US20210083925A1 (en) Network fault analysis method and apparatus
US20040185867A1 (en) Method for protecting against overload of a packet switching network node of a communication network
CN101094435B (en) Implementation method and device for seeking process in wireless communication system
CN106304228B (en) A PGW switching control method, system and server
CN112996064B (en) Voice fallback method and device
US10165618B2 (en) Service processing method and device
CN103298035B (en) A kind of jamming control method and device
JP5077442B2 (en) Data communication system, radio base station, and data communication method
EP4145889A1 (en) Communication method, apparatus and system
CN103906156A (en) Network reselection method and apparatus, and terminal
CN114828125A (en) Voice service switching method and device, electronic equipment and storage medium
CN109963310A (en) Method and device for switching between different systems
CN110856188B (en) Communication method, apparatus, system, and computer-readable storage medium
CN114650616B (en) Control method and device of network mode
CN103702353B (en) Fault Locating Method and system, and access point and Network Management Equipment
CN106488495A (en) Base station selection method and device based on base station signal quality
CN103813357A (en) Self-adaption network finding method and self-adaption network finding module for mobile terminal
CN111225413A (en) Method and system for managing and controlling flow
CN109981376A (en) Pre-download method and system, network quality acquire server-side, business service end
CN101753638A (en) Control method, device and communication system of direct tunnel
JP2003037649A (en) Content distribution completion time estimation method, recording medium, and program
CN103200681B (en) A kind of paging method and equipment
CN104380783B (en) Method, device and system for flow monitoring
CN112822716B (en) Control method and control device for service downloading
CN113630831B (en) Cell fallback method, terminal and network side equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220118

Address after: 516000 floor 7, phase II, Dalong building, No. 2, Jiangbei Wenhua 1st Road, Huicheng District, Huizhou City, Guangdong Province

Patentee after: Huizhou smart big data Co.,Ltd.

Address before: 510062 courtyard 729, Dongfeng East Road, Yuexiu District, Guangzhou, Guangdong

Patentee before: GUANGDONG University OF TECHNOLOGY