Dns information processing method and address overlap processing method and device, and communication device

By including the DNN and DNS processing rule ID in the DNS query information, the problem of resolving and forwarding DNS query information in the case of overlapping IP addresses is solved, ensuring the correct resolution and forwarding of DNS query information and avoiding address conflicts.

CN119484475BActive Publication Date: 2026-03-24CHINA MOBILE COMM LTD RES INST +1
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-11
Publication Date
2026-03-24

AI Technical Summary

Technical Problem

In roaming scenarios, when multiple data network names use the same IP range, multiple terminals may use the same IP address, causing DNS query information to fail to match the correct DNS processing rules, thus preventing correct resolution and forwarding.

Method used

By including secondary information in the DNS query information, the target DNS processing rule is matched using the DNN and DNS processing rule ID. When addresses overlap, a new UE address is assigned to the terminal to perform the PDU session modification process, ensuring that UE addresses do not overlap, thereby matching the correct DNS processing rule.

Benefits of technology

It ensures the correct resolution and forwarding of DNS query information, avoids address conflicts, and guarantees that DNS query information can accurately match the target DNS processing rules.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119484475B_ABST
    Figure CN119484475B_ABST
Patent Text Reader

Abstract

The application discloses a DNS information processing method and address overlap processing method and device, communication equipment and storage medium. The method comprises the following steps: a second network function adds second information in third information based on first information, and sends the second information to a third network function; the third network function determines a target DNS processing rule corresponding to the second information based on at least one second DNS processing rule, and sends DNS query information to a target DNS server based on the target DNS processing rule. The method further comprises the following steps: a first network function sends or reports fifth information to a fourth network function based on received fourth information, and the fifth information is used for indicating that address overlap occurs, triggering the fourth network function to allocate a new UE address for a terminal and performing a PDU session modification process.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of communication, and particularly relates to a DNS information processing method and address overlap processing method and device, communication equipment and storage medium. BACKGROUND

[0002] In a roaming scenario, for some low-latency services, a terminal also has an edge computing access demand in a visited place. When the terminal performs edge computing access in the visited place, the terminal sends domain name system (DNS) query information, and a visit-edge application server discovery function (V-EASDF) receives the DNS query information, performs matching on DNS handling rules according to an IP address of the terminal carried in the DNS query information, and then performs parsing and forwarding on the DNS query information according to the matched DNS handling rules. However, when multiple data network names (DNNs) use the same IP range, a situation in which multiple terminals use the same IP address may occur. In this case, the DNS query information of multiple terminals may have the same source address and destination address, the source address being the IP address of the terminal and the destination address being the IP address of the V-EASDF, which will cause the V-EASDF to be unable to match the DNS query information of the terminal to correct DNS handling rules, and further cause the DNS query information to be unable to be correctly parsed and forwarded. SUMMARY

[0003] To solve the above technical problem, the embodiments of the present application provide a DNS information processing method and address overlap processing method, device, communication equipment, chip and computer readable storage medium.

[0004] The DNS information processing method provided by the embodiments of the present application comprises the following steps.

[0005] The first network function sends first information to the second network function, the first information being used to indicate that DNS query information of a first protocol data unit (PDU) session needs to carry second information, and the second information being used to determine a target DNS handling rule.

[0006] The DNS information processing method provided by the embodiments of the present application comprises the following steps.

[0007] The second network function receives third information sent by a terminal.

[0008] The second network function adds second information in the third information based on the first information, and sends to a third network function; wherein the second information is used for the third network function to determine a target DNS processing rule.

[0009] The DNS information processing method provided by the embodiment of the present application comprises:

[0010] The third network function receives DNS query information carrying second information sent by the second network function;

[0011] The third network function determines a target DNS processing rule corresponding to the second information based on at least one second DNS processing rule, and sends the DNS query information to a target DNS server based on the target DNS processing rule.

[0012] The address overlap processing method provided by the embodiment of the present application comprises:

[0013] The first network function sends or reports fifth information to the fourth network function based on the received fourth information, wherein the fifth information is used to indicate that address overlap occurs, and trigger the fourth network function to allocate a new UE address for the terminal and perform a PDU session modification process.

[0014] The address overlap processing method provided by the embodiment of the present application comprises:

[0015] The second network function receives sixth information sent by the first network function, wherein the sixth information is used to configure the second network function to perform a first operation; wherein the first operation comprises: the second network function detects address overlap, and / or the second network function detects that DNS query information from different PDU sessions has the same source address.

[0016] The DNS information processing device provided by the embodiment of the present application is applied to a first network function, and the device comprises:

[0017] A sending unit is configured to send first information to a second network function, wherein the first information is used to indicate that DNS query information of a first protocol data unit (PDU) session needs to carry second information, and the second information is used to determine a target DNS processing rule.

[0018] The DNS information processing device provided by the embodiment of the present application is applied to a second network function, and the device comprises:

[0019] A receiving unit is configured to receive third information sent by a terminal;

[0020] A processing unit is configured to add second information in the third information based on the first information;

[0021] The sending unit is configured to send the third information with the added second information to a third network function, wherein the second information is used by the third network function to determine a target DNS processing rule.

[0022] The DNS information processing apparatus provided by the embodiments of the present application is applied to a third network function, and the apparatus comprises:

[0023] The receiving unit is configured to receive DNS query information carrying second information sent by a second network function.

[0024] The processing unit is configured to determine a target DNS processing rule corresponding to the second information based on at least one second DNS processing rule.

