[go: up one dir, main page]

CN115022866A - Information processing method, device, terminal and network side equipment - Google Patents

Information processing method, device, terminal and network side equipment Download PDF

Info

Publication number
CN115022866A
CN115022866A CN202110242188.0A CN202110242188A CN115022866A CN 115022866 A CN115022866 A CN 115022866A CN 202110242188 A CN202110242188 A CN 202110242188A CN 115022866 A CN115022866 A CN 115022866A
Authority
CN
China
Prior art keywords
dns
terminal
address
information
dns configuration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110242188.0A
Other languages
Chinese (zh)
Other versions
CN115022866B (en
Inventor
吕华章
谢振华
柯小婉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110242188.0A priority Critical patent/CN115022866B/en
Publication of CN115022866A publication Critical patent/CN115022866A/en
Application granted granted Critical
Publication of CN115022866B publication Critical patent/CN115022866B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Landscapes

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

Abstract

The application discloses an information processing method, an information processing device, a terminal and network side equipment, and belongs to the technical field of wireless communication. The information processing method is applied to the terminal and comprises the following steps: receiving a modification instruction for modifying the DNS configuration of the terminal; modifying the DNS configuration according to the modification instruction; transmitting first indication information, wherein the first indication information indicates that the DNS configuration of the terminal is modified.

Description

信息处理方法、装置、终端及网络侧设备Information processing method, device, terminal and network side equipment

技术领域technical field

本申请属于无线通信技术领域,具体涉及一种信息处理方法、装置、终端及网络侧设备。The present application belongs to the technical field of wireless communication, and specifically relates to an information processing method, apparatus, terminal and network side equipment.

背景技术Background technique

在相关技术中,核心网设备可以为终端发送的域名系统(Domain Name System,DNS)配置信息,为终端配置与当前匹配的DNS服务器。例如,会话管理功能(SessionManagement Function,SMF)可以通过增强协议配置选项(enhancedprotocolconfiguration option,ePCO)过程给终端配置本地DNS(Local DNS,L-DNS)服务器的IP地址(在上行分类器(Uplink Classifier,UL CL)已经插入的情况)或者边缘应用服务器发现功能(Edge Application Server Discovery Function,EASDF)的IP地址(UL CL没有插入的情况)。In the related art, the core network device may configure a domain name system (Domain Name System, DNS) configuration information sent by the terminal, and configure a DNS server that matches the current state for the terminal. For example, the Session Management Function (SMF) can configure the terminal with the IP address of the Local DNS (L-DNS) server (in the Uplink Classifier, L-DNS) through the enhanced protocol configuration option (ePCO) process. UL CL) has been inserted) or the IP address of the Edge Application Server Discovery Function (EASDF) (the UL CL has not been inserted).

但是,在具体应用中,终端的DNS配置是可以修改的,例如,终端上的应用程序(APP)修改终端的DNS配置或用户通过手动修改终端的DNS配置。例如,将DNS配置中的EASDFIP地址或者L-DNS的IP地址覆盖掉,用其他第三方的DNS服务器IP地址替换,从而导致核心网设备为终端选择的DNS配置失效,而核心网并不知晓,因此,也无法及时修订终端的DNS配置,从而可能导致核心网为终端进行优化后的DNS配置被覆盖,终端发送的DNS查询请求可能被发送到其他非核心网设备选择的DNS服务器,而该DNS服务器可能不在运营商的管理范围内,因此,不能保证其安全性。However, in a specific application, the DNS configuration of the terminal can be modified, for example, an application program (APP) on the terminal modifies the DNS configuration of the terminal or the user manually modifies the DNS configuration of the terminal. For example, overwriting the EASDF IP address or the L-DNS IP address in the DNS configuration and replacing it with the IP address of another third-party DNS server will invalidate the DNS configuration selected by the core network device for the terminal, but the core network does not know it. Therefore, the DNS configuration of the terminal cannot be revised 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. The server may not be under the management of the operator, therefore, its security cannot be guaranteed.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种信息处理方法、装置、终端及网络侧设备,能够解决由于终端的DNS配置被修改而导致DNS查询请求被发送到非核心网设备选择的DNS服务器的问题。The embodiments of the present application provide an information processing method, apparatus, terminal, and network side device, 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 the modification of the DNS configuration of the terminal.

第一方面,提供了一种信息处理方法,应用于终端,该方法包括:接收到对所述终端的DNS配置进行修改的修改指令;按照所述修改指令对DNS配置进行修改;发送第一指示信息,其中,所述第一指示信息指示所述终端的DNS配置被修改。In a first aspect, an information processing method is provided, applied to a terminal, the method includes: receiving a modification instruction for modifying the DNS configuration of the terminal; modifying the DNS configuration according to the modification instruction; sending a first instruction information, wherein the first indication information indicates that the DNS configuration of the terminal is modified.

第二方面,提供了一种信息处理方法,应用于终端,该方法包括:接收第二DNS配置信息;根据所述第二DNS配置信息,对所述终端的DNS配置进行更新;设置所述DNS配置不可修改和/或将所述DNS配置设置为最高优先级。In a second aspect, an information processing method is provided, applied to a terminal, 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 The configuration cannot be modified and/or set the DNS configuration to the highest priority.

第三方面,提供了一种信息处理方法,应用于第一网络设备,该方法包括:获取第一信息,其中,所述第一信息包括:第一目标服务器的地址;接收到终端的DNS查询请求,其中,所述DNS查询请求的目标地址为第二目标服务器的地址;在所述第二目标服务器与所述第一目标服务器不同的情况下,将所述DNS查询请求的目标地址设置为所述第一目标服务器的地址;发送设置后的DNS查询请求;其中,所述第一网络设备能够解析出来自终端的数据包中是否包含DNS查询请求。In a third aspect, an information processing method is provided, applied to a first network device, the method includes: acquiring first information, wherein the first information includes: an address of a first target server; receiving a DNS query from a terminal request, wherein the target address of the DNS query request is the address of the second target server; when the second target server is different from the first target server, the target address of the DNS query request is set to The address of the first target server; sending the set DNS query request; wherein, the first network device can parse out whether the data packet from the terminal contains the DNS query request.

第四方面,提供了一种信息处理方法,应用于第二网络设备,所述方法包括:获取与终端匹配的第三目标服务器的地址信息;根据所述第三目标服务器的地址信息,执行以下至少一项操作:生成所述终端的DNS配置信息,并发送给所述终端;生成外部包头,并发送给第一网络设备;将所述第三目标服务器的地址信息发送给所述第一网络设备;生成所述终端的DNS配置更新周期。In a fourth aspect, an information processing method is provided, applied to a second network device, the method includes: acquiring address information of a third target server matched with a terminal; and performing the following according to the address information of the third target server At least one operation: generate the DNS configuration information of the terminal and send it to the terminal; generate an external packet header and send it to the first network device; send the address information of the third target server to the first network equipment; generating a DNS configuration update cycle of the terminal.

第五方面,提供了一种信息处理装置,包括:第一接收模块,用于接收对终端的DNS配置进行修改的修改指令;第一配置模块,用于按照所述修改指令对DNS配置进行修改;第一发送模块,用于发送第一指示信息,其中,所述第一指示信息指示所述终端的DNS配置被修改。In a fifth aspect, an information processing device is provided, comprising: a first receiving module for receiving a modification instruction for modifying a DNS configuration of a terminal; a first configuration module for modifying 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.

第六方面,提供了一种信息处理装置,所述装置包括:第二接收模块,用于接收第二DNS配置信息;第二配置模块,用于根据所述第二DNS配置信息,对所述终端的DNS配置进行更新;第一设置模块,用于设置所述DNS配置不可修改和/或将所述DNS配置设置为最高优先级。In a sixth aspect, an information processing apparatus is provided, the apparatus comprising: a second receiving module configured to receive second DNS configuration information; a second configuration module configured to, according to the second DNS configuration information, The DNS configuration of the terminal is updated; the first setting module is used for setting the DNS configuration to be unmodifiable and/or setting the DNS configuration to the highest priority.

第七方面,提供了一种信息处理装置,所述装置包括:第一获取模块,用于获取第一信息,其中,所述第一信息包括:第一目标服务器的地址;第三接收模块,用于接收到终端的DNS查询请求,其中,所述DNS查询请求的目标地址为第二目标服务器的地址;第二设置模块,用于在所述第二目标服务器与所述第一目标服务器不同的情况下,将所述DNS查询请求的目标地址设置为所述第一目标服务器的地址;第二发送模块,用于发送设置后的DNS查询请求;其中,所述信息处理装置能够解析出来自终端的数据包中是否包含DNS查询请求。In a seventh aspect, an information processing apparatus is provided, the apparatus includes: a first obtaining module, configured to obtain first information, wherein the first information includes: an address of a first target server; a third receiving module, For receiving the DNS query request of the terminal, wherein the target address of the DNS query request is the address of the second target server; the second setting module is used for when the second target server is different from the first target server Under the situation, the target address of the DNS query request is set to the address of the first target server; the second sending module is used to send the set DNS query request; wherein, the information processing device can parse out the Whether the data packet of the terminal contains a DNS query request.

第八方面,提供了一种信息处理装置,所述装置包括:第二获取模块,获取与终端匹配的第三目标服务器的地址信息;操作模块,用于根据所述第三目标服务器的地址信息,执行以下至少一项操作:生成所述终端的DNS配置信息,并发送给所述终端;生成外部包头,并发送给第一网络设备;将所述第三目标服务器的地址信息发送给所述第一网络设备;生成所述终端的DNS配置更新周期。In an eighth aspect, an information processing device is provided, the device comprising: a second acquisition module for acquiring address information of a third target server matched with a terminal; an operation module for obtaining address information of the third target server according to the address information of the third target server , perform at least one of the following operations: generate the DNS configuration information of the terminal and send it to the terminal; generate an external header and send it to the first network device; send the address information of the third target server to the A first network device; generating a DNS configuration update period of the terminal.

第九方面,提供了一种终端,该终端包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤,或者实现如第二方面所述的方法的步骤。In a ninth aspect, a terminal is provided, the terminal includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, when the program or instruction is executed by the processor Implement the steps of the method as described in the first aspect, or implement the steps of the method as described in the second aspect.

第十方面,提供了一种网络侧设备,该网络侧设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第三方面所述的方法的步骤,或者实现如第四方面所述的方法的步骤。A tenth aspect provides a network-side device, the network-side device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being executed by the When executed by the processor, the steps of the method as described in the third aspect or the steps of the method as described in the fourth aspect are realized.

第十一方面,提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤,或者实现如第二方面所述的方法的步骤,或者实现如第三方面所述的方法的步骤,或者实现如第四方面所述的方法的步骤。In an eleventh aspect, a readable storage medium is provided, and a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented, or the The steps of the method according to the second aspect, or the steps of implementing the method according to the third aspect, or the steps of implementing the method according to the fourth aspect.

第十二方面,提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行终端程序或指令,实现如第一方面所述的方法,或者实现如第二方面所述的方法的步骤,所述处理器用于运行网络侧设备程序或指令,实现如第三方面所述的方法,或者实现如第四方面所述的方法的步骤。A twelfth aspect provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a terminal program or instruction, and the implementation is as described in the first aspect method, or the steps of implementing the method as described in the second aspect, the processor is used to run the network side device program or instruction, implement the method as described in the third aspect, or implement the method as described in the fourth aspect. step.

第十三方面,提供了一种计算机程序产品,该计算机程序产品包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤,或者实现如第二方面所述的方法的步骤,或者实现如第三方面所述的方法的步骤,或者实现如第四方面所述的方法的步骤。A thirteenth aspect provides a computer program product comprising a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being When executed by the processor, the steps of the method as described in the first aspect, or the steps of the method as described in the second aspect, or the steps of the method as described in the third aspect, or the steps of the method as described in the fourth aspect are realized. steps of the method described.

在本申请实施例中,终端在接收到修改指令对DNS配置进行修改之后,发送第一指示信息,指示终端的DNS配置被修改,从而使得接收到该第一指示信息的设备可以重新发送DNS配置,将终端的DNS配置修改回去,以保证终端的DNS查询请求被发送到核心网指定的DNS服务器。或者,终端也可以在接收到DNS配置信息并利用该DNS配置信息修改DNS配置之后,将DNS配置设置为不可修改,或者终端也可以将该DNS配置设置为最高优先级,从而可以避免终端的DNS查询请求被发送到非核心网指定的DNS服务器。或者,第一网络设备也可以在接收到终端的DNS查询请求时,对DNS查询请求进行重定向,将终端的DNS查询请求重定向到核心网指定的DNS服务器,以保证终端的DNS查询请求被发送到核心网指定的DNS服务器。In the embodiment of the present application, after receiving the modification instruction to modify the DNS configuration, the terminal sends first indication information, indicating that the DNS configuration of the terminal is modified, so that the device that receives the first indication information can re-send the DNS configuration , and modify the DNS configuration of the terminal to ensure that the DNS query request of the terminal is sent to the DNS server designated by the core network. Alternatively, after receiving the DNS configuration information and modifying the DNS configuration by using the DNS configuration information, the terminal may also set the DNS configuration to be unmodifiable, or the terminal may also set the DNS configuration to the highest priority, so as to avoid the DNS configuration of the terminal The query request is sent to the DNS server specified by the non-core network. Alternatively, the first network device may also redirect the DNS query request of the terminal when receiving the DNS query request of the terminal, and redirect the DNS query request of the terminal to a DNS server designated by the core network, so as to ensure that the DNS query request of the terminal is processed by the DNS query request of the terminal. Sent to the DNS server specified by the core network.

附图说明Description of drawings

图1示出本申请实施例可应用的一种无线通信系统的示意图;FIG. 1 shows a schematic diagram of a wireless communication system to which an embodiment of the present application can be applied;

图2示出本申请实施例提供的信息处理方法的一种流程示意图;FIG. 2 shows a schematic flowchart of an information processing method provided by an embodiment of the present application;

图3示出本申请实施例提供的信息处理方法的另一种流程示意图;FIG. 3 shows another schematic flowchart of the information processing method provided by the embodiment of the present application;

图4示出本申请实施例提供的信息处理方法的又一种流程示意图;FIG. 4 shows another schematic flowchart of the information processing method provided by the embodiment of the present application;

图5示出本申请实施例提供的信息处理方法的又一种流程示意图;FIG. 5 shows another schematic flowchart of the information processing method provided by the embodiment of the present application;

