CN107438275B - Information acquisition method and device - Google Patents

Information acquisition method and device Download PDF

Info

Publication number
CN107438275B
CN107438275B CN201610364819.5A CN201610364819A CN107438275B CN 107438275 B CN107438275 B CN 107438275B CN 201610364819 A CN201610364819 A CN 201610364819A CN 107438275 B CN107438275 B CN 107438275B
Authority
CN
China
Prior art keywords
pgw
information
apn
name
apn name
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610364819.5A
Other languages
Chinese (zh)
Other versions
CN107438275A (en
Inventor
张红欣
丁智
余越
何杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Group Guangdong Co Ltd
Original Assignee
China Mobile Group Guangdong Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Group Guangdong Co Ltd filed Critical China Mobile Group Guangdong Co Ltd
Priority to CN201610364819.5A priority Critical patent/CN107438275B/en
Publication of CN107438275A publication Critical patent/CN107438275A/en
Application granted granted Critical
Publication of CN107438275B publication Critical patent/CN107438275B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/12Reselecting a serving backbone network switching or routing node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/34Reselection control
    • H04W36/38Reselection control by fixed network equipment

Landscapes

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

Abstract

The embodiment of the invention discloses an information acquisition method, which comprises the following steps: receiving first information sent by a public data network gateway (PGW); wherein the first information is used for indicating attribute information of the PGW; receiving registration request information sent by a user; and analyzing the PGW based on the registration request information and the first information, and selecting a target PGW for the user. The embodiment of the invention also discloses an information acquisition device.

Description

Information acquisition method and device
Technical Field
The present invention relates to network element acquisition technologies in the field of communications, and in particular, to an information acquisition method and apparatus.
Background
Currently, the 3rd Generation Partnership project long Term Evolution (3 GPP-LTE) is becoming a hot spot in the communication industry. The core network of LTE mainly includes: a Mobility Management Entity (MME), a Serving Gateway (SGW), a Public Data Network Gateway (PGW), a wireless packet service Support Node (Serving General packet radio service Support Node, SGSN), and the like; the core network of the LTE adopts the framework characteristics of control and service separation, and the MME network element is responsible for the management of a control plane.
When an LTE user accesses a core network, the MME needs to select an SGW and a PGW for the user to carry traffic. According to the 3 GPP-related specifications, the schemes related to PGW selection mainly include: when a user establishes a Public Data Network (PDN) connection, the MME selects an Access PGW for the user through a Domain Name System (DNS) according to Access Point Name (APN) information. Because the PGW needs to be selected by DNS, DNS becomes an important device of the system. If the DNS is in a problem or the intermediate network from the MME to the DNS is interrupted, the PGW selection is failed, and the user cannot access the core network; if the PGW fails and quits the service, the user is required to manually delete the corresponding resolution entry on the DNS, or the MME modifies the data to filter out the unavailable PGW, so that the automatic avoidance of the failed PGW cannot be realized.
Disclosure of Invention
In order to solve the technical problem, embodiments of the present invention desirably provide an information obtaining method and apparatus, which solve the problem in the prior art that a PGW needs to be selected for a user through a DNS, improve the success rate of accessing the PGW, automatically avoid a failed PGW, and greatly improve the work efficiency.
The technical scheme of the invention is realized as follows:
an information acquisition method, the method comprising:
receiving first information sent by a public data network gateway (PGW); wherein the first information is used for indicating attribute information of the PGW;
receiving registration request information sent by a user;
and analyzing the PGW based on the registration request information and the first information, and selecting a target PGW for the user.
Optionally, the analyzing the PGW based on the registration request information and the first information, and selecting a target PGW for the user includes:
analyzing the registration request information to acquire a first Access Point Name (APN) of the PGW;
and analyzing the PGW according to the first APN name and the first information, and allocating a target PGW matched with the user to the user.
Optionally, the analyzing the PGW according to the first APN name and the first information to allocate a target PGW matched with the user to the user includes:
judging whether an APN name matched with the first APN name exists in a second APN name carried in the first information; wherein the first information comprises: APN name of PGW, IP address of PGW, priority of PGW, weight of PGW, business supported by PGW;
if the APN name matched with the first APN name exists in the second APN name, acquiring the APN name matched with the first APN name in the second APN name to obtain a third APN name;
and obtaining the target PGW based on the third APN name, the IP address of the PGW, the priority of the PGW, the weight of the PGW and the service supported by the PGW.
Optionally, the obtaining the target PGW based on the third APN name, the IP address of the PGW, the priority of the PGW, the weight of the PGW, and the service supported by the PGW includes:
acquiring the priority of the PGW, the weight of the PGW and the service supported by the PGW corresponding to each third APN name;
acquiring a target APN name matched with the user according to the priority of the PGW corresponding to each third APN name, the weight of the PGW and the service supported by the PGW;
and acquiring the IP address of the target PGW corresponding to the name of the target APN from the IP addresses of the PGW according to the name of the target APN to obtain the target PGW.
Optionally, the method further includes:
when a next preset period of the current preset period comes, detecting whether the first information sent by the PGW is received;
and if the first information sent by the PGW is not received, deleting the first information received in the current preset period.
An information acquisition apparatus, the apparatus comprising: a first receiving unit, a second receiving unit and a processing unit, wherein:
the first receiving unit is configured to receive first information sent by a public data network gateway PGW; wherein the first information is used for indicating attribute information of the PGW;
the second receiving unit is used for receiving registration request information sent by a user;
the processing unit is configured to analyze the PGW based on the registration request information and the first information, and select a target PGW for the user.
Optionally, the processing unit includes: the device comprises an acquisition module and a processing module, wherein:
the obtaining module is configured to analyze the registration request information and obtain an APN name of a first access point of the PGW;
the processing module is configured to analyze the PGW according to the first APN name and the first information, and allocate a target PGW matching the user to the user.
Optionally, the processing module is specifically configured to:
judging whether an APN name matched with the first APN name exists in a second APN name carried in the first information; wherein the first information comprises: APN name of PGW, IP address of PGW, priority of PGW, weight of PGW, business supported by PGW;
if the APN name matched with the first APN name exists in the second APN name, acquiring the APN name matched with the first APN name in the second APN name to obtain a third APN name;
and obtaining the target PGW based on the third APN name, the IP address of the PGW, the priority of the PGW, the weight of the PGW and the service supported by the PGW.
Optionally, the processing module is further specifically configured to:
acquiring the priority of the PGW, the weight of the PGW and the service supported by the PGW corresponding to each third APN name;
acquiring a target APN name matched with the user according to the priority of the PGW corresponding to each third APN name, the weight of the PGW and the service supported by the PGW;
and acquiring the IP address of the target PGW corresponding to the name of the target APN from the IP addresses of the PGW according to the name of the target APN to obtain the target PGW.
Optionally, the apparatus further comprises: a detection unit and a deletion unit, wherein:
the detecting unit is configured to detect whether the first information sent by the PGW is received when a next preset period of a current preset period comes;
the deleting unit is configured to delete the first information received in the current preset period if the first information sent by the PGW is not received.
The information acquisition method and the information acquisition device provided by the embodiment of the invention receive first information sent by a public data network gateway (PGW); the first information is used for indicating the attribute information of the PGW; receiving registration request information sent by a user; analyzing the PGW based on the registration request information and the first information, and selecting a target PGW for the user; therefore, the core network of the LTE can directly match the appropriate target PGW for the user according to the first information sent by the PGW without selecting the PGW for the user by means of the DNS, the problem that the PGW needs to be selected for the user through the DNS in the prior art is solved, the success rate of accessing the PGW is improved, the fault PGW can be automatically avoided, and the working efficiency is greatly improved.
Drawings
Fig. 1 is a schematic flowchart of an information obtaining method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another information acquisition method according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a protocol stack between information provided by an embodiment of the present invention;
FIG. 4 is a diagram of a GTP-C protocol format structure provided by the embodiment of the present invention;
fig. 5 is a structure diagram of a protocol header format of a GTP-C protocol according to an embodiment of the present invention;
fig. 6 is a schematic flowchart of another information obtaining method according to an embodiment of the present invention;
fig. 7 is a flowchart illustrating an information obtaining method according to another embodiment of the present invention;
fig. 8 is a schematic flowchart of another information acquisition method according to another embodiment of the present invention;
fig. 9 is a schematic flowchart of another information obtaining method according to another embodiment of the present invention;
FIG. 10 is a diagram illustrating a format structure of a Private Extension cell in the GTP-C protocol according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of an information acquisition apparatus according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of another information acquisition apparatus according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of another information acquisition apparatus according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
An embodiment of the present invention provides an information acquisition method, which is shown in fig. 1 and includes the following steps:
step 101, receiving first information sent by a public data network gateway PGW.
Wherein the first information is used for indicating attribute information of the PGW.
Specifically, when the current preset period comes, the receiving of the first information sent by the public data network gateway PGW in step 101 may be implemented by a core network of LTE, where the core network may include an MME.
And 102, receiving registration request information sent by a user.
Specifically, the step 102 of receiving the registration request information sent by the user may be implemented by the MME. The registration request information may carry an APN name used by the user to access the PGW.
And 103, analyzing the PGW based on the registration request information and the first information, and selecting a target PGW for the user.
Specifically, the step 103 may be implemented by the MME, based on the registration request information and the first information, performing analysis processing on the PGW, and selecting the target PGW for the user. The MME may select a suitable target PGW for the user according to the APN name carried in the received registration request information in combination with the first information.
The information acquisition method provided by the embodiment of the invention receives first information sent by a public data network gateway (PGW); the first information is used for indicating the attribute information of the PGW; receiving registration request information sent by a user; analyzing the PGW based on the registration request information and the first information, and selecting a target PGW for the user; therefore, the core network of the LTE can directly match the appropriate target PGW for the user according to the first information sent by the PGW without selecting the PGW for the user by means of the DNS, the problem that the PGW needs to be selected for the user through the DNS in the prior art is solved, the success rate of accessing the PGW is improved, the fault PGW can be automatically avoided, and the working efficiency is greatly improved.
An embodiment of the present invention provides an information acquisition method, which is shown in fig. 2 and includes the following steps:
step 201, when the current preset period comes, the PGW sends the first information to the core network.
Wherein the first information is used for indicating attribute information of the PGW.
Specifically, the PGW may send the first information periodically according to a preset period, where the preset period may be preset according to information such as an operating frequency of the PGW. When the PGW sends the first information to the core network, the first information may be transmitted through the SGW by using a GTP-C protocol, and the core network may specifically be a core network of LTE, and preferably may include an MME; the first information may be an Echo message.
Step 202, the core network receives the first information sent by the PGW.
Step 203, the core network receives the registration request information sent by the user.
And 204, the core network analyzes the registration request information and acquires a first APN name of the PGW.
And step 205, the core network analyzes the PGW according to the first APN name and the first information, and allocates a target PGW matched with the user to the user.
Specifically, after obtaining the first APN name of the PGW, the MME may obtain, in the first information, an APN matching the first APN name, and obtain, in combination with the first information, a PGW matching the user to obtain a target PGW; fig. 3a is a protocol stack between an MME and an SGW that employ an S11 interface, and fig. 3b is a protocol stack between an SGW and a PGW that employ an S5 or S8 interface.
The GTP-C protocol includes a protocol header and zero to a plurality of cells, and the specific GTP-C protocol format can be as shown in FIG. 4, and the GTP-C protocol can include n bytes, wherein 1-m bytes can be used to represent the protocol header of the GTP-C protocol, and the remaining bytes (m +1-n) can be used to represent the cells of the GTP-C protocol. The header format of the GTP-C protocol Echo message may be as shown in fig. 5, where each byte includes eight bits, a first bit, a second bit, and a third bit of the first byte are free, a fourth bit T of the first byte indicates free when T is 0, T is 1 indicates Echo Request message, T is 2 indicates Echo reply message, a fifth bit of the first byte indicates identification, and 6-8 bits of the first byte indicate version number; the second byte represents the message type, the third byte and the fourth byte represent the message length, the fifth byte, the sixth byte and the seventh byte represent the sequence number, and the eighth byte is temporarily free.
It should be noted that, for the explanation of the same steps in this embodiment as in the other embodiments, reference may be made to the description in the other embodiments, and details are not described here.
The information acquisition method provided by the embodiment of the invention receives first information sent by a public data network gateway (PGW); the first information is used for indicating the attribute information of the PGW; receiving registration request information sent by a user; analyzing the PGW based on the registration request information and the first information, and selecting a target PGW for the user; therefore, the core network of the LTE can directly match the appropriate target PGW for the user according to the first information sent by the PGW without selecting the PGW for the user by means of the DNS, the problem that the PGW needs to be selected for the user through the DNS in the prior art is solved, the success rate of accessing the PGW is improved, the fault PGW can be automatically avoided, and the working efficiency is greatly improved.
An embodiment of the present invention provides an information acquisition method, which includes the following steps, with reference to fig. 6:
step 301, when the current preset period comes, the PGW sends the first information to the core network.
The first information is used for indicating the attribute information of the PGW; the first information may include: APN name of PGW, IP address of PGW, priority of PGW, weight of PGW, service supported by PGW, etc. Of course, the first information may also include information such as a Full Qualified Domain Name (FQDN).
Specifically, the APN name of the PGW, the IP address of the PGW, the priority of the PGW, the weight of the PGW, the service supported by the PGW, and other information attributes included in the first information may refer to relevant definitions in 3GPP TS 29.303, for example, the service attribute may specifically be: "x-3 gpp-pgw: x-s 5-gtp", "x-3 gpp-pgw: x-s 5-pmip", "x-3 gpp-ggsn: x-gn", "x-3 gpp-pgw: x-gn", and the like. The sending, by the PGW, the first information to the MME may be transmitted through the SGW using a GTP-C protocol. In the invention, the information transmission between the MME and the PGW can be realized through the SGW by adopting a GTP-C protocol.
Step 302, the core network receives first information sent by a public data network gateway PGW.
Step 303, the core network receives the registration request information sent by the user.
Step 304, the core network analyzes the registration request information and obtains the name of the first access point APN of the PGW.
Specifically, after receiving an Echo message sent by a PGW, an MME may store the attribute information of the PGW carried in the Echo message in a MME local, and then, after receiving registration request information sent by a user, may directly obtain the attribute information of the PGW carried in the Echo message in the local; the registration request information carries a first APN name of a PGW accessible to the user.
Step 305, the core network determines whether an APN name matching the first APN name exists in the second APN name carried in the first information.
Specifically, the MME may determine whether an APN name matching the first APN name exists in the second APN name carried in the first information by determining whether the APN name identical to the first APN name exists in the second APN name.
Step 306, if an APN name matching the first APN name exists in the second APN name, the core network obtains an APN name matching the first APN name in the second APN name to obtain a third APN name.
Specifically, if it is determined that the APN name identical to the first APN name exists in the second APN name, it is described that an APN name matching the first APN name exists in the second APN name, at this time, the MME may obtain an APN name identical to the first APN name in the second APN name, and obtain a third APN name.
Step 307, the core network obtains the target PGW based on the third APN name, the IP address of the PGW, the priority of the PGW, the weight of the PGW, and the service supported by the PGW.
Specifically, the MME may obtain a target APN name suitable for the user from the obtained third APN name according to the priority of the PGW, the weight of the PGW, and the service supported by the PGW in the Echo message, and then obtain the target PGW based on the IP address of the PGW in the Echo message.
Further, referring to fig. 7, the method further includes the following steps:
step 308, when a next preset period of the current preset period comes, the core network detects whether the first information sent by the PGW is received.
The method includes detecting whether first information sent by the PGW is received when a next preset period of the current preset period comes, that is, whether the PGW continues to send the first information to the MME when the next period of the current period comes, so that whether the PGW that previously sent the Echo message to the MME still normally works can be determined.
Step 309, if the first information sent by the PGW is not received, the core network deletes the first information received in the current preset period.
Specifically, if it is detected that no Echo message sent by the PGW is received when a next preset period without the current preset period comes, it is indicated that the current PGW has a fault, and the MME may locally delete the Echo message that has been received before, so that it is possible to avoid that the user accesses the PGW that has the fault, which affects subsequent data transmission of the user, and user experience and work efficiency are greatly improved.
It should be noted that, for the explanation of the same steps or concepts in the present embodiment as in the other embodiments, reference may be made to the description in the other embodiments, and details are not described here again.
The information acquisition method provided by the embodiment of the invention receives first information sent by a public data network gateway (PGW); the first information is used for indicating the attribute information of the PGW; receiving registration request information sent by a user; analyzing the PGW based on the registration request information and the first information, and selecting a target PGW for the user; therefore, the core network of the LTE can directly match the appropriate target PGW for the user according to the first information sent by the PGW without selecting the PGW for the user by means of the DNS, the problem that the PGW needs to be selected for the user through the DNS in the prior art is solved, the success rate of accessing the PGW is improved, the fault PGW can be automatically avoided, and the working efficiency is greatly improved.
An embodiment of the present invention provides an information acquisition method, as shown in fig. 8, the method including the steps of:
step 401, when the current preset period comes, the PGW sends the first information to the core network.
Wherein the first information is used for indicating attribute information of the PGW.
Step 402, the core network receives first information sent by a public data network gateway PGW.
Step 403, the core network sends a response message to the PGW, so that the PGW confirms that the first information has been successfully sent to the core network.
Specifically, the reply message may be an Echo reply message, and the format of the Echo reply message may refer to the format of the Echo message in the GTP-C protocol, which is not described herein again.
Step 404, the core network receives the registration request information sent by the user.
Step 405, the core network analyzes the registration request information to obtain the APN name of the first access point of the PGW.
Step 406, the core network determines whether an APN name matching the first APN name exists in the second APN name carried in the first information.
Wherein the first information includes: APN name of PGW, IP address of PGW, priority of PGW, weight of PGW, and service supported by PGW.
Step 407, if an APN name matching the first APN name exists in the second APN name, the core network obtains an APN name matching the first APN name in the second APN name to obtain a third APN name.
Step 408, the core network obtains the priority of the PGW corresponding to each third APN name, the weight of the PGW, and the service supported by the PGW.
Step 409, the core network obtains a target APN name matched with the user according to the priority of the PGW corresponding to each third APN name, the weight of the PGW, and the service supported by the PGW.
Specifically, the third APN name includes at least one APN name, and the MME may search, in the Echo message, the priority of the PGW, the weight of the PGW, and the service information supported by the PGW corresponding to each third APN name, and match the obtained priority of the PGW, the weight of the PGW, and the service information supported by the PGW corresponding to the third APN name with the actual requirement of the user, to finally obtain the target APN name.
And step 410, the core network acquires the IP address of the target PGW corresponding to the name of the target APN from the IP addresses of the PGW according to the name of the target APN to obtain the target PGW.
Specifically, the MME searches for an IP address corresponding to the name of the target APN from an IP address of the PGW in the Echo message stored locally, so as to obtain the target PGW. And then, the MME can send the obtained IP address of the target PGW to the user and the PGW, so that the information transmission between the user and the PGW is facilitated.
Further, referring to fig. 9, the method further includes the following steps:
step 411, when a next preset period of the current preset period comes, the core network detects whether the first information sent by the PGW is received.
Step 412, if the first information sent by the PGW is not received, the core network deletes the first information received in the current preset period.
Wherein, the first message is transmitted by the private extension cell in the response request message or the response message.
Specifically, the Echo Request message and the Echo reply message of the GTP-C protocol have the same message header, and the message body may include a Private Extension cell. The embodiment of the invention can extend the Echo Request message of the GTP-C protocol and the Private Extension part in the Echo reply message to transfer the Echo message (including APN name, PGW service IP address, FQDN, priority, weight, supported service and other cells). The format of the Private Extension part of the user transfer Echo message may be as shown in fig. 10, the Private Extension information element includes a plurality of bytes, each byte includes eight bits, the first byte represents the message type; the second byte and the third byte represent the message length; the fourth byte is divided into two parts, one part is idle, and the other part represents enterprise ID (the specific division method of the fourth byte can refer to the introduction part of the GTP-C protocol about Private Extension information cell); the fifth byte and the sixth byte can be randomly defined; the seventh byte to the remaining bytes represent Echo messages, specifically representing information such as APN name of PGW, IP address of PGW, priority of PGW, weight of PGW, service supported by PGW, and the like.
It should be noted that, for the explanation of the same steps or concepts in the present embodiment as in the other embodiments, reference may be made to the description in the other embodiments, and details are not described here again.
The information acquisition method provided by the embodiment of the invention receives first information sent by a public data network gateway (PGW); the first information is used for indicating the attribute information of the PGW; receiving registration request information sent by a user; analyzing the PGW based on the registration request information and the first information, and selecting a target PGW for the user; therefore, the core network of the LTE can directly match the appropriate target PGW for the user according to the first information sent by the PGW without selecting the PGW for the user by means of the DNS, the problem that the PGW needs to be selected for the user through the DNS in the prior art is solved, the success rate of accessing the PGW is improved, the fault PGW can be automatically avoided, and the working efficiency is greatly improved.
An embodiment of the present invention provides an information acquiring apparatus 5, which may be applied to an information acquiring method provided in the embodiments corresponding to fig. 1 to 2 and 6 to 9, and as shown in fig. 11, the apparatus may include: a first receiving unit 51, a second receiving unit 52 and a processing unit 53, wherein:
the first receiving unit 51 is configured to receive first information sent by a public data network gateway PGW.
Wherein the first information is used for indicating attribute information of the PGW.
The second receiving unit 52 receives the registration request information sent by the user.
The processing unit 53 is configured to analyze the PGW based on the registration request information and the first information, and select a target PGW for the user.
The information acquisition device provided by the embodiment of the invention receives first information sent by a public data network gateway (PGW); the first information is used for indicating the attribute information of the PGW; receiving registration request information sent by a user; analyzing the PGW based on the registration request information and the first information, and selecting a target PGW for the user; therefore, the core network of the LTE can directly match the appropriate target PGW for the user according to the first information sent by the PGW without selecting the PGW for the user by means of the DNS, the problem that the PGW needs to be selected for the user through the DNS in the prior art is solved, the success rate of accessing the PGW is improved, the fault PGW can be automatically avoided, and the working efficiency is greatly improved.
Specifically, referring to fig. 12, the processing unit 53 includes: an obtaining module 531 and a processing module 532, wherein:
the obtaining module 531 is configured to analyze the registration request information, and obtain a name of an APN of a first access point of the PGW.
The processing module 532 is configured to analyze the PGW according to the first APN name and the first information, and allocate a target PGW matching the user to the user.
Specifically, the processing module 532 is specifically configured to execute the following steps:
and judging whether the APN name matched with the first APN name exists in the second APN names carried in the first information.
Wherein the first information includes: APN name of PGW, IP address of PGW, priority of PGW, weight of PGW, and service supported by PGW.
And if the APN name matched with the first APN name exists in the second APN name, acquiring the APN name matched with the first APN name in the second APN name to obtain a third APN name.
And obtaining the target PGW based on the third APN name, the IP address of the PGW, the priority of the PGW, the weight of the PGW and the service supported by the PGW.
More specifically, the processing module 532 is further specifically configured to perform the following steps:
and acquiring the priority of the PGW corresponding to each third APN name, the weight of the PGW and the service supported by the PGW.
And acquiring a target APN name matched with the user according to the priority of the PGW corresponding to each third APN name, the weight of the PGW and the service supported by the PGW.
And acquiring the IP address of the target PGW corresponding to the name of the target APN from the IP addresses of the PGW according to the name of the target APN to obtain the target PGW.
Further, referring to fig. 13, the apparatus 5 further includes: a detection unit 54 and a deletion unit 55, wherein:
the detecting unit 54 is configured to detect whether the first information sent by the PGW is received when a next preset period of the current preset period comes.
The deleting unit 55 is configured to delete the first information received in the current preset period if the first information sent by the PGW is not received.
Further, a response message may be sent to the PGW, so that the PGW confirms that the first information has been successfully sent to the core network.
It should be noted that in the embodiment, the interaction process between each unit and each module may refer to the interaction process in the information acquisition method provided in the embodiments corresponding to fig. 1 to 2 and 6 to 9, and details are not described here.
The information acquisition device provided by the embodiment of the invention receives first information sent by a public data network gateway (PGW); the first information is used for indicating the attribute information of the PGW; receiving registration request information sent by a user; analyzing the PGW based on the registration request information and the first information, and selecting a target PGW for the user; therefore, the core network of the LTE can directly match the appropriate target PGW for the user according to the first information sent by the PGW without selecting the PGW for the user by means of the DNS, the problem that the PGW needs to be selected for the user through the DNS in the prior art is solved, the success rate of accessing the PGW is improved, the fault PGW can be automatically avoided, and the working efficiency is greatly improved.
In practical applications, the first receiving Unit 51, the second receiving Unit 52, the Processing Unit 53, the obtaining module 531, the Processing module 532, the detecting Unit 54, and the deleting Unit 55 may be implemented by a Central Processing Unit (CPU), a microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like in the wireless data transmitting device.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (6)

1. An information acquisition method, characterized in that the method comprises:
receiving first information sent by a public data network gateway (PGW); wherein the first information is used for indicating attribute information of the PGW;
receiving registration request information sent by a user;
analyzing the PGW based on the registration request information and the first information, and selecting a target PGW for the user;
wherein the analyzing the PGW based on the registration request information and the first information, and selecting a target PGW for the user includes:
analyzing the registration request information to acquire a first Access Point Name (APN) of the PGW;
analyzing the PGW according to the first APN name and the first information, and allocating a target PGW matched with the user to the user;
wherein selecting a target PGW for the user according to whether a first APN name in the registration request information matches a second APN name in the first information comprises:
judging whether an APN name matched with the first APN name exists in a second APN name carried in the first information; wherein the first information comprises: APN name of PGW, IP address of PGW, priority of PGW, weight of PGW, business supported by PGW;
if the APN name matched with the first APN name exists in the second APN name, acquiring the APN name matched with the first APN name in the second APN name to obtain a third APN name;
and obtaining the target PGW based on the third APN name, the IP address of the PGW, the priority of the PGW, the weight of the PGW and the service supported by the PGW.
2. The method of claim 1, wherein the obtaining the target PGW based on the APN name, the IP address of the PGW, the priority of the PGW, the weight of the PGW, and the service supported by the PGW comprises:
acquiring the priority of the PGW, the weight of the PGW and the service supported by the PGW corresponding to each third APN name;
acquiring a target APN name matched with the user according to the priority of the PGW corresponding to each third APN name, the weight of the PGW and the service supported by the PGW;
and acquiring the IP address of the target PGW corresponding to the name of the target APN from the IP addresses of the PGW according to the name of the target APN to obtain the target PGW.
3. The method of claim 1, further comprising:
when a next preset period of the current preset period comes, detecting whether the first information sent by the PGW is received;
and if the first information sent by the PGW is not received, deleting the first information received in the current preset period.
4. An information acquisition apparatus, characterized in that the apparatus comprises: a first receiving unit, a second receiving unit and a processing unit, wherein:
the first receiving unit is configured to receive first information sent by a public data network gateway PGW; wherein the first information is used for indicating attribute information of the PGW;
the second receiving unit is used for receiving registration request information sent by a user;
the processing unit is configured to select a target PGW for the user according to whether a first APN name in the registration request information matches a second APN name in the first information;
wherein the processing unit comprises: the device comprises an acquisition module and a processing module, wherein:
the obtaining module is configured to analyze the registration request information and obtain an APN name of a first access point of the PGW;
wherein the processing module is specifically configured to:
judging whether an APN name matched with the first APN name exists in a second APN name carried in the first information; wherein the first information comprises: APN name of PGW, IP address of PGW, priority of PGW, weight of PGW, business supported by PGW;
if the APN name matched with the first APN name exists in the second APN name, acquiring the APN name matched with the first APN name in the second APN name to obtain a third APN name;
and obtaining the target PGW based on the third APN name, the IP address of the PGW, the priority of the PGW, the weight of the PGW and the service supported by the PGW.
5. The apparatus of claim 4, wherein the processing module is further specifically configured to:
acquiring the priority of the PGW, the weight of the PGW and the service supported by the PGW corresponding to each third APN name;
acquiring a target APN name matched with the user according to the priority of the PGW corresponding to each third APN name, the weight of the PGW and the service supported by the PGW;
and acquiring the IP address of the target PGW corresponding to the name of the target APN from the IP addresses of the PGW according to the name of the target APN to obtain the target PGW.
6. The apparatus of claim 4, further comprising: a detection unit and a deletion unit, wherein:
the detecting unit is configured to detect whether the first information sent by the PGW is received when a next preset period of a current preset period comes;
the deleting unit is configured to delete the first information received in the current preset period if the first information sent by the PGW is not received.
CN201610364819.5A 2016-05-26 2016-05-26 Information acquisition method and device Active CN107438275B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610364819.5A CN107438275B (en) 2016-05-26 2016-05-26 Information acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610364819.5A CN107438275B (en) 2016-05-26 2016-05-26 Information acquisition method and device

Publications (2)

Publication Number Publication Date
CN107438275A CN107438275A (en) 2017-12-05
CN107438275B true CN107438275B (en) 2021-05-25

Family

ID=60453784

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610364819.5A Active CN107438275B (en) 2016-05-26 2016-05-26 Information acquisition method and device

Country Status (1)

Country Link
CN (1) CN107438275B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113497727B (en) * 2020-04-01 2024-02-27 ***通信集团辽宁有限公司 SAE gateway fault processing method and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316440B (en) * 2007-05-28 2012-07-04 华为技术有限公司 Method and communication system for storing address of network anchor point to network server
CN101547142B (en) * 2008-03-26 2011-09-28 华为技术有限公司 Login method and device of connection of grouped data network
CN101588325B (en) * 2008-05-20 2013-08-07 华为技术有限公司 Disaster recovery method, device and system based on wireless packet gateways
KR101575223B1 (en) * 2008-11-25 2015-12-09 삼성전자주식회사 Method and system for requesting local breakout in session home enhanced node b
CN102480772A (en) * 2010-11-24 2012-05-30 中兴通讯股份有限公司 Gateway selecting method and gateway selector
CN110267307B (en) * 2013-11-11 2022-11-08 瑞典爱立信有限公司 Gateway weight factor and load information

Also Published As

Publication number Publication date
CN107438275A (en) 2017-12-05

Similar Documents

Publication Publication Date Title
RU2695990C1 (en) Communication system, a base station, a communication method and a non-volatile computer-readable medium storing a program
US10560914B2 (en) Tracking area and user plane mapping for control plane/user plane split
CN107979592B (en) Method and device for sending service request message
CN108111320B (en) Local service charging method, server and charging gateway
RU2016149150A (en) COMMUNICATION APPARATUS, SUPPORT NETWORK ASSEMBLY, SYSTEM, COMPUTER PROGRAM AND METHODS FOR REMARKS OF MESSAGES NA5
WO2019223887A1 (en) Methods for processing encrypted domain name server, dns, queries received from user equipment in a telecommunication network
EP3099025A1 (en) Method for initiating local route communication, base station apparatus, and terminal apparatus
CN103814622A (en) Communication system, communication method and communication program
US11622396B2 (en) Method and network node of setting up a wireless connection
CN107277882B (en) Data routing method, device and base station
JP6509367B2 (en) Data processing method, apparatus and device
US20160294465A1 (en) Information collection system, relay terminal, control method for relay terminal to connect to center system, sensor terminal, and control method for sensor terminal to connect to center system
CN107438275B (en) Information acquisition method and device
US11039338B2 (en) Methods, systems, and computer readable media for control plane traffic filtering in a control and user plane separation (CUPS) environment
JP2017519384A (en) ProSe information transmission method, terminal, and communication device
CN110430137B (en) Message processing method and device based on S11 interface
KR101620362B1 (en) METHOD AND APPARATUS FOR MANAGING SESSION BASED GPRS Tunneling PROTOCOL NETWORK PROTOCOL
JP2019125881A (en) Home gateway apparatus, proposal method of recommended connection service, and proposal program of recommended connection service
CN107071926B (en) Method for complementing S1-MME interface user IPv6 address
CN116916369A (en) 5G flow identification method and device based on NSA architecture
CN117641606A (en) Terminal access control method, AMF, communication system and storage medium
KR101091039B1 (en) In-bound roaming system in mobile communication and method using the same
JP2014171017A (en) Communication information detecting device, method, and program
PH12015000194A1 (en) Apparatus and method for managing user terminal
CN104917658A (en) Information acquisition method, equipment and system

Legal Events

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