[0025] The sending unit is configured to send the DNS query information to a target DNS server based on the target DNS processing rule.

[0026] The address overlap processing apparatus provided by the embodiments of the present application is applied to a first network function, and the apparatus comprises:

[0027] The sending unit is configured to send or report fifth information to a fourth network function based on the received fourth information, wherein the fifth information is used to indicate that address overlap occurs, and trigger the fourth network function to allocate a new UE address for a terminal and perform a PDU session modification process.

[0028] The address overlap processing apparatus provided by the embodiments of the present application is applied to a second network function, and the apparatus comprises:

[0029] The receiving unit is configured to receive sixth information sent by a first network function, wherein the sixth information is used to configure the second network function to perform a first operation, and the first operation comprises: the second network function detects address overlap, and / or the second network function detects that DNS query information from different PDU sessions has the same source address.

[0030] The communication device provided by the embodiments of the present application comprises a processor and a memory, the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to perform any one of the DNS information processing methods.

[0031] The chip provided by the embodiments of the present application comprises a processor, which is used to call and run a computer program from a memory, so that a device installed with the chip performs any one of the DNS information processing methods.

[0032] The computer readable storage medium provided by the embodiments of the present application is used to store a computer program, and the computer program makes a computer perform any one of the methods.

[0033] The technical scheme of the embodiment of the present application, on the one hand, introduces a new mechanism to carry the second information in the DNS query information, and the second information can be used to match the DNS query information to the correct target DNS processing rule, so as to ensure that the DNS query information can be correctly parsed and forwarded. On the other hand, by introducing a new mechanism, when address overlap occurs, a new UE address can be allocated to the terminal and the PDU session modification process is performed, so as to ensure that the UE address of the terminal is not overlapped, and through the non-overlapped UE address, the DNS query information can be matched to the correct target DNS processing rule, so as to ensure that the DNS query information can be correctly parsed and forwarded. BRIEF DESCRIPTION OF DRAWINGS

[0034] Figure 1 is a flow diagram of the DNS information processing method provided by the embodiment of the present application Figure One ;

[0035] Figure 2 is a flow diagram of the DNS information processing method provided by the embodiment of the present application Figure Two ;

[0036] Figure 3 is a flow diagram of the DNS information processing method provided by the embodiment of the present application Figure Three ;

[0037] Figure 4 is a flow diagram of the DNS information processing method provided by the embodiment of the present application Figure Four ;

[0038] Figure 5 is a flow diagram of the DNS information processing method provided by the embodiment of the present application Figure Five ;

[0039] Figure 6 is a flow diagram of the address overlap processing method provided by the embodiment of the present application Figure One ;

[0040] Figure 7 is a flow diagram of the address overlap processing method provided by the embodiment of the present application Figure Two ;

[0041] Figure 8 is a structural composition diagram of the DNS information processing device provided by the embodiment of the present application Figure One ;

[0042] Figure 9 is a structural composition diagram of the DNS information processing device provided by the embodiment of the present application Figure Two ;

[0043] Figure 10This is a schematic diagram of the structure of the DNS information processing device provided in the embodiments of this application. Figure Three ;

[0044] Figure 11 This is a schematic diagram of the structural composition of the address overlap processing device provided in the embodiments of this application. Figure One ;

[0045] Figure 12 This is a schematic diagram of the structural composition of the address overlap processing device provided in the embodiments of this application. Figure Two ;

[0046] Figure 13 This is a schematic structural diagram of a communication device provided in an embodiment of this application;

[0047] Figure 14 This is a schematic structural diagram of the chip according to an embodiment of this application. Detailed Implementation

[0048] The technical solutions of the embodiments of this application will now be described with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0049] It should be noted that the terms "system" and "network" are often used interchangeably in this document. The term "and / or" in this document merely describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship. It should also be understood that "instruction" mentioned in the embodiments of this application can be a direct instruction, an indirect instruction, or an indication of a related relationship. For example, A instructing B can mean that A directly instructs B, for example, B can be obtained through A; it can also mean that A indirectly instructs B, for example, A instructs C, B can be obtained through C; or it can mean that there is a related relationship between A and B. It should also be understood that "correspondence" mentioned in the embodiments of this application can mean that there is a direct or indirect correspondence between two things, or it can mean that there is a related relationship between two things.

[0050] The technical solutions of this application embodiment can be applied to 5G networks, but are not limited to them. They can also be applied to other types of networks, such as 6G networks and future communication networks. It should be noted that most of the examples in this application embodiment are based on 5G networks, but are not limited to them. In other types of networks, the network function names in the 5G network can be replaced with the network function names in other types of networks according to their functions.

[0051] In 5G networks, besides terminals (i.e., User Equipment (UE)), the network functions involved include: Radio Access Network (RAN), User Plane Function (UPF), Data Network (DN), Access and Mobility Management Function (AMF), Session Management Function (SMF), Policy Control Function (PCF), Application Function (AF), Authentication Server Function (AUSF), and Unified Data Management (UDM). As 5G networks evolve or transform, other network functions may also be included, and the names of these network functions may also vary.

[0052] The technical solution of this application embodiment proposes a method for DNS information processing in roaming scenarios. In roaming scenarios, the name of the network function of the home location can be denoted as H-network function, where H represents home, such as H-UPF, H-SMF, H-PCF, etc.; the name of the network function of the visited location can be denoted as V-network function, where V represents visit, such as V-UPF, V-SMF, etc.