图6示出本申请实施例提供的信息处理方法的又一种流程示意图;FIG. 6 shows another schematic flowchart of the information processing method provided by the embodiment of the present application;

图7示出本申请实施例提供的信息处理方法的又一种流程示意图;FIG. 7 shows another schematic flowchart of the information processing method provided by the embodiment of the present application;

图8示出本申请实施例提供的信息处理方法的又一种流程示意图;FIG. 8 shows another schematic flowchart of an information processing method provided by an embodiment of the present application;

图9示出本申请实施例提供的信息处理方法的又一种流程示意图;FIG. 9 shows another schematic flowchart of the information processing method provided by the embodiment of the present application;

图10示出本申请实施例提供的信息处理方法的又一种流程示意图;FIG. 10 shows another schematic flowchart of the information processing method provided by the embodiment of the present application;

图11示出本申请实施例提供的信息处理方法的又一种流程示意图;FIG. 11 shows another schematic flowchart of the information processing method provided by the embodiment of the present application;

图12示出本申请实施例提供的信息处理装置的一种结构示意图;FIG. 12 shows a schematic structural diagram of an information processing apparatus provided by an embodiment of the present application;

图13示出本申请实施例提供的信息处理装置的另一种结构示意图;FIG. 13 shows another schematic structural diagram of an information processing apparatus provided by an embodiment of the present application;

图14示出本申请实施例提供的信息处理装置的又一种结构示意图;FIG. 14 shows another schematic structural diagram of an information processing apparatus provided by an embodiment of the present application;

图15示出本申请实施例提供的信息处理装置的又一种结构示意图;FIG. 15 shows another schematic structural diagram of an information processing apparatus provided by an embodiment of the present application;

图16示出本申请实施例提供的一种通信设备的结构示意图;FIG. 16 shows a schematic structural diagram of a communication device provided by an embodiment of the present application;

图17示出本申请实施例提供的一种终端的硬件结构示意图;FIG. 17 shows a schematic diagram of a hardware structure of a terminal provided by an embodiment of the present application;

图18示出本申请实施例提供的一种网络侧设备的硬件结构示意图。FIG. 18 shows a schematic diagram of a hardware structure of a network side device provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings 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 this application, all other embodiments obtained by those of ordinary skill in the art fall within the protection scope of this application.

本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”所区别的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and that "first", "second" distinguishes Usually it is a class, and the number of objects is not limited. For example, the first object may be one or multiple. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.

值得指出的是,本申请实施例所描述的技术不限于长期演进型(Long TermEvolution,LTE)/LTE的演进(LTE-Advanced,LTE-A)系统,还可用于其他无线通信系统,诸如码分多址(Code Division Multiple Access,CDMA)、时分多址(Time DivisionMultiple Access,TDMA)、频分多址(Frequency Division Multiple Access,FDMA)、正交频分多址(Orthogonal Frequency Division Multiple Access,OFDMA)、单载波频分多址(Single-carrier Frequency-Division Multiple Access,SC-FDMA)和其他系统。本申请实施例中的术语“系统”和“网络”常被可互换地使用,所描述的技术既可用于以上提及的系统和无线电技术,也可用于其他系统和无线电技术。以下描述出于示例目的描述了新空口(NewRadio,NR)系统,并且在以下大部分描述中使用NR术语,但是这些技术也可应用于NR系统应用以外的应用,如第6代(6thGeneration,6G)通信系统。It is worth noting that the technologies described in the embodiments of this application are not limited to Long Term Evolution (LTE)/LTE-Advanced (LTE-Advanced, LTE-A) systems, and can also be used in other wireless communication systems, such as code division Multiple Access (Code Division Multiple Access, CDMA), Time Division Multiple Access (Time Division Multiple Access, TDMA), Frequency Division Multiple Access (Frequency Division Multiple Access, FDMA), Orthogonal Frequency Division Multiple Access (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 not only for the above-mentioned systems and radio technologies, but also for other systems and radio technologies. The following description describes a New Radio (NR) system for example purposes, and uses NR terminology in most of the description below, but these techniques can also be applied to applications other than NR system applications, such as 6th Generation , 6G) communication system.

图1示出本申请实施例可应用的一种无线通信系统的示意图。无线通信系统包括终端11和网络侧设备12。其中,终端11也可以称作终端设备或者用户终端(UserEquipment,UE),终端11可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)或称为笔记本电脑、个人数字助理(Personal Digital Assistant,PDA)、掌上电脑、上网本、超级移动个人计算机(ultra-mobile personal computer,UMPC)、移动上网装置(Mobile Internet Device,MID)、可穿戴式设备(Wearable Device)或车载设备(VUE)、行人终端(PUE)等终端侧设备,可穿戴式设备包括:手环、耳机、眼镜等。需要说明的是,在本申请实施例并不限定终端11的具体类型。网络侧设备12可以是基站或核心网设备,其中,基站可被称为节点B、演进节点B、接入点、基收发机站(Base TransceiverStation,BTS)、无线电基站、无线电收发机、基本服务集(Basic Service Set,BSS)、扩展服务集(Extended Service Set,ESS)、B节点、演进型B节点(eNB)、家用B节点、家用演进型B节点、WLAN接入点、WiFi节点、发送接收点(TransmittingReceivingPoint,TRP)或所述领域中其他某个合适的术语,只要达到相同的技术效果,所述基站不限于特定技术词汇,需要说明的是,在本申请实施例中仅以NR系统中的基站为例,但是并不限定基站的具体类型。核心网设备可以包括SMF、用户面功能(User Plane Function,UPF)、协议数据单元(ProtocolData Unit,PDU)会话锚点(PDU Session Anchor,PSA)、以及UL CL等。FIG. 1 shows a schematic diagram of a wireless communication system to which an embodiment of the present application can be applied. The wireless communication system includes a terminal 11 and a network-side device 12 . The terminal 11 may also be called a terminal device or a user terminal (User Equipment, UE), and the terminal 11 may 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), handheld computer, netbook, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), mobile Internet Device (Mobile Internet Device, MID), wearable device (Wearable Device) or vehicle-mounted device ( VUE), pedestrian terminal (PUE) and other terminal-side devices, wearable devices include: bracelets, earphones, glasses, etc. It should be noted that, the embodiment of the present application does not limit the specific type of the terminal 11 . 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 (BTS), a radio base station, a radio transceiver, a basic service Set (Basic Service Set, BSS), Extended Service Set (Extended Service Set, ESS), Node B, Evolved Node B (eNB), Home Node B, Home Evolved Node B, WLAN Access Point, WiFi Node, Transmission Transmitting Receiving Point (TRP) or some other suitable term 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 this application, only the NR system is used. The base station in the example is taken as an example, but the specific type of the base station is not limited. The core network equipment may include SMF, User Plane Function (UPF), Protocol Data Unit (Protocol Data Unit, PDU), Session Anchor (PDU Session Anchor, PSA), and UL CL.

下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的信息处理方案进行详细地说明。The information processing solutions provided by the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.

图2示出本申请实施例中的信息处理方法的一种流程示意图,该方法200可以由终端执行。换言之,所述方法可以由安装在终端上的软件或硬件来执行。如图2所示,该方法可以包括以下步骤。FIG. 2 shows a schematic flowchart of an information processing method in an embodiment of the present application, and the method 200 may be executed by a terminal. In other words, the method may be performed by software or hardware installed on the terminal. As shown in Figure 2, the method may include the following steps.

S210,接收到对所述终端的DNS配置进行修改的修改指令。S210, a modification instruction for modifying the DNS configuration of the terminal is received.

在具体应用中,该修改指令可以为外部输入指令,例如,用户通过终端的键盘、触摸屏等输入的修改指令。或者,该修改指令也可以为终端上的应用程序发送的修改指令。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, or the like of the terminal. Alternatively, the modification instruction may also be a modification instruction sent by an application program on the terminal.

S212,按照所述修改指令对DNS配置进行修改。S212, modify the DNS configuration according to the modification instruction.

其中,终端的DNS配置可以包括以下至少一项:The DNS configuration of the terminal may include at least one of the following:

