Network communication function control method and device, equipment, storage medium and product
By obtaining the target location information of the terminal, it is determined whether it has roamed into an area where no hotspot access network communication is deployed, and the hotspot access network communication function is restricted in the undeployed area. This solves the problem of frequent query requests from the terminal, and realizes efficient utilization of network resources and prevention of signaling impact.
Patent Information
- Application Number
- CN202511526993.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-24
- Publication Date
- 2026-02-17
AI Technical Summary
In the Vowifi deployment mode, when a terminal roams to a province where it is not deployed, it frequently sends query requests to the ePDG of the deployed province, which are blocked by the firewall, resulting in wasted network resources and signaling disruptions.
By obtaining the target location information of the terminal, it can be determined whether it has roamed to an area where no hotspot access network communication is deployed, and the hotspot access network communication function can be restricted in the undeployed area to prevent repeated query requests.
It effectively prevents the waste of network resources and signaling disruptions, ensuring the efficient use of network communication.
Smart Images

Figure CN121547831A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless communication technology, and in particular to a method, apparatus, device, storage medium, and product for controlling network communication functions. Background Technology
[0002] Currently, Vowifi (Voice over WiFi) is deployed in a province-by-province manner. When a user roams to a province where it is not deployed, the ePDG (Evolved Packet Data Gateway) address cached on the terminal remains valid.
[0003] Therefore, the terminal will send a query request to the ePDG in the province where it is deployed but not in the province where it is deployed. However, if the ePDG is equipped with a firewall (which is usually configured), the request will be blocked by the firewall. If the terminal does not receive a reply message, it will keep resending the query request, which will result in a waste of network resources and signaling impact. Summary of the Invention
[0004] Therefore, it is necessary to provide a network communication function control method, apparatus, device, storage medium, and product that can restrict terminals from resending query requests, addressing the aforementioned technical problems.
[0005] In a first aspect, this application provides a network communication function control method, the method comprising:
[0006] Obtain the target location information of the terminal at the current moment;
[0007] If the target location information is inconsistent with the historical location information of the terminal, determine the hotspot access network communication deployment status of the target area to which the target location information belongs;
[0008] If no hotspot access network communication is deployed in the target area, the hotspot access network communication function of the terminal is restricted.
[0009] In one embodiment, the method further includes:
[0010] If a hotspot access network communication is deployed in the target area, obtain the evolved packet data gateway (ePDG) IP address of the target area;
[0011] Based on the ePDG IP address, enable the terminal's hotspot access network communication function in the target area.
[0012] In one embodiment, obtaining the evolved packet data gateway (ePDG) IP address of the region corresponding to the target location information includes:
[0013] Send an address retrieval request for the target area to the Domain Name System (DNS) network element;
[0014] Receive an address acquisition response from a DNS network element, wherein the address acquisition response carries the ePDG IP address of the target area.
[0015] In one embodiment, obtaining the target location information corresponding to the terminal at the current moment includes:
[0016] Receive a Tracking Area Update Request (TAU Request) sent by a Mobility Management Entity (MME) network element, and extract the target location information corresponding to the terminal at the current time from the TAU Request; or,
[0017] The system receives the initial attach procedure ATTACH ACCEPT sent by the MME network element and extracts the target location information corresponding to the terminal at the current time from the ATTACH ACCEPT.
[0018] In one embodiment, receiving the Tracking Area Update Procedure (TAURequest) sent by the Mobility Management Entity (MME) network element includes:
[0019] Send a Tracking Area Update Acceptance (TAU ACCEPT) to the MME network element. The TAU ACCEPT is used to instruct the MME network element to determine the target location information.
[0020] Receive the TAU Request fed back by the MME network element; wherein the TAU Request carries the target location information.
[0021] In one embodiment, if the target location information is inconsistent with the historical location information of the terminal, the method further includes:
[0022] Delete the historical location information cached in the terminal.
[0023] Secondly, this application also provides a network communication function control device, the device comprising:
[0024] The acquisition module is used to acquire the target location information of the terminal at the current moment;
[0025] The determination module is used to determine the hotspot access network communication deployment status of the target area to which the target location information belongs when the target location information is inconsistent with the historical location information of the terminal.
[0026] The restriction module is used to restrict the hotspot access network communication function of the terminal when no hotspot access network communication is deployed in the target area.
[0027] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:
[0028] Obtain the target location information of the terminal at the current moment;
[0029] If the target location information is inconsistent with the historical location information of the terminal, determine the hotspot access network communication deployment status of the target area to which the target location information belongs;
[0030] If no hotspot access network communication is deployed in the target area, the hotspot access network communication function of the terminal is restricted.
[0031] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:
[0032] Obtain the target location information of the terminal at the current moment;
[0033] If the target location information is inconsistent with the historical location information of the terminal, determine the hotspot access network communication deployment status of the target area to which the target location information belongs;
[0034] If no hotspot access network communication is deployed in the target area, the hotspot access network communication function of the terminal is restricted.
[0035] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:
[0036] Obtain the target location information of the terminal at the current moment;
[0037] If the target location information is inconsistent with the historical location information of the terminal, determine the hotspot access network communication deployment status of the target area to which the target location information belongs;
[0038] If no hotspot access network communication is deployed in the target area, the hotspot access network communication function of the terminal is restricted.
[0039] The aforementioned network communication function control methods, devices, equipment, storage media, and products, by acquiring the target location information corresponding to the terminal at the current moment, determine the hotspot access network communication deployment status of the target area to which the target location information belongs when the target location information is inconsistent with the terminal's historical location information. Furthermore, if hotspot access network communication is not deployed in the target area, the hotspot access network communication function of the terminal is restricted. As can be seen from the above, this application, by acquiring the target location information corresponding to the terminal at the current moment and then determining whether the target location information is consistent with the terminal's historical location information, determines whether the terminal has roamed to an area where hotspot access network communication is not deployed. Furthermore, after determining that the terminal has roamed to an area where hotspot access network communication is not deployed, by restricting the terminal's hotspot access network communication function, the waste of network resources and the generation of signaling surges are prevented, thus preventing the terminal from continuously resending query requests. Attached Figure Description
[0040] Figure 1 An application environment diagram of a network communication function control method provided in this application embodiment;
[0041] Figure 2 A flowchart illustrating the first network communication function control method provided in this application embodiment;
[0042] Figure 3 A flowchart illustrating the second network communication function control method provided in this application embodiment;
[0043] Figure 4 A flowchart illustrating the third network communication function control method provided in this application embodiment;
[0044] Figure 5 Signaling diagram of the first network communication function control method provided in the embodiments of this application;
[0045] Figure 6 A structural block diagram of a network communication function control device provided in an embodiment of this application;
[0046] Figure 7 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0047] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0048] The network communication function control method provided in this application embodiment can be applied to, for example... Figure 1In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated onto server 104 or placed on the cloud or other network servers. By obtaining the target location information corresponding to the terminal at the current moment, the system can determine the hotspot access network communication deployment status of the target area when the target location information is inconsistent with the terminal's historical location information. Furthermore, if hotspot access network communication is not deployed in the target area, the hotspot access network communication function of the terminal can be restricted. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart vehicle devices, etc. Portable wearable devices can include smartwatches, smart bracelets, head-mounted devices, etc. Server 104 can be implemented using a standalone server or a server cluster composed of multiple servers.
[0049] In one embodiment, such as Figure 2 As shown, a network communication function control method is provided, which is applied to... Figure 1 Taking server 104 as an example, the following steps are included:
[0050] S201, Obtain the target location information corresponding to the terminal at the current time.
[0051] The target location information may include, but is not limited to: the area identifier of the area where the terminal is located, the entry time of the terminal into the area, and the dwell time of the terminal in the area. In summary, the target location information may contain a lot of content, and no limitation is made here on the content contained in the target location information.
[0052] It should be noted that when it is necessary to obtain the target location information of the terminal at the current time, an information acquisition request can be sent to the location acquisition module, so that the location acquisition module can feed back the target location information of the terminal at the current time after receiving the information acquisition request.
[0053] The location acquisition module can have many types; for example, the location acquisition module can be an MME network element.
[0054] To further explain, after obtaining the target location information, the validity of the target location information can be verified based on the entry time of the terminal into the area or the dwell time of the terminal in the area. Then, if the validity verification of the target location information fails, the operation of obtaining the target location information corresponding to the terminal at the current time is re-executed until the validity verification of the target location information is determined to be successful.
[0055] In one embodiment of this application, after obtaining the target location information, it is verified whether the difference between the entry time of the terminal into the area and the current time is greater than the difference threshold. If it is greater, it is determined that the validity verification of the target location information has failed, and the operation of obtaining the target location information corresponding to the terminal at the current time is re-executed; if it is less, it is determined that the validity verification of the target location information has passed.
[0056] In another embodiment of this application, after obtaining the target location information, it is verified whether the dwell time of the terminal in the area is greater than a time threshold. If it is greater, it is determined that the validity verification of the target location information has failed, and the operation of obtaining the target location information corresponding to the terminal at the current time is re-executed; if it is less, it is determined that the validity verification of the target location information has passed.
[0057] S202, when the target location information is inconsistent with the terminal's historical location information, determine the hotspot access network communication deployment status of the target area to which the target location information belongs.
[0058] It should be noted that by comparing the target location information with the terminal's historical location information, it can be determined whether the terminal has roamed to a new area. Specifically, if the target location information and the terminal's historical location information are inconsistent, it can be determined that the terminal has roamed to a new area; similarly, if the target location information and the terminal's historical location information are consistent, it can be determined that the terminal has not roamed to a new area.
[0059] Furthermore, after determining that the terminal has roamed to a new area, the deployment status of hotspot access network communication in the target area to which the target location information belongs can be determined, thereby determining whether hotspot access network communication is deployed in the target area.
[0060] S203, If hotspot access network communication is not deployed in the target area, restrict the hotspot access network communication function of the terminal.
[0061] In cases where no hotspot access network communication is deployed in the target area, the terminal cannot conduct network communication even if it sends a query request. Therefore, in order to prevent the terminal from continuously resending query requests, it is necessary to restrict the terminal's hotspot access network communication function. This ensures that the terminal is prevented from continuously resending query requests when no hotspot access network communication is deployed in the target area, thereby preventing the waste of network resources and the generation of signaling impact.
[0062] Furthermore, if the target location information is inconsistent with the terminal's historical location information, the historical location information cached by the terminal is deleted.
[0063] The aforementioned network communication function control method, by acquiring the target location information corresponding to the terminal at the current moment, determines the hotspot access network communication deployment status of the target area to which the target location information belongs when the target location information is inconsistent with the terminal's historical location information. Furthermore, if no hotspot access network communication is deployed in the target area, the method restricts the terminal's hotspot access network communication function. As can be seen from the above, this application, by acquiring the target location information corresponding to the terminal at the current moment and then determining whether the target location information is consistent with the terminal's historical location information, determines whether the terminal has roamed to an area where no hotspot access network communication is deployed. Furthermore, after determining that the terminal has roamed to an area where no hotspot access network communication is deployed, by restricting the terminal's hotspot access network communication function, it prevents the terminal from continuously resending query requests, thereby preventing the waste of network resources and the generation of signaling spikes.
[0064] In one embodiment, such as Figure 3 As shown, after determining the hotspot access network communication deployment in the target area to which the target location information belongs, the following may also be included:
[0065] S301, when a hotspot access network communication is deployed in the target area, obtain the Evolved Packet Data Gateway (ePDG) IP address of the target area.
[0066] It should be noted that when it is necessary to obtain the ePDG IP address of the area corresponding to the target location information, the following may be included: sending an address retrieval request for the target area to the Domain Name System (DNS) network element; receiving the address retrieval response from the DNS network element, wherein the address retrieval response carries the ePDG IP address of the target area.
[0067] S302, based on the ePDG IP address, enables the terminal to access network communication in the target area via hotspot.
[0068] It should be noted that since the target area has hotspot access network communication, a query request can be sent based on the ePDG IP address to enable the terminal to perform VoWiFi communication operations in the target area.
[0069] The above-mentioned network communication function control method, when hotspot access network communication is deployed in the target area, obtains the evolved packet data gateway (ePDG) IP address of the target area, and enables the terminal to enable hotspot access network communication function in the target area based on the ePDG IP address, thus ensuring the normal VoWiFi communication operation of the terminal in the target area.
[0070] In one embodiment, when it is necessary to obtain the target location information corresponding to the terminal at the current moment, the following may also be included:
[0071] Receive the Tracking Area Update Request (TAU Request) sent by the Mobility Management Entity (MME) network element, and extract the target location information of the terminal at the current moment from the TAU Request; or,
[0072] Receive the initial attach procedure ATTACH ACCEPT sent by the MME network element, and extract the target location information of the terminal at the current time from the ATTACH ACCEPT.
[0073] To further explain, when it is necessary to receive the Tracking Area Update (TAU) Request sent by the Mobility Management Entity (MME) network element, the following may be included: sending a Tracking Area Update Acceptance (TAU ACCEPT) to the MME network element, the TAU ACCEPT being used to instruct the MME network element to determine the target location information; and receiving the TAU Request fed back by the MME network element.
[0074] The TAU Request contains the target location information.
[0075] It should be noted that, to ensure successful acquisition of the terminal's target location information at the current moment, the MME or SMF network element needs to be upgraded to support the area ID field. Specifically, an optional area ID field (such as using a proprietary IEI or a standard reserved field) needs to be added to the 3GPP ATTACH ACCEPT / TAU ACCEPT message. Furthermore, the MME integrates a TAC-area mapping database to dynamically populate the area ID based on the user's current TAC / ECGI.
[0076] The aforementioned network communication function control method receives a Tracking Area Update Request (TAU Request) sent by a Mobility Management Entity (MME) or an Initial Attachment Request (ATTACH ACCEPT) sent by an MME.
[0077] In one embodiment, such as Figure 4 As shown, when it is necessary to restrict the hotspot access network communication function of a terminal, the following can be included:
[0078] S401, send Tracking Area Update Acceptance (TAU ACCEPT) to the MME network element. TAU ACCEPT is used to instruct the MME network element to determine the target location information.
[0079] S402, receive the TAU Request fed back by the MME network element; wherein, the TAU Request carries the target location information.
[0080] S403, when the target location information is inconsistent with the terminal's historical location information, determine the hotspot access network communication deployment status of the target area to which the target location information belongs.
[0081] S404, restricting the hotspot access network communication function of the terminal when no hotspot access network communication is deployed in the target area.
[0082] S405, when a hotspot access network communication is deployed in the target area, sends an address acquisition request for the target area to the Domain Name System (DNS) network element.
[0083] S406, Receive the address acquisition response from the DNS network element, wherein the address acquisition response carries the ePDG IP address of the target zone.
[0084] S407 enables the terminal to access network communication in the target area based on the ePDG IP address.
[0085] In one embodiment of this application, such as Figure 5 As shown, the terminal sends a Tracking Area Update (TAUACCEPT) to the MME network element; the MME network element determines the target location information and sends a TAU Request back to the terminal; the TAU Request carries the target location information. If the target location information is inconsistent with the terminal's historical location information, and if hotspot access network communication is deployed in the target area, the terminal obtains the evolved PDG IP address of the target area; and based on the ePDG IP address, enables the terminal's hotspot access network communication function in the target area. If hotspot access network communication is not deployed in the target area, the DNS sends a "No such name" or "NXDOMIN" cause message back to the terminal, causing the terminal to restrict its hotspot access network communication function.
[0086] The aforementioned network communication function control method, by acquiring the target location information corresponding to the terminal at the current moment, determines the hotspot access network communication deployment status of the target area to which the target location information belongs when the target location information is inconsistent with the terminal's historical location information. Furthermore, if no hotspot access network communication is deployed in the target area, the method restricts the terminal's hotspot access network communication function. As can be seen from the above, this application, by acquiring the target location information corresponding to the terminal at the current moment and then determining whether the target location information is consistent with the terminal's historical location information, determines whether the terminal has roamed to an area where no hotspot access network communication is deployed. Furthermore, after determining that the terminal has roamed to an area where no hotspot access network communication is deployed, by restricting the terminal's hotspot access network communication function, it prevents the terminal from continuously resending query requests, thereby preventing the waste of network resources and the generation of signaling spikes.
[0087] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0088] Based on the same inventive concept, this application also provides a network communication function control device for implementing the network communication function control method described above. The solution provided by this device is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more network communication function control device embodiments provided below can be found in the limitations of the network communication function control method described above, and will not be repeated here.
[0089] In one embodiment, such as Figure 6 As shown, a network communication function control device is provided, comprising: an acquisition module 10, a determination module 20, and a restriction module 30, wherein:
[0090] The acquisition module 10 is used to acquire the target location information corresponding to the terminal at the current time.
[0091] The determination module 20 is used to determine the hotspot access network communication deployment status of the target area to which the target location information belongs when the target location information is inconsistent with the historical location information of the terminal.
[0092] The restriction module 30 is used to restrict the hotspot access network communication function of the terminal when no hotspot access network communication is deployed in the target area.
[0093] In one embodiment, when a hotspot access network communication is deployed in the target area, the evolved packet data gateway (ePDG) IP address of the target area is obtained.
[0094] Based on the ePDG IP address, enable the terminal to access network communication via hotspot in the target area.
[0095] In one embodiment, an address retrieval request for the target zone is sent to a Domain Name System (DNS) element;
[0096] Receive the address acquisition response from the DNS network element, which carries the ePDGIP address of the target zone.
[0097] In one embodiment, a Tracking Area Update (TAURequest) is received from a Mobility Management Entity (MME) network element, and the target location information corresponding to the terminal at the current time is extracted from the TAURequest; or,
[0098] Receive the initial attach procedure ATTACH ACCEPT sent by the MME network element, and extract the target location information of the terminal at the current time from the ATTACH ACCEPT.
[0099] In one embodiment, a Tracking Area Update Acceptance (TAU ACCEPT) is sent to the MME network element, whereby the TAU ACCEPT instructs the MME network element to determine the target location information.
[0100] Receive TAU Requests from MME network elements; the TAU Requests carry target location information.
[0101] In one embodiment, historical location information cached on the terminal is deleted.
[0102] The aforementioned network communication function control device, by acquiring the target location information corresponding to the terminal at the current moment, determines the hotspot access network communication deployment status of the target area to which the target location information belongs when the target location information is inconsistent with the terminal's historical location information. Furthermore, if no hotspot access network communication is deployed in the target area, the device restricts the terminal's hotspot access network communication function. As can be seen from the above, this application, by acquiring the target location information corresponding to the terminal at the current moment and then determining whether the target location information is consistent with the terminal's historical location information, determines whether the terminal has roamed to an area where no hotspot access network communication is deployed. Furthermore, after determining that the terminal has roamed to an area where no hotspot access network communication is deployed, by restricting the terminal's hotspot access network communication function, it prevents the terminal from continuously resending query requests, thereby preventing the waste of network resources and the generation of signaling spikes.
[0103] Each module in the aforementioned network communication function control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0104] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 7 As shown, the computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a network communication function control method. The display unit is used to form a visually visible image and can be a display screen, projection device, or virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.
[0105] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0106] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0107] Obtain the target location information of the terminal at the current moment;
[0108] In cases where the target location information is inconsistent with the terminal's historical location information, determine the hotspot access network communication deployment status of the target area to which the target location information belongs;
[0109] If hotspot access network communication is not deployed in the target area, restrict the hotspot access network communication function of the terminal.
[0110] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0111] In the case where hotspot access network communication is deployed in the target area, obtain the IP address of the evolved packet data gateway (ePDG) in the target area;
[0112] Based on the ePDG IP address, enable the terminal to access network communication via hotspot in the target area.
[0113] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0114] Send an address retrieval request for the target zone to the Domain Name System (DNS) network element;
[0115] Receive the address acquisition response from the DNS network element, which carries the ePDGIP address of the target zone.
[0116] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0117] Receive the Tracking Area Update Request (TAU Request) sent by the Mobility Management Entity (MME) network element, and extract the target location information of the terminal at the current moment from the TAU Request; or,
[0118] Receive the initial attach procedure ATTACH ACCEPT sent by the MME network element, and extract the target location information of the terminal at the current time from the ATTACH ACCEPT.
[0119] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0120] Send Tracking Area Update Acceptance (TAU ACCEPT) to the MME network element. TAU ACCEPT is used to instruct the MME network element to determine the target location information.
[0121] Receive TAU Requests from MME network elements; the TAU Requests carry target location information.
[0122] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0123] Delete historical location information from the terminal cache.
[0124] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0125] Obtain the target location information of the terminal at the current moment;
[0126] In cases where the target location information is inconsistent with the terminal's historical location information, determine the hotspot access network communication deployment status of the target area to which the target location information belongs;
[0127] If hotspot access network communication is not deployed in the target area, restrict the hotspot access network communication function of the terminal.
[0128] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0129] In the case where hotspot access network communication is deployed in the target area, obtain the IP address of the evolved packet data gateway (ePDG) in the target area;
[0130] Based on the ePDG IP address, enable the terminal to access network communication via hotspot in the target area.
[0131] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0132] Send an address retrieval request for the target zone to the Domain Name System (DNS) network element;
[0133] Receive the address acquisition response from the DNS network element, which carries the ePDGIP address of the target zone.
[0134] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0135] Receive the Tracking Area Update Request (TAU Request) sent by the Mobility Management Entity (MME) network element, and extract the target location information of the terminal at the current moment from the TAU Request; or,
[0136] Receive the initial attach procedure ATTACH ACCEPT sent by the MME network element, and extract the target location information of the terminal at the current time from the ATTACH ACCEPT.
[0137] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0138] Send Tracking Area Update Acceptance (TAU ACCEPT) to the MME network element. TAU ACCEPT is used to instruct the MME network element to determine the target location information.
[0139] Receive TAU Requests from MME network elements; the TAU Requests carry target location information.
[0140] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0141] Delete historical location information from the terminal cache.
[0142] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0143] Obtain the target location information of the terminal at the current moment;
[0144] In cases where the target location information is inconsistent with the terminal's historical location information, determine the hotspot access network communication deployment status of the target area to which the target location information belongs;
[0145] If hotspot access network communication is not deployed in the target area, restrict the hotspot access network communication function of the terminal.
[0146] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0147] In the case where hotspot access network communication is deployed in the target area, obtain the IP address of the evolved packet data gateway (ePDG) in the target area;
[0148] Based on the ePDG IP address, enable the terminal to access network communication via hotspot in the target area.
[0149] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0150] Send an address retrieval request for the target zone to the Domain Name System (DNS) network element;
[0151] Receive the address acquisition response from the DNS network element, which carries the ePDGIP address of the target zone.
[0152] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0153] Receive the Tracking Area Update Request (TAU Request) sent by the Mobility Management Entity (MME) network element, and extract the target location information of the terminal at the current moment from the TAU Request; or,
[0154] Receive the initial attach procedure ATTACH ACCEPT sent by the MME network element, and extract the target location information of the terminal at the current time from the ATTACH ACCEPT.
[0155] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0156] Send Tracking Area Update Acceptance (TAU ACCEPT) to the MME network element. TAU ACCEPT is used to instruct the MME network element to determine the target location information.
[0157] Receive TAU Requests from MME network elements; the TAU Requests carry target location information.
[0158] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0159] Delete historical location information from the terminal cache.
[0160] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0161] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0162] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0163] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A network communication function control method characterized by comprising: The method comprises: acquiring target location information corresponding to the terminal at a current time; in a case where the target location information is inconsistent with historical location information of the terminal, determining a hotspot access network communication deployment situation of a target area to which the target location information belongs; in a case where no hotspot access network communication is deployed in the target area, limiting a hotspot access network communication function of the terminal.
2. The method of claim 1, wherein, The method further comprises: in a case where hotspot access network communication is deployed in the target area, acquiring an evolved packet data gateway (ePDG) IP address of the target area; based on the ePDG IP address, enabling the hotspot access network communication function of the terminal in the target area.
3. The method of claim 2, wherein, The acquiring of the ePDG IP address of the target area corresponding to the target location information comprises: sending an address acquisition request for the target area to a domain name system (DNS) network element; receiving an address acquisition response fed back by the DNS network element, wherein the ePDG IP address of the target area is carried in the address acquisition response.
4. The method of claim 1, wherein, The acquiring of the target location information corresponding to the terminal at the current time comprises: receiving a tracking area update (TAU) request sent by a mobile management entity (MME) network element, and extracting the target location information corresponding to the terminal at the current time from the TAU request; or receiving an initial attach (ATTACH) acceptance sent by the MME network element, and extracting the target location information corresponding to the terminal at the current time from the ATTACH acceptance.
5. The method of claim 4, wherein, The receiving of the TAU request sent by the MME network element comprises: sending a tracking area update acceptance (TAU ACCEPT) to the MME network element, the TAU ACCEPT being used to indicate that the MME network element determines the target location information; receiving the TAU request fed back by the MME network element, wherein the target location information is carried in the TAU request.
6. The method of claim 1, wherein, In the case where the target location information is inconsistent with the historical location information of the terminal, the method further comprises: deleting the historical location information cached by the terminal.
7. A network communication function control apparatus characterized by comprising: The apparatus comprises: an acquiring module configured to acquire target location information corresponding to the terminal at a current time; a determining module configured to, in a case where the target location information is inconsistent with historical location information of the terminal, determine a hotspot access network communication deployment situation of a target area to which the target location information belongs; a limiting module configured to, in a case where no hotspot access network communication is deployed in the target area, limit a hotspot access network communication function of the terminal. 8.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer device is configured to perform the method according to any one of claims 1-7. The processor, when executing the computer program, implements the steps of the method of any one of claims 1 to 6.
9. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program, when executed by the processor, implements the steps of the method of any one of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that, The computer program, when executed by the processor, implements the steps of the method of any one of claims 1 to 6.