[0053] To facilitate understanding of the technical solutions in the embodiments of this application, the first network function, the second network function, the third network function, and the fourth network function involved in the embodiments of this application will be described below.

[0054] In some implementations, the first network function is V-SMF.

[0055] In some implementations, the second network function is V-UPF.

[0056] In some implementations, the third network function is V-EASDF.

[0057] In some implementations, the fourth network function is H-SMF.

[0058] Figure 1 This is a flowchart illustrating the DNS information processing method provided in the embodiments of this application. Figure One This method is applied to the first network function side; such as Figure 1 As shown, the method includes:

[0059] Step 101: The first network function sends first information to the second network function. The first information is used to indicate that the DNS query information of the first PDU session needs to carry second information, which is used to determine the target DNS processing rules.

[0060] In one example, the V-SMF sends a first message to the V-UPF, which indicates that the DNS query information for the first PDU session needs to carry a second message.

[0061] In some implementations, the first information may be N4 session establishment request information, which carries N4 rules, including Packet Data Rule (PDR) and / or Forward Rule (FAR). The N4 rule, PDR, or FAR carries an indication that the DNS query information for the first PDU session needs to carry the second information.

[0062] In some implementations, the second information mentioned above includes a DNS processing network (DNN) used to determine the target DNS processing rules.

[0063] Here, each DNS processing rule contains a DNN, through which the corresponding target DNS processing rule can be matched.

[0064] In some implementations, the second information includes a DNS processing rule ID, which is used to determine the target DNS processing rule.

[0065] Here, each DNS processing rule contains a DNS processing rule ID, which can be used to match the corresponding target DNS processing rule.

[0066] In some implementations, the second information includes a DNN and a DNS processing rule ID, which are used to determine the target DNS processing rule.

[0067] Here, each DNS processing rule contains a DNN and a DNS processing rule ID. The corresponding target DNS processing rule can be matched using the DNN and the DNS processing rule ID.

[0068] In some implementations, the method further includes the following steps:

[0069] Step 102: The first network function adds the second information to at least one first DNS processing rule and sends the resulting at least one second DNS processing rule to the third network function; wherein the target DNS processing rule is one of the at least one second DNS processing rule.

[0070] In some implementations, prior to step 102, the method further includes the step of: a first network function receiving at least one first DNS processing rule sent by a fourth network function.

[0071] In one example, V-SMF receives at least one first DNS processing rule from H-SMF. V-SMF adds second information to the at least one first DNS processing rule to obtain at least one second DNS processing rule. It can be understood that the second DNS processing rule, relative to the first DNS processing rule, includes the added second information. V-SMF then sends the at least one second DNS processing rule to V-EASDF. In one implementation, the second information includes a DNS processing rule ID. In yet another implementation, the second information includes both the DNS processing rule ID and the DNS processing rule ID.

[0072] Figure 2 This is a flowchart illustrating the DNS information processing method provided in the embodiments of this application. Figure Two This method is applied to the second network function side; such as Figure 2 As shown, the method includes:

[0073] Step 201: The second network function receives the third information sent by the terminal.

[0074] In one example, the V-UPF receives third information sent by the receiving terminal.

[0075] In some implementations, the aforementioned third information may be DNS query information, also known as a DNS request. The DNS query information carries a first domain name and is used to request the first IP address corresponding to that first domain name.

[0076] Step 202: The second network function adds second information to the third information based on the first information and sends it to the third network function; wherein, the second information is used by the third network function to determine the target DNS processing rules.

[0077] In some implementations, prior to step 202, the method further includes the following step: the second network function receives first information sent by the first network function, the first information being used to indicate that the DNS query information of the first PDU session needs to carry second information.

[0078] In one example, V-UPF receives a first message from V-SMF, which indicates that the DNS query information for the first PDU session needs to include a second message. After receiving a third message from the terminal, V-UPF adds the second message to the third message based on the first message and sends it to V-EASDF.

[0079] In some implementations, the first information may be N4 session establishment request information, which carries N4 rules, including Packet Data Rule (PDR) and / or Forward Rule (FAR). The N4 rule, PDR, or FAR carries an indication that the DNS query information for the first PDU session needs to carry the second information.

[0080] In some implementations, the second information mentioned above includes a DNS processing network (DNN) used to determine the target DNS processing rules.

[0081] Here, each DNS processing rule contains a DNN, through which the corresponding target DNS processing rule can be matched.

[0082] In some implementations, the second information includes a DNS processing rule ID, which is used to determine the target DNS processing rule.

[0083] Here, each DNS processing rule contains a DNS processing rule ID, which can be used to match the corresponding target DNS processing rule.

[0084] In some implementations, the second information includes a DNN and a DNS processing rule ID, which are used to determine the target DNS processing rule.

[0085] Here, each DNS processing rule contains a DNN and a DNS processing rule ID. The corresponding target DNS processing rule can be matched using the DNN and the DNS processing rule ID.

[0086] In some implementations, the second network function adds second information to the third information based on the first information in the above scheme, which can be achieved through the following mechanism:

[0087] The second network function determines the PDU session associated with the third information and confirms whether the PDU session is the first PDU session indicated in the first information; if it is the first PDU session indicated in the first information, it checks whether the third information is DNS query information; if it is DNS query information, it adds the second information indicated in the first information to the third information.