(1)中心DNS服务器的地址信息。例如,中心DNS服务器的IP地址和/或中心DNS服务器的完全限定域名(Fully Qualified Domain Name,FQDN)。(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.

(2)边缘应用服务器发现功能(Edge Application Server Discovery Function,EASDF)的地址信息。例如,EASDF的IP地址和/或EASDF的FQDN。其中,EASDF是用于处理终端发送的DNS查询请求的核心网网元。(2) Address information of the Edge Application Server Discovery Function (EASDF). For example, EASDF's IP address and/or EASDF's FQDN. The EASDF is a core network element for processing a DNS query request sent by a terminal.

(3)本地DNS(Local DNS,L-DNS)服务器的地址信息。例如,L-DNS服务器的IP地址和/或L-DNS服务器的FQDN。(3) Address information of the local DNS (Local DNS, L-DNS) server. For example, the IP address of the L-DNS server and/or the FQDN of the L-DNS server.

在具体应用中,该修改指令可能修改终端的DNS配置中的DNS服务器(例如,中心DNS服务器、EASDF、或L-DNS服务器)的地址,将DNS配置中的DNS服务器的地址修改为其它第三方提供的DNS服务器的地址。In a specific application, the modification instruction may modify the address of the DNS server (for example, the central DNS server, EASDF, or L-DNS server) in the DNS configuration of the terminal, and modify the address of the DNS server in the DNS configuration to another third party The address of the provided DNS server.

S214,发送第一指示信息,其中,所述第一指示信息指示所述终端的DNS配置被修改。S214. Send first indication information, where the first indication information indicates that the DNS configuration of the terminal is modified.

终端在接收到修改指令对DNS配置进行修改之后,发送第一指示信息,指示终端的DNS配置被修改,从而使得接收到该第一指示信息的设备可以重新发送DNS配置,将终端的DNS配置修改为核心网设备指定的DNS配置,以保证终端的DNS查询请求被发送到核心网指定的DNS服务器。After receiving the modification instruction to modify the DNS configuration, the terminal sends first indication information, indicating that the DNS configuration of the terminal is modified, so that the device that receives the first indication information can re-send the DNS configuration to modify the DNS configuration of the terminal. The DNS configuration specified for the core network device to ensure that the terminal's DNS query request is sent to the DNS server specified by the core network.

在一个可能的实现方式中,在S214之后,该方法还可以包括:接收第一DNS配置信息;按照所述第一DNS配置信息,修改所述DNS配置。其中,第一DNS配置信息为核心网设备为终端配置的DNS配置信息。通过该可能的实现方式,可以在终端的DNS配置被用户或APP修改之后,将终端的DNS配置修改为核心网设备指定的DNS配置,将以保证终端的DNS查询请求被发送到核心网指定的DNS服务器。In a possible implementation manner, 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 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 specified DNS configuration of the core network. DNS server.

其中,第一DNS配置信息中可以包括以下至少之一:中心DNS服务器的地址信息;EASDF的地址信息;本地DNS服务器的地址信息。The first DNS configuration information may include at least one of the following: address information of the central DNS server; address information of the EASDF; address information of the local DNS server.

在一个可能的实现方式中,终端可以向核心网设备发送第一指示信息,核心网设备在接收到第一指示信息后,向终端发送的所述第一DNS配置信息,终端接收核心网设备发送所述第一DNS配置信息。通过该可能的实现方式,在终端的DNS配置被修改时,终端可以向核心网设备发送第一指示信息,核心网设备在接收到第一指示信息后,可以向终端发送第一DNS配置信息,修改终端的DNS配置。In a possible implementation manner, the terminal may send the first indication information to the core network device. 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. the first DNS configuration information. Through this possible implementation, when the DNS configuration of the terminal is modified, the terminal can send the first indication information to the core network device, and the core network device can send the first DNS configuration information to the terminal after receiving the first indication information, Modify the DNS configuration of the terminal.

在上述可能的实现方式中,第一DNS配置信息中的DNS配置可以与修改前终端的DNS配置相同,也可以不同,具体本申请实施例中不作限定。In the above possible implementation manner, 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 this embodiment of the present application.

可选的,终端可以在处于连接态时,向核心网设备发送所述第一指示信息。其中,所述连接态包括但不限于以下至少之一:无线资源控制(Radio Resource Control,RRC)连接态(RRC-Connected);注册管理(Registered Management,RM)连接状态(RM-REGISTERED);连接管理(Connected Management,CM)连接态(CM-CONNECTED)。Optionally, the terminal may send the first indication information to the core network device when it is in a connected state. The connected state includes but is not limited to at least one of the following: Radio Resource Control (RRC) connected state (RRC-Connected); Registered Management (RM) connected state (RM-REGISTERED); connected Management (Connected Management, CM) connected state (CM-CONNECTED).

可选地,第一指示信息可以为非接入层(NonAccessStratum,NAS)消息指示。其中,NAS消息指示包括但不限于以下至少一项:Optionally, the first indication information may be a non-access stratum (NonAccessStratum, NAS) message indication. Wherein, the NAS message indication includes but is not limited to at least one of the following:

(1)注册请求(RegistrationRequest)消息;(1) Registration Request (RegistrationRequest) message;

(2)注册完成(Registration Complete)消息;(2) Registration Complete (Registration Complete) message;

(3)PDU会话建立请求消息(PDU Session Establishment Request,Nsmf_PDUSession_Create Request);(3) PDU Session Establishment Request message (PDU Session Establishment Request, Nsmf_PDUSession_Create Request);

(4)PDU会话建立接受消息(PDU Session Establishment Accept,Nsmf_PDUSession_Create Response);(4) PDU Session Establishment Accept message (PDU Session Establishment Accept, Nsmf_PDUSession_Create Response);

(5)PDU会话更改请求消息(PDU Session Modification Request,Nsmf_PDUSession_Update Request);(5) PDU Session Modification Request message (PDU Session Modification Request, Nsmf_PDUSession_Update Request);

(6)PDU会话更改接受消息(PDU Session Modification Ack,Nsmf_PDUSession_Update Response);(6) PDU session modification acceptance message (PDU Session Modification Ack, Nsmf_PDUSession_Update Response);

(7)PDU会话释放请求消息(PDU Session Release Request,Nsmf_PDUSession_Release Request);(7) PDU Session Release Request message (PDU Session Release Request, Nsmf_PDUSession_Release Request);

(8)PDU会话释放接受消息(PDU Session Release Accept,Nsmf_PDUSession_Release Response)。(8) PDU Session Release Accept message (PDU Session Release Accept, Nsmf_PDUSession_Release Response).

在另一个可能的实现方式中,在S214中,也可以是终端的操作系统(OS)向终端的芯片模组(Module)发送所述第一指示信息,然后接收芯片模组发送的第一DNS配置信息,其中,所述第一DNS配置信息为在按照所述修改指令对DNS配置进行修改之前,从核心网设备接收的DNS配置信息。也就是说,在该可能的实现方式中,终端的芯片模组在接收到核心网设备发送的DNS配置信息之后,将该DNS配置信息发送给终端的操作系统,并保存该DNS配置信息,终端的操作系统应用该DNS配置。在终端的DNS配置被修改时,终端的操作系统向芯片模组发送第一指示信息,芯片模组在接收到该第一指示信息之后,将保存的DNS配置信息发送给操作系统,以将DNS配置修改为原来的DNS配置。从而可以避免后续终端的DNS查询请求被发送到其它的DNS服务器。In another possible implementation manner, in S214, the operating system (OS) of the terminal may also send the first indication information to the chip module (Module) of the terminal, and then receive the first DNS sent by the chip module Configuration information, 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. That is to say, in this possible implementation manner, 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, and saves the DNS configuration information, and the terminal The operating system that 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, so that the DNS The configuration is modified to the original DNS configuration. Therefore, the DNS query request of the subsequent terminal can be prevented from being sent to other DNS servers.

可选的,上述第一指示信息可以为终端操作系统与芯片模组之间的消息指示。Optionally, the above-mentioned first indication information may be a message indication between the terminal operating system and the chip module.

下面通过具体实施例对本申请提供的上述信息处理方法200进行说明。The above-mentioned information processing method 200 provided by the present application will be described below through specific embodiments.

图3示出本申请实施例中的信息处理方法的另一种流程图,如图3所示,该方法300可以包括以下步骤:FIG. 3 shows another flowchart of the information processing method in the embodiment of the present application. As shown in FIG. 3 , the method 300 may include the following steps:

S301,UE的DNS配置被修改。S301, the DNS configuration of the UE is modified.

其中,UE的DNS配置可以为用户手动修改,也可以为UE中的APP修改。具体可以参见上述方法200中的S210和S212的描述,在此不再赘述。The DNS configuration of the UE may be modified manually by the user, or may be modified by the APP in the UE. For details, reference may be made to the descriptions of S210 and S212 in the foregoing method 200, which are not repeated here.

S302,UE向5G核心网发送NAS消息指示,该指示用于通知5G核心网UE的DNS配置被修改。S302, the UE sends a NAS message indication to the 5G core network, where the indication is used to notify the 5G core network that the DNS configuration of the UE is modified.

其中,当UE的DNS配置被修改时,UE处于连接态下,可以向5G核心网发送NAS消息指示。Wherein, 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.

S303,5G核心网触发ePCO过程,将正确的DNS配置发送UE。S303, the 5G core network triggers the ePCO process, and sends the correct DNS configuration to the UE.

例如,在UL CL已经插入的情况下,5G核心网将给UE配置的L-DNS的地址信息发送给UE,或者,在UL CL没有插入的情况下,5G核心网将给UE配置的EASDF的地址信息发送给UE。For example, if the 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 if the UL CL has not been inserted, the 5G core network will send the EASDF address information configured for the UE to the UE. The address information is sent to the UE.

通过上述方法300,可以在UE的DNS配置不是按照核心网的指示修改时,通知核心网,核心网在接收到该通知后,向UE发送DNS配置信息,指示UE按照该DNS配置信息修改DNS配置,从而可以保证UE的DNS查询请求被发送到核心网指定的DNS服务器,即保证核心网为终端做的最优DNS配置不会被失效。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 the DNS configuration information to the UE, instructing the UE to modify the DNS configuration according to the DNS configuration information. , so as to ensure that the DNS query request of the UE is sent to the DNS server designated by the core network, that is, to ensure that the optimal DNS configuration made by the core network for the terminal will not be invalidated.

图4示出本申请实施例中的信息处理方法的又一种流程图,如图4所示,该方法400可以包括以下步骤:FIG. 4 shows another flowchart of the information processing method in the embodiment of the present application. As shown in FIG. 4 , the method 400 may include the following steps:

S401,5G核心网向UE发送DNS配置。S401, the 5G core network sends the DNS configuration to the UE.

S402,UE的芯片模组接收该DNS配置,保存该DNS配置并将该DNS配置发送给UE的操作系统。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.

S403,UE的操作系统应用该DNS配置。S403, the operating system of the UE applies the DNS configuration.

S404,UE的操作系统按照接收到修改指令修改DNS配置。S404, the operating system of the UE modifies the DNS configuration according to the received modification instruction.

S405,UE的操作系统向芯片模组发送指示信息,指示UE的DNS配置被修改。S405, the operating system of the UE sends indication information to the chip module, indicating that the DNS configuration of the UE is modified.

S406,UE的芯片模组接收到该指示信息后,将保存的DNS配置发送给操作系统,替换已被修改的DNS配置。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.

通过上述方法400,UE的操作系统在接收到非核心网的修改指令对DNS配置进行修改后,通知UE的芯片模组,芯片模组在接收到通知后,将保存的核心网发送的DNS配置发送给操作系统,替换已被修改的DNS配置,从而可以保证UE的DNS配置中的DNS服务器为核心网指示的DNS服务器,保证核心网为终端做的最优DNS配置不会被失效。Through the above method 400, after receiving the modification instruction from the non-core network to modify the DNS configuration, the operating system of the UE notifies the chip module of the UE, and after receiving the notification, the chip module saves the DNS configuration sent by the core network. It is sent 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, and ensuring that the optimal DNS configuration made by the core network for the terminal will not be invalidated.

图5示出了本申请实施例提供的信息处理方法的又一种流程示意图,该方法500可以由终端执行。换言之,所述方法可以由安装在终端上的软件或硬件来执行。如图5所示,该方法可以包括以下步骤。FIG. 5 shows another schematic flowchart of an information processing method provided by an embodiment of the present application, and the method 500 may be executed by a terminal. In other words, the method may be performed by software or hardware installed on the terminal. As shown in Figure 5, the method may include the following steps.

S510,接收第二DNS配置信息。S510: Receive second DNS configuration information.

其中,第二DNS配置信息中可以包括以下至少之一:中心DNS服务器的地址信息,例如,中心DNS服务器的IP地址和/或中心DNS服务器的FQDN;EASDF的地址信息,例如,EASDF的IP地址和/或EASDF的FQDN;本地DNS服务器的地址信息,例如,本地DNS服务器的IP地址和/或本地DNS服务器的FQDN。Wherein, 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 the EASDF, for example, the IP address of the EASDF and/or the FQDN of the 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.

S512,根据所述第二DNS配置信息,对所述终端的DNS配置进行更新。S512: Update the DNS configuration of the terminal according to the second DNS configuration information.

在S512中,将终端的DNS配置设置为与第二DNS配置信息对应的配置,例如,将DNS服务器的地址设置为第二DNS配置信息中的DNS服务器的地址。In S512, the DNS configuration of the terminal is set to the 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.

S514,设置所述DNS配置不可修改和/或将所述DNS配置设置为最高优先级。S514. Set the DNS configuration to be unmodifiable and/or set the DNS configuration to the highest priority.

在本申请实施例中,在根据第二DNS配置信息设置终端的DNS配置后,将DNS配置设置为不可修改,即该DNS配置不可被用户或终端的APP修改,或者说DNS配置是不可编辑的。In this 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 as unmodifiable, that is, the DNS configuration cannot be modified by the APP of the user or the terminal, or the DNS configuration cannot be edited .

例如,终端接收到来自核心网设备的第二DNS配置信息,由于该第二DNS配置信息是来自网络侧,因此,为了保证能够使用网络侧优化选择DNS服务器,在应用第二DNS配置信息对DNS配置进行更新后,将DNS配置设置为不可修改。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, the second DNS configuration information is applied to the DNS server. After the configuration is updated, set the DNS configuration to be unmodifiable.

通过本申请实施例提供的方法,通过将终端的DNS配置设置为不可修改,可以避免终端的DNS配置被用户或终端的APP修改,以避免核心网为UE选择的较优的DNS配置被失效,保证DNS查询请求被发送到核心网指定的DNS服务器,避免UE发送的DNS请求被发送给第三方外部的DNS服务器,确保安全。With the method provided by the embodiment of the present application, by setting the DNS configuration of the terminal to be unmodifiable, it is possible to prevent the DNS configuration of the terminal from being modified by the user or the APP of the terminal, so as to avoid invalidation of the preferred DNS configuration selected by the core network for the UE, It is ensured that the DNS query request is sent to the DNS server designated by the core network, and the DNS request sent by the UE is prevented from being sent to a third-party external DNS server to ensure security.

或者,在本申请实施例中,也可以在根据第二DNS配置信息设置终端的DNS配置后,将DNS配置的优先级设置为最高优先级,UE在发送DNS查询请求时,可以选择优先级最高的DNS配置发送DNS查询请求,即将DNS查询请求的目标地址设置为优先级最高的DNS配置中的DNS服务器的地址。通过该方法,可以保证DNS查询请求被发送到核心网指定的DNS服务器,避免UE发送的DNS请求被发送给第三方外部的DNS服务器,确保安全。Alternatively, in this embodiment of the present application, after setting the DNS configuration of the terminal according to the second DNS configuration information, the priority of the DNS configuration may be set to the highest priority, and the UE may select the highest priority when sending a DNS query request The DNS configuration sends a 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 designated 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.

在一个可能的实现方式中,可以是终端的芯片模组接收第二DNS配置信息,将第二DNS配置信息发送给终端的操作系统,并向终端的操作系统发送第二指示信息,指示该DNS配置不可修改。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 the second indication information to the operating system of the terminal, indicating that the DNS Configuration cannot be modified.

例如,芯片模组在接收到第二DNS配置信息后,确定该配置信息为运营商为终端配置的DNS,因此,向操作系统发送第二指示信息。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.

或者,核心网设备在向终端发送第二DNS配置信息之后,可以向终端发送第三指示信息,所述第三指示信息指示所述第二DNS配置信息不可修改。可选地,第三指示信息可以为NAS消息指示。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.

例如,在图6所示的信息处理方法中,在S601中,5G核心网向UE发送DNS配置,可选的,5GC可以以NAS指示,该DNS配置不可修改。终端的芯片模组(module)和操作系统(OS)得到了该DNS配置。在S602中,UE的芯片模组确定该DNS配置为运营商为UE配置的,向UE OS发送指示信息,指示UE,这个DNS记录不可修改。For example, in the information processing method shown in FIG. 6 , in S601, the 5G core network sends the DNS configuration to the UE. Optionally, the 5GC may indicate by NAS, and the DNS configuration cannot be modified. A chip module (module) and an 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 indication information to the UE OS to indicate to the UE that this DNS record cannot be modified.

图7示出本申请实施例中的信息处理方法的又一种流程示意图,该方法700可以由第一网络设备执行。换言之,所述方法可以由安装在第一网络设备上的软件或硬件来执行。FIG. 7 shows another schematic flowchart of an information processing method in an embodiment of the present application, and the method 700 may be executed by a first network device. In other words, the method may be performed by software or hardware installed on the first network device.

在本申请实施例中,第一网络设备可以为核心网中一个网元,第一网络设备能够解析出来自终端的数据包中是否包含DNS查询请求,即第一网络设备具有识别来自终端的数据包中是否包含DNS查询请求的能力。第一网络设备为DNS查询请求路由到DNS服务器中的中间节点。例如,第一网络设备可以为UPF和/或PSA。In this embodiment of the present application, the first network device may be a network element in the core network, and the first network device can parse out whether the data packet from the terminal contains a DNS query request, that is, the first network device has the ability to identify the data from the terminal Whether the package contains the capability for DNS query requests. The first network device routes the DNS query request to an intermediate node in the DNS server. For example, the first network device may be a UPF and/or a PSA.

如图7所示,该方法可以包括以下步骤。As shown in Figure 7, the method may include the following steps.

S710,获取第一信息,其中,所述第一信息包括:第一目标服务器的地址。S710: Acquire first information, where the first information includes: the address of the first target server.

例如,第二网络设备(例如,SMF)可以在为终端选择DNS服务器时,可以将选择的DNS服务器发送给第一网络设备,第一网络设备获取该DNS服务器(即第一目标服务器)的地址。For example, the second network device (eg, SMF) may, when selecting a DNS server for the terminal, send the selected DNS server to the first network device, and the first network device obtains the address of the DNS server (ie, the first target server) .

可选地,第一信息可以包括:所述终端的DNS配置信息和/或外部包头,其中,所述外部包头根据为所述终端选择的所述第一目标服务器的地址生成。也就是说,第二网络设备可以在为终端选择第一目标服务器后,得到终端的DNS配置信息和/或所述外部包头,将终端的DNS配置信息和/或所述外部包头发送给第一网络设备。Optionally, the first information may include: DNS configuration information of the terminal and/or an external header, 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 packet header of the terminal, and send the DNS configuration information and/or the external packet header of the terminal to the first target server. Network equipment.

在具体应用中,由于网络系统中可能有多个终端,且不同的终端的第一目标服务器可能不相同,因此,第一网络设备可以将第一信息与终端标识关联保存。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 store the first information in association with the terminal identifier.

S712,接收到终端的DNS查询请求,其中,所述DNS查询请求的目标地址为第二目标服务器的地址。S712, a DNS query request from the terminal is received, wherein the target address of the DNS query request is the address of the second target server.

第一网络设备从终端发送的数据包中解析出DNS查询请求,并获取该DNS查询请求的目标地址,即第二目标服务器的地址。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.

S714,在所述第二目标服务器与所述第一目标服务器不同的情况下,将所述DNS查询请求的目标地址设置为所述第一目标服务器的地址。S714, in the case that the second target server is different from the first target server, set the target address of the DNS query request as the address of the first target server.

第一网络设备根据发送所述DNS查询请求的终端的标识可以获取到与该终端关联的第一目标服务器的地址,判断第一目标服务器的地址与DNS查询请求的目标地址是否相同,从而可以确定第二目标服务器与所述第一目标服务器是否相同,如果不相同,则可以确定终端的DNS配置被修改了,则对DNS查询请求进行重定向,将DNS查询请求的目标地址设置为所述第一目标服务器的地址。The first network device can obtain the address of the first target server associated with the terminal according to the identifier of the terminal sending 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 address of the first target server is the same as that of the DNS query request. Whether the second target server is the same as the first target server, if not, it can be determined that the DNS configuration of the terminal has been modified, the DNS query request is redirected, and the target address of the DNS query request is set to the first target address. The address of a target server.

S716,发送设置后的DNS查询请求。S716, send the set DNS query request.

第一网络设备在将DNS查询请求的目标地址设置为所述第一目标服务器的地址,发送该DNS查询请求,从而使得DNS查询请求可以被发送到第一目标服务器。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.

在一个可能的实现方式中,在S714中,可以将所述DNS查询请求的目标地址替换为所述第一目标服务器的地址。或者,也可以在所述DNS查询请求外部加一个包头,所述包头中包含的目标地址为所述第一目标服务器的地址。In a possible implementation manner, in S714, the target address of the DNS query request may be replaced with the address of the first target server. Alternatively, a packet header may also be added outside the DNS query request, and the target address included in the packet header is the address of the first target server.

在一个可能的实现方式中,在S716之后,第一网络设备还可能接收到DNS查询请求的查询响应,由于DNS查询请求被路由到了第一目标服务器,因此,发送查询响应的为第一目标服务器,为了使终端不会感知到DNS查询请求被重定向了,可以将查询响应的源地址修改为第一目标服务器的地址。的灵活性,在该可能的实现方式中,在发送修改后的DNS查询请求之后,所述方法还可以包括:接收到所述DNS查询请求的查询响应;将所述查询响应中的源地址设置为所述第二目标服务器的地址;发送修改后的所述查询响应。In a possible implementation manner, 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, it is the first target server that sends the query response , so that the terminal does not perceive that the DNS query request has been redirected, the source address of the query response can be modified to the address of the first target server. In this possible implementation manner, 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 is the address of the second target server; send the modified query response.

与上述设置DNS查询请求的目标地址为第一目标服务器的地址对应,可选地,将所述查询响应中的源地址设置为所述第二目标服务器的地址,可以包括:将所述查询响应的源地址替换为所述第二目标服务器的地址。或者,去掉所述查询响应外部的包头,其中,所述外部的包头中包含的源地址为所述第一目标服务器的地址。具体采用哪种实现方式,可以根据接收到查询响应来确定,如果接收到的查询响应具有所述外部的包头,则采用去掉所述查询响应外部的包头的方式,否则,采用将所述查询响应的源地址替换为所述第二目标服务器的地址的方式。Corresponding to the above-mentioned setting of the target address of the DNS query request as 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: setting the query response Replace the source address with the address of the second target server. Or, remove the outer packet header of the query response, wherein the source address included in the outer packet header is the address of the first target server. The specific implementation method to be adopted can be determined according to 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 query response is removed. The source address is replaced with the address of the second target server.

在一个可能的实现方式中,为了使第二网络设备可以获知终端的DNS配置被修改,该方法还可以包括:在所述第二目标服务器与所述第一目标服务器不同的情况下,向第二网络设备发送通知消息,通知所述第二网络设备向所述终端发送DNS配置。通过该可能的实现方式,可以使得第二网络设备可以获知终端的DNS配置被修改,并向终端发送DNS配置,以使得终端可以使用正确的DNS配置。In a possible implementation manner, in order for 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 The second network device sends a notification message to notify the second network device to send the DNS configuration to the terminal. Through this possible implementation manner, the second network device can know that the DNS configuration of the terminal is modified, and send the DNS configuration to the terminal, so that the terminal can use the correct DNS configuration.

下面通过一个具体实施例对本申请实施例提供的上述方法700进行说明。The foregoing method 700 provided by this embodiment of the present application will be described below through a specific embodiment.

如图8所示,本申请实施例提供的一种信息处理方法800可以包括以下步骤:As shown in FIG. 8 , an information processing method 800 provided by an embodiment of the present application may include the following steps:

S801,UE向SMF(第二网络设备)发起PDU会话建立请求。S801, the UE initiates a PDU session establishment request to the SMF (second network device).

S802,SMF根据UE的情况为其选择EASDF或者L-DNS。S802, the SMF selects EASDF or L-DNS for the UE according to the situation of the UE.

后续,UE的DNS请求需要经过UPF和/或PSA发给EASDF或L-DNS。Subsequently, the UE's DNS request needs to be sent to EASDF or L-DNS via UPF and/or PSA.

S803,SMF将转发规则(Forwarding Action Rule,FAR)发给UPF和/或PSA(即第一网络设备)。其中,FAR用于对识别出UE发送的DNS查询进行重新定向。S803, the SMF sends a forwarding rule (Forwarding Action Rule, FAR) to the UPF and/or the PSA (ie, the first network device). The FAR is used to redirect the DNS query sent by the identified UE.

其中,如果已经插入UL CL,则FAR的外部包头(outer header)为L-DNS服务器或者L-DNS解析器(resolver)的IP地址。如果没有插入UL CL,则FAR的outer header为EASDF的IP地址。Wherein, if the UL CL has been inserted, the outer header of the FAR is the IP address of the L-DNS server or the L-DNS resolver (resolver). If no UL CL is inserted, the outer header of FAR is the IP address of EASDF.

UPF和/或PSA接收到该FAR,可以保存该FAR。The FAR is received by the UPF and/or PSA and may be saved.

S804:SMF通过ePCO过程给UE发送DNS配置,即EASDF IP地址或者L-DNS IP地址。S804: The SMF sends the DNS configuration, that is, the EASDF IP address or the L-DNS IP address, to the UE through the ePCO process.

S805:UE的DNS配置被改。例如,将EASDF或L-DNS的IP地址改成了别的DNS服务器。S805: The DNS configuration of the UE is changed. For example, changing the IP address of EASDF or L-DNS to another DNS server.

S806:UE发起DNS查询请求,DNS查询请求到达UPF和/或PSA。S806: The UE initiates a DNS query request, and the DNS query request reaches the UPF and/or the PSA.

S807:UPF和/或PSA截获UE发送的该消息,发现这条消息中包含DNS查询请求,即为DNS消息,则将DNS查询请求的目标地址设置为S803中的EASDF IP或L-DNS IP地址。S807: UPF and/or PSA intercept the message sent by the UE and find that the message contains a DNS query request, which is a DNS message, then set the target address of the DNS query request to the EASDF IP or L-DNS IP address in S803 .

具体地,将DNS查询请求的目标地址设置为S803中的EASDF IP或L-DNS IP地址可以有以下两种实现方式: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:

方式一:UPF和/或PSA发现这条DNS查询请求,则直接把该DNS查询的目的IP替换为EASDF IP或L-DNS IP地址;同时,UPF可以通过N4报告(Reporting)过程,告诉SMF,以通知SMF重新给UE发送DNS配置;Method 1: UPF and/or PSA find this DNS query request, and directly replace 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 the SMF to resend the DNS configuration to the UE;

方式二:UPF和/或PSA发现这条DNS查询请求,在这条DNS请求消息外部加一个包头,即把之前存储的FAR进行使用,增加outer header。Method 2: UPF and/or PSA find this DNS query request and add a header to the outside of the DNS request message, that is, use the previously stored FAR and add an outer header.

S808,UPF和/或PSA将这个DNS查询请求,发送至EASDF或L-DNS。S808, UPF and/or PSA send the DNS query request to EASDF or L-DNS.

S809,UPF和/或PSA接收到EASDF或L-DNS发送的DNS响应,将DNS响应的源地址设置为UE发送的DNS查询请求的目的地址。S809, the UPF and/or the PSA receives the DNS response sent by the EASDF or the L-DNS, and sets the source address of the DNS response as the destination address of the DNS query request sent by the UE.

其中,如果采用上述方式一对DNS查询请求进行修改,则当DNS响应到达UPF和/或PSA时,UPF和/或PSA将DNS响应的源IP从EASDF IP或L-DNS IP改回到原来的UE修改的DNSIP地址。Wherein, if the DNS query request is modified in the above manner, when the DNS response reaches the UPF and/or PSA, the UPF and/or PSA will change the source IP of the DNS response from the EASDF IP or L-DNS IP back to the original one The DNS IP address modified by the UE.

如果采用上述方式二对DNS查询请求进行修改,则当下行接收DNS响应时,UPF和/或PSA将DNS响应的外部包头去掉。If the DNS query request is modified using the second method, when the DNS response is received downstream, the UPF and/or the PSA removes the outer header of the DNS response.

S810:UPF和/或PSA向UE发送DNS响应。S810: The UPF and/or the PSA send a DNS response to the UE.

S811:由于之前UPF通过N4 report过程告诉SMF,UE的DNS配置可能变了,则SMF再触发一个ePCO过程向UE发送当前的DNS配置。S811: Since the UPF previously told the SMF through the N4 report process that the DNS configuration of the UE may have changed, the SMF triggers another ePCO process to send the current DNS configuration to the UE.

采用上述方法800,在UE位置没变化,同时SMF给UE发送DNS配置的更新周期没到,而UE的DNS配置被其他APP所修改,UE使用修改后的DNS配置发送DNS查询请求,则UPF和/或PSA可以将该DNS查询请求重定向到SMF配置的DNS服务器,避免DNS查询请求被发送到其它DNS服务器,确保DNS查询请求的安全。Using the above method 800, when the location of the UE does not change, and the update period for sending the DNS configuration to the UE by the SMF does not arrive, and the DNS configuration of the UE is modified by other APPs, the UE sends a DNS query request using the modified DNS configuration, then the UPF and /Or the PSA can redirect the DNS query request to the DNS server configured by the SMF, so as to prevent the DNS query request from being sent to other DNS servers and ensure the security of the DNS query request.

图9示出本申请实施例中的信息处理方法的又一种流程示意图,该方法900可以由第二网络设备执行。换言之,所述方法可以由安装在第二网络设备上的软件或硬件来执行。如图9所示,该方法可以包括以下步骤。FIG. 9 shows another schematic flowchart of an information processing method in an embodiment of the present application, and the method 900 may be executed by a second network device. In other words, the method may be performed by software or hardware installed on the second network device. As shown in Figure 9, the method may include the following steps.

S910,获取与终端匹配的第三目标服务器的地址信息。S910: Acquire address information of a third target server that matches the terminal.

例如,第二网络设备可以在接收到终端发送的PDU会话建立请求时,根据当前UE的位置、数据网络名称(Data Network Name,DNN)、单个网络切片选择辅助信息(SingleNetwork Slice Selection Assistance Information,S-NSSAI)、数据网络接入标识(DataNetwork Access Identifier,DNAI)、以及是否已经建立了UL CL等,查找与终端匹配的EASDF或者L-DNS。For example, when receiving the PDU session establishment request sent by the terminal, the second network device may select assistance information (Single Network Slice Selection Assistance Information, S) according to the current UE location, data network name (Data Network Name, DNN), and single network slice -NSSAI), data network access identifier (DataNetwork Access Identifier, DNAI), and whether the UL CL has been established, etc., search for the EASDF or L-DNS that matches the terminal.

