WO2016011572A1 - 一种apn配置方法、用户设备和配置服务器 - Google Patents

一种apn配置方法、用户设备和配置服务器 Download PDF

Info

Publication number
WO2016011572A1
WO2016011572A1 PCT/CN2014/082591 CN2014082591W WO2016011572A1 WO 2016011572 A1 WO2016011572 A1 WO 2016011572A1 CN 2014082591 W CN2014082591 W CN 2014082591W WO 2016011572 A1 WO2016011572 A1 WO 2016011572A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
user equipment
apn
apn information
service type
Prior art date
Application number
PCT/CN2014/082591
Other languages
English (en)
French (fr)
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 CN201480080709.5A priority Critical patent/CN106576285B/zh
Priority to PCT/CN2014/082591 priority patent/WO2016011572A1/zh
Publication of WO2016011572A1 publication Critical patent/WO2016011572A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery

Definitions

  • the present invention relates to the field of communications, and in particular, to an APN configuration method, a user equipment, and a configuration server.
  • APN Access Point Name
  • PDN Packet Data Network
  • Internet for example, the Internet
  • enterprise-specific data network etc.
  • Each APN corresponds to a PDN, and the user equipment needs to configure different APNs when accessing different PDNs.
  • the user equipment needs to establish a corresponding PDN connection when it establishes different types of data services after the registration is successful. For example, when using MMS (Multimedia Messaging Service), you need to use the APN that supports MMS type to establish the corresponding PDN connection. When browsing the webpage, you need to use the default (default) type of APN to establish the corresponding PDN. connection. If the APN of the data service type is missing or incorrect, the user equipment cannot establish a corresponding PDN connection and the data service fails to be established.
  • MMS Multimedia Messaging Service
  • the manufacturer pre-sets the device to implement the APN configuration of the user equipment.
  • the manufacturer can only preset some common APNs, and the APNs that are not commonly used or foreign carriers are usually not included.
  • the user initiates a data service using some unprepared APN or preset error APN, the establishment of the data service fails. Summary of the invention
  • the embodiment of the present invention provides an APN configuration method, a user equipment, and a configuration server, which implements an APN automatic configuration of a user equipment in an LTE application scenario, and is used to solve the problem that a device preset APN error may cause a data service establishment failure.
  • the first aspect provides a method for configuring an access point APN, where the method includes: acquiring, by a user equipment, a target service type of a target data service;
  • PDN packet data network
  • the configuration server After receiving the target APN information corresponding to the target service type, the configuration server feeds back the target APN information that is sent to the user equipment;
  • the APN is set according to the target APN information.
  • the method before the sending the target service type to the configuration server by using the default packet data network PDN connection, the method further includes:
  • the default PDN connection is a connection between a modem (Modem) in the user equipment and the default PDN, if there is no corresponding to the default APN information between the application layer of the user equipment and the Modem.
  • the sending the target service type to the configuration server by using a default packet data network PDN connection includes:
  • default APN information is APN information used by the user equipment when establishing the default PDN connection
  • the configuration server is an Extensible Markup Language Configuration Access Protocol (XCAP) server, and the XCAP server stores one or more Extensible Markup Language (XML) files, and each of the XML files records a service type and Corresponding APN information;
  • XCAP Extensible Markup Language Configuration Access Protocol
  • XML Extensible Markup Language
  • the receiving, by the configuration server, the target APN information that is sent back to the user equipment includes: determining, by the XCAP server, the record according to the target service type. Corresponding to the target XML file of the APN information, and feeding back the target XML file to the user equipment, receiving the target XML file, and parsing and acquiring the target APN information.
  • a second aspect provides an access point APN configuration method, where the method includes: configuring, by a server, a target service type of a target data service sent by a user equipment;
  • the corresponding target APN information is obtained according to the preset corresponding rule, where the preset corresponding rule is a correspondence between the at least one service type preset in the configuration server and the APN information;
  • the configuration server is an Extensible Markup Language Configuration Access Protocol (XCAP) server, and the preset correspondence rule includes one or more Extensible Markup Language (XML) files stored in the XCAP server, in each of the XML files. Recording a service type and its corresponding APN information;
  • XCAP Extensible Markup Language Configuration Access Protocol
  • the corresponding target access point APN information according to the target service type including: determining, according to the target service type, a target XML file that records the corresponding APN information;
  • the feeding back the sending the target APN information to the user equipment comprises: feeding back the target XML file to the user equipment.
  • a third aspect provides a user equipment, where the user equipment includes: a first acquiring unit, configured to acquire a target service type of the target data service, and a sending unit, configured to send the target service type to the configuration server by using a default packet data network (PDN) connection, where the default PDN connection is the user The connection established when the device accesses the default PDN during the booting process, and the configuration server presets at least one service type and its corresponding access point (APN) information;
  • PDN packet data network
  • a first receiving unit configured to receive, after acquiring the target APN information corresponding to the target service type, the configuration server to feed back the target APN information that is sent to the user equipment;
  • the user equipment further includes:
  • a determining unit configured to determine, before the sending unit sends the target service type to the configuration server, the target APN information corresponding to the target service type is not preset in the user equipment.
  • the default PDN connection is a connection between a modem (Modem) in the user equipment and the default PDN, if there is no corresponding to the default APN information between the application layer of the user equipment and the Modem.
  • the sending unit is specifically configured to:
  • default APN information is APN information used by the user equipment when establishing the default PDN connection
  • the configuration server is an Extensible Markup Language Configuration Access Protocol (XCAP) service
  • XCAP Extensible Markup Language
  • the XCAP server stores one or more Extensible Markup Language (XML) files, and each of the XML files records a service type and its corresponding APN information;
  • the first receiving unit is specifically configured to:
  • the target XML file that records the corresponding APN information according to the target service type, and feeding back the target XML file to the user equipment, receiving the target XML file, and parsing and acquiring the target APN. information.
  • the fourth aspect provides a configuration server, where the configuration server includes: a second receiving unit, configured to receive a target service type of the target data service sent by the user equipment;
  • a second acquiring unit configured to acquire, according to the preset corresponding rule, the corresponding target access point (APN) information, where the preset corresponding rule is at least one service preset in the configuration server Corresponding relationship between the type and the APN information;
  • the feedback unit is configured to feed back the target APN information to the user equipment, so that the user equipment performs the setting of the APN according to the target APN information.
  • the configuration server is an Extensible Markup Language Configuration Access Protocol (XCAP) server, and the preset correspondence rule includes one or more Extensible Markup Language (XML) files stored in the XCAP server, in each of the XML files. Recording a service type and its corresponding APN information;
  • XCAP Extensible Markup Language Configuration Access Protocol
  • the second obtaining unit is specifically configured to: determine, according to the target service type, a target XML file that records corresponding APN information;
  • the feedback unit is specifically configured to: feed back the target XML file to the user equipment.
  • a user equipment comprising: a bus, and a processor, a memory, and an interface connected to the bus; the memory is configured to store an instruction; the processor executes the instruction for :
  • Obtain the target service type of the target data service Sending the target service type to the configuration server by using a default packet data network (PDN) connection, where the default PDN connection is a connection established when the user equipment accesses the default PDN during the power-on attachment process, and the configuration server pre- Having at least one type of service and its corresponding access point (APN) information;
  • PDN packet data network
  • the configuration server After receiving the target APN information corresponding to the target service type, the configuration server feeds back the target APN information that is sent to the user equipment;
  • the APN is set according to the target APN information.
  • the configuration server Before the sending the target service type to the configuration server, determining that the target APN information corresponding to the target service type is not preset in the user equipment.
  • the default PDN connection is a connection between a modem (Modem) in the user equipment and the default PDN, if there is no corresponding to the default APN information between the application layer of the user equipment and the Modem.
  • the data processor executes the instructions specifically for:
  • default APN information is APN information used by the user equipment when establishing the default PDN connection
  • the configuration server is an Extensible Markup Language Configuration Access Protocol (XCAP) server, and the XCAP server stores one or more Extensible Markup Language (XML) files, and each of the XML files records a service type and Corresponding APN information;
  • the processor executing the instruction is specifically configured to:
  • the target XML file that records the corresponding APN information according to the target service type, and feeding back the target XML file to the user equipment, receiving the target XML file, and parsing and acquiring the target APN. information.
  • a configuration server comprising: a bus, and a processor, a memory, and an interface connected to the bus; the memory is configured to store an instruction; the processor executes the instruction for :
  • the corresponding target access point (APN) information is obtained according to the preset corresponding rule, where the preset corresponding rule is a correspondence between the at least one service type preset in the configuration server and the APN information.
  • the configuration server is an Extensible Markup Language Configuration Access Protocol (XCAP) server, and the preset correspondence rule includes one or more Extensible Markup Language (XML) files stored in the XCAP server, in each of the XML files. Recording a service type and its corresponding APN information;
  • XCAP Extensible Markup Language Configuration Access Protocol
  • the processor executing the instruction is specifically configured to:
  • the embodiment of the present invention provides an APN configuration method, a user equipment, and a configuration server.
  • the user equipment obtains a target service type, and uses a default PDN connection to interact with the configuration server to obtain target APN information corresponding to the target service type, and uses the The target APN information is set for the APN.
  • the APN automatic configuration of the user equipment in the LTE application scenario is implemented, which solves the problem that the preset APN error may cause the data service establishment failure when the configuration is preset by the device preset APN. Therefore, the present invention is not affected by the APN preset condition in the device relative to the prior art, and The APN configuration is simple and error-free, and the success rate of data service establishment is higher.
  • FIG. 1 is a schematic flowchart of a method for configuring an APN according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a method for configuring an APN according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of a method for configuring an APN according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a user equipment registering with an LTE network;
  • FIG. 5 is a schematic structural diagram 1 of a user equipment according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram 2 of a user equipment according to an embodiment of the present invention
  • FIG. 7 is a configuration server according to an embodiment of the present invention
  • FIG. 8 is a schematic structural diagram of another user equipment according to an embodiment of the present invention
  • FIG. 9 is a schematic structural diagram of another configuration server according to an embodiment of the present invention.
  • An embodiment of the present invention provides an APN (Access Point Name) configuration method, which can be applied to a user equipment. As shown in FIG. 1, the method includes:
  • the user equipment acquires a target service type of the target data service.
  • PDN Packet Data Network, packet data network
  • the default PDN connection is a connection established when the user equipment accesses the default PDN during the power-on attachment process, and at least one service type and its corresponding APN information are preset in the configuration server.
  • the user equipment determines that the target APN information corresponding to the service type of the target data service is not preset in the device itself.
  • the default PDN connection may be a connection between a modem (modem) and a default PDN in the user equipment, and the user equipment may obtain default APN information; there is no interaction between the application layer and the modem of the user equipment.
  • modem modem
  • the data channel corresponding to the default APN information is used, the data channel is established according to the default APN information; according to the preset address information, the target service type is sent to the configuration server via the data channel and the default PDN connection.
  • the default APN information is the APN information used by the user equipment when establishing a default PDN connection; the preset address information is used to indicate the address of the configuration server in the network.
  • the receiving configuration server After receiving the target APN information corresponding to the target service type, the receiving configuration server feeds back the transmitted target APN information to the user equipment.
  • the configuration server may be an XCAP (The XML Configuration Access Protocol), and the XC AP server stores one or more XMLs. ( extensible Markup Language ) file, in which each service type records a service type and its corresponding APN information.
  • XCAP The XML Configuration Access Protocol
  • XC AP server stores one or more XMLs.
  • XMLs extensible Markup Language
  • the user equipment may determine, in the XCAP server, the target XML file that records the corresponding APN information according to the target service type, and feed back the target XML file to the user equipment, receive the target XML file, and parse the target APN information.
  • An embodiment of the present invention provides an APN configuration method, in which a user equipment obtains a target service type, and uses a default PDN connection to interact with a configuration server to obtain target APN information corresponding to a target service type, and then use the target APN information to perform APN. setting.
  • the APN automatic configuration of the user equipment in the LTE application scenario is implemented, which solves the problem that the device preset APN error causes the data service establishment failure and the data service establishment success rate is low, and the complicated configuration operation is avoided.
  • the embodiment of the present invention further provides an APN configuration method, which corresponds to the method provided by the foregoing embodiment, and can be applied to a configuration server.
  • the method includes:
  • the S20 configuration server receives the target service type of the target data service sent by the user equipment.
  • the preset corresponding rule is a correspondence between the at least one service type preset in the configuration server and the APN information.
  • the configuration server may be an XCAP server; the preset corresponding rule includes one or more XML files stored in the XCAP server, and each of the XML files records a service type and its corresponding APN information.
  • the XCAP server can determine the target XML file that records the corresponding APN information according to the target service type.
  • the target APN information is sent back to the user equipment, so that the user equipment performs APN setting according to the target APN information.
  • the configuration server may be an XCAP server, and the XCAP server may send the target XML file to the user equipment after determining the target XML file that records the corresponding APN information.
  • An embodiment of the present invention provides an APN configuration method, where the configuration server receives the target service type sent by the user equipment, determines the target APN information corresponding to the target service type, and then feeds back the target APN information to the user equipment, so that the user equipment can The target APN information is set for the APN.
  • the APN automatic configuration of the user equipment in the LTE application scenario is implemented, which solves the problem that the device preset APN error causes the data service establishment failure and the data service establishment success rate is low, and the complicated configuration operation is avoided.
  • an APN configuration method provided by an embodiment of the present invention is described in detail below through specific embodiments, and it is worth mentioning that the following provides The embodiment is merely an example, and the implementation of the present invention is not limited thereto. As shown in FIG. 3, the method includes:
  • the user equipment acquires a target service type.
  • the user equipment receives an instruction to establish a target data service, and determines a target service type of the target data service.
  • the user equipment may be a mobile terminal device supporting the LTE (Long Term Evolution) system; the target data service may include: MMS
  • Multimedia Messaging Service multimedia messaging service
  • browsing web pages etc.
  • instructions for establishing a target data service can be triggered manually by the user (such as a user clicking on a multimedia message sending button), or can be automatically performed by the system. trigger
  • target data service and the triggering method for establishing the target data service instruction are all exemplary, including but not limited to.
  • the type of the MMS service may be an MMS type
  • the type of the web service may be a default (default) type
  • the specific service type corresponding manner may be different according to the application scenario or the operator. Not limited.
  • the user equipment determines that the device does not preset the target APN information.
  • the user equipment obtains the target service type, and determines that the device itself does not preset the target APN information corresponding to the service type of the target data service before performing the automatic configuration operation of the APN.
  • the user equipment determines that the device does not preset the target APN information corresponding to the target service type, and the device does not store the APN information corresponding to the type, or the stored corresponding APN information is unavailable (such as the part in the APN information).
  • the parameter input is incorrect, or the APN information has expired due to the operator update, etc.); the performance of the user equipment attempting to establish the target data service fails.
  • the user equipment has preset the target APN information corresponding to the service type of the target data service, the subsequent APN automatic configuration operation is not required, and the target data service can be directly established by using the preset APN information. Save equipment resources and improve equipment operation efficiency.
  • the user equipment obtains default APN information.
  • the user equipment After determining that the device does not preset target APN information corresponding to the service type of the target data service, the user equipment acquires default APN information.
  • the default APN information is the APN information used by the user equipment to establish a default PDN connection when accessing the default PDN during Attach.
  • the user equipment In the LTE (Long Term Evolution) application scenario, the user equipment is always connected when the device is powered on, and the device is registered in the LTE network.
  • LTE Long Term Evolution
  • the process of registering the user equipment with the LTE network through the Attach may include:
  • the user equipment establishes an RRC (Radio Resource Control) connection between the eNB (Evolved Node B) and the evolved Node B.
  • RRC Radio Resource Control
  • the user equipment sends an attach request message and a PDN connection request message to the MME (Mobility Management Entity, mobility management entity).
  • MME Mobility Management Entity, mobility management entity
  • the eNB establishes a connection with the MME for the user equipment; the LTE network identifies the user equipment.
  • the MME updates the location of the user equipment in the HS S (Home Subscriber Server) and requests the user plane from the HS S.
  • the HS S updates the current location of the user equipment to the database, and sends a user plane message to the MME.
  • the MME sends a request to the SGW (Service Gateway, the service gateway); the SGW requests the PGW (PDN Gateway, the packet data network gateway) to create a bearer between the SGW and the PGW for the user equipment; the PGW creates a bearer and assigns an IP address to the User equipment; The SGW receives the response of the PGW to notify the MME.
  • SGW Service Gateway, the service gateway
  • PGW Packet Control Network Gateway, the packet data network gateway
  • the MME sends a setup request message to instruct the eNB to create a context for the user equipment.
  • the eNB establishes a security parameter with the user equipment after receiving the setup request message.
  • the device responds to the eNB after the establishment is completed.
  • the eNB reconfigures resources for the user equipment; the user equipment updates the RRC link configuration, and sends a message to the eNB; the eNB sends a message to the MME.
  • the MME sends a message to indicate that the SGW updates the eNB default bearer tunnel ID. After the information is updated, the SGW sends a message response MME.
  • the MME sends an Attach Accept and Activate Default Bearer Context Request message to the user equipment.
  • the user equipment sends an Attach Complete message to the MME, and the Attach process ends.
  • the user equipment uses the APN information preset by the device to establish a bearer when initiating an Attach request.
  • the APN information is generally specified by the operator. If other APN information is used, the default bearer may not be established, causing the Attach to fail.
  • the user equipment uses the APN information sent by the network side to establish a bearer. That is, when the user equipment initiates an attach request, it does not need to bring the APN information.
  • the network side actively uses the APN information specified by the operator to establish a default bearer, and sends the used APN information to the user equipment.
  • the network side can also directly use the specified correct APN information to establish a default bearer, and then send the correct APN information to the user equipment.
  • the default APN information corresponding to the default PDN may be obtained, and the default APN information may include network identifier information describing the default PDN.
  • the user equipment sends the target service type to the configuration server.
  • the user equipment establishes a data channel corresponding to the default APN information between the application layer of the user equipment and the modem according to the default APN information.
  • the target service type corresponding to the target data service is sent to the configuration server through the data channel and the default PDN connection.
  • the configuration server may be a data server preset with at least one service type and its corresponding APN information.
  • the default PDN connection established by the user equipment in the Attach process may be only the connection between the Modem of the user equipment and the default PDN.
  • the data information of the application layer in the user equipment cannot be connected to the configuration server through the default PDN connection.
  • the data channel corresponding to the default APN information is established between the application layer and the modem of the user equipment to ensure that the data connection between the user equipment and the configuration server is complete and the application layer can obtain information from the configuration server.
  • the user equipment determines, according to the default APN information, whether the application layer and the modem have a data channel corresponding to the default APN information. When not present, the data channel is established according to the default APN information; or, when present, directly used. This data channel performs subsequent data interactions.
  • the user equipment may determine the address of the configuration server according to the preset address information, so as to perform data interaction with the configuration server through the default PDN connection.
  • the preset address information is used to indicate the address of the configuration server in the network, and the preset address information may be a default setting parameter when the device is shipped from the factory, or may input a given parameter externally for the user, and does not do this here. limited.
  • the storage format of the preset address information may be different according to the requirements of the operator or the configuration server.
  • the configuration server is the XCAP server and the user equipment is used as the XCAP client.
  • the preset address information may be in the user equipment.
  • MNC Mobile Network Code
  • MCC Mobile Country Code
  • user identification cards such as SIM (Subscriber Identity Module) card, UIM). (User Identity Module) card
  • SIM Subscriber Identity Module
  • UIM User Identity Module
  • MNC and MCC are different.
  • the user equipment is spliced according to the XCAP Root URI and the MNC and MCC corresponding to different operators.
  • the configuration server address of each carrier can be obtained, and the configuration servers used by different operators can be different or the same. limited.
  • the preset address information format listed above is merely exemplary, including but not limited to, and may be implemented in other forms depending on the application scenario.
  • the user equipment After ensuring the connection between the user equipment application layer and the configuration server, the user equipment is initiated by the application layer, through the data channel between the application layer and the modem, the default PDN connection (that is, the connection between the Modem and the default PDN), and the default PDN gateway.
  • the forwarding of the node sends the above-mentioned target service type to the configuration server.
  • the configuration server sends the target APN information to the user equipment.
  • the configuration server After receiving the target service type sent by the user equipment, the configuration server obtains the target APN information corresponding to the target service type according to the preset corresponding rule, and feeds back the target APN information to the user equipment.
  • the preset corresponding rule may be a correspondence between the at least one service type preset in the configuration server and the APN information.
  • the configuration server may be an XCAP server;
  • the preset correspondence rule may include one or more XML files stored in the XCAP server, and each of the XML files records a service type and its corresponding APN information, and indicates The APN information type is the index corresponding to the service type;
  • the APN information format recorded in each XML file can be as shown in Table 1 below:
  • Each XML file in the XCAP server is maintained by the operator and updated according to the actual situation.
  • the correspondence between the service types recorded in the target XML file and the APN information is always correct, and each APN information is available.
  • the XCAP server may determine a target XML file that records the corresponding target APN information according to the target service type, and send the target XML file to the user equipment.
  • the user equipment receives the target APN information sent by the configuration server, and performs APN setting.
  • the user equipment After receiving the target APN information sent by the configuration server, the user equipment uses the target APN information to complete the setting of the device APN, and ends the automatic configuration process of the device APN.
  • the user equipment receives the target XML file sent by the XCAP server, parses the target XML file, and extracts the target APN information.
  • the user equipment may disconnect the data channel corresponding to the default APN information between the application layer and the modem, so as to save device resources.
  • the user equipment can use the APN information to initiate data service activation and normal use of the data service.
  • An embodiment of the present invention provides an APN configuration method, in which a user equipment acquires a target service type, and uses a default PDN connection to send the target service type to a configuration server, and the configuration server determines, after receiving, the target APN information corresponding to the target service type, and The user equipment feeds back the target APN information, and then the user equipment receives the target APN information, and uses the target APN information to perform APN setting.
  • the automatic APN configuration of the user equipment in the LTE application scenario is implemented, which solves the problem that the preset APN error may cause the data service establishment failure when the configuration is preset by the device preset APN.
  • the available APN information can be automatically set for the user equipment to establish the target data service. Therefore, the present invention is not related to the prior art.
  • APN configuration is easy and error-prone, due to APN presets in the device, data industry The success rate of the establishment is higher.
  • the embodiment of the present invention provides a user equipment 00 corresponding to the APN configuration method provided in the foregoing embodiment.
  • the user equipment 00 includes:
  • the first obtaining unit 001 is configured to acquire a target service type of the target data service.
  • Sending unit 002 is used to send the target service type to the configuration server through the default PDN connection.
  • the default PDN connection is a connection established when the user equipment 00 accesses the default PDN during the power-on attachment process, and at least one service type and its corresponding APN information are preset in the configuration server.
  • the first receiving unit 003 is configured to receive, by the configuration server, the target APN information that is sent by the user equipment 00 after acquiring the target APN information corresponding to the target service type.
  • the configuration unit 004 is configured to perform APN setting according to the target APN information.
  • the dotted line indicates that the units may have a connection relationship, or may not have a direct connection relationship.
  • the sending unit 002 and the first receiving unit 003 are both used to interact with devices outside the device, and the sending unit 002 may notify the first receiving unit 003 after the information is sent, or may not be notified.
  • the user equipment 00 may further include:
  • the determining unit 005 is configured to determine, before the sending unit 002 sends the target service type to the configuration server, that the target APN information corresponding to the target service type is not preset in the user equipment 00.
  • the default PDN connection may be a connection between the Modem and the default PDN in the user equipment 00, and the data channel corresponding to the default APN information does not exist between the application layer and the Modem of the user equipment, and the sending unit 002 may be specifically used for :
  • the default APN information is the APN information used by user equipment 00 when establishing the default PDN connection.
  • the target service type is sent to the configuration server via the data channel and the default PDN connection.
  • the preset address information is used to indicate an address of the configuration server in the network.
  • the configuration server may be an XCAP server, and the XCAP server stores one or more XML files, and each XML file records a service type and its corresponding APN information, and indexes the APN information type indicated therein.
  • the business type corresponds.
  • the first receiving unit 003 can be specifically configured to:
  • the XCAP server determines the target XML file corresponding to the APN information according to the target service type, and feeds back the target XML file to the user equipment 00, receives the target XML file, and parses the target APN information.
  • the embodiment of the present invention provides a user equipment, which is used to implement the APN configuration method provided by the foregoing embodiment, obtains a target service type, uses a default PDN connection, and interacts with the configuration server to obtain target APN information corresponding to the target service type, and then uses the target APN information.
  • the target APN information is set for the APN.
  • the embodiment of the present invention further provides a configuration server 01, which corresponds to the APN configuration method provided by the foregoing embodiment.
  • the configuration server 01 includes: a second receiving unit 01 1 for receiving user equipment.
  • the second obtaining unit 012 is configured to obtain corresponding target APN information according to the preset corresponding rule and the target service type.
  • the preset corresponding rule is a correspondence between the at least one service type preset in the server 01 and the APN information.
  • the feedback unit 013 is configured to feed back the target APN information to the user equipment, so that the user equipment performs the APN setting according to the target APN information.
  • the configuration server 01 may be an XCAP server, and the preset corresponding rule may include one or more XML files stored in the XCAP server, where each service type records a service type and its corresponding APN information, and indicates The APN information type is the index corresponding to the service type.
  • the second obtaining unit 012 may be specifically configured to: determine, according to the target service type, a target XML file that records the corresponding APN information.
  • the feedback unit 013 can be specifically configured to: feed back a target XML file to the user equipment.
  • the embodiment of the present invention provides a configuration server, which is configured to implement the APN configuration method provided by the foregoing embodiment, and determine the target APN information corresponding to the target service type by receiving the target service type sent by the user equipment, and then provide feedback to the user equipment.
  • the target APN information is sent, so that the user equipment performs setting according to the target APN information.
  • the APN automatic configuration of the user equipment in the LTE application scenario is implemented, which solves the problem that the device preset APN error causes the data service establishment failure and the data service establishment success rate is low, and the complicated configuration operation is avoided.
  • An embodiment of the present invention provides a user equipment 02, which corresponds to the APN configuration method provided in the foregoing embodiment. As shown in FIG. 8, the user equipment 02 includes:
  • bus 021 a bus 021, and a processor 022, a memory 023, and an interface 024 connected to the bus 021, wherein the interface 024 is used to implement connection communication between the nodes;
  • the memory 023 is configured to store an instruction, and the processor 022 executes the instruction specifically for: acquiring a target service type of the target data service.
  • the processor 022 executes the instruction and also sends the target service type to the configuration server over the default PDN connection.
  • the default PDN connection is a connection established when the user equipment 02 accesses the default PDN during the power-on attachment process, and at least one service type and its corresponding APN information are preset in the configuration server.
  • the processor 022 executes the instruction and is further configured to receive, by the configuration server, the target APN information that is sent back to the user equipment 02 after acquiring the target APN information corresponding to the target service type.
  • the processor 022 executes the command and is also used to set the APN based on the target APN information.
  • the processor 022 executing the instruction may be specifically configured to: determine the user equipment 02 before sending the target service type to the configuration server.
  • the target APN information corresponding to the target service type is not preset.
  • the default PDN connection may be a connection between the Modem and the default PDN in the user equipment 02, and the data channel corresponding to the default APN information does not exist between the application layer and the Modem of the user equipment.
  • the processor 022 executing the instruction may be specifically used to:
  • the default APN information is the APN information used by User Equipment 02 when establishing the default PDN connection.
  • the target service type is sent to the configuration server via the data channel and the default PDN connection.
  • the preset address information is used to indicate an address of the configuration server in the network.
  • the configuration server may be an XCAP server.
  • the XCAP server stores one or more XML files, and each of the XML files records a service type and its corresponding APN information, and the APN information type indicated therein is indexed according to the service type.
  • the processor 022 executes the instruction and can be specifically used to:
  • the XCAP server determines the target XML file corresponding to the APN information according to the target service type, and feeds back the target XML file to the user equipment 02, receives the target XML file, and parses the target APN information.
  • the embodiment of the present invention provides a user equipment, which is used to implement the APN configuration method provided by the foregoing embodiment, obtains a target service type, uses a default PDN connection, and interacts with the configuration server to obtain target APN information corresponding to the target service type, and then uses the target APN information.
  • the target APN information is set for the APN.
  • the embodiment of the present invention further provides a configuration server 03 corresponding to the APN configuration method provided by the foregoing embodiment.
  • the configuration server 03 includes: a bus 03 1 and a process of connecting to the bus 03 1 032, memory 033 and connection Port 034, wherein the interface 034 is used to implement the connection communication between the nodes; the memory 033 is configured to store an instruction, and the processor 032 executes the instruction to receive the target service type of the target data service sent by the user equipment.
  • the processor 032 executes the instruction, and is further configured to obtain the corresponding target APN information according to the preset corresponding rule and the target service type.
  • the preset corresponding rule is a correspondence between the at least one service type preset in the configuration server 03 and the APN information.
  • the processor 032 executes the instruction and is further configured to feed back the target APN information to the user equipment, so that the user equipment performs the setting of the APN according to the target APN information.
  • the configuration server 03 may be an XCAP server, and the preset corresponding rule may include one or more XML files stored in the XCAP server, and each of the XML files records a service type corresponding thereto.
  • the APN information is associated with the service type by using the APN information type indicated therein as an index.
  • the processor 032 executing the instruction may be specifically configured to: determine, according to the target service type, a target XML file that records the corresponding APN information; and feed back the target XML file to the user equipment.
  • the embodiment of the present invention provides a configuration server, which is configured to implement the APN configuration method provided by the foregoing embodiment, and determine the target APN information corresponding to the target service type by receiving the target service type sent by the user equipment, and then provide feedback to the user equipment.
  • the target APN information is sent, so that the user equipment performs APN setting according to the target APN information.
  • the APN automatic configuration of the user equipment in the LTE application scenario is implemented, which solves the problem that the device preset APN error causes the data service establishment failure and the data service establishment success rate is low, and the complicated configuration operation is avoided.
  • the embodiment of the present invention provides an APN configuration method, a user equipment, and a configuration server.
  • the user equipment obtains a target service type, and uses a default PDN connection to interact with the configuration server to obtain target APN information corresponding to the target service type, and uses the The target APN information is set for the APN.
  • the APN automatic configuration of the user equipment in the LTE application scenario is implemented, thereby solving the problem that the preset APN error may cause the data service establishment failure when the configuration is preset by the device preset APN. question.
  • the available APN information can be automatically set for the user equipment to establish the target data service. Therefore, the present invention is not related to the prior art.
  • APN configuration is easy and error-prone, and the success rate of data service establishment is higher and the user experience is better.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
  • the software functional unit described above is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform portions of the steps of the various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a disk or an optical disk, and the like, which can store program codes.

