WO2015172338A1 - Access point selection method and related device - Google Patents

Access point selection method and related device Download PDF

Info

Publication number
WO2015172338A1
WO2015172338A1 PCT/CN2014/077494 CN2014077494W WO2015172338A1 WO 2015172338 A1 WO2015172338 A1 WO 2015172338A1 CN 2014077494 W CN2014077494 W CN 2014077494W WO 2015172338 A1 WO2015172338 A1 WO 2015172338A1
Authority
WO
WIPO (PCT)
Prior art keywords
access point
description information
apn
target
target application
Prior art date
Application number
PCT/CN2014/077494
Other languages
French (fr)
Chinese (zh)
Inventor
于游洋
于益俊
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201480031611.0A priority Critical patent/CN105359580B/en
Priority to PCT/CN2014/077494 priority patent/WO2015172338A1/en
Publication of WO2015172338A1 publication Critical patent/WO2015172338A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and a related device for selecting an access point.
  • LTE Long Term Evolution
  • EPS Evolution Packet System
  • the network element type can be divided into control plane network elements, including MME (Mobility Management Entity, Mobile management entity), PCRF (Policy and Charging Rules Function) Server), etc., or divided into user plane network elements, including SGW (Serving Gateway, service gateway), PGW (PDN Gateway, Data Gateway), etc.
  • SGW Serving Gateway, service gateway
  • PGW Packet Gateway, Data Gateway
  • PCRF and ANDSF may also exist in the EPS architecture. (Access Network Discovery and Selection Function, access network discovery and selection function service Server).
  • the PCRF is mainly responsible for generating policy and charging control information of the flow granularity, ANDSF service.
  • the server is responsible for providing access network discovery information and APN (Access) to the UE (User Equipment). Point Name, access point name) switching policy, system switching policy, and so on.
  • APN refers to a network access technology, which must be configured when users access the Internet through mobile phones. Parameters, APN determines which access method the user's mobile phone will use for network access. User equipment The access network can be selected based on the above policy and decide whether to switch to the target access network.
  • the user equipment is mainly based on the implementation of the newly created application.
  • APN Packet Data Network, data network
  • the UE initiates a connection establishment procedure for the PDN of the APN; If there is currently a PDN connection for the APN, the application data is directly sent through the PDN connection. package.
  • Packets may cause the target server to be unreachable and the data transmission path to be unsatisfactory.
  • Embodiments of the present invention provide a method for selecting an access point and related devices, which can determine the correctness for the terminal.
  • Access point APN Access point APN.
  • an embodiment of the present invention provides a method for selecting an access point, including:
  • the first feature description information includes a source IP address and a destination IP address of the target application. At least one of an address, a source port number, a destination port number, a protocol type, and an application identifier.
  • the acquiring a target application of the terminal includes:
  • the PCRF detects whether the current access point APN of the terminal can be used to transmit the number of the target applications. According to the package;
  • the target access point APN of the data packet of the target application determines that the current access point APN of the terminal is not A data packet that can be used to transmit the target application;
  • Determining, for the terminal, a target access point that can be used to transmit a data packet of the target application APN including:
  • the target access point APN Determining, by the detection result, the target access point APN as a target access of the terminal Point APN.
  • the describing according to the first feature Determining that the current access point APN of the terminal cannot be used to transmit the data packet of the target application include:
  • the preset data description parameter includes: an event subscription parameter, where the event subscription parameter includes The second feature description information and the behavior description parameter, where the behavior description parameter includes an indication report server or a loss Discard the parameters of the packet;
  • the determining whether the first feature description information matches the preset data description parameter includes:
  • Determining, for the terminal, a target access point that can be used to transmit a data packet of the target application APN including:
  • the behavior description parameter is The parameter indicating the report to the server sends the first feature description information to the policy and charging function Server PCRF;
  • the preset data description parameter includes: preset access configuration parameters, and the access configuration parameter Included in the third feature description information and at least one access point APN;
  • the determining whether the first feature description information matches the preset data description parameter includes:
  • Determining, for the terminal, a target access point that can be used to transmit a data packet of the target application APN including:
  • the access configuration parameter is obtained.
  • the ingress APN acts as a target access point APN that can be used to transmit data packets for the target application.
  • the indicating that the terminal transmits the identifier by using the target access point APN The target application's data package, including:
  • the RRC connection configuration pushes the first feature description information and the target access point APN to the end end.
  • a seventh possible implementation include:
  • the receiving policy and The charging function server PCRF is based on a prohibition indication sent by the PCC rule, and the prohibition indication includes Current access point APN;
  • the embodiment of the present invention further provides another method for selecting an access point, including:
  • the feature description information includes a source IP of the target application Address, destination IP address, source port number, destination port number, protocol type, and application ID One;
  • the determining is operative to transmit the The target access point APN of the target application's data packet, including:
  • the sending, by the target access point APN, the data gateway PGW includes:
  • the first indication information of the APN is sent to the data gateway PGW.
  • the sending the applicable access point APN to the data gateway PGW further includes:
  • the prohibition indication includes a current access point APN
  • the second description of the feature description information and the prohibition indication including the target application based on the PCC rule The information is sent to the data gateway PGW.
  • the embodiment of the present invention further provides a method for selecting an access point, including:
  • a target access that can be used to transmit the target application data packet Pointing the indication information of the APN, and transmitting, by the target access point APN, the data packet of the target application;
  • the indication information returned by the network side includes: a data gateway PGW, policy and charging.
  • the function server PCRF or the access network discovers and indicates the indication information returned by the function server ANDSF.
  • the receiving the network side returns The indication information including the target access point APN that can be used to transmit the target application data packet is passed Transmitting, by the target access point APN, the data packet of the target application, including:
  • the indication information including multiple access point APNs returned by the network side is received, according to the The priority parameter of the access point APN included in the indication information is determined to be used for transmitting the target application Target access point APN of the data packet;
  • the embodiment of the present invention further provides an apparatus for selecting an access point, including:
  • An acquiring module configured to acquire first feature description information of a target application of the terminal
  • a detecting module configured to determine the end according to the first feature description information acquired by the acquiring module Whether the current access point APN of the terminal can be used to transmit the data packet of the target application;
  • a determining module configured to: when the detecting module determines that the current access point APN is unavailable for transmitting the Determining, for the target application, a target access point for the terminal that can be used to transmit the data packet APN;
  • An indication module configured to indicate the target access point determined by the terminal by using the determining module APN transmits a data packet of the target application
  • the first feature description information includes a source IP address and a destination IP address of the target application. At least one of an address, a source port number, a destination port number, a protocol type, and an application identifier.
  • the acquiring module includes:
  • a request receiving unit configured to receive a bearer resource modification request sent by the terminal, where the bearer resource The first modification description information of the target application is included in the source modification request;
  • An information extracting unit configured to provide a bearer resource modification request received from the request receiving unit Taking the first feature description information.
  • the detection module includes:
  • a transmitting unit configured to send the first feature description information to a policy and charging function server PCRF, requesting the PCRF to detect whether the current access point APN of the terminal can be used for the transmission station
  • the data packet of the target application is further configured to receive a detection result returned by the PCRF in response to the request;
  • a result determining unit configured to include, in the detection result, data that can be used to transmit the target application Determining, by the target access point APN of the packet, that the current access point APN of the terminal cannot be used to transmit the The data packet of the target application;
  • the determining module includes:
  • An access point extracting unit configured to extract the target access from the detection result returned by the PCRF Point APN;
  • a first access point determining unit configured to use the target access point extracted by the access point extracting unit
  • the APN is determined to be the target access point APN of the terminal.
  • the detecting module includes:
  • a detecting unit configured to determine whether the first feature description information and the preset data description parameter are Match
  • a matching determining unit configured to determine, when the detecting unit determines that the result is a match, The current access point APN cannot be used to transmit data packets of the target application.
  • the preset data description parameter includes: an event subscription parameter, where the event subscription parameter includes The second feature description information and the behavior description parameter, where the behavior description parameter includes an indication report server or a loss Discard the parameters of the packet;
  • the detecting unit is specifically configured to: determine whether an item exists in the first feature description information or The plurality of description information is the same as one or more of the description information in the second feature description information;
  • the determining module includes:
  • a parsing unit configured to: when the detecting unit determines that the result is the first feature description information One or more pieces of description information and second feature description information included in the event subscription parameter One or more pieces of description information are the same, and the behavior description parameter is a parameter of the indication reporting server
  • the first feature description information is sent to the policy and charging function server PCRF;
  • a second access point determining unit configured to receive the first sent by the PCRF according to the parsing unit Target access point that can be used to transmit the data packet of the target application obtained by the feature description information
  • the APN determines the target access point APN as the target access point APN of the terminal.
  • the preset data description parameter includes: preset access configuration parameters, and the access configuration parameter Included in the third feature description information and at least one access point APN;
  • the detecting unit is specifically configured to: determine whether an item exists in the first feature description information or The plurality of description information is the same as one or more of the description information in the third feature description information;
  • the determining module includes:
  • An obtaining unit configured to: when the detecting unit determines that the result is the first feature description information One or more description information and one or more description information in the third feature description information When the same, the at least one access point APN included in the access configuration parameter is obtained;
  • a third access point determining unit configured to acquire at least one access point APN from the acquiring unit Selecting an access point APN corresponding to the first feature description information as being capable of transmitting the destination The target access point APN of the packet of the application.
  • the indication module is specifically configured to:
  • the RRC connection configuration pushes the first feature description information and the target access point APN to the end end.
  • a seventh possible implementation include:
  • a receiving module configured to: if the current access point APN is not used to transmit the data packet of the target application, Receiving a prohibition indication sent by the policy and charging function server PCRF based on the PCC rule, the prohibition The stop indication includes the current access point APN;
  • a generating module configured to generate a forbidden class including the first feature description information and the prohibition indication
  • the flow template is pushed to the terminal by the default bearer.
  • the embodiment of the present invention further provides another apparatus for selecting an access point, including:
  • An information acquiring module configured to acquire feature description information of the target application, where the feature description information packet Source IP address, destination IP address, source port number, destination port number, protocol type, At least one of the application identifiers;
  • a determining module configured to determine, according to the feature description information obtained by the information acquiring module, Whether the current access point APN of the terminal can be used to transmit the data packet of the target application;
  • An access point determining module configured to: when the determining result of the determining module is negative, determine that the information can be used for transmitting Transmitting a target access point APN of the data packet of the target application;
  • a sending module configured to send the target access point APN to the data gateway PGW.
  • the access point determining module includes:
  • a request sending unit configured to send, by using an access point, the acquired feature description information To the access network discovery and selection function server ANDSF;
  • An information receiving unit configured to receive, by the ANDSF, an access sent by the request sending unit
  • the target access point APN that can be used to transmit the data packet of the target application returned by the point request.
  • the sending module includes:
  • a first generating unit configured to generate feature description information including the target application, and the target connection First indication information of the inbound APN;
  • a first information sending unit configured to generate the first generated by the first generating unit based on a PCC rule
  • the indication information is sent to the data gateway PGW.
  • the sending module further includes:
  • a second generating unit configured to detect that the current access point APN of the terminal cannot be used for transmitting Generating the feature description information and the prohibition finger including the target application when the data packet of the target application is input
  • the second indication information where the prohibition indication includes a current access point APN
  • a second information sending unit configured to generate the second generated by the second generating unit based on a PCC rule
  • the indication information is sent to the data gateway PGW.
  • the embodiment of the present invention further provides another apparatus for selecting an access point, including:
  • a sending module configured to: feature the target application data packet when detecting that the target application is running
  • the description information is sent to the network side, so that the network side detects the current connection of the terminal according to the feature description information.
  • the ingress APN can be used to transmit the data packet of the target application;
  • An access module configured to receive, when received by the network side, the data that can be used to transmit the target application When the indication information of the target access point APN of the packet is transmitted, the target is transmitted through the target access point APN Application data packet;
  • the indication information returned by the network side includes: a data gateway PGW, policy and charging.
  • the function server PCRF or the access network discovers and indicates the indication information returned by the function server ANDSF.
  • the access module includes:
  • An access point determining unit configured to receive, when receiving, a finger of the multiple access point APN returned by the network side When the information is displayed, it is determined according to the priority parameter of the access point APN included in the indication information.
  • a target access point APN for transmitting a data packet of the target application;
  • a transmission control unit configured to determine, by the access point determining unit, a target access point APN Transmitting the data packet of the target application.
  • an embodiment of the present invention further provides a computer storage medium, where the computer stores The medium stores a program, and when the program is executed, the method for selecting the access point of the first aspect is performed Part or all of the steps.
  • an embodiment of the present invention further provides a computer storage medium, where the computer stores The medium stores a program, and when the program is executed, the method for selecting the access point of the second aspect is performed Part or all of the steps.
  • an embodiment of the present invention further provides a computer storage medium, where the computer stores The medium stores a program, and when the program is executed, the method for selecting the access point of the third aspect is performed Part or all of the steps.
  • the embodiment of the present invention further provides a network device, including: a receiver, a transmitter, Memory and processor,
  • the processor performs the following steps:
  • the first feature description information includes a source IP address and a destination IP address of the target application. At least one of an address, a source port number, a destination port number, a protocol type, and an application identifier.
  • the processor is performing the obtaining The first feature description information of the target application of the terminal is specifically performed as follows:
  • the PCRF detects whether the current access point APN of the terminal can be used to transmit the number of the target applications. According to the package;
  • the target access point APN of the data packet of the target application determines that the current access point APN of the terminal is not A data packet that can be used to transmit the target application;
  • the target access point APN Determining, by the detection result, the target access point APN as a target access of the terminal Point APN.
  • the processor is performing the Determining, by the first feature description information, that the current access point APN of the terminal is not used to transmit the
  • the data packet of the target application is as follows:
  • the preset data description parameter includes: an event subscription parameter, where the event subscription parameter includes The second feature description information and the behavior description parameter, where the behavior description parameter includes an indication report server or a loss Discard the parameters of the packet;
  • the processor performs the determining the first feature description information and the preset data description parameter If the numbers match, perform the following steps:
  • the behavior description parameter is The parameter indicating the report to the server sends the first feature description information to the policy and charging function Server PCRF;
  • the preset data description parameter includes: preset access configuration parameters, and the access configuration parameter Included in the third feature description information and at least one access point APN;
  • the processor performs the determining the first feature description information and the preset data description parameter If the numbers match, perform the following steps:
  • the access configuration parameter is obtained. At least one access point APN included in the number;
  • the ingress APN acts as a target access point APN that can be used to transmit data packets for the target application.
  • the processor is performing the indication that the terminal accesses by using the target
  • the point APN transmits the data packet of the target application, and the specific steps are as follows:
  • the RRC connection configuration pushes the first feature description information and the target access point APN to the end end.
  • the processor also performs the following steps:
  • the receiving policy and The charging function server PCRF is based on a prohibition indication sent by the PCC rule, and the prohibition indication includes Current access point APN;
  • an embodiment of the present invention further provides a server, including: a receiver, a transmitter, and Memory and processor,
  • the processor performs the following steps:
  • the feature description information includes a source IP of the target application Address, destination IP address, source port number, destination port number, protocol type, and application ID One;
  • the processor is performing the Determining a target access point APN that can be used to transmit the data packet of the target application, and performing the following steps Step:
  • the processor is configured to send the target access point APN to the data.
  • the gateway PGW performs the following steps:
  • the first indication information of the APN is sent to the data gateway PGW.
  • the processor also performs the following steps:
  • the prohibition indication includes a current access point APN
  • the second description of the feature description information and the prohibition indication including the target application based on the PCC rule The information is sent to the data gateway PGW.
  • the embodiment of the present invention further provides a terminal, including: a receiver, a transmitter, Memory and processor,
  • the processor performs the following steps:
  • a target access that can be used to transmit the target application data packet Pointing the indication information of the APN, and transmitting, by the target access point APN, the data packet of the target application;
  • the indication information returned by the network side includes: a data gateway PGW, policy and charging.
  • the function server PCRF or the access network discovers and indicates the indication information returned by the function server ANDSF.
  • the processor is performing the Receiving, by the network side, a target access point APN that can be used to transmit the target application data packet And indicating, by the target access point APN, the data packet of the target application, specifically Perform the following steps:
  • the indication information including multiple access point APNs returned by the network side is received, according to the The priority parameter of the access point APN included in the indication information is determined to be used for transmitting the target application Target access point APN of the data packet;
  • the embodiment of the present invention can detect the end by acquiring the feature description information corresponding to the target application on the terminal. Whether the currently selected APN can be used to transmit the data packet of the target application, and the detection result is If no, the correct APN is determined for the terminal in time, thereby avoiding the wrong selection of the APN. The resulting application data is unreachable and application creation fails.
  • FIG. 1 is a schematic diagram of interaction of a method for selecting an access point according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of interaction of another method for selecting an access point according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of interaction of another method for selecting an access point according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an apparatus for selecting an access point according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of another apparatus for selecting an access point according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of still another apparatus for selecting an access point according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram of one specific structure of the access point determining module of FIG. 6;
  • FIG. 8 is a schematic structural diagram of still another apparatus for selecting an access point according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a network device according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 1 is an interactive diagram of a method for selecting an access point according to an embodiment of the present invention.
  • the method includes:
  • S1001 The UE sends a bearer resource modification request.
  • a user equipment such as a mobile phone or a tablet computer
  • the target application such as a new application running, can pass the currently existing APN (Access Point Name, The PDN (Packet Data Network) corresponding to the access point name is transmitted. Used packet, but when the current PDN connected bearer is not suitable for transmitting the packet of the newly created application, The bearer resource modification process may be initiated, and the bearer resource modification request is sent to the MME (Mobility) Management Entity, Mobile Management Entity).
  • APN Access Point Name
  • the PDN Packet Data Network
  • the bearer resource modification request may carry the default inheritance of the PDN connection corresponding to the current APN.
  • the EPS Evolved Packet System
  • QoS Quality of Service
  • the feature description information may be specifically flow description information, and may include a source IP address of the target application. Address, destination IP address, source port number, destination port number, protocol type, application ID, and so on. Enter one Step, the feature description information may also be TAD (Traffic Aggregate Description)
  • TAD Traffic Aggregate Description
  • the information is that the TAD is a set of the flow description information, that is, includes multiple pieces of flow description information.
  • S1002 The MME sends a bearer resource command to the SGW.
  • S1003 The SGW sends a bearer resource command to the PGW.
  • the MME may send a bearer resource command.
  • Bearer Resource Command To the SGW, the SGW sends a bearer resource command to the PGW. Place The bearer resource command includes a user permanent identifier, a default bearer identifier, an EPS bearer identifier, and QoS. Feature description information, etc.
  • S1004 The PGW initiates an IP-CAN session modification process.
  • the PGW may be triggered by the bearer resource modification process.
  • the data gateway sends the feature description information of the newly created application to the PCRF (Policy and Charging Rules Function, requesting PCRF to detect the UE Whether the current APN can be used to transmit the packet of the newly created application.
  • the PGW is the current PDN pair The PGW should be.
  • the PGW sends the feature description information to the PCRF through IP-CAN.
  • the session modification process sends the feature description information to the PCRF.
  • S1005 The PCRF determines whether the current APN is correct. If not, determine the correct APN.
  • the PCRF detects whether the current APN selection is correct based on the feature description information of the newly created application, that is, Whether it can be used to transmit the data packet of the newly created application, for example, based on the IP address of the newly created application server.
  • the feature information such as the address or the application identifier determines whether the current APN is correct, and when the PCRF determines the current APN. If it is incorrect, it determines for the UE the APN that can be used to transmit the newly created application packet.
  • the PCRF may be in the IP-CAN session modification process of replying to the PGW.
  • the binding information of the description information and its correct APN is pushed to the PGW.
  • the binding relationship can be Is delivered by the PCC rule, such as including the feature description information of the application in the PCC rule, and The same PCC rules carry the correct APN information.
  • the PCRF The feature description information and the prohibition indication of the application data packet may be sent to the PGW based on the PCC rule.
  • the current APN is included in the prohibition indication.
  • the PGW may extract, from the detection result returned by the PCRF, a data packet that can be used to transmit the newly created application.
  • the APN determines the APN as the target APN of the terminal, that is, the correct APN.
  • S1007 The PGW sends an update bearer request and pushes the correct APN.
  • the PGW may send the feature description information and its correct APN by updating the bearer request. It is sent to the SGW (Serving Gateway) and the MME.
  • SGW Serving Gateway
  • MME Mobility Management Entity
  • the PGW may generate the new The feature description information of the application and the prohibited flow template of the prohibition indication (Traffic Flow Template, TFT), the prohibition indication includes an APN that cannot be used to transmit the newly created application packet (if detected If the current APN cannot be used to transmit the newly created application packet, the prohibition indication may include the current APN). Binding the forbidden TFT to the default bearer of the PDN connection corresponding to the current APN, and updating the The bearer request sends the forbidden TFT to the SGW and the MME.
  • TFT Traffic Flow Template
  • the MME returns the correct APN to the UE by using an RRC connection configuration.
  • the MME can be configured through RRC (Radio Resource Control) connection configuration.
  • RRC Radio Resource Control
  • the feature description information corresponding to the newly created application and its corresponding correct APN and prohibited class Information such as TFT is sent to the current UE.
  • the embodiment of the present invention can obtain the feature in the bearer resource modification request sent by the current UE. Descriptive information to detect whether the currently selected APN can be used to transmit the data packet of the target application, and When the detection result is no, the correct APN is determined for the current UE in time, and the selection by the APN is avoided. The application data is unreachable due to errors and the application establishment fails.
  • FIG. 2 it is an interactive diagram of another method for selecting an access point according to an embodiment of the present invention.
  • the method includes:
  • S2001 The UE sends a target application data packet.
  • S2002 The PGW determines whether the current APN can be used to transmit the data packet of the target application.
  • the preset data description parameters may include event subscription parameters or pre-configured access configuration parameters. its The event subscription parameter can be delivered by the PCRF according to a preset time interval.
  • the PGW can detect the feature description information of the newly created application and the preset data description. Whether the parameters match, and when a mismatch is detected, it indicates that the current APN cannot be used to transmit the Create a new application package.
  • the event subscription parameter includes preset feature description information, and includes Knowing the corresponding behavior description parameter of the PGW when detecting a data packet, the behavior description parameter includes Report the server, discard the data packet and other parameters.
  • the access configuration parameter is pre-defined by the operator or other related personnel. Configured static configuration parameters, including preset feature description information and at least one APN.
  • determining whether the current APN can be used to transmit the data packet of the target application may be determined by Whether one or more description information exists in the feature description information corresponding to the current target application and the connection One or more of the description information included in the configuration parameter included in the configuration parameter is the same. further If the judgment result is the same, it may indicate that the current APN cannot be used to transmit the application data packet.
  • the APN information included in the access configuration parameter may be further obtained, and selected from the APN information. The APN corresponding to the feature description information of the target application, and determining the APN as the target of the current UE APN.
  • the packet containing the specific protocol type is configured with the correct correct APN, and the PGW detects this.
  • the application identifier of the data packet can be obtained directly from the access configuration parameter.
  • the APN corresponding to the protocol type, and the acquired APN is determined to be used to transmit the current new application.
  • the target APN is a pre-defined for certain specific data packets, such as including a certain type of application identifier in advance.
  • the packet containing the specific protocol type is configured with the correct correct APN, and the PGW detects this.
  • the application identifier of the data packet can be obtained directly from the access configuration parameter.
  • the APN corresponding to the protocol type, and the acquired APN is determined to be used to transmit the current new application.
  • the target APN is mapped to the packet that uses the target APN.
  • determining whether the current APN can be used to transmit the data packet of the target application and determining Whether one or more description information and the presence information exist in the feature description information corresponding to the current target application
  • One or more of the description information included in the event subscription parameter is the same. Enter one If the result of the determination is the same, and the behavior description parameter is the parameter of the indication reporting server If the number is used, the corresponding feature description information of the target application may be sent to the PCRF to obtain the correct APN.
  • the current data packet can be directly discarded.
  • the current PGW can be repaired by initiating an IP-CAN session.
  • the process is changed, and the feature description information and the application identifier of the received target application data packet are sent to the PCRF.
  • the application identifier may be included in the packet feature description information, or may be based on a deep packet solution. Analysis and knowledge.
  • the PGW returns the correct APN to the UE.
  • the PCRF is based on the feature description information of the application data packet, for example, based on the newly created application server.
  • the feature information such as the destination IP address or the application identifier determines the correct APN and is based on the PCC rules.
  • the feature description information corresponding to the data packet and the determined correct APN are returned to the PGW.
  • the PGW may further indicate The current APN cannot be used to transmit the application data packet, that is, the current APN is incorrect, and the PCRF can be returned.
  • the returned APN is determined to be the target APN of the UE.
  • the PGW will obtain the correct parameters based on the preset data description parameters or the PCC rules issued by the PCRF.
  • APN is the target APN, the characterization information corresponding to the application data packet, and the prohibited classes that may be included.
  • the TFT or the like is transmitted to the current UE.
  • the GW describes the characterization information corresponding to the application data packet and the correct
  • the process of pushing information to the UE, such as the APN and possibly the prohibited TFT, is the same as the embodiment corresponding to FIG. The corresponding description will not be repeated here.
  • Embodiments of the present invention may be implemented by using the feature description information of the acquired target application data packet.
  • Feature description information included in the event subscription parameters delivered by the PCRF or preset access configuration parameters For comparison, if there is a match between the two, it may indicate that the currently selected APN cannot be used for transmission. Lose the packet for the target application.
  • the preset can also be Select the correct APN or report the PCRF to obtain the correct APN in the APN information. The correct APN is determined for the current UE.
  • FIG. 3 it is an interaction diagram of another method for selecting an access point according to an embodiment of the present invention.
  • the method includes:
  • the PGW obtains feature description information corresponding to the target application data packet.
  • the UE When the target application is running, such as a new application, the UE connects through the PDN corresponding to the current APN. Transmitting the application data packet, or initiating bearer resource modification when the current PDN connection bearer is not suitable When requested, the PGW may obtain the feature description letter included in the application data packet or the bearer resource modification request. interest.
  • S3002 The PGW initiates a session modification process, and sends the feature description information to the PCRF.
  • S3003 The PCRF detects that the packet is not suitable for transmission in the current session.
  • the PGW may map the target application data packet corresponding to the feature by initiating an IP-CAN session modification process.
  • the information is pushed to the PCRF.
  • sending the feature description information to the PCRF may be at the PGW.
  • the feature description information and the feature description information included in the event subscription parameter are detected by the PGW. Matching, and the behavior description parameter is triggered when the parameter is reported to the server, that is, by the user. Face trigger.
  • the above event subscription parameters can be delivered to the PGW by the PCRF.
  • PCRF can be based on this feature Determining the current UE by using feature information such as the destination IP address or application identifier corresponding to the target application in the information Whether the APN can be used to transmit packets of the target application.
  • the PCRF determines that the application data packet should not be transmitted in the current session, that is, the current When the APN cannot be used to transmit the application data packet, it can also initiate an APN request to the ANDSF server.
  • PCRF and ANDSF Access Network Discovery and Selection Function, access The interface between the network discovery and selection function sends the feature description information corresponding to the target application to ANDSF, so that the ANDSF obtains the correct APN based on the feature description information.
  • the ANDSF server selects the correct APN based on the received feature description information, that is, can be used Transmitting the APN of the application data packet, for example, according to the destination IP address in the feature description information or Apply the feature information such as the identifier to determine the correct APN and reply the correct APN to the PCRF.
  • the PGW returns the correct APN to the UE.
  • the APN may be The target application binds the corresponding feature description information, and pushes the binding relationship to the PGW.
  • the PGW will describe the feature description information and its correct APN, and possibly the prohibited TFTs.
  • the process of pushing to the UE is the same as that of the embodiment corresponding to FIG. 1 and will not be described here.
  • the ANDSF server may also communicate with the current UE, such as The S14 interface directly pushes the APN policy to the UE.
  • the target application packet is included in the APN policy.
  • Feature description information, APN information, and APN priority indication parameters, the priority indication parameter may be To indicate whether the APN can be used by the data packet, for example, can be set when the priority indication parameter When it is a special value (such as 254, 255), it indicates that the application data packet is forbidden to use the APN.
  • the APN policy includes at least one APN.
  • the UE may describe the feature in the APN policy.
  • the information is matched with the application data packet, and if the matching is successful, the corresponding information corresponding to the feature description information is used.
  • the APN transmits the application packet. If the PDN connection to the APN is not currently established, the UE initiates The connection establishment process to the PDN of the APN.
  • the embodiment of the present invention can send the feature description information of the application data packet acquired by the PGW. Up to the PCRF, and detecting, by the PCRF according to the feature description information, that the current APN cannot be used for transmitting the When the data packet is applied, the feature description information is pushed to the ANDSF server, and the ANDSF service Obtaining the correct APN corresponding to the feature description information, so as to determine positively for the current UE in time The exact APN.
  • FIG. 4 is a schematic structural diagram of an apparatus for selecting an access point according to an embodiment of the present invention.
  • the device may be specifically configured in a network node such as a PGW (PDN Gateway, data gateway).
  • PGW Packet Gateway, data gateway
  • the device includes an obtaining module 11, a detecting module 12, a determining module 13, and an indicating module. 14. among them,
  • the obtaining module 11 is configured to acquire first feature description information of a target application of the terminal.
  • the PGW may refer to the correlation of the PGW in the corresponding embodiment of FIG. 1 to FIG. 3.
  • Description can launch a target application such as a new application on a user terminal such as a mobile phone or a tablet computer, and pass When the existing APN transmits the data packet of the newly created application, or the PDN corresponding to the current APN.
  • the connected bearer is not suitable for transmitting the data packet of the newly created application, and receives the bearer resource modification sent by the terminal.
  • the obtaining module 11 triggers acquiring the information carried in the application data packet or carried in the bearer resource modification request. Feature description information.
  • the PGW is a PGW corresponding to the current PDN.
  • the feature description information may be specific to the flow description information, and may include a new application source/purpose. IP address, source/destination port number information, protocol type and application identifier, etc. Further, the feature The description information may also be TAD (Traffic Aggregate Description) information, which The TAD is a set of the foregoing flow description information, that is, includes multiple pieces of flow description information.
  • TAD Traffic Aggregate Description
  • the detecting module 12 is configured to use the first feature description information acquired by the acquiring module 11 Determining whether the current access point APN of the terminal can be used to transmit a data packet of the target application.
  • the detecting module 12 can determine the feature description acquired by the acquiring module 11 Whether the information matches the preset data description parameter to determine whether the current APN is correct, that is, the current APN. Can be used to transfer packets of this newly created application. Further, the detection module 12 can also obtain The feature description information of the newly created application obtained by the module 11 is sent to the PCRF (Policy and Charging Rules Function, the policy and accounting function server), so that the PCRF detects the current APN Whether the corresponding PDN can be used to transmit the data packet of the newly created application.
  • PCRF Policy and Charging Rules Function
  • the determining module 13 is configured to: when the detecting module 12 determines that the current access point APN is unavailable Determining, for the terminal, a data packet that can be used to transmit the data packet when transmitting the data packet of the target application. Target access point APN.
  • the indication module 14 is configured to indicate the target that is determined by the terminal by using the determining module
  • the standard access point APN transmits the data packet of the target application.
  • the data packet of the application may be compared according to the feature description information of the newly created application acquired by the obtaining module 11 For example, according to the feature information such as the destination IP address or the application identifier corresponding to the newly created application, The correct APN can be used to transmit the APN corresponding to the newly created application packet.
  • the correct APN Can be by PGW, PCRF or ANDSF (Access Network Discovery and Selection Function, access network discovery and selection function) based on the application of the new application feature description information acquisition APN.
  • the indicating module 14 may describe the determined correct APN and the feature of the newly created application. Binding the information and indicating the feature description information of the newly created application after binding The APN is pushed to the current terminal.
  • the embodiment of the present invention can be detected by acquiring feature description information corresponding to the target application on the terminal. Detecting whether the currently selected APN of the terminal can be used to transmit the data packet of the target application, and can detect the node If the value is no, the correct APN is determined for the terminal in time, thereby avoiding the wrong selection due to the APN. Mistakes caused by application data unreachability and application establishment failure.
  • FIG. 5 is a schematic structural diagram of another apparatus for selecting an access point according to an embodiment of the present invention.
  • the device includes an acquisition module 11 of the selection device of the access point, a detection module 12, and a determination.
  • the module 13 and the indication module 14 specifically, in the embodiment of the present invention, the acquisition module 11 can Specifically include:
  • the request receiving unit 111 is configured to receive a bearer resource modification request sent by the terminal, where the The first feature description information of the target application is included in the resource modification request.
  • the information extracting unit 112 is configured to modify the bearer resource received from the request receiving unit 111.
  • the first feature description information is extracted from the request.
  • the bearer resource modification request carries the feature of the newly created application data packet Description. If the request receiving unit 111 receives the bearer resource modification request, the information extracting unit 112 may extract feature description information of the application data packet from the request.
  • the detecting module 12 can specifically include:
  • the transmitting unit 121 is configured to send the first feature description information to a policy and charging function service.
  • the PCRF is configured to request the PCRF to detect whether the current access point APN of the terminal can be used for transmitting Transmitting a data packet of the target application, and further configured to receive a detection node returned by the PCRF in response to the request fruit.
  • a result determining unit 122 configured to: when the detection result includes, can be used to transmit the target application
  • the target access point APN of the data packet is determined, it is determined that the current access point APN of the terminal cannot be used for transmission.
  • the data packet of the target application is determined.
  • the determining module 13 may specifically include:
  • An access point extracting unit 131 configured to extract the target from the detection result returned by the PCRF Access point APN.
  • a first access point determining unit 132 configured to use the target extracted by the access point extracting unit 131
  • the access point APN is determined to be the target access point APN of the terminal.
  • the PGW may pass through the access point extracting unit 131. Extracting the APN, the first access point determining unit 132 determines the extracted APN as the new one. Apply the correct APN corresponding to it.
  • the detecting module 12 may further include:
  • the detecting unit 123 is configured to determine that the first feature description information and the preset data description parameter are No match
  • the matching determining unit 124 is configured to determine, when the detecting unit 123 determines that the result is a match, The current access point APN of the terminal cannot be used to transmit the data packet of the target application.
  • the feature description letter of the currently acquired data packet may be compared by the detecting unit 123. Whether the information matches the preset data description parameters to determine whether the current APN is correct.
  • the pre The set data description parameter may be an event subscription parameter or may be a pre-configured access configuration parameter.
  • the event subscription parameter may be sent by the PCRF according to a preset time interval, and the event subscription parameter
  • the number includes second feature description information and a behavior description parameter, and the behavior description parameter includes an indication report service Server or discard the parameters of the packet.
  • the detecting unit 123 is specifically configured to: determine whether an item exists in the first feature description information or The plurality of description information is the same as one or more of the description information of the second feature description information. Enter one
  • the determining module 13 may specifically include:
  • the parsing unit 133 is configured to: when the detecting unit 123 determines that the first feature description information is stored In the one or more description information and the second feature description information included in the event subscription parameter One or more pieces of description information are the same, and the behavior description parameter is the indication reporting server When the parameter is used, the first feature description information is sent to the policy and charging function server PCRF.
  • a second access point determining unit 134 configured to receive the PCRF according to the parsing unit 133 An access point APN obtained by sending the first feature description information, and determining the access point APN as The target access point APN of the terminal.
  • the detecting unit 123 determines the feature description information and event subscription corresponding to the newly created application data packet There is a match in the feature description information included in the parameter, for example, the application identifiers of the two are detected to be the same. Or the destination IP address is the same, and the behavior description parameter is an indication reporting server,
  • the analyzing unit 133 sends the obtained feature description information corresponding to the newly created application to the PCRF to request positive
  • the correct APN, the second access point determining unit 134 may determine the returned APN as the APN of the terminal.
  • the access configuration parameter includes third feature description information and at least one APN, and the checklist
  • the element 123 is specifically configured to: determine whether one or more description letters exist in the first feature description information The information is the same as one or more of the description information in the third feature description information.
  • the The determining module 13 may further include:
  • the obtaining unit 135 is configured to: when the detecting unit 123 determines that the first feature description information is stored One or more description letters in one or more description information and the third feature description information When the information is the same, the at least one APN included in the access configuration parameter is obtained.
  • a third access point determining unit 136 configured to acquire at least one APN from the acquiring unit 135 Selecting an APN corresponding to the first feature description information as being capable of transmitting the target application The target APN of the packet.
  • the data package may be pre-defined for certain applications, such as pre-existing for a certain type of application Knowledge, or application data packets containing specific protocol types, configure the correct correct APN, checklist
  • the element 123 obtains a single when it detects that the newly created application data packet matches the preset specific application data packet.
  • Element 135 can obtain pre-configured APNs directly from the access configuration parameter, and pass the third
  • the access point determining unit 136 selects, from the preset types of APNs, the response to the newly created application packet. Using an APN corresponding to the identity or protocol type as a target that can be used to transmit the target application data packet APN.
  • the determining module 13 of the device in the embodiment of the present invention may include an access point extracting unit 131 and a first access point determining unit 132, a parsing unit 133, and a second access point determining unit 134, acquiring a single
  • the element 135 and the third access point determining unit 136 are any one or more of the three unit combinations, and are implemented by the present invention. The example is not limited.
  • the indication module 14 of the device in the embodiment of the present invention may be specifically configured to:
  • the RRC connection configuration pushes the first feature description information and the target access point APN to the end end.
  • the device may further include:
  • the receiving module 15 is configured to detect that the current APN cannot be used to transmit the target application data packet Receiving, by the receiving policy and charging function server PCRF, a prohibition indication sent based on the PCC rule,
  • the prohibition indication includes the current APN;
  • the generating module 16 is configured to generate a ban including the first feature description information and the prohibition indication The flow template is terminated, and the forbidden flow template is pushed to the terminal by using a default bearer.
  • the receiving module 15 may generate by using the generating module 16.
  • a traffic flow template (Traffic Flow Template) containing the application description information and the prohibition indication
  • the TFT is bound to the default bearer of the PDN connection corresponding to the current APN.
  • ban The stop indication includes an APN that cannot be used to transmit the packet of the newly created application.
  • the prohibition The class TFT may include a set of feature description information of the application and its corresponding prohibition indication.
  • the MME can establish the new connection through RRC connection reconfiguration. Apply the corresponding feature description information and its correct APN, forbidden TFT, etc. to the current end. end.
  • the embodiment of the present invention can be detected by acquiring feature description information corresponding to the target application of the terminal. Whether the APN currently selected by the terminal can be used to transmit the data packet of the target application, and the detection result is If no, directly select the correct APN from the preset APN information or report the PCRF to Obtain the correct APN, determine the correct APN for the terminal in time, and avoid the choice of APN.
  • the application data is unreachable due to errors and the application establishment fails.
  • FIG. 6 is a schematic structural diagram of another apparatus for selecting an access point according to an embodiment of the present invention.
  • the device may be specifically configured in a server such as a PCRF. Specifically, the device may include information.
  • the information obtaining module 17 is configured to acquire feature description information of the target application.
  • the PCRF of the embodiment of the present invention may refer to the phase of the PCRF in the corresponding embodiment of FIG. 1 to FIG. 3. Off description.
  • the feature description information may include a destination application destination source IP address, a destination IP address, and a source.
  • the port number and destination port number may also include the protocol type and application identifier.
  • the determining module 18 is configured to obtain the feature description obtained by the information acquiring module 17 Determining whether the current access point APN of the terminal can be used to transmit the number of the target applications According to the package.
  • the determining module 18 The feature description information such as the destination IP address or the application identifier in the feature description information may be determined. Whether the PDN corresponding to the APN of the front terminal can be used to transmit the data packet of the target application.
  • the access point determining module 19 is configured to determine, when the determining module 18 determines that the result is negative, A target access point APN that can be used to transmit a data packet of the target application.
  • the sending module 20 is configured to send the applicable access point APN to the data gateway PGW.
  • the The access point determining module 19 further obtains the feature description information based on the destination IP address or the application identifier.
  • the correct APN that is, can be used to transmit the APN corresponding to the target application data packet, and is sent by the sending module 20
  • the obtained correct APN is returned to the PGW as the target APN.
  • the sending module 20 may include:
  • a first generating unit 201 configured to generate feature description information and the target that includes the target application The first indication information of the access point APN.
  • a first information sending unit 202 configured to generate the first generating unit 201 based on a PCC rule
  • the first indication information is sent to the data gateway PGW.
  • the second generating unit 203 is configured to: when detecting that the current access point APN of the terminal is unavailable, Generating feature description information including the target application and transmitting the data packet of the target application The second indication information of the indication is included, and the current indication point APN is included in the prohibition indication.
  • a second information sending unit 204 configured to generate the second generating unit 203 based on a PCC rule
  • the second indication information is sent to the data gateway PGW.
  • sending the target APN to the PGW may be through the first
  • the generating unit 201 generates feature description information including the target application and a first indication of the target APN Information, and the first information transmitting unit 202 will include features of the target application based on PCC rules.
  • the description information and the first indication information of the applicable APN are delivered to the PGW.
  • the second generating unit 203 detects that the current APN of the terminal is unavailable, When transmitting the data packet of the target application, generating feature description information including the target application and The second indication information of the indication is prohibited, and the second information sending unit 204 may include the The feature description information of the newly created application and the second indication information of the prohibition indication are sent to the data gateway PGW.
  • the access point determining module 19 may specifically include:
  • a request sending unit 191 configured to request, by using an access point, the obtained feature description information Send to the access network discovery and selection function server ANDSF.
  • the request sending unit 191 can also pass the PCRF and the ANDSF (Access Network) Interface between Discovery and Selection Function, access network discovery and selection function)
  • the feature description information corresponding to the target application is sent to the ANDSF, so that the ANDSF describes the letter according to the feature Get the correct APN.
  • the information receiving unit 192 is configured to receive the ANDSF response to the request sending unit 191 The target access point returned by the sent access point request that can be used to transmit the data packet of the target application APN.
  • the ANDSF selects an appropriate APN according to the feature description information, for example, according to the feature description.
  • the characteristic information such as the destination IP address or the application identifier in the information determines the correct APN for the terminal, that is, Can be used to transmit the APN of the newly created application packet, and reply to the PCRF, and the information receiving unit 192 is connected.
  • the correct APN of the reply is received, and the APN can be determined as the APN of the current terminal.
  • the embodiment of the present invention can determine the current by using the feature description information corresponding to the acquired target application. Whether the selected APN can be used to transmit the data packet of the target application, and when the detection result is no, Determining, for the terminal, feature information such as an application identifier or a protocol type in the feature description information The correct APN, or send the feature description information to the ANDSF to make the ANDSF determine positive The correct APN can determine the correct APN for the terminal in time.
  • FIG. 8 is a schematic structural diagram of another apparatus for selecting an access point according to an embodiment of the present invention.
  • the device may be specifically disposed in a terminal such as a mobile phone, a tablet computer, or a personal computer, and the terminal
  • a transmitting module 21 and an access module 22 are examples of transmitting module 22. among them,
  • the sending module 21 is configured to: when the target application is detected to be running, the target application data
  • the feature description information of the packet is sent to the network side, so that the network side detects the terminal according to the feature description information. Whether the current access point APN can be used to transmit the data packets of the target application.
  • the access module 22 configured to receive, when received by the network side, can be used to transmit the target When the indication information of the target access point APN of the data packet is applied, the target access point APN is transmitted. The data packet of the target application.
  • the indication information returned by the network side includes: a data gateway PGW, policy and charging.
  • the function server PCRF or the access network discovers and indicates the indication information returned by the function server ANDSF.
  • the access module 22 may describe the feature of the application.
  • the information is matched and matched with the feature description information corresponding to the target APN.
  • the table is The PDN transmission application data packet corresponding to the applicable APN can be used.
  • the access module 22 may specifically include:
  • the access point determining unit 221 is configured to: when receiving the network side, returning multiple access point APNs And determining, according to the priority parameter of the access point APN included in the indication information, A target access point APN that can be used to transmit a data packet of the target application.
  • a transmission control unit 222 configured to determine, by the access point determining unit, a target access point
  • the APN transmits the data packet of the target application.
  • the access point The determining unit 221 may determine, according to the priority indication parameter of the APN included in the indication information, a target APN for transmitting a data packet of the target application, and the transmission control unit 222 passes the connection The target APN determined by the in-point determining unit 221 transmits the data packet of the target application.
  • Embodiments of the present invention may apply the target application data when detecting the target application running
  • the feature description information of the packet is sent to the network side to enable the network side to detect whether the current APN can be used for transmission.
  • the target applies the data packet, and when the network side judges that the result is no and returns the correct APN, the The APN is determined as the APN of the current terminal.
  • FIG. 9 is a structural composition of a network device according to an embodiment of the present invention.
  • the network device of the embodiment of the present invention includes: a receiver 300, a transmitter 400, and a memory 200.
  • the processor 100, the memory 200 may be a high speed RAM memory, or may be non-unstable Non-volatile memory, such as at least one disk storage.
  • As a computer A corresponding application or the like is stored in the memory 200 of the storage medium.
  • the data connection between the memory 200 and the processor 100 can be performed through the bus, and other Mode data connection.
  • a bus connection will be described.
  • the network device may correspond to the PGW, and may further refer to the PGW in the corresponding embodiment of FIG. 1 to FIG. Related description.
  • the processor 100 performs the following steps:
  • the first feature description information includes a source IP address and a destination IP address of the target application. At least one of an address, a source port number, a destination port number, a protocol type, and an application identifier.
  • the processor 100 is configured to perform a first feature description of the target application of the acquiring terminal. Information, the specific steps are as follows:
  • the processor 100 is configured to determine, according to the first feature description information, The current access point APN of the terminal cannot be used to transmit the data packet of the target application, and the specific execution is as follows: Next steps:
  • the PCRF detects whether the current access point APN of the terminal can be used to transmit the number of the target applications. According to the package;
  • the target access point APN of the data packet of the target application determines that the current access point APN of the terminal is not A data packet that can be used to transmit the target application;
  • the target access point APN of the data packet is as follows:
  • the target access point APN Determining, by the detection result, the target access point APN as a target access of the terminal Point APN.
  • the processor 100 is configured to determine, according to the first feature description information, The current access point APN of the terminal cannot be used to transmit the data packet of the target application, and the specific execution is as follows: Next steps:
  • the preset data description parameter includes: an event subscription parameter, and the event subscription parameter
  • the number includes second feature description information and a behavior description parameter
  • the behavior description parameter includes an indication report service Server or discard the parameters of the packet
  • the processor 100 performs the determining the first feature description information and the preset data description Whether the parameters match, the following steps are performed:
  • the processor 100 determines, in the performing, that the terminal is configured to transmit the target
  • the target access point APN of the data packet of the application is as follows:
  • the behavior description parameter is The parameter indicating the report to the server sends the first feature description information to the policy and charging function Server PCRF;
  • the preset data description parameter includes: preset access configuration parameters, and the access The configuration parameter includes third feature description information and at least one access point APN;
  • the processor 100 performs the determining the first feature description information and the preset data description Whether the parameters match, the following steps are performed:
  • the processor 100 determines, according to the performing, that the applicable access point APN is determined for the terminal, Specifically, perform the following steps:
  • the access configuration parameter is obtained. At least one access point APN included in the number;
  • the ingress APN acts as a target access point APN that can be used to transmit data packets for the target application.
  • the processor 100 is performing the indication that the terminal passes the target access point
  • the APN transmits the data packet of the target application, and performs the following steps:
  • the RRC connection configuration pushes the first feature description information and the target access point APN to the end end.
  • processor 100 further performs the following steps:
  • the receiving policy and The charging function server PCRF is based on a prohibition indication sent by the PCC rule, and the prohibition indication includes Current access point APN;
  • Embodiments of the present invention may be implemented by using the feature description information of the acquired data packet from the PCRF.
  • the feature description information contained in the sent event subscription parameter or the preset access configuration parameter is performed. Ratio, and when there is a match between the two, it is determined that the currently selected APN cannot be used for transmission purposes.
  • the data package of the application Further, when judging that the current APN is not suitable, it is also possible to Select the correct APN in the APN information or report the PCRF to obtain the correct APN, so as to facilitate Timely determine the correct APN for the terminal.
  • FIG. 10 is a structural composition of a server according to an embodiment of the present invention.
  • the server of the embodiment of the present invention includes: a receiver 700, a transmitter 800, and a memory 600.
  • the processor 500, the memory 600 may be a high speed RAM memory, or may be non-unstable Non-volatile memory, such as at least one disk storage.
  • As a computer A corresponding application or the like is stored in the memory 600 of the storage medium.
  • the data connection between the memory 600 and the processor 500 can be performed through the bus, or through other Mode data connection.
  • a bus connection will be described.
  • the server may specifically correspond to the PCRF, and may further refer to the corresponding embodiments in FIG. 1 to FIG. A description of the PCRF.
  • the processor 500 performs the following steps:
  • the feature description information includes a source IP of the target application Address, destination IP address, source port number, destination port number, protocol type, and application ID One;
  • the processor 500 performs the determining to determine the number of applications that can be used to transmit the target application. According to the target access point APN of the package, the following steps are performed:
  • the processor 500 is configured to send the target access point APN to the data.
  • the gateway PGW performs the following steps:
  • the first indication information of the APN is sent to the data gateway PGW.
  • processor 500 further performs the following steps:
  • the prohibition indication includes a current access point APN
  • the second description of the feature description information and the prohibition indication including the target application based on the PCC rule The information is sent to the data gateway PGW.
  • the embodiment of the present invention can determine the currently selected APN pair by using the received feature description information. Whether the applicable PDN can be used to transmit the data packets of the target application, and based on the detection result is no, based on The feature information such as the application identifier or the protocol type in the feature description information is determined to be correct for the terminal. APN, or send the feature description information to the ANDSF to make the ANDSF determine the correct APN avoids the occurrence of application data unreachable due to APN selection errors.
  • FIG. 11 is a structural composition diagram of a terminal according to an embodiment of the present invention.
  • the terminal of the embodiment of the present invention includes: a receiver 1100, a transmitter 1200, a memory 1000, and The processor 900, the memory 1000 may be a high speed RAM memory, or may be non-unstable Non-volatile memory, such as at least one disk storage.
  • the storage medium 1000 of the storage medium As a computer A corresponding application or the like is stored in the storage medium 1000 of the storage medium.
  • the receiver 1100, the transmitter 1200, the memory 1000 and the processor 900 can be connected via a bus, or Data connection by other means. In the present embodiment, a bus connection will be described.
  • the terminal of the embodiment may be a user equipment such as a mobile phone or a tablet computer, and may further refer to FIG. 1 to FIG. 8 corresponds to a description of the UE in the embodiment.
  • the processor 900 performs the following steps:
  • a target access that can be used to transmit the target application data packet Pointing the indication information of the APN, and transmitting, by the target access point APN, the data packet of the target application;
  • the indication information returned by the network side includes: a data gateway PGW, policy and charging.
  • the function server PCRF or the access network discovers and indicates the indication information returned by the function server ANDSF.
  • the performing, by the processor 900, when the receiving the network side returns, can be used for transmitting Transmitting the indication information of the target access point APN of the target application data packet by using the target access
  • the point APN transmits the data packet of the target application
  • the indication information including multiple access point APNs returned by the network side is received, according to the The priority parameter of the access point APN included in the indication information is determined to be used for transmitting the target application Target access point APN of the data packet;
  • Embodiments of the present invention may apply data by using the target when detecting a running target application
  • the feature description information of the packet is sent to the network side to enable the network side to detect whether the current APN can be used for the transmission destination.
  • the application data packet is marked, and when the network side detection result is no, the APN returned by the network side is determined as The APN of the current terminal.
  • the disclosed apparatus and method can be In other ways.
  • the device embodiments described above are merely illustrative, examples.
  • the division of the unit is only a logical function division, and there may be another stroke in actual implementation.
  • Sub-mode for example, multiple units or components can be combined or integrated into another system, or some special The sign can be ignored or not executed.
  • the mutual coupling or direct coupling shown or discussed the communication connection may be an indirect coupling or communication connection through some interface, device or unit, which may be Electrical, mechanical or other form.
  • the unit described as a separate component may or may not be physically separated.
  • the components displayed for the unit may or may not be physical units, ie may be located in one place, or It can also be distributed to multiple network elements. You can choose some or all of them according to actual needs.
  • the unit is used to achieve the purpose of the solution of the embodiment.
  • each functional unit in various embodiments of the present invention may be integrated in one processing unit. It is also possible that each unit physically exists alone, or two or more units may be integrated into one unit. in.
  • the above integrated unit can be implemented in the form of hardware or hardware plus software. The form of the unit is implemented.
  • the above integrated unit implemented in the form of a software functional unit can be stored in a computer Read in the storage medium.
  • the above software functional unit is stored in a storage medium, including several instructions To make a computer device (which can be a personal computer, server, or network device, etc.) or A processor performs some of the steps of the method described in various embodiments of the present invention.
  • the aforementioned storage Media includes: U disk, mobile hard disk, read-only memory (ROM), random Various types of memory such as access memory (RAM), disk or optical disk can be stored.
  • the medium of the program code is not limited to make a computer, server, or network device, etc.

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed in an embodiment of the present invention are an access point selection method and related device, the method comprising: acquiring a first feature description of a target application of a terminal; according to the first feature description, determining that the current access point name (APN) of the terminal cannot be used to transmit the data packet of a target application; determining for the terminal a target APN capable of being used to transmit the data packet of the target application; and instructing the terminal to transmit the data packet of the target application via the target APN. The present invention detects whether the current APN is correct, and timely pushes a correct APN to a terminal after detecting that the current APN is incorrect, thus avoiding the inaccessibility of the application data or the application establishment failure caused by an APN selection error.