S912,根据所述第三目标服务器的地址信息,执行第一操作。S912, perform the first operation according to the address information of the third target server.

其中,所述第一操作包括但不限于以下至少之一:Wherein, the first operation includes but is not limited to at least one of the following:

(1)生成所述终端的DNS配置信息,并发送给所述终端。(1) Generate DNS configuration information of the terminal and send it to the terminal.

(2)生成FAR,该FAR为outerheader(即外部包头),并发送给第一网络设备。其中,该外部包头中包含的目标地址信息为所述第三目标服务器的地址信息。例如,方法700中第一网络设备获取的外部包头。(2) Generate a FAR, where the FAR is an outer header (ie, an outer packet header), and send it to the first network device. Wherein, the target address information contained in the outer packet header is the address information of the third target server. For example, the external packet header obtained by the first network device in the method 700 .

(3)将所述第三目标服务器的地址信息发送给所述第一网络设备。例如,方法700中第一网络获取的第一信息。(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 the method 700 .

(4)生成所述终端的DNS配置更新周期。在后续中按照该DNS配置更新周期,更新终端的DNS配置信息。即在DNS配置更新周期到达时,第二网络设备向终端发送第三目标服务器的地址信息(即DNS配置信息)。通过该可能的实现方式,在一个DNS配置更新周期中,如果终端的DNS配置被其它APP或用户修改,则可以在周期到达时,将修改后的终端的DNS配置重新配置为网络侧指定的DNS配置。(4) Generate a DNS configuration update period of the terminal. In the follow-up, the DNS configuration information of the terminal is updated according to the DNS configuration update cycle. That is, when the DNS configuration update period arrives, the second network device sends the address information (ie, DNS configuration information) of the third target server to the terminal. Through this possible implementation, in 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 specified by the network side when the cycle arrives configuration.

在一个可能的实现方式中,在S910之前,该方法还可以包括以下至少之一:In a possible implementation, before S910, the method may further include at least one of the following:

(1)获取第三指示信息,其中,所述第三指示信息指示终端的位置发生变化。例如,第二网络设备可以向接入和移动性管理功能(Access and Mobility ManagementFunction,AMF)订阅终端的位置信息,当终端的位置信息发生变化时,AMF通知SMF。在该可能的实现方式中,第二网络设备在终端的位置信息发生变化时,重新获取与终端匹配的DNS服务器的地址信息,可以对终端的DNS配置进行更新,从而可以将被其他APP或用户修改后的DNS配置再次配置为网络侧指定的DNS配置。(1) Obtain third indication information, wherein the third indication information indicates that the location of the terminal changes. For example, the second network device may subscribe the location information of the terminal to an Access and Mobility Management Function (AMF), and when the location information of the terminal changes, the AMF notifies the SMF. In this possible implementation manner, when the location information of the terminal changes, the second network device re-acquires the address information of the DNS server matching the terminal, and can update the DNS configuration of the terminal, so that it can be used by other APPs or users. The modified DNS configuration is configured as the DNS configuration specified on the network side again.

(2)接收所述终端发送的第一指示信息,其中,所述第一指示信息指示所述终端的DNS配置被修改。该第一指示信息可以为方法200中终端向核心网设备发送的第一指示信息。在该可能的实现方式中,第二网络设备在获知终端的DNS被修改时,可以再次获取与终端匹配的DNS服务器,对终端的DNS配置进行更新,从而可以将被其他APP或用户修改后的DNS配置再次配置为网络侧指定的DNS配置。(2) Receive first indication information sent by the terminal, wherein the first indication information indicates that the DNS configuration of the terminal is modified. The first indication information may be the first indication information sent by the terminal to the core network device in the method 200 . In this possible implementation manner, when the second network device learns that the DNS of the terminal has been modified, it can obtain a DNS server matching the terminal again, and update the DNS configuration of the terminal, so that the modified DNS of the terminal can be changed by other APPs or users. The DNS configuration is again configured as the DNS configuration specified on the network side.

(3)接收所述第一网络设备发送的通知消息,其中,所述通知消息通知所述第二网络设备向所述终端发送DNS配置。例如,在方法700中,第一网络设备在确定第一目标服务器与第二目标服务器不同时,认为终端的DNS被修改时,通知第一网络设备,第一网络设备可以再次获取与终端匹配的DNS服务器,对终端的DNS配置进行更新,从而可以将被其他APP或用户修改后的DNS配置再次配置为网络侧指定的DNS配置。(3) Receive a notification message sent by the first network device, wherein the notification message notifies the second network device to send the 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, it notifies the first network device, and the first network device can obtain the matching terminal again. The DNS server updates 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 on the network side.

(4)DNS配置更新周期到达。即在该可能的实现方式中,第二网络设备对终端的DNS配置进行周期性的更新,以保证在周期到达时,将被其它APP或用户修改的DNS配置重新配置为网络侧指定的DNS配置。(4) The DNS configuration update cycle arrives. That is, in this possible implementation manner, 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. .

下面通过具体实施例,对本申请实施例提供的上述方法900进行说明。The foregoing method 900 provided by the embodiments of the present application will be described below through specific embodiments.

图10为本申请实施例中的一种信息处理方法的流程图,如图10所示,该方法1000主要包括以下步骤:FIG. 10 is a flowchart of an information processing method in an embodiment of the present application. As shown in FIG. 10 , the method 1000 mainly includes the following steps:

S1001:SMF(即第二网络设备)触发AMF的服务,订阅UE的位置信息S1001: The SMF (ie the second network device) triggers the AMF service and subscribes to the location information of the UE

S1002:当UE的位置变化,尤其是DNAI变化的时候,AMF通知SMF。S1002: When the location of the UE changes, especially when the DNAI changes, the AMF notifies the SMF.

S1003:SMF根据当前UE的位置,DNN、S-NSSAI、DNAI等信息,向网络存储库功能(Network Repository Function,NRF)发起EASDF查找请求或者L-DNS的查找请求。S1003: The SMF initiates an EASDF search request or an L-DNS search request to a Network Repository Function (NRF) according to the current UE location, DNN, S-NSSAI, DNAI and other information.

其中,如果UL CL已经建立,则发起L-DNS查找请求,如果UL CL不存在或者还没建立,则发起EASDF查找请求。Wherein, if the UL CL has been established, an L-DNS search request is initiated, and if the UL CL does not exist or has not been established, an EASDF search request is initiated.

S1004,SMF接收NRF返回的EASDF或L-DNS服务器地址,该EASDF或L-DNS服务器为匹配当前UE位置的DNS服务器。S1004, the SMF receives the EASDF or L-DNS server address returned by the NRF, where the EASDF or L-DNS server is a DNS server matching the current UE location.

S1005:SMF通过ePCO过程向UE更新DNS服务器的IP地址,即将UE的DNS配置中的DNS服务器的IPR地址更新为S1004中的EASDF或L-DNS服务器的IP地址。S1005: The 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.

图11为本申请实施例中的一种信息处理方法的流程图,如图11所示,该方法1100主要包括以下步骤:FIG. 11 is a flowchart of an information processing method in an embodiment of the present application. As shown in FIG. 11 , the method 1100 mainly includes the following steps:

S1101:UE向SMF(即第二网络设备)发起PDU会话建立请求。S1101: The UE initiates a PDU session establishment request to the SMF (ie, the second network device).

S1102:SMF根据当前UE的位置,DNN、S-NSSAI、DNAI等信息,向网络存储库功能(Network Repository Function,NRF)发起EASDF查找请求或者L-DNS的查找请求。S1102: The SMF initiates an EASDF search request or an L-DNS search request to a Network Repository Function (NRF) according to the current UE location, DNN, S-NSSAI, DNAI and other information.

其中,如果UL CL已经建立,则发起L-DNS查找请求,如果UL CL不存在或者还没建立,则发起EASDF查找请求。Wherein, if the UL CL has been established, an L-DNS search request is initiated, and if the UL CL does not exist or has not been established, an EASDF search request is initiated.

S1103,SMF接收NRF返回的EASDF或L-DNS服务器地址。S1103, the SMF receives the EASDF or L-DNS server address returned by the NRF.

S1104,SMF根据接收到的EASDF或L-DNS服务器地址,维护一个配置表,该配置表中记录的信息如表1所示。S1104, the 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.

表1.Table 1.

UE IP地址,或者一个地址段UE IP address, or an address segment DNNDNN S-NSSAIS-NSSAI DNAIDNAI FQDN表FQDN table EASDF IP地址或者L-DNS IP地址EASDF IP address or L-DNS IP address 周期性更新时间Periodic update time

S1105,根据上述映射表,周期性地更新UE的DNS服务器的地址。S1105: Periodically update the address of the DNS server of the UE according to the above-mentioned mapping table.

也就是说,在该实施例中,将发送给每个UE的或者对应UE IP地址下的EASDF IP地址或者L-DNS IP地址保存下来,并设定一个计时器T,当计时器超过T,SMF再触发ePCO过程给UE提供EASDF IP地址或者L-DNS IP地址。That is to say, in this embodiment, the EASDF IP address or L-DNS IP address sent to each UE or under the corresponding UE IP address is saved, and a timer T is set. When the timer exceeds T, The SMF then triggers the ePCO procedure to provide the UE with the EASDF IP address or the L-DNS IP address.

在上述技术方案中,如果在某一个周期内,UE的位置发生变化,如UE移动,则可以采用上述方法1000所述的技术方案。In the above technical solution, if the position of the UE changes in a certain period, such as the UE moves, the technical solution described in the above method 1000 can be adopted.

需要说明的是,本申请实施例提供的信息处理方法,执行主体可以为信息处理装置,或者,该信息处理装置中的用于执行信息处理方法的控制模块。本申请实施例中以信息处理装置执行信息处理的方法为例,说明本申请实施例提供的信息处理的装置。It should be noted that, in the information processing method provided by the embodiments of the present application, the execution body may be an information processing apparatus, or a control module in the information processing apparatus for executing the information processing method. In the embodiments of the present application, a method for performing information processing by an information processing apparatus is used as an example to describe the information processing apparatus provided by the embodiments of the present application.

图12示出本申请实施例提供的信息处理装置的一种结构示意图,如图11所示,该装置1200主要包括:第一接收模块1201、第一配置模块1202和第一发送模块1203。FIG. 12 shows a schematic structural diagram of an information processing apparatus provided by an embodiment of the present application. As shown in FIG. 11 , the apparatus 1200 mainly includes: a first receiving module 1201 , a first configuration module 1202 and a first sending module 1203 .

在本申请实施例中,第一接收模块1201,用于接收对终端的DNS配置进行修改的修改指令;第一配置模块1202,用于按照所述修改指令对DNS配置进行修改;第一发送模块1203,用于发送第一指示信息,其中,所述第一指示信息指示所述终端的DNS配置被修改。In the embodiment of the present application, the first receiving module 1201 is configured to receive a modification instruction for modifying the DNS configuration of the terminal; the first configuration module 1202 is configured to modify the DNS configuration according to the modification instruction; the first sending module 1203: Send first indication information, where the first indication information indicates that the DNS configuration of the terminal is modified.

在一个可能的实现方式中,所述DNS配置包括以下至少一项:In a possible implementation manner, the DNS configuration includes at least one of the following:

中心DNS服务器的地址信息;Address information of the central DNS server;

边缘应用服务器发现功能实体EASDF的地址信息;The edge application server discovers the address information of the functional entity EASDF;

本地DNS服务器的地址信息。Address information of the local DNS server.

在一个可能的实现方式中,所述第一接收模块1201,还用于接收第一DNS配置信息;所述第一配置模块1202,还用于按照所述第一DNS配置信息,修改所述DNS配置。In a possible implementation manner, the first receiving module 1201 is further configured to receive first DNS configuration information; the first configuration module 1202 is further configured to modify the DNS according to the first DNS configuration information configuration.

在一个可能的实现方式中,所述第一发送模块1203发送第一指示信息,包括:向核心网设备发送所述第一指示信息;所述第一接收模块1201接收第一DNS配置信息,包括:接收核心网设备发送的所述第一DNS配置信息。In a possible implementation manner, the first sending module 1203 sending the first indication information includes: sending the first indication information to the core network device; the first receiving module 1201 receiving the first DNS configuration information, including : Receive the first DNS configuration information sent by the core network device.

在一个可能的实现方式中,所述第一发送模块1203向核心网设备发送所述第一指示信息,包括:当所述终端处在连接态时,向核心网设备发送所述第一指示信息。In a possible implementation manner, the first sending module 1203 sending the first indication information to the core network device includes: when the terminal is in a connected state, sending the first indication information to the core network device .

在一个可能的实现方式中,所述连接态包括以下至少一项:In a possible implementation manner, the connection state includes at least one of the following:

无线资源控制RRC连接态;Radio resource control RRC connected state;

注册管理连接状态;Register management connection status;

连接管理连接态。Connection management connection state.

在一个可能的实现方式中,所述第一发送模块1203发送第一指示信息,包括:向所述终端的芯片模组发送所述第一指示信息;所述第一接收模块1201接收第一DNS配置信息,包括:接收所述芯片模组发送的所述第一DNS配置信息,其中,所述第一DNS配置信息为在按照所述修改指令对DNS配置进行修改之前,从核心网设备接收的DNS配置信息。In a possible implementation manner, the first sending module 1203 sending the first indication information includes: sending the first indication information to the chip module of the terminal; the first receiving module 1201 receiving the first DNS The configuration information includes: receiving the first DNS configuration information sent by the chip module, wherein the first DNS configuration information is received from the core network device before the DNS configuration is modified according to the modification instruction DNS configuration information.

在一个可能的实现方式中,所述第一指示信息包括以下至少一项:In a possible implementation, the first indication information includes at least one of the following:

非接入层NAS消息指示。Non-Access Stratum NAS message indication.

终端操作系统与芯片模组之间的消息指示。Message indication between the terminal operating system and the chip module.

在一个可能的实现方式中,所述非接入层NAS消息指示,包括以下至少一项:In a possible implementation manner, the non-access stratum NAS message indication includes at least one of the following:

注册请求消息;registration request message;

注册完成消息;Registration complete message;

PDU会话建立请求消息;PDU session establishment request message;

PDU会话建立接受消息;PDU session establishment accept message;

PDU会话更改请求消息;PDU session change request message;

PDU会话更改接受消息;PDU session change accept message;

PDU会话释放请求消息;PDU session release request message;

PDU会话释放接受消息。PDU Session Release Accept message.

本申请实施例中的信息处理装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动终端,也可以为非移动终端。示例性的,移动终端可以包括但不限于上述所列举的终端11的类型,非移动终端可以为服务器、网络附属存储器(NetworkAttached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The information processing apparatus in this embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile terminal or a non-mobile terminal. Exemplarily, 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 (NAS), a personal computer (PC), a television (television). , TV), teller machine or self-service machine, etc., which are not specifically limited in the embodiments of the present application.

本申请实施例中的信息处理装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The information processing apparatus in this embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.

本申请实施例提供的信息处理装置能够实现图2至图4的方法实施例中终端实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。The information processing apparatus provided by the embodiments of the present application can implement each process implemented by the terminal in the method embodiments of FIG. 2 to FIG. 4 , and achieve the same technical effect. To avoid repetition, details are not described here.

图13为本申请实施例提供的信息处理装置的另一种结构示意图,如图13所示,该装置1300主要包括:第二接收模块1301、第二配置模块1302和第一设置模块1303。FIG. 13 is another schematic structural diagram of an information processing apparatus provided by an embodiment of the present application. As shown in FIG. 13 , the apparatus 1300 mainly includes: a second receiving module 1301 , a second configuration module 1302 and a first setting module 1303 .

在本申请实施例中,第二接收模块1301,用于接收第二DNS配置信息;第二配置模块1302,用于根据所述第二DNS配置信息,对所述终端的DNS配置进行更新;第一设置模块1303,用于设置所述DNS配置不可修改和/或将所述DNS配置设置为最高优先级。In this embodiment of the present application, the second receiving module 1301 is configured to receive second DNS configuration information; the second configuration module 1302 is configured to update the DNS configuration of the terminal according to the second DNS configuration information; A setting module 1303, configured to set the DNS configuration to be unmodifiable and/or set the DNS configuration to the highest priority.

在一个可能的实现方式中,所述第二接收模块1301接收第二DNS配置信息,包括:接收核心网设备发送的所述第二DNS配置信息;所述第一设置模块1303设置所述DNS配置不可修改,包括:向所述终端的操作系统发送第二指示信息,所述第二指示信息指示所述DNS配置不可修改。In a possible implementation manner, the second receiving module 1301 receiving the second DNS configuration information includes: receiving the second DNS configuration information sent by the core network device; the first setting module 1303 sets the DNS configuration Unmodifiable includes: sending second indication information to the operating system of the terminal, where the second indication information indicates that the DNS configuration cannot be modified.

在一个可能的实现方式中,所述第二接收模块1301,还用于接收核心网设备发送的第三指示信息,其中,所述第三指示信息指示所述第二DNS配置信息不可修改。In a possible implementation manner, the second receiving module 1301 is further configured to receive third indication information sent by the core network device, where the third indication information indicates that the second DNS configuration information cannot be modified.

在一个可能的实现方式中,所述第三指示信息包括:非接入层NAS消息指示。In a possible implementation manner, the third indication information includes: a non-access stratum NAS message indication.

本申请实施例中的信息处理装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动终端,也可以为非移动终端。示例性的,移动终端可以包括但不限于上述所列举的终端11的类型,非移动终端可以为服务器、网络附属存储器(NetworkAttached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The information processing apparatus in this embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile terminal or a non-mobile terminal. Exemplarily, 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 (NAS), a personal computer (PC), a television (television). , TV), teller machine or self-service machine, etc., which are not specifically limited in the embodiments of the present application.

本申请实施例中的信息处理装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The information processing apparatus in this embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.

本申请实施例中的信息处理装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The information processing apparatus in this embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.

本申请实施例提供的信息处理装置能够实现图5至图6的方法实施例中终端实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。The information processing apparatus provided by the embodiments of the present application can implement each process implemented by the terminal in the method embodiments of FIG. 5 to FIG. 6 , and achieve the same technical effect. To avoid repetition, details are not described here.

图14示出本申请实施例提供的信息处理装置的又一种结构示意图,如图14所示,该装置主要包括:第一获取模块1401、第三接收模块1402、第二设置模块1403和第二发送模块1404。FIG. 14 shows another schematic structural diagram of an information processing apparatus provided by an embodiment of the present application. As shown in FIG. 14 , the apparatus mainly includes: a first acquisition module 1401 , a third receiving module 1402 , a second setting module 1403 , and a first 2. Sending module 1404.

在本申请实施例中,第一获取模块1401,用于获取第一信息,其中,所述第一信息包括:第一目标服务器的地址;第三接收模块1402,用于接收到终端的DNS查询请求,其中,所述DNS查询请求的目标地址为第二目标服务器的地址;第二设置模块1403,用于在所述第二目标服务器与所述第一目标服务器不同的情况下,将所述DNS查询请求的目标地址设置为所述第一目标服务器的地址;第二发送模块1404,用于发送设置后的DNS查询请求;其中,所述信息处理装置能够解析出来自终端的数据包中是否包含DNS查询请求。In this embodiment of the present application, the first obtaining module 1401 is configured to obtain first information, where the first information includes: the address of the first target server; the third receiving module 1402 is configured to receive the DNS query of the terminal request, wherein the target address of the DNS query request is the address of the second target server; the second setting module 1403 is configured to set the second target server to the first target server when the second target server is different from the first target server The target address of the DNS query request is set to the address of the first target server; the second sending module 1404 is configured to send the set DNS query request; wherein, the information processing device can parse out whether the data packet from the terminal is Contains DNS query requests.

在一个可能的实现方式中,所述第二设置模块1403将所述DNS查询请求的目标地址设置为所述第一目标服务器的地址,包括:In a possible implementation manner, the second setting module 1403 sets the target address of the DNS query request to the address of the first target server, including:

将所述DNS查询请求的目标地址替换为所述第一目标服务器的地址;或者,Replace the target address of the DNS query request with the address of the first target server; or,

在所述DNS查询请求外部加一个包头,所述包头中包含的目标地址为所述第一目标服务器的地址。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.

在一个可能的实现方式中,所述第三接收模块1402,还用于接收到所述DNS查询请求的查询响应;所述第二设置模块1403,还用于将所述查询响应中的源地址设置为所述第二目标服务器的地址;所述第二发送模块1404,还用于发送修改后的所述查询响应。In a possible implementation manner, the third receiving module 1402 is further configured to receive a query response to the DNS query request; the second setting module 1403 is further configured to set the source address in the query response Set as the address of the second target server; the second sending module 1404 is further configured to send the modified query response.

在一个可能的实现方式中,所述第二设置模块1403将所述查询响应中的源地址设置为所述第二目标服务器的地址,包括: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:

将所述查询响应的源地址替换为所述第二目标服务器的地址;或者,Replace the source address of the query response with the address of the second target server; or,

去掉所述查询响应外部的包头,其中,所述外部的包头中包含的源地址为所述第一目标服务器的地址。The outer packet header of the query response is removed, wherein the source address included in the outer packet header is the address of the first target server.

在一个可能的实现方式中,所述第二发送模块1404,还用于在所述第二目标服务器与所述第一目标服务器不同的情况下,向第二网络设备发送通知消息,通知所述第二网络设备向所述终端发送DNS配置。In a possible implementation manner, the second sending module 1404 is further configured to send a notification message to a second network device when the second target server is different from the first target server, notifying the The second network device sends the DNS configuration to the terminal.

在一个可能的实现方式中,所述第一信息包括:所述终端的DNS配置信息和/或外部包头,其中,所述外部包头根据为所述终端选择的所述第一目标服务器的地址生成。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 .

本申请实施例中的信息处理装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The information processing apparatus in this embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.

本申请实施例提供的信息处理装置能够实现图7至图8的方法实施例中第一网络设备实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。The information processing apparatus provided in this embodiment of the present application can implement each process implemented by the first network device in the method embodiments shown in FIG. 7 to FIG. 8 , and achieve the same technical effect. To avoid repetition, details are not repeated here.

图15示出本申请实施例提供的信息处理装置的又一种结构示意图,如图15所示,该信息处理装置主要包括:第二获取模块1501和操作模块1502。FIG. 15 shows another schematic structural diagram of an information processing apparatus provided by an embodiment of the present application. As shown in FIG. 15 , the information processing apparatus mainly includes: a second acquisition module 1501 and an operation module 1502 .

在本申请实施例中,第二获取模块1501,获取与终端匹配的第三目标服务器的地址信息;操作模块1502,用于根据所述第三目标服务器的地址信息,执行以下至少一项操作:In the embodiment of the present application, the second obtaining module 1501 obtains the address information of the third target server matched with the terminal; the operation module 1502 is configured to perform at least one of the following operations according to the address information of the third target server:

生成所述终端的DNS配置信息,并发送给所述终端;generating the 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;

生成所述终端的DNS配置更新周期。A DNS configuration update cycle of the terminal is generated.

在一个可能的实现方式中,所述第二获取模块1501,还用于在获取与终端匹配的第三目标服务器的地址信息之前,执行以下至少之一的操作:In a possible implementation manner, the second obtaining module 1501 is further configured to perform at least one of the following operations before obtaining the address information of the third target server matching the terminal:

获取第三指示信息,其中,所述第三指示信息指示终端的位置发生变化;acquiring third indication information, wherein the third indication information indicates that the location of the terminal has changed;

接收所述终端发送的第一指示信息,其中,所述第一指示信息指示所述终端的DNS配置被修改;receiving first indication information sent by the terminal, wherein the first indication information indicates that the DNS configuration of the terminal is modified;

接收所述第一网络设备发送的通知消息,其中,所述通知消息通知所述第二网络设备向所述终端发送DNS配置;receiving a notification message sent by the first network device, wherein the notification message notifies the second network device to send the DNS configuration to the terminal;

确定DNS配置更新周期到达。Make sure the DNS configuration update cycle arrives.

本申请实施例中的信息处理装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The information processing apparatus in this embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.

本申请实施例提供的信息处理装置能够实现图9至图11的方法实施例中第二网络设备实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。The information processing apparatus provided by the embodiments of the present application can implement each process implemented by the second network device in the method embodiments of FIG. 9 to FIG. 11 , and achieve the same technical effect. To avoid repetition, details are not repeated here.

可选的,如图16所示,本申请实施例还提供一种通信设备1600,包括处理器1601、存储器1602、以及存储在存储器1602上并可在所述处理器1601上运行的程序或指令,例如,该通信设备1600为终端时,该程序或指令被处理器1601执行时实现上述信息处理方法200至方法600实施例的各个过程,且能达到相同的技术效果。该通信设备1600为网络侧设备时,该程序或指令被处理器1601执行时实现上述信息处理方法700至方法1100实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 16 , an embodiment of the present application further provides a communication device 1600 , including a processor 1601 , a memory 1602 , and programs or instructions stored in the memory 1602 and executable on the processor 1601 For example, when the communication device 1600 is a terminal, when the program or instruction is executed by the processor 1601, each process of the above-mentioned embodiments of the information processing method 200 to the method 600 can be realized, and the same technical effect can be achieved. When the communication device 1600 is a network-side device, when the program or instruction is executed by the processor 1601, each process of the foregoing information processing method 700 to the embodiment of the method 1100 can be realized, and the same technical effect can be achieved. In order to avoid repetition, it is not repeated here. Repeat.

图17为实现本申请实施例的一种终端的硬件结构示意图。FIG. 17 is a schematic diagram of a hardware structure of a terminal implementing an embodiment of the present application.

该终端1700包括但不限于:射频单元1701、网络模块1702、音频输出单元1703、输入单元1704、传感器1705、显示单元1706、用户输入单元1707、接口单元1708、存储器1709、以及处理器1710等部件。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, a processor 1710 and other components .

本领域技术人员可以理解,终端1700还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1710逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图17中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the terminal 1700 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 1710 through a power management system, so as to manage charging, discharging, and power consumption through the power management system management and other functions. The terminal structure shown in FIG. 17 does not constitute a limitation on the terminal, and the terminal may include more or less components than shown, or combine some components, or arrange different components, which will not be repeated here.

应理解的是,本申请实施例中,输入单元1704可以包括图形处理器(GraphicsProcessing Unit,GPU)17041和麦克风17042,图形处理器17041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1706可包括显示面板17061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板17061。用户输入单元1707包括触控面板17071以及其他输入设备17072。触控面板17071,也称为触摸屏。触控面板17071可包括触摸检测装置和触摸控制器两个部分。其他输入设备17072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that, in this embodiment of the present application, the input unit 1704 may include a graphics processor (Graphics Processing Unit, GPU) 17041 and a microphone 17042. camera) to process the image data of still pictures or videos. The display unit 1706 may include a display panel 17061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. 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, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