[0088] In one example, after receiving the third information, V-UPF determines the PDU session associated with the third information based on the tunnel ID of the third information; V-UPF confirms whether the PDU session associated with the third information is the first PDU session indicated in the first information; if it is the first PDU session indicated in the first information, V-UPF further detects whether the third information is DNS query information (the type of the third information can be determined by the packet header of the third information, thereby determining whether the third information is DNS query information); if the third information is DNS query information, V-UPF adds the second information indicated by the first information to the third information.

[0089] In some implementations, the second network function can add second information to the IP packet header of the third information. In other implementations, the second network function can add second information to the EDNSClient Subnet (ECSN) field of the third information; specifically, it can add second information in the ECS option of the third information.

[0090] Figure 3 This is a flowchart illustrating the DNS information processing method provided in the embodiments of this application. Figure Three This method is applied to the third network function side; such as Figure 3 As shown, the method includes:

[0091] Step 301: The third network function receives the DNS query information carrying the second information sent by the second network function.

[0092] In one example, V-EASDF receives DNS query information carrying second information sent by V-UPF.

[0093] In some implementations, the second information mentioned above includes a DNS processing network (DNN) used to determine the target DNS processing rules.

[0094] In some implementations, the second information includes a DNS processing rule ID, which is used to determine the target DNS processing rule.

[0095] In some implementations, the second information includes a DNN and a DNS processing rule ID, which are used to determine the target DNS processing rule.

[0096] Step 302: The third network function determines the target DNS processing rule corresponding to the second information based on at least one second DNS processing rule.

[0097] In some implementations, prior to step 302, the method further includes the step of: a third network function receiving at least one second DNS processing rule sent by a first network function.

[0098] In one example, V-EASDF receives at least one second DNS processing rule sent by V-SMF; V-EASDF determines the target DNS processing rule corresponding to the second information carried in the DNS query information based on at least one second DNS processing rule.

[0099] Here, at least one second DNS processing rule is obtained by adding second information to at least one first DNS processing rule by V-SMF. It can be understood that the second DNS processing rule adds second information relative to the first DNS processing rule.

[0100] In one example, the second information includes a DNN, and each second DNS processing rule contains a DNN, through which the corresponding target DNS processing rule can be matched from at least one second DNS processing rule.

[0101] In one example, the second information includes a DNS processing rule ID. Each second DNS processing rule contains a DNS processing rule ID, which allows the corresponding target DNS processing rule to be matched from at least one second DNS processing rule.

[0102] In one example, the second information includes a DNN and a DNS processing rule ID. Each second DNS processing rule contains a DNN and a DNS processing rule ID, and the corresponding target DNS processing rule can be matched from at least one second DNS processing rule using the DNN and the DNS processing rule ID.

[0103] Step 303: The third network function sends the DNS query information to the target DNS server based on the target DNS processing rules.

[0104] In one example, V-EASDF sends DNS query information to the target DNS server based on the target DNS processing rules.

[0105] In some implementations, the method further includes the following steps:

[0106] Step 304: The third network function receives DNS response information sent by the target DNS server, which contains a first IP address that corresponds to the first domain name in the DNS query information; and sends the DNS response information to the terminal.

[0107] In one example, V-EASDF receives DNS response information from the target DNS server and then sends that DNS response information to the terminal.

[0108] In some implementations, the third network function sends DNS response information to the terminal through the following mechanism: the third network function sends DNS response information to the terminal based on the second information and / or the terminal's IP address.

[0109] Figure 4 This is a flowchart illustrating the DNS information processing method provided in the embodiments of this application. Figure Four ,like Figure 4 As shown, the method includes:

[0110] Step 401: The V-SMF sends a first message to the V-UPF, which indicates that the DNS query information for the first PDU session needs to carry the DNN.

[0111] Step 402: V-SMF sends at least one second DNS processing rule to V-EASDF, each second DNS processing rule containing a DNN.

[0112] Step 403: The terminal sends third information to V-UPF.

[0113] Step 404: After receiving the third information, V-UPF confirms whether the PDU session associated with the third information is the first PDU session indicated in the first information; if it is the first PDU session indicated in the first information, it further detects whether the third information is DNS query information; if the third information is DNS query information, it adds the DNN indicated in the first information to the third information to obtain DNS query information carrying the DNN.

[0114] Step 405: V-UPF sends the DNS query information carrying the DNN to V-EASDF.

[0115] Step 406: V-EASDF matches the corresponding target DNS processing rule in at least one second DNS processing rule based on the DNN carried in the DNS query information.

[0116] Step 407: V-EASDF sends the DNS query information to the target DNS server based on the target DNS processing rules.

[0117] Step 408: The target DNS server sends a DNS response message to V-EASDF.

[0118] Step 409: V-EASDF sends DNS response information to the terminal based on the DNN and / or the terminal's IP address.

[0119] The technical solutions of the embodiments of this application will be illustrated below with specific application examples.

[0120] Figure 5 This is a flowchart illustrating the DNS information processing method provided in the embodiments of this application. Figure Five ,like Figure 5 As shown, the method includes:

[0121] Step 501: The UE registers with the network.

[0122] Step 502: The UE establishes a PDU session with the network.

[0123] Step 503: The V-SMF sends an N4 session establishment request to the V-UPF. This request carries an indication that the DNS query information for the first PDU session needs to include a DNN.

[0124] Step 504: V-UPF sends an N4 session establishment response message to V-SMF.

[0125] Step 505: V-SMF creates a DNS context and sends at least one second DNS processing rule to V-EASDF.