Description

一种接入点的选择方法及相关装置 Method for selecting access point and related device                  技术领域 Technical field                 
本发明涉及通信技术领域,尤其涉及一种接入点的选择方法及相关装置。 The present invention relates to the field of communications technologies, and in particular, to a method and a related device for selecting an access point.                 
背景技术 Background technique                 
LTE(Long Term Evolution,长期演进)定义了相比2G、3G网络更加扁 平化的移动通信网络架构,它仅保留了分组域,可称为演进的3GPP分组交换 域,或者称为EPS(Evolved Packet System,演进的分组系统)。在EPS架构 中,网元类型可分为控制面网元,包括MME(Mobility Management Entity, 移动管理实体)、PCRF(Policy and Charging Rules Function,策略与计费功能 服务器)等,或者分为用户面网元,包括SGW(Serving Gateway,服务网关)、 PGW(PDN Gateway,数据网关)等。EPS架构中还可能存在PCRF以及ANDSF (Access Network Discovery and Selection Function,接入网发现与选择功能服 务器)。其中,PCRF主要负责生成流粒度的策略与计费控制信息,ANDSF服 务器负责向UE(User Equipment,用户设备)提供接入网发现信息、APN(Access  Point Name,接入点名称)切换策略、系统切换策略等。 LTE (Long Term Evolution) defines a flatter than 2G and 3G networks.           Flattened mobile communication network architecture, which only retains the packet domain, which can be called evolved 3GPP packet switching           Domain, or EPS (Evolved Packet System). In the EPS architecture           The network element type can be divided into control plane network elements, including MME (Mobility Management Entity,           Mobile management entity), PCRF (Policy and Charging Rules Function)           Server), etc., or divided into user plane network elements, including SGW (Serving Gateway, service gateway),           PGW (PDN Gateway, Data Gateway), etc. PCRF and ANDSF may also exist in the EPS architecture.           (Access Network Discovery and Selection Function, access network discovery and selection function service           Server). The PCRF is mainly responsible for generating policy and charging control information of the flow granularity, ANDSF service.           The server is responsible for providing access network discovery information and APN (Access) to the UE (User Equipment).           Point Name, access point name) switching policy, system switching policy, and so on.                 
APN指的是一种网络接入技术,是用户通过手机上网时所必须配置的一 个参数,APN决定了用户手机将以何种接入方式来进行网络访问。用户设备 可以基于上述策略选择接入网络并决定是否切换到目标接入网络。 APN refers to a network access technology, which must be configured when users access the Internet through mobile phones.           Parameters, APN determines which access method the user's mobile phone will use for network access. User equipment           The access network can be selected based on the above policy and decide whether to switch to the target access network.                 
当前,UE(User Equipment,用户设备)主要基于实现为新建的应用选择 APN,若当前UE与网络侧不存在与该APN所对应的PDN(Packet Data  Network,数据网络)连接,则UE发起针对该APN的PDN的连接建立流程; 若当前存在针对该APN的PDN连接,则直接通过该PDN连接发送应用数据 包。然而,若当前APN选择错误,即该选择的APN不适合传输该新建应用的 数据包,则可能造成目标服务器不可达、数据传输路径不优等情况的发生。 Currently, the user equipment (UE) is mainly based on the implementation of the newly created application.           APN, if the current UE and the network side do not have a PDN corresponding to the APN (Packet Data           Network, data network) connection, the UE initiates a connection establishment procedure for the PDN of the APN;           If there is currently a PDN connection for the APN, the application data is directly sent through the PDN connection.           package. However, if the current APN selection is incorrect, the selected APN is not suitable for transmitting the newly created application.           Packets may cause the target server to be unreachable and the data transmission path to be unsatisfactory.                                     
发明内容Summary of the invention
本发明实施例提供一种接入点的选择方法及相关装置,可为终端确定正确 的接入点APN。 Embodiments of the present invention provide a method for selecting an access point and related devices, which can determine the correctness for the terminal.           Access point APN.                 
第一方面,本发明实施例提供了一种接入点的选择方法,包括: In a first aspect, an embodiment of the present invention provides a method for selecting an access point, including:                 
获取终端的目标应用的第一特征描述信息; Obtaining first feature description information of the target application of the terminal;                 
根据所述第一特征描述信息,确定所述终端的当前接入点APN不能用于 传输所述目标应用的数据包; Determining, according to the first feature description information, that the current access point APN of the terminal cannot be used for           Transmitting a data packet of the target application;                 
为所述终端确定出能用于传输所述目标应用的数据包的目标接入点 APN; Determining, for the terminal, a target access point that can be used to transmit a data packet of the target application           APN;                 
指示所述终端通过所述目标接入点APN传输所述目标应用的数据包; Instructing the terminal to transmit a data packet of the target application by using the target access point APN;                 
其中,所述第一特征描述信息包括所述目标应用的源IP地址、目的IP地 址、源端口号、目的端口号、协议类型、应用标识中的至少一个。 The first feature description information includes a source IP address and a destination IP address of the target application.           At least one of an address, a source port number, a destination port number, a protocol type, and an application identifier.                 
结合第一方面,在第一种可能的实现方式中,所述获取终端的目标应用的 第一特征描述信息,包括: With reference to the first aspect, in a first possible implementation manner, the acquiring a target application of the terminal           The first feature description information includes:                 
接收所述终端发送的承载资源修改请求,所述承载资源修改请求中包括所 述目标应用的第一特征描述信息; Receiving a bearer resource modification request sent by the terminal, where the bearer resource modification request includes           Descriptive information describing the first feature of the target application;                 
从所述承载资源修改请求中提取所述第一特征描述信息。 Extracting the first feature description information from the bearer resource modification request.                 
结合第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所 述根据所述第一特征描述信息,确定所述终端的当前接入点APN不能用于传 输所述目标应用的数据包,包括: In combination with the first possible implementation of the first aspect, in a second possible implementation manner,           Determining, according to the first feature description information, that the current access point APN of the terminal cannot be used for transmitting           The data packet for the target application, including:                 
将所述第一特征描述信息发送至策略与计费功能服务器PCRF,以请求所 述PCRF检测所述终端的当前接入点APN是否能用于传输所述目标应用的数 据包; Sending the first feature description information to the policy and charging function server PCRF to request the location           The PCRF detects whether the current access point APN of the terminal can be used to transmit the number of the target applications.           According to the package;                 
接收所述PCRF返回的检测结果,若所述检测结果中包含能用于传输所述 目标应用的数据包的目标接入点APN,则确定所述终端的当前接入点APN不 能用于传输所述目标应用的数据包; Receiving a detection result returned by the PCRF, if the detection result includes           The target access point APN of the data packet of the target application determines that the current access point APN of the terminal is not           A data packet that can be used to transmit the target application;                 
为所述终端确定出能用于传输所述目标应用的数据包的目标接入点 APN,包括: Determining, for the terminal, a target access point that can be used to transmit a data packet of the target application           APN, including:                 
将所述检测结果包含的所述目标接入点APN确定为所述终端的目标接入 点APN。 Determining, by the detection result, the target access point APN as a target access of the terminal                               Point APN.                 
结合第一方面,在第三种可能的实现方式中,所述根据所述第一特征描述 信息,确定所述终端的当前接入点APN不能用于传输所述目标应用的数据包, 包括: In conjunction with the first aspect, in a third possible implementation, the describing according to the first feature           Determining that the current access point APN of the terminal cannot be used to transmit the data packet of the target application,           include:                 
判断所述第一特征描述信息与预置的数据描述参数是否匹配; Determining whether the first feature description information matches a preset data description parameter;                 
若匹配,则确定所述终端的当前接入点APN不能用于传输所述目标应用 的数据包。 If it matches, determining that the current access point APN of the terminal cannot be used to transmit the target application           Packet.                 
结合第一方面的第三种可能的实现方式,在第四种可能的实现方式中, In conjunction with the third possible implementation of the first aspect, in a fourth possible implementation,                 
所述预置的数据描述参数包括:事件订阅参数,所述事件订阅参数包含第 二特征描述信息及行为描述参数,所述行为描述参数包括指示上报服务器或丢 弃数据包的参数; The preset data description parameter includes: an event subscription parameter, where the event subscription parameter includes           The second feature description information and the behavior description parameter, where the behavior description parameter includes an indication report server or a loss           Discard the parameters of the packet;                 
所述判断所述第一特征描述信息与预置的数据描述参数是否匹配,包括: The determining whether the first feature description information matches the preset data description parameter includes:                 
判断所述第一特征描述信息中是否存在一项或者多项描述信息与所述第 二特征描述信息中的一项或者多项描述信息相同; Determining whether one or more pieces of description information and the first part exist in the first feature description information           One or more of the description information in the second feature description information is the same;                 
所述为所述终端确定出能用于传输所述目标应用的数据包的目标接入点 APN,包括: Determining, for the terminal, a target access point that can be used to transmit a data packet of the target application           APN, including:                 
若判断结果为所述第一特征描述信息中存在一项或者多项描述信息与所 述第二特征描述信息中的一项或者多项描述信息相同,且所述行为描述参数为 所述指示上报服务器的参数,则将所述第一特征描述信息发送至策略与计费功 能服务器PCRF; If the judgment result is that one or more description information and the presence information are present in the first feature description information           One or more of the description information in the second feature description information is the same, and the behavior description parameter is           The parameter indicating the report to the server sends the first feature description information to the policy and charging function           Server PCRF;                 
接收所述PCRF根据所述第一特征描述信息获取的能用于传输所述目标 应用的数据包的目标接入点APN,并将所述目标接入点APN确定为所述终端 的目标接入点APN。 Receiving, by the PCRF, the information acquired according to the first feature description information, for transmitting the target           a target access point APN of the applied data packet, and determining the target access point APN as the terminal           Target access point APN.                 
结合第一方面的第三种可能的实现方式,在第五种可能的实现方式中, In conjunction with the third possible implementation of the first aspect, in a fifth possible implementation,                 
所述预置的数据描述参数包括:预置的接入配置参数,所述接入配置参数 中包含第三特征描述信息以及至少一个接入点APN; The preset data description parameter includes: preset access configuration parameters, and the access configuration parameter           Included in the third feature description information and at least one access point APN;                 
所述判断所述第一特征描述信息与预置的数据描述参数是否匹配,包括: The determining whether the first feature description information matches the preset data description parameter includes:                 
判断所述第一特征描述信息中是否存在一项或者多项描述信息与所述第 三特征描述信息中的一项或者多项描述信息相同; Determining whether one or more pieces of description information and the first part exist in the first feature description information           One or more of the description information in the three feature description information is the same;                                     
所述为所述终端确定出能用于传输所述目标应用的数据包的目标接入点 APN,包括: Determining, for the terminal, a target access point that can be used to transmit a data packet of the target application           APN, including:                 
若判断结果为所述第一特征描述信息中存在一项或者多项描述信息与所 述第三特征描述信息中的一项或者多项描述信息相同,则获取所述接入配置参 数中包含的所述至少一个接入点APN; If the judgment result is that one or more description information and the presence information are present in the first feature description information           If the one or more description information in the third feature description information is the same, the access configuration parameter is obtained.           The at least one access point APN included in the number;                 
从所述至少一个接入点APN中选择出与所述第一特征描述信息对应的接 入点APN作为能用于传输所述目标应用的数据包的目标接入点APN。 Selecting, corresponding to the first feature description information, from the at least one access point APN           The ingress APN acts as a target access point APN that can be used to transmit data packets for the target application.                 
结合第一方面,或者第一方面的第一种可能的实现方式,或者第一方面的 第二种可能的实现方式,或者第一方面的第三种可能的实现方式,或者第一方 面的第四种可能的实现方式,或者第一方面的第五种可能的实现方式,在第六 种可能的实现方式中,所述指示所述终端通过所述目标接入点APN传输所述 目标应用的数据包,包括: Combining the first aspect, or the first possible implementation of the first aspect, or the first aspect           a second possible implementation, or a third possible implementation of the first aspect, or a first party           The fourth possible implementation of the face, or the fifth possible implementation of the first aspect, in the sixth           In a possible implementation manner, the indicating that the terminal transmits the identifier by using the target access point APN           The target application's data package, including:                 
将携带所述第一特征描述信息及所述目标接入点APN的更新承载请求发 送给移动管理实体MME,以使所述移动管理实体MME通过无线资源控制 RRC连接配置将所述第一特征描述信息及所述目标接入点APN推送给所述终 端。 And transmitting the first feature description information and the update bearer request of the target access point APN           And sent to the mobility management entity MME, so that the mobility management entity MME is controlled by radio resources           The RRC connection configuration pushes the first feature description information and the target access point APN to the end           end.                 
结合第一方面的第六种可能的实现方式,在第七种可能的实现方式中,还 包括: In combination with the sixth possible implementation of the first aspect, in a seventh possible implementation,           include:                 
若当前接入点APN不能用于传输所述目标应用的数据包,则接收策略与 计费功能服务器PCRF基于PCC规则发送的禁止指示,所述禁止指示中包括 当前接入点APN; If the current access point APN cannot be used to transmit the data packet of the target application, the receiving policy and           The charging function server PCRF is based on a prohibition indication sent by the PCC rule, and the prohibition indication includes           Current access point APN;                 
生成包括所述第一特征描述信息及所述禁止指示的禁止类流模板,并通过 缺省承载将所述禁止类流模板推送给所述终端。 Generating a forbidden class flow template including the first feature description information and the prohibition indication, and passing           The default bearer pushes the forbidden class flow template to the terminal.                 
第二方面,本发明实施例还提供了另一种接入点的选择方法,包括: In a second aspect, the embodiment of the present invention further provides another method for selecting an access point, including:                 
获取目标应用的特征描述信息,所述特征描述信息包括目标应用的源IP 地址、目的IP地址、源端口号、目的端口号、协议类型、应用标识中的至少 一个; Obtaining feature description information of the target application, where the feature description information includes a source IP of the target application           Address, destination IP address, source port number, destination port number, protocol type, and application ID           One;                 
根据所述特征描述信息,判断所述终端的当前接入点APN是否能用于传 输所述目标应用的数据包; Determining, according to the feature description information, whether the current access point APN of the terminal can be used for transmitting           Transmitting a data packet of the target application;                                     
若判断结果为否,则确定出能用于传输所述目标应用的数据包的目标接入 点APN; If the determination result is no, determining target access of the data packet that can be used to transmit the target application           Point APN;                 
将所述目标接入点APN发送给数据网关PGW。 Sending the target access point APN to the data gateway PGW.                 
结合第二方面,在第一种可能的实现方法中,所述确定出能用于传输所述 目标应用的数据包的目标接入点APN,包括: In conjunction with the second aspect, in a first possible implementation, the determining is operative to transmit the           The target access point APN of the target application's data packet, including:                 
通过接入点请求将获取得到的所述特征描述信息发送至接入网发现与选 择功能服务器ANDSF; Sending the obtained feature description information to the access network for discovery and selection by the access point request           Select function server ANDSF;                 
接收所述ANDSF响应所述接入点请求返回的能用于传输所述目标应用数 据包的目标接入点APN。 Receiving, by the ANDSF, the number of target applications that can be used to transmit the target application in response to the access point request           According to the target access point APN of the package.                 
结合第二方面,或者第二方面的第一种可能的实现方式,在第二种可能的 实现方式中,所述将所述目标接入点APN发送给数据网关PGW,包括: Combining the second aspect, or the first possible implementation of the second aspect, in the second possible           In an implementation manner, the sending, by the target access point APN, the data gateway PGW includes:                 
生成包含所述目标应用的特征描述信息及所述目标接入点APN的第一指 示信息; Generating feature description information including the target application and the first finger of the target access point APN           Display information                 
基于PCC规则将包含所述目标应用的特征描述信息及所述目标接入点 APN的所述第一指示信息下发至数据网关PGW。 Feature description information including the target application and the target access point will be included based on PCC rules           The first indication information of the APN is sent to the data gateway PGW.                 
结合第二方面的第二种可能的实现方式,在第三种可能的实现方式中,所 述将所述适用接入点APN发送给数据网关PGW,还包括: In combination with the second possible implementation of the second aspect, in a third possible implementation manner,           The sending the applicable access point APN to the data gateway PGW further includes:                 
当检测得到所述终端的当前接入点APN不能用于传输所述目标应用的数 据包时,生成包括所述目标应用的特征描述信息及禁止指示的第二指示信息, 所述禁止指示中包括当前接入点APN; When detecting that the current access point APN of the terminal cannot be used to transmit the number of the target application           According to the packet, generating second description information including the feature description information of the target application and the prohibition indication,           The prohibition indication includes a current access point APN;                 
基于PCC规则将包括所述目标应用的特征描述信息及禁止指示的第二指 示信息下发至数据网关PGW。 The second description of the feature description information and the prohibition indication including the target application based on the PCC rule           The information is sent to the data gateway PGW.                 
第三方面,本发明实施例还提供了又一种接入点的选择方法,包括: In a third aspect, the embodiment of the present invention further provides a method for selecting an access point, including:                 
当检测到目标应用运行时,将所述目标应用数据包的特征描述信息发送至 网络侧,以使网络侧根据所述特征描述信息检测终端的当前接入点APN是否 能用于传输所述目标应用的数据包; Sending feature description information of the target application data packet to the target application when it is detected           a network side, so that the network side detects, according to the feature description information, whether the current access point APN of the terminal is           A data packet that can be used to transmit the target application;                 
若接收到网络侧返回的包括能用于传输所述目标应用数据包的目标接入 点APN的指示信息,则通过所述目标接入点APN传输所述目标应用的数据包; Receiving, by the network side, a target access that can be used to transmit the target application data packet           Pointing the indication information of the APN, and transmitting, by the target access point APN, the data packet of the target application;                 
其中,所述网络侧返回的指示信息包括:从数据网关PGW、策略与计费 功能服务器PCRF或接入网发现与选择功能服务器ANDSF返回的指示信息。 The indication information returned by the network side includes: a data gateway PGW, policy and charging.                               The function server PCRF or the access network discovers and indicates the indication information returned by the function server ANDSF.                 
结合第三方面,在第一种可能的实现方式中,所述若接收到网络侧返回的 包括能用于传输所述目标应用数据包的目标接入点APN的指示信息,则通过 所述目标接入点APN传输所述目标应用的数据包,包括: With reference to the third aspect, in a first possible implementation, the receiving the network side returns           The indication information including the target access point APN that can be used to transmit the target application data packet is passed           Transmitting, by the target access point APN, the data packet of the target application, including:                 
若接收到网络侧返回的包含多个接入点APN的指示信息,则根据所述指 示信息中包含的接入点APN的优先级参数,确定出能用于传输所述目标应用 的数据包的目标接入点APN; If the indication information including multiple access point APNs returned by the network side is received, according to the           The priority parameter of the access point APN included in the indication information is determined to be used for transmitting the target application           Target access point APN of the data packet;                 
通过所述目标接入点APN传输所述目标应用的数据。 Transmitting data of the target application through the target access point APN.                 
第四方面,本发明实施例还提供了一种接入点的选择装置,包括: In a fourth aspect, the embodiment of the present invention further provides an apparatus for selecting an access point, including:                 
获取模块,用于获取终端的目标应用的第一特征描述信息; An acquiring module, configured to acquire first feature description information of a target application of the terminal;                 
检测模块,用于根据所述获取模块获取的第一特征描述信息,确定所述终 端的当前接入点APN是否能用于传输所述目标应用的数据包; a detecting module, configured to determine the end according to the first feature description information acquired by the acquiring module           Whether the current access point APN of the terminal can be used to transmit the data packet of the target application;                 
确定模块,用于当所述检测模块确定当前接入点APN不能用于传输所述 目标应用的数据包时,为所述终端确定出能用于传输所述数据包的目标接入点 APN; a determining module, configured to: when the detecting module determines that the current access point APN is unavailable for transmitting the           Determining, for the target application, a target access point for the terminal that can be used to transmit the data packet           APN;                 
指示模块,用于指示所述终端通过所述确定模块确定出的所述目标接入点 APN传输所述目标应用的数据包; An indication module, configured to indicate the target access point determined by the terminal by using the determining module           APN transmits a data packet of the target application;                 
其中,所述第一特征描述信息包括所述目标应用的源IP地址、目的IP地 址、源端口号、目的端口号、协议类型、应用标识中的至少一个。 The first feature description information includes a source IP address and a destination IP address of the target application.           At least one of an address, a source port number, a destination port number, a protocol type, and an application identifier.                 
结合第四方面,在第一种可能的实现方式中,所述获取模块包括: With reference to the fourth aspect, in a first possible implementation manner, the acquiring module includes:                 
请求接收单元,用于接收所述终端发送的承载资源修改请求,所述承载资 源修改请求中包括所述目标应用的第一特征描述信息; a request receiving unit, configured to receive a bearer resource modification request sent by the terminal, where the bearer resource           The first modification description information of the target application is included in the source modification request;                 
信息提取单元,用于从所述请求接收单元接收到的承载资源修改请求中提 取所述第一特征描述信息。 An information extracting unit, configured to provide a bearer resource modification request received from the request receiving unit           Taking the first feature description information.                 
结合第四方面的第一种可能的实现方式,在第二种可能的实现方式中, In conjunction with the first possible implementation of the fourth aspect, in a second possible implementation manner,                 
所述检测模块包括: The detection module includes:                 
传输单元,用于将所述第一特征描述信息发送至策略与计费功能服务器 PCRF,以请求所述PCRF检测所述终端的当前接入点APN是否能用于传输所 述目标应用的数据包,还用于接收所述PCRF响应所述请求返回的检测结果; a transmitting unit, configured to send the first feature description information to a policy and charging function server           PCRF, requesting the PCRF to detect whether the current access point APN of the terminal can be used for the transmission station           The data packet of the target application is further configured to receive a detection result returned by the PCRF in response to the request;                                     
结果确定单元,用于当所述检测结果中包含能用于传输所述目标应用数据 包的目标接入点APN时,确定所述终端的当前接入点APN不能用于传输所述 目标应用的数据包; a result determining unit, configured to include, in the detection result, data that can be used to transmit the target application           Determining, by the target access point APN of the packet, that the current access point APN of the terminal cannot be used to transmit the           The data packet of the target application;                 
所述确定模块包括: The determining module includes:                 
接入点提取单元,用于从所述PCRF返回的检测结果中提取所述目标接入 点APN; An access point extracting unit, configured to extract the target access from the detection result returned by the PCRF           Point APN;                 
第一接入点确定单元,用于将所述接入点提取单元提取出的目标接入点 APN确定为所述终端的目标接入点APN。 a first access point determining unit, configured to use the target access point extracted by the access point extracting unit           The APN is determined to be the target access point APN of the terminal.                 
结合第四方面,在第三种可能的实现方式中,所述检测模块包括: With reference to the fourth aspect, in a third possible implementation, the detecting module includes:                 
检测单元,用于判断所述第一特征描述信息与预置的数据描述参数是否匹 配; a detecting unit, configured to determine whether the first feature description information and the preset data description parameter are           Match                 
匹配确定单元,用于当所述检测单元判断结果为匹配时,确定所述终端的 当前接入点APN不能用于传输所述目标应用的数据包。 a matching determining unit, configured to determine, when the detecting unit determines that the result is a match,           The current access point APN cannot be used to transmit data packets of the target application.                 
结合第四方面的第三种可能的实现方式,在第四种可能的实现方式中, In conjunction with the third possible implementation of the fourth aspect, in a fourth possible implementation manner,                 
所述预置的数据描述参数包括:事件订阅参数,所述事件订阅参数包含第 二特征描述信息及行为描述参数,所述行为描述参数包括指示上报服务器或丢 弃数据包的参数; The preset data description parameter includes: an event subscription parameter, where the event subscription parameter includes           The second feature description information and the behavior description parameter, where the behavior description parameter includes an indication report server or a loss           Discard the parameters of the packet;                 
所述检测单元具体用于:判断所述第一特征描述信息中是否存在一项或者 多项描述信息与所述第二特征描述信息中的一项或者多项描述信息相同; The detecting unit is specifically configured to: determine whether an item exists in the first feature description information or           The plurality of description information is the same as one or more of the description information in the second feature description information;                 
所述确定模块包括: The determining module includes:                 
解析单元,用于当所述检测单元判断结果为所述第一特征描述信息中存在 一项或者多项描述信息与所述事件订阅参数中包含的第二特征描述信息中的 一项或者多项描述信息相同,且所述行为描述参数为所述指示上报服务器的参 数时,将所述第一特征描述信息发送至策略与计费功能服务器PCRF; a parsing unit, configured to: when the detecting unit determines that the result is the first feature description information           One or more pieces of description information and second feature description information included in the event subscription parameter           One or more pieces of description information are the same, and the behavior description parameter is a parameter of the indication reporting server           The first feature description information is sent to the policy and charging function server PCRF;                 
第二接入点确定单元,用于接收所述PCRF根据所述解析单元发送的第一 特征描述信息而获取的能用于传输所述目标应用的数据包的目标接入点 APN,并将所述目标接入点APN确定为所述终端的目标接入点APN。 a second access point determining unit, configured to receive the first sent by the PCRF according to the parsing unit           Target access point that can be used to transmit the data packet of the target application obtained by the feature description information           The APN determines the target access point APN as the target access point APN of the terminal.                 
结合第四方面的第三种可能的实现方式,在第五种可能的实现方式中, In conjunction with the third possible implementation of the fourth aspect, in a fifth possible implementation manner,                 
所述预置的数据描述参数包括:预置的接入配置参数,所述接入配置参数 中包含第三特征描述信息以及至少一个接入点APN; The preset data description parameter includes: preset access configuration parameters, and the access configuration parameter                               Included in the third feature description information and at least one access point APN;                 
所述检测单元具体用于:判断所述第一特征描述信息中是否存在一项或者 多项描述信息与所述第三特征描述信息中的一项或者多项描述信息相同; The detecting unit is specifically configured to: determine whether an item exists in the first feature description information or           The plurality of description information is the same as one or more of the description information in the third feature description information;                 
所述确定模块包括: The determining module includes:                 
获取单元,用于当所述检测单元判断结果为所述第一特征描述信息中存在 一项或者多项描述信息与所述第三特征描述信息中的一项或者多项描述信息 相同时,获取所述接入配置参数中包含的所述至少一个接入点APN; An obtaining unit, configured to: when the detecting unit determines that the result is the first feature description information           One or more description information and one or more description information in the third feature description information           When the same, the at least one access point APN included in the access configuration parameter is obtained;                 
第三接入点确定单元,用于从所述获取单元获取的至少一个接入点APN 中选择出与所述第一特征描述信息对应的接入点APN作为能用于传输所述目 标应用的数据包的目标接入点APN。 a third access point determining unit, configured to acquire at least one access point APN from the acquiring unit           Selecting an access point APN corresponding to the first feature description information as being capable of transmitting the destination           The target access point APN of the packet of the application.                 
结合第四方面,或者第四方面的第一种可能的实现方式,或者第四方面的 第二种可能的实现方式,或者第四方面的第三种可能的实现方式,或者第四方 面的第四种可能的实现方式,或者第四方面的第五种可能的实现方式,在第六 种可能的实现方式中,所述指示模块具体用于: In combination with the fourth aspect, or the first possible implementation of the fourth aspect, or the fourth aspect           a second possible implementation, or a third possible implementation of the fourth aspect, or a fourth party           The fourth possible implementation of the face, or the fifth possible implementation of the fourth aspect, in the sixth           In a possible implementation manner, the indication module is specifically configured to:                 
将携带所述第一特征描述信息及所述目标接入点APN的更新承载请求发 送给移动管理实体MME,以使所述移动管理实体MME通过无线资源控制 RRC连接配置将所述第一特征描述信息及所述目标接入点APN推送给所述终 端。 And transmitting the first feature description information and the update bearer request of the target access point APN           And sent to the mobility management entity MME, so that the mobility management entity MME is controlled by radio resources           The RRC connection configuration pushes the first feature description information and the target access point APN to the end           end.                 
结合第四方面的第六种可能的实现方式,在第七种可能的实现方式中,还 包括: In conjunction with the sixth possible implementation of the fourth aspect, in a seventh possible implementation,           include:                 
接收模块,用于若当前接入点APN不能用于传输所述目标应用的数据包, 则接收策略与计费功能服务器PCRF基于PCC规则发送的禁止指示,所述禁 止指示中包括当前接入点APN; a receiving module, configured to: if the current access point APN is not used to transmit the data packet of the target application,           Receiving a prohibition indication sent by the policy and charging function server PCRF based on the PCC rule, the prohibition           The stop indication includes the current access point APN;                 
生成模块,用于生成包括所述第一特征描述信息及所述禁止指示的禁止类 流模板,并通过缺省承载将所述禁止类流模板推送给所述终端。 a generating module, configured to generate a forbidden class including the first feature description information and the prohibition indication           The flow template is pushed to the terminal by the default bearer.                 
第五方面,本发明实施例还提供了另一种接入点的选择装置,包括: In a fifth aspect, the embodiment of the present invention further provides another apparatus for selecting an access point, including:                 
信息获取模块,用于获取目标应用的特征描述信息,所述特征描述信息包 括目标应用目的源IP地址、目的IP地址、源端口号、目的端口号、协议类型、 应用标识中的至少一个; An information acquiring module, configured to acquire feature description information of the target application, where the feature description information packet           Source IP address, destination IP address, source port number, destination port number, protocol type,           At least one of the application identifiers;                                     
判断模块,用于根据所述信息获取模块获取得到的所述特征描述信息,判 断所述终端的当前接入点APN是否能用于传输所述目标应用的数据包; a determining module, configured to determine, according to the feature description information obtained by the information acquiring module,           Whether the current access point APN of the terminal can be used to transmit the data packet of the target application;                 
接入点确定模块,用于当所述判断模块判断结果为否时,确定出能用于传 输所述目标应用的数据包的目标接入点APN; An access point determining module, configured to: when the determining result of the determining module is negative, determine that the information can be used for transmitting           Transmitting a target access point APN of the data packet of the target application;                 
发送模块,用于将所述目标接入点APN发送给数据网关PGW。 And a sending module, configured to send the target access point APN to the data gateway PGW.                 
结合第五方面,在第一种可能的实现方式中,所述接入点确定模块包括: With reference to the fifth aspect, in a first possible implementation, the access point determining module includes:                 
请求发送单元,用于通过接入点请求将获取得到的所述特征描述信息发送 至接入网发现与选择功能服务器ANDSF; a request sending unit, configured to send, by using an access point, the acquired feature description information           To the access network discovery and selection function server ANDSF;                 
信息接收单元,用于接收所述ANDSF响应所述请求发送单元发送的接入 点请求返回的能用于传输所述目标应用的数据包的目标接入点APN。 An information receiving unit, configured to receive, by the ANDSF, an access sent by the request sending unit           The target access point APN that can be used to transmit the data packet of the target application returned by the point request.                 
结合第五方面,或者第五方面的第一种可能的实现方式,在第二种可能的 实现方式中,所述发送模块包括: In combination with the fifth aspect, or the first possible implementation of the fifth aspect, in the second possible           In an implementation manner, the sending module includes:                 
第一生成单元,用于生成包含所述目标应用的特征描述信息及所述目标接 入点APN的第一指示信息; a first generating unit, configured to generate feature description information including the target application, and the target connection           First indication information of the inbound APN;                 
第一信息发送单元,用于基于PCC规则将所述第一生成单元生成的第一 指示信息下发至数据网关PGW。 a first information sending unit, configured to generate the first generated by the first generating unit based on a PCC rule           The indication information is sent to the data gateway PGW.                 
结合第五方面的第二种可能的实现方式,在第三种可能的实现方式中,所 述发送模块还包括: In combination with the second possible implementation of the fifth aspect, in a third possible implementation manner,           The sending module further includes:                 
第二生成单元,用于当检测得到所述终端的当前接入点APN不能用于传 输所述目标应用的数据包时,生成包含所述目标应用的特征描述信息及禁止指 示的第二指示信息,所述禁止指示中包括当前接入点APN; a second generating unit, configured to detect that the current access point APN of the terminal cannot be used for transmitting           Generating the feature description information and the prohibition finger including the target application when the data packet of the target application is input           The second indication information, where the prohibition indication includes a current access point APN;                 
第二信息发送单元,用于基于PCC规则将所述第二生成单元生成的第二 指示信息下发至数据网关PGW。 a second information sending unit, configured to generate the second generated by the second generating unit based on a PCC rule           The indication information is sent to the data gateway PGW.                 
第六方面,本发明实施例还提供了又一种接入点的选择装置,包括: In a sixth aspect, the embodiment of the present invention further provides another apparatus for selecting an access point, including:                 
发送模块,用于当检测到目标应用运行时,将所述目标应用数据包的特征 描述信息发送至网络侧,以使网络侧根据所述特征描述信息检测终端的当前接 入点APN是否能用于传输所述目标应用的数据包; a sending module, configured to: feature the target application data packet when detecting that the target application is running           The description information is sent to the network side, so that the network side detects the current connection of the terminal according to the feature description information.           Whether the ingress APN can be used to transmit the data packet of the target application;                 
接入模块,用于当接收到网络侧返回的包括能用于传输所述目标应用数据 包的目标接入点APN的指示信息时,通过所述目标接入点APN传输所述目标 应用的数据包; An access module, configured to receive, when received by the network side, the data that can be used to transmit the target application           When the indication information of the target access point APN of the packet is transmitted, the target is transmitted through the target access point APN                               Application data packet;                 
其中,所述网络侧返回的指示信息包括:从数据网关PGW、策略与计费 功能服务器PCRF或接入网发现与选择功能服务器ANDSF返回的指示信息。 The indication information returned by the network side includes: a data gateway PGW, policy and charging.           The function server PCRF or the access network discovers and indicates the indication information returned by the function server ANDSF.                 
结合第六方面,在第一种可能的实现方式中,所述接入模块包括: With reference to the sixth aspect, in a first possible implementation manner, the access module includes:                 
接入点确定单元,用于当接收到网络侧返回的包含多个接入点APN的指 示信息时,根据所述指示信息中包含的接入点APN的优先级参数,确定出能 用于传输所述目标应用的数据包的目标接入点APN; An access point determining unit, configured to receive, when receiving, a finger of the multiple access point APN returned by the network side           When the information is displayed, it is determined according to the priority parameter of the access point APN included in the indication information.           a target access point APN for transmitting a data packet of the target application;                 
传输控制单元,用于通过所述接入点确定单元确定出的目标接入点APN 传输所述目标应用的数据包。 a transmission control unit, configured to determine, by the access point determining unit, a target access point APN           Transmitting the data packet of the target application.                 
第七方面,本发明实施例还提供了一种计算机存储介质,所述计算机存储 介质存储有程序,该程序执行时包括执行上述第一方面的接入点的选择方法的 部分或全部的步骤。 In a seventh aspect, an embodiment of the present invention further provides a computer storage medium, where the computer stores           The medium stores a program, and when the program is executed, the method for selecting the access point of the first aspect is performed           Part or all of the steps.                 
第八方面,本发明实施例还提供了一种计算机存储介质,所述计算机存储 介质存储有程序,该程序执行时包括执行上述第二方面的接入点的选择方法的 部分或全部的步骤。 In an eighth aspect, an embodiment of the present invention further provides a computer storage medium, where the computer stores           The medium stores a program, and when the program is executed, the method for selecting the access point of the second aspect is performed           Part or all of the steps.                 
第九方面,本发明实施例还提供了一种计算机存储介质,所述计算机存储 介质存储有程序,该程序执行时包括执行上述第三方面的接入点的选择方法的 部分或全部的步骤。 In a ninth aspect, an embodiment of the present invention further provides a computer storage medium, where the computer stores           The medium stores a program, and when the program is executed, the method for selecting the access point of the third aspect is performed           Part or all of the steps.                 
第十方面,本发明实施例还提供了一种网络设备,包括:接收器、发射器、 存储器和处理器, In a tenth aspect, the embodiment of the present invention further provides a network device, including: a receiver, a transmitter,           Memory and processor,                 
其中,所述处理器执行如下步骤: Wherein, the processor performs the following steps:                 
获取终端的目标应用的第一特征描述信息; Obtaining first feature description information of the target application of the terminal;                 
根据所述第一特征描述信息,确定所述终端的当前接入点APN不能用于 传输所述目标应用的数据包; Determining, according to the first feature description information, that the current access point APN of the terminal cannot be used for           Transmitting a data packet of the target application;                 
为所述终端确定出能用于传输所述目标应用的数据包的目标接入点 APN; Determining, for the terminal, a target access point that can be used to transmit a data packet of the target application           APN;                 
指示所述终端通过所述目标接入点APN传输所述目标应用的数据包; Instructing the terminal to transmit a data packet of the target application by using the target access point APN;                 
其中,所述第一特征描述信息包括所述目标应用的源IP地址、目的IP地 址、源端口号、目的端口号、协议类型、应用标识中的至少一个。 The first feature description information includes a source IP address and a destination IP address of the target application.           At least one of an address, a source port number, a destination port number, a protocol type, and an application identifier.                                     
结合第十方面,在第一种可能的实现方式中,所述处理器在执行所述获取 终端的目标应用的第一特征描述信息,具体执行如下步骤: In conjunction with the tenth aspect, in a first possible implementation, the processor is performing the obtaining           The first feature description information of the target application of the terminal is specifically performed as follows:                 
接收所述终端发送的承载资源修改请求,所述承载资源修改请求中包括所 述目标应用的第一特征描述信息; Receiving a bearer resource modification request sent by the terminal, where the bearer resource modification request includes           Descriptive information describing the first feature of the target application;                 
从所述承载资源修改请求中提取所述第一特征描述信息。 Extracting the first feature description information from the bearer resource modification request.                 
结合第十方面的第一种可能的实现方式,在第二种可能的实现方式中,所 述处理器在执行所述根据所述第一特征描述信息,确定所述终端的当前接入点 APN不能用于传输所述目标应用的数据包,具体执行如下步骤: In conjunction with the first possible implementation of the tenth aspect, in a second possible implementation manner,           Determining, by the processor, the current access point of the terminal according to the first feature description information           The APN cannot be used to transmit the data packet of the target application, and the following steps are performed:                 
将所述第一特征描述信息发送至策略与计费功能服务器PCRF,以请求所 述PCRF检测所述终端的当前接入点APN是否能用于传输所述目标应用的数 据包; Sending the first feature description information to the policy and charging function server PCRF to request the location           The PCRF detects whether the current access point APN of the terminal can be used to transmit the number of the target applications.           According to the package;                 
接收所述PCRF返回的检测结果,若所述检测结果中包含能用于传输所述 目标应用的数据包的目标接入点APN,则确定所述终端的当前接入点APN不 能用于传输所述目标应用的数据包; Receiving a detection result returned by the PCRF, if the detection result includes           The target access point APN of the data packet of the target application determines that the current access point APN of the terminal is not           A data packet that can be used to transmit the target application;                 
所述处理器在执行所述为所述终端确定出能用于传输所述目标应用的数 据包的目标接入点APN,具体执行如下步骤: Determining, by the processor, the number of the terminal that can be used to transmit the target application           According to the target access point APN of the package, the following steps are performed:                 
将所述检测结果包含的所述目标接入点APN确定为所述终端的目标接入 点APN。 Determining, by the detection result, the target access point APN as a target access of the terminal           Point APN.                 
结合第十方面,在第三种可能的实现方式中,所述处理器在执行所述根据 所述第一特征描述信息,确定所述终端的当前接入点APN不能用于传输所述 目标应用的数据包,具体执行如下步骤: In conjunction with the tenth aspect, in a third possible implementation, the processor is performing the           Determining, by the first feature description information, that the current access point APN of the terminal is not used to transmit the           The data packet of the target application is as follows:                 
判断所述第一特征描述信息与预置的数据描述参数是否匹配; Determining whether the first feature description information matches a preset data description parameter;                 
若匹配,则确定所述终端的当前接入点APN不能用于传输所述目标应用 的数据包。 If it matches, determining that the current access point APN of the terminal cannot be used to transmit the target application           Packet.                 
结合第十方面的第三种可能的实现方式,在第四种可能的实现方式中, In conjunction with the third possible implementation of the tenth aspect, in a fourth possible implementation manner,                 
所述预置的数据描述参数包括:事件订阅参数,所述事件订阅参数包含第 二特征描述信息及行为描述参数,所述行为描述参数包括指示上报服务器或丢 弃数据包的参数; The preset data description parameter includes: an event subscription parameter, where the event subscription parameter includes           The second feature description information and the behavior description parameter, where the behavior description parameter includes an indication report server or a loss           Discard the parameters of the packet;                 
所述处理器在执行所述判断所述第一特征描述信息与预置的数据描述参 数是否匹配,具体执行如下步骤: The processor performs the determining the first feature description information and the preset data description parameter                               If the numbers match, perform the following steps:                 
判断所述第一特征描述信息中是否存在一项或者多项描述信息与所述第 二特征描述信息中的一项或者多项描述信息相同; Determining whether one or more pieces of description information and the first part exist in the first feature description information           One or more of the description information in the second feature description information is the same;                 
所述处理器在执行所述为所述终端确定出能用于传输所述目标应用的数 据包的目标接入点APN,具体执行如下步骤: Determining, by the processor, the number of the terminal that can be used to transmit the target application           According to the target access point APN of the package, the following steps are performed:                 
若判断结果为所述第一特征描述信息中存在一项或者多项描述信息与所 述第二特征描述信息中的一项或者多项描述信息相同,且所述行为描述参数为 所述指示上报服务器的参数,则将所述第一特征描述信息发送至策略与计费功 能服务器PCRF; If the judgment result is that one or more description information and the presence information are present in the first feature description information           One or more of the description information in the second feature description information is the same, and the behavior description parameter is           The parameter indicating the report to the server sends the first feature description information to the policy and charging function           Server PCRF;                 
接收所述PCRF根据所述第一特征描述信息获取的能用于传输所述目标 应用的数据包的目标接入点APN,并将所述目标接入点APN确定为所述终端 的目标接入点APN。 Receiving, by the PCRF, the information acquired according to the first feature description information, for transmitting the target           a target access point APN of the applied data packet, and determining the target access point APN as the terminal           Target access point APN.                 
结合第十方面的第三种可能的实现方式,在第五种可能的实现方式中, In conjunction with the third possible implementation of the tenth aspect, in a fifth possible implementation manner,                 
所述预置的数据描述参数包括:预置的接入配置参数,所述接入配置参数 中包含第三特征描述信息以及至少一个接入点APN; The preset data description parameter includes: preset access configuration parameters, and the access configuration parameter           Included in the third feature description information and at least one access point APN;                 
所述处理器在执行所述判断所述第一特征描述信息与预置的数据描述参 数是否匹配,具体执行如下步骤: The processor performs the determining the first feature description information and the preset data description parameter           If the numbers match, perform the following steps:                 
判断所述第一特征描述信息中是否存在一项或者多项描述信息与所述第 三特征描述信息中的一项或者多项描述信息相同; Determining whether one or more pieces of description information and the first part exist in the first feature description information           One or more of the description information in the three feature description information is the same;                 
所述处理器在执行所述为所述终端确定适用接入点APN,具体执行如下 步骤: Determining, by the processor, that the applicable access point APN is determined for the terminal, specifically executing the following           step:                 
若判断结果为所述第一特征描述信息中存在一项或者多项描述信息与所 述第三特征描述信息中的一项或者多项描述信息相同,则获取所述接入配置参 数中包含的至少一个接入点APN; If the judgment result is that one or more description information and the presence information are present in the first feature description information           If the one or more description information in the third feature description information is the same, the access configuration parameter is obtained.           At least one access point APN included in the number;                 
从所述至少一个接入点APN中选择出与所述第一特征描述信息对应的接 入点APN作为能用于传输所述目标应用的数据包的目标接入点APN。 Selecting, corresponding to the first feature description information, from the at least one access point APN           The ingress APN acts as a target access point APN that can be used to transmit data packets for the target application.                 
结合第十方面,或者第十方面的第一种可能的实现方式,或者第十方面的 第二种可能的实现方式,或者第十方面的第三种可能的实现方式,或者第十方 面的第四种可能的实现方式,或者第十方面的第五种可能的实现方式,在第六 种可能的实现方式中,所述处理器在执行所述指示所述终端通过所述目标接入 点APN传输所述目标应用的数据包,具体执行如下步骤: In combination with the tenth aspect, or the first possible implementation of the tenth aspect, or the tenth aspect           a second possible implementation, or a third possible implementation of the tenth aspect, or a tenth party           The fourth possible implementation of the face, or the fifth possible implementation of the tenth aspect, in the sixth                               In a possible implementation manner, the processor is performing the indication that the terminal accesses by using the target           The point APN transmits the data packet of the target application, and the specific steps are as follows:                 
将携带所述第一特征描述信息及所述目标接入点APN的更新承载请求发 送给移动管理实体MME,以使所述移动管理实体MME通过无线资源控制 RRC连接配置将所述第一特征描述信息及所述目标接入点APN推送给所述终 端。 And transmitting the first feature description information and the update bearer request of the target access point APN           And sent to the mobility management entity MME, so that the mobility management entity MME is controlled by radio resources           The RRC connection configuration pushes the first feature description information and the target access point APN to the end           end.                 
结合第十方面的第六种可能的实现方式,在第七种可能的实现方式中,所 述处理器还执行以下步骤: In conjunction with the sixth possible implementation of the tenth aspect, in a seventh possible implementation,           The processor also performs the following steps:                 
若当前接入点APN不能用于传输所述目标应用的数据包,则接收策略与 计费功能服务器PCRF基于PCC规则发送的禁止指示,所述禁止指示中包括 当前接入点APN; If the current access point APN cannot be used to transmit the data packet of the target application, the receiving policy and           The charging function server PCRF is based on a prohibition indication sent by the PCC rule, and the prohibition indication includes           Current access point APN;                 
生成包括所述第一特征描述信息及所述禁止指示的禁止类流模板,并通过 缺省承载将所述禁止类流模板推送给所述终端。 Generating a forbidden class flow template including the first feature description information and the prohibition indication, and passing           The default bearer pushes the forbidden class flow template to the terminal.                 
第十一方面,本发明实施例还提供了一种服务器,包括:接收器、发射器、 存储器和处理器, In an eleventh aspect, an embodiment of the present invention further provides a server, including: a receiver, a transmitter, and           Memory and processor,                 
其中,所述处理器执行如下步骤: Wherein, the processor performs the following steps:                 
获取目标应用的特征描述信息,所述特征描述信息包括目标应用的源IP 地址、目的IP地址、源端口号、目的端口号、协议类型、应用标识中的至少 一个; Obtaining feature description information of the target application, where the feature description information includes a source IP of the target application           Address, destination IP address, source port number, destination port number, protocol type, and application ID           One;                 
根据所述特征描述信息,判断所述终端的当前接入点APN是否能用于传 输所述目标应用的数据包; Determining, according to the feature description information, whether the current access point APN of the terminal can be used for transmitting           Transmitting a data packet of the target application;                 
若判断结果为否,则确定出能用于传输所述目标应用的数据包的目标接入 点APN; If the determination result is no, determining target access of the data packet that can be used to transmit the target application           Point APN;                 
将所述目标接入点APN发送给数据网关PGW。 Sending the target access point APN to the data gateway PGW.                 
结合第十一方面,在第一种可能的实现方法中,所述处理器在执行所述确 定出能用于传输所述目标应用的数据包的目标接入点APN,具体执行如下步 骤: In conjunction with the eleventh aspect, in a first possible implementation, the processor is performing the           Determining a target access point APN that can be used to transmit the data packet of the target application, and performing the following steps           Step:                 
通过接入点请求将获取得到的所述特征描述信息发送至接入网发现与选 择功能服务器ANDSF; Sending the obtained feature description information to the access network for discovery and selection by the access point request           Select function server ANDSF;                                     
接收所述ANDSF响应所述接入点请求返回的能用于传输所述目标应用数 据包的目标接入点APN。 Receiving, by the ANDSF, the number of target applications that can be used to transmit the target application in response to the access point request           According to the target access point APN of the package.                 
结合第十一方面,或者第十一方面的第一种可能的实现方式,在第二种可 能的实现方式中,所述处理器在执行所述将所述目标接入点APN发送给数据 网关PGW,具体执行如下步骤: In combination with the eleventh aspect, or the first possible implementation of the eleventh aspect,           In an implementation manner, the processor is configured to send the target access point APN to the data.           The gateway PGW performs the following steps:                 
生成包含所述目标应用的特征描述信息及所述目标接入点APN的第一指 示信息; Generating feature description information including the target application and the first finger of the target access point APN           Display information                 
基于PCC规则将包含所述目标应用的特征描述信息及所述目标接入点 APN的所述第一指示信息下发至数据网关PGW。 Feature description information including the target application and the target access point will be included based on PCC rules           The first indication information of the APN is sent to the data gateway PGW.                 
结合第十一方面的第二种可能的实现方式,在第三种可能的实现方式中, 所述处理器还执行以下步骤: In conjunction with the second possible implementation of the eleventh aspect, in a third possible implementation manner,           The processor also performs the following steps:                 
当检测得到所述终端的当前接入点APN不能用于传输所述目标应用的数 据包时,生成包括所述目标应用的特征描述信息及禁止指示的第二指示信息, 所述禁止指示中包括当前接入点APN; When detecting that the current access point APN of the terminal cannot be used to transmit the number of the target application           According to the packet, generating second description information including the feature description information of the target application and the prohibition indication,           The prohibition indication includes a current access point APN;                 
基于PCC规则将包括所述目标应用的特征描述信息及禁止指示的第二指 示信息下发至数据网关PGW。 The second description of the feature description information and the prohibition indication including the target application based on the PCC rule           The information is sent to the data gateway PGW.                 
第十二方面,本发明实施例还提供了一种终端,包括:接收器、发射器、 存储器和处理器, In a twelfth aspect, the embodiment of the present invention further provides a terminal, including: a receiver, a transmitter,           Memory and processor,                 
其中,所述处理器执行如下步骤: Wherein, the processor performs the following steps:                 
当检测到目标应用运行时,将所述目标应用数据包的特征描述信息发送至 网络侧,以使网络侧根据所述特征描述信息检测终端的当前接入点APN是否 能用于传输所述目标应用的数据包; Sending feature description information of the target application data packet to the target application when it is detected           a network side, so that the network side detects, according to the feature description information, whether the current access point APN of the terminal is           A data packet that can be used to transmit the target application;                 
若接收到网络侧返回的包括能用于传输所述目标应用数据包的目标接入 点APN的指示信息,则通过所述目标接入点APN传输所述目标应用的数据包; Receiving, by the network side, a target access that can be used to transmit the target application data packet           Pointing the indication information of the APN, and transmitting, by the target access point APN, the data packet of the target application;                 
其中,所述网络侧返回的指示信息包括:从数据网关PGW、策略与计费 功能服务器PCRF或接入网发现与选择功能服务器ANDSF返回的指示信息。 The indication information returned by the network side includes: a data gateway PGW, policy and charging.           The function server PCRF or the access network discovers and indicates the indication information returned by the function server ANDSF.                 
结合第十二方面,在第一种可能的实现方式中,所述处理器在执行所述若 接收到网络侧返回的包括能用于传输所述目标应用数据包的目标接入点APN 的指示信息,则通过所述目标接入点APN传输所述目标应用的数据包,具体 执行如下步骤: In conjunction with the twelfth aspect, in a first possible implementation, the processor is performing the           Receiving, by the network side, a target access point APN that can be used to transmit the target application data packet           And indicating, by the target access point APN, the data packet of the target application, specifically                               Perform the following steps:                 
若接收到网络侧返回的包含多个接入点APN的指示信息,则根据所述指 示信息中包含的接入点APN的优先级参数,确定出能用于传输所述目标应用 的数据包的目标接入点APN; If the indication information including multiple access point APNs returned by the network side is received, according to the           The priority parameter of the access point APN included in the indication information is determined to be used for transmitting the target application           Target access point APN of the data packet;                 
通过所述目标接入点APN传输所述目标应用的数据包。 Transmitting the data packet of the target application through the target access point APN.                 
实施本发明实施例,具有如下有益效果: Embodiments of the present invention have the following beneficial effects:                 
本发明实施例可通过获取终端上目标应用对应的特征描述信息来检测终 端当前选择的APN是否能用于传输该目标应用的数据包,并可在检测结果为 否时,及时地为所述终端确定出正确的APN,从而避免了因APN选择错误而 导致的应用数据不可达及应用建立失败等影响。 The embodiment of the present invention can detect the end by acquiring the feature description information corresponding to the target application on the terminal.           Whether the currently selected APN can be used to transmit the data packet of the target application, and the detection result is           If no, the correct APN is determined for the terminal in time, thereby avoiding the wrong selection of the APN.           The resulting application data is unreachable and application creation fails.                 
附图说明 DRAWINGS                 
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述 中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付 出创造性劳动的前提下,还可以根据这些附图获得其他的附图。 In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will be implemented           The drawings used in the examples or in the description of the prior art are briefly introduced, and obviously, the following description           The drawings in the drawings are only some embodiments of the present invention, and will not be paid by one of ordinary skill in the art.           Other drawings can also be obtained from these drawings on the premise of creative labor.                 
图1是本发明实施例提供的一种接入点的选择方法的交互示意图; FIG. 1 is a schematic diagram of interaction of a method for selecting an access point according to an embodiment of the present invention;                 
图2是本发明实施例提供的另一种接入点的选择方法的交互示意图; 2 is a schematic diagram of interaction of another method for selecting an access point according to an embodiment of the present invention;                 
图3是本发明实施例提供的再一种接入点的选择方法的交互示意图; FIG. 3 is a schematic diagram of interaction of another method for selecting an access point according to an embodiment of the present invention; FIG.                 
图4是本发明实施例提供的一种接入点的选择装置的结构示意图; 4 is a schematic structural diagram of an apparatus for selecting an access point according to an embodiment of the present invention;                 
图5是本发明实施例提供的另一种接入点的选择装置的结构示意图; FIG. 5 is a schematic structural diagram of another apparatus for selecting an access point according to an embodiment of the present disclosure;                 
图6是本发明实施例提供的再一种接入点的选择装置的结构示意图; FIG. 6 is a schematic structural diagram of still another apparatus for selecting an access point according to an embodiment of the present disclosure;                 
图7是图6的接入点确定模块的其中一种具体结构示意图; 7 is a schematic diagram of one specific structure of the access point determining module of FIG. 6;                 
图8是本发明实施例提供的又一种接入点的选择装置的结构示意图; FIG. 8 is a schematic structural diagram of still another apparatus for selecting an access point according to an embodiment of the present invention; FIG.                 
图9是本发明实施例提供的一种网络设备的结构组成示意图; FIG. 9 is a schematic structural diagram of a network device according to an embodiment of the present disclosure;                 
图10是本发明实施例提供的一种服务器的结构组成示意图; FIG. 10 is a schematic structural diagram of a server according to an embodiment of the present invention;                 
图11是本发明实施例提供的一种终端的结构组成示意图。 FIG. 11 is a schematic structural diagram of a terminal according to an embodiment of the present invention.                                     
具体实施方式 detailed description                 
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是 全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。 The technical solution in the embodiment of the present invention will be clarified in the following with reference to the accompanying drawings in the embodiments of the present invention.           BRIEF DESCRIPTION OF THE DRAWINGS It is apparent that the described embodiments are merely a part of the embodiments of the present invention, and are not           All embodiments. Based on the embodiments of the present invention, one of ordinary skill in the art does not create           All other embodiments obtained under the premise of sexual labor are within the scope of protection of the present invention.                 
请参见图1,是本发明实施例提供的一种接入点的选择方法的交互示意 图,具体的,所述方法包括: FIG. 1 is an interactive diagram of a method for selecting an access point according to an embodiment of the present invention.           Figure, specifically, the method includes:                 
S1001:UE发送承载资源修改请求。 S1001: The UE sends a bearer resource modification request.                 
具体实施例中,手机、平板电脑等用户设备(User Equipment,UE)中的 目标应用如某一新建应用运行时,可通过当前已有的APN(Access Point Name, 接入点名称)所对应的PDN(Packet Data Network,数据网络)传输该新建应 用的数据包,但在当前PDN连接的承载不适合传输该新建应用的数据包时, 可发起承载资源修改流程,并发送承载资源修改请求至MME(Mobility  Management Entity,移动管理实体)。 In a specific embodiment, in a user equipment (User Equipment, UE) such as a mobile phone or a tablet computer           The target application, such as a new application running, can pass the currently existing APN (Access Point Name,           The PDN (Packet Data Network) corresponding to the access point name is transmitted.           Used packet, but when the current PDN connected bearer is not suitable for transmitting the packet of the newly created application,           The bearer resource modification process may be initiated, and the bearer resource modification request is sent to the MME (Mobility)           Management Entity, Mobile Management Entity).                 
具体的,该承载资源修改请求可携带当前APN对应的PDN连接的缺省承 载标识、待修改的EPS(Evolved Packet System,演进的分组系统)承载标识、 QoS(Quality of Service,服务质量)、特征描述信息等。 Specifically, the bearer resource modification request may carry the default inheritance of the PDN connection corresponding to the current APN.           The EPS (Evolved Packet System) bearer identifier of the EPS to be modified,           QoS (Quality of Service), characterization information, and so on.                 
其中,该特征描述信息可具体为流描述信息,可包括目标应用的源IP地 址、目的IP地址、源端口号、目的端口号、协议类型、应用标识等等。进一 步的,该特征描述信息还可为TAD(Traffic Aggregate Description,流聚合描 述)信息,该TAD为上述流描述信息的集合,即包含了多条流描述信息。 The feature description information may be specifically flow description information, and may include a source IP address of the target application.           Address, destination IP address, source port number, destination port number, protocol type, application ID, and so on. Enter one           Step, the feature description information may also be TAD (Traffic Aggregate Description)           The information is that the TAD is a set of the flow description information, that is, includes multiple pieces of flow description information.                 
S1002:MME发送承载资源命令至SGW。 S1002: The MME sends a bearer resource command to the SGW.                 
S1003:SGW发送承载资源命令至PGW。 S1003: The SGW sends a bearer resource command to the PGW.                 
MME接收到UE发送的承载资源修改请求之后,可发送承载资源命令 (Bearer Resource Command)到SGW,SGW发送承载资源命令到PGW。所 述承载资源命令中包含用户永久标识、缺省承载标识、EPS承载标识、QoS、 特征描述信息等。 After receiving the bearer resource modification request sent by the UE, the MME may send a bearer resource command.           (Bearer Resource Command) To the SGW, the SGW sends a bearer resource command to the PGW. Place           The bearer resource command includes a user permanent identifier, a default bearer identifier, an EPS bearer identifier, and QoS.           Feature description information, etc.                 
S1004:PGW发起IP-CAN会话修改流程。 S1004: The PGW initiates an IP-CAN session modification process.                 
作为一种可选的实施方式,检测当前APN是否正确,即当前APN是否能 用于传输目标应用数据包,可以是通过该承载资源修改流程触发PGW(PDN  Gateway,数据网关)将该新建应用的特征描述信息发送给PCRF(Policy and  Charging Rules Function,策略与计费功能服务器),以请求PCRF检测该UE 的当前APN是否能用于传输该新建应用的数据包。该PGW为与当前PDN对 应的PGW。具体的,PGW将该特征描述信息发送给PCRF可以是通过IP-CAN 会话修改流程将该特征描述信息发送给PCRF的。 As an optional implementation manner, it is detected whether the current APN is correct, that is, whether the current APN can be                               For transmitting the target application data packet, the PGW (PDN) may be triggered by the bearer resource modification process.           Gateway, the data gateway sends the feature description information of the newly created application to the PCRF (Policy and           Charging Rules Function, requesting PCRF to detect the UE           Whether the current APN can be used to transmit the packet of the newly created application. The PGW is the current PDN pair           The PGW should be. Specifically, the PGW sends the feature description information to the PCRF through IP-CAN.           The session modification process sends the feature description information to the PCRF.                 
S1005:PCRF判断当前APN是否正确,若不正确,确定正确的APN。 S1005: The PCRF determines whether the current APN is correct. If not, determine the correct APN.                 
S1006:PCRF回复正确的APN。 S1006: The PCRF replies with the correct APN.                 
PCRF基于该新建应用的特征描述信息检测当前APN选择是否正确,即 是否能用于传输该新建应用的数据包,比如可基于该新建应用服务器目的IP 地址或应用标识等特征信息判断当前APN是否正确,并当PCRF判断当前APN 不正确时,为UE确定出能用于传输该新建应用数据包的APN。 The PCRF detects whether the current APN selection is correct based on the feature description information of the newly created application, that is,           Whether it can be used to transmit the data packet of the newly created application, for example, based on the IP address of the newly created application server.           The feature information such as the address or the application identifier determines whether the current APN is correct, and when the PCRF determines the current APN.           If it is incorrect, it determines for the UE the APN that can be used to transmit the newly created application packet.                 
进一步的,该PCRF可在回复PGW的IP-CAN会话修改流程中将的该特 征描述信息及其正确的APN的绑定关系推送给PGW。具体的,该绑定关系可 通过PCC规则下发,比如在PCC规则中包含该应用的特征描述信息,并在相 同的PCC规则中携带正确的APN信息。 Further, the PCRF may be in the IP-CAN session modification process of replying to the PGW.           The binding information of the description information and its correct APN is pushed to the PGW. Specifically, the binding relationship can be           Is delivered by the PCC rule, such as including the feature description information of the application in the PCC rule, and           The same PCC rules carry the correct APN information.                 
进一步的,若检测得到当前APN不能用于传输该应用数据包,则PCRF 可基于PCC规则将该应用数据包的特征描述信息以及禁止指示发送给PGW, 该禁止指示中包括当前APN。 Further, if it is detected that the current APN cannot be used to transmit the application data packet, the PCRF           The feature description information and the prohibition indication of the application data packet may be sent to the PGW based on the PCC rule.           The current APN is included in the prohibition indication.                 
PGW可从PCRF返回的检测结果中提取能用于传输该新建应用数据包的 APN,并将所述APN确定为所述终端的目标APN,即正确的APN。 The PGW may extract, from the detection result returned by the PCRF, a data packet that can be used to transmit the newly created application.           The APN determines the APN as the target APN of the terminal, that is, the correct APN.                 
S1007:PGW发送更新承载请求,推送正确的APN。 S1007: The PGW sends an update bearer request and pushes the correct APN.                 
可选地,PGW可通过更新承载请求将该特征描述信息及其正确的APN发 送给SGW(Serving Gateway,服务网关)与MME。 Optionally, the PGW may send the feature description information and its correct APN by updating the bearer request.           It is sent to the SGW (Serving Gateway) and the MME.                 
进一步的,若PGW接收到PCRF发送的禁止指示,则可生成包括该新建 应用的特征描述信息及禁止指示的禁止类流模板(Traffic Flow Template, TFT),该禁止指示中包括不能用于传输该新建应用数据包的APN(若检测到 当前APN不能用于传输该新建应用数据包,则该禁止指示可包括当前APN), 将该禁止类TFT与当前APN对应的PDN连接的缺省承载绑定,并通过更新 承载请求将该禁止类TFT发送给SGW及MME。 Further, if the PGW receives the prohibition indication sent by the PCRF, the PGW may generate the new           The feature description information of the application and the prohibited flow template of the prohibition indication (Traffic Flow Template,           TFT), the prohibition indication includes an APN that cannot be used to transmit the newly created application packet (if detected           If the current APN cannot be used to transmit the newly created application packet, the prohibition indication may include the current APN).           Binding the forbidden TFT to the default bearer of the PDN connection corresponding to the current APN, and updating the                               The bearer request sends the forbidden TFT to the SGW and the MME.                 
S1008:MME通过RRC连接配置将该正确的APN返回给UE。 S1008: The MME returns the correct APN to the UE by using an RRC connection configuration.                 
MME可通过RRC(Radio Resource Control,无线资源控制)连接配置消 息将绑定后的该新建应用对应的特征描述信息及其对应的正确APN、禁止类 TFT等信息发送给当前UE。 The MME can be configured through RRC (Radio Resource Control) connection configuration.           The feature description information corresponding to the newly created application and its corresponding correct APN and prohibited class           Information such as TFT is sent to the current UE.                 
实施本发明实施例可通过获取当前UE发送的承载资源修改请求中的特征 描述信息来检测当前选择的APN是否能用于传输目标应用的数据包,并可在 检测结果为否时,及时地为当前UE确定出正确的APN,避免了因APN选择 错误而导致的应用数据不可达及应用建立失败等影响。 The embodiment of the present invention can obtain the feature in the bearer resource modification request sent by the current UE.           Descriptive information to detect whether the currently selected APN can be used to transmit the data packet of the target application, and           When the detection result is no, the correct APN is determined for the current UE in time, and the selection by the APN is avoided.           The application data is unreachable due to errors and the application establishment fails.                 
请参见图2,是本发明实施例提供的另一种接入点的选择方法的交互示意 图,具体的,所述方法包括: Referring to FIG. 2, it is an interactive diagram of another method for selecting an access point according to an embodiment of the present invention.           Figure, specifically, the method includes:                 
S2001:UE发送目标应用数据包。 S2001: The UE sends a target application data packet.                 
S2002:PGW判断当前APN是否能用于传输该目标应用的数据包。 S2002: The PGW determines whether the current APN can be used to transmit the data packet of the target application.                 
当UE运行目标应用如某一新建应用,并选择当前APN对应的PDN连接 传输数据包时,PGW可获取该新建应用的数据包对应的特征描述信息,并基 于预置的数据描述参数检测当前APN是否能用于传输该目标应用的数据包, 该预置的数据描述参数可包括事件订阅参数或预先配置的接入配置参数。其 中,该事件订阅参数可按照预设的时间间隔由PCRF下发得到。 When the UE runs the target application, such as a newly created application, and selects the PDN connection corresponding to the current APN.           When transmitting a data packet, the PGW can obtain the feature description information corresponding to the data packet of the newly created application, and base the           Determining, by the preset data description parameter, whether the current APN can be used to transmit the data packet of the target application,           The preset data description parameters may include event subscription parameters or pre-configured access configuration parameters. its           The event subscription parameter can be delivered by the PCRF according to a preset time interval.                 
具体的,PGW可通过检测该新建应用的特征描述信息与该预置的数据描 述参数是否匹配,并在检测到不匹配时,则可表示当前APN不能用于传输该 新建应用数据包。其中,该事件订阅参数包含预置的特征描述信息,还包括通 知PGW在检测到某数据包时相应的行为描述参数,所述行为描述参数包括上 报服务器、丢弃数据包等参数。该接入配置参数为运营商或其他相关人员预先 配置的静态配置参数,包含预置的特征描述信息以及至少一个APN。 Specifically, the PGW can detect the feature description information of the newly created application and the preset data description.           Whether the parameters match, and when a mismatch is detected, it indicates that the current APN cannot be used to transmit the           Create a new application package. The event subscription parameter includes preset feature description information, and includes           Knowing the corresponding behavior description parameter of the PGW when detecting a data packet, the behavior description parameter includes           Report the server, discard the data packet and other parameters. The access configuration parameter is pre-defined by the operator or other related personnel.           Configured static configuration parameters, including preset feature description information and at least one APN.                 
S2003:若否,则PGW回复正确的APN,或上报服务器。 S2003: If no, the PGW replies to the correct APN or reports to the server.                 
可选地,判断当前APN是否能用于传输目标应用的数据包,可通过判断 当前目标应用对应的特征描述信息中是否存在一项或者多项描述信息与该接 入配置参数中包含的特征描述信息中的一项或者多项描述信息相同。进一步 的,若判断结果为存在相同,则可表明当前APN不能用于传输该应用数据包, 可进一步获取该接入配置参数中包含的APN信息,并从该APN信息中选择出 与该目标应用的特征描述信息对应的APN,将该APN确定为当前UE的目标 APN。 Optionally, determining whether the current APN can be used to transmit the data packet of the target application may be determined by           Whether one or more description information exists in the feature description information corresponding to the current target application and the connection           One or more of the description information included in the configuration parameter included in the configuration parameter is the same. further           If the judgment result is the same, it may indicate that the current APN cannot be used to transmit the application data packet.                               The APN information included in the access configuration parameter may be further obtained, and selected from the APN information.           The APN corresponding to the feature description information of the target application, and determining the APN as the target of the current UE           APN.                 
具体的,可预先为某些特定的数据包,比如预先为包含某一类应用标识, 或者包含特定的协议类型的数据包配置好相应的正确APN,PGW在检测到这 些特定的数据包时,即可直接从该接入配置参数中获取与该数据包的应用标识 或协议类型对应的APN,并将获取的该APN确定为能用于传输当前新建应用 的目标APN。 Specifically, it may be pre-defined for certain specific data packets, such as including a certain type of application identifier in advance.           Or the packet containing the specific protocol type is configured with the correct correct APN, and the PGW detects this.           For some specific data packets, the application identifier of the data packet can be obtained directly from the access configuration parameter.           Or the APN corresponding to the protocol type, and the acquired APN is determined to be used to transmit the current new application.           The target APN.                 
可选地,判断当前APN是否能用于传输目标应用的数据包,还可通过判 断当前目标应用对应的特征描述信息中是否存在一项或者多项描述信息与所 述事件订阅参数中包含的特征描述信息中的一项或者多项描述信息相同。进一 步的,若判断结果为存在相同,且该行为描述参数为所述指示上报服务器的参 数,则可将该目标应用对应的特征描述信息发送至PCRF,以获取正确的APN。 Optionally, determining whether the current APN can be used to transmit the data packet of the target application, and determining           Whether one or more description information and the presence information exist in the feature description information corresponding to the current target application           One or more of the description information included in the event subscription parameter is the same. Enter one           If the result of the determination is the same, and the behavior description parameter is the parameter of the indication reporting server           If the number is used, the corresponding feature description information of the target application may be sent to the PCRF to obtain the correct APN.                 
进一步可选地,若获取的数据包的特征描述信息与当前PGW的流模板 (Traffic Flow Template,TFT)中包含的流描述信息不存在匹配项,且与上述 事件订阅参数中的特征描述信息也不存在匹配项,则可直接丢弃当前数据包。 Further optionally, if the feature description information of the acquired data packet is related to the current flow template of the PGW           There is no match in the flow description information contained in the (Traffic Flow Template, TFT), and the above           If there is no match in the feature description information in the event subscription parameter, the current data packet can be directly discarded.                 
S2004:PGW指示上报服务器,以获取正确的APN。 S2004: The PGW indicates to the reporting server to obtain the correct APN.                 
基于行为描述上报PCRF时,可以是当前PGW通过发起IP-CAN会话修 改流程,将接收到的目标应用数据包的特征描述信息及应用标识发送给PCRF, 其中,该应用标识可包含于所述数据包特征描述信息中,或者可基于深度包解 析获知。 When the PCRF is reported based on the behavior description, the current PGW can be repaired by initiating an IP-CAN session.           The process is changed, and the feature description information and the application identifier of the received target application data packet are sent to the PCRF.           The application identifier may be included in the packet feature description information, or may be based on a deep packet solution.           Analysis and knowledge.                 
S2005:PCRF回复正确的APN。 S2005: The PCRF replies to the correct APN.                 
S2006:PGW将正确的APN返回给UE。 S2006: The PGW returns the correct APN to the UE.                 
PCRF基于该应用数据包的特征描述信息,比如可基于该新建应用服务器 目的IP地址或应用标识等特征信息,确定出正确的APN,并基于PCC规则将 该数据包对应的特征描述信息及确定出的正确APN回复给PGW。 The PCRF is based on the feature description information of the application data packet, for example, based on the newly created application server.           The feature information such as the destination IP address or the application identifier determines the correct APN and is based on the PCC rules.           The feature description information corresponding to the data packet and the determined correct APN are returned to the PGW.                 
若PGW接收到PCRF根据该特征描述信息返回的APN,则可进一步表明 当前APN不能用于传输该应用数据包,即当前APN不正确,并可将PCRF返 回的APN确定为该UE的目标APN。 If the PGW receives the APN returned by the PCRF according to the feature description information, it may further indicate           The current APN cannot be used to transmit the application data packet, that is, the current APN is incorrect, and the PCRF can be returned.           The returned APN is determined to be the target APN of the UE.                                     
PGW将基于预置的数据描述参数或PCRF下发的PCC规则而获得的正确 APN即目标APN、该应用数据包对应的特征描述信息以及可能包括的禁止类 TFT等,发送给当前UE。PGW将该应用数据包对应的特征描述信息及该正确 APN、以及可能包括的禁止类TFT等信息推送给UE的过程同图1对应实施例 的相应描述,在此不再赘述。 The PGW will obtain the correct parameters based on the preset data description parameters or the PCC rules issued by the PCRF.           APN is the target APN, the characterization information corresponding to the application data packet, and the prohibited classes that may be included.           The TFT or the like is transmitted to the current UE. The GW describes the characterization information corresponding to the application data packet and the correct           The process of pushing information to the UE, such as the APN and possibly the prohibited TFT, is the same as the embodiment corresponding to FIG.           The corresponding description will not be repeated here.                 
实施本发明实施例可通过将获取的目标应用数据包的特征描述信息与从 PCRF下发的事件订阅参数中或者预置的接入配置参数中包含的特征描述信息 进行对比,在两者之间存在匹配项时,则可表明当前选择的APN不能用于传 输该目标应用的数据包。进一步的,在判断当前APN不适用时,还可从预置 的APN信息中选择出正确的APN或者上报PCRF以获取正确的APN,及时 地为当前UE确定出了正确的APN。 Embodiments of the present invention may be implemented by using the feature description information of the acquired target application data packet.           Feature description information included in the event subscription parameters delivered by the PCRF or preset access configuration parameters           For comparison, if there is a match between the two, it may indicate that the currently selected APN cannot be used for transmission.           Lose the packet for the target application. Further, when it is judged that the current APN is not applicable, the preset can also be           Select the correct APN or report the PCRF to obtain the correct APN in the APN information.           The correct APN is determined for the current UE.                 
请参见图3,是本发明实施例提供的再一种接入点的选择方法的交互示意 图,具体的,所述方法包括: Referring to FIG. 3, it is an interaction diagram of another method for selecting an access point according to an embodiment of the present invention.           Figure, specifically, the method includes:                 
S3001:PGW获取目标应用数据包对应的特征描述信息。 S3001: The PGW obtains feature description information corresponding to the target application data packet.                 
当目标应用如某一新建应用运行时,UE通过当前APN对应的PDN连接 传输该应用数据包,或者在当前PDN连接的承载不适合而发起承载资源修改 请求时,PGW可获取该应用数据包或承载资源修改请求中包含的特征描述信 息。 When the target application is running, such as a new application, the UE connects through the PDN corresponding to the current APN.           Transmitting the application data packet, or initiating bearer resource modification when the current PDN connection bearer is not suitable           When requested, the PGW may obtain the feature description letter included in the application data packet or the bearer resource modification request.           interest.                 
S3002:PGW发起会话修改流程,将该特征描述信息发送至PCRF。 S3002: The PGW initiates a session modification process, and sends the feature description information to the PCRF.                 
S3003:PCRF检测到该数据包不适合在当前会话中传输。 S3003: The PCRF detects that the packet is not suitable for transmission in the current session.                 
PGW可通过发起IP-CAN会话修改流程将该目标应用数据包对应特征描 述信息推送给PCRF。具体的,将该特征描述信息发送至PCRF可以是在PGW 接收到UE发起的承载资源修改请求时所触发的,即通过控制面触发;或者是 在PGW检测到该获取的特征描述信息与事件订阅参数中包含的特征描述信息 相匹配,且该行为描述参数为指示上报服务器的参数时所触发的,即通过用户 面触发。上述事件订阅参数可由PCRF下发至PGW。PCRF可基于该特征描 述信息中目标应用对应的目的IP地址或应用标识等特征信息,判断当前UE 的APN是否能用于传输该目标应用的数据包。 The PGW may map the target application data packet corresponding to the feature by initiating an IP-CAN session modification process.           The information is pushed to the PCRF. Specifically, sending the feature description information to the PCRF may be at the PGW.           Triggered when receiving a bearer resource modification request initiated by the UE, that is, triggered by the control plane; or           The feature description information and the feature description information included in the event subscription parameter are detected by the PGW.           Matching, and the behavior description parameter is triggered when the parameter is reported to the server, that is, by the user.           Face trigger. The above event subscription parameters can be delivered to the PGW by the PCRF. PCRF can be based on this feature           Determining the current UE by using feature information such as the destination IP address or application identifier corresponding to the target application in the information           Whether the APN can be used to transmit packets of the target application.                 
S3004:PCRF向ANDSF发送APN请求。 S3004: The PCRF sends an APN request to the ANDSF.                                     
S3005:ANDSF回复正确的APN。 S3005: ANDSF returns the correct APN.                 
可选地,若PCRF判断该应用数据包不应当在当前会话中传输,即当前 APN不能用于传输该应用数据包时,还可向ANDSF服务器发起APN请求, 通过PCRF与ANDSF(Access Network Discovery and Selection Function,接入 网发现与选择功能)之间的接口将该目标应用对应的特征描述信息发送给 ANDSF,以使ANDSF根据该特征描述信息获取正确的APN。 Optionally, if the PCRF determines that the application data packet should not be transmitted in the current session, that is, the current           When the APN cannot be used to transmit the application data packet, it can also initiate an APN request to the ANDSF server.           Through PCRF and ANDSF (Access Network Discovery and Selection Function, access           The interface between the network discovery and selection function sends the feature description information corresponding to the target application to           ANDSF, so that the ANDSF obtains the correct APN based on the feature description information.                 
ANDSF服务器基于接收到的特征描述信息选择出正确的APN,即能用于 传输该应用数据包的APN,比如具体根据该特征描述信息中的目的IP地址或 应用标识等特征信息,确定出正确的APN,并将该正确的APN回复给PCRF。 The ANDSF server selects the correct APN based on the received feature description information, that is, can be used           Transmitting the APN of the application data packet, for example, according to the destination IP address in the feature description information or           Apply the feature information such as the identifier to determine the correct APN and reply the correct APN to the PCRF.                 
S3006:PCRF返回正确的APN至PGW。 S3006: PCRF returns the correct APN to PGW.                 
S3007:PGW将该正确的APN返回给UE。 S3007: The PGW returns the correct APN to the UE.                 
可选地,PCRF接收到ANDSF服务器回复的APN之后,可将该APN与 该目标应用对应的特征描述信息进行绑定,并将该绑定关系推送给PGW。由 PGW将该特征描述信息及其正确的APN、以及可能包括的禁止类TFT等信息 推送给UE的过程同图1对应实施例的相应描述,在此不再赘述。 Optionally, after the PCRF receives the APN replied by the ANDSF server, the APN may be           The target application binds the corresponding feature description information, and pushes the binding relationship to the PGW. by           The PGW will describe the feature description information and its correct APN, and possibly the prohibited TFTs.           The process of pushing to the UE is the same as that of the embodiment corresponding to FIG. 1 and will not be described here.                 
进一步可选地,ANDSF服务器还可通过与当前UE之间的通信接口,如 S14接口,向UE直接推送APN策略。该APN策略中包含了目标应用数据包 的特征描述信息、APN信息以及APN优先级指示参数,该优先级指示参数可 以表明该APN是否可以被该数据包使用,比如,可设置当该优先级指示参数 为某一特殊值(如254、255)时,即可表明该应用数据包禁止使用该APN。 所述APN策略中包含至少一个APN。 Further optionally, the ANDSF server may also communicate with the current UE, such as           The S14 interface directly pushes the APN policy to the UE. The target application packet is included in the APN policy.           Feature description information, APN information, and APN priority indication parameters, the priority indication parameter may be           To indicate whether the APN can be used by the data packet, for example, can be set when the priority indication parameter           When it is a special value (such as 254, 255), it indicates that the application data packet is forbidden to use the APN.           The APN policy includes at least one APN.                 
进一步的,UE接收到APN策略之后,可将该APN策略中的特征描述信 息与应用数据包进行匹配,若匹配成功,则使用与该特征描述信息相对应的 APN传输该应用数据包。若当前并未建立到该APN的PDN连接,则UE发起 到该APN的PDN的连接建立流程。 Further, after receiving the APN policy, the UE may describe the feature in the APN policy.           The information is matched with the application data packet, and if the matching is successful, the corresponding information corresponding to the feature description information is used.           The APN transmits the application packet. If the PDN connection to the APN is not currently established, the UE initiates           The connection establishment process to the PDN of the APN.                 
实施本发明实施例可在PGW将获取到的应用数据包的特征描述信息发送 至PCRF,并在PCRF根据该特征描述信息检测到当前APN不能用于传输该 应用数据包时,通过将该特征描述信息推送给ANDSF服务器,由ANDSF服 务器获取与该特征描述信息对应的正确APN,从而及时地为当前UE确定出正 确的APN。 The embodiment of the present invention can send the feature description information of the application data packet acquired by the PGW.           Up to the PCRF, and detecting, by the PCRF according to the feature description information, that the current APN cannot be used for transmitting the           When the data packet is applied, the feature description information is pushed to the ANDSF server, and the ANDSF service           Obtaining the correct APN corresponding to the feature description information, so as to determine positively for the current UE in time                               The exact APN.                 
请参见图4,是本发明实施例提供的一种接入点的选择装置的结构示意 图,所述装置可具体设置于PGW(PDN Gateway,数据网关)等网络节点中, 具体的,所述装置包括获取模块11、检测模块12、确定模块13以及指示模块 14。其中, FIG. 4 is a schematic structural diagram of an apparatus for selecting an access point according to an embodiment of the present invention.           The device may be specifically configured in a network node such as a PGW (PDN Gateway, data gateway).           Specifically, the device includes an obtaining module 11, a detecting module 12, a determining module 13, and an indicating module.           14. among them,                 
所述获取模块11,用于获取终端的目标应用的第一特征描述信息。 The obtaining module 11 is configured to acquire first feature description information of a target application of the terminal.                 
具体实施例中,该PGW可参照图1至图3对应实施例中的PGW的相关 描述,可在手机、平板电脑等用户终端发起目标应用如某一新建应用,并通过 当前已有的APN传输该新建应用的数据包时,或者在当前APN对应的PDN 连接的承载不适合传输该新建应用的数据包,接收到终端发送的承载资源修改 请求时,获取模块11触发获取该应用数据包中或承载资源修改请求中携带的 特征描述信息。该PGW为与当前PDN对应的PGW。 In a specific embodiment, the PGW may refer to the correlation of the PGW in the corresponding embodiment of FIG. 1 to FIG. 3.           Description, can launch a target application such as a new application on a user terminal such as a mobile phone or a tablet computer, and pass           When the existing APN transmits the data packet of the newly created application, or the PDN corresponding to the current APN.           The connected bearer is not suitable for transmitting the data packet of the newly created application, and receives the bearer resource modification sent by the terminal.           When requested, the obtaining module 11 triggers acquiring the information carried in the application data packet or carried in the bearer resource modification request.           Feature description information. The PGW is a PGW corresponding to the current PDN.                 
具体的,该特征描述信息可具体为流描述信息,可包括新建应用源/目的 IP地址、源/目的端口号信息、协议类型及应用标识等等。进一步的,该特征 描述信息还可为TAD(Traffic Aggregate Description,流聚合描述)信息,该 TAD为上述流描述信息的集合,即包含了多条流描述信息。 Specifically, the feature description information may be specific to the flow description information, and may include a new application source/purpose.           IP address, source/destination port number information, protocol type and application identifier, etc. Further, the feature           The description information may also be TAD (Traffic Aggregate Description) information, which           The TAD is a set of the foregoing flow description information, that is, includes multiple pieces of flow description information.                 
所述检测模块12,用于根据所述获取模块11获取的第一特征描述信息, 确定所述终端的当前接入点APN是否能用于传输所述目标应用的数据包。 The detecting module 12 is configured to use the first feature description information acquired by the acquiring module 11           Determining whether the current access point APN of the terminal can be used to transmit a data packet of the target application.                 
具体实施例中,该检测模块12可通过判断该获取模块11获取的特征描述 信息与预置的数据描述参数是否匹配,来确定当前APN是否正确,即当前APN 是否能用于传输该新建应用的数据包。进一步的,检测模块12还可通过将获 取模块11获取得到的该新建应用的特征描述信息发送至PCRF(Policy and  Charging Rules Function,策略与计费功能服务器),以使该PCRF检测当前APN 对应的PDN是否能用于传输该新建应用的数据包。 In a specific embodiment, the detecting module 12 can determine the feature description acquired by the acquiring module 11           Whether the information matches the preset data description parameter to determine whether the current APN is correct, that is, the current APN.           Can be used to transfer packets of this newly created application. Further, the detection module 12 can also obtain           The feature description information of the newly created application obtained by the module 11 is sent to the PCRF (Policy and           Charging Rules Function, the policy and accounting function server), so that the PCRF detects the current APN           Whether the corresponding PDN can be used to transmit the data packet of the newly created application.                 
所述确定模块13,用于当所述检测模块12确定当前接入点APN不能用 于传输所述目标应用的数据包时,为所述终端确定出能用于传输所述数据包的 目标接入点APN。 The determining module 13 is configured to: when the detecting module 12 determines that the current access point APN is unavailable           Determining, for the terminal, a data packet that can be used to transmit the data packet when transmitting the data packet of the target application.           Target access point APN.                 
所述指示模块14,用于指示所述终端通过所述确定模块确定出的所述目 标接入点APN传输所述目标应用的数据包。 The indication module 14 is configured to indicate the target that is determined by the terminal by using the determining module           The standard access point APN transmits the data packet of the target application.                                     
若检测模块12检测到当前APN不正确,即该APN不能用于传输该新建 应用的数据包,则可根据获取模块11获取的该新建应用的特征描述信息,比 如具体根据该新建应用对应的目的IP地址或应用标识等特征信息,为终端确 定出正确的APN,即能用于传输该新建应用数据包对应的APN。该正确的APN 可以是由PGW、PCRF或ANDSF(Access Network Discovery and Selection  Function,接入网发现与选择功能)基于该新建应用特征描述信息获取的适用 APN。 If the detection module 12 detects that the current APN is incorrect, the APN cannot be used to transmit the new           The data packet of the application may be compared according to the feature description information of the newly created application acquired by the obtaining module 11           For example, according to the feature information such as the destination IP address or the application identifier corresponding to the newly created application,           The correct APN can be used to transmit the APN corresponding to the newly created application packet. The correct APN           Can be by PGW, PCRF or ANDSF (Access Network Discovery and Selection           Function, access network discovery and selection function) based on the application of the new application feature description information acquisition           APN.                 
进一步的,指示模块14可将确定出的正确的APN与该新建应用的特征描 述信息进行绑定,并指示将绑定后的该新建应用的特征描述信息及其正确 APN推送给当前终端。 Further, the indicating module 14 may describe the determined correct APN and the feature of the newly created application.           Binding the information and indicating the feature description information of the newly created application after binding           The APN is pushed to the current terminal.                 
实施本发明实施例可通过获取终端上目标应用对应的特征描述信息来检 测终端当前选择的APN是否能用于传输该目标应用的数据包,并可在检测结 果为否时,及时地为所述终端确定出正确的APN,从而避免了因APN选择错 误而导致的应用数据不可达及应用建立失败等影响。 The embodiment of the present invention can be detected by acquiring feature description information corresponding to the target application on the terminal.           Detecting whether the currently selected APN of the terminal can be used to transmit the data packet of the target application, and can detect the node           If the value is no, the correct APN is determined for the terminal in time, thereby avoiding the wrong selection due to the APN.           Mistakes caused by application data unreachability and application establishment failure.                 
请参见图5,是本发明实施例提供的另一种接入点的选择装置的结构示意 图,所述装置包括上述接入点的选择装置的获取模块11、检测模块12、确定 模块13以及指示模块14,具体的,在本发明实施例中,所述获取模块11可 以具体包括: FIG. 5 is a schematic structural diagram of another apparatus for selecting an access point according to an embodiment of the present invention.           The device includes an acquisition module 11 of the selection device of the access point, a detection module 12, and a determination.           The module 13 and the indication module 14 , specifically, in the embodiment of the present invention, the acquisition module 11 can           Specifically include:                 
请求接收单元111,用于接收所述终端发送的承载资源修改请求,所述承 载资源修改请求中包括所述目标应用的第一特征描述信息。 The request receiving unit 111 is configured to receive a bearer resource modification request sent by the terminal, where the           The first feature description information of the target application is included in the resource modification request.                 
信息提取单元112,用于从所述请求接收单元111接收到的承载资源修改 请求中提取所述第一特征描述信息。 The information extracting unit 112 is configured to modify the bearer resource received from the request receiving unit 111.           The first feature description information is extracted from the request.                 
具体实施例中,手机等用户终端中的目标应用如新建应用运行时,可选择 当前已存在的APN传输数据包,若APN对应的PDN连接的承载不适合传输 新建应用的数据包,则可发起承载资源修改流程,并发送承载资源修改请求至 该PDN对应的PGW,该承载资源修改请求中携带有该新建应用数据包的特征 描述信息。若请求接收单元111接收到该承载资源修改请求,则信息提取单元 112可从该请求中提取应用数据包的特征描述信息。 In a specific embodiment, when a target application in a user terminal such as a mobile phone is running, for example, when a new application is run,           The existing APN transmission data packet, if the PDN corresponding to the APN is not suitable for transmission           To create a new application data packet, you can initiate a bearer resource modification process and send a bearer resource modification request to           The PGW corresponding to the PDN, the bearer resource modification request carries the feature of the newly created application data packet           Description. If the request receiving unit 111 receives the bearer resource modification request, the information extracting unit           112 may extract feature description information of the application data packet from the request.                 
进一步的,在本发明实施例的所述接入点的选择装置中,所述检测模块 12可以具体包括: Further, in the selecting device of the access point according to the embodiment of the present invention, the detecting module                               12 can specifically include:                 
传输单元121,用于将所述第一特征描述信息发送至策略与计费功能服务 器PCRF,以请求所述PCRF检测所述终端的当前接入点APN是否能用于传 输所述目标应用的数据包,还用于接收所述PCRF响应所述请求返回的检测结 果。 The transmitting unit 121 is configured to send the first feature description information to a policy and charging function service.           The PCRF is configured to request the PCRF to detect whether the current access point APN of the terminal can be used for transmitting           Transmitting a data packet of the target application, and further configured to receive a detection node returned by the PCRF in response to the request           fruit.                 
结果确定单元122,用于当所述检测结果中包含能用于传输所述目标应用 数据包的目标接入点APN时,确定所述终端的当前接入点APN不能用于传输 所述目标应用的数据包。 a result determining unit 122, configured to: when the detection result includes, can be used to transmit the target application           When the target access point APN of the data packet is determined, it is determined that the current access point APN of the terminal cannot be used for transmission.           The data packet of the target application.                 
进一步的,在本发明实施例中,所述确定模块13可以具体包括: Further, in the embodiment of the present invention, the determining module 13 may specifically include:                 
接入点提取单元131,用于从所述PCRF返回的检测结果中提取所述目标 接入点APN。 An access point extracting unit 131, configured to extract the target from the detection result returned by the PCRF           Access point APN.                 
第一接入点确定单元132,用于将所述接入点提取单元131提取出的目标 接入点APN确定为所述终端的目标接入点APN。 a first access point determining unit 132, configured to use the target extracted by the access point extracting unit 131           The access point APN is determined to be the target access point APN of the terminal.                 
若PGW接收到PCRF返回的APN信息,则可通过接入点提取单元131 提取出该APN,第一接入点确定单元132将该提取出的APN确定为与该新建 应用对应的正确APN。 If the PGW receives the APN information returned by the PCRF, it may pass through the access point extracting unit 131.           Extracting the APN, the first access point determining unit 132 determines the extracted APN as the new one.           Apply the correct APN corresponding to it.                 
进一步可选地,所述检测模块12还可包括: Further optionally, the detecting module 12 may further include:                 
检测单元123,用于判断所述第一特征描述信息与预置的数据描述参数是 否匹配; The detecting unit 123 is configured to determine that the first feature description information and the preset data description parameter are           No match                 
匹配确定单元124,用于当所述检测单元123判断结果为匹配时,确定所 述终端的当前接入点APN不能用于传输所述目标应用的数据包。 The matching determining unit 124 is configured to determine, when the detecting unit 123 determines that the result is a match,           The current access point APN of the terminal cannot be used to transmit the data packet of the target application.                 
具体实施例中,可通过检测单元123对比当前获取的数据包的特征描述信 息与预置的数据描述参数是否匹配,来确定当前APN是否正确。其中,该预 置的数据描述参数可以是事件订阅参数,或者可是预先配置的接入配置参数。 该事件订阅参数可以是由PCRF按照预设的时间间隔下发得到,该事件订阅参 数包含第二特征描述信息及行为描述参数,所述行为描述参数包括指示上报服 务器或丢弃数据包的参数。 In a specific embodiment, the feature description letter of the currently acquired data packet may be compared by the detecting unit 123.           Whether the information matches the preset data description parameters to determine whether the current APN is correct. Among them, the pre           The set data description parameter may be an event subscription parameter or may be a pre-configured access configuration parameter.           The event subscription parameter may be sent by the PCRF according to a preset time interval, and the event subscription parameter           The number includes second feature description information and a behavior description parameter, and the behavior description parameter includes an indication report service           Server or discard the parameters of the packet.                 
进一步可选地,若该预置的数据描述参数为PCRF下发的事件订阅参数, 所述检测单元123具体用于:判断所述第一特征描述信息中是否存在一项或者 多项描述信息与所述第二特征描述信息中的一项或者多项描述信息相同。进一 步的,该确定模块13可以具体包括: Optionally, if the preset data description parameter is an event subscription parameter delivered by the PCRF,           The detecting unit 123 is specifically configured to: determine whether an item exists in the first feature description information or                               The plurality of description information is the same as one or more of the description information of the second feature description information. Enter one           The determining module 13 may specifically include:                 
解析单元133,用于当所述检测单元123判断所述第一特征描述信息中存 在一项或者多项描述信息与所述事件订阅参数中包含的第二特征描述信息中 的一项或者多项描述信息相同,且所述行为描述参数为所述指示上报服务器的 参数时,将所述第一特征描述信息发送至策略与计费功能服务器PCRF。 The parsing unit 133 is configured to: when the detecting unit 123 determines that the first feature description information is stored           In the one or more description information and the second feature description information included in the event subscription parameter           One or more pieces of description information are the same, and the behavior description parameter is the indication reporting server           When the parameter is used, the first feature description information is sent to the policy and charging function server PCRF.                 
第二接入点确定单元134,用于接收所述PCRF根据所述解析单元133发 送的第一特征描述信息而获取的接入点APN,并将所述接入点APN确定为所 述终端的目标接入点APN。 a second access point determining unit 134, configured to receive the PCRF according to the parsing unit 133           An access point APN obtained by sending the first feature description information, and determining the access point APN as           The target access point APN of the terminal.                 
若检测单元123判断当前新建应用数据包对应的特征描述信息与事件订 阅参数中包含的特征描述信息存在匹配项,比如检测到两者的应用标识相同, 或目的IP地址相同等,且所述行为描述参数为指示上报服务器,则可通过解 析单元133将获取的该新建应用对应的特征描述信息发送给PCRF,以请求正 确的APN,第二接入点确定单元134可将返回的该APN确定为终端的APN。 If the detecting unit 123 determines the feature description information and event subscription corresponding to the newly created application data packet           There is a match in the feature description information included in the parameter, for example, the application identifiers of the two are detected to be the same.           Or the destination IP address is the same, and the behavior description parameter is an indication reporting server,           The analyzing unit 133 sends the obtained feature description information corresponding to the newly created application to the PCRF to request positive           The correct APN, the second access point determining unit 134 may determine the returned APN as the APN of the terminal.                 
进一步可选地,若该预置的数据描述参数为预先配置的接入配置参数,所 述接入配置参数中包含第三特征描述信息以及至少一个APN,则所述检测单 元123具体用于:判断所述第一特征描述信息中是否存在一项或者多项描述信 息与所述第三特征描述信息中的一项或者多项描述信息相同。进一步的,所述 确定模块13还可以具体包括: Further optionally, if the preset data description parameter is a pre-configured access configuration parameter,           The access configuration parameter includes third feature description information and at least one APN, and the checklist           The element 123 is specifically configured to: determine whether one or more description letters exist in the first feature description information           The information is the same as one or more of the description information in the third feature description information. Further, the           The determining module 13 may further include:                 
获取单元135,用于当所述检测单元123判断所述第一特征描述信息中存 在一项或者多项描述信息与所述第三特征描述信息中的一项或者多项描述信 息相同时,获取所述接入配置参数中包含的所述至少一个APN。 The obtaining unit 135 is configured to: when the detecting unit 123 determines that the first feature description information is stored           One or more description letters in one or more description information and the third feature description information           When the information is the same, the at least one APN included in the access configuration parameter is obtained.                 
第三接入点确定单元136,用于从所述获取单元135获取的至少一个APN 中选择出与所述第一特征描述信息对应的APN作为能用于传输所述目标应用 数据包的目标APN。 a third access point determining unit 136, configured to acquire at least one APN from the acquiring unit 135           Selecting an APN corresponding to the first feature description information as being capable of transmitting the target application           The target APN of the packet.                 
具体的,可预先为某些特定的应用数据包,比如预先为包含某一类应用标 识,或者包含特定的协议类型的应用数据包配置好相应的正确APN,检测单 元123在检测到该新建应用数据包与预置的特定应用数据包相匹配时,获取单 元135即可直接从该接入配置参数中获取预先配置的各类APN,并通过第三 接入点确定单元136从该预置的各类APN中选择出与该新建应用数据包的应 用标识或协议类型对应的APN作为能用于传输所述目标应用数据包的目标 APN。 Specifically, the data package may be pre-defined for certain applications, such as pre-existing for a certain type of application           Knowledge, or application data packets containing specific protocol types, configure the correct correct APN, checklist           The element 123 obtains a single when it detects that the newly created application data packet matches the preset specific application data packet.           Element 135 can obtain pre-configured APNs directly from the access configuration parameter, and pass the third                               The access point determining unit 136 selects, from the preset types of APNs, the response to the newly created application packet.           Using an APN corresponding to the identity or protocol type as a target that can be used to transmit the target application data packet           APN.                 
本发明实施例的所述装置的确定模块13可以包括接入点提取单元131及 第一接入点确定单元132,解析单元133及第二接入点确定单元134,获取单 元135及第三接入点确定单元136三种单元组合的任一种或多种,本发明实施 例不作限定。 The determining module 13 of the device in the embodiment of the present invention may include an access point extracting unit 131 and           a first access point determining unit 132, a parsing unit 133, and a second access point determining unit 134, acquiring a single           The element 135 and the third access point determining unit 136 are any one or more of the three unit combinations, and are implemented by the present invention.           The example is not limited.                 
进一步的,本发明实施例的所述装置的指示模块14可以具体用于: Further, the indication module 14 of the device in the embodiment of the present invention may be specifically configured to:                 
将携带所述第一特征描述信息及所述目标接入点APN的更新承载请求发 送给移动管理实体MME,以使所述移动管理实体MME通过无线资源控制 RRC连接配置将所述第一特征描述信息及所述目标接入点APN推送给所述终 端。 And transmitting the first feature description information and the update bearer request of the target access point APN           And sent to the mobility management entity MME, so that the mobility management entity MME is controlled by radio resources           The RRC connection configuration pushes the first feature description information and the target access point APN to the end           end.                 
进一步的,在本发明实施例中,所述装置还可以包括: Further, in the embodiment of the present invention, the device may further include:                 
接收模块15,用于在检测到当前APN不能用于传输所述目标应用数据包 时,接收策略与计费功能服务器PCRF基于PCC规则发送的禁止指示,所述 禁止指示中包括当前APN; The receiving module 15 is configured to detect that the current APN cannot be used to transmit the target application data packet           Receiving, by the receiving policy and charging function server PCRF, a prohibition indication sent based on the PCC rule,           The prohibition indication includes the current APN;                 
生成模块16,用于生成包括所述第一特征描述信息及所述禁止指示的禁 止类流模板,并通过缺省承载将所述禁止类流模板推送给所述终端。 The generating module 16 is configured to generate a ban including the first feature description information and the prohibition indication           The flow template is terminated, and the forbidden flow template is pushed to the terminal by using a default bearer.                 
若接收模块15接收到PCRF发送的禁止指示,则可通过生成模块16生成 包含该应用特征描述信息及禁止指示的禁止类流模板(Traffic Flow Template, TFT),并将该禁止类TFT与当前APN对应的PDN连接的缺省承载绑定。禁 止指示中包括不能用于传输该新建应用的数据包的APN。进一步的,该禁止 类TFT可包括应用的特征描述信息及其相应的禁止指示的集合。 If the receiving module 15 receives the prohibition indication sent by the PCRF, it may generate by using the generating module 16.           A traffic flow template (Traffic Flow Template) containing the application description information and the prohibition indication           The TFT is bound to the default bearer of the PDN connection corresponding to the current APN. ban           The stop indication includes an APN that cannot be used to transmit the packet of the newly created application. Further, the prohibition           The class TFT may include a set of feature description information of the application and its corresponding prohibition indication.                 
MME可通过RRC连接配置(RRC connection Reconfiguration)将该新建 应用对应的特征描述信息及其正确的APN、禁止类TFT等信息发送给当前终 端。 The MME can establish the new connection through RRC connection reconfiguration.           Apply the corresponding feature description information and its correct APN, forbidden TFT, etc. to the current end.           end.                 
实施本发明实施例可通过获取终端目标应用对应的特征描述信息,来检测 终端当前选择的APN是否能用于传输该目标应用的数据包,并可在检测结果 为否时,直接从预置的各类APN信息中选择出正确的APN或者上报PCRF以 获取正确的APN,及时地为所述终端确定出正确的APN,避免了因APN选择 错误而导致的应用数据不可达及应用建立失败等影响。 The embodiment of the present invention can be detected by acquiring feature description information corresponding to the target application of the terminal.           Whether the APN currently selected by the terminal can be used to transmit the data packet of the target application, and the detection result is           If no, directly select the correct APN from the preset APN information or report the PCRF to                               Obtain the correct APN, determine the correct APN for the terminal in time, and avoid the choice of APN.           The application data is unreachable due to errors and the application establishment fails.                 
请参见图6,是本发明实施例提供的再一种接入点的选择装置的结构示意 图,所述装置可具体设置于PCRF等服务器中,具体的,所述装置可包括信息 获取模块17、判断模块18、接入点确定模块19以及发送模块20。其中, FIG. 6 is a schematic structural diagram of another apparatus for selecting an access point according to an embodiment of the present invention.           The device may be specifically configured in a server such as a PCRF. Specifically, the device may include information.           The acquisition module 17, the determination module 18, the access point determination module 19, and the transmission module 20. among them,                 
所述信息获取模块17,用于获取目标应用的特征描述信息。 The information obtaining module 17 is configured to acquire feature description information of the target application.                 
本发明实施例的所述PCRF可参照图1至图3对应实施例中的PCRF的相 关描述。 The PCRF of the embodiment of the present invention may refer to the phase of the PCRF in the corresponding embodiment of FIG. 1 to FIG. 3.           Off description.                 
其中,该特征描述信息可包括目标应用目的源IP地址、目的IP地址、源 端口号、目的端口号,还可能包括协议类型及应用标识等。 The feature description information may include a destination application destination source IP address, a destination IP address, and a source.           The port number and destination port number may also include the protocol type and application identifier.                 
所述判断模块18,用于根据所述信息获取模块17获取得到的所述特征描 述信息,判断所述终端的当前接入点APN是否能用于传输所述目标应用的数 据包。 The determining module 18 is configured to obtain the feature description obtained by the information acquiring module 17           Determining whether the current access point APN of the terminal can be used to transmit the number of the target applications           According to the package.                 
在信息获取模块17接收到PGW发送的特征描述信息之后,判断模块18 可基于该特征描述信息中的目的IP地址或应用标识等特征描述信息,判断当 前终端的APN对应的PDN是否能用于传输目标应用的数据包。 After the information acquiring module 17 receives the feature description information sent by the PGW, the determining module 18           The feature description information such as the destination IP address or the application identifier in the feature description information may be determined.           Whether the PDN corresponding to the APN of the front terminal can be used to transmit the data packet of the target application.                 
所述接入点确定模块19,用于当所述判断模块18判断结果为否时,确定 出能用于传输所述目标应用的数据包的目标接入点APN。 The access point determining module 19 is configured to determine, when the determining module 18 determines that the result is negative,           A target access point APN that can be used to transmit a data packet of the target application.                 
所述发送模块20,用于将所述适用接入点APN发送给数据网关PGW。 The sending module 20 is configured to send the applicable access point APN to the data gateway PGW.                 
若判断模块18判断当前APN不能用于传输目标应用的数据包,则可通过 接入点确定模块19进一步基于该目的IP地址或应用标识等特征描述信息获取 正确的APN,即能用于传输该目标应用数据包对应的APN,并由发送模块20 将获取的该正确的APN作为目标APN返回给PGW。 If the judging module 18 judges that the current APN cannot be used to transmit the data packet of the target application, the           The access point determining module 19 further obtains the feature description information based on the destination IP address or the application identifier.           The correct APN, that is, can be used to transmit the APN corresponding to the target application data packet, and is sent by the sending module 20           The obtained correct APN is returned to the PGW as the target APN.                 
进一步的,在本发明实施例中,所述发送模块20可以包括: Further, in the embodiment of the present invention, the sending module 20 may include:                 
第一生成单元201,用于生成包含所述目标应用的特征描述信息及所述目 标接入点APN的第一指示信息。 a first generating unit 201, configured to generate feature description information and the target that includes the target application           The first indication information of the access point APN.                 
第一信息发送单元202,用于基于PCC规则将所述第一生成单元201生 成的第一指示信息下发至数据网关PGW。 a first information sending unit 202, configured to generate the first generating unit 201 based on a PCC rule           The first indication information is sent to the data gateway PGW.                 
第二生成单元203,用于当检测得到所述终端的当前接入点APN不能用 于传输所述目标应用的数据包时,生成包含所述目标应用的特征描述信息及禁 止指示的第二指示信息,所述禁止指示中包括当前接入点APN。 The second generating unit 203 is configured to: when detecting that the current access point APN of the terminal is unavailable,                               Generating feature description information including the target application and transmitting the data packet of the target application           The second indication information of the indication is included, and the current indication point APN is included in the prohibition indication.                 
第二信息发送单元204,用于基于PCC规则将所述第二生成单元203生 成的第二指示信息下发至数据网关PGW。 a second information sending unit 204, configured to generate the second generating unit 203 based on a PCC rule           The second indication information is sent to the data gateway PGW.                 
作为一种可选的实施方式,将该目标APN发送给PGW可以是通过第一 生成单元201生成包含该目标应用的特征描述信息及该目标APN的第一指示 信息,并由第一信息发送单元202基于PCC规则将包含所述目标应用的特征 描述信息及其适用APN的第一指示信息下发至PGW。 As an optional implementation manner, sending the target APN to the PGW may be through the first           The generating unit 201 generates feature description information including the target application and a first indication of the target APN           Information, and the first information transmitting unit 202 will include features of the target application based on PCC rules.           The description information and the first indication information of the applicable APN are delivered to the PGW.                 
进一步的,当第二生成单元203检测得到所述终端的当前APN不能用于 传输所述目标应用的数据包时,还可生成包含所述目标应用的特征描述信息及 禁止指示的第二指示信息,第二信息发送单元204可基于PCC规则将包含该 新建应用的特征描述信息及禁止指示的第二指示信息下发至数据网关PGW。 Further, when the second generating unit 203 detects that the current APN of the terminal is unavailable,           When transmitting the data packet of the target application, generating feature description information including the target application and           The second indication information of the indication is prohibited, and the second information sending unit 204 may include the           The feature description information of the newly created application and the second indication information of the prohibition indication are sent to the data gateway PGW.                 
进一步的可选地,请参见图7,是图6的接入点确定模块19的其中一种 具体结构示意图,所述接入点确定模块19可具体包括: Further optionally, please refer to FIG. 7, which is one of the access point determining modules 19 of FIG.           The specific structure diagram, the access point determining module 19 may specifically include:                 
请求发送单元191,用于通过接入点请求将获取得到的所述特征描述信息 发送至接入网发现与选择功能服务器ANDSF。 a request sending unit 191, configured to request, by using an access point, the obtained feature description information           Send to the access network discovery and selection function server ANDSF.                 
进一步的,若判断模块18基于该目标应用对应的目的IP地址或应用标识 等特征描述信息,判断当前终端的APN对应的PDN不能用于传输该目标应用 的数据包时,请求发送单元191还可通过PCRF与ANDSF(Access Network  Discovery and Selection Function,接入网发现与选择功能)之间的接口将该目 标应用对应的特征描述信息发送给ANDSF,以使ANDSF根据该特征描述信 息获取正确的APN。 Further, if the determining module 18 applies the corresponding destination IP address or application identifier based on the target application           The feature description information is used to determine that the PDN corresponding to the APN of the current terminal cannot be used to transmit the target application.           The request sending unit 191 can also pass the PCRF and the ANDSF (Access Network)           Interface between Discovery and Selection Function, access network discovery and selection function)           The feature description information corresponding to the target application is sent to the ANDSF, so that the ANDSF describes the letter according to the feature           Get the correct APN.                 
信息接收单元192,用于接收所述ANDSF响应所述请求发送单元191发 送的接入点请求返回的能用于传输所述目标应用的数据包的目标接入点 APN。 The information receiving unit 192 is configured to receive the ANDSF response to the request sending unit 191           The target access point returned by the sent access point request that can be used to transmit the data packet of the target application           APN.                 
ANDSF根据该特征描述信息选择合适的APN,比如具体根据该特征描述 信息中的目的IP地址或应用标识等特征信息,为终端确定出正确的APN,即 能用于传输该新建应用数据包的APN,并回复给PCRF,信息接收单元192接 收该回复的正确APN,并可将该APN确定为当前终端的APN。 The ANDSF selects an appropriate APN according to the feature description information, for example, according to the feature description.           The characteristic information such as the destination IP address or the application identifier in the information determines the correct APN for the terminal, that is,           Can be used to transmit the APN of the newly created application packet, and reply to the PCRF, and the information receiving unit 192 is connected.           The correct APN of the reply is received, and the APN can be determined as the APN of the current terminal.                                     
实施本发明实施例可通过获取的目标应用对应的特征描述信息判断当前 选择的APN是否能用于传输该目标应用的数据包,并可在检测结果为否时, 基于该特征描述信息中的应用标识或协议类型等特征信息为所述终端确定出 正确的APN,或者将该特征描述信息发送给ANDSF以使该ANDSF确定出正 确的APN,可及时地为终端确定出正确的APN。 The embodiment of the present invention can determine the current by using the feature description information corresponding to the acquired target application.           Whether the selected APN can be used to transmit the data packet of the target application, and when the detection result is no,           Determining, for the terminal, feature information such as an application identifier or a protocol type in the feature description information           The correct APN, or send the feature description information to the ANDSF to make the ANDSF determine positive           The correct APN can determine the correct APN for the terminal in time.                 
请参见图8,是本发明实施例提供的又一种接入点的选择装置的结构示意 图,所述装置可具体设置于手机、平板电脑以及个人电脑等终端中,所述终端 可具体参照图1至图3对应实施例中的UE的相关描述,在本发明实施例中, 所述装置可包括发送模块21以及接入模块22。其中, FIG. 8 is a schematic structural diagram of another apparatus for selecting an access point according to an embodiment of the present invention.           The device may be specifically disposed in a terminal such as a mobile phone, a tablet computer, or a personal computer, and the terminal           For the specific description of the UE in the corresponding embodiment of FIG. 1 to FIG. 3, in the embodiment of the present invention,           The device can include a transmitting module 21 and an access module 22. among them,                 
所述发送模块21,用于当检测到目标应用运行时,将所述目标应用数据 包的特征描述信息发送至网络侧,以使网络侧根据所述特征描述信息检测终端 的当前接入点APN是否能用于传输所述目标应用的数据包。 The sending module 21 is configured to: when the target application is detected to be running, the target application data           The feature description information of the packet is sent to the network side, so that the network side detects the terminal according to the feature description information.           Whether the current access point APN can be used to transmit the data packets of the target application.                 
所述接入模块22,用于当接收到网络侧返回的包括能用于传输所述目标 应用数据包的目标接入点APN的指示信息时,通过所述目标接入点APN传输 所述目标应用的数据包。 The access module 22, configured to receive, when received by the network side, can be used to transmit the target           When the indication information of the target access point APN of the data packet is applied, the target access point APN is transmitted.           The data packet of the target application.                 
其中,所述网络侧返回的指示信息包括:从数据网关PGW、策略与计费 功能服务器PCRF或接入网发现与选择功能服务器ANDSF返回的指示信息。 The indication information returned by the network side includes: a data gateway PGW, policy and charging.           The function server PCRF or the access network discovers and indicates the indication information returned by the function server ANDSF.                 
接入模块22在接收到网络侧返回的目标APN之后,可将应用的特征描述 信息与该目标APN对应的特征描述信息进行匹配对比,当匹配成功时,则表 示可使用该适用APN对应的PDN传输应用数据包。 After receiving the target APN returned by the network side, the access module 22 may describe the feature of the application.           The information is matched and matched with the feature description information corresponding to the target APN. When the matching is successful, the table is           The PDN transmission application data packet corresponding to the applicable APN can be used.                 
进一步的,在本发明实施例中,所述接入模块22可具体包括: Further, in the embodiment of the present invention, the access module 22 may specifically include:                 
接入点确定单元221,用于当接收到网络侧返回的包含多个接入点APN 的指示信息时,根据所述指示信息中包含的接入点APN的优先级参数,确定 出能用于传输所述目标应用的数据包的目标接入点APN。 The access point determining unit 221 is configured to: when receiving the network side, returning multiple access point APNs           And determining, according to the priority parameter of the access point APN included in the indication information,           A target access point APN that can be used to transmit a data packet of the target application.                 
传输控制单元222,用于通过所述接入点确定单元确定出的目标接入点 APN传输所述目标应用的数据包。 a transmission control unit 222, configured to determine, by the access point determining unit, a target access point           The APN transmits the data packet of the target application.                 
进一步的,若接收到网络侧返回的指示信息中包含多个APN,则接入点 确定单元221可根据该指示信息中包含的APN的优先级指示参数,确定出适 用于传输所述目标应用的数据包的目标APN,传输控制单元222通过所述接 入点确定单元221确定出的目标APN传输所述目标应用的数据包。 Further, if the indication information returned by the network side includes multiple APNs, the access point           The determining unit 221 may determine, according to the priority indication parameter of the APN included in the indication information,           a target APN for transmitting a data packet of the target application, and the transmission control unit 222 passes the connection                               The target APN determined by the in-point determining unit 221 transmits the data packet of the target application.                 
实施本发明实施例可在检测到目标应用运行时,通过将所述目标应用数据 包的特征描述信息发送至网络侧以使网络侧检测当前APN是否能够用于传输 该目标应用数据包,并可在网络侧判断结果为否并返回正确的APN时,将该 APN确定为当前终端的APN。 Embodiments of the present invention may apply the target application data when detecting the target application running           The feature description information of the packet is sent to the network side to enable the network side to detect whether the current APN can be used for transmission.           The target applies the data packet, and when the network side judges that the result is no and returns the correct APN, the           The APN is determined as the APN of the current terminal.                 
进一步的,请参见图9,是本发明实施例提供的一种网络设备的结构组成 示意图,本发明实施例的网络设备包括:接收器300、发射器400、存储器200 和处理器100,所述存储器200可以是高速RAM存储器,也可以是非不稳定 的存储器(non-volatile memory),例如至少一个磁盘存储器。作为一种计算机 存储介质的存储器200中存储相应的应用程序等。所述接收器300、发射器400、 存储器200以及处理器100之间可以通过总线进行数据连接,也可以通过其他 方式数据连接。本实施例中以总线连接进行说明。具体的,本发明实施例的所 述网络设备可对应于PGW,并可进一步参照图1至图8对应实施例中的PGW 的相关描述。 Further, please refer to FIG. 9, which is a structural composition of a network device according to an embodiment of the present invention.           The network device of the embodiment of the present invention includes: a receiver 300, a transmitter 400, and a memory 200.           And the processor 100, the memory 200 may be a high speed RAM memory, or may be non-unstable           Non-volatile memory, such as at least one disk storage. As a computer           A corresponding application or the like is stored in the memory 200 of the storage medium. The receiver 300, the transmitter 400,           The data connection between the memory 200 and the processor 100 can be performed through the bus, and other           Mode data connection. In the present embodiment, a bus connection will be described. Specifically, the embodiment of the present invention           The network device may correspond to the PGW, and may further refer to the PGW in the corresponding embodiment of FIG. 1 to FIG.           Related description.                 
其中,所述处理器100执行如下步骤: The processor 100 performs the following steps:                 
获取终端的目标应用的第一特征描述信息; Obtaining first feature description information of the target application of the terminal;                 
根据所述第一特征描述信息,确定所述终端的当前接入点APN不能用于 传输所述目标应用的数据包; Determining, according to the first feature description information, that the current access point APN of the terminal cannot be used for           Transmitting a data packet of the target application;                 
为所述终端确定出能用于传输所述目标应用的数据包的目标接入点 APN; Determining, for the terminal, a target access point that can be used to transmit a data packet of the target application           APN;                 
指示所述终端通过所述目标接入点APN传输所述目标应用的数据包; Instructing the terminal to transmit a data packet of the target application by using the target access point APN;                 
其中,所述第一特征描述信息包括所述目标应用的源IP地址、目的IP地 址、源端口号、目的端口号、协议类型、应用标识中的至少一个。 The first feature description information includes a source IP address and a destination IP address of the target application.           At least one of an address, a source port number, a destination port number, a protocol type, and an application identifier.                 
可选地,所述处理器100在执行所述获取终端的目标应用的第一特征描述 信息,具体执行如下步骤: Optionally, the processor 100 is configured to perform a first feature description of the target application of the acquiring terminal.           Information, the specific steps are as follows:                 
接收所述终端发送的承载资源修改请求,所述承载资源修改请求中包括所 述目标应用的第一特征描述信息; Receiving a bearer resource modification request sent by the terminal, where the bearer resource modification request includes           Descriptive information describing the first feature of the target application;                 
从所述承载资源修改请求中提取所述第一特征描述信息。 Extracting the first feature description information from the bearer resource modification request.                 
可选地,所述处理器100在执行所述根据所述第一特征描述信息,确定所 述终端的当前接入点APN不能用于传输所述目标应用的数据包,具体执行如 下步骤: Optionally, the processor 100 is configured to determine, according to the first feature description information,                               The current access point APN of the terminal cannot be used to transmit the data packet of the target application, and the specific execution is as follows:           Next steps:                 
将所述第一特征描述信息发送至策略与计费功能服务器PCRF,以请求所 述PCRF检测所述终端的当前接入点APN是否能用于传输所述目标应用的数 据包; Sending the first feature description information to the policy and charging function server PCRF to request the location           The PCRF detects whether the current access point APN of the terminal can be used to transmit the number of the target applications.           According to the package;                 
接收所述PCRF返回的检测结果,若所述检测结果中包含能用于传输所述 目标应用的数据包的目标接入点APN,则确定所述终端的当前接入点APN不 能用于传输所述目标应用的数据包; Receiving a detection result returned by the PCRF, if the detection result includes           The target access point APN of the data packet of the target application determines that the current access point APN of the terminal is not           A data packet that can be used to transmit the target application;                 
所述处理器100在执行所述为所述终端确定出能用于传输所述目标应用 的数据包的目标接入点APN,具体执行如下步骤: Determining, by the processor 100, that the terminal is configured to transmit the target application           The target access point APN of the data packet is as follows:                 
将所述检测结果包含的所述目标接入点APN确定为所述终端的目标接入 点APN。 Determining, by the detection result, the target access point APN as a target access of the terminal           Point APN.                 
可选地,所述处理器100在执行所述根据所述第一特征描述信息,确定所 述终端的当前接入点APN不能用于传输所述目标应用的数据包,具体执行如 下步骤: Optionally, the processor 100 is configured to determine, according to the first feature description information,           The current access point APN of the terminal cannot be used to transmit the data packet of the target application, and the specific execution is as follows:           Next steps:                 
判断所述第一特征描述信息与预置的数据描述参数是否匹配; Determining whether the first feature description information matches a preset data description parameter;                 
若匹配,则确定所述终端的当前接入点APN不能用于传输所述目标应用 的数据包。 If it matches, determining that the current access point APN of the terminal cannot be used to transmit the target application           Packet.                 
可选地,所述预置的数据描述参数包括:事件订阅参数,所述事件订阅参 数包含第二特征描述信息及行为描述参数,所述行为描述参数包括指示上报服 务器或丢弃数据包的参数; Optionally, the preset data description parameter includes: an event subscription parameter, and the event subscription parameter           The number includes second feature description information and a behavior description parameter, and the behavior description parameter includes an indication report service           Server or discard the parameters of the packet;                 
所述处理器100在执行所述判断所述第一特征描述信息与预置的数据描 述参数是否匹配,具体执行如下步骤: The processor 100 performs the determining the first feature description information and the preset data description           Whether the parameters match, the following steps are performed:                 
判断所述第一特征描述信息中是否存在一项或者多项描述信息与所述第 二特征描述信息中的一项或者多项描述信息相同。 Determining whether one or more pieces of description information and the first part exist in the first feature description information           One or more of the description information in the two feature description information is the same.                 
可选地,所述处理器100在执行所述为所述终端确定出能用于传输所述目 标应用的数据包的目标接入点APN,具体执行如下步骤: Optionally, the processor 100 determines, in the performing, that the terminal is configured to transmit the target           The target access point APN of the data packet of the application is as follows:                 
若判断结果为所述第一特征描述信息中存在一项或者多项描述信息与所 述第二特征描述信息中的一项或者多项描述信息相同,且所述行为描述参数为 所述指示上报服务器的参数,则将所述第一特征描述信息发送至策略与计费功 能服务器PCRF; If the judgment result is that one or more description information and the presence information are present in the first feature description information           One or more of the description information in the second feature description information is the same, and the behavior description parameter is                               The parameter indicating the report to the server sends the first feature description information to the policy and charging function           Server PCRF;                 
接收所述PCRF根据所述第一特征描述信息获取的能用于传输所述目标 应用的数据包的目标接入点APN,并将所述目标接入点APN确定为所述终端 的目标接入点APN。 Receiving, by the PCRF, the information acquired according to the first feature description information, for transmitting the target           a target access point APN of the applied data packet, and determining the target access point APN as the terminal           Target access point APN.                 
可选地,所述预置的数据描述参数包括:预置的接入配置参数,所述接入 配置参数中包含第三特征描述信息以及至少一个接入点APN; Optionally, the preset data description parameter includes: preset access configuration parameters, and the access           The configuration parameter includes third feature description information and at least one access point APN;                 
所述处理器100在执行所述判断所述第一特征描述信息与预置的数据描 述参数是否匹配,具体执行如下步骤: The processor 100 performs the determining the first feature description information and the preset data description           Whether the parameters match, the following steps are performed:                 
判断所述第一特征描述信息中是否存在一项或者多项描述信息与所述第 三特征描述信息中的一项或者多项描述信息相同。 Determining whether one or more pieces of description information and the first part exist in the first feature description information           One or more of the description information in the three feature description information is the same.                 
可选地,所述处理器100在执行所述为所述终端确定适用接入点APN, 具体执行如下步骤: Optionally, the processor 100 determines, according to the performing, that the applicable access point APN is determined for the terminal,           Specifically, perform the following steps:                 
若判断结果为所述第一特征描述信息中存在一项或者多项描述信息与所 述第三特征描述信息中的一项或者多项描述信息相同,则获取所述接入配置参 数中包含的至少一个接入点APN; If the judgment result is that one or more description information and the presence information are present in the first feature description information           If the one or more description information in the third feature description information is the same, the access configuration parameter is obtained.           At least one access point APN included in the number;                 
从所述至少一个接入点APN中选择出与所述第一特征描述信息对应的接 入点APN作为能用于传输所述目标应用的数据包的目标接入点APN。 Selecting, corresponding to the first feature description information, from the at least one access point APN           The ingress APN acts as a target access point APN that can be used to transmit data packets for the target application.                 
可选地,所述处理器100在执行所述指示所述终端通过所述目标接入点 APN传输所述目标应用的数据包,具体执行如下步骤: Optionally, the processor 100 is performing the indication that the terminal passes the target access point           The APN transmits the data packet of the target application, and performs the following steps:                 
将携带所述第一特征描述信息及所述目标接入点APN的更新承载请求发 送给移动管理实体MME,以使所述移动管理实体MME通过无线资源控制 RRC连接配置将所述第一特征描述信息及所述目标接入点APN推送给所述终 端。 And transmitting the first feature description information and the update bearer request of the target access point APN           And sent to the mobility management entity MME, so that the mobility management entity MME is controlled by radio resources           The RRC connection configuration pushes the first feature description information and the target access point APN to the end           end.                 
可选地,所述处理器100还执行以下步骤: Optionally, the processor 100 further performs the following steps:                 
若当前接入点APN不能用于传输所述目标应用的数据包,则接收策略与 计费功能服务器PCRF基于PCC规则发送的禁止指示,所述禁止指示中包括 当前接入点APN; If the current access point APN cannot be used to transmit the data packet of the target application, the receiving policy and           The charging function server PCRF is based on a prohibition indication sent by the PCC rule, and the prohibition indication includes           Current access point APN;                 
生成包括所述第一特征描述信息及所述禁止指示的禁止类流模板,并通过 缺省承载将所述禁止类流模板推送给所述终端。 Generating a forbidden class flow template including the first feature description information and the prohibition indication, and passing                               The default bearer pushes the forbidden class flow template to the terminal.                 
实施本发明实施例可通过将获取的数据包的特征描述信息与从PCRF下 发的事件订阅参数中或者预置的接入配置参数中包含的特征描述信息进行对 比,并在检测两者之间存在匹配项时,确定当前选择的APN不能用于传输目 标应用的数据包。进一步的,在判断当前APN不适合时,还可从预置的各类 APN信息中选择出正确的APN或者上报PCRF以获取正确的APN,以便于及 时地为所述终端确定正确的APN。 Embodiments of the present invention may be implemented by using the feature description information of the acquired data packet from the PCRF.           The feature description information contained in the sent event subscription parameter or the preset access configuration parameter is performed.           Ratio, and when there is a match between the two, it is determined that the currently selected APN cannot be used for transmission purposes.           The data package of the application. Further, when judging that the current APN is not suitable, it is also possible to           Select the correct APN in the APN information or report the PCRF to obtain the correct APN, so as to facilitate           Timely determine the correct APN for the terminal.                 
进一步的,请参见图10,是本发明实施例提供的一种服务器的结构组成 示意图,本发明实施例的服务器包括:接收器700、发射器800、存储器600 和处理器500,所述存储器600可以是高速RAM存储器,也可以是非不稳定 的存储器(non-volatile memory),例如至少一个磁盘存储器。作为一种计算机 存储介质的存储器600中存储相应的应用程序等。所述接收器700、发射器800、 存储器600以及处理器500之间可以通过总线进行数据连接,也可以通过其他 方式数据连接。本实施例中以总线连接进行说明。具体的,本发明实施例的所 述服务器可具体对应于PCRF,并可进一步参照图1至图8对应实施例中的 PCRF的相关描述。 Further, please refer to FIG. 10, which is a structural composition of a server according to an embodiment of the present invention.           The server of the embodiment of the present invention includes: a receiver 700, a transmitter 800, and a memory 600.           And the processor 500, the memory 600 may be a high speed RAM memory, or may be non-unstable           Non-volatile memory, such as at least one disk storage. As a computer           A corresponding application or the like is stored in the memory 600 of the storage medium. The receiver 700, the transmitter 800,           The data connection between the memory 600 and the processor 500 can be performed through the bus, or through other           Mode data connection. In the present embodiment, a bus connection will be described. Specifically, the embodiment of the present invention           The server may specifically correspond to the PCRF, and may further refer to the corresponding embodiments in FIG. 1 to FIG.           A description of the PCRF.                 
其中,所述处理器500执行如下步骤: The processor 500 performs the following steps:                 
获取目标应用的特征描述信息,所述特征描述信息包括目标应用的源IP 地址、目的IP地址、源端口号、目的端口号、协议类型、应用标识中的至少 一个; Obtaining feature description information of the target application, where the feature description information includes a source IP of the target application           Address, destination IP address, source port number, destination port number, protocol type, and application ID           One;                 
根据所述特征描述信息,判断所述终端的当前接入点APN是否能用于传 输所述目标应用的数据包; Determining, according to the feature description information, whether the current access point APN of the terminal can be used for transmitting           Transmitting a data packet of the target application;                 
若判断结果为否,则确定出能用于传输所述目标应用的数据包的目标接入 点APN; If the determination result is no, determining target access of the data packet that can be used to transmit the target application           Point APN;                 
将所述目标接入点APN发送给数据网关PGW。 Sending the target access point APN to the data gateway PGW.                 
可选地,所述处理器500在执行所述确定出能用于传输所述目标应用的数 据包的目标接入点APN,具体执行如下步骤: Optionally, the processor 500 performs the determining to determine the number of applications that can be used to transmit the target application.           According to the target access point APN of the package, the following steps are performed:                 
通过接入点请求将获取得到的所述特征描述信息发送至接入网发现与选 择功能服务器ANDSF; Sending the obtained feature description information to the access network for discovery and selection by the access point request           Select function server ANDSF;                                     
接收所述ANDSF响应所述接入点请求返回的能用于传输所述目标应用数 据包的目标接入点APN。 Receiving, by the ANDSF, the number of target applications that can be used to transmit the target application in response to the access point request           According to the target access point APN of the package.                 
可选地,所述处理器500在执行所述将所述目标接入点APN发送给数据 网关PGW,具体执行如下步骤: Optionally, the processor 500 is configured to send the target access point APN to the data.           The gateway PGW performs the following steps:                 
生成包含所述目标应用的特征描述信息及所述目标接入点APN的第一指 示信息; Generating feature description information including the target application and the first finger of the target access point APN           Display information                 
基于PCC规则将包含所述目标应用的特征描述信息及所述目标接入点 APN的所述第一指示信息下发至数据网关PGW。 Feature description information including the target application and the target access point will be included based on PCC rules           The first indication information of the APN is sent to the data gateway PGW.                 
可选地,所述处理器500还执行以下步骤: Optionally, the processor 500 further performs the following steps:                 
当检测得到所述终端的当前接入点APN不能用于传输所述目标应用的数 据包时,生成包括所述目标应用的特征描述信息及禁止指示的第二指示信息, 所述禁止指示中包括当前接入点APN; When detecting that the current access point APN of the terminal cannot be used to transmit the number of the target application           According to the packet, generating second description information including the feature description information of the target application and the prohibition indication,           The prohibition indication includes a current access point APN;                 
基于PCC规则将包括所述目标应用的特征描述信息及禁止指示的第二指 示信息下发至数据网关PGW。 The second description of the feature description information and the prohibition indication including the target application based on the PCC rule           The information is sent to the data gateway PGW.                 
实施本发明实施例可通过接收到的特征描述信息判断当前选择的APN对 应的PDN是否能用于传输目标应用的数据包,并可在检测结果为否时,基于 该特征描述信息中的应用标识或协议类型等特征信息为所述终端确定正确的 APN,或者将该特征描述信息发送给ANDSF以使该ANDSF确定出正确的 APN,避免了因APN选择错误而造成应用数据不可达等情况的发生。 The embodiment of the present invention can determine the currently selected APN pair by using the received feature description information.           Whether the applicable PDN can be used to transmit the data packets of the target application, and based on the detection result is no, based on           The feature information such as the application identifier or the protocol type in the feature description information is determined to be correct for the terminal.           APN, or send the feature description information to the ANDSF to make the ANDSF determine the correct           APN avoids the occurrence of application data unreachable due to APN selection errors.                 
进一步的,请参见图11,是本发明实施例提供的一种终端的结构组成示 意图,本发明实施例的终端包括:接收器1100、发射器1200、存储器1000和 处理器900,所述存储器1000可以是高速RAM存储器,也可以是非不稳定的 存储器(non-volatile memory),例如至少一个磁盘存储器。作为一种计算机存 储介质的存储器1000中存储相应的应用程序等。所述接收器1100、发射器 1200、存储器1000以及处理器900之间可以通过总线进行数据连接,也可以 通过其他方式数据连接。本实施例中以总线连接进行说明。具体的,本发明实 施例的所述终端可以是手机、平板电脑等用户设备,并可进一步参照图1至图 8对应实施例中的UE的相关描述。 Further, please refer to FIG. 11 , which is a structural composition diagram of a terminal according to an embodiment of the present invention.           It is intended that the terminal of the embodiment of the present invention includes: a receiver 1100, a transmitter 1200, a memory 1000, and           The processor 900, the memory 1000 may be a high speed RAM memory, or may be non-unstable           Non-volatile memory, such as at least one disk storage. As a computer           A corresponding application or the like is stored in the storage medium 1000 of the storage medium. The receiver 1100, the transmitter           1200, the memory 1000 and the processor 900 can be connected via a bus, or           Data connection by other means. In the present embodiment, a bus connection will be described. Specifically, the present invention           The terminal of the embodiment may be a user equipment such as a mobile phone or a tablet computer, and may further refer to FIG. 1 to FIG.           8 corresponds to a description of the UE in the embodiment.                 
其中,所述处理器900执行如下步骤: The processor 900 performs the following steps:                                     
当检测到目标应用运行时,将所述目标应用数据包的特征描述信息发送至 网络侧,以使网络侧根据所述特征描述信息检测终端的当前接入点APN是否 能用于传输所述目标应用的数据包; Sending feature description information of the target application data packet to the target application when it is detected           a network side, so that the network side detects, according to the feature description information, whether the current access point APN of the terminal is           A data packet that can be used to transmit the target application;                 
若接收到网络侧返回的包括能用于传输所述目标应用数据包的目标接入 点APN的指示信息,则通过所述目标接入点APN传输所述目标应用的数据包; Receiving, by the network side, a target access that can be used to transmit the target application data packet           Pointing the indication information of the APN, and transmitting, by the target access point APN, the data packet of the target application;                 
其中,所述网络侧返回的指示信息包括:从数据网关PGW、策略与计费 功能服务器PCRF或接入网发现与选择功能服务器ANDSF返回的指示信息。 The indication information returned by the network side includes: a data gateway PGW, policy and charging.           The function server PCRF or the access network discovers and indicates the indication information returned by the function server ANDSF.                 
可选地,所述处理器900在执行所述若接收到网络侧返回的包括能用于传 输所述目标应用数据包的目标接入点APN的指示信息,则通过所述目标接入 点APN传输所述目标应用的数据包,具体执行如下步骤: Optionally, the performing, by the processor 900, when the receiving the network side returns, can be used for transmitting           Transmitting the indication information of the target access point APN of the target application data packet by using the target access           The point APN transmits the data packet of the target application, and the specific steps are as follows:                 
若接收到网络侧返回的包含多个接入点APN的指示信息,则根据所述指 示信息中包含的接入点APN的优先级参数,确定出能用于传输所述目标应用 的数据包的目标接入点APN; If the indication information including multiple access point APNs returned by the network side is received, according to the           The priority parameter of the access point APN included in the indication information is determined to be used for transmitting the target application           Target access point APN of the data packet;                 
通过所述目标接入点APN传输所述目标应用的数据包。 Transmitting the data packet of the target application through the target access point APN.                 
实施本发明实施例可在检测到运行目标应用时,通过将所述目标应用数据 包的特征描述信息发送至网络侧以使网络侧检测当前APN是否能用于传输目 标应用数据包,并可在网络侧检测结果为否时,将网络侧返回的APN确定为 当前终端的APN。 Embodiments of the present invention may apply data by using the target when detecting a running target application           The feature description information of the packet is sent to the network side to enable the network side to detect whether the current APN can be used for the transmission destination.           The application data packet is marked, and when the network side detection result is no, the APN returned by the network side is determined as           The APN of the current terminal.                 
在本发明所提供的几个实施例中,应该理解到,所揭露的装置和方法,可 以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例 如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划 分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特 征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合 或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是 电性,机械或其它的形式。 In several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method can be           In other ways. For example, the device embodiments described above are merely illustrative, examples.           For example, the division of the unit is only a logical function division, and there may be another stroke in actual implementation.           Sub-mode, for example, multiple units or components can be combined or integrated into another system, or some special           The sign can be ignored or not executed. Another point, the mutual coupling or direct coupling shown or discussed           Or the communication connection may be an indirect coupling or communication connection through some interface, device or unit, which may be           Electrical, mechanical or other form.                 
所述该作为分离部件说明的单元可以是或者也可以不是物理上分开的,作 为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或 者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全 部单元来实现本实施例方案的目的。 The unit described as a separate component may or may not be physically separated.           The components displayed for the unit may or may not be physical units, ie may be located in one place, or           It can also be distributed to multiple network elements. You can choose some or all of them according to actual needs.           The unit is used to achieve the purpose of the solution of the embodiment.                                     
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中, 也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元 中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能 单元的形式实现。 In addition, each functional unit in various embodiments of the present invention may be integrated in one processing unit.           It is also possible that each unit physically exists alone, or two or more units may be integrated into one unit.           in. The above integrated unit can be implemented in the form of hardware or hardware plus software.           The form of the unit is implemented.                 
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可 读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用 以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处 理器(processor)执行本发明各个实施例所述方法的部分步骤。而前述的存储 介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机 存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储 程序代码的介质。 The above integrated unit implemented in the form of a software functional unit can be stored in a computer           Read in the storage medium. The above software functional unit is stored in a storage medium, including several instructions           To make a computer device (which can be a personal computer, server, or network device, etc.) or           A processor performs some of the steps of the method described in various embodiments of the present invention. The aforementioned storage           Media includes: U disk, mobile hard disk, read-only memory (ROM), random           Various types of memory such as access memory (RAM), disk or optical disk can be stored.           The medium of the program code.                 
本领域技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功 能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由 不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以 上描述的全部或者部分功能。上述描述的装置的具体工作过程,可以参考前述 方法实施例中的对应过程,在此不再赘述。 It will be apparent to those skilled in the art that for the convenience and brevity of the description, only the above-mentioned functions are           The division of the energy module is exemplified. In practical applications, the above functions can be allocated according to needs.           Different functional modules are completed, that is, the internal structure of the device is divided into different functional modules to complete           All or part of the functions described above. For the specific working process of the device described above, reference may be made to the foregoing           Corresponding processes in the method embodiments are not described herein again.                 
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其 限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术 人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者 对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相 应技术方案的本质脱离本发明各实施例技术方案的范围。 Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention, rather than           Limitations; although the invention has been described in detail with reference to the foregoing embodiments,           Personnel should understand that they can still modify the technical solutions described in the foregoing embodiments, or           Equivalent replacement of some or all of the technical features; and these modifications or replacements do not           The essence of the technical solution is out of the scope of the technical solutions of the embodiments of the present invention.                                     

Claims (45)

  1. 一种接入点的选择方法,其特征在于,包括: A method for selecting an access point, comprising:                       
    获取终端的目标应用的第一特征描述信息; Obtaining first feature description information of the target application of the terminal;                       
    根据所述第一特征描述信息,确定所述终端的当前接入点APN不能用于 传输所述目标应用的数据包; Determining, according to the first feature description information, that the current access point APN of the terminal cannot be used for              Transmitting a data packet of the target application;                       
    为所述终端确定出能用于传输所述目标应用的数据包的目标接入点 APN; Determining, for the terminal, a target access point that can be used to transmit a data packet of the target application              APN;                       
    指示所述终端通过所述目标接入点APN传输所述目标应用的数据包; Instructing the terminal to transmit a data packet of the target application by using the target access point APN;                       
    其中,所述第一特征描述信息包括所述目标应用的源IP地址、目的IP地 址、源端口号、目的端口号、协议类型、应用标识中的至少一个。 The first feature description information includes a source IP address and a destination IP address of the target application.              At least one of an address, a source port number, a destination port number, a protocol type, and an application identifier.                       
  2. 如权利要求1所述的方法,其特征在于,所述获取终端的目标应用的 第一特征描述信息,包括: The method of claim 1 wherein said acquiring a target application of the terminal              The first feature description information includes:                       
    接收所述终端发送的承载资源修改请求,所述承载资源修改请求中包括所 述第一特征描述信息; Receiving a bearer resource modification request sent by the terminal, where the bearer resource modification request includes              Describe the first feature description information;                       
    从所述承载资源修改请求中提取所述第一特征描述信息。 Extracting the first feature description information from the bearer resource modification request.                       
  3. 如权利要求2所述的方法,其特征在于,所述根据所述第一特征描述 信息,确定所述终端的当前接入点APN不能用于传输所述目标应用的数据包, 包括: The method of claim 2, wherein said describing according to said first feature              Determining that the current access point APN of the terminal cannot be used to transmit the data packet of the target application,              include:                       
    将所述第一特征描述信息发送至策略与计费功能服务器PCRF,以请求所 述PCRF检测所述终端的当前接入点APN是否能用于传输所述目标应用的数 据包; Sending the first feature description information to the policy and charging function server PCRF to request the location              The PCRF detects whether the current access point APN of the terminal can be used to transmit the number of the target applications.              According to the package;                       
    接收所述PCRF返回的检测结果,若所述检测结果中包含能用于传输所述 目标应用的数据包的目标接入点APN,则确定所述终端的当前接入点APN不 能用于传输所述目标应用的数据包; Receiving a detection result returned by the PCRF, if the detection result includes              The target access point APN of the data packet of the target application determines that the current access point APN of the terminal is not              A data packet that can be used to transmit the target application;                       
    为所述终端确定出能用于传输所述目标应用的数据包的目标接入点 APN,包括: Determining, for the terminal, a target access point that can be used to transmit a data packet of the target application              APN, including:                                                 
    将所述检测结果包含的所述目标接入点APN确定为所述终端的目标接入 点APN。 Determining, by the detection result, the target access point APN as a target access of the terminal              Point APN.                       
  4. 如权利要求1所述的方法,其特征在于,所述根据所述第一特征描述 信息,确定所述终端的当前接入点APN不能用于传输所述目标应用的数据包, 包括: The method of claim 1 wherein said describing according to said first feature              Determining that the current access point APN of the terminal cannot be used to transmit the data packet of the target application,              include:                       
    判断所述第一特征描述信息与预置的数据描述参数是否匹配; Determining whether the first feature description information matches a preset data description parameter;                       
    若匹配,则确定所述终端的当前接入点APN不能用于传输所述目标应用 的数据包。 If it matches, determining that the current access point APN of the terminal cannot be used to transmit the target application              Packet.                       
  5. 如权利要求4所述的方法,其特征在于, The method of claim 4 wherein:                       
    所述预置的数据描述参数包括:事件订阅参数,所述事件订阅参数包含第 二特征描述信息及行为描述参数,所述行为描述参数包括指示上报服务器或丢 弃数据包的参数; The preset data description parameter includes: an event subscription parameter, where the event subscription parameter includes              The second feature description information and the behavior description parameter, where the behavior description parameter includes an indication report server or a loss              Discard the parameters of the packet;                       
    所述判断所述第一特征描述信息与预置的数据描述参数是否匹配,包括: The determining whether the first feature description information matches the preset data description parameter includes:                       
    判断所述第一特征描述信息中是否存在一项或者多项描述信息与所述第 二特征描述信息中的一项或者多项描述信息相同; Determining whether one or more pieces of description information and the first part exist in the first feature description information              One or more of the description information in the second feature description information is the same;                       
    所述为所述终端确定出能用于传输所述目标应用的数据包的目标接入点 APN,包括: Determining, for the terminal, a target access point that can be used to transmit a data packet of the target application              APN, including:                       
    若判断结果为所述第一特征描述信息中存在一项或者多项描述信息与所 述第二特征描述信息中的一项或者多项描述信息相同,且所述行为描述参数为 所述指示上报服务器的参数,则将所述第一特征描述信息发送至策略与计费功 能服务器PCRF; If the judgment result is that one or more description information and the presence information are present in the first feature description information              One or more of the description information in the second feature description information is the same, and the behavior description parameter is              The parameter indicating the report to the server sends the first feature description information to the policy and charging function              Server PCRF;                       
    接收所述PCRF根据所述第一特征描述信息获取的能用于传输所述目标 应用的数据包的目标接入点APN,并将所述目标接入点APN确定为所述终端 的目标接入点APN。 Receiving, by the PCRF, the information acquired according to the first feature description information, for transmitting the target              a target access point APN of the applied data packet, and determining the target access point APN as the terminal              Target access point APN.                       
  6. 如权利要求4所述的方法,其特征在于, The method of claim 4 wherein:                       
    所述预置的数据描述参数包括:预置的接入配置参数,所述接入配置参数 中包含第三特征描述信息以及至少一个接入点APN; The preset data description parameter includes: preset access configuration parameters, and the access configuration parameter                                        Included in the third feature description information and at least one access point APN;                       
    所述判断所述第一特征描述信息与预置的数据描述参数是否匹配,包括: The determining whether the first feature description information matches the preset data description parameter includes:                       
    判断所述第一特征描述信息中是否存在一项或者多项描述信息与所述第 三特征描述信息中的一项或者多项描述信息相同; Determining whether one or more pieces of description information and the first part exist in the first feature description information              One or more of the description information in the three feature description information is the same;                       
    所述为所述终端确定出能用于传输所述目标应用的数据包的目标接入点 APN,包括: Determining, for the terminal, a target access point that can be used to transmit a data packet of the target application              APN, including:                       
    若判断结果为所述第一特征描述信息中存在一项或者多项描述信息与所 述第三特征描述信息中的一项或者多项描述信息相同,则获取所述接入配置参 数中包含的所述至少一个接入点APN; If the judgment result is that one or more description information and the presence information are present in the first feature description information              If the one or more description information in the third feature description information is the same, the access configuration parameter is obtained.              The at least one access point APN included in the number;                       
    从所述至少一个接入点APN中选择出与所述第一特征描述信息对应的接 入点APN作为能用于传输所述目标应用的数据包的目标接入点APN。 Selecting, corresponding to the first feature description information, from the at least one access point APN              The ingress APN acts as a target access point APN that can be used to transmit data packets for the target application.                       
  7. 如权利要求1-6任一项所述的方法,其特征在于,所述指示所述终端 通过所述目标接入点APN传输所述目标应用的数据包,包括: The method according to any one of claims 1 to 6, wherein said indicating said terminal              Transmitting, by the target access point APN, the data packet of the target application, including:                       
    将携带所述第一特征描述信息及所述目标接入点APN的更新承载请求发 送给移动管理实体MME,以使所述移动管理实体MME通过无线资源控制 RRC连接配置将所述第一特征描述信息及所述目标接入点APN推送给所述终 端。 And transmitting the first feature description information and the update bearer request of the target access point APN              And sent to the mobility management entity MME, so that the mobility management entity MME is controlled by radio resources              The RRC connection configuration pushes the first feature description information and the target access point APN to the end              end.                       
  8. 如权利要求7所述的方法,其特征在于,还包括: The method of claim 7 further comprising:                       
    若当前接入点APN不能用于传输所述目标应用的数据包,则接收策略与 计费功能服务器PCRF基于PCC规则发送的禁止指示,所述禁止指示中包括 当前接入点APN; If the current access point APN cannot be used to transmit the data packet of the target application, the receiving policy and              The charging function server PCRF is based on a prohibition indication sent by the PCC rule, and the prohibition indication includes              Current access point APN;                       
    生成包括所述第一特征描述信息及所述禁止指示的禁止类流模板,并通过 缺省承载将所述禁止类流模板推送给所述终端。 Generating a forbidden class flow template including the first feature description information and the prohibition indication, and passing              The default bearer pushes the forbidden class flow template to the terminal.                       
  9. 一种接入点的选择方法,其特征在于,包括: A method for selecting an access point, comprising:                       
    获取目标应用的特征描述信息,所述特征描述信息包括目标应用的源IP 地址、目的IP地址、源端口号、目的端口号、协议类型、应用标识中的至少 一个; Obtaining feature description information of the target application, where the feature description information includes a source IP of the target application              Address, destination IP address, source port number, destination port number, protocol type, and application ID                                        One;                       
    根据所述特征描述信息,判断所述终端的当前接入点APN是否能用于传 输所述目标应用的数据包; Determining, according to the feature description information, whether the current access point APN of the terminal can be used for transmitting              Transmitting a data packet of the target application;                       
    若判断结果为否,则确定出能用于传输所述目标应用的数据包的目标接入 点APN; If the determination result is no, determining target access of the data packet that can be used to transmit the target application              Point APN;                       
    将所述目标接入点APN发送给数据网关PGW。 Sending the target access point APN to the data gateway PGW.                       
  10. 如权利要求9所述的方法,其特征在于,所述确定出能用于传输所述 目标应用的数据包的目标接入点APN,包括: The method of claim 9 wherein said determining is operable to transmit said              The target access point APN of the target application's data packet, including:                       
    通过接入点请求将获取得到的所述特征描述信息发送至接入网发现与选 择功能服务器ANDSF; Sending the obtained feature description information to the access network for discovery and selection by the access point request              Select function server ANDSF;                       
    接收所述ANDSF响应所述接入点请求返回的能用于传输所述目标应用数 据包的目标接入点APN。 Receiving, by the ANDSF, the number of target applications that can be used to transmit the target application in response to the access point request              According to the target access point APN of the package.                       
  11. 如权利要求9或10所述的方法,其特征在于,所述将所述目标接入 点APN发送给数据网关PGW,包括: The method of claim 9 or 10, wherein said accessing said target              The point APN is sent to the data gateway PGW, including:                       
    生成包含所述目标应用的特征描述信息及所述目标接入点APN的第一指 示信息; Generating feature description information including the target application and the first finger of the target access point APN              Display information                       
    基于PCC规则将包含所述目标应用的特征描述信息及所述目标接入点 APN的所述第一指示信息下发至数据网关PGW。 Feature description information including the target application and the target access point will be included based on PCC rules              The first indication information of the APN is sent to the data gateway PGW.                       
  12. 如权利要求11所述的方法,其特征在于,还包括: The method of claim 11 further comprising:                       
    当检测得到所述终端的当前接入点APN不能用于传输所述目标应用的数 据包时,生成包括所述目标应用的特征描述信息及禁止指示的第二指示信息, 所述禁止指示中包括当前接入点APN; When detecting that the current access point APN of the terminal cannot be used to transmit the number of the target application              According to the packet, generating second description information including the feature description information of the target application and the prohibition indication,              The prohibition indication includes a current access point APN;                       
    基于PCC规则将包括所述目标应用的特征描述信息及禁止指示的第二指 示信息下发至数据网关PGW。 The second description of the feature description information and the prohibition indication including the target application based on the PCC rule              The information is sent to the data gateway PGW.                       
  13. 一种接入点的选择方法,其特征在于,包括: A method for selecting an access point, comprising:                                                 
    当检测到目标应用运行时,将所述目标应用数据包的特征描述信息发送至 网络侧,以使网络侧根据所述特征描述信息检测终端的当前接入点APN是否 能用于传输所述目标应用的数据包; Sending feature description information of the target application data packet to the target application when it is detected              a network side, so that the network side detects, according to the feature description information, whether the current access point APN of the terminal is              A data packet that can be used to transmit the target application;                       
    若接收到网络侧返回的包括能用于传输所述目标应用数据包的目标接入 点APN的指示信息,则通过所述目标接入点APN传输所述目标应用的数据包; Receiving, by the network side, a target access that can be used to transmit the target application data packet              Pointing the indication information of the APN, and transmitting, by the target access point APN, the data packet of the target application;                       
    其中,所述网络侧返回的指示信息包括:从数据网关PGW、策略与计费 功能服务器PCRF或接入网发现与选择功能服务器ANDSF返回的指示信息。 The indication information returned by the network side includes: a data gateway PGW, policy and charging.              The function server PCRF or the access network discovers and indicates the indication information returned by the function server ANDSF.                       
  14. 如权利要求13所述的方法,其特征在于,所述若接收到网络侧返回 的包括能用于传输所述目标应用数据包的目标接入点APN的指示信息,则通 过所述目标接入点APN传输所述目标应用的数据包,包括: The method of claim 13 wherein said receiving a network side return              Including the indication information of the target access point APN that can be used to transmit the target application data packet,              Transmitting, by the target access point APN, the data packet of the target application, including:                       
    若接收到网络侧返回的包含多个接入点APN的指示信息,则根据所述指 示信息中包含的接入点APN的优先级参数,确定出能用于传输所述目标应用 的数据包的目标接入点APN; If the indication information including multiple access point APNs returned by the network side is received, according to the              The priority parameter of the access point APN included in the indication information is determined to be used for transmitting the target application              Target access point APN of the data packet;                       
    通过所述目标接入点APN传输所述目标应用的数据包。 Transmitting the data packet of the target application through the target access point APN.                       
  15. 一种接入点的选择装置,其特征在于,包括: An apparatus for selecting an access point, comprising:                       
    获取模块,用于获取终端的目标应用的第一特征描述信息; An acquiring module, configured to acquire first feature description information of a target application of the terminal;                       
    检测模块,用于根据所述获取模块获取的第一特征描述信息,确定所述终 端的当前接入点APN是否能用于传输所述目标应用的数据包; a detecting module, configured to determine the end according to the first feature description information acquired by the acquiring module              Whether the current access point APN of the terminal can be used to transmit the data packet of the target application;                       
    确定模块,用于当所述检测模块确定当前接入点APN不能用于传输所述 目标应用的数据包时,为所述终端确定出能用于传输所述数据包的目标接入点 APN; a determining module, configured to: when the detecting module determines that the current access point APN is unavailable for transmitting the              Determining, for the target application, a target access point for the terminal that can be used to transmit the data packet              APN;                       
    指示模块,用于指示所述终端通过所述确定模块确定出的所述目标接入点 APN传输所述目标应用的数据包; An indication module, configured to indicate the target access point determined by the terminal by using the determining module              APN transmits a data packet of the target application;                       
    其中,所述第一特征描述信息包括所述目标应用的源IP地址、目的IP地 址、源端口号、目的端口号、协议类型、应用标识中的至少一个。 The first feature description information includes a source IP address and a destination IP address of the target application.              At least one of an address, a source port number, a destination port number, a protocol type, and an application identifier.                       
  16. 如权利要求15所述的装置,其特征在于,所述获取模块包括: The device of claim 15, wherein the obtaining module comprises:                                                 
    请求接收单元,用于接收所述终端发送的承载资源修改请求,所述承载资 源修改请求中包括所述目标应用的第一特征描述信息; a request receiving unit, configured to receive a bearer resource modification request sent by the terminal, where the bearer resource              The first modification description information of the target application is included in the source modification request;                       
    信息提取单元,用于从所述请求接收单元接收到的承载资源修改请求中提 取所述第一特征描述信息。 An information extracting unit, configured to provide a bearer resource modification request received from the request receiving unit              Taking the first feature description information.                       
  17. 如权利要求16所述的装置,其特征在于, The device of claim 16 wherein:                       
    所述检测模块包括: The detection module includes:                       
    传输单元,用于将所述第一特征描述信息发送至策略与计费功能服务器 PCRF,以请求所述PCRF检测所述终端的当前接入点APN是否能用于传输所 述目标应用的数据包,还用于接收所述PCRF响应所述请求返回的检测结果; a transmitting unit, configured to send the first feature description information to a policy and charging function server              PCRF, requesting the PCRF to detect whether the current access point APN of the terminal can be used for the transmission station              The data packet of the target application is further configured to receive a detection result returned by the PCRF in response to the request;                       
    结果确定单元,用于当所述检测结果中包含能用于传输所述目标应用数据 包的目标接入点APN时,确定所述终端的当前接入点APN不能用于传输所述 目标应用的数据包; a result determining unit, configured to include, in the detection result, data that can be used to transmit the target application              Determining, by the target access point APN of the packet, that the current access point APN of the terminal cannot be used to transmit the              The data packet of the target application;                       
    所述确定模块包括: The determining module includes:                       
    接入点提取单元,用于从所述PCRF返回的检测结果中提取所述目标接入 点APN; An access point extracting unit, configured to extract the target access from the detection result returned by the PCRF              Point APN;                       
    第一接入点确定单元,用于将所述接入点提取单元提取出的目标接入点 APN确定为所述终端的目标接入点APN。 a first access point determining unit, configured to use the target access point extracted by the access point extracting unit              The APN is determined to be the target access point APN of the terminal.                       
  18. 如权利要求15所述的装置,其特征在于,所述检测模块包括: The device of claim 15 wherein said detecting module comprises:                       
    检测单元,用于判断所述第一特征描述信息与预置的数据描述参数是否匹 配; a detecting unit, configured to determine whether the first feature description information and the preset data description parameter are              Match                       
    匹配确定单元,用于当所述检测单元判断结果为匹配时,确定所述终端的 当前接入点APN不能用于传输所述目标应用的数据包。 a matching determining unit, configured to determine, when the detecting unit determines that the result is a match,              The current access point APN cannot be used to transmit data packets of the target application.                       
  19. 如权利要求18所述的装置,其特征在于, The device of claim 18, wherein                       
    所述预置的数据描述参数包括:事件订阅参数,所述事件订阅参数包含第 二特征描述信息及行为描述参数,所述行为描述参数包括指示上报服务器或丢 弃数据包的参数; The preset data description parameter includes: an event subscription parameter, where the event subscription parameter includes              The second feature description information and the behavior description parameter, where the behavior description parameter includes an indication report server or a loss              Discard the parameters of the packet;                                                 
    所述检测单元具体用于:判断所述第一特征描述信息中是否存在一项或者 多项描述信息与所述第二特征描述信息中的一项或者多项描述信息相同; The detecting unit is specifically configured to: determine whether an item exists in the first feature description information or              The plurality of description information is the same as one or more of the description information in the second feature description information;                       
    所述确定模块包括: The determining module includes:                       
    解析单元,用于当所述检测单元判断结果为所述第一特征描述信息中存在 一项或者多项描述信息与所述事件订阅参数中包含的第二特征描述信息中的 一项或者多项描述信息相同,且所述行为描述参数为所述指示上报服务器的参 数时,将所述第一特征描述信息发送至策略与计费功能服务器PCRF; a parsing unit, configured to: when the detecting unit determines that the result is the first feature description information              One or more pieces of description information and second feature description information included in the event subscription parameter              One or more pieces of description information are the same, and the behavior description parameter is a parameter of the indication reporting server              The first feature description information is sent to the policy and charging function server PCRF;                       
    第二接入点确定单元,用于接收所述PCRF根据所述解析单元发送的第一 特征描述信息而获取的能用于传输所述目标应用的数据包的目标接入点 APN,并将所述目标接入点APN确定为所述终端的目标接入点APN。 a second access point determining unit, configured to receive the first sent by the PCRF according to the parsing unit              Target access point that can be used to transmit the data packet of the target application obtained by the feature description information              The APN determines the target access point APN as the target access point APN of the terminal.                       
  20. 如权利要求18所述的装置,其特征在于, The device of claim 18, wherein                       
    所述预置的数据描述参数包括:预置的接入配置参数,所述接入配置参数 中包含第三特征描述信息以及至少一个接入点APN; The preset data description parameter includes: preset access configuration parameters, and the access configuration parameter              Included in the third feature description information and at least one access point APN;                       
    所述检测单元具体用于:判断所述第一特征描述信息中是否存在一项或者 多项描述信息与所述第三特征描述信息中的一项或者多项描述信息相同; The detecting unit is specifically configured to: determine whether an item exists in the first feature description information or              The plurality of description information is the same as one or more of the description information in the third feature description information;                       
    所述确定模块包括: The determining module includes:                       
    获取单元,用于当所述检测单元判断结果为所述第一特征描述信息中存在 一项或者多项描述信息与所述第三特征描述信息中的一项或者多项描述信息 相同时,获取所述接入配置参数中包含的所述至少一个接入点APN; An obtaining unit, configured to: when the detecting unit determines that the result is the first feature description information              One or more description information and one or more description information in the third feature description information              When the same, the at least one access point APN included in the access configuration parameter is obtained;                       
    第三接入点确定单元,用于从所述获取单元获取的至少一个接入点APN 中选择出与所述第一特征描述信息对应的接入点APN作为能用于传输所述目 标应用的数据包的目标接入点APN。 a third access point determining unit, configured to acquire at least one access point APN from the acquiring unit              Selecting an access point APN corresponding to the first feature description information as being capable of transmitting the destination              The target access point APN of the packet of the application.                       
  21. 如权利要求15-20任一项所述的装置,其特征在于,所述指示模块具 体用于: The device according to any one of claims 15 to 20, wherein the indicator module has              Body for:                       
    将携带所述第一特征描述信息及所述目标接入点APN的更新承载请求发 送给移动管理实体MME,以使所述移动管理实体MME通过无线资源控制 RRC连接配置将所述第一特征描述信息及所述目标接入点APN推送给所述终 端。 And transmitting the first feature description information and the update bearer request of the target access point APN              And sent to the mobility management entity MME, so that the mobility management entity MME is controlled by radio resources              The RRC connection configuration pushes the first feature description information and the target access point APN to the end                                        end.                       
  22. 如权利要求21所述的装置,其特征在于,还包括: The device of claim 21, further comprising:                       
    接收模块,用于若当前接入点APN不能用于传输所述目标应用的数据包, 则接收策略与计费功能服务器PCRF基于PCC规则发送的禁止指示,所述禁 止指示中包括当前接入点APN; a receiving module, configured to: if the current access point APN is not used to transmit the data packet of the target application,              Receiving a prohibition indication sent by the policy and charging function server PCRF based on the PCC rule, the prohibition              The stop indication includes the current access point APN;                       
    生成模块,用于生成包括所述第一特征描述信息及所述禁止指示的禁止类 流模板,并通过缺省承载将所述禁止类流模板推送给所述终端。 a generating module, configured to generate a forbidden class including the first feature description information and the prohibition indication              The flow template is pushed to the terminal by the default bearer.                       
  23. 一种接入点的选择装置,其特征在于,包括: An apparatus for selecting an access point, comprising:                       
    信息获取模块,用于获取目标应用的特征描述信息,所述特征描述信息包 括目标应用目的源IP地址、目的IP地址、源端口号、目的端口号、协议类型、 应用标识中的至少一个; An information acquiring module, configured to acquire feature description information of the target application, where the feature description information packet              Source IP address, destination IP address, source port number, destination port number, protocol type,              At least one of the application identifiers;                       
    判断模块,用于根据所述信息获取模块获取得到的所述特征描述信息,判 断所述终端的当前接入点APN是否能用于传输所述目标应用的数据包; a determining module, configured to determine, according to the feature description information obtained by the information acquiring module,              Whether the current access point APN of the terminal can be used to transmit the data packet of the target application;                       
    接入点确定模块,用于当所述判断模块判断结果为否时,确定出能用于传 输所述目标应用的数据包的目标接入点APN; An access point determining module, configured to: when the determining result of the determining module is negative, determine that the information can be used for transmitting              Transmitting a target access point APN of the data packet of the target application;                       
    发送模块,用于将所述目标接入点APN发送给数据网关PGW。 And a sending module, configured to send the target access point APN to the data gateway PGW.                       
  24. 如权利要求23所述的装置,其特征在于,所述接入点确定模块包括: The device of claim 23, wherein the access point determining module comprises:                       
    请求发送单元,用于通过接入点请求将获取得到的所述特征描述信息发送 至接入网发现与选择功能服务器ANDSF; a request sending unit, configured to send, by using an access point, the acquired feature description information              To the access network discovery and selection function server ANDSF;                       
    信息接收单元,用于接收所述ANDSF响应所述请求发送单元发送的接入 点请求返回的能用于传输所述目标应用的数据包的目标接入点APN。 An information receiving unit, configured to receive, by the ANDSF, an access sent by the request sending unit              The target access point APN that can be used to transmit the data packet of the target application returned by the point request.                       
  25. 如权利要求23或24所述的装置,其特征在于,所述发送模块包括: The device according to claim 23 or 24, wherein the sending module comprises:                       
    第一生成单元,用于生成包含所述目标应用的特征描述信息及所述目标接 入点APN的第一指示信息; a first generating unit, configured to generate feature description information including the target application, and the target connection              First indication information of the inbound APN;                       
    第一信息发送单元,用于基于PCC规则将所述第一生成单元生成的第一 指示信息下发至数据网关PGW。 a first information sending unit, configured to generate the first generated by the first generating unit based on a PCC rule                                        The indication information is sent to the data gateway PGW.                       
  26. 如权利要求25所述的装置,其特征在于,所述发送模块还包括: The device of claim 25, wherein the sending module further comprises:                       
    第二生成单元,用于当检测得到所述终端的当前接入点APN不能用于传 输所述目标应用的数据包时,生成包含所述目标应用的特征描述信息及禁止指 示的第二指示信息,所述禁止指示中包括当前接入点APN; a second generating unit, configured to detect that the current access point APN of the terminal cannot be used for transmitting              Generating the feature description information and the prohibition finger including the target application when the data packet of the target application is input              The second indication information, where the prohibition indication includes a current access point APN;                       
    第二信息发送单元,用于基于PCC规则将所述第二生成单元生成的第二 指示信息下发至数据网关PGW。 a second information sending unit, configured to generate the second generated by the second generating unit based on a PCC rule              The indication information is sent to the data gateway PGW.                       
  27. 一种接入点的选择装置,其特征在于,包括: An apparatus for selecting an access point, comprising:                       
    发送模块,用于当检测到目标应用运行时,将所述目标应用数据包的特征 描述信息发送至网络侧,以使网络侧根据所述特征描述信息检测终端的当前接 入点APN是否能用于传输所述目标应用的数据包; a sending module, configured to: feature the target application data packet when detecting that the target application is running              The description information is sent to the network side, so that the network side detects the current connection of the terminal according to the feature description information.              Whether the ingress APN can be used to transmit the data packet of the target application;                       
    接入模块,用于当接收到网络侧返回的包括能用于传输所述目标应用数据 包的目标接入点APN的指示信息时,通过所述目标接入点APN传输所述目标 应用的数据包; An access module, configured to receive, when received by the network side, the data that can be used to transmit the target application              When the indication information of the target access point APN of the packet is transmitted, the target is transmitted through the target access point APN              Application data packet;                       
    其中,所述网络侧返回的指示信息包括:从数据网关PGW、策略与计费 功能服务器PCRF或接入网发现与选择功能服务器ANDSF返回的指示信息。 The indication information returned by the network side includes: a data gateway PGW, policy and charging.              The function server PCRF or the access network discovers and indicates the indication information returned by the function server ANDSF.                       
  28. 如权利要求27所述的装置,其特征在于,所述接入模块包括: The device of claim 27, wherein the access module comprises:                       
    接入点确定单元,用于当接收到网络侧返回的包含多个接入点APN的指 示信息时,根据所述指示信息中包含的接入点APN的优先级参数,确定出能 用于传输所述目标应用的数据包的目标接入点APN; An access point determining unit, configured to receive, when receiving, a finger of the multiple access point APN returned by the network side              When the information is displayed, it is determined according to the priority parameter of the access point APN included in the indication information.              a target access point APN for transmitting a data packet of the target application;                       
    传输控制单元,用于通过所述接入点确定单元确定出的目标接入点APN 传输所述目标应用的数据包。 a transmission control unit, configured to determine, by the access point determining unit, a target access point APN              Transmitting the data packet of the target application.                       
  29. 一种计算机存储介质,其特征在于, A computer storage medium, characterized in that                       
    所述计算机存储介质存储有程序,该程序执行时包括如权利要求1-8任一 项所述的方法步骤。 The computer storage medium stores a program, the program including any one of claims 1-8 when executed              The method steps described in the item.                                                 
  30. 一种计算机存储介质,其特征在于, A computer storage medium, characterized in that                       
    所述计算机存储介质存储有程序,该程序执行时包括如权利要求9-12任 一项所述的方法步骤。 The computer storage medium stores a program, the program including when executed according to claims 9-12              A method step as described.                       
  31. 一种计算机存储介质,其特征在于, A computer storage medium, characterized in that                       
    所述计算机存储介质存储有程序,该程序执行时包括如权利要求13-14任 一项所述的方法步骤。 The computer storage medium stores a program, the program including when executed according to claims 13-14              A method step as described.                       
  32. 一种网络设备,其特征在于,包括:接收器、发射器、存储器和处理 器, A network device, comprising: a receiver, a transmitter, a memory, and a processing              ,                       
    其中,所述处理器执行如下步骤: Wherein, the processor performs the following steps:                       
    获取终端的目标应用的第一特征描述信息; Obtaining first feature description information of the target application of the terminal;                       
    根据所述第一特征描述信息,确定所述终端的当前接入点APN不能用于 传输所述目标应用的数据包; Determining, according to the first feature description information, that the current access point APN of the terminal cannot be used for              Transmitting a data packet of the target application;                       
    为所述终端确定出能用于传输所述目标应用的数据包的目标接入点 APN; Determining, for the terminal, a target access point that can be used to transmit a data packet of the target application              APN;                       
    指示所述终端通过所述目标接入点APN传输所述目标应用的数据包; Instructing the terminal to transmit a data packet of the target application by using the target access point APN;                       
    其中,所述第一特征描述信息包括所述目标应用的源IP地址、目的IP地 址、源端口号、目的端口号、协议类型、应用标识中的至少一个。 The first feature description information includes a source IP address and a destination IP address of the target application.              At least one of an address, a source port number, a destination port number, a protocol type, and an application identifier.                       
  33. 如权利要求32所述的网络设备,其特征在于,所述处理器在执行所 述获取终端的目标应用的第一特征描述信息,具体执行如下步骤: A network device according to claim 32, wherein said processor is executing              The first feature description information of the target application of the terminal is obtained, and the following steps are specifically performed:                       
    接收所述终端发送的承载资源修改请求,所述承载资源修改请求中包括所 述目标应用的第一特征描述信息; Receiving a bearer resource modification request sent by the terminal, where the bearer resource modification request includes              Descriptive information describing the first feature of the target application;                       
    从所述承载资源修改请求中提取所述第一特征描述信息。 Extracting the first feature description information from the bearer resource modification request.                       
  34. 如权利要求33所述的网络设备,其特征在于,所述处理器在执行所 述根据所述第一特征描述信息,确定所述终端的当前接入点APN不能用于传 输所述目标应用的数据包,具体执行如下步骤: A network device according to claim 33, wherein said processor is executing              Determining, according to the first feature description information, that the current access point APN of the terminal cannot be used for transmitting                                        To download the data packet of the target application, perform the following steps:                       
    将所述第一特征描述信息发送至策略与计费功能服务器PCRF,以请求所 述PCRF检测所述终端的当前接入点APN是否能用于传输所述目标应用的数 据包; Sending the first feature description information to the policy and charging function server PCRF to request the location              The PCRF detects whether the current access point APN of the terminal can be used to transmit the number of the target applications.              According to the package;                       
    接收所述PCRF返回的检测结果,若所述检测结果中包含能用于传输所述 目标应用的数据包的目标接入点APN,则确定所述终端的当前接入点APN不 能用于传输所述目标应用的数据包; Receiving a detection result returned by the PCRF, if the detection result includes              The target access point APN of the data packet of the target application determines that the current access point APN of the terminal is not              A data packet that can be used to transmit the target application;                       
    所述处理器在执行所述为所述终端确定出能用于传输所述目标应用的数 据包的目标接入点APN,具体执行如下步骤: Determining, by the processor, the number of the terminal that can be used to transmit the target application              According to the target access point APN of the package, the following steps are performed:                       
    将所述检测结果包含的所述目标接入点APN确定为所述终端的目标接入 点APN。 Determining, by the detection result, the target access point APN as a target access of the terminal              Point APN.                       
  35. 如权利要求32所述的网络设备,其特征在于,所述处理器在执行所 述根据所述第一特征描述信息,确定所述终端的当前接入点APN不能用于传 输所述目标应用的数据包,具体执行如下步骤: A network device according to claim 32, wherein said processor is executing              Determining, according to the first feature description information, that the current access point APN of the terminal cannot be used for transmitting              To download the data packet of the target application, perform the following steps:                       
    判断所述第一特征描述信息与预置的数据描述参数是否匹配; Determining whether the first feature description information matches a preset data description parameter;                       
    若匹配,则确定所述终端的当前接入点APN不能用于传输所述目标应用 的数据包。 If it matches, determining that the current access point APN of the terminal cannot be used to transmit the target application              Packet.                       
  36. 如权利要求35所述的网络设备,其特征在于, A network device according to claim 35, wherein                       
    所述预置的数据描述参数包括:事件订阅参数,所述事件订阅参数包含第 二特征描述信息及行为描述参数,所述行为描述参数包括指示上报服务器或丢 弃数据包的参数; The preset data description parameter includes: an event subscription parameter, where the event subscription parameter includes              The second feature description information and the behavior description parameter, where the behavior description parameter includes an indication report server or a loss              Discard the parameters of the packet;                       
    所述处理器在执行所述判断所述第一特征描述信息与预置的数据描述参 数是否匹配,具体执行如下步骤: The processor performs the determining the first feature description information and the preset data description parameter              If the numbers match, perform the following steps:                       
    判断所述第一特征描述信息中是否存在一项或者多项描述信息与所述第 二特征描述信息中的一项或者多项描述信息相同; Determining whether one or more pieces of description information and the first part exist in the first feature description information              One or more of the description information in the second feature description information is the same;                       
    所述处理器在执行所述为所述终端确定出能用于传输所述目标应用的数 据包的目标接入点APN,具体执行如下步骤: Determining, by the processor, the number of the terminal that can be used to transmit the target application              According to the target access point APN of the package, the following steps are performed:                                                 
    若判断结果为所述第一特征描述信息中存在一项或者多项描述信息与所 述第二特征描述信息中的一项或者多项描述信息相同,且所述行为描述参数为 所述指示上报服务器的参数,则将所述第一特征描述信息发送至策略与计费功 能服务器PCRF; If the judgment result is that one or more description information and the presence information are present in the first feature description information              One or more of the description information in the second feature description information is the same, and the behavior description parameter is              The parameter indicating the report to the server sends the first feature description information to the policy and charging function              Server PCRF;                       
    接收所述PCRF根据所述第一特征描述信息获取的能用于传输所述目标 应用的数据包的目标接入点APN,并将所述目标接入点APN确定为所述终端 的目标接入点APN。 Receiving, by the PCRF, the information acquired according to the first feature description information, for transmitting the target              a target access point APN of the applied data packet, and determining the target access point APN as the terminal              Target access point APN.                       
  37. 如权利要求35所述的网络设备,其特征在于, A network device according to claim 35, wherein                       
    所述预置的数据描述参数包括:预置的接入配置参数,所述接入配置参数 中包含第三特征描述信息以及至少一个接入点APN; The preset data description parameter includes: preset access configuration parameters, and the access configuration parameter              Included in the third feature description information and at least one access point APN;                       
    所述处理器在执行所述判断所述第一特征描述信息与预置的数据描述参 数是否匹配,具体执行如下步骤: The processor performs the determining the first feature description information and the preset data description parameter              If the numbers match, perform the following steps:                       
    判断所述第一特征描述信息中是否存在一项或者多项描述信息与所述第 三特征描述信息中的一项或者多项描述信息相同; Determining whether one or more pieces of description information and the first part exist in the first feature description information              One or more of the description information in the three feature description information is the same;                       
    所述处理器在执行所述为所述终端确定适用接入点APN,具体执行如下 步骤: Determining, by the processor, that the applicable access point APN is determined for the terminal, specifically executing the following              step:                       
    若判断结果为所述第一特征描述信息中存在一项或者多项描述信息与所 述第三特征描述信息中的一项或者多项描述信息相同,则获取所述接入配置参 数中包含的至少一个接入点APN; If the judgment result is that one or more description information and the presence information are present in the first feature description information              If the one or more description information in the third feature description information is the same, the access configuration parameter is obtained.              At least one access point APN included in the number;                       
    从所述至少一个接入点APN中选择出与所述第一特征描述信息对应的接 入点APN作为能用于传输所述目标应用的数据包的目标接入点APN。 Selecting, corresponding to the first feature description information, from the at least one access point APN              The ingress APN acts as a target access point APN that can be used to transmit data packets for the target application.                       
  38. 如权利要求32-37任一项所述的网络设备,其特征在于,所述处理器 在执行所述指示所述终端通过所述目标接入点APN传输所述目标应用的数据 包,具体执行如下步骤: A network device according to any of claims 32-37, wherein said processor              Performing the indication that the terminal transmits data of the target application through the target access point APN              Package, the specific steps are as follows:                       
    将携带所述第一特征描述信息及所述目标接入点APN的更新承载请求发 送给移动管理实体MME,以使所述移动管理实体MME通过无线资源控制 RRC连接配置将所述第一特征描述信息及所述目标接入点APN推送给所述终 端。 And transmitting the first feature description information and the update bearer request of the target access point APN              And sent to the mobility management entity MME, so that the mobility management entity MME is controlled by radio resources              The RRC connection configuration pushes the first feature description information and the target access point APN to the end                                        end.                       
  39. 如权利要求38所述的网络设备,其特征在于,所述处理器还执行以 下步骤: A network device according to claim 38, wherein said processor is further              Next steps:                       
    若当前接入点APN不能用于传输所述目标应用的数据包,则接收策略与 计费功能服务器PCRF基于PCC规则发送的禁止指示,所述禁止指示中包括 当前接入点APN; If the current access point APN cannot be used to transmit the data packet of the target application, the receiving policy and              The charging function server PCRF is based on a prohibition indication sent by the PCC rule, and the prohibition indication includes              Current access point APN;                       
    生成包括所述第一特征描述信息及所述禁止指示的禁止类流模板,并通过 缺省承载将所述禁止类流模板推送给所述终端。 Generating a forbidden class flow template including the first feature description information and the prohibition indication, and passing              The default bearer pushes the forbidden class flow template to the terminal.                       
  40. 一种服务器,其特征在于,包括:接收器、发射器、存储器和处理器, A server, comprising: a receiver, a transmitter, a memory, and a processor,                       
    其中,所述处理器执行如下步骤: Wherein, the processor performs the following steps:                       
    获取目标应用的特征描述信息,所述特征描述信息包括目标应用的源IP 地址、目的IP地址、源端口号、目的端口号、协议类型、应用标识中的至少 一个; Obtaining feature description information of the target application, where the feature description information includes a source IP of the target application              Address, destination IP address, source port number, destination port number, protocol type, and application ID              One;                       
    根据所述特征描述信息,判断所述终端的当前接入点APN是否能用于传 输所述目标应用的数据包; Determining, according to the feature description information, whether the current access point APN of the terminal can be used for transmitting              Transmitting a data packet of the target application;                       
    若判断结果为否,则确定出能用于传输所述目标应用的数据包的目标接入 点APN; If the determination result is no, determining target access of the data packet that can be used to transmit the target application              Point APN;                       
    将所述目标接入点APN发送给数据网关PGW。 Sending the target access point APN to the data gateway PGW.                       
  41. 如权利要求40所述的服务器,其特征在于,所述处理器在执行所述 确定出能用于传输所述目标应用的数据包的目标接入点APN,具体执行如下 步骤: The server according to claim 40, wherein said processor is executing said              Determining a target access point APN that can be used to transmit the data packet of the target application, as follows:              step:                       
    通过接入点请求将获取得到的所述特征描述信息发送至接入网发现与选 择功能服务器ANDSF; Sending the obtained feature description information to the access network for discovery and selection by the access point request              Select function server ANDSF;                       
    接收所述ANDSF响应所述接入点请求返回的能用于传输所述目标应用数 据包的目标接入点APN。 Receiving, by the ANDSF, the number of target applications that can be used to transmit the target application in response to the access point request              According to the target access point APN of the package.                                                 
  42. 如权利要求40或41所述的服务器,其特征在于,所述处理器在执行 所述将所述目标接入点APN发送给数据网关PGW,具体执行如下步骤: A server according to claim 40 or 41, wherein said processor is executing              The sending the target access point APN to the data gateway PGW, and performing the following steps:                       
    生成包含所述目标应用的特征描述信息及所述目标接入点APN的第一指 示信息; Generating feature description information including the target application and the first finger of the target access point APN              Display information                       
    基于PCC规则将包含所述目标应用的特征描述信息及所述目标接入点 APN的所述第一指示信息下发至数据网关PGW。 Feature description information including the target application and the target access point will be included based on PCC rules              The first indication information of the APN is sent to the data gateway PGW.                       
  43. 如权利要求42所述的服务器,其特征在于,所述处理器还执行以下 步骤: A server according to claim 42, wherein said processor further executes the following              step:                       
    当检测得到所述终端的当前接入点APN不能用于传输所述目标应用的数 据包时,生成包括所述目标应用的特征描述信息及禁止指示的第二指示信息, 所述禁止指示中包括当前接入点APN; When detecting that the current access point APN of the terminal cannot be used to transmit the number of the target application              According to the packet, generating second description information including the feature description information of the target application and the prohibition indication,              The prohibition indication includes a current access point APN;                       
    基于PCC规则将包括所述目标应用的特征描述信息及禁止指示的第二指 示信息下发至数据网关PGW。 The second description of the feature description information and the prohibition indication including the target application based on the PCC rule              The information is sent to the data gateway PGW.                       
  44. 一种终端,其特征在于,包括:接收器、发射器、存储器和处理器, A terminal, comprising: a receiver, a transmitter, a memory, and a processor,                       
    其中,所述处理器执行如下步骤: Wherein, the processor performs the following steps:                       
    当检测到目标应用运行时,将所述目标应用数据包的特征描述信息发送至 网络侧,以使网络侧根据所述特征描述信息检测终端的当前接入点APN是否 能用于传输所述目标应用的数据包; Sending feature description information of the target application data packet to the target application when it is detected              a network side, so that the network side detects, according to the feature description information, whether the current access point APN of the terminal is              A data packet that can be used to transmit the target application;                       
    若接收到网络侧返回的包括能用于传输所述目标应用数据包的目标接入 点APN的指示信息,则通过所述目标接入点APN传输所述目标应用的数据包; Receiving, by the network side, a target access that can be used to transmit the target application data packet              Pointing the indication information of the APN, and transmitting, by the target access point APN, the data packet of the target application;                       
    其中,所述网络侧返回的指示信息包括:从数据网关PGW、策略与计费 功能服务器PCRF或接入网发现与选择功能服务器ANDSF返回的指示信息。 The indication information returned by the network side includes: a data gateway PGW, policy and charging.              The function server PCRF or the access network discovers and indicates the indication information returned by the function server ANDSF.                       
  45. 如权利要求44所述的终端,其特征在于,所述处理器在执行所述若 接收到网络侧返回的包括能用于传输所述目标应用数据包的目标接入点APN 的指示信息,则通过所述目标接入点APN传输所述目标应用的数据包,具体 执行如下步骤: The terminal according to claim 44, wherein said processor is executing said              Receiving, by the network side, a target access point APN that can be used to transmit the target application data packet              And indicating, by the target access point APN, the data packet of the target application, specifically              Perform the following steps:                                                 
    若接收到网络侧返回的包含多个接入点APN的指示信息,则根据所述指 示信息中包含的接入点APN的优先级参数,确定出能用于传输所述目标应用 的数据包的目标接入点APN; If the indication information including multiple access point APNs returned by the network side is received, according to the              The priority parameter of the access point APN included in the indication information is determined to be used for transmitting the target application              Target access point APN of the data packet;                       
    通过所述目标接入点APN传输所述目标应用的数据包。 Transmitting the data packet of the target application through the target access point APN.                                                 
PCT/CN2014/077494 2014-05-14 2014-05-14 Access point selection method and related device WO2015172338A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201480031611.0A CN105359580B (en) 2014-05-14 2014-05-14 Access point selection method and related device
PCT/CN2014/077494 WO2015172338A1 (en) 2014-05-14 2014-05-14 Access point selection method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/077494 WO2015172338A1 (en) 2014-05-14 2014-05-14 Access point selection method and related device

Publications (1)

Publication Number Publication Date
WO2015172338A1 true WO2015172338A1 (en) 2015-11-19

Family

ID=54479159

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/077494 WO2015172338A1 (en) 2014-05-14 2014-05-14 Access point selection method and related device

Country Status (2)

Country Link
CN (1) CN105359580B (en)
WO (1) WO2015172338A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110012063B (en) * 2019-02-22 2021-09-21 视联动力信息技术股份有限公司 Data packet processing method and system
CN112333673A (en) * 2020-10-12 2021-02-05 联通智网科技有限公司 Access point channel establishing method and device, configuration server and terminal equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101480075A (en) * 2006-06-29 2009-07-08 诺基亚公司 System, apparatus, and method for dynamically configuring application access point settings
CN101909326A (en) * 2010-08-17 2010-12-08 中兴通讯股份有限公司 Selection method and device of access point

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7761913B2 (en) * 2005-01-24 2010-07-20 Telefonaktiebolaget L M Ericsson (Publ) Method for selecting an access point name (APN) for a mobile terminal in a packet switched telecommunications network
CN103517373B (en) * 2012-06-14 2016-06-22 中国移动通信集团设计院有限公司 A kind of method and apparatus of network insertion

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101480075A (en) * 2006-06-29 2009-07-08 诺基亚公司 System, apparatus, and method for dynamically configuring application access point settings
CN101909326A (en) * 2010-08-17 2010-12-08 中兴通讯股份有限公司 Selection method and device of access point

Also Published As

Publication number Publication date
CN105359580B (en) 2020-05-15
CN105359580A (en) 2016-02-24

Similar Documents

Publication Publication Date Title
US11979778B2 (en) Release of a second session of a wireless device by an access and mobility management function
US11606727B2 (en) Handover of a wireless device in a network
JP6911263B2 (en) Service management method and its equipment
CN106465227B (en) Method and apparatus for supporting network IP flow mobility via multiple wireless accesses
CN103988544B (en) System and method for minimizing the loss of IP context during IRAT switches
US10193702B2 (en) Method and apparatus for providing sponsoring service between user equipments
JP6072690B2 (en) Communication support method and apparatus using non-access layer protocol in mobile communication system
US11212343B2 (en) System and method for intelligently managing sessions in a mobile network
US20230103085A1 (en) Network connection configuration method and apparatus
US9942088B2 (en) Fault detection method, gateway, user equipment, and communications system
US10932151B2 (en) Distinguishing ICN from non-ICN traffic in a mobile network
CN107517211B (en) Configuration information acquisition method and system and configuration information processing method
US20150237495A1 (en) Method and system for differentiating between subscribers
WO2015172338A1 (en) Access point selection method and related device
CN109309766B (en) Addressing method and device
CN106464653A (en) Emergency call method, apparatus and device
WO2015135278A1 (en) Authentication method and system, prose functional entity, and ue
KR102072702B1 (en) Method and apparatus for managing data session information
US9191805B2 (en) Connecting devices to a policy charging rules function device
EP3285509A1 (en) Discovery method and device
US20170311135A1 (en) Control Signaling Transmission Method in MCPTT Architecture and Related Device
WO2015096163A1 (en) Position information reporting method, device and system
EP3972142B1 (en) Policy control function fallback
CN106686756B (en) PCC conversation establishing method and system based on position
KR102109822B1 (en) Method for synchronizing data session information and apparatus for analyzing radius

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201480031611.0

Country of ref document: CN

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

Ref document number: 14892201

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14892201

Country of ref document: EP

Kind code of ref document: A1