本申请实施例中,射频单元1701将来自网络侧设备的下行数据接收后,给处理器1710处理;另外,将上行的数据发送给网络侧设备。通常,射频单元1701包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。In the embodiment of the present application, the radio frequency unit 1701 receives the downlink data from the network side device, and then processes it to the processor 1710; in addition, sends the uplink data 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, and the like.

存储器1709可用于存储软件程序或指令以及各种数据。存储器1709可主要包括存储程序或指令区和存储数据区,其中,存储程序或指令区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器1709可以包括高速随机存取存储器,还可以包括非易失性存储器,其中,非易失性存储器可以是只读存储器(Read-OnlyMemory,ROM)、可编程只读存储器(ProgrammableROM,PROM)、可擦除可编程只读存储器(ErasablePROM,EPROM)、电可擦除可编程只读存储器(ElectricallyEPROM,EEPROM)或闪存。例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。Memory 1709 may be used to store software programs or instructions as well as various data. The memory 1709 may mainly include a storage program or instruction area and a storage data area, wherein the stored program or instruction area may 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.) and the like. In addition, the memory 1709 may include a high-speed random access memory, and may also include a non-volatile memory, wherein the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM) ), erasable programmable read-only memory (ErasablePROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. For example at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.

处理器1710可包括一个或多个处理单元;可选的,处理器1710可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序或指令等,调制解调处理器主要处理无线通信,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器1710中。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 the operating system, user interface, application programs or instructions, etc., Modem processors mainly deal with wireless communications, such as baseband processors. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1710.

其中,处理器1710,用于接收对终端的DNS配置进行修改的修改指令;按照所述修改指令对DNS配置进行修改;The processor 1710 is configured to receive a modification instruction for modifying the DNS configuration of the terminal; modify the DNS configuration according to the modification instruction;

射频单元1701,用于发送第一指示信息,其中,所述第一指示信息指示所述终端的DNS配置被修改。The radio frequency unit 1701 is configured to send first indication information, wherein the first indication information indicates that the DNS configuration of the terminal is modified.

或者,射频单元1701用于接收第二DNS配置信息;Alternatively, the radio frequency unit 1701 is configured to receive the second DNS configuration information;

处理器1710,用于根据所述第二DNS配置信息,对所述终端的DNS配置进行更新;然后设置所述DNS配置不可修改和/或将所述DNS配置设置为最高优先级。The processor 1710 is configured to update the DNS configuration of the terminal according to the second DNS configuration information; then set the DNS configuration to be unmodifiable and/or set the DNS configuration to the highest priority.

具体地,本申请实施例还提供了一种网络侧设备。如图18所示,该网络设备1800包括:天线1801、射频装置1802、基带装置1803。天线1801与射频装置1802连接。在上行方向上,射频装置1802通过天线1801接收信息,将接收的信息发送给基带装置1803进行处理。在下行方向上,基带装置1803对要发送的信息进行处理,并发送给射频装置1802,射频装置1802对收到的信息进行处理后经过天线1801发送出去。Specifically, an embodiment of the present application further provides a network side device. As shown in FIG. 18 , 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 .

上述频带处理装置可以位于基带装置1803中,以上实施例中网络侧设备执行的方法可以在基带装置1803中实现,该基带装置1803包括处理器1804和存储器1805。The above-mentioned frequency band processing apparatus may be located in the baseband apparatus 1803 , and the method performed by the network side device in the above embodiments may be implemented in the baseband apparatus 1803 . The baseband apparatus 1803 includes a processor 1804 and a memory 1805 .

基带装置1803例如可以包括至少一个基带板,该基带板上设置有多个芯片,如图18所示,其中一个芯片例如为处理器1804,与存储器1805连接,以调用存储器1805中的程序,执行以上方法实施例中所示的网络设备操作。The baseband device 1803 may include, for example, at least one baseband board on which a plurality of chips are arranged, as shown in FIG. 18 , one of the chips is, for example, the processor 1804 , which is connected to the memory 1805 to call a program in the memory 1805 to execute The network devices shown in the above method embodiments operate.

该基带装置1803还可以包括网络接口1806,用于与射频装置1802交互信息,该接口例如为通用公共无线接口(common public radio interface,简称CPRI)。The baseband device 1803 may further include a network interface 1806 for exchanging information with the radio frequency device 1802, and the interface is, for example, a common public radio interface (CPRI for short).

具体地,本发明实施例的网络侧设备还包括:存储在存储器1805上并可在处理器1804上运行的指令或程序,处理器1804调用存储器1805中的指令或程序执行图14或图15所示各模块执行的方法,并达到相同的技术效果,为避免重复,故不在此赘述。Specifically, the network-side device in the embodiment of the present invention further includes: an instruction or program stored in the memory 1805 and executable on the processor 1804, and the processor 1804 invokes the instruction or program in the memory 1805 to execute the instruction or program shown in FIG. 14 or FIG. 15 . In order to avoid repetition, it is not repeated here.

本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述信息处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above information processing method embodiment can be achieved, and the same can be achieved. In order to avoid repetition, the technical effect will not be repeated here.

其中,所述处理器为上述实施例中所述的终端中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the terminal described in the foregoing embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.

本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行网络侧设备程序或指令,实现上述信息处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a network-side device program or instruction to implement the above information processing method Each process of the embodiment can achieve the same technical effect, and to avoid repetition, it will not be repeated here.

本申请实施例另提供了一种计算机程序产品,该计算机程序产品包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时,实现上述信息处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a computer program product, the computer program product includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being When the processor is executed, each process of the above information processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.

应理解,本申请实施例提到的芯片还可以称为系统级芯片,系统芯片,芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-chip, or a system-on-a-chip, or the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) execute the methods described in the various embodiments of this application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (45)

