Embodiments of the present application relate to communications technologies, and in particular, to a method and an apparatus for determining gateway information.
When user equipment roams from a home location to a roaming location (the home location refers to an area in which the user equipment subscribes to a service, and the roaming location refers to an area, beyond the home location, in which the user equipment currently is located), if the user equipment uses a voice service, a data service, and the like in the roaming location, because of charging and service management, a Mobility Management Entity (MME), a Serving GPRS Support Node (SGSN), and the like in the roaming location usually need to control a related service to return to a home gateway, and the home gateway performs specific charging, service management, and the like. Gateway information of the home gateway of the user equipment needs to be first determined, so that the MME or the SGSN returns the service of the user equipment to the home gateway.
In the prior art, a domain name is generated according to a number segment of the user equipment, and the gateway information of the home gateway is determined according to a correspondence between a domain name and gateway information. Because of a large quantity of user equipments and excessive number segments of the user equipments, a Domain Name Server (DNS), a local host file of the MME, or a local host file of the SGSN needs to configure and maintain domain names including all number segments, and consequently maintenance costs of an operator are high.
Embodiments of the present disclosure provide a method and an apparatus for determining gateway information, so as to reduce maintenance costs of an operator.
A first aspect of embodiments of the present disclosure provides a method for determining gateway information, including:
obtaining, by a first device, first information of user equipment, where the first information of the user equipment is used to indicate an area in which the user equipment subscribes to a service; and
determining, by the first device, gateway information corresponding to a first domain name, where the first domain name includes the first information of the user equipment, and the gateway information is used to indicate a gateway in the area.
With reference to the first aspect, in a first possible implementation manner, the determining, by the first device, gateway information corresponding to a first domain name includes:
performing, by the first device, query in a first correspondence according to the first domain name, where a result of the query is the gateway information corresponding to the first domain name, and the first correspondence includes a correspondence between the first domain name and the gateway information.
With reference to the first possible implementation manner, in a second possible implementation manner, the first correspondence is stored in the first device.
With reference to the first aspect, in a third possible implementation manner, the determining, by the first device, gateway information corresponding to a first domain name includes:
sending, by the first device, the first domain name to a domain name server DNS; and
receiving, by the first device, the gateway information that is corresponding to the first domain name and that is sent by the DNS, where the DNS stores a correspondence between the first domain name and the gateway information.
With reference to any one of the first aspect, or the first to the third possible implementation manners of the first aspect, in a fourth possible implementation manner, the obtaining, by a first device, first information of user equipment includes:
obtaining, from a second device by the first device, the first information of the user equipment, where the second device is configured to store the first information.
With reference to any one of the first aspect, or the first to the third possible implementation manners of the first aspect, in a fifth possible implementation manner, the obtaining, by a first device, first information of user equipment includes:
obtaining, by the first device, device information of a second device, and obtaining the first information of the user equipment according to the device information of the second device.
With reference to the fifth possible implementation manner, in a sixth possible implementation manner, the device information of the second device is a host name of the second device or a number of the second device, and the first information is area information in the host name of the second device or an area code in the number of the second device.
With reference to any one of the first aspect, or the first to the sixth possible implementation manners of the first aspect, in a seventh possible implementation manner, the first device is a mobility management entity MME, a serving general packet radio service support node SGSN, a high rate packet data serving gateway HSGW, a transparent gateway TGW, a serving gateway SGW, or a packet gateway PGW.
With reference to anyone of the fourth to the seventh possible implementation manners of the first aspect, in an eighth possible implementation manner, the second device is a home location register HLR, a home subscriber server HSS, an authentication, authorization and accounting AAA server, a policy and charging rules function PCRF unit, or an online charging system OCS.
With reference to any one of the first aspect, or the first to the eighth possible implementation manners of the first aspect, in a ninth possible implementation manner, the gateway information includes an identifier of the gateway, and the first information of the user equipment includes an index of a first-level administrative region including the area.
A second aspect of embodiments of the present disclosure provides a method for determining gateway information, including:
receiving, by a third device, a first domain name of user equipment, where the first domain name includes first information of the user equipment, and the first information is used to indicate an area in which the user equipment subscribes to a service; and
determining, by the third device, gateway information corresponding to the first domain name, where the gateway information is used to indicate a gateway in the area.
With reference to the second aspect, in a first possible implementation manner, the determining, by the third device, gateway information corresponding to the first domain name includes:
performing, by the third device, query in a first correspondence according to the first domain name, where a result of the query is the gateway information corresponding to the first domain name, the first correspondence includes a correspondence between the first domain name and the gateway information, and the first correspondence is stored in the third device.
With reference to the second aspect or the first possible implementation manner, in a second possible implementation manner, the third device is a domain name server DNS.
With reference to the second aspect or the first or the second possible implementation manner, in a third possible implementation manner, the gateway information includes an identifier of the gateway, and the first information of the user equipment includes an index of a first-level administrative region including the area.
A third aspect of embodiments of the present disclosure provides an apparatus for determining gateway information, including:
an obtaining module, configured to obtain first information of user equipment, where the first information of the user equipment is used to indicate an area in which the user equipment subscribes to a service; and
a processing module, configured to determine gateway information corresponding to a first domain name, where the first domain name includes the first information of the user equipment, and the gateway information is used to indicate a gateway in the area.
With reference to the third aspect, in a first possible implementation manner, the processing module is specifically configured to perform query in a first correspondence according to the first domain name, where a result of the query is the gateway information corresponding to the first domain name, and the first correspondence includes a correspondence between the first domain name and the gateway information.
With reference to the first possible implementation manner, in a second possible implementation manner, the apparatus further includes:
a storage module, configured to store the first correspondence.
With reference to the third aspect, in a third possible implementation manner, the processing module is specifically configured to: send the first domain name to a domain name server DNS, and receive the gateway information that is corresponding to the first domain name and that is sent by the DNS, where the DNS stores a correspondence between the first domain name and the gateway information.
With reference to any one of the third aspect, or the first to the third possible implementation manners of the third aspect, in a fourth possible implementation manner, the obtaining module is specifically configured to obtain the first information of the user equipment from a second device, where the second device is configured to store the first information.
With reference to any one of the third aspect, or the first to the third possible implementation manners of the third aspect, in a fifth possible implementation manner, the obtaining module is specifically configured to: obtain device information of a second device, and obtain the first information of the user equipment according to the device information of the second device.
With reference to the fifth possible implementation manner, in a sixth possible implementation manner, the device information of the second device is a host name of the second device or a number of the second device, and the first information is area information in the host name of the second device or an area code in the number of the second device.
With reference to any one of the third aspect, or the first to the sixth possible implementation manners of the third aspect, in a seventh possible implementation manner, the apparatus for determining gateway information is deployed in a mobility management entity MME, a serving general packet radio service support node SGSN, a high rate packet data serving gateway HSGW, a transparent gateway TGW, a serving gateway SGW, or a packet gateway PGW.
With reference to anyone of the fourth to the seventh possible implementation manners of the third aspect, in an eighth possible implementation manner, the second device is a home location register HLR, a home subscriber server HSS, an authentication, authorization and accounting AAA server, a policy and charging rules function PCRF unit, or an online charging system OCS.
With reference to any one of the third aspect, or the first to the eighth possible implementation manners of the third aspect, in a ninth possible implementation manner, the gateway information includes an identifier of the gateway, and the first information of the user equipment includes an index of a first-level administrative region including the area.
A fourth aspect of embodiments of the present disclosure provides an apparatus for determining gateway information, including:
a receiving module, configured to receive a first domain name of user equipment, where the first domain name includes first information of the user equipment, and the first information is used to indicate an area in which the user equipment subscribes to a service; and
a processing module, configured to determine gateway information corresponding to the first domain name, where the gateway information is used to indicate a gateway in the area.
With reference to the fourth aspect, in a first possible implementation manner, the processing module is configured to perform query in a first correspondence according to the first domain name, where a result of the query is the gateway information corresponding to the first domain name, the first correspondence includes a correspondence between the first domain name and the gateway information, and the first correspondence is stored in the third device.
With reference to the fourth aspect or the first possible implementation manner, in a second possible implementation manner, the apparatus for determining gateway information is deployed in a domain name server DNS.
With reference to the fourth aspect or the first or the second possible implementation manner, in a third possible implementation manner, the gateway information includes an identifier of the gateway, and the first information of the user equipment includes an index of a first-level administrative region including the area.
According to the method and the apparatus for determining gateway information provided in the embodiments of the present disclosure, a first device obtains first information of user equipment, where the first information of the user equipment is used to indicate an area in which the user equipment subscribes to a service, and the first device determines gateway information corresponding to a first domain name, where the first domain name includes the first information of the user equipment. The first domain name includes the first information of the user equipment, and the first information is used to indicate the area in which the user equipment subscribes to the service. Compared with a method in which a number segment is used to generate a domain name, this reduces a quantity of domain names that need to be configured and maintained, and reduces maintenance costs of an operator.
To describe the technical solutions in the embodiments of the present disclosure more clearly, the following briefly describes the accompanying drawings required for describing the embodiments or the prior art. Apparently, the accompanying drawings in the following description show merely some embodiments of the present disclosure, and persons of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
The following clearly describes the technical solutions in the embodiments of the present disclosure with reference to the accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are merely some but not all of the embodiments of the present disclosure. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present disclosure without creative efforts shall fall within the protection scope of the present disclosure.
A domain name is generated according to a number segment of user equipment, and gateway information is determined according to a correspondence between the domain name and the gateway information. Generally, a DNS stores the correspondence between the domain name and the gateway information, or a local host file of an MME stores the correspondence between the domain name and the gateway information, or a local host file of an SGSN stores the correspondence between the domain name and the gateway information. The MME or the SGSN may determine the gateway information of the user equipment by using the correspondence between the domain name and the gateway information. The domain name is a name that is of a specific gateway or a set of gateways (a gateway pool) in a network and that includes a string of dot-separated names. For example, the domain name includes a number segment of the user equipment, a network identifier, an operator, a country code, a network type, and the like, such as 1862107.3gnet.mnc002.mcc460.gprs. When determining the gateway information of the user equipment, the MME or the SGSN searches for the DNS, or the local host file of the MME, or the local host file of the SGSN by using the domain name, and then determines the gateway information corresponding to the domain name according to the correspondence between the domain name and the gateway information stored in the DNS, the local host file of the MME, or the local host file of the SGSN. Specifically, the number segment may be a network identification number and a region code. For example, in China, the first three digits in a number are the network identification number, and the fourth to the seventh digits are the region code. This is not limited in the present disclosure. However, the domain name is generated according to the number segment of the user equipment, and the gateway information is determined according to the correspondence between the domain name and the gateway information. Due to a large quantity of user equipments and excessive number segments of the user equipments, a domain name including all number segments needs to be configured and maintained in the DNS, the local host file of the MME, or the local host file of the SGSN, and consequently maintenance costs of an operator are high.
To resolve the foregoing problem, in the embodiments of the present disclosure, a domain name is generated mainly by changing an element constituting the domain name and according to information about an area in which the user equipment subscribes to a service, so as to optimize a constitution of the domain name and reduce a quantity of domain names that need to be configured and maintained, thereby reducing maintenance costs of an operator.
A method in the embodiments of the present disclosure may be applied to a 3GPP network, or may be applied to a non-3GPP network. A 3GPP network architecture is shown in
Specific embodiments are used below to describe in detail the technical solutions of the present disclosure. The following several specific embodiments may be combined with each other, and a same or similar concept or process may not be described repeatedly in some embodiments.
S201. The first device obtains first information of user equipment.
The first information of the user equipment is used to indicate an area in which the user equipment subscribes to a service.
A manner of obtaining the first information of the user equipment by the first device includes but is not limited to the following feasible implementation manners.
A first feasible implementation manner is that the first device obtains, from a second device, the first information of the user equipment, where the second device is configured to store the first information.
The second device may be a Home Location Register (HLR), a Home Subscriber Server (HSS), an Authentication, Authorization and Accounting (AAA) server, a Policy and Charging Rules Function, (PCRF) unit, or an online charging system (OCS), or another device for storing user subscription information.
Specifically, in the 3GPP network, the first information of the user equipment may be obtained by the MME or the SGSN from the HLR, the HSS, the AAA server, the PCRF, or the OCS, or may be locally configured by the MME/SGSN, or may be obtained from an operation and maintenance center.
In the non-3GPP network, the first information of the user equipment may be obtained by the HSGW/TGW from the AAA server or the PCRF, or may be locally configured by the HSGW/TGW, or may be obtained from an operation and maintenance center.
In the service scenario in which the SGW/PGW serves as an agent, the first information of the user equipment may be obtained by the SGW/PGW from the OCS, the AAA server, or the PCRF, or may be locally configured by the SGW/PGW, or may be obtained from an operation and maintenance center.
In the foregoing three scenarios, the operation and maintenance center refers to an operation center, a server in an operation center, or a server in a charging center.
A second feasible implementation manner is that the first device obtains device information of a second device, and obtains the first information of the user equipment according to the device information of the second device.
The device information of the second device is a host name of the second device or a number of the second device, and the first information is area information in the host name of the second device or an area code in the number of the second device.
For example, the second device is the HSS. The device information of the second device is a host name of the HSS, and the first information is area information in the host name of the HSS, for example, the host name of the HSS may be “<number>.<prefecture>.<province>.hss.epc.mnc002.mcc.460.3gpp3Gp pnetwork.org”. Both “<prefecture>” and “<province>” are area information, and “<province>” may be independently used as the first information, or “<prefecture>.<province>” may be used as the first information. A specific field of the first information in the host name of the HSS, or whether the host name of the HSS further includes other information, or the like is not limited in the present disclosure.
For example, the second device is the HLR. The device information of the second device is a number of the HLR. The number of the HLR uses an E.164 (International PSTN/ISDN numbers) encoding manner, and an encoding format is: country code (CC)+national destination code (NDC)+locally significant part (LSP).
The CC identifies a country in which user equipment (MS) is registered; the NDC identifies a public land mobile network (PLMN) corresponding to the user equipment, and an operator of the user equipment may be identified according to the information; the LSP uses an area-encoding manner that is jointly negotiated and determined by the operator and a numbering organization of a country in which a network of the operator is located, that is, the operator of the user equipment may be determined according to the NDC, and an area in which the user equipment subscribes to a service maybe determined according to the LSP. Therefore, the NDC+LSP in the number of the HLR is the area code in the number of the second device.
In the foregoing embodiment, the first information of the user equipment includes an index of a first-level administrative region including the area. Generally, an area in which user equipment subscribes to a service is divided by an operator according to an administrative region in the area (country). For example, in China, an area in which user equipment subscribes to a service is generally a provincial-level administrative region (that is, the first-level administrative region described above) or a prefectural-level administrative region (generally, a second-level administrative region). Alternatively, an area in which user equipment subscribes to a service may be divided by an operator according to a quantity of subscribers, and if a quantity of subscribers in an area reaches a relatively large threshold, the area may be the area in which the user equipment subscribes to a service. This is not limited in the present disclosure. Therefore, in the prior art, due to a large quantity of user equipments, excessive number segments of the user equipments, and excessive domain names generated according to the number segments of the user equipments in an area in which user equipment subscribes to a service, a domain name including all number segments needs to be configured and maintained in a DNS, a local host file of an MME, or a local host file of an SGSN, and maintenance costs of an operator are high.
S202. The first device determines gateway information corresponding to a first domain name, where the first domain name includes the first information of the user equipment, and the gateway information is used to indicate a gateway in the area.
A method for determining the gateway information corresponding to the first domain name by the first device includes but is not limited to the following manners.
A first feasible implementation manner is that the first device performs query in a first correspondence according to the first domain name, where a result of the query is the gateway information corresponding to the first domain name, and the first correspondence includes a correspondence between the first domain name and the gateway information. The first correspondence is stored in the first device.
A second feasible implementation manner is that the first device sends the first domain name to the DNS; and the first device receives gateway information that is corresponding to the first domain name and that is sent by the DNS, where the DNS stores a correspondence between the first domain name and the gateway information.
In the first feasible implementation manner or the second feasible implementation manner, the gateway information may be an IP address of a gateway in the area in which the user equipment subscribes to the service, a device name of a gateway in the area in which the user equipment subscribes to the service, an identifier of a gateway in the area in which the user equipment subscribes to the service, or the like. This is not limited in the present disclosure.
Accordingly, the first correspondence may be specifically a correspondence between the first domain name and the IP address of the gateway in the area in which the user equipment subscribes to the service, a correspondence between the first domain name and the device name of the gateway in the area in which the user equipment subscribes to the service, a correspondence between the first domain name and the identifier of the gateway in the area in which the user equipment subscribes to the service, or the like, provided that the first domain name can correspond, by using the correspondence, to the only gateway in the area in which the user equipment subscribes to the service. This is not limited in the present disclosure.
After the first device determines the gateway information, it is further included that the service of the user equipment is returned to the gateway (that is, the gateway in the area in which the user equipment subscribes to the service) corresponding to the gateway information, so that the gateway in the area in which the user equipment subscribes to the service provides a service such as charging and service management.
The first domain name includes the first information obtained by performing step S201. For example, the first domain name may be: first information. network indentifier.country code.operator.network type.
In an example in which the first information is area information in a host name of the second device, the first domain name may be: sh.3gnet.APN.EPC.mnc002.mcc.460.3Gppnetwork.org, where sh indicates the first information and sh represents Shanghai.
In an example in which the first information is an area code in a number of the second device, the first domain name may be: 00011020.3gnet.APN.EPC.mnc002.mcc.460.3Gppnetwork.org, where “00011020.” indicates the area code in the number of the second device.
It should be noted that a specific field of the first information in the first domain name, other information included in the first domain name, and the like are not limited in the present disclosure. Provided that the first domain name includes the first information, it falls within the protection scope of the present disclosure.
In this embodiment, a first device obtains first information of user equipment, where the first information of the user equipment is used to indicate an area in which the user equipment subscribes to a service, and the first device determines gateway information corresponding to a first domain name, where the first domain name includes the first information of the user equipment. The first domain name includes the first information of the user equipment, where the first information is used to indicate the area in which the user equipment subscribes to the service, that is, the first domain name is generated according to the area in which the user equipment subscribes to the service. Compared with a method in which a number segment is used to generate a domain name, this reduces a quantity of domain names that need to be configured and maintained, and reduces maintenance costs of an operator.
According to the technical solution in this embodiment of the present disclosure, data does not need to be separately configured in the case of mobile number portability, because a subscriber with mobile number portability needs to change a Subscriber Identity Module (SIM), and after the SIM card is changed, a host name in an HSS changes to an area in which user equipment subscribes to a service, without a need of considering an MSISDN number segment.
S301. The third device receives a first domain name of user equipment, where the first domain name includes first information of the user equipment, and the first information is used to indicate an area in which the user equipment subscribes to a service.
For detailed description of the first information, refer to the detailed description in S201 in the embodiment shown in
For detailed description of the first domain name, refer to the detailed description in S202 in the embodiment shown in
S302. The third device determines gateway information corresponding to the first domain name, where the gateway information is used to indicate a gateway in the area in which the user equipment subscribes to the service.
Specifically, that the third device determines gateway information corresponding to the first domain name includes:
The third device performs query in a first correspondence according to the first domain name, where a result of the query is the gateway information corresponding to the first domain name, the first correspondence includes a correspondence between the first domain name and the gateway information, and the first correspondence is stored in the third device.
The gateway information includes an identifier of the gateway, and the first information of the user equipment includes an index of a first-level administrative region including the area.
For detailed description of the first correspondence and the gateway information, refer to the detailed description in S202 in the embodiment shown in
In this embodiment, a third device receives a first domain name of user equipment, and queries corresponding gateway information in a first correspondence according to the first domain name. The first domain name includes first information of the user equipment, the first information is used to indicate an area in which the user equipment subscribes to a service, and the first domain name stored in the third device includes the first information used to indicate the area in which the user equipment subscribes to the service, that is, the first domain name is a domain name constituted according to the area in which the user equipment subscribes to the service. Compared with a method in which a number segment is used to generate a domain name, this reduces a quantity of domain names that need to be configured and maintained, and reduces maintenance costs of an operator.
In the foregoing embodiment, the processing module 402 is specifically configured to perform query in a first correspondence according to the first domain name, where a result of the query is the gateway information corresponding to the first domain name, and the first correspondence includes a correspondence between the first domain name and the gateway information.
In the foregoing embodiment, the processing module 402 is specifically configured to: send the first domain name to a domain name server DNS, and receive the gateway information that is corresponding to the first domain name and that is sent by the DNS, where the DNS stores a correspondence between the first domain name and the gateway information.
In the foregoing embodiment, the obtaining module 401 is specifically configured to obtain the first information of the user equipment from a second device, where the second device is configured to store the first information.
In the foregoing embodiment, the obtaining module 401 is specifically configured to: obtain device information of the second device, and obtain the first information of the user equipment according to the device information of the second device.
In the foregoing embodiment, the device information of the second device is a host name of the second device or a number of the second device, and the first information is area information in the host name of the second device or an area code in the number of the second device.
In the foregoing embodiment, the second device is a home location register HLR, a home subscriber server HSS, an authentication, authorization and accounting AAA server, a policy and charging rules function PCRF unit, or an online charging system OCS.
In the foregoing embodiment, the gateway information includes an identifier of the gateway, and the first information of the user equipment includes an index of a first-level administrative region including the area.
In the foregoing apparatus embodiment, an obtaining module obtains first information of user equipment, where the first information of the user equipment is used to indicate an area in which the user equipment subscribes to a service; and a processing module determines gateway information corresponding to a first domain name, where the first domain name includes the first information of the user equipment. The first domain name includes the first information of the user equipment, where the first information is used to indicate the area in which the user equipment subscribes to the service, that is, the first domain name is generated according to the area in which the user equipment subscribes to the service. Compared with a method in which a number segment is used to generate a domain name, this reduces a quantity of domain names that need to be configured and maintained, and reduces maintenance costs of an operator.
In the foregoing embodiment, the processing module 602 is configured to perform query in a first correspondence according to the first domain name, where a result of the query is the gateway information corresponding to the first domain name, the first correspondence includes a correspondence between the first domain name and the gateway information, and the first correspondence is stored in the apparatus for determining gateway information.
In the foregoing embodiment, the gateway information includes an identifier of the gateway, and the first information of the user equipment includes an index of a first-level administrative region including the area.
In the foregoing apparatus embodiment, a receiving module receives a first domain name of user equipment, and a processing module queries corresponding gateway information in a first correspondence according to the first domain name. The first domain name includes first information of the user equipment, the first information is used to indicate an area in which the user equipment subscribes to a service, and the first domain name stored in the apparatus for determining gateway information includes the first information used to indicate the area in which the user equipment subscribes to the service, that is, the first domain name is a domain name constituted according to the area in which the user equipment subscribes to the service. Compared with a method in which a number segment is used to generate a domain name, this reduces a quantity of domain names that need to be configured and maintained, and reduces maintenance costs of an operator.
obtaining first information of user equipment, where the first information of the user equipment is used to indicate an area in which the user equipment subscribes to a service; and
determining gateway information corresponding to a first domain name, where the first domain name includes the first information of the user equipment, and the gateway information is used to indicate a gateway in the area.
In the foregoing embodiment, the processor 702 is further configured to perform query in a first correspondence according to the first domain name, where a result of the query is the gateway information corresponding to the first domain name, and the first correspondence includes a correspondence between the first domain name and the gateway information.
In the foregoing embodiment, the memory 701 is configured to store the first correspondence.
In the foregoing embodiment, the processor 702 is further configured to: send the first domain name to a domain name server DNS, and receive the gateway information that is corresponding to the first domain name and that is sent by the DNS, where the DNS stores a correspondence between the first domain name and the gateway information.
In the foregoing embodiment, the processor 702 is further configured to obtain the first information of the user equipment from a second device, where the second device is configured to store the first information.
In the foregoing embodiment, the processor 702 is further configured to: obtain device information of the second device, and obtain the first information of the user equipment according to the device information of the second device.
In the foregoing embodiment, the device information of the second device is a host name of the second device or a number of the second device, and the first information is area information in the host name of the second device or an area code in the number of the second device.
In the foregoing embodiment, the second device is a home location register HLR, a home subscriber server HSS, an authentication, authorization and accounting AAA server, a policy and charging rules function PCRF unit, or an online charging system OCS.
In the foregoing embodiment, the gateway information includes an identifier of the gateway, and the first information of the user equipment includes an index of a first-level administrative region including the area.
determining gateway information corresponding to the first domain name, where the gateway information is used to indicate a gateway in the area.
In the foregoing embodiment, the processor 803 is further configured to perform query in a first correspondence according to the first domain name, where a result of the query is the gateway information corresponding to the first domain name, the first correspondence includes a correspondence between the first domain name and the gateway information, and the first correspondence is stored in the third device.
In the foregoing embodiment, the gateway information includes an identifier of the gateway, and the first information of the user equipment includes an index of a first-level administrative region including the area.
The apparatus embodiments of the present disclosure may refer to the method embodiments of the present disclosure, and may be configured to execute the method provided in the embodiments of the present disclosure.
Persons of ordinary skill in the art may understand that all or some of the steps of the method embodiments may be implemented by a program instructing relevant hardware. The program may be stored in a computer-readable storage medium. When the program runs, the steps of the method embodiments are performed. The foregoing storage medium includes any medium that can store program code, such as a ROM, a RAM, a magnetic disk, or an optical disc.
Finally, it should be noted that the foregoing embodiments are merely intended for describing the technical solutions of the present disclosure, but not for limiting the present disclosure. Although the present disclosure is described in detail with reference to the foregoing embodiments, persons of ordinary skill in the art should understand that they may still make modifications to the technical solutions described in the foregoing embodiments or make equivalent replacements to some or all technical features thereof, without departing from the scope of the technical solutions of the embodiments of the present disclosure.
This application is a continuation of International Application No. PCT/CN2014/094134, filed on Dec. 17, 2014, the disclosure of which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2014/094134 | Dec 2014 | US |
Child | 15625346 | US |