Information processing method, device, terminal and network side equipment
By receiving DNS configuration modification instructions and updating the terminal's DNS configuration, the problem of terminal DNS query requests being sent to non-core network DNS servers is solved, ensuring the security and reliability of DNS query requests.
Patent Information
- Application Number
- CN202110242188.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-04
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-03-04
AI Technical Summary
The terminal's DNS configuration is modified, causing the DNS query request to be sent to the DNS server selected by the non-core network device, which may not be within the operator's management scope, affecting security.
Provide an information processing method, including receiving a DNS configuration modification instruction, sending instruction information to modify the DNS configuration of the terminal, and updating the DNS configuration of the terminal according to the received DNS configuration information to make it unmodifiable or set to the highest priority, so as to Ensure that DNS query requests are sent to the DNS server designated by the core network.
It effectively prevents terminal DNS query requests from being sent to non-core network DNS servers, ensuring the security and reliability of DNS query requests and preventing core network optimized DNS configurations from being overwritten.
Smart Images

Figure CN115022866B
Abstract
Description
Technical Field
[0001] The present application belongs to the field of wireless communication technology, and specifically relates to an information processing method, apparatus, terminal and network side equipment. Background Art
[0002] In the related art, the core network device can configure the DNS server that matches the current DNS for the terminal based on the Domain Name System (DNS) configuration information sent by the terminal. For example, the Session Management Function (SMF) can configure the IP address of the local DNS (L-DNS) server (when the uplink classifier (UL CL) has been inserted) or the IP address of the edge application server discovery function (EASDF) (when the UL CL has not been inserted) to the terminal through the enhanced protocol configuration option (ePCO) process.
[0003] However, in specific applications, the DNS configuration of the terminal can be modified, for example, the application (APP) on the terminal modifies the DNS configuration of the terminal or the user manually modifies the DNS configuration of the terminal. For example, the EASDF IP address or the IP address of the L-DNS in the DNS configuration is overwritten and replaced with the IP address of other third-party DNS servers, which causes the DNS configuration selected by the core network device for the terminal to become invalid, and the core network is unaware of it. Therefore, it is impossible to revise the DNS configuration of the terminal in time, which may cause the DNS configuration optimized by the core network for the terminal to be overwritten, and the DNS query request sent by the terminal may be sent to the DNS server selected by other non-core network devices, and the DNS server may not be within the management scope of the operator, so its security cannot be guaranteed. Summary of the invention
[0004] The embodiments of the present application provide an information processing method, apparatus, terminal and network-side equipment, which can solve the problem that a DNS query request is sent to a DNS server selected by a non-core network device due to modification of the DNS configuration of the terminal.
[0005] In a first aspect, an information processing method is provided, which is applied to a terminal, and the method includes: receiving a modification instruction to modify the DNS configuration of the terminal; modifying the DNS configuration according to the modification instruction; and sending first indication information, wherein the first indication information indicates that the DNS configuration of the terminal is modified.
[0006] In a second aspect, an information processing method is provided, which is applied to a terminal, and the method includes: receiving second DNS configuration information; updating the DNS configuration of the terminal according to the second DNS configuration information; setting the DNS configuration to be unmodifiable and / or setting the DNS configuration to the highest priority.
[0007] In a third aspect, an information processing method is provided, which is applied to a first network device, and the method includes: obtaining first information, wherein the first information includes: an address of a first target server; receiving a DNS query request from a terminal, wherein the target address of the DNS query request is the address of a second target server; when the second target server is different from the first target server, setting the target address of the DNS query request to the address of the first target server; sending the set DNS query request; wherein the first network device can parse whether a data packet from the terminal contains a DNS query request.
[0008] In a fourth aspect, an information processing method is provided, which is applied to a second network device, and the method includes: obtaining address information of a third target server matching the terminal; performing at least one of the following operations based on the address information of the third target server: generating DNS configuration information of the terminal and sending it to the terminal; generating an external packet header and sending it to the first network device; sending the address information of the third target server to the first network device; and generating a DNS configuration update cycle for the terminal.
[0009] In a fifth aspect, an information processing device is provided, comprising: a first receiving module for receiving a modification instruction for modifying the DNS configuration of a terminal; a first configuration module for modifying the DNS configuration according to the modification instruction; and a first sending module for sending a first indication information, wherein the first indication information indicates that the DNS configuration of the terminal is modified.
[0010] In a sixth aspect, an information processing device is provided, comprising: a second receiving module for receiving second DNS configuration information; a second configuration module for updating the DNS configuration of the terminal according to the second DNS configuration information; and a first setting module for setting the DNS configuration to be unmodifiable and / or setting the DNS configuration to the highest priority.
[0011] In the seventh aspect, an information processing device is provided, comprising: a first acquisition module, used to acquire first information, wherein the first information includes: an address of a first target server; a third receiving module, used to receive a DNS query request from a terminal, wherein the target address of the DNS query request is the address of a second target server; a second setting module, used to set the target address of the DNS query request to the address of the first target server when the second target server is different from the first target server; a second sending module, used to send the set DNS query request; wherein the information processing device can parse whether a data packet from the terminal contains a DNS query request.
[0012] In the eighth aspect, an information processing device is provided, which includes: a second acquisition module, which acquires the address information of a third target server matching the terminal; an operation module, which is used to perform at least one of the following operations based on the address information of the third target server: generate DNS configuration information of the terminal and send it to the terminal; generate an external packet header and send it to a first network device; send the address information of the third target server to the first network device; generate a DNS configuration update cycle for the terminal.
[0013] In the ninth aspect, a terminal is provided, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect, or implements the steps of the method described in the second aspect.
[0014] In the tenth aspect, a network side device is provided, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the third aspect, or implements the steps of the method described in the fourth aspect.
[0015] In the eleventh aspect, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the second aspect are implemented, or the steps of the method described in the third aspect are implemented, or the steps of the method described in the fourth aspect are implemented.
[0016] In the twelfth aspect, a chip is provided, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, the processor is used to run a terminal program or instruction to implement the method as described in the first aspect, or to implement the steps of the method as described in the second aspect, and the processor is used to run a network side device program or instruction to implement the method as described in the third aspect, or to implement the steps of the method as described in the fourth aspect.
[0017] In the thirteenth aspect, a computer program product is provided, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect, or implements the steps of the method described in the second aspect, or implements the steps of the method described in the third aspect, or implements the steps of the method described in the fourth aspect.
[0018] In an embodiment of the present application, after receiving a modification instruction to modify the DNS configuration, the terminal sends a first indication message indicating that the DNS configuration of the terminal has been modified, so that the device receiving the first indication message can resend the DNS configuration and modify the DNS configuration of the terminal back to ensure that the DNS query request of the terminal is sent to the DNS server specified by the core network. Alternatively, after receiving the DNS configuration information and using the DNS configuration information to modify the DNS configuration, the terminal can set the DNS configuration to be unmodifiable, or the terminal can set the DNS configuration to the highest priority, so as to avoid the DNS query request of the terminal being sent to a DNS server not specified by the core network. Alternatively, the first network device can also redirect the DNS query request when receiving the DNS query request of the terminal, redirecting the DNS query request of the terminal to the DNS server specified by the core network to ensure that the DNS query request of the terminal is sent to the DNS server specified by the core network. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 A schematic diagram showing a wireless communication system to which the embodiments of the present application can be applied;
[0020] Figure 2 A schematic diagram showing a flow chart of an information processing method provided by an embodiment of the present application;
[0021] Figure 3 Another schematic diagram showing a flow chart of an information processing method provided by an embodiment of the present application;
[0022] Figure 4 Another schematic diagram showing a flow chart of the information processing method provided by the embodiment of the present application;
[0023] Figure 5Another schematic diagram showing a flow chart of the information processing method provided by the embodiment of the present application;
[0024] Figure 6 Another schematic diagram showing a flow chart of the information processing method provided by the embodiment of the present application;
[0025] Figure 7 Another schematic diagram showing a flow chart of the information processing method provided by the embodiment of the present application;
[0026] Figure 8 Another schematic diagram showing a flow chart of the information processing method provided by the embodiment of the present application;
[0027] Fig. 9 Another schematic diagram showing a flow chart of the information processing method provided by the embodiment of the present application;
[0028] Fig.10 Another schematic diagram showing a flow chart of the information processing method provided by the embodiment of the present application;
[0029] Fig.11 Another schematic diagram showing a flow chart of the information processing method provided by the embodiment of the present application;
[0030] Fig.12 A schematic diagram showing a structure of an information processing device provided by an embodiment of the present application is shown;
[0031] Fig.13 Another schematic diagram showing the structure of the information processing device provided by the embodiment of the present application;
[0032] Fig.14 Another structural schematic diagram of the information processing device provided by the embodiment of the present application is shown;
[0033] Fig.15 Another structural schematic diagram of the information processing device provided by the embodiment of the present application is shown;
[0034] Fig.16 A schematic diagram showing the structure of a communication device provided in an embodiment of the present application is shown;
[0035] Fig.17 A schematic diagram showing the hardware structure of a terminal provided in an embodiment of the present application is shown;
[0036] Fig.18 A schematic diagram of the hardware structure of a network side device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0037] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of this application.
[0038] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first" and "second" are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally represents that the objects associated with each other are in an "or" relationship.
[0039] It is worth noting that the technology described in the embodiments of the present application is not limited to the Long Term Evolution (LTE) / LTE-Advanced (LTE-A) system, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency-Division Multiple Access (SC-FDMA) and other systems. The terms "system" and "network" in the embodiments of the present application are often used interchangeably, and the described technology can be used for the systems and radio technologies mentioned above as well as for other systems and radio technologies. The following description describes a New Radio (NR) system for example purposes, and NR terminology is used in most of the following descriptions, but these technologies can also be applied to applications other than NR system applications, such as the 6th generation (6 th Generation, 6G) communication system.
[0040] Figure 1A schematic diagram of a wireless communication system applicable to an embodiment of the present application is shown. The wireless communication system includes a terminal 11 and a network side device 12. Among them, the terminal 11 can also be called a terminal device or a user terminal (User Equipment, UE), and the terminal 11 can be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer) or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a handheld computer, a netbook, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a mobile Internet device (Mobile Internet Device, MID), a wearable device (Wearable Device) or a vehicle-mounted device (VUE), a pedestrian terminal (PUE) and other terminal side devices, and the wearable device includes: a bracelet, a headset, glasses, etc. It should be noted that the specific type of the terminal 11 is not limited in the embodiment of the present application. The network side device 12 may be a base station or a core network device, wherein the base station may be referred to as a node B, an evolved node B, an access point, a base transceiver station (Base Transceiver Station, BTS), a radio base station, a radio transceiver, a basic service set (Basic Service Set, BSS), an extended service set (Extended Service Set, ESS), a B node, an evolved B node (eNB), a home B node, a home evolved B node, a WLAN access point, a WiFi node, a transmitting and receiving point (Transmitting Receiving Point, TRP) or other appropriate terms in the field, as long as the same technical effect is achieved, the base station is not limited to a specific technical vocabulary, it should be noted that in the embodiment of the present application, only the base station in the NR system is taken as an example, but the specific type of the base station is not limited. The core network device may include an SMF, a user plane function (User Plane Function, UPF), a protocol data unit (Protocol Data Unit, PDU) session anchor (PDU Session Anchor, PSA), and UL CL, etc.
[0041] The information processing scheme provided by the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0042] Figure 2 A flow chart of the information processing method in the embodiment of the present application is shown, and the method 200 can be executed by a terminal. In other words, the method can be executed by software or hardware installed on the terminal. Figure 2 As shown, the method may include the following steps.
[0043] S210: receiving a modification instruction for modifying the DNS configuration of the terminal.
[0044] In a specific application, the modification instruction may be an external input instruction, for example, a modification instruction input by a user through a keyboard, a touch screen, etc. of a terminal. Alternatively, the modification instruction may also be a modification instruction sent by an application on the terminal.
[0045] S212: Modify the DNS configuration according to the modification instruction.
[0046] The DNS configuration of the terminal may include at least one of the following:
[0047] (1) Address information of the central DNS server, for example, the IP address of the central DNS server and / or the fully qualified domain name (FQDN) of the central DNS server.
[0048] (2) Address information of the Edge Application Server Discovery Function (EASDF). For example, the IP address of the EASDF and / or the FQDN of the EASDF. The EASDF is a core network element used to process the DNS query request sent by the terminal.
[0049] (3) Address information of the local DNS (L-DNS) server, for example, the IP address of the L-DNS server and / or the FQDN of the L-DNS server.
[0050] In a specific application, the modification instruction may modify the address of the DNS server (eg, central DNS server, EASDF, or L-DNS server) in the terminal's DNS configuration, and modify the address of the DNS server in the DNS configuration to the address of a DNS server provided by another third party.
[0051] S214: Send first indication information, wherein the first indication information indicates that the DNS configuration of the terminal is modified.
[0052] After receiving the modification instruction to modify the DNS configuration, the terminal sends a first indication message to indicate that the DNS configuration of the terminal has been modified, so that the device that receives the first indication message can resend the DNS configuration and modify the DNS configuration of the terminal to the DNS configuration specified by the core network device to ensure that the DNS query request of the terminal is sent to the DNS server specified by the core network.
[0053] In a possible implementation, after S214, the method may further include: receiving first DNS configuration information; and modifying the DNS configuration according to the first DNS configuration information. The first DNS configuration information is the DNS configuration information configured by the core network device for the terminal. Through this possible implementation, after the DNS configuration of the terminal is modified by the user or the APP, the DNS configuration of the terminal can be modified to the DNS configuration specified by the core network device, so as to ensure that the DNS query request of the terminal is sent to the DNS server specified by the core network.
[0054] The first DNS configuration information may include at least one of the following: address information of a central DNS server; address information of an EASDF; and address information of a local DNS server.
[0055] In a possible implementation, the terminal may send the first indication information to the core network device, and after receiving the first indication information, the core network device sends the first DNS configuration information to the terminal, and the terminal receives the first DNS configuration information sent by the core network device. Through this possible implementation, when the DNS configuration of the terminal is modified, the terminal may send the first indication information to the core network device, and after receiving the first indication information, the core network device may send the first DNS configuration information to the terminal to modify the DNS configuration of the terminal.
[0056] In the above possible implementations, the DNS configuration in the first DNS configuration information may be the same as or different from the DNS configuration of the terminal before modification, which is not specifically limited in the embodiments of the present application.
[0057] Optionally, the terminal may send the first indication information to the core network device when in a connected state. The connection state includes but is not limited to at least one of the following: Radio Resource Control (RRC) connection state (RRC-Connected); Registration Management (RM) connection state (RM-REGISTERED); Connection Management (CM) connection state (CM-CONNECTED).
[0058] Optionally, the first indication information may be a non-access stratum (NAS) message indication. The NAS message indication includes but is not limited to at least one of the following:
[0059] (1) Registration Request message;
[0060] (2) Registration Complete message;
[0061] (3) PDU Session Establishment Request message (Nsmf_PDUSession_Create Request);
[0062] (4) PDU Session Establishment Accept (Nsmf_PDUSession_Create Response);
[0063] (5) PDU Session Modification Request message (Nsmf_PDUSession_Update Request);
[0064] (6)PDU Session Modification Ack (Nsmf_PDUSession_Update Response);
[0065] (7) PDU session release request message (PDU Session Release Request, Nsmf_PDUSession_Release Request);
[0066] (8)PDU Session Release Accept message (PDU Session Release Accept, Nsmf_PDUSession_Release Response).
[0067] In another possible implementation, in S214, the operating system (OS) of the terminal may send the first indication information to the chip module (Module) of the terminal, and then receive the first DNS configuration information sent by the chip module, wherein the first DNS configuration information is the DNS configuration information received from the core network device before the DNS configuration is modified according to the modification instruction. That is to say, in this possible implementation, after receiving the DNS configuration information sent by the core network device, the chip module of the terminal sends the DNS configuration information to the operating system of the terminal, saves the DNS configuration information, and the operating system of the terminal applies the DNS configuration. When the DNS configuration of the terminal is modified, the operating system of the terminal sends the first indication information to the chip module, and after receiving the first indication information, the chip module sends the saved DNS configuration information to the operating system to modify the DNS configuration to the original DNS configuration. This can prevent the subsequent DNS query requests of the terminal from being sent to other DNS servers.
[0068] Optionally, the first indication information may be a message indication between the terminal operating system and the chip module.
[0069] The above-mentioned information processing method 200 provided in the present application is described below through a specific embodiment.
[0070] Figure 3 Another flow chart showing the information processing method in the embodiment of the present application is as follows: Figure 3 As shown, the method 300 may include the following steps:
[0071] S301, the DNS configuration of the UE is modified.
[0072] The DNS configuration of the UE may be manually modified by the user or may be modified by an APP in the UE. For details, please refer to the description of S210 and S212 in the above method 200, which will not be repeated here.
[0073] S302, the UE sends a NAS message indication to the 5G core network, which is used to notify the 5G core network that the DNS configuration of the UE has been modified.
[0074] Among them, when the DNS configuration of the UE is modified, the UE is in a connected state and can send a NAS message indication to the 5G core network.
[0075] S303, the 5G core network triggers the ePCO process and sends the correct DNS configuration to the UE.
[0076] For example, when UL CL has been inserted, the 5G core network will send the address information of the L-DNS configured for the UE to the UE, or, when UL CL has not been inserted, the 5G core network will send the address information of the EASDF configured for the UE to the UE.
[0077] Through the above method 300, when the DNS configuration of the UE is not modified according to the instructions of the core network, the core network can be notified. After receiving the notification, the core network sends DNS configuration information to the UE, instructing the UE to modify the DNS configuration according to the DNS configuration information, thereby ensuring that the UE's DNS query request is sent to the DNS server specified by the core network, that is, ensuring that the optimal DNS configuration made by the core network for the terminal will not be invalid.
[0078] Figure 4 Another flow chart of the information processing method in the embodiment of the present application is shown as follows: Figure 4 As shown, the method 400 may include the following steps:
[0079] S401, the 5G core network sends DNS configuration to the UE.
[0080] S402: The chip module of the UE receives the DNS configuration, saves the DNS configuration and sends the DNS configuration to the operating system of the UE.
[0081] S403: The operating system of the UE applies the DNS configuration.
[0082] S404: The operating system of the UE modifies the DNS configuration according to the received modification instruction.
[0083] S405, the operating system of the UE sends an indication message to the chip module, indicating that the DNS configuration of the UE is modified.
[0084] S406: After receiving the indication information, the chip module of the UE sends the saved DNS configuration to the operating system to replace the modified DNS configuration.
[0085] Through the above method 400, after the UE's operating system receives the modification instruction from the non-core network to modify the DNS configuration, it notifies the UE's chip module. After receiving the notification, the chip module sends the saved DNS configuration sent by the core network to the operating system to replace the modified DNS configuration, thereby ensuring that the DNS server in the UE's DNS configuration is the DNS server indicated by the core network, ensuring that the optimal DNS configuration made by the core network for the terminal will not be invalidated.
[0086] Figure 5Another flow chart of the information processing method provided by the embodiment of the present application is shown. The method 500 can be executed by a terminal. In other words, the method can be executed by software or hardware installed on the terminal. Figure 5 As shown, the method may include the following steps.
[0087] S510: Receive second DNS configuration information.
[0088] Among them, the second DNS configuration information may include at least one of the following: address information of the central DNS server, for example, the IP address of the central DNS server and / or the FQDN of the central DNS server; address information of EASDF, for example, the IP address of EASDF and / or the FQDN of EASDF; address information of the local DNS server, for example, the IP address of the local DNS server and / or the FQDN of the local DNS server.
[0089] S512: Update the DNS configuration of the terminal according to the second DNS configuration information.
[0090] In S512, the DNS configuration of the terminal is set to a configuration corresponding to the second DNS configuration information, for example, the address of the DNS server is set to the address of the DNS server in the second DNS configuration information.
[0091] S514: Set the DNS configuration to be unmodifiable and / or set the DNS configuration to have the highest priority.
[0092] In an embodiment of the present application, after the DNS configuration of the terminal is set according to the second DNS configuration information, the DNS configuration is set to be unmodifiable, that is, the DNS configuration cannot be modified by the user or the terminal APP, or the DNS configuration is not editable.
[0093] For example, the terminal receives the second DNS configuration information from the core network device. Since the second DNS configuration information comes from the network side, in order to ensure that the network side can be used to optimize the selection of the DNS server, after the DNS configuration is updated by applying the second DNS configuration information, the DNS configuration is set to be unmodifiable.
[0094] Through the method provided in the embodiment of the present application, by setting the DNS configuration of the terminal to be unmodifiable, the DNS configuration of the terminal can be prevented from being modified by the user or the terminal's APP, so as to prevent the better DNS configuration selected by the core network for the UE from becoming invalid, and ensure that the DNS query request is sent to the DNS server specified by the core network, so as to prevent the DNS request sent by the UE from being sent to a third-party external DNS server, thereby ensuring security.
[0095] Alternatively, in an embodiment of the present application, after the DNS configuration of the terminal is set according to the second DNS configuration information, the priority of the DNS configuration can be set to the highest priority. When the UE sends a DNS query request, it can select the DNS configuration with the highest priority to send the DNS query request, that is, the target address of the DNS query request is set to the address of the DNS server in the DNS configuration with the highest priority. Through this method, it can be ensured that the DNS query request is sent to the DNS server specified by the core network, and the DNS request sent by the UE is prevented from being sent to a third-party external DNS server, thereby ensuring security.
[0096] In a possible implementation, the chip module of the terminal may receive the second DNS configuration information, send the second DNS configuration information to the operating system of the terminal, and send second indication information to the operating system of the terminal to indicate that the DNS configuration cannot be modified.
[0097] For example, after receiving the second DNS configuration information, the chip module determines that the configuration information is the DNS configured by the operator for the terminal, and therefore sends the second indication information to the operating system.
[0098] Alternatively, after sending the second DNS configuration information to the terminal, the core network device may send third indication information to the terminal, where the third indication information indicates that the second DNS configuration information cannot be modified. Optionally, the third indication information may be a NAS message indication.
[0099] For example, in Figure 6 In the information processing method shown, in S601, the 5G core network sends a DNS configuration to the UE. Optionally, the 5GC can indicate with NAS that the DNS configuration cannot be modified. The chip module (module) and operating system (OS) of the terminal obtain the DNS configuration. In S602, the chip module of the UE determines that the DNS configuration is configured by the operator for the UE, and sends an indication message to the UE OS, indicating that the DNS record cannot be modified.
[0100] Figure 7 Another flow chart of the information processing method in the embodiment of the present application is shown, and the method 700 can be executed by the first network device. In other words, the method can be executed by software or hardware installed on the first network device.
[0101] In the embodiment of the present application, the first network device may be a network element in the core network, and the first network device may parse whether a data packet from the terminal contains a DNS query request, that is, the first network device has the ability to identify whether a data packet from the terminal contains a DNS query request. The first network device is an intermediate node in routing the DNS query request to the DNS server. For example, the first network device may be a UPF and / or a PSA.
[0102] like Figure 7 As shown, the method may include the following steps.
[0103] S710, obtaining first information, wherein the first information includes: an address of a first target server.
[0104] For example, when selecting a DNS server for the terminal, the second network device (eg, SMF) may send the selected DNS server to the first network device, and the first network device acquires the address of the DNS server (ie, the first target server).
[0105] Optionally, the first information may include: DNS configuration information and / or an external header of the terminal, wherein the external header is generated according to the address of the first target server selected for the terminal. That is, after selecting the first target server for the terminal, the second network device may obtain the DNS configuration information and / or the external header of the terminal, and send the DNS configuration information and / or the external header of the terminal to the first network device.
[0106] In a specific application, since there may be multiple terminals in the network system and the first target servers of different terminals may be different, the first network device may associate the first information with the terminal identifier and store it.
[0107] S712: Receive a DNS query request from the terminal, wherein the target address of the DNS query request is the address of the second target server.
[0108] The first network device parses the DNS query request from the data packet sent by the terminal, and obtains the target address of the DNS query request, that is, the address of the second target server.
[0109] S714: When the second target server is different from the first target server, set the target address of the DNS query request to the address of the first target server.
[0110] The first network device can obtain the address of the first target server associated with the terminal according to the identifier of the terminal that sends the DNS query request, and judge whether the address of the first target server is the same as the target address of the DNS query request, so as to determine whether the second target server is the same as the first target server. If they are not the same, it can be determined that the DNS configuration of the terminal has been modified, and the DNS query request is redirected, and the target address of the DNS query request is set to the address of the first target server.
[0111] S716, sending the configured DNS query request.
[0112] The first network device sets the target address of the DNS query request to the address of the first target server and sends the DNS query request, so that the DNS query request can be sent to the first target server.
[0113] In a possible implementation, in S714, the target address of the DNS query request may be replaced with the address of the first target server. Alternatively, a header may be added to the outside of the DNS query request, and the target address included in the header is the address of the first target server.
[0114] In a possible implementation, after S716, the first network device may also receive a query response to the DNS query request. Since the DNS query request is routed to the first target server, the query response is sent by the first target server. In order to prevent the terminal from perceiving that the DNS query request has been redirected, the source address of the query response may be modified to the address of the first target server. In order to increase the flexibility of the query response, in this possible implementation, after sending the modified DNS query request, the method may further include: receiving a query response to the DNS query request; setting the source address in the query response to the address of the second target server; and sending the modified query response.
[0115] Corresponding to the above-mentioned setting of the target address of the DNS query request to the address of the first target server, optionally, setting the source address in the query response to the address of the second target server may include: replacing the source address of the query response with the address of the second target server. Alternatively, removing the external header of the query response, wherein the source address contained in the external header is the address of the first target server. Which specific implementation method is adopted can be determined based on the received query response. If the received query response has the external header, the method of removing the external header of the query response is adopted. Otherwise, the method of replacing the source address of the query response with the address of the second target server is adopted.
[0116] In a possible implementation, in order to allow the second network device to know that the DNS configuration of the terminal has been modified, the method may further include: when the second target server is different from the first target server, sending a notification message to the second network device to notify the second network device to send the DNS configuration to the terminal. Through this possible implementation, the second network device can know that the DNS configuration of the terminal has been modified, and send the DNS configuration to the terminal so that the terminal can use the correct DNS configuration.
[0117] The method 700 provided in the embodiment of the present application is described below through a specific example.
[0118] like Figure 8 As shown, an information processing method 800 provided in an embodiment of the present application may include the following steps:
[0119] S801, UE initiates a PDU session establishment request to SMF (second network device).
[0120] S802, SMF selects EASDF or L-DNS for the UE according to the situation.
[0121] Subsequently, the UE's DNS request needs to be sent to EASDF or L-DNS via UPF and / or PSA.
[0122] S803, SMF sends a forwarding action rule (FAR) to UPF and / or PSA (ie, the first network device), wherein FAR is used to redirect the DNS query sent by the identified UE.
[0123] If the UL CL has been inserted, the outer header of the FAR is the IP address of the L-DNS server or L-DNS resolver. If the UL CL has not been inserted, the outer header of the FAR is the IP address of the EASDF.
[0124] The UPF and / or PSA receives the FAR and may save the FAR.
[0125] S804: SMF sends the DNS configuration, ie, the EASDF IP address or the L-DNS IP address, to the UE through the ePCO process.
[0126] S805: The DNS configuration of the UE is changed, for example, the IP address of the EASDF or L-DNS is changed to another DNS server.
[0127] S806: The UE initiates a DNS query request, and the DNS query request reaches the UPF and / or PSA.
[0128] S807: UPF and / or PSA intercepts the message sent by the UE and finds that the message contains a DNS query request, that is, a DNS message, and then sets the target address of the DNS query request to the EASDF IP or L-DNS IP address in S803.
[0129] Specifically, setting the target address of the DNS query request to the EASDF IP or L-DNS IP address in S803 can be implemented in the following two ways:
[0130] Method 1: When UPF and / or PSA discovers this DNS query request, it directly replaces the destination IP of the DNS query with the EASDF IP or L-DNS IP address; at the same time, UPF can tell SMF through the N4 reporting process to notify SMF to resend the DNS configuration to the UE;
[0131] Method 2: UPF and / or PSA discovers this DNS query request and adds a header to the outside of this DNS request message, that is, uses the previously stored FAR and adds an outer header.
[0132] S808: UPF and / or PSA sends the DNS query request to EASDF or L-DNS.
[0133] S809, UPF and / or PSA receives the DNS response sent by EASDF or L-DNS, and sets the source address of the DNS response to the destination address of the DNS query request sent by the UE.
[0134] Among them, if the above method is used to modify the DNS query request, when the DNS response reaches UPF and / or PSA, UPF and / or PSA changes the source IP of the DNS response from EASDF IP or L-DNS IP back to the original UE modified DNSIP address.
[0135] If the second method described above is used to modify the DNS query request, when receiving the DNS response downstream, the UPF and / or PSA removes the external header of the DNS response.
[0136] S810: UPF and / or PSA sends a DNS response to the UE.
[0137] S811: Since the UPF previously told the SMF through the N4 report process that the UE's DNS configuration may have changed, the SMF triggers another ePCO process to send the current DNS configuration to the UE.
[0138] Using the above method 800, when the UE position has not changed and the update period of the DNS configuration sent by the SMF to the UE has not arrived, and the DNS configuration of the UE has been modified by other APPs, the UE uses the modified DNS configuration to send a DNS query request. Then, the UPF and / or PSA can redirect the DNS query request to the DNS server configured by the SMF to avoid the DNS query request being sent to other DNS servers, thereby ensuring the security of the DNS query request.
[0139] Fig. 9 Another flow chart of the information processing method in the embodiment of the present application is shown. The method 900 can be executed by the second network device. In other words, the method can be executed by software or hardware installed on the second network device. Fig. 9 As shown, the method may include the following steps.
[0140] S910: Acquire address information of a third target server matching the terminal.
[0141] For example, when the second network device receives a PDU session establishment request sent by the terminal, it can search for an EASDF or L-DNS that matches the terminal based on the current UE location, data network name (Data Network Name, DNN), single network slice selection assistance information (Single Network Slice Selection Assistance Information, S-NSSAI), data network access identifier (Data Network Access Identifier, DNAI), and whether UL CL has been established.
[0142] S912: Execute a first operation according to the address information of the third target server.
[0143] The first operation includes but is not limited to at least one of the following:
[0144] (1) Generate DNS configuration information of the terminal and send it to the terminal.
[0145] (2) Generate a FAR, which is an outer header (i.e., an external header), and send it to the first network device. The target address information contained in the outer header is the address information of the third target server. For example, the outer header obtained by the first network device in method 700.
[0146] (3) Sending the address information of the third target server to the first network device. For example, the first information obtained by the first network in method 700.
[0147] (4) Generate a DNS configuration update cycle for the terminal. In the subsequent process, the DNS configuration information of the terminal is updated according to the DNS configuration update cycle. That is, when the DNS configuration update cycle arrives, the second network device sends the address information of the third target server (i.e., the DNS configuration information) to the terminal. Through this possible implementation method, during a DNS configuration update cycle, if the DNS configuration of the terminal is modified by other apps or users, the modified DNS configuration of the terminal can be reconfigured to the DNS configuration specified by the network side when the cycle arrives.
[0148] In a possible implementation, before S910, the method may further include at least one of the following:
[0149] (1) Obtaining third indication information, wherein the third indication information indicates that the location of the terminal has changed. For example, the second network device may subscribe to the location information of the terminal from the Access and Mobility Management Function (AMF), and when the location information of the terminal changes, the AMF notifies the SMF. In this possible implementation, when the location information of the terminal changes, the second network device re-obtains the address information of the DNS server that matches the terminal, and may update the DNS configuration of the terminal, so that the DNS configuration modified by other APPs or users may be reconfigured as the DNS configuration specified by the network side.
[0150] (2) receiving first indication information sent by the terminal, wherein the first indication information indicates that the DNS configuration of the terminal has been modified. The first indication information may be the first indication information sent by the terminal to the core network device in method 200. In this possible implementation, when the second network device learns that the DNS of the terminal has been modified, it may again obtain a DNS server matching the terminal and update the DNS configuration of the terminal, thereby reconfiguring the DNS configuration modified by other APPs or users to be the DNS configuration specified by the network side.
[0151] (3) Receiving a notification message sent by the first network device, wherein the notification message notifies the second network device to send a DNS configuration to the terminal. For example, in method 700, when the first network device determines that the first target server is different from the second target server and considers that the DNS of the terminal has been modified, the first network device is notified, and the first network device can obtain a DNS server matching the terminal again and update the DNS configuration of the terminal, so that the DNS configuration modified by other APPs or users can be reconfigured as the DNS configuration specified by the network side.
[0152] (4) DNS configuration update period arrives. That is, in this possible implementation, the second network device periodically updates the DNS configuration of the terminal to ensure that when the period arrives, the DNS configuration modified by other apps or users is reconfigured to the DNS configuration specified by the network side.
[0153] The method 900 provided in the embodiment of the present application is described below through a specific example.
[0154] Fig.10 is a flowchart of an information processing method in an embodiment of the present application, such as Fig.10 As shown, the method 1000 mainly includes the following steps:
[0155] S1001: SMF (i.e., the second network device) triggers the AMF service and subscribes to the UE's location information
[0156] S1002: When the UE's location changes, especially when the DNAI changes, the AMF notifies the SMF.
[0157] S1003: SMF initiates an EASDF search request or an L-DNS search request to the Network Repository Function (NRF) based on the current UE location, DNN, S-NSSAI, DNAI and other information.
[0158] If the UL CL has been established, an L-DNS search request is initiated; if the UL CL does not exist or has not been established, an EASDF search request is initiated.
[0159] S1004, SMF receives the EASDF or L-DNS server address returned by NRF, where the EASDF or L-DNS server is a DNS server matching the current UE location.
[0160] S1005: SMF updates the IP address of the DNS server to the UE through the ePCO process, that is, updates the IPR address of the DNS server in the DNS configuration of the UE to the IP address of the EASDF or L-DNS server in S1004.
[0161] Fig.11 is a flowchart of an information processing method in an embodiment of the present application, such as Fig.11 As shown, the method 1100 mainly includes the following steps:
[0162] S1101: The UE initiates a PDU session establishment request to the SMF (ie, the second network device).
[0163] S1102: SMF initiates an EASDF search request or an L-DNS search request to the Network Repository Function (NRF) based on the current UE location, DNN, S-NSSAI, DNAI and other information.
[0164] If the UL CL has been established, an L-DNS search request is initiated; if the UL CL does not exist or has not been established, an EASDF search request is initiated.
[0165] S1103, SMF receives the EASDF or L-DNS server address returned by NRF.
[0166] S1104, SMF maintains a configuration table according to the received EASDF or L-DNS server address, and the information recorded in the configuration table is shown in Table 1.
[0167] Table 1.
[0168] UE IP address, or an address segment DNN S-NSSAI DNAI FQDN table EASDF IP address or L-DNS IP address Periodic update time
[0169] S1105: Periodically update the address of the DNS server of the UE according to the above mapping table.
[0170] That is to say, in this embodiment, the EASDF IP address or L-DNS IP address sent to each UE or corresponding to the UE IP address is saved, and a timer T is set. When the timer exceeds T, the SMF triggers the ePCO process to provide the UE with the EASDF IP address or L-DNS IP address.
[0171] In the above technical solution, if the position of the UE changes within a certain period, such as the UE moves, the technical solution described in the above method 1000 can be adopted.
[0172] It should be noted that the information processing method provided in the embodiment of the present application can be executed by an information processing device, or a control module in the information processing device for executing the information processing method. In the embodiment of the present application, the information processing device provided in the embodiment of the present application is described by taking the method for executing information processing by an information processing device as an example.
[0173] Fig.12 A schematic diagram of the structure of an information processing device provided in an embodiment of the present application is shown as follows: Fig.11 As shown, the device 1200 mainly includes: a first receiving module 1201, a first configuration module 1202 and a first sending module 1203.
[0174] In an embodiment of the present application, the first receiving module 1201 is used to receive a modification instruction for modifying the DNS configuration of the terminal; the first configuration module 1202 is used to modify the DNS configuration according to the modification instruction; the first sending module 1203 is used to send a first indication information, wherein the first indication information indicates that the DNS configuration of the terminal is modified.
[0175] In a possible implementation, the DNS configuration includes at least one of the following:
[0176] Address information of the central DNS server;
[0177] The edge application server discovers the address information of the functional entity EASDF;
[0178] Address information of the local DNS server.
[0179] In a possible implementation, the first receiving module 1201 is further used to receive first DNS configuration information; the first configuration module 1202 is further used to modify the DNS configuration according to the first DNS configuration information.
[0180] In a possible implementation, the first sending module 1203 sends the first indication information, including: sending the first indication information to the core network device; the first receiving module 1201 receives the first DNS configuration information, including: receiving the first DNS configuration information sent by the core network device.
[0181] In a possible implementation, the first sending module 1203 sends the first indication information to the core network device, including: when the terminal is in a connected state, sending the first indication information to the core network device.
[0182] In a possible implementation, the connection state includes at least one of the following:
[0183] Radio Resource Control RRC connected state;
[0184] Registration management connection status;
[0185] Connection management connection status.
[0186] In a possible implementation, the first sending module 1203 sends the first indication information, including: sending the first indication information to the chip module of the terminal; the first receiving module 1201 receives the first DNS configuration information, including: receiving the first DNS configuration information sent by the chip module, wherein the first DNS configuration information is the DNS configuration information received from the core network device before the DNS configuration is modified according to the modification instruction.
[0187] In a possible implementation manner, the first indication information includes at least one of the following:
[0188] Non-access stratum NAS message indication.
[0189] Message indication between the terminal operating system and the chip module.
[0190] In a possible implementation manner, the non-access layer NAS message indication includes at least one of the following:
[0191] Registration request message;
[0192] Registration completion message;
[0193] PDU session establishment request message;
[0194] PDU session establishment accept message;
[0195] PDU session change request message;
[0196] PDU Session Change Accept message;
[0197] PDU session release request message;
[0198] PDU Session Release Accept message.
[0199] The information processing device in the embodiment of the present application may be a device, or a component, integrated circuit, or chip in a terminal. The device may be a mobile terminal or a non-mobile terminal. For example, the mobile terminal may include but is not limited to the types of terminals 11 listed above, and the non-mobile terminal may be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0200] The information processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0201] The information processing device provided in the embodiment of the present application can realize Figures 2 to 4 The various processes implemented by the terminal in the method embodiment achieve the same technical effect and are not described here to avoid repetition.
[0202] Fig.13 Another structural diagram of the information processing device provided in the embodiment of the present application is as follows: Fig.13 As shown, the device 1300 mainly includes: a second receiving module 1301 , a second configuration module 1302 and a first setting module 1303 .
[0203] In an embodiment of the present application, the second receiving module 1301 is used to receive second DNS configuration information; the second configuration module 1302 is used to update the DNS configuration of the terminal according to the second DNS configuration information; the first setting module 1303 is used to set the DNS configuration to be unmodifiable and / or set the DNS configuration to the highest priority.
[0204] In a possible implementation, the second receiving module 1301 receives second DNS configuration information, including: receiving the second DNS configuration information sent by the core network device; the first setting module 1303 sets the DNS configuration to be unmodifiable, including: sending second indication information to the operating system of the terminal, and the second indication information indicates that the DNS configuration cannot be modified.
[0205] In a possible implementation, the second receiving module 1301 is further used to receive third indication information sent by a core network device, wherein the third indication information indicates that the second DNS configuration information cannot be modified.
[0206] In a possible implementation manner, the third indication information includes: a non-access stratum NAS message indication.
[0207] The information processing device in the embodiment of the present application may be a device, or a component, integrated circuit, or chip in a terminal. The device may be a mobile terminal or a non-mobile terminal. For example, the mobile terminal may include but is not limited to the types of terminals 11 listed above, and the non-mobile terminal may be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0208] The information processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0209] The information processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0210] The information processing device provided in the embodiment of the present application can realize Figures 5 and 6 The various processes implemented by the terminal in the method embodiment achieve the same technical effect and are not described here to avoid repetition.
[0211] Fig.14 Another structural diagram of the information processing device provided by the embodiment of the present application is shown as follows: Fig.14 As shown, the device mainly includes: a first acquisition module 1401, a third receiving module 1402, a second setting module 1403 and a second sending module 1404.
[0212] In an embodiment of the present application, a first acquisition module 1401 is used to acquire first information, wherein the first information includes: an address of a first target server; a third receiving module 1402 is used to receive a DNS query request from a terminal, wherein the target address of the DNS query request is the address of a second target server; a second setting module 1403 is used to set the target address of the DNS query request to the address of the first target server when the second target server is different from the first target server; a second sending module 1404 is used to send the set DNS query request; wherein the information processing device can parse whether a data packet from the terminal contains a DNS query request.
[0213] In a possible implementation, the second setting module 1403 sets the target address of the DNS query request to the address of the first target server, including:
[0214] replacing the target address of the DNS query request with the address of the first target server; or,
[0215] A packet header is added outside the DNS query request, and the target address included in the packet header is the address of the first target server.
[0216] In a possible implementation, the third receiving module 1402 is also used to receive a query response to the DNS query request; the second setting module 1403 is also used to set the source address in the query response to the address of the second target server; and the second sending module 1404 is also used to send the modified query response.
[0217] In a possible implementation, the second setting module 1403 sets the source address in the query response to the address of the second target server, including:
[0218] replacing the source address of the query response with the address of the second target server; or,
[0219] The external packet header of the query response is removed, wherein the source address contained in the external packet header is the address of the first target server.
[0220] In a possible implementation, the second sending module 1404 is further configured to, when the second target server is different from the first target server, send a notification message to a second network device to notify the second network device to send the DNS configuration to the terminal.
[0221] In a possible implementation manner, the first information includes: DNS configuration information of the terminal and / or an external packet header, wherein the external packet header is generated according to the address of the first target server selected for the terminal.
[0222] The information processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0223] The information processing device provided in the embodiment of the present application can realize Figures 7 and 8 In the method embodiment, the various processes implemented by the first network device achieve the same technical effect. To avoid repetition, they are not described here.
[0224] Fig.15 Another structural diagram of the information processing device provided by the embodiment of the present application is shown as follows: Fig.15 As shown, the information processing device mainly includes: a second acquisition module 1501 and an operation module 1502.
[0225] In the embodiment of the present application, the second acquisition module 1501 acquires address information of a third target server matching the terminal; the operation module 1502 is used to perform at least one of the following operations according to the address information of the third target server:
[0226] Generate DNS configuration information of the terminal and send it to the terminal;
[0227] Generate an external packet header and send it to the first network device;
[0228] Sending the address information of the third target server to the first network device;
[0229] Generate a DNS configuration update period for the terminal.
[0230] In a possible implementation, the second acquisition module 1501 is further configured to perform at least one of the following operations before acquiring the address information of the third target server matching the terminal:
[0231] Acquire third indication information, wherein the third indication information indicates that a location of the terminal has changed;
[0232] Receiving first indication information sent by the terminal, wherein the first indication information indicates that the DNS configuration of the terminal is modified;
[0233] receiving a notification message sent by the first network device, wherein the notification message notifies the second network device to send a DNS configuration to the terminal;
[0234] Determine when the DNS configuration update period has arrived.
[0235] The information processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0236] The information processing device provided in the embodiment of the present application can realize Figures 9 to 11 In the method embodiment, the second network device implements each process and achieves the same technical effect. To avoid repetition, they are not described here.
[0237] Optional, such as Fig.16 As shown, the embodiment of the present application further provides a communication device 1600, including a processor 1601, a memory 1602, and a program or instruction stored in the memory 1602 and executable on the processor 1601. For example, when the communication device 1600 is a terminal, the program or instruction is executed by the processor 1601 to implement each process of the above-mentioned information processing method 200 to method 600 embodiments, and can achieve the same technical effect. When the communication device 1600 is a network side device, the program or instruction is executed by the processor 1601 to implement each process of the above-mentioned information processing method 700 to method 1100 embodiments, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0238] Fig.17 A schematic diagram of the hardware structure of a terminal for implementing an embodiment of the present application.
[0239] The terminal 1700 includes but is not limited to: a radio frequency unit 1701, a network module 1702, an audio output unit 1703, an input unit 1704, a sensor 1705, a display unit 1706, a user input unit 1707, an interface unit 1708, a memory 1709, and a processor 1710 and other components.
[0240] Those skilled in the art will appreciate that the terminal 1700 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1710 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.17 The terminal structure shown in the figure does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0241] It should be understood that in the embodiment of the present application, the input unit 1704 may include a graphics processor (Graphics Processing Unit, GPU) 17041 and a microphone 17042, and the graphics processor 17041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1706 may include a display panel 17061, and the display panel 17061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1707 includes a touch panel 17071 and other input devices 17072. The touch panel 17071 is also called a touch screen. The touch panel 17071 may include two parts: a touch detection device and a touch controller. Other input devices 17072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0242] In the embodiment of the present application, the radio frequency unit 1701 receives downlink data from the network side device and sends it to the processor 1710 for processing; in addition, the uplink data is sent to the network side device. Generally, the radio frequency unit 1701 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.
[0243] The memory 1709 can be used to store software programs or instructions and various data. The memory 1709 can mainly include a program or instruction storage area and a data storage area, wherein the program or instruction storage area can store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1709 can include a high-speed random access memory, and can also include a non-volatile memory, wherein the non-volatile memory can be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or a flash memory. For example, at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
[0244] The processor 1710 may include one or more processing units; optionally, the processor 1710 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs or instructions, etc., and the modem processor mainly processes wireless communications, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1710.
[0245] The processor 1710 is configured to receive a modification instruction for modifying the DNS configuration of the terminal; and modify the DNS configuration according to the modification instruction;
[0246] The radio frequency unit 1701 is used to send first indication information, wherein the first indication information indicates that the DNS configuration of the terminal is modified.
[0247] Alternatively, the radio frequency unit 1701 is used to receive second DNS configuration information;
[0248] Processor 1710 is used to update the DNS configuration of the terminal according to the second DNS configuration information; and then set the DNS configuration to be unmodifiable and / or set the DNS configuration to the highest priority.
[0249] Specifically, the embodiment of the present application also provides a network side device. Fig.18As shown, the network device 1800 includes: an antenna 1801, a radio frequency device 1802, and a baseband device 1803. The antenna 1801 is connected to the radio frequency device 1802. In the uplink direction, the radio frequency device 1802 receives information through the antenna 1801 and sends the received information to the baseband device 1803 for processing. In the downlink direction, the baseband device 1803 processes the information to be sent and sends it to the radio frequency device 1802, and the radio frequency device 1802 processes the received information and sends it out through the antenna 1801.
[0250] The frequency band processing device may be located in the baseband device 1803 . The method performed by the network-side device in the above embodiment may be implemented in the baseband device 1803 . The baseband device 1803 includes a processor 1804 and a memory 1805 .
[0251] The baseband device 1803 may include, for example, at least one baseband board on which a plurality of chips are arranged. Fig.18 As shown, one of the chips is, for example, a processor 1804, which is connected to a memory 1805 to call a program in the memory 1805 to execute the network device operations shown in the above method embodiment.
[0252] The baseband device 1803 may further include a network interface 1806 for exchanging information with the radio frequency device 1802 , and the interface may be, for example, a common public radio interface (CPRI for short).
[0253] Specifically, the network side device of the embodiment of the present invention further includes: instructions or programs stored in the memory 1805 and executable on the processor 1804, and the processor 1804 calls the instructions or programs in the memory 1805 to execute Fig.14 or Fig.15 The methods executed by the modules shown achieve the same technical effects, and therefore will not be described here in detail to avoid repetition.
[0254] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned information processing method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0255] The processor is the processor in the terminal described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0256] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run network-side device programs or instructions to implement the various processes of the above-mentioned information processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0257] An embodiment of the present application further provides a computer program product, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor. When the program or instruction is executed by the processor, each process of the above-mentioned information processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0258] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0259] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0260] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0261] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. An information processing method, applied to a terminal, characterized in that: The method comprises: Receiving a modification instruction to modify a domain name system DNS configuration of the terminal; Modify the DNS configuration according to the modification instructions; Sending first indication information, wherein the first indication information indicates that the DNS configuration of the terminal is modified, so that the device receiving the first indication information resends the DNS configuration and modifies the DNS configuration of the terminal to the DNS configuration specified by the core network device; The DNS configuration includes at least one of the following: Address information of the central DNS server; Address information of the edge application server discovery function EASDF; Address information of the local DNS server.
2. The method according to claim 1, characterized in that: After sending the first indication information, the method further includes: Receive first DNS configuration information; Modify the DNS configuration according to the first DNS configuration information.
3. The method according to claim 2, characterized in that Sending first indication information includes: the terminal sending the first indication information to a core network device; Receiving first DNS configuration information includes: receiving the first DNS configuration information sent by a core network device.
4. The method according to claim 3, characterized in that The terminal sending the first indication information to the core network device includes: When the terminal is in a connected state, the first indication information is sent to a core network device.
5. The method according to claim 4, characterized in that The connection state includes at least one of the following: Radio resource control RRC connection state RRC-Connected; Registration management connection status RM-REGISTERED; Connection management connection state CM-CONNECTED.
6. The method according to claim 2, characterized in that Sending first indication information includes: the operating system of the terminal sending the first indication information to the chip module of the terminal; Receiving first DNS configuration information includes: the operating system of the terminal receives the first DNS configuration information sent by the chip module, wherein the first DNS configuration information is DNS configuration information received from the core network device before the DNS configuration is modified according to the modification instruction.
7. The method according to any one of claims 1 to 6, characterized in that: The first indication information includes at least one of the following: Non-access layer NAS message indication; Message indication between the terminal operating system and the chip module.
8. The method according to claim 7, characterized in that The non-access layer NAS message indication includes at least one of the following: Registration request message; Registration completion message; Protocol data unit PDU session establishment request message; PDU session establishment accept message; PDU session change request message; PDU Session Change Accept message; PDU session release request message; PDU Session Release Accept message.
9. An information processing device, characterized in that: include: A first receiving module, used to receive a modification instruction for modifying the DNS configuration of the terminal; A first configuration module, used to modify the DNS configuration according to the modification instruction; A first sending module, configured to send first indication information, wherein the first indication information indicates that the DNS configuration of the terminal is modified, so that the device receiving the first indication information resends the DNS configuration and modifies the DNS configuration of the terminal to the DNS configuration specified by the core network device; The DNS configuration includes at least one of the following: Address information of the central DNS server; The edge application server discovers the address information of the functional entity EASDF; Address information of the local DNS server.
10. The device according to claim 9, characterized in that The first receiving module is further used to receive first DNS configuration information; The first configuration module is further used to modify the DNS configuration according to the first DNS configuration information.
11. The device according to claim 10, characterized in that The first sending module sending the first indication information includes: sending the first indication information to a core network device; The first receiving module receives the first DNS configuration information, including: receiving the first DNS configuration information sent by a core network device.
12. The device according to claim 11, characterized in that The first sending module sending the first indication information to the core network device includes: When the terminal is in a connected state, the first indication information is sent to a core network device.
13. The device according to claim 12, characterized in that The connection state includes at least one of the following: Radio resource control RRC connection state RRC-Connected; Registration management connection status RM-REGISTERED; Connection management connection state CM-CONNECTED.
14. The device according to claim 10, characterized in that The first sending module sending the first indication information includes: sending the first indication information to the chip module of the terminal; The first receiving module receives first DNS configuration information, including: receiving the first DNS configuration information sent by the chip module, wherein the first DNS configuration information is DNS configuration information received from a core network device before the DNS configuration is modified according to the modification instruction.
15. The device according to any one of claims 10 to 14, characterized in that The first indication information includes at least one of the following: Non-access layer NAS message indication; Message indication between the terminal operating system and the chip module.
16. The device according to claim 15, characterized in that The non-access layer NAS message indication includes at least one of the following: Registration request message; Registration completion message; Protocol data unit PDU session establishment request message; PDU session establishment accept message; PDU session change request message; PDU Session Change Accept message; PDU session release request message; PDU Session Release Accept message.
17. A terminal, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the information processing method as claimed in any one of claims 1 to 8.
18. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the information processing method according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Information processing method and device
CN102083016A
Method and apparatus for enabling dns redirection in mobile telecommunication systems
CN103181146A
DNS anti-hijacking method and device, terminal and server
CN106534149A
Session management method and terminal
CN110140333A
Message processing method and device and network system
CN110545333A