1.一种信息处理方法,应用于终端,其特征在于,所述方法包括:1. An information processing method, applied to a terminal, wherein the method comprises: 接收到对所述终端的域名系统DNS配置进行修改的修改指令;receiving a modification instruction for modifying the domain name system DNS configuration of the terminal; 按照所述修改指令对DNS配置进行修改;Modify the DNS configuration according to the modification instructions; 发送第一指示信息,其中,所述第一指示信息指示所述终端的DNS配置被修改。Send first indication information, wherein the first indication information indicates that the DNS configuration of the terminal is modified. 2.根据权利要求1所述的方法,其特征在于,所述DNS配置,包括以下至少一项:2. The method according to claim 1, wherein the DNS configuration comprises at least one of the following: 中心DNS服务器的地址信息;Address information of the central DNS server; 边缘应用服务器发现功能EASDF的地址信息;Address information of the edge application server discovery function EASDF; 本地DNS服务器的地址信息。Address information of the local DNS server. 3.根据权利要求1所述的方法,其特征在于,在发送所述第一指示信息之后,所述方法还包括:3. The method according to claim 1, wherein after sending the first indication information, the method further comprises: 接收第一DNS配置信息;receiving the first DNS configuration information; 按照所述第一DNS配置信息,修改所述DNS配置。Modify the DNS configuration according to the first DNS configuration information. 4.根据权利要求3所述的方法,其特征在于,4. The method of claim 3, wherein 发送第一指示信息,包括:所述终端向核心网设备发送所述第一指示信息;Sending the first indication information includes: the terminal sending the first indication information to the core network device; 接收第一DNS配置信息,包括:接收核心网设备发送的所述第一DNS配置信息。Receiving the first DNS configuration information includes: receiving the first DNS configuration information sent by the core network device. 5.根据权利要求4所述的方法,其特征在于,所述终端向核心网设备发送所述第一指示信息,包括:5 . The method according to claim 4 , wherein the sending, by the terminal, the first indication information to the core network device comprises: 5 . 当所述终端处在连接态时,向核心网设备发送所述第一指示信息。When the terminal is in a connected state, the first indication information is sent to the core network device. 6.根据权利要求5所述的方法,其特征在于,所述连接态,包括以下至少一项:6. The method according to claim 5, wherein the connected state comprises at least one of the following: 无线资源控制RRC连接态RRC-Connected;Radio resource control RRC connected state RRC-Connected; 注册管理连接状态RM-REGISTERED;Registration management connection status RM-REGISTERED; 连接管理连接态CM-CONNECTED。Connection management connection state CM-CONNECTED. 7.根据权利要求3所述的方法,其特征在于,7. The method of claim 3, wherein 发送第一指示信息,包括:所述终端的操作系统向所述终端的芯片模组发送所述第一指示信息;Sending the first indication information includes: the operating system of the terminal sending the first indication information to the chip module of the terminal; 接收第一DNS配置信息,包括:所述终端的操作系统接收所述芯片模组发送的所述第一DNS配置信息,其中,所述第一DNS配置信息为在按照所述修改指令对DNS配置进行修改之前,从核心网设备接收的DNS配置信息。Receiving the first DNS configuration information includes: the operating system of the terminal receiving the first DNS configuration information sent by the chip module, wherein the first DNS configuration information is the configuration of the DNS according to the modification instruction DNS configuration information received from the core network device before modification. 8.根据权利要求1至7任一项所述的方法,其特征在于,所述第一指示信息包括以下至少一项:8. The method according to any one of claims 1 to 7, wherein the first indication information comprises at least one of the following: 非接入层NAS消息指示;non-access stratum NAS message indication; 终端操作系统与芯片模组之间的消息指示。Message indication between the terminal operating system and the chip module. 9.根据权利要求8所述的方法,其特征在于,所述非接入层NAS消息指示,包括以下至少一项:9. The method according to claim 8, wherein the non-access stratum NAS message indication comprises at least one of the following: 注册请求消息;registration request message; 注册完成消息;Registration complete message; 协议数据单元PDU会话建立请求消息;Protocol data unit PDU session establishment request message; PDU会话建立接受消息;PDU session establishment accept message; PDU会话更改请求消息;PDU session change request message; PDU会话更改接受消息;PDU session change accept message; PDU会话释放请求消息;PDU session release request message; PDU会话释放接受消息。PDU Session Release Accept message. 10.一种信息处理方法,应用于终端,其特征在于,所述方法包括:10. An information processing method, applied to a terminal, wherein the method comprises: 接收第二DNS配置信息;receiving second DNS configuration information; 根据所述第二DNS配置信息,对所述终端的DNS配置进行更新;updating the DNS configuration of the terminal according to the second DNS configuration information; 设置所述DNS配置不可修改和/或将所述DNS配置设置为最高优先级。Set the DNS configuration to be unmodifiable and/or set the DNS configuration to be the highest priority. 11.根据权利要求10所述的方法,其特征在于,11. The method of claim 10, wherein: 接收第二DNS配置信息,包括:所述终端的芯片模组接收所述第二DNS配置信息;Receiving the second DNS configuration information includes: the chip module of the terminal receiving the second DNS configuration information; 设置所述DNS配置不可修改,包括:所述终端的芯片模组向所述终端的操作系统发送第二指示信息,所述第二指示信息指示所述DNS配置不可修改。Setting the DNS configuration to be unmodifiable includes: the chip module of the terminal sending second indication information to the operating system of the terminal, where the second indication information indicates that the DNS configuration is unmodifiable. 12.根据权利要求10或11所述的方法,其特征在于,在设置所述目标DNS不可修改之前,所述方法还包括:12. The method according to claim 10 or 11, wherein before setting the target DNS to be unmodifiable, the method further comprises: 接收核心网设备发送的第三指示信息,其中,所述第三指示信息指示所述第二DNS配置信息不可修改。Receive third indication information sent by the core network device, where the third indication information indicates that the second DNS configuration information cannot be modified. 13.根据权利要求12所述的方法,其特征在于,所述第三指示信息包括:非接入层NAS消息指示。The method according to claim 12, wherein the third indication information comprises: a non-access stratum NAS message indication. 14.一种信息处理方法,应用于第一网络设备,其特征在于,所述方法包括:14. An information processing method, applied to a first network device, wherein the method comprises: 获取第一信息,其中,所述第一信息包括:第一目标服务器的地址;Obtain first information, wherein the first information includes: the address of the first target server; 接收到终端的DNS查询请求,其中,所述DNS查询请求的目标地址为第二目标服务器的地址;receiving a DNS query request from the terminal, wherein the target address of the DNS query request is the address of the second target server; 在所述第二目标服务器与所述第一目标服务器不同的情况下,将所述DNS查询请求的目标地址设置为所述第一目标服务器的地址;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; 发送设置后的DNS查询请求;Send the set DNS query request; 其中,所述第一网络设备能够解析出来自终端的数据包中是否包含DNS查询请求。Wherein, the first network device can parse out whether the data packet from the terminal contains a DNS query request. 15.根据权利要求14所述的方法,其特征在于,将所述DNS查询请求的目标地址设置为所述第一目标服务器的地址,包括:15. The method according to claim 14, wherein setting the target address of the DNS query request to the address of the first target server, comprising: 将所述DNS查询请求的目标地址替换为所述第一目标服务器的地址;或者,Replace the target address of the DNS query request with the address of the first target server; or, 在所述DNS查询请求外部加一个包头,所述包头中包含的目标地址为所述第一目标服务器的地址。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. 16.根据权利要求14所述的方法,其特征在于,在发送修改后的DNS查询请求之后,所述方法还包括:16. The method according to claim 14, wherein after sending the modified DNS query request, the method further comprises: 接收到所述DNS查询请求的查询响应;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; 发送修改后的所述查询响应。The modified query response is sent. 17.根据权利要求16所述的方法,其特征在于,将所述查询响应中的源地址设置为所述第二目标服务器的地址,包括:17. The method according to claim 16, wherein setting the source address in the query response to the address of the second target server comprises: 将所述查询响应的源地址替换为所述第二目标服务器的地址;或者,Replace the source address of the query response with the address of the second target server; or, 去掉所述查询响应外部的包头,其中,所述外部的包头中包含的源地址为所述第一目标服务器的地址。The outer packet header of the query response is removed, wherein the source address included in the outer packet header is the address of the first target server. 18.根据权利要求14至17任一项所述的方法,其特征在于,在接收到终端的DNS查询请求之后,所述方法还包括:18. The method according to any one of claims 14 to 17, wherein after receiving the DNS query request of the terminal, the method further comprises: 在所述第二目标服务器与所述第一目标服务器不同的情况下,向第二网络设备发送通知消息,通知所述第二网络设备向所述终端发送DNS配置。In the case that the second target server is different from the first target server, a notification message is sent to the second network device to notify the second network device to send the DNS configuration to the terminal. 19.根据权利要求14至17任一项所述的方法,其特征在于,所述第一信息包括:所述终端的DNS配置信息和/或外部包头,其中,所述外部包头是根据为所述终端选择的所述第一目标服务器的地址生成的。19. The method according to any one of claims 14 to 17, wherein the first information comprises: DNS configuration information of the terminal and/or an external header, wherein the external header is The address of the first target server selected by the terminal is generated. 20.一种信息处理方法,应用于第二网络设备,其特征在于,所述方法包括:20. An information processing method, applied to a second network device, wherein the method comprises: 获取与终端匹配的第三目标服务器的地址信息;Obtain the address information of the third target server that matches the terminal; 根据所述第三目标服务器的地址信息,执行以下至少一项操作:Perform at least one of the following operations according to the address information of the third target server: 生成所述终端的DNS配置信息,并发送给所述终端;generating the 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; 生成所述终端的DNS配置更新周期。A DNS configuration update cycle of the terminal is generated. 21.根据权利要求20所述的方法,其特征在于,获取与终端匹配的第三目标服务器的地址信息之前,所述方法还包括以下之一:21. The method according to claim 20, wherein before acquiring the address information of the third target server matched with the terminal, the method further comprises one of the following: 获取第三指示信息,其中,所述第三指示信息指示终端的位置发生变化;acquiring third indication information, wherein the third indication information indicates that the location of the terminal has changed; 接收所述终端发送的第一指示信息,其中,所述第一指示信息指示所述终端的DNS配置被修改;receiving first indication information sent by the terminal, wherein the first indication information indicates that the DNS configuration of the terminal is modified; 接收所述第一网络设备发送的通知消息,其中,所述通知消息通知所述第二网络设备向所述终端发送DNS配置;receiving a notification message sent by the first network device, wherein the notification message notifies the second network device to send the DNS configuration to the terminal; DNS配置更新周期到达。DNS configuration update cycle arrives. 22.一种信息处理装置,其特征在于,包括:22. An information processing device, comprising: 第一接收模块,用于接收对终端的DNS配置进行修改的修改指令;a first receiving module, configured to receive a modification instruction for modifying the DNS configuration of the terminal; 第一配置模块,用于按照所述修改指令对DNS配置进行修改;a first configuration module, configured to modify the DNS configuration according to the modification instruction; 第一发送模块,用于发送第一指示信息,其中,所述第一指示信息指示所述终端的DNS配置被修改。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. 23.根据权利要求22所述的装置,其特征在于,所述DNS配置包括以下至少一项:23. The apparatus of claim 22, wherein the DNS configuration comprises at least one of the following: 中心DNS服务器的地址信息;Address information of the central DNS server; 边缘应用服务器发现功能实体EASDF的地址信息;The edge application server discovers the address information of the functional entity EASDF; 本地DNS服务器的地址信息。Address information of the local DNS server. 24.根据权利要求22所述的装置,其特征在于,24. The apparatus of claim 22, wherein 所述第一接收模块,还用于接收第一DNS配置信息;The first receiving module is further configured to receive the first DNS configuration information; 所述第一配置模块,还用于按照所述第一DNS配置信息,修改所述DNS配置。The first configuration module is further configured to modify the DNS configuration according to the first DNS configuration information. 25.根据权利要求24所述的装置,其特征在于,25. The apparatus of claim 24, wherein 所述第一发送模块发送第一指示信息,包括:向核心网设备发送所述第一指示信息;The sending, by the first sending module, the first indication information includes: sending the first indication information to a core network device; 所述第一接收模块接收第一DNS配置信息,包括:接收核心网设备发送的所述第一DNS配置信息。The first receiving module receiving the first DNS configuration information includes: receiving the first DNS configuration information sent by the core network device. 26.根据权利要求25所述的装置,其特征在于,所述第一发送模块向核心网设备发送所述第一指示信息,包括:26. The apparatus according to claim 25, wherein the first sending module sends the first indication information to the core network device, comprising: 当所述终端处在连接态时,向核心网设备发送所述第一指示信息。When the terminal is in a connected state, the first indication information is sent to the core network device. 27.根据权利要求26所述的装置,其特征在于,所述连接态包括以下至少一项:27. The device according to claim 26, wherein the connected state comprises at least one of the following: 无线资源控制RRC连接态RRC-Connected;Radio resource control RRC connected state RRC-Connected; 注册管理连接状态RM-REGISTERED;Registration management connection status RM-REGISTERED; 连接管理连接态CM-CONNECTED。Connection management connection state CM-CONNECTED. 28.根据权利要求24所述的装置,其特征在于,28. The apparatus of claim 24, wherein 所述第一发送模块发送第一指示信息,包括:向所述终端的芯片模组发送所述第一指示信息;The sending, by the first sending module, the first indication information includes: sending the first indication information to the chip module of the terminal; 所述第一接收模块接收第一DNS配置信息,包括:接收所述芯片模组发送的所述第一DNS配置信息,其中,所述第一DNS配置信息为在按照所述修改指令对DNS配置进行修改之前,从核心网设备接收的DNS配置信息。The receiving, by the first receiving module, the first DNS configuration information includes: receiving the first DNS configuration information sent by the chip module, wherein the first DNS configuration information is to configure the DNS according to the modification instruction DNS configuration information received from the core network device before modification. 29.根据权利要求22至28任一项所述的装置,其特征在于,所述第一指示信息包括以下至少一项:29. The apparatus according to any one of claims 22 to 28, wherein the first indication information comprises at least one of the following: 非接入层NAS消息指示;non-access stratum NAS message indication; 终端操作系统与芯片模组之间的消息指示。Message indication between the terminal operating system and the chip module. 30.根据权利要求29所述的装置,其特征在于,所述非接入层NAS消息指示,包括以下至少一项:30. The apparatus according to claim 29, wherein the non-access stratum NAS message indication comprises at least one of the following: 注册请求消息;registration request message; 注册完成消息;Registration complete message; 协议数据单元PDU会话建立请求消息;Protocol data unit PDU session establishment request message; PDU会话建立接受消息;PDU session establishment accept message; PDU会话更改请求消息;PDU session change request message; PDU会话更改接受消息;PDU session change accept message; PDU会话释放请求消息;PDU session release request message; PDU会话释放接受消息。PDU Session Release Accept message. 31.一种信息处理装置,其特征在于,所述装置包括:31. An information processing device, characterized in that the device comprises: 第二接收模块,用于接收第二DNS配置信息;The second receiving module is used for receiving the second DNS configuration information; 第二配置模块,用于根据所述第二DNS配置信息,对所述终端的DNS配置进行更新;A second configuration module, configured to update the DNS configuration of the terminal according to the second DNS configuration information; 第一设置模块,用于设置所述DNS配置不可修改和/或将所述DNS配置设置为最高优先级。A first setting module, configured to set the DNS configuration to be unmodifiable and/or set the DNS configuration to the highest priority. 32.根据权利要求31所述的装置,其特征在于,32. The apparatus of claim 31, wherein 所述第二接收模块接收第二DNS配置信息,包括:接收核心网设备发送的所述第二DNS配置信息;The second receiving module receiving the second DNS configuration information includes: receiving the second DNS configuration information sent by the core network device; 所述第一设置模块设置所述DNS配置不可修改,包括:向所述终端的操作系统发送第二指示信息,所述第二指示信息指示所述DNS配置不可修改。The first setting module setting the DNS configuration to be unmodifiable includes: sending second indication information to the operating system of the terminal, where the second indication information indicates that the DNS configuration is unmodifiable. 33.根据权利要求31或32所述的装置,其特征在于,所述第二接收模块,还用于接收核心网设备发送的第三指示信息,其中,所述第三指示信息指示所述第二DNS配置信息不可修改。33. The apparatus according to claim 31 or 32, wherein the second receiving module is further configured to receive third indication information sent by a core network device, wherein the third indication information indicates the Second DNS configuration information cannot be modified. 34.根据权利要求33所述的装置,其特征在于,所述第三指示信息包括:非接入层NAS消息指示。34. The apparatus according to claim 33, wherein the third indication information comprises: a non-access stratum NAS message indication. 35.一种信息处理装置,其特征在于,所述装置包括:35. An information processing device, characterized in that the device comprises: 第一获取模块,用于获取第一信息,其中,所述第一信息包括:第一目标服务器的地址;a first obtaining module, configured to obtain first information, wherein the first information includes: the address of the first target server; 第三接收模块,用于接收到终端的DNS查询请求,其中,所述DNS查询请求的目标地址为第二目标服务器的地址;The third receiving module is configured to receive the DNS query request of the terminal, wherein the target address of the DNS query request is the address of the second target server; 第二设置模块,用于在所述第二目标服务器与所述第一目标服务器不同的情况下,将所述DNS查询请求的目标地址设置为所述第一目标服务器的地址;A second setting module, configured 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; 第二发送模块,用于发送设置后的DNS查询请求;The second sending module is used to send the set DNS query request; 其中,所述信息处理装置能够解析出来自终端的数据包中是否包含DNS查询请求。Wherein, the information processing device can analyze whether the data packet from the terminal contains a DNS query request. 36.根据权利要求35所述的装置,其特征在于,所述第二设置模块将所述DNS查询请求的目标地址设置为所述第一目标服务器的地址,包括:36. The apparatus according to claim 35, wherein the second setting module sets the target address of the DNS query request to the address of the first target server, comprising: 将所述DNS查询请求的目标地址替换为所述第一目标服务器的地址;或者,Replace the target address of the DNS query request with the address of the first target server; or, 在所述DNS查询请求外部加一个包头,所述包头中包含的目标地址为所述第一目标服务器的地址。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. 37.根据权利要求36所述的装置,其特征在于,37. The apparatus of claim 36, wherein 所述第三接收模块,还用于接收到所述DNS查询请求的查询响应;The third receiving module is further configured to receive a query response of the DNS query request; 所述第二设置模块,还用于将所述查询响应中的源地址设置为所述第二目标服务器的地址;The second setting module is further configured to set the source address in the query response to the address of the second target server; 所述第二发送模块,还用于发送修改后的所述查询响应。The second sending module is further configured to send the modified query response. 38.根据权利要求37所述的装置,其特征在于,所述第二设置模块将所述查询响应中的源地址设置为所述第二目标服务器的地址,包括:38. The apparatus according to claim 37, wherein the second setting module sets the source address in the query response to the address of the second target server, comprising: 将所述查询响应的源地址替换为所述第二目标服务器的地址;或者,Replace the source address of the query response with the address of the second target server; or, 去掉所述查询响应外部的包头,其中,所述外部的包头中包含的源地址为所述第一目标服务器的地址。The outer packet header of the query response is removed, wherein the source address included in the outer packet header is the address of the first target server. 39.根据权利要求35至38任一项所述的装置,其特征在于,39. The device of any one of claims 35 to 38, wherein 所述第二发送模块,还用于在所述第二目标服务器与所述第一目标服务器不同的情况下,向第二网络设备发送通知消息,通知所述第二网络设备向所述终端发送DNS配置。The second sending module is further configured to send a notification message to a second network device when the second target server is different from the first target server, notifying the second network device to send a message to the terminal DNS configuration. 40.根据权利要求35至38任一项所述的装置,其特征在于,所述第一信息包括:所述终端的DNS配置信息和/或外部包头,其中,所述外部包头根据为所述终端选择的所述第一目标服务器的地址生成。40. The apparatus according to any one of claims 35 to 38, wherein the first information comprises: DNS configuration information of the terminal and/or an external header, wherein the external header is based on the The address of the first target server selected by the terminal is generated. 41.一种信息处理装置,其特征在于,所述装置包括:41. An information processing device, characterized in that the device comprises: 第二获取模块,获取与终端匹配的第三目标服务器的地址信息;The second obtaining module obtains the address information of the third target server matched with the terminal; 操作模块,用于根据所述第三目标服务器的地址信息,执行以下至少一项操作:An operation module, configured to perform at least one of the following operations according to the address information of the third target server: 生成所述终端的DNS配置信息,并发送给所述终端;generating the 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; 生成所述终端的DNS配置更新周期。A DNS configuration update cycle of the terminal is generated. 42.根据权利要求41所述的装置,其特征在于,所述第二获取模块,还用于在获取与终端匹配的第三目标服务器的地址信息之前,执行以下至少之一的操作:42. The device according to claim 41, wherein the second obtaining module is further configured to perform at least one of the following operations before obtaining the address information of the third target server matched with the terminal: 获取第三指示信息,其中,所述第三指示信息指示终端的位置发生变化;acquiring third indication information, wherein the third indication information indicates that the location of the terminal has changed; 接收所述终端发送的第一指示信息,其中,所述第一指示信息指示所述终端的DNS配置被修改;receiving first indication information sent by the terminal, wherein the first indication information indicates that the DNS configuration of the terminal is modified; 接收所述第一网络设备发送的通知消息,其中,所述通知消息通知所述第二网络设备向所述终端发送DNS配置;receiving a notification message sent by the first network device, wherein the notification message notifies the second network device to send the DNS configuration to the terminal; 确定DNS配置更新周期到达。Make sure the DNS configuration update cycle arrives. 43.一种终端,其特征在于,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至13任一项所述的信息处理方法的步骤。43. A terminal, characterized in that it comprises a processor, a memory, and a program or instruction stored on the memory that can be run on the processor, the program or instruction being executed by the processor to achieve: Steps of the information processing method according to any one of claims 1 to 13. 44.一种网络侧设备,其特征在于,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求14至21任一项所述的信息处理方法的步骤。44. A network side device, characterized in that it comprises a processor, a memory and a program or instruction stored on the memory and executable on the processor, when the program or instruction is executed by the processor Steps for implementing the information processing method as claimed in any one of claims 14 to 21. 45.一种可读存储介质,其特征在于,所述可读存储介质上存储程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至13任一项所述的信息处理方法,或者实现如权利要求14至21任一项所述的信息处理方法的步骤。45. A readable storage medium, wherein a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by the processor, the implementation of any one of claims 1 to 13 is implemented. An information processing method, or the steps of implementing the information processing method as claimed in any one of claims 14 to 21.
CN202110242188.0A 2021-03-04 2021-03-04 Information processing method, device, terminal and network side equipment Active CN115022866B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110242188.0A CN115022866B (en) 2021-03-04 2021-03-04 Information processing method, device, terminal and network side equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110242188.0A CN115022866B (en) 2021-03-04 2021-03-04 Information processing method, device, terminal and network side equipment