[0126] Here, each second DNS processing rule carries a DNN.

[0127] Step 506: The UE sends a DNS query request to the V-UPF.

[0128] Step 507: V-UPF confirms that the PDU session associated with the DNS query request information is the first PDU session indicated in step 503, further detects that the DNS query request information is a DNS query request information, and adds the DNN indicated in step 503 to the DNS query request information. Figure 5 This step is referred to as DNS processing in Chinese.

[0129] Step 508: V-UPF sends the DNS query request information with DNN added to V-EASDF.

[0130] Step 509: V-EASDF matches the corresponding target DNS processing rule in at least one second DNS processing rule based on the DNN in the DNS query request information, and forwards the DNS query request information to the DNS server based on the target DNS processing rule.

[0131] Step 510: V-SMF performs the Uplink Streaming Collapse (ULCL) insertion procedure.

[0132] Step 511: The DNS server returns DNS response information to V-EASDF, and V-EASDF sends the DNS response information to the UE based on the DNN and the UE's IP address.

[0133] When multiple DNS lookups use the same IP range, multiple terminals may use the same IP address. In this case, the DNS query information of the terminals carries the same source address (i.e., UE address) and destination address (i.e., V-EASDF address). The technical solution described in this application adds a DNS lookup information to the DNS query information, enabling the DNS query information to match the correct target DNS processing rule and ensuring correct resolution and forwarding. However, DNS response information may also carry the same source and destination addresses, necessitating the resolution of this address conflict. Therefore, the following technical solution from this application is proposed.

[0134] It should be noted that the "address overlap" described in the embodiments of this application can also be replaced with "address conflict". Address overlap refers to the overlap of the IP addresses of the terminal (also known as UE address or UE IP address).

[0135] Figure 6 This is a flowchart illustrating the address overlap handling method provided in the embodiments of this application. Figure One ,like Figure 6 As shown, the method includes:

[0136] Step 601: Based on the received fourth information, the first network function sends or reports fifth information to the fourth network function. The fifth information is used to indicate that address overlap has occurred, triggering the fourth network function to allocate a new UE address to the terminal and perform a PDU session modification procedure.

[0137] In one example, the V-SMF sends or reports a fifth message to the H-SMF based on the received fourth message. This fifth message indicates that address overlap has occurred, triggering the H-SMF to allocate a new UE address to the terminal and perform a PDU session modification procedure.

[0138] In some implementations, prior to step 601, the method further includes the following steps: a first network function sends sixth information to a second network function, and correspondingly, the second network function receives the sixth information sent by the first network function, the sixth information being used to configure the second network function to perform a first operation. Here, the first operation includes: the second network function detecting address overlap, and / or, the second network function detecting that DNS query information from different PDU sessions has the same source address.

[0139] In one example, the V-SMF sends a sixth message to the V-UPF, which is used to configure a second network function to perform a first operation, the first operation including: the V-UPF detecting address overlap, and / or, the V-UPF detecting that DNS query information from different PDU sessions has the same source address.

[0140] In some implementations, the method further includes the step of sending a fourth message to the first network function when the second network function detects address overlap and / or detects that DNS query information from different PDU sessions has the same source address.

[0141] In one example, when V-UPF detects address overlap and / or detects that DNS query information from different PDU sessions has the same source address, it sends a fourth message to V-SMF.

[0142] In some implementations, the fourth information includes at least one of the following: first indication information, PDU session ID, and source address, wherein the first indication information is used to indicate that address overlap has occurred.

[0143] In some implementations, the fifth information mentioned above includes at least one of the following: second indication information, PDU session ID, source address, the second indication information being used to indicate that address overlap has occurred, and / or, indicating that the fourth network function allocates a new UE address and performs a PDU session modification procedure.

[0144] The technical solution of this application embodiment proposes a first network function (such as V-SMF) configuring a second network function (such as V-UPF) to detect address overlap events where DNS query information from different PDU sessions has the same source address. If the second network function (such as V-UPF) detects different DNS query information from different PDU sessions but with the same source address, the second network function (such as V-UPF) will report this situation to the first network function (such as V-SMF). The first network function (such as V-SMF) will report the PDU session ID to the fourth network function (H-SMF) and indicate UE IP address overlap, triggering the fourth network function (H-SMF) to allocate a new UE IP address and modify the PDU session. In this way, address conflicts caused by cross-DNN or roaming can be avoided.

[0145] Figure 7 This is a flowchart illustrating the address overlap handling method provided in the embodiments of this application. Figure Two ,like Figure 7 As shown, the method includes:

[0146] Step 700: V-SMF configures V-UPF to detect address overlap events where DNS query information from different PDU sessions has the same source address (referred to as: address conflict detection configuration in the figure).

[0147] Step 701: After receiving the DNS query information, V-UPF performs address conflict detection. It checks whether the received DNS query information and the stored information contain DNS query information from different PDU sessions with the same source address.

[0148] Step 702: If V-UPF detects an address conflict, it sends an address conflict message to V-SMF. This message includes a first indication message, a PDU session ID, and a source address. The first indication message is used to indicate that address overlap has occurred.

[0149] Step 703: The V-SMF sends address conflict allocation information to the H-SMF. This information includes: second indication information, PDU session ID, and source address. The second indication information is used to instruct the H-SMF to handle address overlap and / or allocate a new UE IP address and perform a PDU session modification procedure.

[0150] Step 704: H-SMF performs address reallocation, that is, assigns a new UE IP address.