Landscapes

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

Abstract

本发明的实施例提供一种APN配置方法、用户设备和配置服务器,涉及通信领域,提供了一种LTE应用场景下用户设备的APN自动配置方案,解决了设备预置APN出错会导致数据业务建立失败的问题。其方法为:用户设备获取目标业务类型,使用默认PDN连接与配置服务器进行交互获取目标业务类型对应的目标APN信息,进而使用该目标APN信息进行APN的设置。本发明的实施例用于实现用户设备的APN自动配置。

Description

一种 APN配置方法、 用户设备和配置服务器 技术领域
本发明涉及通信领域, 尤其涉及一种 APN配置方法、 用户设备 和配置服务器。
背景技术
APN ( Access Point Name , 接入点) 是用户设备访问网络、 使 用数据业务时的一个必备配置参数, 用以标识用户设备接入的 PDN ( Packet Data Network , 分组数据 网 络) , 例如国 际互联网 ( Internet ) , 企业专用数据网等。 每一个 APN对应一个 PDN , 用户 设备在接入不同 PDN时, 需要配置不同的 APN。
在当前 LTE ( Long Term Evolution , 长期演进) 应用场景下, 用户设备在 Attach (开机附着) 注册成功后, 建立不同类型的数据 业务时,还需要建立相应的 PDN连接。例如:在使用 MMS( Multimedia Messaging Service , 多媒体短信服务) 时, 需要使用支持 MMS类型 的 APN 来建立相应的 PDN 连接; 在浏览网页时, 需要使用支持 default (默认) 类型的 APN 来建立相应的 PDN 连接。 且用户设备 在建立某种数据业务时,若支持该数据业务类型的 APN缺失或错误, 会导致用户设备无法建立相应的 PDN连接, 数据业务建立失败。
在现有技术中, 生产厂家在设备出厂前进行预置来实现对用户 设备的 APN配置, 然而, 生产厂家只能预置部分常用 APN , 不常用 或国外运营商的 APN 通常不会包含在内, 用户在使用某种未预置 APN或预置错误 APN来发起数据业务时, 数据业务的建立会失败。 发明内容
本发明的实施例提供一种 APN配置方法、用户设备和配置服务 器, 实现了 LTE应用场景下用户设备的 APN 自动配置, 用以解决设 备预置 APN出错会导致数据业务建立失败的问题。
为达到上述目的, 本发明的实施例采用如下技术方案: 第一方面, 提供一种接入点 APN配置方法, 所述方法包括: 用户设备获取目标数据业务的目标业务类型;
通过默认分组数据网络 ( PDN ) 连接, 向配置服务器发送所述 目标业务类型, 所述默认 PDN连接为所述用户设备在开机附着过程 中接入默认 PDN时建立的连接, 所述配置服务器中预置了至少一种 业务类型及其对应的 APN信息;
接收所述配置服务器在获取所述目标业务类型对应的目标 APN 信息后, 向所述用户设备反馈发送的所述目标 APN信息;
根据所述目标 APN信息进行 APN的设置。
结合第一方面, 在第一种可能的实现方式中, 在所述通过默认 分组数据网络 PDN连接,向配置服务器发送所述目标业务类型之前, 所述方法还包括:
确定所述用户设备中未预置与所述目标业务类型对应的所述目 标 APN信息。
结合第一方面或第一方面的第一种可能的实现方式, 在第二种 可能的实现方式中,
所述默认 PDN连接为所述用户设备中的调制解调器 ( Modem ) 与所述默认 PDN 之间的连接, 若所述用户设备的应用层与所述 Modem之间不存在与所述默认 APN信息对应的数据通道时,所述通 过默认分组数据网络 PDN连接, 向配置服务器发送所述目标业务类 型包括:
获取默认 APN信息, 所述默认 APN信息为所述用户设备在建 立所述默认 PDN连接时所使用的 APN信息;
根据所述默认 APN信息建立所述数据通道;
根据预设地址信息, 经由所述数据通道及所述默认 PDN连接向 所述配置服务器发送所述目标业务类型, 所述预设地址信息用于指 示所述配置服务器在网络中的地址。
结合第一方面至第一方面的第二种可能的实现方式中的任一 种, 在第三种可能的实现方式中, 所述配置服务器为可扩展标记语言配置访问协议( XCAP )服务 器, 所述 XCAP服务器中存储了一个或多个可扩展标记语言( XML ) 文件, 各所述 XML文件中记录了一种业务类型与其对应的 APN信 息;
所述接收所述配置服务器在获取所述目标业务类型对应的目标 APN信息后, 向所述用户设备反馈发送的所述目标 APN信息包括: 在所述 XCAP 服务器根据所述目标业务类型确定记录了对应 APN 信息的目标 XML 文件, 并向所述用户设备反馈发送所述目标 XML文件后, 接收所述目标 XML文件, 解析获取所述目标 APN信 息。
第二方面, 提供一种接入点 APN配置方法, 所述方法包括: 配置服务器接收用户设备发送的 目标数据业务的 目标业务类 型;
根据预设对应规则, 结合所述目标业务类型获取对应的 目标 APN信息, 所述预设对应规则为所述配置服务器中预置的至少一种 业务类型与 APN信息的对应关系;
向所述用户设备反馈发送所述目标 APN信息, 以便所述用户设 备根据所述目标 APN信息进行 APN的设置。
结合第二方面, 在第一种可能的实现方式中,
所述配置服务器为可扩展标记语言配置访问协议( XCAP )服务 器, 所述预设对应规则包括所述 XCAP服务器中存储的一个或多个 可扩展标记语言 ( XML )文件, 各所述 XML文件中记录了一种业务 类型与其对应的 APN信息;
所述根据预设对应规则, 结合所述目标业务类型获取对应的目 标接入点 APN 信息包括: 根据所述目标业务类型确定记录了对应 APN信息的目标 XML文件;
所述向所述用户设备反馈发送所述目标 APN信息包括: 向所述 用户设备反馈发送所述目标 XML文件。
第三方面, 提供一种用户设备, 所述用户设备包括: 第一获取单元, 用于获取目标数据业务的目标业务类型; 发送单元, 用于通过默认分组数据网络 ( PDN ) 连接, 向配置 服务器发送所述目标业务类型, 所述默认 PDN连接为所述用户设备 在开机附着过程中接入默认 PDN时建立的连接, 所述配置服务器中 预置了至少一种业务类型及其对应的接入点 ( APN ) 信息;
第一接收单元, 用于接收所述配置服务器在获取所述目标业务 类型对应的目标 APN信息后, 向所述用户设备反馈发送的所述目标 APN信息;
配置单元, 用于根据所述目标 APN信息进行 APN的设置。 结合第三方面, 在第一种可能的实现方式中, 所述用户设备还 包括:
确定单元, 用于在所述发送单元向所述配置服务器发送所述目 标业务类型之前, 确定所述用户设备中未预置与所述目标业务类型 对应的所述目标 APN信息。
结合第三方面或第三方面的第一种可能的实现方式, 在第二种 可能的实现方式中,
所述默认 PDN连接为所述用户设备中的调制解调器 ( Modem ) 与所述默认 PDN 之间的连接, 若所述用户设备的应用层与所述 Modem之间不存在与所述默认 APN信息对应的数据通道时,所述发 送单元具体用于:
获取默认 APN信息, 所述默认 APN信息为所述用户设备在建 立所述默认 PDN连接时所使用的 APN信息;
根据所述默认 APN信息建立所述数据通道;
根据预设地址信息, 经由所述数据通道及所述默认 PDN连接向 所述配置服务器发送所述目标业务类型, 所述预设地址信息用于指 示所述配置服务器在网络中的地址。
结合第三方面至第三方面的第二种可能的实现方式中的任一 种, 在第三种可能的实现方式中,
所述配置服务器为可扩展标记语言配置访问协议( XCAP )服务 器, 所述 XCAP服务器中存储了一个或多个可扩展标记语言( XML ) 文件, 各所述 XML文件中记录了一种业务类型与其对应的 APN信 息;
所述第一接收单元具体用于:
在所述 XCAP 服务器根据所述目标业务类型确定记录了对应 APN 信息的目标 XML 文件, 并向所述用户设备反馈发送所述目标 XML文件后, 接收所述目标 XML文件, 解析获取所述目标 APN信 息。
第四方面, 提供一种配置服务器, 所述配置服务器包括: 第二接收单元, 用于接收用户设备发送的目标数据业务的目标 业务类型;
第二获取单元, 用于根据预设对应规则, 结合所述目标业务类 型获取对应的目标接入点 ( APN ) 信息, 所述预设对应规则为所述 配置服务器中预置的至少一种业务类型与 APN信息的对应关系; 反馈单元, 用于向所述用户设备反馈发送所述目标 APN信息, 以便所述用户设备根据所述目标 APN信息进行 APN的设置。
结合第四方面, 在第一种可能的实现方式中,
所述配置服务器为可扩展标记语言配置访问协议( XCAP )服务 器, 所述预设对应规则包括所述 XCAP服务器中存储的一个或多个 可扩展标记语言 ( XML )文件, 各所述 XML文件中记录了一种业务 类型与其对应的 APN信息;
所述第二获取单元具体用于: 根据所述目标业务类型确定记录 了对应 APN信息的目标 XML文件;
所述反馈单元具体用于: 向所述用户设备反馈发送所述目标 XML文件。
第五方面, 提供一种用户设备, 所述用户设备包括: 总线、 以 及连接到所述总线的处理器、 存储器和接口; 所述存储器用于存储 指令; 所述处理器执行所述指令用于:
获取目标数据业务的目标业务类型; 通过默认分组数据网络 ( PDN ) 连接, 向配置服务器发送所述 目标业务类型, 所述默认 PDN连接为所述用户设备在开机附着过程 中接入默认 PDN时建立的连接, 所述配置服务器中预置了至少一种 业务类型及其对应的接入点 ( APN ) 信息;
接收所述配置服务器在获取所述目标业务类型对应的目标 APN 信息后, 向所述用户设备反馈发送的所述目标 APN信息;
根据所述目标 APN信息进行 APN的设置。
结合第五方面, 在第一种可能的实现方式中, 所述处理器执行 所述指令具体用于:
在所述向配置服务器发送所述目标业务类型之前, 确定所述用 户设备中未预置与所述目标业务类型对应的所述目标 APN信息。
结合第五方面或第五方面的第一种可能的实现方式, 在第二种 可能的实现方式中,
所述默认 PDN连接为所述用户设备中的调制解调器 ( Modem ) 与所述默认 PDN 之间的连接, 若所述用户设备的应用层与所述 Modem之间不存在与所述默认 APN信息对应的数据通道时,所述处 理器执行所述指令具体用于:
获取默认 APN信息, 所述默认 APN信息为所述用户设备在建 立所述默认 PDN连接时所使用的 APN信息;
根据所述默认 APN信息建立所述数据通道;
根据预设地址信息, 经由所述数据通道及所述默认 PDN连接向 所述配置服务器发送所述目标业务类型, 所述预设地址信息用于指 示所述配置服务器在网络中的地址。
结合第五方面至第五方面的第二种可能的实现方式中的任一 种, 在第三种可能的实现方式中,
所述配置服务器为可扩展标记语言配置访问协议( XCAP )服务 器, 所述 XCAP服务器中存储了一个或多个可扩展标记语言( XML ) 文件, 各所述 XML文件中记录了一种业务类型与其对应的 APN信 息; 所述处理器执行所述指令具体用于:
在所述 XCAP 服务器根据所述目标业务类型确定记录了对应 APN 信息的目标 XML 文件, 并向所述用户设备反馈发送所述目标 XML文件后, 接收所述目标 XML文件, 解析获取所述目标 APN信 息。
第六方面, 提供一种配置服务器, 所述配置服务器包括: 总线、 以及连接到所述总线的处理器、 存储器和接口; 所述存储器用于存 储指令; 所述处理器执行所述指令用于:
接收用户设备发送的目标数据业务的目标业务类型;
根据预设对应规则, 结合所述目标业务类型获取对应的目标接 入点 ( APN ) 信息, 所述预设对应规则为所述配置服务器中预置的 至少一种业务类型与 APN信息的对应关系;
向所述用户设备反馈发送所述目标 APN信息, 以便所述用户设 备根据所述目标 APN信息进行 APN的设置。
结合第六方面, 在第一种可能的实现方式中,
所述配置服务器为可扩展标记语言配置访问协议( XCAP )服务 器, 所述预设对应规则包括所述 XCAP服务器中存储的一个或多个 可扩展标记语言 ( XML )文件, 各所述 XML文件中记录了一种业务 类型与其对应的 APN信息;
所述处理器执行所述指令具体用于:
根据所述目标业务类型确定记录了对应 APN信息的目标 XML 文件; 向所述用户设备反馈发送所述目标 XML文件。
可见, 本发明的实施例提供一种 APN配置方法、 用户设备和配 置服务器, 通过用户设备获取目标业务类型, 使用默认 PDN连接与 配置服务器进行交互获取目标业务类型对应的目标 APN信息, 并使 用该目标 APN信息进行 APN的设置。 这样, 实现了 LTE应用场景 下用户设备的 APN 自动配置,解决了现有技术中依靠设备预置 APN 进行配置时存在预置 APN出错会导致数据业务建立失败的问题。 因 此, 本发明相对于现有技术, 不受设备中 APN预置情况的影响, 且 APN配置操作简便不易出错, 数据业务建立的成功率更高。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下 面将对实施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于 本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以 根据这些附图获得其他的附图。
图 1 为本发明实施例提供的一种 APN 配置方法的流程示意图 图 2 为本发明实施例提供的一种 APN 配置方法的流程示意图 图 3 为本发明实施例提供的一种 APN 配置方法的流程示意图 图 4为用户设备向 LTE网络进行注册的流程示意图;
图 5为本发明实施例提供的一种用户设备的结构示意图一; 图 6为本发明实施例提供的一种用户设备的结构示意图二; 图 7为本发明实施例提供的一种配置服务器的结构示意图; 图 8为本发明实施例提供的另一种用户设备的结构示意图; 图 9为本发明实施例提供的另一种配置服务器的结构示意图。 具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术 方案进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明 一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本 领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他 实施例, 都属于本发明保护的范围。
本发明的实施例提供一种 APN ( Access Point Name , 接入点) 配置方法, 该方法可以应用于用户设备, 如图 1所示, 该方法包括:
5 101、 用户设备获取目标数据业务的目标业务类型。
5 102、 通过默认 PDN ( Packet Data Network , 分组数据网络 ) 连接, 向配置服务器发送目标业务类型。
其中, 默认 PDN 连接为用户设备在开机附着过程中接入默认 PDN时建立的连接, 配置服务器中预置了至少一种业务类型及其对 应的 APN信息。
在一种实现方式下, 用户设备可以在向配置服务器发送目标业 务类型之前, 确定设备自身中未预置与目标数据业务的业务类型对 应的目标 APN信息。
在另一种实现方式下, 默认 PDN 连接可以为用户设备中的 Modem (调制解调器) 与默认 PDN之间的连接, 用户设备可以获取 默认 APN信息; 在用户设备的应用层与 Modem之间不存在与默认 APN信息对应的数据通道时, 根据默认 APN信息建立该数据通道; 根据预设地址信息, 经由该数据通道及默认 PDN连接向配置服务器 发送目标业务类型。
其中, 默认 APN信息为用户设备在建立默认 PDN连接时所使 用的 APN信息;预设地址信息用于指示配置服务器在网络中的地址。
S 103、接收配置服务器在获取目标业务类型对应的目标 APN信 息后, 向用户设备反馈发送的目标 APN信息。
在一种实现方式下, 配置服务器可以为 XCAP ( The XML Configuration Access Protocol , 可扩展标 i己语言西己置访问十办议 )月良务 器, 该 XC AP服务器中存储了一个或多个 XML ( extensible Markup Language , 可扩展标记语言) 文件, 各 XML文件中记录了一种业务 类型与其对应的 APN信息。
用户设备可以在 XCAP服务器根据目标业务类型确定记录了对 应 APN 信息的目标 XML 文件, 并向用户设备反馈发送目标 XML 文件后, 接收该目标 XML文件, 解析获取目标 APN信息。
S 104、 根据目标 APN信息进行 APN的设置。
本发明的实施例提供一种 APN配置方法,通过用户设备获取目 标业务类型, 使用默认 PDN连接与配置服务器进行交互获取目标业 务类型对应的目标 APN信息, 进而使用该目标 APN信息进行 APN 的设置。 这样, 实现了 LTE应用场景下用户设备的 APN 自动配置, 解决了设备预置 APN出错会导致数据业务建立失败、 数据业务建立 成功率低的问题, 且避免了复杂的配置操作。
相应的, 本发明的实施例还提供一种 APN配置方法, 该方法与 前述实施例提供的方法对应, 可以应用于配置服务器, 如图 2所示, 该方法包括:
S20 配置服务器接收用户设备发送的目标数据业务的目标业 务类型。
5202 , 根据预设对应规则, 结合目标业务类型获取对应的目标 接入点 APN信息。
其中, 预设对应规则为配置服务器中预置的至少一种业务类型 与 APN信息的对应关系。
在一种实现方式下, 配置服务器可以为 XCAP服务器; 预设对 应规则包括 XCAP服务器中存储的一个或多个 XML文件, 各 XML 文件中记录了一种业务类型与其对应的 APN信息。
XCAP服务器可以根据目标业务类型确定记录了对应 APN信息 的目标 XML文件。
5203、 向用户设备反馈发送目标 APN信息, 以便用户设备根据 目标 APN信息进行 APN的设置。
在一种实现方式下, 配置服务器可以为 XCAP 服务器, XCAP 月良务器可以在确定记录了对应 APN信息的目标 XML文件之后, 向 用户设备反馈发送该目标 XML文件。
本发明的实施例提供一种 APN配置方法,通过配置服务器接收 用户设备发送的 目标业务类型, 确定该目标业务类型对应的目标 APN信息, 进而向用户设备反馈发送该目标 APN信息, 以便用户设 备根据该目标 APN信息进行 APN的设置。 这样, 实现了 LTE应用 场景下用户设备的 APN 自动配置, 解决了设备预置 APN 出错会导 致数据业务建立失败、 数据业务建立成功率低的问题, 且避免了复 杂的配置操作。 为了使本领域技术人员能够更清楚地理解本发明实施例提供的 技术方案,下面通过具体的实施例,对本发明实施例提供的一种 APN 配置方法进行详细说明, 值得一提的, 以下提供的实施例仅做示例, 本发明的实现方式不限于此。 如图 3所示, 该方法包括:
5301、 用户设备获取目标业务类型。
具体的, 用户设备接收建立目标数据业务的指令, 并确定该目 标数据业务的目标业务类型。
其中, 用户设备可以为支持 LTE ( Long Term Evolution , 长期 演进 ) 制式的移动终端设备; 目 标数据业务可以 包括: MMS
( Multimedia Messaging Service , 多媒体短信月良务)、 浏览网页等; 建立目标数据业务的指令可以由用户人工对设备进行操作触发 (如 用户对多媒体短信发送按键的点击), 也可以为由系统自动进行触发
(如设定任务定时发送多媒体短信)。 且上述列举的目标数据业务以 及建立目标数据业务指令的触发方式都为示例性的, 包括但不限于 此。
示例性的, MMS业务的类型可以为 MMS类型, 浏览网页业务 的类型可以为 default (默认) 类型等, 且具体的业务类型对应方式, 可根据应用场景或运营商的不同存在一定差异, 此处不做限定。
5302、 用户设备确定设备自身未预置目标 APN信息。
具体的, 用户设备获取目标业务类型, 在执行 APN的自动配置 操作前, 确定设备自身未预置与该目标数据业务的业务类型对应的 目标 APN信息。
示例性的, 用户设备确定设备自身未预置与该目标业务类型对 应目标 APN信息的情况包括: 设备自身未存储类型对应的 APN信 息, 或者, 存储的对应 APN信息不可用 (如 APN信息中部分参数 输入错误, 或, 由于运营商方面更新导致 APN 信息已过期等); 表 现为用户设备尝试建立该目标数据业务失败。
若未预置, 则表明用户设备无法建立目标数据业务, 需要为用 户设备配置与目标数据业务的业务类型对应的 APN , 则执行 S303 进行后续的 APN 自动配置操作。
值得一提的, 若用户设备自身已预置与该目标数据业务的业务 类型对应的目标 APN信息, 则无需执行后续的 APN 自动配置操作, 可以直接使用预置的 APN信息建立该目标数据业务,节省设备资源, 提高设备的操作效率。
S303、 用户设备获取默认 APN信息。
具体的, 用户设备在确定设备自身未预置与该目标数据业务的 业务类型对应的目标 APN信息之后, 获取默认 APN信息。
其中, 默认 APN 信息为用户设备在 Attach (开机附着) 过程 中接入默认 PDN时建立默认 PDN连接所使用的 APN信息。
在 LTE ( Long Term Evolution , 长期演进) 应用场景下, 为实 现各用户设备的永远在线, 用户设备在开机启动时会进行 Attach , 实现设备在 LTE网络中的注册。
用户设备通过 Attach向 LTE网络进行注册的过程,如图 4所示, 可以包括:
S401、 用户设备建立与 eNB ( Evolved Node B , 演进型 Node B ) 间的 RRC ( Radio Resource Control , 无线资源控制协议) 连接。
S402、 用户设备发送附着请求消息和 PDN 连接请求消息给 MME ( Mobility Management Entity , 移动管理实体)。 同时, eNB为 该用户设备建立与 MME的连接; LTE网络识别该用户设备。
5403、 MME更新 HS S ( Home Subscriber Server , 归属用户服 务器) 中用户设备位置并从 HS S请求用户面; HS S将用户设备当前 位置更新到数据库中, 并通过发送用户面消息给 MME。
5404、 MME发送请求给 SGW ( Service Gateway , 服务网关); 由 SGW请求 PGW ( PDN Gateway , 分组数据网网关) 为该用户设 备创建 SGW与 PGW之间的承载; PGW创建承载并分配 IP地址给 该用户设备; SGW接收到 PGW的响应通知 MME。
S405、 MME发送建立请求消息指示 eNB 为该用户设备创建上 下文; eNB 收到建立请求消息后与用户设备建立安全参数; 用户设 备在建立完成后响应 eNB。 eNB 为用户设备重新配置资源; 用户设 备更新 RRC 链接配置, 并发送消息响应 eNB ; eNB 发送消息响应 MME。
S406、 MME发送消息指示 SGW更新 eNB 默认承载隧道 ID ; 更新完信息后, SGW发送消息响应 MME ;
S407、 MME 发送 Attach Accept 和 Activate Default Bearer Context Request 消息给用户设备; 用户设备发送 Attach Complete 消息响应 MME , 结束 Attach过程。
示例性的, 在 Attach的过程中一般有两种方式来建立默认 PDN 连接 (即默认承载 ) 接入默认 PDN :
用户设备在发起 Attach请求时采用设备自身预置的 APN信息 来建立承载。 该 APN 信息一般是由运营商指定的, 若使用其他的 APN信息就可能会导致默认承载无法建立, 使得 Attach失败。
或者, 用户设备采用网侧下发的 APN信息来建立承载。 即在用 户设备在发起 Attach请求时, 无需自带 APN信息, 网侧会主动使用 运营商指定的 APN信息来建立默认承载, 并将使用的 APN信息下 发给用户设备。
值得一提的, 在用户设备使用错误的 APN信息发起 Attach时 , 网侧还可以直接使用指定的正确的 APN信息来建立默认承载, 再将 该正确的 APN信息下发给用户设备。
上述的各种 Attach方式仅为示例性的, 不同运营商支持的方式 存在一定区别, 可能同时支持多种方式也可能仅支持一种, 具体根 据应用场景中运营商的实际情况确定, 此处不做限定。
进一步的, 用户设备在 Attach成功, 默认 PDN 连接建立完成 后, 即可获取默认 PDN对应的默认 APN信息, 该默认 APN信息可 以包括描述上述默认 PDN的网络标识信息。
S304、 用户设备向配置服务器发送目标业务类型。
具体的, 用户设备根据默认 APN 信息在用户设备的应用层与 Modem (调制解调器) 之间建立与默认 APN信息对应的数据通道, 并通过该数据通道及默认 PDN连接, 向配置服务器发送目标数据业 务对应的目标业务类型。
其中, 该配置服务器可以为预置了至少一种业务类型及其对应 的 APN信息的数据服务器。
由于用户设备在 Attach过程中建立的默认 PDN 连接可以仅为 用户设备的 Modem与默认 PDN之间的连接, 在此种情况下, 用户 设备中应用层的数据信息无法通过默认 PDN连接与配置服务器进行 交互, 故为保证用户设备到配置服务器之间的数据连接完整、 应用 层可以从配置服务器获取信息, 还需在用户设备的应用层与 Modem 之间建立与默认 APN信息对应的数据通道。
示例性的, 用户设备根据默认 APN信息, 判断应用层与 Modem 是否已经存在与默认 APN信息对应的数据通道, 当不存在时, 根据 默认 APN信息建立该数据通道; 或者, 当存在时, 直接使用该数据 通道进行后续的数据交互。
进一步的, 用户设备可以根据预设地址信息, 确定配置服务器 的地址, 以便通过默认 PDN连接与配置服务器进行数据交互。其中, 预设地址信息用于指示配置服务器在网络中的地址, 且该预设地址 信息可以为设备出厂时的缺省设定参数, 也可以为用户外部输入给 定的参数, 此处不做限定。
值得一提的, 预设地址信息的存储格式根据运营商或配置服务 器要求的不同而存在差异, 以配置服务器为 XCAP服务器、 用户设 备作为 XCAP客户端为例, 预设地址信息可以为用户设备中预先存 储记录的 XCAP Root URI ( Uniform Resource Identifier, 通用资源标 识符;), 如:
" ims.mnc<MNC>.mcc<MCC>. ub.3 gppnetwork. org"。
其中, MNC( Mobile Network Code ,移动网络码)与 MCC( Mobile Country Code , 移动国家码)均可由用户设备从配备的用户身份识别 卡 (如: SIM ( Subscriber Identity Module , 客户识别模块) 卡、 UIM ( User Identity Module , 用户识别模块) 卡) 中获取; 对于不同的 运营商, MNC、 MCC存在不同。 用户设备根据 XCAP Root URI , 结 合不同运营商对应的 MNC、 MCC 进行拼接, 可获取各运营商的配 置服务器地址, 且多个不同运营商使用的配置服务器可以不同, 也 可以相同, 此处不^限定。
且上述列举的预设地址信息形式仅为示例性的, 包括但不限于 此, 根据应用场景的不同, 还可以以其他形式实现。
在确保了用户设备应用层至配置服务器的连接后, 用户设备由 应用层发起, 通过应用层与 Modem之间的数据通道、 默认 PDN连 接 ( 即 Modem与默认 PDN之间的连接)、 默认 PDN 网关节点的转 发, 向配置服务器发送上述目标业务类型。
S305、 配置服务器向用户设备发送目标 APN信息。
具体的,配置服务器在接收到用户设备发送的目标业务类型后, 根据预设对应规则获取该目标业务类型对应的目标 APN信息, 并向 用户设备反馈发送该目标 APN信息。
其中, 预设对应规则可以为配置服务器中预置的至少一种业务 类型与 APN信息的对应关系。
示例性的, 配置服务器可以为 XCAP服务器; 预设对应规则可 以包括该 XCAP服务器中存储的一个或多个 XML文件, 各 XML文 件中记录了一种业务类型与其对应的 APN 信息, 并以其中指示的 APN信息类型为索引与业务类型进行对应;
各 XML文件中记录的 APN信息格式可以如下表 1所示:
表 1
Figure imgf000016_0001
且上述列举的 APN信息格式仅为示例性的, 包括但不限于此。 XCAP服务器中的各 XML文件由运营商进行维护, 根据实际情况进 行更新, 始终保持该目标 XML文件中记录的各业务类型与 APN信 息对应关系正确, 各 APN信息可用。
XCAP 服务器在获取目标业务类型后, 可以根据该目标业务类 型确定一个记录了对应目标 APN信息的目标 XML文件, 并向用户 设备发送该目标 XML文件。
S306、 用户设备接收配置服务器发送的目标 APN信息, 并进行 APN的设置。
具体的,用户设备在接收获取配置服务器发送的目标 APN信息 后, 使用该目标 APN信息完成设备 APN的设置, 结束设备 APN的 自动配置过程。
示例性的, 用户设备接收 XCAP服务器发送的目标 XML文件 , 对该目标 XML文件进行解析, 提取目标 APN信息。
值得一提的, 用户设备在获取目标 APN信息后, 可以断开应用 层与 Modem之间的上述与默认 APN信息对应的数据通道, 以便节 省设备资源。
进一步的, 在通过上述方法完成对用户设备的 APN配置后, 用 户设备可使用该 APN信息发起数据业务激活, 正常使用数据业务。
本发明的实施例提供一种 APN配置方法,用户设备获取目标业 务类型, 使用默认 PDN连接向配置服务器发送该目标业务类型, 配 置服务器在接收后确定该目标业务类型对应的目标 APN信息, 并向 用户设备反馈发送该目标 APN 信息, 进而由用户设备接收该目标 APN信息, 并使用该目标 APN信息进行 APN的设置。 这样, 实现 了 LTE应用场景下用户设备的 APN 自动配置,从而解决了现有技术 中依靠设备预置 APN进行配置时存在预置 APN 出错会导致数据业 务建立失败的问题。 当用户设备中未预置与目标数据业务类型对应 的 APN信息或预置出错时,仍可以自动为用户设备设置可用的 APN 信息, 建立目标数据业务, 因此, 本发明相对于现有技术, 不受设 备中 APN预置情况的影响, APN配置操作简便且不易出错, 数据业 务建立的成功率更高。
本发明的实施例提供了一种用户设备 00 , 与前述实施例提供的 APN配置方法相对应, 如图 5所示, 该用户设备 00包括:
第一获取单元 001 , 用于获取目标数据业务的目标业务类型。 发送单元 002 , 用于通过默认 PDN连接, 向配置服务器发送目 标业务类型。
其中, 默认 PDN连接为用户设备 00在开机附着过程中接入默 认 PDN时建立的连接, 配置服务器中预置了至少一种业务类型及其 对应的 APN信息。
第一接收单元 003 , 用于接收配置服务器在获取目标业务类型 对应的目标 APN信息后,向用户设备 00反馈发送的目标 APN信息。
配置单元 004 , 用于根据目标 APN信息进行 APN的设置。
需说明的是, 其中虚线表示单元之间可以具备连接关系, 也可 以不具备直接的连接关系, 比如发送单元 002 和第一接收单元 003 都是用于与装置外的设备进行交互的, 发送单元 002 可以在发送了 信息之后通知第一接收单元 003 , 也可以没有通知。
可选的, 如图 6所示, 该用户设备 00还可以包括:
确定单元 005 , 用于在发送单元 002 向配置服务器发送目标业 务类型之前, 确定用户设备 00 中未预置与目标业务类型对应的目标 APN信息。
可选的,默认 PDN连接可以为用户设备 00 中的 Modem与默认 PDN 之间的连接, 用户设备的应用层与 Modem 之间不存在与默认 APN信息对应的数据通道, 发送单元 002可以具体用于:
获取默认 APN信息, 默认 APN信息为用户设备 00在建立默认 PDN连接时所使用的 APN信息;
根据默认 APN信息建立数据通道;
根据预设地址信息,经由该数据通道及默认 PDN连接向配置服 务器发送目标业务类型。
其中, 预设地址信息用于指示配置服务器在网络中的地址。 可选的, 配置服务器可以为 XCAP服务器, XCAP服务器中存 储了一个或多个 XML文件, 各 XML文件中记录了一种业务类型与 其对应的 APN信息, 并以其中指示的 APN信息类型为索引与业务 类型进行对应。
第一接收单元 003可以具体用于:
在 XCAP服务器根据目标业务类型确定记录了对应 APN信息的 目标 XML文件, 并向用户设备 00反馈发送目标 XML文件后, 接收 目标 XML文件, 解析获取目标 APN信息。
本发明实施例提供一种用户设备, 用于实施前述实施例所提供 的 APN 配置方法, 通过获取目标业务类型, 使用默认 PDN连接与 配置服务器进行交互获取目标业务类型对应的目标 APN信息, 进而 使用该目标 APN信息进行 APN的设置。 这样, 实现了 LTE应用场 景下用户设备的 APN 自动配置, 解决了设备预置 APN 出错会导致 数据业务建立失败、 数据业务建立成功率低的问题, 且避免了复杂 的配置操作。
本发明的实施例还提供了一种配置服务器 01 , 与前述实施例提 供的 APN配置方法相对应, 如图 7所示, 该配置服务器 01 包括: 第二接收单元 01 1 , 用于接收用户设备发送的目标数据业务的 目标业务类型。
第二获取单元 012 , 用于根据预设对应规则, 结合目标业务类 型获取对应的目标 APN信息。
其中,预设对应规则为配置服务器 01 中预置的至少一种业务类 型与 APN信息的对应关系。
反馈单元 013 , 用于向用户设备反馈发送目标 APN信息, 以便 用户设备根据目标 APN信息进行 APN的设置。
可选的, 配置服务器 01可以为 XCAP服务器, 预设对应规则可 以包括 XCAP服务器中存储的一个或多个 XML文件, 各 XML文件 中记录了一种业务类型与其对应的 APN信息,并以其中指示的 APN 信息类型为索引与业务类型进行对应。 第二获取单元 012可以具体用于: 根据目标业务类型确定记录 了对应 APN信息的目标 XML文件。
反馈单元 013 可以具体用于: 向用户设备反馈发送目标 XML 文件。
本发明的实施例提供一种配置服务器, 用于实施前述实施例所 提供的 APN配置方法, 通过接收用户设备发送的目标业务类型, 确 定该目标业务类型对应的目标 APN信息, 进而向用户设备反馈发送 该目标 APN信息, 以便用户设备根据该目标 APN信息进行的设置。 这样, 实现了 LTE应用场景下用户设备的 APN 自动配置, 解决了设 备预置 APN出错会导致数据业务建立失败、 数据业务建立成功率低 的问题, 且避免了复杂的配置操作。
本发明的实施例提供了一种用户设备 02 , 与前述实施例提供的 APN配置方法相对应, 如图 8所示, 该用户设备 02 包括:
总线 021、 以及连接到总线 021 的处理器 022、 存储器 023和接 口 024 , 其中接口 024用于实现各节点之间的连接通信;
该存储器 023用于存储指令, 该处理器 022执行该指令具体用 于: 获取目标数据业务的目标业务类型。
该处理器 022执行该指令还用于通过默认 PDN连接, 向配置服 务器发送目标业务类型。
其中, 默认 PDN连接为用户设备 02在开机附着过程中接入默 认 PDN时建立的连接, 配置服务器中预置了至少一种业务类型及其 对应的 APN信息。
该处理器 022执行该指令还用于接收配置服务器在获取目标业 务类型对应的目标 APN信息后,向用户设备 02反馈发送的目标 APN 信息。
该处理器 022 执行该指令还用于根据目标 APN信息进行 APN 的设置。
在本发明实施例中, 可选的, 该处理器 022执行该指令可以具 体用于: 在向配置服务器发送目标业务类型之前, 确定用户设备 02 中未预置与目标业务类型对应的目标 APN信息。
在本发明实施例中, 可选的, 默认 PDN 连接可以为用户设备 02中的 Modem与默认 PDN之间的连接,用户设备的应用层与 Modem 之间不存在与默认 APN信息对应的数据通道, 该处理器 022执行该 指令可以具体用于:
获取默认 APN信息, 默认 APN信息为用户设备 02在建立默认 PDN连接时所使用的 APN信息;
根据默认 APN信息建立数据通道;
根据预设地址信息,经由该数据通道及默认 PDN连接向配置服 务器发送目标业务类型。
其中, 预设地址信息用于指示配置服务器在网络中的地址。 在本发明实施例中, 可选的, 配置服务器可以为 XCAP服务器,
XCAP服务器中存储了一个或多个 XML文件, 各 XML文件中记录 了一种业务类型与其对应的 APN信息, 并以其中指示的 APN信息 类型为索引与业务类型进行对应。
该处理器 022执行该指令可以具体用于:
在 XCAP服务器根据目标业务类型确定记录了对应 APN信息的 目标 XML文件, 并向用户设备 02反馈发送目标 XML文件后, 接收 目标 XML文件, 解析获取目标 APN信息。
本发明实施例提供一种用户设备, 用于实施前述实施例所提供 的 APN 配置方法, 通过获取目标业务类型, 使用默认 PDN连接与 配置服务器进行交互获取目标业务类型对应的目标 APN信息, 进而 使用该目标 APN信息进行 APN的设置。 这样, 实现了 LTE应用场 景下用户设备的 APN 自动配置, 解决了设备预置 APN 出错会导致 数据业务建立失败、 数据业务建立成功率低的问题, 且避免了复杂 的配置操作。
本发明的实施例还提供了一种配置服务器 03 , 与前述实施例提 供的 APN配置方法相对应, 如图 9所示, 该配置服务器 03 包括: 总线 03 1、 以及连接到总线 03 1 的处理器 032、 存储器 033和接 口 034 , 其中接口 034用于实现各节点之间的连接通信; 该存储器 033用于存储指令, 该处理器 032执行该指令具体用 于接收用户设备发送的目标数据业务的目标业务类型。
该处理器 032执行该指令还用于根据预设对应规则, 结合目标 业务类型获取对应的目标 APN信息。
其中,预设对应规则为配置服务器 03 中预置的至少一种业务类 型与 APN信息的对应关系。
该处理器 032执行该指令还用于向用户设备反馈发送目标 APN 信息, 以便用户设备根据目标 APN信息进行 APN的设置。
在本发明实施例中, 可选的, 配置服务器 03可以为 XCAP服务 器, 预设对应规则可以包括 XCAP服务器中存储的一个或多个 XML 文件, 各 XML文件中记录了一种业务类型与其对应的 APN信息, 并以其中指示的 APN信息类型为索引与业务类型进行对应。
该处理器 032执行该指令可以具体用于: 根据目标业务类型确 定记录了对应 APN信息的目标 XML文件; 向用户设备反馈发送目 标 XML文件。
本发明的实施例提供一种配置服务器, 用于实施前述实施例所 提供的 APN配置方法, 通过接收用户设备发送的目标业务类型, 确 定该目标业务类型对应的目标 APN信息, 进而向用户设备反馈发送 该目标 APN信息, 以便用户设备根据该目标 APN信息进行 APN的 设置。 这样, 实现了 LTE应用场景下用户设备的 APN 自动配置, 解 决了设备预置 APN 出错会导致数据业务建立失败、 数据业务建立成 功率低的问题, 且避免了复杂的配置操作。
可见, 本发明的实施例提供一种 APN配置方法、 用户设备和配 置服务器, 通过用户设备获取目标业务类型, 使用默认 PDN连接与 配置服务器进行交互获取目标业务类型对应的目标 APN信息, 并使 用该目标 APN信息进行 APN的设置。 这样, 实现了 LTE应用场景 下用户设备的 APN 自动配置, 从而解决了现有技术中依靠设备预置 APN 进行配置时存在预置 APN 出错会导致数据业务建立失败的问 题。 当用户设备中未预置与目标数据业务类型对应的 APN信息或预 置出错时, 仍可以 自动为用户设备设置可用的 APN信息, 建立目标 数据业务, 因此, 本发明相对于现有技术, 不受设备中 APN预置情 况的影响, APN配置操作简便且不易出错, 数据业务建立的成功率 更高, 用户体验更优。
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统, 装置和方法, 可以通过其它的方式实现。 例如, 以上所描述的装置 实施例仅仅是示意性的, 例如, 所述单元的划分, 仅仅为一种逻辑 功能划分, 实际实现时可以有另外的划分方式, 例如多个单元或组 件可以结合或者可以集成到另一个系统, 或一些特征可以忽略, 或 不执行。 另一点, 所显示或讨论的相互之间的耦合或直接耦合或通 信连接可以是通过一些接口, 装置或单元的间接耦合或通信连接, 可以是电性, 机械或其它的形式。
另外, 在本发明各个实施例中的各功能单元可以集成在一个处 理单元中, 也可以是各个单元单独物理包括, 也可以两个或两个以 上单元集成在一个单元中。 上述集成的单元既可以采用硬件的形式 实现, 也可以采用硬件加软件功能单元的形式实现。
上述以软件功能单元的形式实现的集成的单元, 可以存储在一 个计算机可读取存储介质中。 上述软件功能单元存储在一个存储介 质中, 包括若干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备等) 执行本发明各个实施例所述方法的部分 步骤。 而前述的存储介质包括: U 盘、 移动硬盘、 只读存储器 ( Read-Only Memory ,简称 ROM )、随机存取存储器( Random Access Memory , 简称 RAM )、 磁碟或者光盘等各种可以存储程序代码的介 以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围 并不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技 术范围内, 可轻易想到变化或替换, 都应涵盖在本发明的保护范围 之内。 因此, 本发明的保护范围应所述以权利要求的保护范围为准。