Publications (2)

Publication Number Publication Date
CN115022866A true CN115022866A (en) 2022-09-06
CN115022866B CN115022866B (en) 2024-09-27

Family

ID=83065121

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110242188.0A Active CN115022866B (en) 2021-03-04 2021-03-04 Information processing method, device, terminal and network side equipment

Country Status (1)

Country Link
CN (1) CN115022866B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102083016A (en) * 2010-12-15 2011-06-01 东莞宇龙通信科技有限公司 Information processing method and device
CN103181146A (en) * 2010-11-08 2013-06-26 瑞典爱立信有限公司 Method and apparatus for enabling dns redirection in mobile telecommunication systems
US20160205545A1 (en) * 2015-01-09 2016-07-14 Hitachi Communication Technologies America, Inc. Epc node selection using custom service types
CN106534149A (en) * 2016-11-29 2017-03-22 北京小米移动软件有限公司 DNS anti-hijacking method and device, terminal and server
WO2018112759A1 (en) * 2016-12-20 2018-06-28 华为技术有限公司 Resource access method, apparatus and system
US20180300475A1 (en) * 2017-04-14 2018-10-18 Alibaba Group Holding Limited Method, means, system, processor, and memory for intercepting malicious websites
CN110140333A (en) * 2017-09-11 2019-08-16 华为技术有限公司 A kind of method and terminal of session management
CN110545333A (en) * 2018-05-28 2019-12-06 大唐移动通信设备有限公司 message processing method and device and network system
US20200329008A1 (en) * 2019-04-12 2020-10-15 Huawei Technologies Co., Ltd. System, apparatus and method to support data server selection
CN112291381A (en) * 2017-11-13 2021-01-29 华为技术有限公司 Application server switching method, device and system
CN112422701A (en) * 2019-08-20 2021-02-26 华为技术有限公司 Domain name system query method and communication device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103181146A (en) * 2010-11-08 2013-06-26 瑞典爱立信有限公司 Method and apparatus for enabling dns redirection in mobile telecommunication systems
CN102083016A (en) * 2010-12-15 2011-06-01 东莞宇龙通信科技有限公司 Information processing method and device
US20160205545A1 (en) * 2015-01-09 2016-07-14 Hitachi Communication Technologies America, Inc. Epc node selection using custom service types
CN106534149A (en) * 2016-11-29 2017-03-22 北京小米移动软件有限公司 DNS anti-hijacking method and device, terminal and server
WO2018112759A1 (en) * 2016-12-20 2018-06-28 华为技术有限公司 Resource access method, apparatus and system
US20180300475A1 (en) * 2017-04-14 2018-10-18 Alibaba Group Holding Limited Method, means, system, processor, and memory for intercepting malicious websites
CN110140333A (en) * 2017-09-11 2019-08-16 华为技术有限公司 A kind of method and terminal of session management
CN112291381A (en) * 2017-11-13 2021-01-29 华为技术有限公司 Application server switching method, device and system
CN110545333A (en) * 2018-05-28 2019-12-06 大唐移动通信设备有限公司 message processing method and device and network system
US20200329008A1 (en) * 2019-04-12 2020-10-15 Huawei Technologies Co., Ltd. System, apparatus and method to support data server selection
CN112422701A (en) * 2019-08-20 2021-02-26 华为技术有限公司 Domain name system query method and communication device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李海灵;王伟;毛伟;: "基于可信域名的网络钓鱼治理机制研究", 计算机系统应用, no. 10, 15 October 2010 (2010-10-15) *
郭润 , 王振兴 , 敦亚南: "交换式以太网中的ARP与DNS欺骗技术分析", 微计算机信息, no. 20, 15 August 2006 (2006-08-15) *