[0151] Step 705: H-SMF modifies the PDU session using the newly assigned UE IP address.

[0152] Figure 8 This is a schematic diagram of the structure of the DNS information processing device provided in the embodiments of this application.Figure One Applied to the first network function, such as Figure 8 As shown, the DNS information processing device includes:

[0153] The sending unit 801 is used to send first information to the second network function. The first information is used to indicate that the DNS query information of the first protocol data unit (PDU) session needs to carry second information. The second information is used to determine the target DNS processing rule.

[0154] In some embodiments, the apparatus further includes a processing unit 802, configured to add the second information to at least one first DNS processing rule;

[0155] The sending unit 801 is further configured to send at least one obtained second DNS processing rule to a third network function; wherein the target DNS processing rule is one of the at least one second DNS processing rule.

[0156] In some embodiments, the apparatus further includes a receiving unit 803 for receiving the at least one first DNS processing rule sent by a fourth network function.

[0157] In some implementations, the fourth network function is H-SMF.

[0158] In some implementations, the third network function is V-EASDF.

[0159] In some implementations, the first network function is V-SMF and the second network function is V-UPF.

[0160] In some implementations, the second information includes a DNN.

[0161] Those skilled in the art should understand that Figure 8 The functions of each unit in the DNS information processing device shown can be understood by referring to the relevant description of the aforementioned method. Figure 8 The functions of each unit in the DNS information processing device shown can be implemented by a program running on a processor or by specific logic circuits.

[0162] Figure 9 This is a schematic diagram of the structure of the DNS information processing device provided in the embodiments of this application. Figure Two It is used in the second network function, such as Figure 9 As shown, the DNS information processing device includes:

[0163] The receiving unit 901 is used to receive third information sent by the terminal;

[0164] Processing unit 902 is used to add second information to the third information based on the first information;

[0165] The sending unit 903 is used to send the third information, to which the second information is added, to a third network function; wherein the second information is used by the third network function to determine the target DNS processing rule.

[0166] In some embodiments, the receiving unit 901 is further configured to receive the first information sent by the first network function, wherein the first information is used to indicate that the DNS query information of the first PDU session needs to carry the second information.

[0167] In some implementations, the processing unit 902 is specifically configured to determine the PDU session associated with the third information and confirm whether the PDU session is the first PDU session indicated in the first information; if it is the first PDU session indicated in the first information, then detect whether the third information is DNS query information; if it is DNS query information, then add the second information indicated by the first information to the third information.

[0168] In some implementations, the first network function is V-SMF.

[0169] In some implementations, the processing unit 902 is specifically used to add second information to the IP packet header of the third information; or, to add second information to the ECSN field of the third information.

[0170] In some implementations, the second network function is V-UPF, and the third network function is V-EASDF.

[0171] In some implementations, the second information includes a DNN.

[0172] Those skilled in the art should understand that Figure 9 The functions of each unit in the DNS information processing device shown can be understood by referring to the relevant description of the aforementioned method. Figure 9 The functions of each unit in the DNS information processing device shown can be implemented by a program running on a processor or by specific logic circuits.

[0173] Figure 10 This is a schematic diagram of the structure of the DNS information processing device provided in the embodiments of this application. Figure Three Applications to third-party network functions, such as Figure 10 As shown, the DNS information processing device includes:

[0174] The receiving unit 1001 is used to receive DNS query information carrying second information sent by the second network function;

[0175] Processing unit 1002 is configured to determine the target DNS processing rule corresponding to the second information based on at least one second DNS processing rule;

[0176] The sending unit 1003 is used to send the DNS query information to the target DNS server based on the target DNS processing rules.

[0177] In some embodiments, the receiving unit 1001 is further configured to receive the at least one second DNS processing rule sent by the first network function.

[0178] In some implementations, the first network function is V-SMF.

[0179] In some embodiments, the receiving unit 1001 is further configured to receive DNS response information sent by the target DNS server, the DNS response information including a first IP address, the first IP address corresponding to a first domain name in the DNS query information;

[0180] The sending unit 1003 is also used to send the DNS response information to the terminal.

[0181] In some embodiments, the sending unit 1003 is specifically used to send the DNS response information to the terminal based on the second information and / or the IP address of the terminal.

[0182] In some implementations, the third network function is V-EASDF, and the second network function is V-UPF.

[0183] In some implementations, the second information includes a DNN.

[0184] Those skilled in the art should understand that Figure 10 The functions of each unit in the DNS information processing device shown can be understood by referring to the relevant description of the aforementioned method. Figure 10 The functions of each unit in the DNS information processing device shown can be implemented by a program running on a processor or by specific logic circuits.

[0185] Figure 11 This is a schematic diagram of the structural composition of the address overlap processing device provided in the embodiments of this application. Figure One Applied to the first network function, such as Figure 11 As shown, the address overlap processing device includes:

[0186] The sending unit 1101 is used to send or report fifth information to the fourth network function based on the received fourth information. The fifth information is used to indicate that address overlap has occurred, triggering the fourth network function to allocate a new UE address to the terminal and perform a PDU session modification process.

[0187] In some embodiments, the sending unit 1101 is further configured to send sixth information to the second network function, the sixth information being used to configure the second network function to perform the first operation.

[0188] In some implementations, the first operation includes: the second network function detecting address overlap, and / or the second network function detecting that DNS query information from different PDU sessions has the same source address.