Claims

权 利 要 求 书
1、 一种接入点 APN配置方法, 其特征在于, 所述方法包括: 用户设备获取目标数据业务的目标业务类型;
通过默认分组数据网络( PDN ) 连接, 向配置服务器发送所述目 标业务类型, 所述默认 PDN 连接为所述用户设备在开机附着过程中 接入默认 PDN 时建立的连接, 所述配置服务器中预置了至少一种业 务类型及其对应的 APN信息;
接收所述配置服务器在获取所述目标业务类型对应的目标 APN 信息后, 向所述用户设备反馈发送的所述目标 APN信息;
根据所述目标 APN信息进行 APN的设置。
2、 根据权利要求 1 所述的方法, 其特征在于, 在所述通过默认 PDN连接, 向配置服务器发送所述目标业务类型之前, 所述方法还包 括:
确定所述用户设备中未预置与所述目标业务类型对应的所述目 标 APN信息。
3、 根据权利要求 1或 2所述的方法, 其特征在于,
所述默认 PDN连接为所述用户设备中的调制解调器 ( Modem ) 与所述默认 PDN 之间的连接, 若所述用户设备的应用层与所述 Modem之间不存在与所述默认 APN信息对应的数据通道时, 所述通 过默认 PDN连接, 向配置服务器发送所述目标业务类型包括:
获取默认 APN信息, 所述默认 APN信息为所述用户设备在建立 所述默认 PDN连接时所使用的 APN信息;
根据所述默认 APN信息建立所述数据通道;
根据预设地址信息, 经由所述数据通道及所述默认 PDN连接向 所述配置服务器发送所述目标业务类型, 所述预设地址信息用于指示 所述配置服务器在网络中的地址。
4、 根据权利要求 1至 3任一所述的方法, 其特征在于,
所述配置服务器为可扩展标记语言配置访问协议 ( XCAP ) 服务 器, 所述 XCAP服务器中存储了一个或多个可扩展标记语言 (XML ) 文件,各所述 XML文件中记录了一种业务类型与其对应的 APN信息; 所述接收所述配置服务器在获取所述目标业务类型对应的目标
APN信息后, 向所述用户设备反馈发送的所述目标 APN信息包括: 在所述 XCAP 服务器根据所述目标业务类型确定记录了对应
APN 信息的目标 XML 文件, 并向所述用户设备反馈发送所述目标
XML文件后, 接收所述目标 XML文件, 解析获取所述目标 APN信 息。
5、 一种接入点 APN配置方法, 其特征在于, 所述方法包括: 配置服务器接收用户设备发送的目标数据业务的目标业务类型; 根据预设对应规则,结合所述目标业务类型获取对应的目标 APN 信息, 所述预设对应规则为所述配置服务器中预置的至少一种业务类 型与 APN信息的对应关系;
向所述用户设备反馈发送所述目标 APN信息, 以便所述用户设 备根据所述目标 APN信息进行 APN的设置。
6、 根据权利要求 5所述的方法, 其特征在于,
所述配置服务器为可扩展标记语言配置访问协议 ( XCAP ) 服务 器,所述预设对应规则包括所述 XCAP服务器中存储的一个或多个可 扩展标记语言 (XML ) 文件, 各所述 XML文件中记录了一种业务类 型与其对应的 APN信息;
所述根据预设对应规则,结合所述目标业务类型获取对应的目标 接入点 APN信息包括: 根据所述目标业务类型确定记录了对应 APN 信息的目标 XML文件;
所述向所述用户设备反馈发送所述目标 APN信息包括: 向所述 用户设备反馈发送所述目标 XML文件。
7、 一种用户设备, 其特征在于, 所述用户设备包括:
第一获取单元, 用于获取目标数据业务的目标业务类型; 发送单元, 用于通过默认分组数据网络 ( PDN ) 连接, 向配置服 务器发送所述目标业务类型, 所述默认 PDN 连接为所述用户设备在 开机附着过程中接入默认 PDN 时建立的连接, 所述配置服务器中预 置了至少一种业务类型及其对应的接入点 ( APN ) 信息;
第一接收单元,用于接收所述配置服务器在获取所述目标业务类 型对应的目标 APN 信息后, 向所述用户设备反馈发送的所述目标 APN信息;
配置单元, 用于根据所述目标 APN信息进行 APN的设置。
8、 根据权利要求 7所述的用户设备, 其特征在于, 所述用户设 备还包括:
确定单元,用于在所述发送单元向所述配置服务器发送所述目标 业务类型之前, 确定所述用户设备中未预置与所述目标业务类型对应 的所述目标 APN信息。
9、 根据权利要求 7或 8所述的用户设备, 其特征在于,
所述默认 PDN连接为所述用户设备中的调制解调器 ( Modem ) 与所述默认 PDN 之间的连接, 若所述用户设备的应用层与所述 Modem之间不存在与所述默认 APN信息对应的数据通道时, 所述发 送单元具体用于:
获取默认 APN信息, 所述默认 APN信息为所述用户设备在建立 所述默认 PDN连接时所使用的 APN信息;
根据所述默认 APN信息建立所述数据通道;
根据预设地址信息, 经由所述数据通道及所述默认 PDN连接向 所述配置服务器发送所述目标业务类型, 所述预设地址信息用于指示 所述配置服务器在网络中的地址。
10、 根据权利要求 7至 9任一所述的用户设备, 其特征在于, 所述配置服务器为可扩展标记语言配置访问协议 ( XCAP ) 服务 器, 所述 XCAP服务器中存储了一个或多个可扩展标记语言 (XML ) 文件,各所述 XML文件中记录了一种业务类型与其对应的 APN信息; 所述第一接收单元具体用于:
在所述 XCAP 服务器根据所述目标业务类型确定记录了对应 APN 信息的目标 XML 文件, 并向所述用户设备反馈发送所述目标 XML文件后, 接收所述目标 XML文件, 解析获取所述目标 APN信 息。
1 1、 一种配置服务器, 其特征在于, 所述配置服务器包括: 第二接收单元,用于接收用户设备发送的目标数据业务的目标业 务类型;
第二获取单元, 用于根据预设对应规则, 结合所述目标业务类型 获取对应的目标接入点 (APN ) 信息, 所述预设对应规则为所述配置 服务器中预置的至少一种业务类型与 APN信息的对应关系;
反馈单元, 用于向所述用户设备反馈发送所述目标 APN信息, 以便所述用户设备根据所述目标 APN信息进行 APN的设置。
12、 根据权利要求 1 1所述的配置服务器, 其特征在于, 所述配置服务器为可扩展标记语言配置访问协议 ( XCAP ) 服务 器,所述预设对应规则包括所述 XCAP服务器中存储的一个或多个可 扩展标记语言 (XML ) 文件, 各所述 XML文件中记录了一种业务类 型与其对应的 APN信息;
所述第二获取单元具体用于:根据所述目标业务类型确定记录了 对应 APN信息的目标 XML文件;
所述反馈单元具体用于: 向所述用户设备反馈发送所述目标 XML文件。
13、 一种用户设备, 其特征在于, 所述用户设备包括: 总线、 以 及连接到所述总线的处理器、 存储器和接口; 所述存储器用于存储指 令; 所述处理器执行所述指令用于:
获取目标数据业务的目标业务类型;
通过默认分组数据网络( PDN ) 连接, 向配置服务器发送所述目 标业务类型, 所述默认 PDN 连接为所述用户设备在开机附着过程中 接入默认 PDN 时建立的连接, 所述配置服务器中预置了至少一种业 务类型及其对应的接入点 ( APN ) 信息;
接收所述配置服务器在获取所述目标业务类型对应的目标 APN 信息后, 向所述用户设备反馈发送的所述目标 APN信息;
根据所述目标 APN信息进行 APN的设置。
14、 根据权利要求 13 所述的用户设备, 其特征在于, 所述处理 器执行所述指令具体用于:
在所述向配置服务器发送所述目标业务类型之前,确定所述用户 设备中未预置与所述目标业务类型对应的所述目标 APN信息。
15、 根据权利要求 13或 14所述的用户设备, 其特征在于, 所述默认 PDN连接为所述用户设备中的调制解调器 ( Modem ) 与所述默认 PDN 之间的连接, 若所述用户设备的应用层与所述 Modem之间不存在与所述默认 APN信息对应的数据通道时, 所述处 理器执行所述指令具体用于:
获取默认 APN信息, 所述默认 APN信息为所述用户设备在建立 所述默认 PDN连接时所使用的 APN信息;
根据所述默认 APN信息建立所述数据通道;
根据预设地址信息, 经由所述数据通道及所述默认 PDN连接向 所述配置服务器发送所述目标业务类型, 所述预设地址信息用于指示 所述配置服务器在网络中的地址。
16、 根据权利要求 13至 15任一所述的用户设备, 其特征在于, 所述配置服务器为可扩展标记语言配置访问协议 ( XCAP ) 服务 器, 所述 XCAP服务器中存储了一个或多个可扩展标记语言 (XML ) 文件,各所述 XML文件中记录了一种业务类型与其对应的 APN信息; 所述处理器执行所述指令具体用于:
在所述 XCAP 服务器根据所述目标业务类型确定记录了对应 APN 信息的目标 XML 文件, 并向所述用户设备反馈发送所述目标 XML文件后, 接收所述目标 XML文件, 解析获取所述目标 APN信 息。
17、 一种配置服务器, 其特征在于, 所述配置服务器包括: 总线、 以及连接到所述总线的处理器、 存储器和接口; 所述存储器用于存储 指令; 所述处理器执行所述指令用于:
接收用户设备发送的目标数据业务的目标业务类型;
根据预设对应规则,结合所述目标业务类型获取对应的目标接入 点 ( APN ) 信息, 所述预设对应规则为所述配置服务器中预置的至少 一种业务类型与 APN信息的对应关系;
向所述用户设备反馈发送所述目标 APN信息, 以便所述用户设 备根据所述目标 APN信息进行 APN的设置。
18、 根据权利要求 17所述的配置服务器, 其特征在于, 所述配置服务器为可扩展标记语言配置访问协议 ( XCAP ) 服务 器,所述预设对应规则包括所述 XCAP服务器中存储的一个或多个可 扩展标记语言 (XML ) 文件, 各所述 XML文件中记录了一种业务类 型与其对应的 APN信息;
所述处理器执行所述指令具体用于:
根据所述目标业务类型确定记录了对应 APN 信息的目标 XML 文件; 向所述用户设备反馈发送所述目标 XML文件。
PCT/CN2014/082591 2014-07-21 2014-07-21 一种apn配置方法、用户设备和配置服务器 WO2016011572A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201480080709.5A CN106576285B (zh) 2014-07-21 2014-07-21 一种apn配置方法、用户设备和配置服务器
PCT/CN2014/082591 WO2016011572A1 (zh) 2014-07-21 2014-07-21 一种apn配置方法、用户设备和配置服务器

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/082591 WO2016011572A1 (zh) 2014-07-21 2014-07-21 一种apn配置方法、用户设备和配置服务器