Also Published As

Publication number Publication date
CN115022866B (en) 2024-09-27

Similar Documents

Publication Publication Date Title
CN110337122B (en) Cell measurement control method, device, terminal and storage medium
WO2022095850A1 (en) Method and apparatus for establishing policy association, and terminal and network-side device
CN114650581B (en) Relay communication method and device
CN115914981A (en) Assisted sensing method, device, network side equipment and terminal
CN115209492B (en) Communication processing method, device and related equipment
WO2022206663A1 (en) Pdu session establishment method, related device and readable storage medium
CN116419197A (en) Communication method, device and terminal
CN114760679B (en) Discontinuous reception DRX configuration switching method, device and terminal
WO2019024108A1 (en) Communication method, network device, and terminal device
CN114258102A (en) Method, device, terminal device and network device for transmitting service data
CN115209521B (en) Message processing methods, devices, equipment and storage media
CN115150357B (en) Information processing method, device, terminal and network side equipment
CN115022866B (en) Information processing method, device, terminal and network side equipment
CN115314173B (en) Resource pool configuration method, device, terminal and network side equipment
WO2022068903A1 (en) Network selection method and apparatus, information transmission method and apparatus, and information acquisition method and apparatus
WO2022022712A1 (en) Information transmission method and apparatus, multi-card terminal, and readable storage medium
WO2023005898A1 (en) Multi-terminal joint session management method, network side device and terminal
CN116939759A (en) Routing processing method, terminal and network side equipment
CN114828293A (en) Connection maintaining method and device and electronic equipment
US11026132B2 (en) Communication method, core network device, access network device, terminal device, and communication system
CN115396487B (en) Processing method and device for server address
WO2022068902A1 (en) Method and apparatus for terminal to access network, device and readable storage medium
CN114698052B (en) Network changing method, device and terminal
CN115209448A (en) Terminal registration method, terminal and network side equipment
CN116074383A (en) Method for sending DNS message, terminal and network side equipment

Legal Events

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