[0189] In some implementations, the fourth information includes at least one of the following: first indication information, PDU session ID, and source address, wherein the first indication information is used to indicate that address overlap has occurred.

[0190] In some implementations, the fifth information includes at least one of the following: second indication information, PDU session ID, source address, the second indication information being used to indicate address overlap, and / or to indicate that the fourth network function allocates a new UE address and performs a PDU session modification procedure.

[0191] In some implementations, the second network function is V-UPF.

[0192] In some implementations, the first network function is V-SMF, and the fourth network function is H-SMF.

[0193] Those skilled in the art should understand that Figure 11 The functions of each unit in the address overlap processing device shown can be understood by referring to the relevant description of the aforementioned method. Figure 11 The functions of each unit in the address overlap processing device shown can be implemented by a program running on a processor or by specific logic circuits.

[0194] Figure 12 This is a schematic diagram of the structural composition of the address overlap processing device provided in the embodiments of this application. Figure Two ,like Figure 12 As shown, the address overlap processing device includes:

[0195] The receiving unit 1201 is configured to receive sixth information sent by the first network function, the sixth information being used to configure the second network function to perform a first operation; wherein the first operation includes: the second network function detecting address overlap, and / or, the second network function detecting that DNS query information from different PDU sessions has the same source address.

[0196] In some embodiments, the apparatus further includes:

[0197] The detection unit 1202 is used to detect address overlap and / or detect that DNS query information from different PDU sessions has the same source address;

[0198] The sending unit 1202 is configured to send fourth information to the first network function when address overlap is detected and / or DNS query information from different PDU sessions is detected to have the same source address.

[0199] In some implementations, the fourth information includes at least one of the following: first indication information, PDU session ID, and source address, wherein the first indication information is used to indicate that address overlap has occurred.

[0200] In some implementations, the first network function is V-SMF.

[0201] In some implementations, the second network function is V-UPF.

[0202] Those skilled in the art should understand that Figure 12 The functions of each unit in the address overlap processing device shown can be understood by referring to the relevant description of the aforementioned method. Figure 12 The functions of each unit in the address overlap processing device shown can be implemented by a program running on a processor or by specific logic circuits.

[0203] Figure 13 This is a schematic structural diagram of a communication device 1300 provided in an embodiment of this application. The communication device can be any of the network functions described above. Figure 13 The communication device 1300 shown includes a processor 1310, which can call and run computer programs from memory to implement the methods in the embodiments of this application.

[0204] Optionally, such as Figure 13 As shown, the communication device 1300 may further include a memory 1320. The processor 1310 can retrieve and run computer programs from the memory 1320 to implement the methods described in this embodiment.

[0205] The memory 1320 can be a separate device independent of the processor 1310, or it can be integrated into the processor 1310.

[0206] Optionally, such as Figure 13 As shown, the communication device 1300 may also include a transceiver 1330, and the processor 1310 may control the transceiver 1330 to communicate with other devices. Specifically, it may send information or data to other devices or receive information or data sent by other devices.

[0207] The transceiver 1330 may include a transmitter and a receiver. The transceiver 1330 may further include an antenna, and the number of antennas may be one or more.

[0208] The communication device 1300 may specifically be the first network function, the second network function, or the third network function in the embodiments of this application. The communication device 1300 can implement the corresponding processes implemented by the first network function, the second network function, or the third network function in the various methods of the embodiments of this application. For the sake of brevity, it will not be described in detail here.

[0209] Figure 14 This is a schematic structural diagram of the chip according to an embodiment of this application. Figure 14 The chip 1400 shown includes a processor 1410, which can call and run computer programs from memory to implement the methods in the embodiments of this application.

[0210] Optionally, such as Figure 14 As shown, chip 1400 may further include memory 1420. Processor 1410 can retrieve and run computer programs from memory 1420 to implement the methods described in this embodiment.

[0211] The memory 1420 can be a separate device independent of the processor 1410, or it can be integrated into the processor 1410.

[0212] Optionally, the chip 1400 may also include an input interface 1430. The processor 1410 can control the input interface 1430 to communicate with other devices or chips; specifically, it can acquire information or data sent by other devices or chips.

[0213] Optionally, the chip 1400 may also include an output interface 1440. The processor 1410 can control the output interface 1440 to communicate with other devices or chips, specifically, to output information or data to other devices or chips.

[0214] The chip can be applied to the first network function, the second network function, or the third network function in the embodiments of this application, and the chip can implement the corresponding processes implemented by the first network function, the second network function, or the third network function in the various methods of the embodiments of this application. For the sake of brevity, it will not be described in detail here.

[0215] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0216] It should be understood that the processor in the embodiments of this application may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method embodiments can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor described above can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules can be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.

[0217] It is understood that the memory in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DR RAM). It should be noted that the memory used in the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0218] It should be understood that the above-described memory is exemplary and not a limiting description. For example, the memory in the embodiments of this application may also be static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DR RAM), etc. That is to say, the memory in the embodiments of this application is intended to include, but is not limited to, these and any other suitable types of memory.

[0219] This application also provides a computer-readable storage medium for storing a computer program. This computer-readable storage medium can be applied to a first network function, a second network function, or a third network function in the embodiments of this application, and the computer program causes a computer to execute the corresponding processes implemented by the first network function, the second network function, or the third network function in the various methods of the embodiments of this application. For the sake of brevity, further details are omitted here.