Publications (1)

Publication Number Publication Date
WO2016011572A1 true WO2016011572A1 (zh) 2016-01-28

Family

ID=55162382

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/082591 WO2016011572A1 (zh) 2014-07-21 2014-07-21 一种apn配置方法、用户设备和配置服务器

Country Status (2)

Country Link
CN (1) CN106576285B (zh)
WO (1) WO2016011572A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924828A (zh) * 2018-06-25 2018-11-30 中国联合网络通信集团有限公司 一种apn自适应方法、服务端和终端
CN109862555A (zh) * 2019-03-04 2019-06-07 环球天成科技(无锡)有限公司 用户终端apn更新方法、服务器及用户终端

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213765A (zh) * 2019-04-23 2019-09-06 努比亚技术有限公司 Apn信息获取方法、终端、服务器及存储介质
CN111615103A (zh) * 2020-04-30 2020-09-01 展讯通信(上海)有限公司 自动配置apn的处理方法、系统、电子设备及存储介质
CN112333673A (zh) * 2020-10-12 2021-02-05 联通智网科技有限公司 一种接入点通道建立方法、装置、配置服务器和终端设备
CN113938988B (zh) * 2021-09-30 2024-02-27 东莞华贝电子科技有限公司 公用数据网pdn连接方法、终端及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068439A (zh) * 2007-06-01 2007-11-07 中国移动通信集团公司 一种通信方法、移动终端、接入点设备和通信系统
US20080102827A1 (en) * 2006-10-31 2008-05-01 Lg Electronics Inc. Method for operating mobile communication terminal, mobile communication system, and method for providing contents thereof
CN101335914A (zh) * 2008-04-03 2008-12-31 广州科讯技术有限公司 解决gprs终端上网设置障碍的系统及方法
CN102026152A (zh) * 2010-11-25 2011-04-20 中兴通讯股份有限公司 一种移动终端及实现接入点名称设置的系统和方法
US20140146747A1 (en) * 2012-11-23 2014-05-29 Oberthur Technologies Method of establishing an ip connection in a mobile network and various corresponding equipment items

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101909326B (zh) * 2010-08-17 2014-08-13 中兴通讯股份有限公司 一种接入点的选择方法及装置
US9526119B2 (en) * 2011-06-29 2016-12-20 Telefonaktiebolaget Lm Ericsson (Publ) Methods and apparatus for multiple data packet connections
CN103763754B (zh) * 2014-01-26 2017-07-14 华为技术有限公司 一种数据处理的方法、装置及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080102827A1 (en) * 2006-10-31 2008-05-01 Lg Electronics Inc. Method for operating mobile communication terminal, mobile communication system, and method for providing contents thereof
CN101068439A (zh) * 2007-06-01 2007-11-07 中国移动通信集团公司 一种通信方法、移动终端、接入点设备和通信系统
CN101335914A (zh) * 2008-04-03 2008-12-31 广州科讯技术有限公司 解决gprs终端上网设置障碍的系统及方法
CN102026152A (zh) * 2010-11-25 2011-04-20 中兴通讯股份有限公司 一种移动终端及实现接入点名称设置的系统和方法
US20140146747A1 (en) * 2012-11-23 2014-05-29 Oberthur Technologies Method of establishing an ip connection in a mobile network and various corresponding equipment items

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924828A (zh) * 2018-06-25 2018-11-30 中国联合网络通信集团有限公司 一种apn自适应方法、服务端和终端
CN108924828B (zh) * 2018-06-25 2021-08-31 中国联合网络通信集团有限公司 一种apn自适应方法、服务端和终端
CN109862555A (zh) * 2019-03-04 2019-06-07 环球天成科技(无锡)有限公司 用户终端apn更新方法、服务器及用户终端