[0220] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0221] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0222] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0223] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0224] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0225] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0226] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for processing Domain Name System (DNS) information, characterized in that, The method includes: The first network function sends first information to the second network function. The first information is used to indicate that the DNS query information of the first protocol data unit (PDU) session needs to carry second information. The second information is used to determine the target DNS processing rule. The first network function is Visitor-Session Management Function (V-SMF), and the second network function is Visitor-User Plane Function (V-UPF).

2. The method according to claim 1, characterized in that, The method further includes: The first network function adds the second information to at least one first DNS processing rule and sends the resulting at least one second DNS processing rule to the third network function; wherein the target DNS processing rule is one of the at least one second DNS processing rule.

3. The method according to claim 2, characterized in that, The method further includes: The first network function receives at least one first DNS processing rule sent by the fourth network function.

4. The method according to claim 3, characterized in that, The fourth network function is Home-Session Management Function (H-SMF).

5. The method according to claim 2, characterized in that, The third network function is the Visit-Edge Application Service Discovery Function (V-EASDF).

6. The method according to any one of claims 1 to 5, characterized in that, The second piece of information includes the data network name DNN.

7. A DNS information processing method, characterized in that, The method includes: The second network function receives third information sent by the terminal; The second network function adds second information to the third information based on the first information and sends it to the third network function; wherein, the second information is used by the third network function to determine the target DNS processing rules; The second network function receives the first information sent by the first network function, wherein the first information is used to indicate that the DNS query information of the first PDU session needs to carry the second information; The first network function is V-SMF; the second network function is V-UPF; and the third network function is V-EASDF.

8. The method according to claim 7, characterized in that, The second network function adds second information to the third information based on the first information, including: The second network function determines the PDU session associated with the third information and confirms whether the PDU session is the first PDU session indicated in the first information; if it is the first PDU session indicated in the first information, it detects whether the third information is DNS query information; if it is DNS query information, it adds the second information indicated by the first information to the third information.

9. The method according to any one of claims 7 to 8, characterized in that, Adding the second information to the third information includes: Add the second information to the IP packet header of the third information; or... Add the second information to the ECSN field of the subnet of the domain name intelligent resolution service client in the third information.

10. The method according to any one of claims 7 to 8, characterized in that, The second information includes the DNN.

11. A DNS information processing method, characterized in that, The method includes: The third network function receives DNS query information carrying the second information sent by the second network function; The third network function determines the target DNS processing rule corresponding to the second information based on at least one second DNS processing rule, and sends the DNS query information to the target DNS server based on the target DNS processing rule.

12. The method according to claim 11, characterized in that, The method further includes: The third network function receives at least one second DNS processing rule sent by the first network function.

13. The method according to claim 12, characterized in that, The first network function is V-SMF.

14. The method according to claim 11, characterized in that, The method further includes: The third network function receives DNS response information sent by the target DNS server, the DNS response information containing a first IP address, the first IP address corresponding to the first domain name in the DNS query information; The third network function sends the DNS response information to the terminal.

15. The method according to claim 14, characterized in that, The third network function sends the DNS response information to the terminal, including: The third network function sends the DNS response information to the terminal based on the second information and / or the terminal's IP address.

16. The method according to any one of claims 11 to 15, characterized in that, The third network function is V-EASDF, and the second network function is V-UPF.

17. The method according to any one of claims 12 to 15, characterized in that, The second information includes the DNN.

18. A DNS information processing apparatus, applied to a first network function, the apparatus comprising: The sending unit is used to send first information to the second network function. The first information is used to indicate that the DNS query information of the first protocol data unit (PDU) session needs to carry second information. The second information is used to determine the target DNS processing rule. The first network function is Visit-Session Management Function (V-SMF), and the second network function is Visit-User Plane Function (V-UPF).

19. A DNS information processing apparatus, applied to a second network function, the apparatus comprising: A receiving unit is used to receive third information sent by the terminal; A processing unit is configured to add second information to the third information based on the first information; A sending unit is configured to send the third information, to which second information is added, to a third network function; wherein the second information is used by the third network function to determine the target DNS processing rule; The receiving unit is further configured to receive the first information sent by the first network function, wherein the first information is used to indicate that the DNS query information of the first PDU session needs to carry the second information; the first network function is V-SMF; the second network function is V-UPF; and the third network function is V-EASDF.

20. A DNS information processing apparatus for use in a third-party network function, the apparatus comprising: The receiving unit is used to receive DNS query information carrying second information sent by the second network function; The processing unit is configured to determine the target DNS processing rule corresponding to the second information based on at least one second DNS processing rule; The sending unit is used to send the DNS query information to the target DNS server based on the target DNS processing rules.

21. A communication device, characterized in that, include: A processor and a memory for storing a computer program, the processor for calling and running the computer program stored in the memory to perform the method as claimed in any one of claims 1 to 6, or the method as claimed in any one of claims 7 to 10, or the method as claimed in any one of claims 11 to 17.

22. A chip, characterized in that, include: A processor for retrieving and running a computer program from memory, causing a device having the chip mounted to perform the method as claimed in any one of claims 1 to 6, or the method as claimed in any one of claims 7 to 10, or the method as claimed in any one of claims 11 to 17.

23. A computer-readable storage medium, characterized in that, Used to store a computer program that causes a computer to perform the method as claimed in any one of claims 1 to 6, or the method as claimed in any one of claims 7 to 10, or the method as claimed in any one of claims 11 to 17.

Citation Information

Patent Citations

  • Edge service scheduling method, device and system and storage medium

    CN115118786A