Also Published As

Publication number Publication date
CN106576285B (zh) 2020-09-04
CN106576285A (zh) 2017-04-19

Similar Documents

Publication Publication Date Title
EP3860189B1 (en) Ue migration method, apparatus, system, and storage medium
EP3557913B1 (en) Network slice selection policy updating method and apparatus
WO2016011572A1 (zh) 一种apn配置方法、用户设备和配置服务器
EP2404457B1 (en) Device determination
JP5426499B2 (ja) 端末装置の設定
US8433807B2 (en) Method, system, and apparatus for processing access prompt information
EP2091210B1 (en) Message processing method, system, server and terminal
EP3747173B1 (en) Service based p-cscf discovery
US9131473B2 (en) Method, device, and communication system for establishing connection with network management system
US10757645B2 (en) Access control in communications network comprising slices
EP2348784A1 (en) Terminal apparatus configuring method, device, terminal and terminal apparatus
US10542472B2 (en) Method for configuring a terminal connected to a communications network
MX2007001440A (es) Metodo para transmitir datos de alta o de baja especificos de la aplicacion y sistema, servidor, y terminal de comunicacion para el mismo.____________________________________________________.
US9417887B2 (en) Method and apparatus for bootstrapping gateway in device management system
CN113491148A (zh) 用于支持事件监视的方法和装置
US9185731B2 (en) Self-configuration of an E-node-B
JP6807952B2 (ja) 通信サービスを端末通信装置に提供する通信ネットワークを決定する方法及び装置
CN112074001A (zh) 一种网络接入方法及通信装置
EP3669607B1 (en) Methods and devices for supporting network initiated pdu session establishment between an user equipment, ue, and a data network name, dnn, in a telecommunication network
WO2019154048A1 (zh) NB-IoT网络的通信方法、装置及存储介质
US20240007847A1 (en) eSIM PROFILE MANAGEMENT FOR WIRELESS DEVICES
WO2024006056A1 (en) eSIM PROFILE MANAGEMENT FOR WIRELESS DEVICES
CN114885009A (zh) 一种信息更新方法、系统、电子设备及存储介质
KR20140071866A (ko) 호 처리 제어 방법 및 장치

Legal Events

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

Ref document number: 14898245

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: 14898245

Country of ref document: EP

Kind code of ref document: A1