Terminal mutual access implementation method, network side equipment and terminal

By introducing the ANDPF function, the problems of large configuration workload and poor flexibility in the existing terminal communication scheme are solved. Dynamic UPF selection and IP address allocation are realized, which improves the flexibility and resource utilization of terminal communication.

CN121985355APending Publication Date: 2026-05-05CHINA MOBILE GROUP DESIGN INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA MOBILE GROUP DESIGN INST
Filing Date
2025-12-31
Publication Date
2026-05-05

AI Technical Summary

Technical Problem

Existing methods for enabling inter-terminal communication rely on the network side, resulting in a huge workload for configuration, lack of support for dynamic selection of UPFs, poor flexibility, and potential service interruptions when terminals move across UPF coverage areas.

Method used

The introduction of the first network function (ANDPF) allows for the acquisition of terminal communication routing information through interaction with session control and management functions. It supports dynamic selection of UPF and allocation of dynamic IP addresses, reducing configuration workload and improving flexibility and resource utilization.

Benefits of technology

It enables flexible communication between terminals, supports dynamic IP address allocation and load balancing, improves the resource utilization of user plane functions, avoids the problem of large configuration workload, and enhances the support for terminal mobility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121985355A_ABST
    Figure CN121985355A_ABST
Patent Text Reader

Abstract

The invention provides a terminal mutual access implementation method, network side equipment and a terminal. The method comprises the steps that a first network function obtains identification information of a second network function under the condition that a first terminal meets a first condition, and the second network function is a session control and / or management function selected when the first terminal establishes a service transmission channel corresponding to a first mutual access group; according to the identification information of the second network function, interacting the mutual access routing information of at least part of terminals in the first mutual access group with the second network function; sending the first information to the first application platform; wherein the first information comprises mutual access routing information of at least part of terminals in the first mutual access group.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a method for enabling terminal communication, a network-side device, and a terminal. Background Technology

[0002] In mobile communication networks, terminal interoperability refers to the direct establishment of a service transmission channel between two terminals connected to the mobile communication network to achieve service data exchange without having to go through interfaces such as N6 / SGi to bypass external routing equipment and / or servers.

[0003] One existing method for enabling terminal interoperability relies on the network side. However, this method has several problems. For example, in this method, the User Plane Function (UPF) accessed by the terminal needs to configure Generic Routing Encapsulation (GRE) tunnels and other information required for terminal interoperability between UPFs with disaster recovery relationships and between UPFs that need to communicate, resulting in a huge configuration workload. At the same time, this method requires pre-determining which UPF the terminal needs to access is connected to and pre-configuring the data, and does not support dynamic selection of UPFs to complete the interoperability, resulting in poor service flexibility. Furthermore, in scenarios where terminals move across UPF coverage areas, interoperability service may be interrupted, further complicating the flexibility of business application scenarios.

[0004] Therefore, there is an urgent need to propose a more advanced terminal interoperability solution to at least solve one of the above problems. Summary of the Invention

[0005] This application provides a terminal inter-access method, a network-side device, and a terminal to address at least one problem with existing terminal inter-access schemes that rely on network-side implementation.

[0006] To solve the above-mentioned technical problems, this application is implemented as follows: Firstly, a method for enabling terminal communication is provided, applied to a first network function, the method comprising: When the first terminal meets the first condition, the identification information of the second network function is obtained; wherein, the first condition includes enabling terminal mutual access service permission and / or setting terminal mutual access group information corresponding to the first mutual access group, and the second network function is the session control and / or management function selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group. Based on the identification information of the second network function, interact with the second network function to exchange mutual access routing information of at least some terminals in the first mutual access group; Send first information to the first application platform; wherein the first information includes mutual access routing information of at least some terminals within the first mutual access group.

[0007] Secondly, a terminal communication implementation method is provided, applied to a second network function, the method comprising: A third request is received from a first network function, and fourth information is sent to the first network function; wherein the third request is used to obtain the fourth information, the fourth information including mutual access routing information of the first terminal corresponding to the first mutual access group or mutual access routing information of all terminals in the first mutual access group that access the second network function corresponding to the first mutual access group; and / or, Send a fourth request to the first network function and receive fifth information sent by the first network function; wherein, the fourth request is used to obtain the fifth information, and the fifth information includes at least one of the following: mutual access routing information of terminals in the first mutual access group that access other session control and / or management functions when establishing the service transmission channel of the first mutual access group; mutual access routing information of all terminals in the first mutual access group corresponding to the first mutual access group; and mutual access routing information of a specified terminal in the first mutual access group corresponding to the first mutual access group. The second network function is the session control and / or management function selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group.

[0008] Thirdly, a method for enabling terminal inter-network communication is provided, applied to a third network function, the method comprising: Sending a fifth request to the first network function or via the second network function to the first network function, and receiving a sixth message sent by the first network function or via the second network function, to realize inter-terminal access services within the first mutual access group; and / or, Receive the seventh message sent by the second network function to enable inter-terminal access services within the first mutual access group to which the first terminal belongs; The third network function is the user plane function selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group; the second network function is the session control and / or management function selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group; the fifth request is used to obtain the sixth information, the sixth information includes mutual access routing information of the specified terminal in the first mutual access group corresponding to the first mutual access group; and the seventh information includes mutual access routing information of at least some terminals in the first mutual access group.

[0009] Fourthly, a method for enabling terminal interoperability is provided, applied to a first application platform, the method comprising: Receive first information sent by a first network function; wherein, the first information includes mutual access routing information of at least some terminals within a first mutual access group; Receive a query request from the first terminal to query the eighth information; In response to the query request, the eighth information is sent to the first terminal; wherein the eighth information is used by the first terminal to initiate mutual access services to other terminals within the first mutual access group; Wherein, the first terminal belongs to the first mutual access group, and the eighth information is determined based on the first information. The eighth information includes at least one of the following: group information of the first mutual access group, mutual access routing information of terminals within the first mutual access group, and online status information of terminals within the first mutual access group.

[0010] Fifthly, a method for enabling terminal communication is provided, applied to a fourth network function, the method comprising: In response to the seventh request sent by the first business system, the terminal mutual access service permission is enabled for the first terminal and / or the terminal mutual access group information corresponding to the first mutual access group is configured; Send second information to the first network function and / or the first application platform; wherein the second information includes the terminal inter-access service activation information and / or terminal inter-access group information of the first terminal.

[0011] Sixthly, a method for enabling terminal communication is provided, applied to a first terminal, the method comprising: Send a query request for information about the eighth item to the first application platform; Obtain the eighth information returned by the first application platform; Based on the eighth piece of information, initiate mutual access services for other terminals within the first mutual access group; Wherein, the first terminal belongs to the first mutual access group, and the eighth information includes at least one of the following: the group information of the first mutual access group, the mutual access routing information within the first mutual access group, and the online status information of the terminals within the first mutual access group.

[0012] In a seventh aspect, a terminal communication implementation device is provided, applied to a first network function, the device comprising: The first acquisition module is used to acquire the identification information of the second network function when the first terminal meets the first condition; wherein, the first condition includes enabling terminal mutual access service permission and / or setting terminal mutual access group information corresponding to the first mutual access group, and the second network function is the session control and / or management function selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group. The first interaction module is used to interact with the second network function based on the identification information of the second network function to exchange mutual access routing information of at least some terminals in the first mutual access group; The first sending module is used to send first information to the first application platform; wherein the first information includes mutual access routing information of at least some terminals within the first mutual access group.

[0013] Eighthly, a terminal communication implementation device is provided, applied to a second network function, the device comprising: A first receiving module is configured to receive a third request from a first network function and send fourth information to the first network function; wherein the third request is used to obtain the fourth information, the fourth information including mutual access routing information of the first terminal corresponding to a first mutual access group or mutual access routing information of all terminals in the first mutual access group that access the second network function corresponding to the first mutual access group; and / or, The first sending module is configured to send a fourth request to a first network function and receive fifth information sent by the first network function; wherein, the fourth request is used to obtain the fifth information, and the fifth information includes at least one of the following: mutual access routing information of terminals in the first mutual access group that access other session control and / or management functions when establishing the service transmission channel of the first mutual access group; mutual access routing information of all terminals in the first mutual access group corresponding to the first mutual access group; and mutual access routing information of a specified terminal in the first mutual access group corresponding to the first mutual access group. The second network function is the session control and / or management function selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group.

[0014] Ninthly, a terminal communication implementation device is provided, applied to a third network function, the device comprising: The first sending module is configured to send a fifth request to the first network function or to the first network function via the second network function, and to receive a sixth message sent by the first network function or by the first network function via the second network function, so as to realize inter-terminal access services within the first mutual access group; and / or, The first receiving module is used to receive the seventh information sent by the second network function in order to realize the inter-terminal access service within the first mutual access group to which the first terminal belongs. The third network function is the user plane function selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group; the second network function is the session control and / or management function selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group; the fifth request is used to obtain the sixth information, the sixth information includes mutual access routing information of the specified terminal in the first mutual access group corresponding to the first mutual access group; and the seventh information includes mutual access routing information of at least some terminals in the first mutual access group.

[0015] Tenthly, a terminal inter-access implementation device is provided, applied to a first application platform, the device comprising: The first receiving module is configured to receive first information sent by the first network function; wherein the first information includes mutual access routing information of at least some terminals within the first mutual access group; The second receiving module is used to receive a query request from the first terminal for querying the eighth information; The first sending module is used to send the eighth information to the first terminal in response to the query request; wherein the eighth information is used by the first terminal to initiate mutual access services to other terminals in the first mutual access group; Wherein, the first terminal belongs to the first mutual access group, and the eighth information includes at least one of the following: the group information of the first mutual access group, the mutual access routing information of the terminals in the first mutual access group, and the online status information of the terminals in the first mutual access group.

[0016] Eleventhly, a terminal communication implementation device is provided, applied to a fourth network function, the device comprising: The first response module is used to respond to the seventh request sent by the first business system, to enable terminal mutual access service permission for the first terminal and / or configure terminal mutual access group information corresponding to the first mutual access group; The first sending module is used to send second information to the first network function and / or the first application platform; wherein the second information includes the terminal inter-access service activation information and / or terminal inter-access group information of the first terminal.

[0017] In a twelfth aspect, a terminal communication implementation device is provided, applied to a first terminal, the device comprising: The first sending module is used to send a query request about the eighth information to the first application platform; The first receiving module is used to obtain the eighth information returned by the first application platform; The mutual access implementation module is used to initiate mutual access services for other terminals within the first mutual access group based on the eighth information. Wherein, the first terminal belongs to the first mutual access group, and the eighth information includes at least one of the following: the group information of the first mutual access group, the mutual access routing information within the first mutual access group, and the online status information of the terminals within the first mutual access group.

[0018] In a thirteenth aspect, a network-side device is provided, including a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the terminal inter-access implementation method as described in any one of the first, second, third, and fifth aspects.

[0019] In a fourteenth aspect, a terminal is provided, characterized in that it includes a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the terminal inter-access implementation method as described in the sixth aspect.

[0020] In a fifteenth aspect, a non-transient computer-readable storage medium is provided, on which a program or instructions are stored, which, when executed by a processor, implement the steps of the terminal access implementation method as described in any one of the first, second, third, fourth, and fifth aspects, or implement the steps of the terminal access implementation method as described in the sixth aspect.

[0021] In a sixteenth aspect, a computer program product is provided, the computer program product being stored in a storage medium, the computer program product being executed by at least one processor to implement the steps of the terminal access implementation method as described in any one of the first, second, third, fourth, and fifth aspects, or to implement the steps of the terminal access implementation method as described in the sixth aspect.

[0022] In a seventeenth aspect, a communication system is provided, comprising a first network function, a second network function, a third network function, a first application platform, and a first terminal; wherein the first network function is used to execute the terminal access implementation method as described in the first aspect, the second network function is used to execute the terminal access implementation method as described in the second aspect, the third network function is used to execute the terminal access implementation method as described in the third aspect, the first application platform is used to execute the terminal access implementation method as described in the fourth aspect, and the first terminal is used to execute the terminal access implementation method as described in the sixth aspect.

[0023] In some embodiments of this application, a first network function is introduced, which has functions such as collecting information required for terminal mutual access. Based on this, on the one hand, since the first network function can interact with the session control and / or management functions selected when establishing a service transmission channel corresponding to the first mutual access group with the first terminal, and exchange mutual access routing information of at least some terminals within the first mutual access group, this allows the user plane functions selected by the terminals within the first mutual access group to directly obtain the information required for terminal mutual access from the session control and / or management functions to achieve terminal mutual access, or directly or indirectly obtain the information required for terminal mutual access from the first network function, without needing to configure the relevant information required for terminal mutual access in the user plane function beforehand. This makes the terminal mutual access implementation method provided in some embodiments of this application... It can support the dynamic selection of third network functions (such as UPF) and the allocation of dynamic IP addresses to terminals based on terminal location and other information, enabling flexible inter-terminal communication and avoiding the problem of large workload in configuring information required for terminal communication. It supports load sharing and disaster recovery methods for third network functions (such as group POOL) to improve the resource utilization of user plane functions. On the other hand, since the first network function can also send the communication routing information of at least some terminals in the first communication group to the first application platform that can be accessed by the terminals, the terminals in the first communication group can obtain the information required for communication from the first application platform. Thus, some information required for terminal communication can be dynamically configured instead of being statically fixed, which is more flexible and can better support the mobility of terminals. Attached Figure Description

[0024] To more clearly illustrate the technical solutions in this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0025] Figure 1 This is a schematic diagram illustrating the principle of mutual access between terminals under the same UPF in a local area scenario in related technologies.

[0026] Figure 2 This is a schematic diagram illustrating the principle of inter-terminal communication under different UPFs in a local area scenario in related technologies.

[0027] Figure 3 This is a schematic diagram illustrating the principle of mutual communication between terminals accessing different UPFs and whose UPFs belong to different SMF POOLs in a wide-area scenario in related technologies.

[0028] Figure 4This is a schematic diagram illustrating the terminal communication principle in a local area scenario where participating terminals access the same UPF, and the UPF adopts a primary / backup disaster recovery approach.

[0029] Figure 5 This is a schematic diagram illustrating the principle of terminal interoperability in a wide-area scenario where participating terminals access different UPFs, and the UPFs employ a primary / backup disaster recovery approach.

[0030] Figure 6 This is a schematic diagram illustrating the principle of terminal interoperability in a wide-area scenario where participating terminals access different UPFs, and the UPFs employ a primary / backup disaster recovery approach.

[0031] Figure 7 This is a schematic diagram illustrating a scenario applicable to a terminal inter-access implementation method proposed in some embodiments of this application.

[0032] Figure 8 This application presents a service-oriented network architecture for non-roaming scenarios, which is applicable to a terminal inter-access implementation method proposed in some embodiments of this application.

[0033] Figure 9 This application presents a method for implementing terminal inter-access in a non-roaming 5G network architecture.

[0034] Figure 10 This is another network architecture to which a terminal communication implementation method proposed in some embodiments of this application is applicable.

[0035] Figure 11 This is a flowchart illustrating a terminal communication implementation method provided by some embodiments of this application.

[0036] Figure 12 This is a flowchart illustrating a terminal communication implementation method provided by some embodiments of this application.

[0037] Figure 13 This is a flowchart illustrating a terminal communication implementation method provided by some embodiments of this application.

[0038] Figure 14 This is a flowchart illustrating a terminal communication implementation method provided by some embodiments of this application.

[0039] Figure 15 This is a flowchart illustrating a terminal communication implementation method provided by some embodiments of this application.

[0040] Figure 16 This is a flowchart illustrating a terminal communication implementation method provided by some embodiments of this application.

[0041] Figure 17This is a schematic diagram illustrating the process of enabling / configuring terminal mutual access service permissions and terminal mutual access group information in a terminal mutual access implementation method provided by some embodiments of this application.

[0042] Figure 18 This is a schematic diagram of the interaction flowchart of a terminal mutual access implementation method provided by some embodiments of this application.

[0043] Figure 19 This is a schematic diagram of the structure of a terminal mutual access implementation device provided in some embodiments of this application.

[0044] Figure 20 This is a schematic diagram of the structure of a terminal mutual access implementation device provided in some embodiments of this application.

[0045] Figure 21 This is a schematic diagram of the structure of a terminal mutual access implementation device provided in some embodiments of this application.

[0046] Figure 22 This is a schematic diagram of the structure of a terminal mutual access implementation device provided in some embodiments of this application.

[0047] Figure 23 This is a schematic diagram of the structure of a terminal mutual access implementation device provided in some embodiments of this application.

[0048] Figure 24 This is a schematic diagram of the structure of a terminal mutual access implementation device provided in some embodiments of this application. Detailed Implementation

[0049] To enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in this application will be clearly and completely described below with reference to the accompanying drawings of one or more embodiments. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of this application.

[0050] The terms "first," "second," etc., used in this application and the claims are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that this application can be implemented in orders other than those illustrated or described herein. Furthermore, in this application and the claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0051] Currently, there are two main ways to achieve inter-terminal communication: Method 1: Application-based terminal communication, where a terminal accesses a specific application (such as WeChat APP), and information exchange between terminals is achieved on the application side. This method requires an external server and involves some routing detours.

[0052] Method 2: Implementation relies on the network side, including solutions for local area scenarios and wide area scenarios. Local area scenarios refer to communication between terminals belonging to the same Session Management Function Pool (SMF POOL) or the same Packet Data Network Gateway - Control plane Pool (PGW-CPOOL) serving the same region. Wide area scenarios refer to communication between terminals belonging to different SMF POOLs or different PGW-C POOLs serving different regions.

[0053] Some embodiments of this application mainly provide a terminal interoperability solution based on Method 2. The following description uses terminal interoperability in a 5G network as an example; the solution in a 4G scenario is similar.

[0054] In related technologies, the application scenarios for terminal interoperability solutions based on method 2 (relying on network-side implementation) may include at least one of the following: I. Terminal Interoperability Solution in Local Area Network Scenario (1) Scenario 1: Inter-terminal communication under the same UPF For scenarios involving inter-device communication within the same UPF, please refer to [reference needed]. Figure 1 .like Figure 1 As shown, UE1 and UE2 are registered to the network and both access UPF1; UE3 and UE4 are registered to the network and both access UPF2. When UE1 and UE2 need to communicate with each other, or when UE3 and UE4 need to communicate with each other, both terminals participating in the communication need to obtain the IP address of the other party in advance. Therefore, static IP addresses need to be pre-assigned to UE1 and UE2, or static IP addresses need to be pre-assigned to UE3 and UE4.

[0055] like Figure 1 As shown, taking the terminal communication between UE1 and UE2 as an example, UPF1 can perform service forwarding in the following two ways: Internal forwarding mode: When UPF1 confirms that the IP address of the destination terminal is the IP address of a terminal within the local area of ​​the UPF, it directly completes the routing and forwarding between UEs within UPF1. The forwarding path is indicated by the reference numeral 11 in the attached figure.

[0056] External forwarding mode: In this mode, UPF1 does not need to confirm whether the IP address of the destination terminal is the IP address of the local terminal. Instead, it forwards the packet to the external data network (DATA NET, DN) through the N6 interface. The packet is then forwarded back by the routing device in the external data network. The forwarding path is shown in the attached figure, indicated by label 12.

[0057] (2) Scenario 2: Terminal interoperability across different UPFs For scenarios involving terminal access between different UPFs, please refer to [reference needed]. Figure 2 .like Figure 2 As shown, UE1 and UE2 access UPF1, and UE3 and UE4 access UPF2. When UE1 / UE2 and UE3 / UE4 need to communicate with each other, both terminals participating in the communication need to obtain the IP address of the other party in advance. Therefore, static IP addresses need to be assigned to UE1 / UE2 and UE3 / UE4 in advance.

[0058] like Figure 2 As shown, taking the terminal communication between UE1 and UE3 as an example, UPF1 and UPF2 can forward services in the following two ways: Forwarding via external DN: UPF1 forwards packets from UE1 to the external data network via the N6 interface. The routing device in the external data network then forwards the packets to UPF2, and UPF2 then forwards them to UE3. The forwarding path is shown in the attached diagram, indicated by label 23. This method depends on the routing configuration of the external DN.

[0059] Forwarding via GRE tunnel: A GRE tunnel 21 is pre-configured between UPF1 and UPF2. UPF1 and UPF2 forward mutual access messages between UE1 and UE3 through GRE tunnel 21. The forwarding path is indicated by the attached figure 22.

[0060] II. Terminal Interoperability Solution in Wide Area Scenarios In wide-area scenarios, terminals communicating with each other access different UPFs, and these UPFs belong to different SMFPOOLs. For example, ... Figure 3 As shown, UE1 and UE3 have signed up for static IP addresses. UE1 and UE3 are connected to UPF1 and UPF2 respectively. UPF1 belongs to SMF POOL1, and UPF2 belongs to SMF POOL2. When UE1 and UE3 need to communicate with each other, both need to obtain the other's IP address in advance. Therefore, static IP addresses need to be pre-assigned to UE1 and UE2. A GRE tunnel 31 is pre-configured between UPF1 and UPF2. UPF1 and UPF2 forward communication packets between UE1 and UE3 through GRE tunnel 31. The forwarding path is shown in the attached figure, indicated by label 32.

[0061] III. Disaster Recovery Methods of Existing Terminal Interoperability Solutions As noted in the background section of this application, currently only UPF-based disaster recovery in a primary / backup manner is supported for terminal interoperability in both local and wide-area scenarios; "1+1 mutual backup disaster recovery" of UPF is not supported. The following sections will explain the different scenarios.

[0062] Scenario 1: When terminals that need to access each other are connected to the same UPF, the UPF adopts a primary and backup disaster recovery mode, and a backup GRE tunnel is configured between the primary UPF and the backup UPF to enable terminal access.

[0063] For example, such as Figure 4 As shown, in a local area scenario, UE1 and UE2 access UPF1, and UE3 and UE4 access UPF2. UPF1 and UPF2 belong to the same SMF POOL. UPF1 is the primary UPF for UE1 and UE2, and UPF2 is the backup UPF for UE1 and UE2.

[0064] When the primary UPF1 is in normal operation, both UE1 and UE2 access the primary UPF1. Internally, UPF1 handles the forwarding of communication messages between UE1 and UE2, with the forwarding path as follows: Figure 4 The figure below is indicated by reference numeral 41.

[0065] When the primary UPF1 fails, both UE1 and UE2 reconnect to the backup UPF2. Within UPF2, message forwarding between UE1 and UE2 is implemented, with similar forwarding paths. Figure 4 The forwarding path of mutual access messages between UE2 and UE4 is indicated by reference numeral 44 in the attached figure.

[0066] When the primary UPF1 recovers from a fault state to a normal state, some UEs that need to communicate may access from the backup UPF2, while others may access from the primary UPF1. In this case, it is necessary to forward terminal communication messages through the backup GRE tunnel between the primary UPF1 and the backup UPF2. For example, Figure 4 As shown, if UE2 is connected to the primary UPF1 and UE3 is connected to the backup UPF2, then the communication packets between UE1 and UE3 can be forwarded through the backup GRE tunnel 42 between the primary UPF1 and the backup UPF2. The forwarding path is as follows: Figure 4 The figure below is indicated by reference numeral 43.

[0067] Scenario 2: UEs requiring interoperability access are connected to different UPFs, and the UPFs employ a primary / backup disaster recovery approach. Taking wide-area terminal interoperability as an example, on the one hand, a backup GRE tunnel needs to be configured between the primary and backup UPFs for packet forwarding during disaster recovery failover; on the other hand, GRE tunnels need to be configured between UPFs in different regions for packet forwarding between UPFs for terminal interoperability. In other words, GRE tunnels need to be configured between every pair of UPFs that have disaster recovery relationships and require interoperability, resulting in a huge workload.

[0068] For example, such as Figure 5 As shown, when the primary UPF1 fails and the primary UPF3 is in normal operation, in area 1, UE1 accesses the backup UPF2, and in area 2, UE3 accesses the primary UPF3. UE1 accesses UE3 through the pre-configured GRE tunnel 54 between UPF2 and UPF3 to achieve terminal communication message forwarding, and the forwarding path is indicated by reference numeral 57 in the attached figure.

[0069] For example, such as Figure 6 As shown, when both primary UPF1 and primary UPF3 fail, UE1 accesses backup UPF2 in area 1, and UE3 accesses backup UPF4 in area 2. UE1 accesses UE3 through the pre-configured GRE tunnel 53 between UPF2 and UPF4 to achieve terminal communication message forwarding, and the forwarding path is indicated by the attached figure label 58.

[0070] In addition, Figure 5 or Figure 6 In this configuration, when primary UPF1 is in normal operation and primary UPF3 fails, UE1 accesses primary UPF1 in area 1 and UE3 accesses backup UPF4 in area 2. UE1 accesses UE3 via a pre-configured GRE tunnel 55 between UPF1 and UPF4, enabling terminal communication message forwarding. When both primary UPF1 and primary UPF3 are in normal operation, UE1 accesses primary UPF1 in area 1 and UE3 accesses primary UPF3 in area 2. UE1 accesses UE3 via a pre-configured GRE tunnel 51 between UPF1 and UPF3, enabling terminal communication message forwarding. Furthermore, primary UPF1 and backup UPF2 can synchronize information via a pre-configured GRE tunnel 52, and primary UPF3 and backup UPF4 can synchronize information via a pre-configured GRE tunnel 56.

[0071] Research has revealed that the terminal interoperability solution based on method 2 described above has at least one of the following problems: 1) Limited disaster recovery methods: The UPF accessed by the terminal only supports disaster recovery in primary and backup mode, and does not support "1+1 mutual backup disaster recovery" of UPF, resulting in low resource utilization of UPF.

[0072] 2) Huge workload for data configuration: If a primary-backup disaster recovery mode is adopted, GRE tunnels and other information required for terminal interoperability need to be configured between UPFs with disaster recovery relationships and between UPFs that need to communicate with each other, resulting in a huge workload for data configuration. Especially when deploying terminal interoperability services on a large scale, the number of GRE tunnels required increases exponentially, putting enormous pressure on the equipment load.

[0073] 3) IP address restriction: Existing solutions all use static IP addresses signed by the UE when deploying applications, and do not currently support terminal communication in scenarios with dynamic IP address allocation.

[0074] 4) Poor flexibility and insufficient support for terminal mobility: The relevant technologies require that the terminals that need to communicate with each other be identified in advance in which UPF they are connected to, and data configuration must be performed in advance. They do not support dynamic selection of UPF to complete the communication, resulting in poor service flexibility. Furthermore, in scenarios where terminals move across the coverage area of ​​different UPFs, communication services may be interrupted.

[0075] To address at least one of the aforementioned problems, this application proposes a method for implementing terminal interoperability, which can meet the terminal interoperability requirements in both local area and wide area scenarios. For example, as Figure 7 As shown, the terminal communication implementation method proposed in this application can satisfy not only the communication between UE1 and UE2 in a local area scenario (as indicated by reference numeral 71 in the attached diagram of the terminal communication message forwarding path between them), but also the communication between UE1 and UE3 in a wide area scenario (as indicated by reference numeral 72 in the attached diagram of the terminal communication message forwarding path between them). Figure 7 In this context, UE1 and UE2 access the UPF in UPF POOL1, which belongs to SMF POOL1 and serves area A; UE3 and UE4 access the UPF in UPF POOL2, which belongs to SMF POOL2 and serves area B.

[0076] The terminal interoperability implementation method proposed in this application is applicable to 5G networks, 4G networks, 4G / 5G converged networks, etc., and can also be used or referenced in subsequent 6G mobile communication networks and future generations of mobile communication networks.

[0077] In some embodiments, the implementation of the terminal mutual access method proposed in this application relies on a newly added first network function, such as the Application and Network Data Providing Function (ANDPF). The ANDPF can be deployed independently or co-located with other network functions.

[0078] In some embodiments, the terminal communication implementation method proposed in this application can be applied to, but is not limited to, methods such as... Figure 8 , Figure 9 or Figure 10 In the network architecture shown.

[0079] Figure 8 This illustrates a service-oriented network architecture in a non-roaming scenario. For example... Figure 8 As shown, the network architecture includes: User Equipment (UE), Radio Access Network (RAN), core network elements, and external data network (DN). The core network elements include, in addition to the Network Slice Selection Function (NSSF), Network Exposure Function (NEF), Network Function Repository Function (NRF), Policy Control Function (PCF), Unified Data Management (UDM), Application Function (AF), Edge Application Server Discovery Function (EASDF), Network Slice-Specific Authentication and Authorization Function (NSSAAF), Authentication Server Function (AUSF), Access and Mobility Management Function (AMF), Session Management Function (SMF), Service Communication Proxy (SCP), Network Slice Admission Control Function (NSACF), and User Plane Function (UPF), as well as the first network function (such as the ANDPF mentioned above).

[0080] Figure 9 The 5G network architecture in a non-roaming scenario is illustrated. For example... Figure 9As shown, this network architecture includes: User Equipment (UE), Radio Access Network (RAN), core network elements, and external data network (DN). Similar to... Figure 8 The network architecture shown is in Figure 9 In the 5G network architecture shown, in addition to some original core network elements, a first network function (such as ANDPF mentioned above) has also been introduced.

[0081] Figure 10 This paper illustrates a network architecture for a terminal communication implementation method provided in this application. For example... Figure 10 As shown, the network architecture may include: User Equipment (UE), Radio Access Network (RAN), core network elements, and external data network (DN). The core network elements, in addition to NRF, UDM, PCF, AMF, SMF, and UPF, may also include NEF and the first network function. Furthermore, as... Figure 10 As shown, the network architecture also includes a first application platform, which is a terminal interoperability application platform that can be accessed by terminals.

[0082] exist Figure 10 In the network architecture shown, the first network function can interact with other core network elements (such as SMF, UPF, etc.) to obtain information required for terminal mutual access (such as mutual access routing information as described below); the first application platform can interact with the first network function directly and / or through network capability opening functions (such as NEF, etc.) to obtain at least one of the following information: terminal mutual access group information and mutual access routing information; in addition, the terminal can interact with the first application platform to obtain at least one of the following information: terminal mutual access group information, mutual access routing information, and terminal mutual access user online status.

[0083] The above description uses a 5G network as an example to illustrate the network architecture to which the terminal inter-access implementation method provided in this application is applicable. It should be noted that the terminal inter-access implementation method provided in this application is also applicable to 4G networks, 4 / 5G converged networks, and next-generation networks. For example, access and mobility management function network elements can be 5G AMF and / or 4G MME, session control and / or management functions can be 5G SMF and / or SGW-C / PGW-C / SAEGW-C, and user plane functions can be 5G UPF and / or 4G PGW-U / SAEGW-U.

[0084] In some embodiments of this application, the service transmission channel refers to a logical channel used to realize information transmission and interaction between the terminal and the data network and / or between terminals, such as a PDU (packet data unit) session in a 5G network, a PDP (packet data protocol bearer) in a 4G network, etc., and is not limited thereto. The data network identifier to which the service transmission channel belongs and / or corresponds can be a 5G data network name (DNN) and / or a 4G access point name (APN), etc., which will not be described again below.

[0085] In some embodiments of this application, the terminal's identification information (user identifier) ​​may include, but is not limited to, at least one of the following, which will not be described again below: Generic Public Subscription Identifier (GPSI); Mobile Station International Subscriber Directory Number (MSISDN); User Permanent Identifier (SUPI); International Mobile Subscriber Identity (IMSI).

[0086] The following describes a terminal communication implementation method proposed in this application.

[0087] like Figure 11 As shown, some embodiments of this application propose a terminal communication implementation method, which may include: Step 1101: If the first terminal meets the first condition, obtain the identification information of the second network function. The first condition includes enabling terminal mutual access service permissions and / or setting terminal mutual access group information corresponding to the first mutual access group. The second network function is the service transmission channel session control and / or management function (hereinafter referred to as session control and / or management function) selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group.

[0088] The first terminal can be any terminal belonging to the first mutual access group.

[0089] The content performed by the first terminal can be promoted to other terminals in the first mutual access group. In a 5G network, the second network function can be SMF.

[0090] Optionally, before step 1101, Figure 11 The method shown may also include at least one of the following: 1) In response to a first request sent by the first business system, enable terminal mutual access service permissions for the first terminal and / or configure terminal mutual access group information corresponding to the first mutual access group. That is, the first network function supports the activation of terminal mutual access service permissions and / or the pre-configuration of terminal mutual access group information corresponding to the first mutual access group.

[0091] In some embodiments, the first business system may be an existing business activation system, such as a Business & Operation Support System (BOSS). The first business system may send a first request to the first network function to activate the terminal mutual access service permission for the first terminal and / or configure the terminal mutual access group information corresponding to the first mutual access group.

[0092] 2) Obtain the second information, wherein the second information is sent by the fourth network function after obtaining the terminal mutual access service permission for the first terminal and / or configuring the terminal mutual access group information corresponding to the first mutual access group. The fourth network function includes network functions for storing user subscription data (such as UDM / UDR, etc.), without limitation. The second information includes the terminal mutual access service activation information and / or terminal mutual access group information of the first terminal.

[0093] The terminal mutual access group information opened and / or configured for the first terminal may include at least one of the following: Identification information of the first terminal; The group identification information of the first mutual access group to which the first terminal belongs, such as the name of the first mutual access group, the group ID of the first mutual access group, etc. The first mutual access group can be one of the terminal mutual access groups to which the first terminal belongs; The identifier of the service transmission channel of the first mutual access group to which the first terminal belongs and / or the corresponding data network identifier, such as DNN.

[0094] It should be noted that the group ID of a terminal mutual access group should be unique across the entire network or within the operator's network.

[0095] Optionally, Figure 11 The method may further include: after granting terminal mutual access service permission to the first terminal and / or configuring terminal mutual access group information corresponding to the first mutual access group, and / or, after receiving the second information, generating third information locally, wherein the third information includes the basic communication information required for terminal mutual access within the first mutual access group.

[0096] The third information may include, but is not limited to, at least one of the following: Identification information of terminals within the first mutual access group; Identification information for the first mutual visit group; The data network identifier to which and / or which is corresponding to the business transmission channel of the first mutual access group belongs; Identification information of the session control and / or management functions selected by the terminal in the first mutual access group when establishing a service transmission channel corresponding to the first mutual access group; The identification information of the user plane function (hereinafter referred to as user plane function) of the service transmission channel selected by the terminal in the first mutual access group when establishing the service transmission channel corresponding to the first mutual access group; The IP address assigned to a terminal within the first mutual access group when establishing a service transmission channel corresponding to the first mutual access group; When a terminal within the first mutual access group establishes a service transmission channel corresponding to the first mutual access group, it is assigned terminal mutual access user plane tunnel information corresponding to the first mutual access group.

[0097] As an example, the third information may include at least one piece of information as shown in Table 1. It should be noted that the relevant tables provided in some embodiments of this application are mainly for the purpose of explaining the relevant parameters. In actual applications, other forms or expressions may be adopted based on actual needs. This description also applies to other tables provided in some embodiments of this application, which will not be repeated below.

[0098] Table 1 Examples of Third Information

[0099] As an example, the terminal identification information in the first mutual access group, the identification information of the first mutual access group, and the data network identification of the service transmission channel of the first mutual access group can all come from the terminal mutual access service permission opening information and / or the pre-configured terminal mutual access group information.

[0100] Optionally, Figure 11 The method shown may further include updating the third information stored in the first network function when the third information changes. That is, the remaining information in the third information generated by the first network function can be gradually filled in subsequent processes based on a data interaction mechanism. For example, after obtaining the mutual access routing information of at least some terminals within the first mutual access group through step 1102, the first network function can fill in Table 1 based on this information.

[0101] As an example, the information to be populated into Table 1 may include at least one of the following: ① Identification information of the session control and / or management functions (such as SMF identification information) selected by the terminal in the first mutual access group when establishing a service transmission channel corresponding to the first mutual access group (such as a 5G PDU session for mutual access to the DNN by the corresponding terminal).

[0102] ② When a terminal in the first mutual access group establishes a service transmission channel corresponding to the first mutual access group (e.g., a 5G PDU session corresponding to the terminal's mutual access to the DNN), the session control and / or management functions (e.g., SMF) and / or user plane functions (e.g., UPF) selected by the terminal are used to assign an IP address to the terminal.

[0103] ③ When a terminal in the first mutual access group establishes a service transmission channel corresponding to the first mutual access group (such as a 5G PDU session for mutual access to the DNN by the corresponding terminal), the user plane function identification information (such as UPF identification information) is selected.

[0104] ④ When a terminal within the first mutual access group establishes a service transmission channel corresponding to the first mutual access group, the user plane function it selects is the terminal mutual access user plane tunnel information allocated to that terminal for the first mutual access group. The terminal mutual access user plane tunnel information is allocated on a per-terminal mutual access group and its associated service transmission channel basis. For the same user plane function, only one allocation of terminal mutual access user plane tunnel information is made for the same terminal mutual access group. Once all service transmission channels established by users within the terminal mutual access group and carried on that user plane function are released, the terminal mutual access group's corresponding terminal user plane tunnel information is also deleted.

[0105] In some embodiments, the user plane tunnel information for terminal interoperability is allocated by the session control and / or management function (such as SMF) selected by the terminal when establishing the terminal interoperability service transport channel, which controls the allocation of the user plane function (such as UPF) selected by the terminal when establishing the terminal interoperability service transport channel. There are two methods for allocating the user plane tunnel information for terminal interoperability, which will be discussed below. Figure 12 The terminal communication implementation method is described in detail below.

[0106] Optionally, before step 1101, Figure 11 The method shown may further include: obtaining network registration status information of the first terminal from an eighth network function, wherein the eighth network function includes network functions (such as UDM / UDR, etc.) for implementing registration and authentication of the first terminal.

[0107] Specifically, obtaining the network registration status information of the first terminal from the eighth network function may include: Send a second request to the eighth network function, wherein the second request may be a user registration status subscription request to subscribe to the network registration status information of the first terminal from the eighth network function; Receive the eleventh message sent by the eighth network function, wherein the eleventh message may be a user registration status subscription notification, and the eleventh message includes the network registration status information of the first terminal.

[0108] For example, after receiving the aforementioned second information, the first network function can query the relevant network function (such as NRF) based on the identification information of the terminal within the first mutual access group to discover the eighth network function (the network function used to implement the registration and authentication of the first terminal, such as UDM / UDR) to which the terminal belongs, and subscribe to the user registration status from the eighth network function. After receiving the subscription request / subscription message, the eighth network function returns a user registration status subscription notification carrying network registration status information to the first network function.

[0109] The terminal's network registration status information may include at least one of the following: whether the terminal is currently registered to the network, and network registration status change events of the terminal.

[0110] It should be noted that, in some embodiments of this application, after receiving the subscription message / subscription request, the recipient must send relevant results to the subscription message requester according to the subscription requirements whenever the subscribed content changes, until it receives the end-subscription / cancel-subscription / unsubscribe request message from the subscription message / subscription request initiator, until it receives the end-subscription / cancel-subscription / unsubscribe request message from the subscription message / subscription request initiator. This will not be elaborated further below.

[0111] In some embodiments, step 1101 may specifically include: if the first terminal meets the first condition and registers with the network, obtaining the identification information of the second network function. Whether the first terminal is registered with the network can be determined based on obtaining the network registration status information of the first terminal from the eighth network function.

[0112] In some embodiments, step 1101 may specifically include: when the first terminal meets the first condition, or when the first terminal meets the first condition and registers with the network, obtaining the identification information of the second network function from the seventh network function. The seventh network function can provide the identification information of the second network function. For example, the seventh network function may include, but is not limited to, at least one of network functions (such as UDM / UDR) and policy control functions (such as PCF / UDR) used for storing user subscription data.

[0113] For example, after receiving notification that the first terminal has registered with the network, the first network function can query the relevant network function (such as NRF) based on the first terminal's identification information to find the seventh network function (such as UDM / UDR, PCF / UDR, etc.) to which the first terminal belongs, and send a request / subscription message to the seventh network function regarding the identification information of the second network function. Upon receiving the request / subscription message, the seventh network function returns a subscription event notification carrying the identification information of the second network function to the first network function. Optionally, after receiving notification that the first network function has deregistered with the network, the first network function can cancel the subscription.

[0114] Step 1102: Based on the identification information of the second network function, exchange the mutual access routing information of at least some terminals in the first mutual access group with the second network function.

[0115] In some embodiments, the interaction of mutual access routing information between the second network function and at least some terminals within the first mutual access group, based on the identification information of the second network function, may include at least one of the following: 1) Based on the identification information of the second network function, send a third request to the second network function and receive the fourth information sent by the second network function. The third request is used to obtain the fourth information, which includes the mutual access routing information of the first terminal corresponding to the first mutual access group or the mutual access routing information of all terminals in the first mutual access group that access the second network function corresponding to the first mutual access group.

[0116] It should be noted that since a terminal may belong to multiple terminal access groups, the access routing information of the terminal to different terminal access groups may be different. To avoid confusion, when referring to the access routing information of a certain terminal, its corresponding terminal access group can be specified. The same applies below, and will not be repeated.

[0117] The third request may be a subscription request / message regarding the fourth information. After receiving the subscription request / message regarding the fourth information, the second network function returns a subscription event notification carrying the fourth information to the first network function. If the first terminal deregisters with the network, the subscription to the fourth information can be cancelled. The subscription parameters provided in the third request may include at least one of the following: Identification information of the first terminal; Identification information for the first mutual visit group; The business transmission channel of the first mutual access group belongs to and / or corresponds to the data network identifier.

[0118] In some embodiments, the first network function subscribes to the fourth information via a third request in two ways, and one of them can be selected based on actual needs during implementation: In Method 1, the third request is only used to subscribe to the mutual access routing information of the first mutual access group corresponding to the first terminal, that is, the fourth information includes the mutual access routing information of the first mutual access group corresponding to the first terminal.

[0119] Method 2, the third request is used to subscribe to the mutual access routing information of the corresponding first mutual access group for all terminals in the first mutual access group that access the second network function, that is, the fourth information includes the mutual access routing information of the corresponding first mutual access group for all terminals in the first mutual access group that access the second network function.

[0120] Optionally, after receiving the fourth information, the first network function determines that the previously generated third information has changed, and therefore can update the third information based on the fourth information. For example, at least one of the following fields in Table 1 above can be filled in based on the fourth information: the terminal's IP address, the terminal's inter-terminal access user plane tunnel information, the identifier of the session control and / or management function, and the identifier of the user plane function, etc. When filling in the information, the parameters used for matching may include at least one of the following: the terminal's identifier, the identifier and / or name of the inter-terminal access group to which the terminal belongs, the identifier of the data network to which the service transport channel corresponding to the inter-terminal access group belongs and / or the corresponding data network, the identifier of the session control and / or management function, etc.

[0121] 2) Receive the fourth request sent by the second network function and send the fifth information to the second network function, wherein the fourth request is used to obtain the fifth information, and the fifth information includes at least one of the following: mutual access routing information of terminals in the first mutual access group that access other session control and / or management functions when establishing the service transmission channel of the first mutual access group, and mutual access routing information of all terminals in the first mutual access group corresponding to the first mutual access group.

[0122] The fourth request may be a subscription request / subscription message regarding the fifth information. In some embodiments, after receiving the third request, if the second network function determines that it has not subscribed to the fifth information from the first network function, it sends a fourth request to the first network function. After receiving the subscription request / subscription message regarding the fifth information, the first network function returns a subscription event notification carrying the fifth information to the second network function. The subscription parameters carried in the fourth request may include at least one of the following: Identification information for the second network function; Identification information for the first mutual visit group; The business transmission channel of the first mutual access group belongs to and / or corresponds to the data network identifier.

[0123] In some embodiments, the second network function subscribes to the fifth information via a fourth request in one of the following two ways, and one of them can be selected according to actual needs during implementation: In Method 1, the fourth request carries the identification information of the second network function, and / or the fourth request is only used to subscribe to the mutual access routing information of the first mutual access group corresponding to terminals that access other session control and / or management functions in the first mutual access group. That is, the fifth information includes the mutual access routing information of terminals in the first mutual access group that access other session control and / or management functions when establishing the service transmission channel of the first mutual access group. Based on the fourth request, the first network function only feeds back the mutual access routing information of the first mutual access group corresponding to terminals that access other session control and / or management functions in the first mutual access group in the subscription event notification. Optionally, to support this implementation, the second network function needs to locally store the mutual access routing information of the first mutual access group corresponding to terminals that access the first mutual access group to this node.

[0124] Method 2, the fourth request is used to subscribe to the mutual access routing information of all terminals in the first mutual access group corresponding to the first mutual access group, that is, the fifth information includes the mutual access routing information of all terminals in the first mutual access group corresponding to the first mutual access group.

[0125] 3) Receive a fifth request sent by the third network function or by the third network function through the second network function, and send sixth information to the third network function or by the second network function through the third network function, wherein the fifth request is used to obtain the sixth information, and the sixth information includes the mutual access routing information of the specified terminal in the first mutual access group corresponding to the first mutual access group.

[0126] The fifth request can be a query request / subscription request / subscription message regarding the sixth information. After receiving the query request / subscription request / subscription message regarding the sixth information, the first network function returns a query notification / subscription event notification carrying the sixth information to the second or third network function. The subscription parameters carried in the fifth request may include at least one of the following: The identification information of the specified terminal; Identification information for the first mutual visit group; The business transmission channel of the first mutual access group belongs to and / or corresponds to the data network identifier.

[0127] In some embodiments of this application, the mutual access routing information of a terminal within the first mutual access group may include at least one of the following: Identification information for the first mutual visit group; Terminal identification information; The data network identifier to which and / or which is corresponding to the business transmission channel of the first mutual access group belongs; The identification information of the session control and / or management functions selected by the terminal when establishing a service transmission channel corresponding to the first mutual access group; The identification information of the user plane function selected by the terminal when establishing a service transmission channel corresponding to the first mutual access group; The session control and / or management functions and / or user plane functions selected by the terminal when establishing a service transmission channel corresponding to the first mutual access group are the IP addresses assigned to the terminal. When a terminal establishes a service transmission channel corresponding to the first mutual access group, the user plane function it selects is the terminal mutual access user plane tunnel information allocated to the terminal corresponding to the first mutual access group.

[0128] In the above process, to avoid IP address conflicts assigned to the terminal by different session control and / or management functions (such as SMF) and / or user plane functions (such as UPF), a mechanism to prevent IP address conflicts can be added to the first network function. Therefore, optionally, Figure 11 The terminal communication implementation method shown may further include, after step 1102: After obtaining the fourth information, it is determined whether there is a conflict between the IP address of the second terminal and the IP address of the third terminal. The second terminal is any terminal in the first mutual access group included in the fourth information, and the third terminal includes other terminals in the first mutual access group other than the second terminal whose IP addresses were allocated when the first network function established the service transmission channel corresponding to the first mutual access group. If there is a conflict between the IP address of the second terminal and the IP address of the third terminal, a first instruction message is sent to the second network function, wherein the first instruction message is used to instruct the second network function to reassign an IP address to the second terminal.

[0129] Step 1103: Send first information to the first application platform, wherein the first information includes mutual access routing information of at least some terminals in the first mutual access group.

[0130] In some embodiments, terminals within the first mutual access group can obtain the information required for mutual access from the first platform to achieve mutual access.

[0131] As an example, the first information may include at least one of the following: Identification information of at least some terminals within the first mutual access group; Identification information for the first mutual visit group; The first mutual access group's service transmission channel belongs to and / or corresponds to the data network identifier (such as DNN). Within the first mutual access group, the terminal establishes an IP address corresponding to the session control and / or management functions and / or user plane functions selected when establishing the first mutual access group; Terminals within the first mutual access group establish identification information corresponding to the user face function selected when entering the first mutual access group, and so on.

[0132] Optionally, Figure 11The terminal interoperability implementation method shown can also discover the first application platform through at least one of the following methods before step 1103: Method 1: Discover the first application platform based on the application platform information configured locally by the first network function; Method 2: Query the fifth network function (such as NRF) based on the thirteenth information to discover the first application platform. The thirteenth information includes at least one of the identification information of the first mutual access group, the identification information of the first terminal, and the identification of the data network to which the service transmission channel of the first mutual access group belongs and / or corresponds. Method 3: Discover the first application platform based on the fourteenth information obtained from the terminal mutual access service permission activation information of the first terminal and / or the terminal mutual access group information corresponding to the first mutual access group, wherein the fourteenth information includes the group information of the first mutual access group and / or the information of the first application platform to which the first terminal belongs.

[0133] Figure 11 The terminal inter-access method shown is executed by a first network function that has functions such as collecting information required for terminal inter-access. On the one hand, since the first network function can select the session control and / or management functions when establishing a service transmission channel corresponding to the first inter-access group with the first terminal, and exchange inter-access routing information of at least some terminals in the first inter-access group, this allows the user plane function selected by the terminal in the first inter-access group to directly obtain the information required for terminal inter-access from the session control and / or management functions to realize terminal inter-access, or directly or indirectly obtain the information required for terminal inter-access from the first network function, without needing to configure the relevant information required for terminal inter-access in the user plane function in advance. Thus, the terminal inter-access method provided in some embodiments of this application can support terminal-based inter-access. The implementation of dynamically selecting a third network function (such as UPF) and assigning dynamic IP addresses to terminals based on terminal location and other information enables flexible inter-terminal communication and avoids the problem of large workload in configuring information required for terminal communication. It supports load-sharing and disaster recovery methods for third network functions (such as group POOL) to improve the resource utilization of user plane functions. On the other hand, since the first network function can also send the communication routing information of at least some terminals within the first communication group to a first application platform accessible to the terminals, terminals within the first communication group can obtain the necessary communication information from the first application platform. This allows some information required for terminal communication (such as the terminal's IP address) to be dynamically configured rather than statically fixed, resulting in greater flexibility and better support for terminal mobility. Furthermore, the IP address conflict resolution methods in some embodiments can also avoid the problem of IP address conflicts between different terminals.

[0134] Some embodiments of this application also propose a terminal mutual access implementation method, which can be applied to a second network function. The second network function can be a session control and / or management function (such as SMF) selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group. The first terminal is any terminal belonging to the first mutual access group. Figure 12 As shown, the method may include: step 1201 and / or step 1202.

[0135] Step 1201: Receive a third request from the first network function and send fourth information to the first network function. The third request is used to obtain the fourth information, which includes the mutual access routing information of the first terminal corresponding to the first mutual access group or the mutual access routing information of all terminals in the first mutual access group that access the second network function corresponding to the first mutual access group.

[0136] The third request may be a subscription request / message regarding the fourth information. After receiving the subscription request / message regarding the fourth information, the second network function returns a subscription event notification carrying the fourth information to the first network function. If the first terminal deregisters with the network, the subscription to the fourth information can be cancelled. The subscription parameters provided in the third request may include at least one of the following: Identification information of the first terminal; Identification information for the first mutual visit group; The business transmission channel of the first mutual access group belongs to and / or corresponds to the data network identifier.

[0137] In some embodiments, the first network function subscribes to the fourth information via a third request in two ways, and one of them can be selected based on actual needs during implementation: In Method 1, the third request is only used to subscribe to the mutual access routing information of the first mutual access group corresponding to the first terminal, that is, the fourth information includes the mutual access routing information of the first mutual access group corresponding to the first terminal.

[0138] Method 2, the third request is used to subscribe to the mutual access routing information of the corresponding first mutual access group for all terminals in the first mutual access group that access the second network function, that is, the fourth information includes the mutual access routing information of the corresponding first mutual access group for all terminals in the first mutual access group that access the second network function.

[0139] Optionally, Figure 12 The terminal mutual access implementation method shown may further include at least one of the following (two methods for allocating terminal mutual access user plane tunnel information to the first terminal) before step 1201: 1) If the first terminal meets the first condition and the second condition, instruct the third network function to allocate terminal mutual access user plane tunnel information corresponding to the first mutual access group to the first terminal.

[0140] The first condition includes enabling terminal mutual access service permissions and / or setting terminal mutual access group information corresponding to the first mutual access group. The third network function is the user plane function selected when the first terminal establishes a service transmission channel corresponding to the first mutual access group. The second condition may include: ① The service transmission channel established by the first terminal corresponding to the first mutual access group is: a service transmission channel established based on the data network identifier to which the service transmission channel of the first mutual access group belongs and / or corresponds; ② The third network function has not been assigned terminal mutual access user plane tunnel information corresponding to the first mutual access group.

[0141] As an example, the second network function can obtain information from UDM / UDR, such as whether the first terminal has subscribed to the terminal inter-access service, set up the terminal inter-access group information corresponding to the first inter-access group, and the corresponding service transmission channel name identifier and / or identifier. After determining that the first terminal meets the first condition, it further determines that the first terminal meets the above-mentioned second condition, and then instructs the third network function to allocate terminal inter-access user plane tunnel information corresponding to the first inter-access group to the first terminal.

[0142] 2) If the first terminal meets the first condition and the third condition, instruct the third network function to allocate terminal mutual access user plane tunnel information corresponding to the first mutual access group to the first terminal.

[0143] The first condition is the same as above and will not be repeated. The third condition may include: ① The service transmission channel established by the first terminal corresponding to the first mutual access group is: a service transmission channel established based on the data network identifier to which the service transmission channel of the first mutual access group belongs and / or corresponds; ② The third network function has not been assigned terminal mutual access user plane tunnel information corresponding to the first mutual access group; ③ When other terminals in the first mutual access group establish a service transmission channel corresponding to the first mutual access group, the user plane function they select is different from the third network function.

[0144] As an example, the second network function can obtain information from UDM / UDR, such as whether the first terminal has subscribed to the terminal inter-access service, set up the terminal inter-access group information corresponding to the first inter-access group, and the corresponding service transmission channel name identifier and / or identifier. After determining that the first terminal meets the first condition, it further determines that the first terminal meets the above-mentioned third condition, and then instructs the third network function to allocate terminal inter-access user plane tunnel information corresponding to the first inter-access group to the first terminal.

[0145] Optionally, after receiving the first request, the second network function... Figure 12The method shown may further include: generating and saving the fifteenth information locally, wherein the fifteenth information includes mutual access routing information of at least some terminals within the first mutual access group, for example, the fifteenth information may include, but is not limited to, at least one of the following: Identification information of at least some terminals in the first mutual access group; Identification information for the first mutual visit group; The data network identifier to which and / or which is corresponding to the business transmission channel of the first mutual access group belongs; Identification information of the session control and / or management functions selected by at least some terminals in the first mutual access group when establishing a service transmission channel corresponding to the first mutual access group; The identification information of the user plane function selected by at least some terminals in the first mutual access group when establishing a service transmission channel corresponding to the first mutual access group; The IP addresses assigned to at least some terminals in the first mutual access group when establishing a service transmission channel corresponding to the first mutual access group; Terminal mutual access user plane tunnel information allocated when at least some terminals in the first mutual access group establish a service transmission channel corresponding to the first mutual access group.

[0146] As an example, the fifteenth piece of information may include at least one piece of information as shown in Table 2 or Table 3.

[0147] Table 2. An example of information number fifteen.

[0148] Table 3. Another example of information number fifteen.

[0149] Step 1202: Send a fourth request to the first network function and receive fifth information sent by the first network function. The fourth request is used to obtain the fifth information, which includes at least one of the following: mutual access routing information of terminals in the first mutual access group that access other session control and / or management functions when establishing the service transmission channel of the first mutual access group; mutual access routing information of all terminals in the first mutual access group corresponding to the first mutual access group; and mutual access routing information of a specified terminal in the first mutual access group corresponding to the first mutual access group.

[0150] The fourth request may be a subscription request / subscription message regarding the fifth information. In some embodiments, after receiving the third request, if the second network function determines that it has not subscribed to the fifth information from the first network function, it sends a fourth request to the first network function. After receiving the subscription request / subscription message regarding the fifth information, the first network function returns a subscription event notification carrying the fifth information to the second network function. The subscription parameters carried in the fourth request may include at least one of the following: Identification information for the second network function; Identification information for the first mutual visit group; The business transmission channel of the first mutual access group belongs to and / or corresponds to the data network identifier.

[0151] In some embodiments, the second network function subscribes to the fifth information via a fourth request in one of the following two ways, and one of them can be selected according to actual needs during implementation: In Method 1, the fourth request carries the identification information of the second network function, and / or the fourth request is only used to subscribe to the mutual access routing information of the first mutual access group corresponding to terminals that access other session control and / or management functions in the first mutual access group. That is, the fifth information includes the mutual access routing information of terminals in the first mutual access group that access other session control and / or management functions when establishing the service transmission channel of the first mutual access group. Based on the fourth request, the first network function only feeds back the mutual access routing information of the first mutual access group corresponding to terminals that access other session control and / or management functions in the first mutual access group in the subscription event notification. Optionally, to support this implementation, the second network function needs to locally store the mutual access routing information of the first mutual access group corresponding to terminals that access the first mutual access group to this node.

[0152] Method 2, the fourth request is used to subscribe to the mutual access routing information of all terminals in the first mutual access group corresponding to the first mutual access group, that is, the fifth information includes the mutual access routing information of all terminals in the first mutual access group corresponding to the first mutual access group.

[0153] Method 3: The fourth request is used to subscribe to the mutual access routing information of the specified terminal in the first mutual access group corresponding to the first mutual access group. That is, the fifth information includes the mutual access routing information of the specified terminal in the first mutual access group corresponding to the first mutual access group. The subscription parameters carried in the fourth request may include at least one of the following: The identification information of the specified terminal; Identification information for the first mutual visit group; The business transmission channel of the first mutual access group belongs to and / or corresponds to the data network identifier.

[0154] In some embodiments of this application, the mutual access routing information of a terminal within the first mutual access group may include at least one of the following: Identification information for the first mutual visit group; Terminal identification information; The data network identifier to which and / or which is corresponding to the business transmission channel of the first mutual access group belongs; The identification information of the session control and / or management functions selected by the terminal when establishing a service transmission channel corresponding to the first mutual access group; The identification information of the user plane function selected by the terminal when establishing a service transmission channel corresponding to the first mutual access group; The session control and / or management functions and / or user plane functions selected by the terminal when establishing a service transmission channel corresponding to the first mutual access group are the IP addresses assigned to the terminal. When a terminal establishes a service transmission channel corresponding to the first mutual access group, the user plane function it selects is the terminal mutual access user plane tunnel information allocated to the terminal corresponding to the first mutual access group.

[0155] In the above process, to avoid IP address conflicts assigned to the terminal by different session control and / or management functions (such as SMF) and / or user plane functions (such as UPF), a mechanism to prevent IP address conflicts can be added to the first network function and the second network function. Therefore, optionally, Figure 12 The terminal communication implementation method shown includes, after step 1201: After sending the fourth information to the first network function, the system receives the first instruction information sent by the first network function, wherein the first instruction information is used to instruct the second network function to reassign an IP address to the second terminal, and the second terminal is any terminal in the first mutual access group included in the fourth information. The IP address of the second terminal is reassigned according to the first instruction information, or the sixth network function is instructed to reassign the IP address of the second terminal according to the first instruction information. The IP address reassigned to the second terminal is different from the IP address of the third terminal. The third terminal includes other terminals in the first mutual access group other than the second terminal whose IP addresses were assigned when the first network function established the service transmission channel corresponding to the first mutual access group. The sixth network function is the user plane function selected by the second terminal when establishing the service transmission channel corresponding to the first mutual access group.

[0156] The second terminal may or may not be the same as the first terminal.

[0157] Optionally, Figure 12 The method may further include updating the fifteenth information if it changes. For example, after step 1202, the second network function may update the fifteenth information based on the fifth information. Specifically, the second network function may fill in the values ​​of relevant fields in Table 2 or Table 3 based on the fifth information. When filling in Table 2 or Table 3, the parameters used for matching may include at least one of the following: the identification information of the first mutual access group, the data network identifier to which the service transmission channel of the first mutual access group belongs and / or corresponds, and the identification information of terminals within the first mutual access group, etc.

[0158] Optionally, Figure 12The method shown may further include sending seventh information to a third network function, wherein the third network function is the user plane function selected by the first terminal when establishing a service transport channel (such as a 5G PDU session) corresponding to the first mutual access group, and the seventh information includes mutual access routing information of at least some terminals within the first mutual access group. For example, the second network function may synchronize the mutual access routing information of at least some terminals within the first mutual access group listed in Table 2 to the third network function (such as UPF).

[0159] Figure 12 The terminal inter-access method shown here allows the second network function (the session control and / or management function selected by the first terminal when establishing a service transmission channel corresponding to the first inter-access group) to interact with the first network function to exchange inter-terminal access routing information of at least some terminals within the first inter-access group. This enables the user plane function selected by the terminal within the first inter-access group to directly obtain the information required for terminal inter-access from the session control and / or management function to achieve terminal inter-access, or directly or indirectly obtain the information required for terminal inter-access from the first network function to achieve terminal inter-access, without the need to configure the relevant information required for terminal inter-access in the user plane function in advance. As a result, the terminal inter-access method provided in some embodiments of this application can support the implementation of dynamically selecting a third network function (such as UPF) and allocating a dynamic IP address to the terminal based on terminal location and other information, instead of pre-configuring access UPF information and static IP addresses. This provides greater flexibility, better supports terminal mobility, enables flexible inter-terminal access, avoids the problem of large workload in configuring the information required for terminal inter-access, and supports the load sharing and disaster recovery methods of the third network function (such as group POOL disaster recovery methods) to improve the resource utilization of the user plane function.

[0160] Furthermore, in some embodiments, the sixth network function (user plane function) can dynamically allocate IP addresses to the second terminal instead of pre-configuring static IP addresses, offering greater flexibility and better support for terminal mobility. Additionally, the IP address conflict resolution solutions in some embodiments can also prevent IP address conflicts between different terminals.

[0161] Some embodiments of this application also propose a terminal mutual access implementation method, which can be applied to a third network function. The third network function can be a user plane function (such as UPF) selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group. The first terminal is any terminal belonging to the first mutual access group. Figure 13 As shown, the method may include: step 1301 and / or step 1302.

[0162] Step 1301: Send a fifth request to the first network function or to the first network function through the second network function, and receive a sixth message sent by the first network function or by the first network function through the second network function, so as to realize the inter-terminal access service within the first mutual access group.

[0163] The second network function is the session control and / or management function selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group. The first terminal can be any terminal in the first mutual access group. The fifth request is used to obtain the sixth information, which includes the mutual access routing information of the specified terminal in the first mutual access group corresponding to the first mutual access group.

[0164] The fifth request can be a query request / subscription request / subscription message regarding the sixth information. After receiving the query request / subscription request / subscription message regarding the sixth information, the first network function returns a query notification / subscription event notification carrying the sixth information to the second or third network function. The subscription parameters carried in the fifth request may include at least one of the following: The identification information of the specified terminal; Identification information for the first mutual visit group; The business transmission channel of the first mutual access group belongs to and / or corresponds to the data network identifier.

[0165] Step 1302: Receive the seventh message sent by the second network function to realize the inter-terminal access service within the first mutual access group to which the first terminal belongs.

[0166] The second network function is the session control and / or management function selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group. The first terminal can be any terminal in the first mutual access group. The seventh information includes mutual access routing information of at least some terminals in the first mutual access group.

[0167] Figure 13 The terminal inter-access method shown here, because the third network function (the user plane function selected by the first terminal when establishing a service transmission channel corresponding to the first inter-access group) can obtain the inter-terminal access routing information of at least some terminals in the first inter-access group from the first network function or the second network function, does not require prior configuration of the relevant information required for terminal inter-access in the third network function. Therefore, the terminal inter-access method provided in some embodiments of this application can support the implementation of dynamically selecting the third network function (such as UPF) and allocating dynamic IP addresses to the terminal based on terminal location and other information, instead of pre-configuring access UPF information and static IP addresses. This method is more flexible, can better support the mobility of terminals, realize flexible inter-terminal access, and avoid the problem of a large workload in configuring the information required for terminal inter-access.

[0168] Some embodiments of this application also propose a method for implementing terminal inter-access, which can be applied to a first application platform. For example... Figure 14 As shown, the method may include: Step 1401: Receive first information sent by the first network function, wherein the first information includes mutual access routing information of at least some terminals in the first mutual access group; Step 1402: Receive a query request from the first terminal to query the eighth information; Step 1403: In response to the query request, send the eighth information to the first terminal; wherein the eighth information is used by the first terminal to initiate mutual access services to other terminals in the first mutual access group.

[0169] Wherein, the first terminal belongs to the first mutual access group, and the eighth information may include, but is not limited to, at least one of the following: group information of the first mutual access group, mutual access routing information of terminals within the first mutual access group, and online status information of terminals within the first mutual access group. Specifically, the eighth information may include, but is not limited to, at least one of the following: group information of the first mutual access group, mutual access routing information of all terminals or other terminals within the first mutual access group, and online status information of all terminals or other terminals within the first mutual access group.

[0170] The number of other terminals besides the first terminal in the first mutual access group can be one or more; when there is one other terminal besides the first terminal in the first mutual access group, the first terminal can initiate mutual access service for that single other terminal; when there are multiple other terminals besides the first terminal in the first mutual access group, the first terminal can initiate mutual access service for each of these multiple other terminals.

[0171] Optionally, before step 1401, Figure 14 The method shown may also include at least one of the following: 1) In response to the ninth request sent by the first business system, enable terminal mutual access service permissions for the first terminal and / or configure terminal mutual access group information corresponding to the first mutual access group. As mentioned above, in some embodiments, the first business system may be an existing business activation system, such as a Business & Operation Support System (BOSS). The first business system may send the ninth request to the first application platform to enable terminal mutual access service permissions for the first terminal and / or configure terminal mutual access group information corresponding to the first mutual access group.

[0172] 2) Obtaining second information, wherein the second information is sent after the fourth network function or the first network function obtains the permission to enable terminal mutual access service for the first terminal and / or configures the terminal mutual access group information corresponding to the first mutual access group. The fourth network function includes a network function for storing user subscription data. The second information includes the terminal mutual access service activation information and / or terminal mutual access group information of the first terminal.

[0173] 3) In response to the sixth request sent by the first terminal, configure and / or update the terminal access group information of the first terminal.

[0174] Optionally, the first application platform can also send the configured and / or updated terminal access group information of the first terminal to the first network function. That is, in some embodiments, the first application platform supports the first terminal in setting and / or updating terminal access group information in real time and synchronizing the relevant information to the first network function. In this embodiment, the first application platform can set relevant permissions for user terminals to configure and / or update terminal access group information, and these permissions may include at least one of the following: ① Does the system allow users to set group information? ② Set the user scope of the relevant groups (such as the relevant code range, etc.); ③ The name of the service transmission channel corresponding to the mutual access of the terminals in this group and / or the data network identifier (such as DNN) to which the service transmission channel belongs and / or the corresponding data network identifier. ④ The name and / or identifier of the terminal mutual access group, etc.

[0175] Optionally, after configuring and / or updating the terminal inter-access group information of the first terminal, Figure 14 The method may further include: authenticating the terminal access group information of the configured and / or updated first terminal based on the tenth information, wherein the tenth information includes at least one of the following: terminal access service activation information for the first terminal, pre-configured terminal access group information, and pre-configured permission requirement information related to the terminal access group information set by the first terminal. For example, the first application platform may authorize and authenticate the group information configured and / or updated by the first terminal based on the activation and / or pre-configuration information from the first business system / first network function / fourth network function. Wherein, if the first network function receives a terminal access group name and / or identifier from the fourth network function / first business system, it may further generate a terminal access group identifier, and / or further generate association information between the pre-configured terminal access group identifier and the terminal access group name and / or identifier. The terminal access group identifier should be unique across the entire network or within the operator's network and should be fed back to the first application platform as needed.

[0176] The terminal mutual access group information opened and / or configured for the first terminal may include at least one of the following: Identification information of the first terminal; The group identification information of the first mutual access group to which the first terminal belongs, such as the name of the first mutual access group, the group ID of the first mutual access group, etc. The first mutual access group can be one of the terminal mutual access groups to which the first terminal belongs; The identifier of the service transmission channel of the first mutual access group to which the first terminal belongs and / or the corresponding data network identifier, such as DNN.

[0177] Optionally, before step 1402, Figure 14 The method shown may also include: In response to a service request sent by the first terminal through a preset function, a service transmission channel for a first mutual access group is established with the first terminal.

[0178] Optionally, before step 1402, Figure 14 The method shown may also include: In response to the registration request sent by the first terminal through the service transmission channel of the first mutual access group, the first terminal is registered to the first application platform, and the twelfth information carried in the registration request is received.

[0179] The twelfth piece of information includes at least one of the following: Identification information of the first terminal; The identifier of the service transmission channel corresponding to the session and / or the corresponding data network; The second network function and / or the third network function are the IP addresses assigned to the first terminal. The second network function is the session control and / or management function selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group. The third network function is the user plane function selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group.

[0180] The preset functions may include, but are not limited to, at least one of the following: functions related to built-in applications (such as SDKs), mini-programs, and terminal modules.

[0181] Based on this, step 1402 may include: receiving a query request from the first terminal via a session to query the eighth information. Step 1403 may include: in response to the query request, sending the eighth information to the first terminal via the session.

[0182] Figure 14The terminal mutual access method shown in the figure is such that, since the first application platform receives mutual access routing information from at least some terminals in the first mutual access group of the first network function, the terminals in the first mutual access group can obtain the eighth information required for mutual access from the first application platform. As a result, some information required for terminal mutual access (such as the IP address of the terminal) can be dynamically configured instead of being statically fixed, which is more flexible and can better support the mobility of the terminals.

[0183] Some embodiments of this application also propose a terminal inter-access method, which can be applied to a fourth network function or a seventh network function. The fourth network function may include a network function for storing user subscription data, and the seventh network function may provide identification information of a second network function. For example, the seventh network function may include, but is not limited to, at least one of a network function for storing user subscription data (such as UDM / UDR) and a policy control function (such as PCF / UDR). Figure 15 As shown, the method may include: Step 1501: In response to the seventh request sent by the first business system, enable terminal mutual access service permission for the first terminal and / or configure terminal mutual access group information corresponding to the first mutual access group.

[0184] In some embodiments, the first business system may be an existing business activation system, such as a Business & Operation Support System (BOSS). The first business system may send a first request to the fourth network function to activate the terminal mutual access service permission for the first terminal and / or configure the terminal mutual access group information corresponding to the first mutual access group.

[0185] Step 1502: Send second information to the first network function and / or the first application platform, wherein the second information includes the terminal inter-access service activation information and / or terminal inter-access group information of the first terminal.

[0186] The terminal inter-terminal access service activation information and / or terminal inter-terminal access group information of the first terminal may include at least one of the following: Identification information of the first terminal; The group identification information of the first mutual access group to which the first terminal belongs, such as the name of the first mutual access group, the group ID of the first mutual access group, etc. The first mutual access group can be one of the terminal mutual access groups to which the first terminal belongs; The identifier of the service transmission channel of the first mutual access group to which the first terminal belongs and / or the corresponding data network identifier, such as DNN.

[0187] It should be noted that the group ID of a terminal mutual access group should be unique across the entire network or within the operator's network.

[0188] Optionally, Figure 15 The method shown may also include: The system receives an eighth request sent by the first network function, wherein the eighth request is used to obtain the identification information of the second network function, and the second network function is the service transmission channel session control and / or management function selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group. The sixteenth piece of information is fed back to the first network function, which includes the identification information of the second network function.

[0189] The first terminal can be any terminal belonging to the first mutual access group.

[0190] For example, after receiving notification that the first terminal has registered with the network, the first network function can query the relevant network function (such as NRF) based on the first terminal's identification information to find the seventh network function (such as UDM / UDR, PCF / UDR, etc.) to which the first terminal belongs, and send a request / subscription message to the seventh network function regarding the identification information of the second network function. Upon receiving the request / subscription message, the seventh network function returns a subscription event notification carrying the identification information of the second network function to the first network function. Optionally, after receiving notification that the first network function has deregistered with the network, the first network function can cancel the subscription.

[0191] Figure 15 The embodiment shown proposes a terminal mutual access implementation method, which can enable terminal mutual access service permissions for a first terminal and / or configure terminal mutual access group information corresponding to a first mutual access group, and send this information to a first network function and / or a first application platform, thereby making preliminary preparations for mutual access of terminals within the first mutual access group.

[0192] Some embodiments of this application also propose a method for implementing terminal inter-terminal communication, which can be applied to a first terminal. For example... Figure 16 As shown, the method may include: Step 1601: Send a query request for the eighth information to the first application platform.

[0193] Step 1602: Obtain the eighth information returned by the first application platform.

[0194] Step 1603: Initiate mutual access services for other terminals within the first mutual access group based on the eighth information.

[0195] Wherein, the first terminal belongs to the first mutual access group, and the eighth information includes at least one of the following: group information of the first mutual access group, mutual access routing information within the first mutual access group, and online status information of terminals within the first mutual access group. Specifically, the eighth information may include, but is not limited to, at least one of the following: group information of the first mutual access group, mutual access routing information of all terminals or other terminals within the first mutual access group, and online status information of all terminals or other terminals within the first mutual access group.

[0196] The number of other terminals besides the first terminal in the first mutual access group can be one or more; when there is one other terminal besides the first terminal in the first mutual access group, the first terminal can initiate mutual access service for that single other terminal; when there are multiple other terminals besides the first terminal in the first mutual access group, the first terminal can initiate mutual access service for each of these multiple other terminals.

[0197] In some embodiments, step 1601 may include: when a service transmission channel is established with the first application platform through a preset functional body, or when a service transmission channel is established with the first application platform through a preset functional body and the user registers with the first application platform, sending a query request for the eighth information to the first application platform through the service transmission channel.

[0198] In some embodiments, prior to step 1601, the method may further include: The system sends a service request to the first application platform through a preset function to establish a service transmission channel with the first application platform; or, The system sends a business request to the first application platform through a preset function to establish a business transmission channel with the first application platform; and sends a registration request to the first application platform through the business transmission channel to register with the first application platform.

[0199] The preset functions may include, but are not limited to, at least one of the following: functions related to built-in applications (such as SDKs), mini-programs, and terminal modules.

[0200] The registration request includes a twelfth piece of information, which includes at least one of the following: Identification information of the first terminal; The identifier of the service transmission channel corresponding to the session and / or the corresponding data network; The second network function and / or the third network function are the IP addresses assigned to the first terminal. The second network function is the session control and / or management function selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group. The third network function is the user plane function selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group.

[0201] Figure 16 The method for implementing terminal mutual access shows that the first terminal in the first mutual access group can obtain the eighth information required for mutual access from the first application platform, so that some information required for terminal mutual access (such as the IP address of the terminal) can be dynamically configured instead of being statically fixed, which is more flexible and can better support the mobility of the terminal.

[0202] The following is through Figure 17 and Figure 18 An example of a terminal communication implementation method proposed in some embodiments of this application is provided for illustration.

[0203] like Figure 17 As shown, in a terminal mutual access implementation method proposed in some embodiments of this application, the network side's granting of terminal mutual access permissions to the first terminal and / or configuration of terminal mutual access group information corresponding to the first mutual access group may include at least one of the following methods 1 and 2.

[0204] Method 1 may include at least one of the following steps: Step 1a-1: The first business system (such as BOSS) 171 sends a first request to the first network function 173. The first request is used to request the first network function 173 to enable terminal mutual access service permission for the first terminal and / or configure terminal mutual access group information corresponding to the first mutual access group.

[0205] Step 1a-2, the first business system (such as BOSS, etc.) 171 sends a fifth request to the first application platform 174. The fifth request is used to request the first application platform 174 to enable terminal mutual access service permissions for the first terminal and / or configure terminal mutual access group information corresponding to the first mutual access group.

[0206] Method 2 may include: Step 1b-1, the first business system (such as BOSS, etc.) 171 sends a seventh request to the fourth network function / seventh network function 172. The seventh request is used to request the fourth network function / seventh network function 172 to enable terminal mutual access service permission for the first terminal and / or configure terminal mutual access group information corresponding to the first mutual access group.

[0207] Step 2b-1 (optionally), the fourth network function / seventh network function 172 sends second information to the first network function 173, wherein the second information includes the terminal inter-access service activation information and / or terminal inter-access group information of the first terminal.

[0208] Step 2b-2 (optionally), the fourth network function / seventh network function 172 sends second information to the first application platform 174, wherein the second information includes the terminal inter-access service activation information and / or terminal inter-access group information of the first terminal.

[0209] The terminal mutual access group information opened and / or configured for the first terminal may include at least one of the following: Identification information of the first terminal; The group identification information of the first mutual access group to which the first terminal belongs, such as the name of the first mutual access group, the group ID of the first mutual access group, etc. The first mutual access group can be one of the terminal mutual access groups to which the first terminal belongs; The identifier of the service transmission channel of the first mutual access group to which the first terminal belongs and / or the corresponding data network identifier, such as DNN.

[0210] like Figure 18 As shown, some embodiments of this application propose a terminal communication implementation method, which may include: Step 1: When the first terminal 175 meets the first condition, the first network function 173 (such as ANDPF) queries the relevant network function (such as NRF) based on the identification information of the first terminal 175 to find the fourth network function / seventh network function 172 to which the terminal belongs (such as network function 1721 used to store user subscription data, specifically UDM / UDR), and subscribes to the network registration status information of the first terminal from the user subscription data storage repository function 1721.

[0211] The terminal's network registration status information may include at least one of the following: whether the terminal is currently registered to the network, and network registration status change events of the terminal.

[0212] Step 2: The first terminal 175 initiates a network registration request, performs network registration, and saves the network registration status information in the user subscription data storage function.

[0213] During the registration process, authentication and location updates, as well as other mobility management functions, are performed between the network and the first terminal 175, following existing 5G standards. When the first terminal 175 registers with the network or deregisters, the user subscription data repository function 1721 to which the first terminal 175 belongs saves the network registration status information of the first terminal. This process involves network functions such as the radio access network 176, access and mobility management function 177, policy control function 1722, and user subscription data repository 1721, which will not be described in detail here.

[0214] It should be noted that there are no time sequence requirements between steps 1 and 2.

[0215] Step 3: Regarding the subscription in Step 1, the user subscription data storage function 1721 (e.g., 5G UDM / UDR) returns the network registration status information of the first terminal to the first network function 173 (e.g., ANDPF). Accordingly, the first network function 173 obtains the network registration status information of the first terminal (e.g., registered or unregistered).

[0216] Step 4: After receiving the notification that the first terminal has registered with the network, the first network function 173 subscribes to the identification information of the second network function from the fourth network function / seventh network function 172 (such as UDM / UDR, PCF / UDR, etc.). The second network function is the session control and / or management function (such as SMF) selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group.

[0217] Specifically, the first network function 173 can query relevant network functions (such as NRF) based on the identification information of the first terminal 175 to discover the fourth / seventh network function 172 (such as UDM / UDR, PCF / UDR, etc.) to which the first terminal belongs. After receiving a subscription request / subscription message from the first network function 173, the fourth / seventh network function 172 returns a data subscription event notification carrying the identification information of the second network function to the first network function 173. Optionally, after receiving a notification from the first network function 173 that the first terminal is registering with a network, the first network function 173 cancels the subscription.

[0218] As an example, step 4 may include at least one of the following: Step 4a, the first network function 173 subscribes to the identification information of the second network function by signing up the user's data storage function 1721; Step 4b: The first network function 173 subscribes to the identification information of the second network function from PCF 1722.

[0219] Step 5: The first terminal 175 establishes a service transmission channel corresponding to the first mutual access group.

[0220] It should be noted that step 5 is usually executed after step 2, but there is no requirement for the execution order of steps 5, 3, and 4. In step 5, the specific process by which the first terminal 175 establishes a service transmission channel (such as a 5G session) corresponding to the first mutual access group can be referred to existing technologies.

[0221] Optionally, in step 5, after the second network function 178 interacts with relevant network functions (such as UDM, PCF, etc.) and completes the corresponding process, the relevant network functions (such as UDM, PCF, etc.) save the identification information of the second network function 178.

[0222] Optionally, for the first terminal that has signed up for the terminal interoperability service, a session with the first application platform 174 can be initiated based on a preset functional body, and registration with the first application platform 174 can be performed as needed based on pre-configured rules. Afterwards, the first terminal 175 can interact with the first application platform 174 through the established session to obtain at least one of the following information: terminal interoperability group information of the first interoperability group, interoperability routing information of terminals within the first interoperability group, and online status information of terminals within the first interoperability group. The preset functional body may include, but is not limited to, at least one of the following: built-in applications (such as SDKs), mini-programs, and related functions of terminal modules.

[0223] Optionally, the second network function 178 may assign terminal mutual access user plane tunnel information corresponding to the first mutual access group to the first terminal in one of the following two ways: 1) If the first terminal meets the first condition and the second condition, instruct the third network function to allocate terminal mutual access user plane tunnel information corresponding to the first mutual access group to the first terminal.

[0224] The first condition includes enabling terminal mutual access service permissions and / or setting terminal mutual access group information corresponding to the first mutual access group. The third network function is the user plane function selected when the first terminal establishes a service transmission channel corresponding to the first mutual access group. The second condition may include: ① The service transmission channel established by the first terminal corresponding to the first mutual access group is: a service transmission channel established based on the data network identifier to which the service transmission channel of the first mutual access group belongs and / or corresponds; ② The third network function has not been assigned terminal mutual access user plane tunnel information corresponding to the first mutual access group.

[0225] As an example, the second network function can obtain information from UDM / UDR, such as whether the first terminal has subscribed to the terminal inter-access service, set up the terminal inter-access group information corresponding to the first inter-access group, and the corresponding service transmission channel name identifier. After determining that the first terminal meets the first condition, it further determines that the first terminal meets the above-mentioned second condition, and then instructs the third network function to allocate terminal inter-access user plane tunnel information corresponding to the first inter-access group to the first terminal.

[0226] 2) If the first terminal meets the first condition and the third condition, instruct the third network function to allocate terminal mutual access user plane tunnel information corresponding to the first mutual access group to the first terminal.

[0227] The first condition is the same as above and will not be repeated. The third condition may include: ① The service transmission channel established by the first terminal corresponding to the first mutual access group is: a service transmission channel established based on the data network identifier to which the service transmission channel of the first mutual access group belongs and / or corresponds; ② The third network function has not been assigned terminal mutual access user plane tunnel information corresponding to the first mutual access group; ③ When other terminals in the first mutual access group establish a service transmission channel corresponding to the first mutual access group, the user plane function they select is different from the third network function.

[0228] It should be noted that: When the first method described above is used to allocate user plane tunnel information for terminal mutual access corresponding to the first mutual access group to the first terminal, the difference from the existing standard process is that: the second network function determines that the service transmission channel involves terminal mutual access requirements, and when selecting the user plane function (such as the third network function 179) and controlling the user plane function to allocate user plane tunnel resources to the first terminal (for example, the SMF controls the UPF to allocate user plane tunnel resources such as N3 and N9 through the N4 session message), it also allocates user plane tunnel resources for terminal mutual access within the first mutual access group.

[0229] When the first terminal is allocated user plane tunnel information corresponding to the first mutual access group using the method described above (2), user plane tunnel resources for terminal mutual access within the first mutual access group are allocated if the first and third conditions are met.

[0230] Optionally, if the second network function 178 obtains that the first terminal has subscribed to the terminal inter-access service during the interaction process with the relevant network function (such as UDM), it saves the fifteenth information locally (the fifteenth information may include basic communication information such as inter-access routing information of terminals in the first inter-access group accessing this node), and synchronizes it to the user plane function (third network function 179, such as UPF) selected by the first terminal when establishing the service transmission channel corresponding to the first inter-access group (such as a 5G PDU session corresponding to the terminal inter-access DNN). As an example, the fifteenth information may include at least one piece of information as shown in Table 2 above.

[0231] Step 6: After receiving the subscription request / subscription message from the first network function 173 for the identification information of the second network function, the fourth network function / seventh network function 172 (such as UDM / UDR, PCF / UDR, etc.) returns a data subscription event notification carrying the identification information of the second network function to the first network function 173.

[0232] As an example, step 6 may include at least one of the following: Step 6a, the user-subscribed data storage function 1721 returns a data subscription event notification carrying the identification information of the second network function to the first network function 173; In step 6b, PCF 1722 returns a data subscription event notification carrying the identification information of the second network function to the first network function 173.

[0233] Step 7: After receiving the identification message from the second network function, the first network function 173 determines that the third information previously generated locally has changed and updates the third information.

[0234] For example, the first network function 173 can fill in the relevant data in the "Identifier of Session Control and / or Management Function" column of Table 1 according to the identification information received from the second network function. The parameters used for matching when filling in the data may include at least one of the following: the identification information of the first mutual access group, the identification of the data network to which the service transmission channel of the first mutual access group belongs and / or the corresponding data network, and the identification information of the terminal in the first mutual access group.

[0235] Step 8: The first network function 173 sends a third request to the second network function 178 based on the identification information of the second network function 178 obtained in step 6. The third request is used to subscribe to the fourth information (inter-access routing information of at least some terminals in the first mutual access group).

[0236] The third request may be a subscription request / subscription message regarding the fourth information. After receiving the subscription request / subscription message regarding the fourth information, the second network function 178 returns a subscription event notification carrying the fourth information to the first network function 173. If the first terminal deregisters with the network, the subscription to the fourth information can be cancelled. The subscription parameters provided in the third request may include at least one of the following: Identification information of the first terminal; Identification information for the first mutual visit group; The business transmission channel of the first mutual access group belongs to and / or corresponds to the data network identifier.

[0237] In some embodiments, the first network function 173 subscribes to the fourth information via a third request in two ways, and one of them can be selected according to actual needs during specific implementation: In Method 1, the third request is only used to subscribe to the mutual access routing information of the first mutual access group corresponding to the first terminal, that is, the fourth information includes the mutual access routing information of the first mutual access group corresponding to the first terminal.

[0238] Method 2, the third request is used to subscribe to the mutual access routing information of the corresponding first mutual access group for all terminals in the first mutual access group that access the second network function, that is, the fourth information includes the mutual access routing information of the corresponding first mutual access group for all terminals in the first mutual access group that access the second network function.

[0239] Optionally, after receiving the third request mentioned above, the second network function 178 generates a fifteenth message locally, which may include at least one of the messages listed in Table 3 above.

[0240] Step 9: After receiving the fourth information, the first network function 173 determines that the previously generated third information has changed, and therefore can update the third information based on the fourth information. For example, at least one of the following fields in Table 1 above can be filled in according to the fourth information: the terminal's IP address, the terminal's inter-terminal access user plane tunnel information, the identifier of the session control and / or management function, and the identifier of the user plane function, etc. When filling in the information, the parameters used for matching may include at least one of the following: the terminal's identifier, the identifier and / or name of the inter-terminal access group to which the terminal belongs, the identifier of the data network to which the service transmission channel corresponding to the inter-terminal access group belongs and / or the corresponding data network, the identifier of the session control and / or management function, etc.

[0241] Step 10: The first network function 173 sends first information to the first application platform, wherein the first information includes mutual access routing information of at least some terminals in the first mutual access group.

[0242] In some embodiments, terminals within the first mutual access group can obtain the information required for mutual access from the first platform to achieve mutual access.

[0243] As an example, the first information sent by the first network function to the first application platform in step 1103 may include at least one of the following: Identification information of at least some terminals within the first mutual access group; Identification information for the first mutual visit group; The first mutual access group's service transmission channel belongs to and / or corresponds to the data network identifier (such as DNN). The IP addresses of at least some terminals within the first mutual access group, etc.

[0244] Optionally, before the first network function 173 sends the first information to the first application platform, the first application platform 174 may also be discovered through at least one of the following methods: Method 1: Discover the first application platform based on the application platform information configured locally by the first network function; Method 2: Query the fifth network function (such as NRF) based on the thirteenth information to discover the first application platform. The thirteenth information includes at least one of the identification information of the first mutual access group, the identification information of the first terminal, and the identification of the data network to which the service transmission channel of the first mutual access group belongs and / or corresponds. Method 3: Discover the first application platform based on the fourteenth information obtained from the terminal mutual access service permission activation information of the first terminal and / or the terminal mutual access group information corresponding to the first mutual access group, wherein the fourteenth information includes the group information of the first mutual access group and / or the information of the first application platform to which the first terminal belongs.

[0245] Step 11: After receiving the third request, if the second network function 178 determines that it has not subscribed to the fifth information from the first network function, it sends a fourth request to the first network function 173 and receives the fifth information sent by the first network function. The fourth request is used to subscribe to the fifth information (inter-access routing information of at least some terminals in the first mutual access group).

[0246] The fifth piece of information includes at least one of the following: mutual access routing information of terminals in the first mutual access group that access other session control and / or management functions when establishing the service transmission channel of the first mutual access group; mutual access routing information of all terminals in the first mutual access group corresponding to the first mutual access group; and mutual access routing information of a specified terminal in the first mutual access group corresponding to the first mutual access group.

[0247] The fourth request may be a subscription request / subscription message regarding the fifth information. In some embodiments, after receiving the third request, if the second network function determines that it has not subscribed to the fifth information from the first network function, it sends a fourth request to the first network function. After receiving the subscription request / subscription message regarding the fifth information, the first network function returns a subscription event notification carrying the fifth information to the second network function. The subscription parameters carried in the fourth request may include at least one of the following: Identification information for the second network function; Identification information for the first mutual visit group; The business transmission channel of the first mutual access group belongs to and / or corresponds to the data network identifier.

[0248] In some embodiments, the second network function subscribes to the fifth information via a fourth request in one of the following three ways, and one of them can be selected according to actual needs during specific implementation: In Method 1, the fourth request carries the identification information of the second network function, and / or the fourth request is only used to subscribe to the mutual access routing information of the first mutual access group corresponding to terminals that access other session control and / or management functions in the first mutual access group. That is, the fifth information includes the mutual access routing information of terminals in the first mutual access group that access other session control and / or management functions when establishing the service transmission channel of the first mutual access group. Based on the fourth request, the first network function only feeds back the mutual access routing information of the first mutual access group corresponding to terminals that access other session control and / or management functions in the first mutual access group in the subscription event notification. Optionally, to support this implementation, the second network function needs to locally store the mutual access routing information of the first mutual access group corresponding to terminals that access the first mutual access group to this node.

[0249] Method 2, the fourth request is used to subscribe to the mutual access routing information of all terminals in the first mutual access group corresponding to the first mutual access group, that is, the fifth information includes the mutual access routing information of all terminals in the first mutual access group corresponding to the first mutual access group.

[0250] Method 3: The fourth request is used to subscribe to the mutual access routing information of the specified terminal in the first mutual access group corresponding to the first mutual access group. That is, the fifth information includes the mutual access routing information of the specified terminal in the first mutual access group corresponding to the first mutual access group. The subscription parameters carried in the fourth request may include at least one of the following: The identification information of the specified terminal; Identification information for the first mutual visit group; The business transmission channel of the first mutual access group belongs to and / or corresponds to the data network identifier.

[0251] In some embodiments of this application, the mutual access routing information of a terminal within the first mutual access group may include at least one of the following: Identification information for the first mutual visit group; Terminal identification information; The data network identifier to which and / or which is corresponding to the business transmission channel of the first mutual access group belongs; The identification information of the session control and / or management functions selected by the terminal when establishing a service transmission channel corresponding to the first mutual access group; The identification information of the user plane function selected by the terminal when establishing a service transmission channel corresponding to the first mutual access group; The session control and / or management functions and / or user plane functions selected by the terminal when establishing a service transmission channel corresponding to the first mutual access group are the IP addresses assigned to the terminal. When a terminal establishes a service transmission channel corresponding to the first mutual access group, the user plane function it selects is the terminal mutual access user plane tunnel information allocated to the terminal corresponding to the first mutual access group.

[0252] Step 12: When the fifteenth piece of information changes, the second network function 178 updates the fifteenth piece of information. For example, after receiving the fifth piece of information, the second network function 178 updates Table 2 or Table 3 above. When updating Table 2 or Table 3 above, the parameters used for matching may include at least one of the following: the identification information of the first mutual access group, the data network identifier to which the service transmission channel of the first mutual access group belongs and / or corresponds, and the identification information of the terminals within the first mutual access group, etc.

[0253] Step 13: The second network function 178 sends seventh information to the third network function 179. The third network function 179 is the user plane function selected by the first terminal 175 when establishing a service transmission channel (such as a 5G PDU session) corresponding to the first mutual access group. The seventh information includes mutual access routing information for at least some terminals within the first mutual access group. For example, the second network function can synchronize the mutual access routing information of at least some terminals within the first mutual access group listed in Table 2 or Table 3 to the third network function 179 (such as UPF).

[0254] Step 14 (optionally), when the second network function 178 allocates the terminal mutual access user plane tunnel information corresponding to the first mutual access group using the method described in step 2), it can allocate the terminal mutual access user plane tunnel information corresponding to the first mutual access group to the first terminal if the first condition and the third condition are met. It also returns a subscription event notification to the first network function 173 in response to the third request in step 8. This subscription event notification may carry the following information: the terminal mutual access user plane tunnel information of the first terminal corresponding to the first mutual access group.

[0255] Specifically, the second network function 178 determines, based on the fifth information, that some terminals in the first mutual access group have established service transmission channels corresponding to the first mutual access group that are anchored on different user plane functions. Then, based on the above-mentioned second method, it allocates terminal mutual access user plane tunnel information corresponding to the first mutual access group to the first terminal.

[0256] Step 15: After receiving the subscription event notification for the third request, the first network function 173 determines that the previously generated third information has changed, and therefore updates the third information.

[0257] Step 16: The first network function 173 sends first information to the first application platform, wherein the first information includes mutual access routing information of at least some terminals in the first mutual access group.

[0258] In some embodiments, terminals within the first mutual access group can obtain the information required for mutual access from the first platform to achieve mutual access.

[0259] Specifically, the first information includes at least one of the following: the identification information of the terminals in the first mutual access group, the identification information of the first mutual access group, the IP address information of the terminals in the first mutual access group, and the data network identifier to which the service transmission channel of the first mutual access group belongs and / or corresponds.

[0260] Step 17: The first terminal 175 interacts with the first application platform 174 to obtain information such as the IP address of the target terminal, and initiates mutual access services for the target terminal.

[0261] The following are some implementation scenarios for terminal interoperability services.

[0262] Scenario 1: UE1 in the first mutual access group accesses UE2. UE1 and UE2 access the same session control and / or management function (such as SMF). Then: (1) Scenario 1.1 When UE1 and UE2 access the same user plane function (such as UPF), they can achieve mutual access between terminals through routing forwarding within the user plane function.

[0263] (2) Scenario 1.2, when UE1 and UE2 access different user plane functions under the same session control and / or management function (such as SMF): for example, UE1 accesses UPF1 and UE2 accesses UPF2, there are two ways to implement terminal mutual access, as follows: Method 1: Based on locally stored user plane function data. The user plane function accessed by UE1 / UE2 enables terminal communication between UE1 and UE2 based on the locally stored user plane tunnel information and IP address of the peer UE corresponding to the first mutual communication group.

[0264] Method 2: User plane functions query and / or subscribe to the first network function. The user plane functions (such as UPF) accessed by UE1 and UE2 directly or through the session control and / or management functions (such as SMF) accessed by UE1 and UE2 query and / or subscribe to the first network function for the terminal mutual access user plane tunnel information and IP address of the peer UE corresponding to the first mutual access group, so as to realize the terminal mutual access of UE1 and UE2.

[0265] Scenario 2: UE1 accesses UE3. UE1 and UE3 access different session control and / or management functions (such as SMF). There are two implementations.

[0266] Method 1: Based on locally stored user plane function data. The user plane functions (such as UPF) accessed by UE1 and UE3 enable terminal communication between UE1 and UE3 based on the locally stored user plane tunnel information and IP address corresponding to the first mutual access group.

[0267] Method 2: User plane functions query and / or subscribe to the first network function. The user plane functions (such as UPF) accessed by UE1 and UE3 directly or through the control plane cloud (such as SMF) accessed by UE1 and UE3 query and / or subscribe to the first network function for the terminal mutual access user plane tunnel information and IP address of the peer UE corresponding to the first mutual access group, so as to realize the terminal mutual access of UE1 and UE3.

[0268] The above describes a terminal mutual access implementation method proposed in some embodiments of this application. The following is a brief description of a terminal mutual access implementation device proposed in some embodiments of this application.

[0269] Figure 19 This is a schematic diagram of the structure of a terminal communication implementation device 1900 provided in some embodiments of this application. The terminal communication implementation device 1900 can be applied to a first network function. Please refer to... Figure 19 In one software implementation, the terminal communication implementation device 1900 may include: a first acquisition module 1901, a first interaction module 1902, and a first sending module 1903.

[0270] The first acquisition module 1901 is used to acquire the identification information of the second network function when the first terminal meets the first condition. The first condition includes enabling terminal mutual access service permission and / or setting terminal mutual access group information corresponding to the first mutual access group. The second network function is the session control and / or management function selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group.

[0271] The first terminal can be any terminal belonging to the first mutual access group.

[0272] Optionally, Figure 19 The device 1900 shown may also include at least one of the following: The first response module is used to respond to the first request sent by the first business system, to enable terminal mutual access service permissions for the first terminal and / or configure terminal mutual access group information corresponding to the first mutual access group.

[0273] The first receiving module is used to obtain second information, wherein the second information is sent after the fourth network function obtains the terminal mutual access service permission for the first terminal and / or configures the terminal mutual access group information corresponding to the first mutual access group. The fourth network function includes network functions for storing user subscription data (such as UDM / UDR, etc.), without limitation. The second information includes the terminal mutual access service activation information and / or terminal mutual access group information of the first terminal.

[0274] Optionally, Figure 19The apparatus 1900 shown may further include: an information generation module, configured to generate third information locally after granting terminal mutual access service permission to the first terminal and / or configuring terminal mutual access group information corresponding to the first mutual access group, and / or after receiving the second information, wherein the third information includes basic communication information required for terminal mutual access within the first mutual access group.

[0275] Optionally, Figure 19 The device 1900 shown may further include: an information update module for updating the third information stored in the first network function when the third information changes.

[0276] Optionally, Figure 19 The apparatus 1900 shown may further include: a second acquisition module, used to acquire network registration status information of the first terminal from an eighth network function, wherein the eighth network function includes network functions (such as UDM / UDR, etc.) for implementing registration and authentication of the first terminal.

[0277] In some embodiments, the first acquisition module 1901 can be specifically used to: acquire the identification information of the second network function when the first terminal meets the first condition and registers with the network. Whether the first terminal is registered with the network can be determined based on the network registration status information of the first terminal obtained from the eighth network function.

[0278] The first interaction module 1902 is used to interact with the second network function based on the identification information of the second network function to exchange mutual access routing information of at least some terminals in the first mutual access group.

[0279] In some embodiments, the first interaction module 1902 may be used to perform at least one of the following: 1) Based on the identification information of the second network function, send a third request to the second network function and receive the fourth information sent by the second network function. The third request is used to obtain the fourth information, which includes the mutual access routing information of the first terminal corresponding to the first mutual access group or the mutual access routing information of all terminals in the first mutual access group that access the second network function corresponding to the first mutual access group.

[0280] 2) Receive the fourth request sent by the second network function and send the fifth information to the second network function, wherein the fourth request is used to obtain the fifth information, and the fifth information includes at least one of the following: mutual access routing information of terminals in the first mutual access group that access other session control and / or management functions when establishing the service transmission channel of the first mutual access group, and mutual access routing information of all terminals in the first mutual access group corresponding to the first mutual access group.

[0281] 3) Receive a fifth request sent by the third network function or by the third network function through the second network function, and send sixth information to the third network function or by the second network function through the third network function, wherein the fifth request is used to obtain the sixth information, and the sixth information includes the mutual access routing information of the specified terminal in the first mutual access group corresponding to the first mutual access group.

[0282] Optionally, Figure 19 The device 1900 shown may also include: The IP determination module is used to determine whether there is a conflict between the IP address of the second terminal and the IP address of the third terminal after obtaining the fourth information. The second terminal is any terminal in the first mutual access group included in the fourth information, and the third terminal includes other terminals in the first mutual access group other than the second terminal whose IP addresses were allocated when the first network function obtained the IP address corresponding to the service transmission channel of the first mutual access group. The information indication module is used to send a first indication message to the second network function when there is a conflict between the IP address of the second terminal and the IP address of the third terminal. The first indication message is used to instruct the second network function to reassign an IP address to the second terminal.

[0283] The first sending module 1903 is used to send first information to the first application platform, wherein the first information includes mutual access routing information of at least some terminals in the first mutual access group.

[0284] In some embodiments, terminals within the first mutual access group can obtain the information required for mutual access from the first platform to achieve mutual access.

[0285] Optionally, Figure 19 The illustrated device 1900 may further include: a platform discovery module, used for at least one of the following: Method 1: Discover the first application platform based on the application platform information configured locally by the first network function; Method 2: Query the fifth network function (such as NRF) based on the thirteenth information to discover the first application platform. The thirteenth information includes at least one of the identification information of the first mutual access group, the identification information of the first terminal, and the identification of the data network to which the service transmission channel of the first mutual access group belongs and / or corresponds. Method 3: Discover the first application platform based on the fourteenth information obtained from the terminal mutual access service permission activation information of the first terminal and / or the terminal mutual access group information corresponding to the first mutual access group, wherein the fourteenth information includes the group information of the first mutual access group and / or the information of the first application platform to which the first terminal belongs.

[0286] Figure 19 The terminal communication implementation device 1900 shown can realize... Figure 11The present invention provides a method for implementing terminal communication and achieves the same technical effect. The relevant parts can be referenced from each other, and will not be described repeatedly here.

[0287] Figure 20 This is a schematic diagram of the structure of a terminal inter-access implementation device 2000 provided in some embodiments of this application. The terminal inter-access implementation device 2000 can be applied to a second network function, which is a session control and / or management function selected by a first terminal when establishing a service transmission channel corresponding to a first inter-access group. The first terminal is any terminal belonging to the first inter-access group. Please refer to... Figure 20 In one software implementation, the terminal communication implementation device 2000 may include: a first receiving module 2001 and / or a first sending module 2002.

[0288] The first receiving module 2001 is used to receive a third request from the first network function and send fourth information to the first network function. The third request is used to obtain the fourth information, which includes the mutual access routing information of the first terminal corresponding to the first mutual access group or the mutual access routing information of all terminals in the first mutual access group that access the second network function corresponding to the first mutual access group.

[0289] The third request can be a subscription request / message regarding the fourth information. Upon receiving the subscription request / message for the fourth information, the second network function returns a subscription event notification carrying the fourth information to the first network function. If the first terminal registers with the network, the subscription for the fourth information can be cancelled.

[0290] Optionally, the terminal communication implementation device 2000 may further include: an information allocation module, used to perform at least one of the following: 1) If the first terminal meets the first condition and the second condition, instruct the third network function to allocate terminal mutual access user plane tunnel information corresponding to the first mutual access group to the first terminal.

[0291] The first condition includes enabling terminal mutual access service permissions and / or setting terminal mutual access group information corresponding to the first mutual access group. The third network function is the user plane function selected when the first terminal establishes a service transmission channel corresponding to the first mutual access group. The second condition may include: ① The service transmission channel established by the first terminal corresponding to the first mutual access group is: a service transmission channel established based on the data network identifier to which the service transmission channel of the first mutual access group belongs and / or corresponds; ② The third network function has not been assigned terminal mutual access user plane tunnel information corresponding to the first mutual access group.

[0292] 2) If the first terminal meets the first condition and the third condition, instruct the third network function to allocate terminal mutual access user plane tunnel information corresponding to the first mutual access group to the first terminal.

[0293] The first condition is the same as above and will not be repeated. The third condition may include: ① The service transmission channel established by the first terminal corresponding to the first mutual access group is: a service transmission channel established based on the data network identifier to which the service transmission channel of the first mutual access group belongs and / or corresponds; ② The third network function has not been assigned terminal mutual access user plane tunnel information corresponding to the first mutual access group; ③ When other terminals in the first mutual access group establish a service transmission channel corresponding to the first mutual access group, the user plane function they select is different from the third network function.

[0294] Optionally, the terminal mutual access implementation device 2000 may further include: an information generation module, used to generate and save fifteenth information locally after receiving the first request, wherein the fifteenth information includes mutual access routing information of at least some terminals in the first mutual access group.

[0295] The first sending module 2002 is used to send a fourth request to the first network function and receive fifth information sent by the first network function. The fourth request is used to obtain the fifth information, which includes at least one of the following: mutual access routing information of terminals in the first mutual access group that access other session control and / or management functions when establishing the service transmission channel of the first mutual access group; mutual access routing information of all terminals in the first mutual access group corresponding to the first mutual access group; and mutual access routing information of a specified terminal in the first mutual access group corresponding to the first mutual access group.

[0296] The fourth request can be a subscription request / subscription message regarding the fifth information. In some embodiments, after receiving the third request, if the second network function determines that it has not subscribed to the fifth information from the first network function, it sends a fourth request to the first network function. After receiving the subscription request / subscription message regarding the fifth information, the first network function returns a subscription event notification carrying the fifth information to the second network function.

[0297] Optionally, the terminal communication implementation device 2000 may further include: The second receiving module is used to receive first indication information sent by the first network function after sending fourth information to the first network function. The first indication information is used to instruct the second network function to reassign an IP address to the second terminal. The second terminal is any terminal in the first mutual access group included in the fourth information. The IP allocation module is used to reallocate an IP address to the second terminal according to the first instruction information, or to instruct the sixth network function to reallocate an IP address to the second terminal according to the first instruction information. The IP address reallocated to the second terminal is different from the IP address of the third terminal. The third terminal includes other terminals in the first mutual access group other than the second terminal whose IP addresses were allocated when the first network function established the service transmission channel corresponding to the first mutual access group. The sixth network function is the user plane function selected by the second terminal when establishing the service transmission channel corresponding to the first mutual access group.

[0298] Optionally, the terminal communication implementation device 2000 may further include: an information update module, used to update the fifteenth information when the aforementioned fifteenth information changes.

[0299] Optionally, the terminal mutual access implementation device 2000 may further include: a second sending module, used to send seventh information to a third network function, wherein the third network function is the user plane function selected by the first terminal when establishing a service transmission channel (such as a 5G PDU session) corresponding to the first mutual access group, and the seventh information includes mutual access routing information of at least some terminals in the first mutual access group.

[0300] Figure 20 The terminal communication implementation device 2000 shown can realize... Figure 12 The present invention provides a method for implementing terminal communication and achieves the same technical effect. The relevant parts can be referenced from each other, and will not be described repeatedly here.

[0301] Figure 21 This is a schematic diagram of the structure of a terminal inter-access implementation device 2100 provided in some embodiments of this application. The terminal inter-access implementation device 2100 can be applied to a third network function, which is the user plane function selected by the first terminal when establishing a service transmission channel corresponding to the first inter-access group. Please refer to... Figure 21 In one software implementation, the terminal communication implementation device 2100 may include: a first sending module 2101 and / or a first receiving module 2102.

[0302] The first sending module 2101 is used to send a fifth request to the first network function or to the first network function through the second network function, and to receive a sixth message sent by the first network function or by the first network function through the second network function, so as to realize the inter-terminal access service within the first mutual access group.

[0303] The second network function is the session control and / or management function selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group. The first terminal can be any terminal in the first mutual access group. The fifth request is used to obtain the sixth information, which includes the mutual access routing information of the specified terminal in the first mutual access group corresponding to the first mutual access group.

[0304] The fifth request can be a query request / subscription request / subscription message regarding the sixth information. After receiving the query request / subscription request / subscription message regarding the sixth information, the first network function returns a query notification / subscription event notification carrying the sixth information to the second or third network function.

[0305] The first receiving module 2102 is used to receive the seventh information sent by the second network function to realize the inter-terminal access service within the first mutual access group to which the first terminal belongs.

[0306] The second network function is the session control and / or management function selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group. The first terminal can be any terminal in the first mutual access group. The seventh information includes mutual access routing information of at least some terminals in the first mutual access group.

[0307] Figure 21 The terminal communication implementation device 2100 shown can realize... Figure 13 The present invention provides a method for implementing terminal communication and achieves the same technical effect. The relevant parts can be referenced from each other, and will not be described repeatedly here.

[0308] Figure 22 This is a schematic diagram of the structure of a terminal access implementation device 2200 provided in some embodiments of this application. The terminal access implementation device 2200 can be applied to a first application platform. Please refer to... Figure 22 In one software implementation, the terminal communication implementation device 2200 may include: a first receiving module 2201, a second receiving module 2202, and a first sending module 2203.

[0309] The first receiving module 2201 is used to receive first information sent by the first network function, wherein the first information includes mutual access routing information of at least some terminals in the first mutual access group.

[0310] The second receiving module 2202 is used to receive a query request for the eighth information from the first terminal.

[0311] The first sending module 2203 is used to send eighth information to the first terminal in response to a query request; wherein the eighth information is used by the first terminal to initiate mutual access services for other terminals in the first mutual access group.

[0312] Wherein, the first terminal belongs to the first mutual access group, and the eighth information includes at least one of the following: group information of the first mutual access group, mutual access routing information of terminals within the first mutual access group, and online status information of terminals within the first mutual access group. Specifically, the eighth information may include, but is not limited to, at least one of the following: group information of the first mutual access group, mutual access routing information of all terminals or other terminals within the first mutual access group, and online status information of all terminals or other terminals within the first mutual access group.

[0313] The number of other terminals besides the first terminal in the first mutual access group can be one or more; when there is one other terminal besides the first terminal in the first mutual access group, the first terminal can initiate mutual access service for that single other terminal; when there are multiple other terminals besides the first terminal in the first mutual access group, the first terminal can initiate mutual access service for each of these multiple other terminals.

[0314] Optionally, the terminal communication implementation device 2200 may further include at least one of the following: The first response module is used to respond to the ninth request sent by the first business system, to enable terminal mutual access service permissions for the first terminal and / or configure terminal mutual access group information corresponding to the first mutual access group. As mentioned above, in some embodiments, the first business system can be an existing business activation system, such as a Business & Operation Support System (BOSS). The first business system can send the ninth request to the first application platform to enable terminal mutual access service permissions for the first terminal and / or configure terminal mutual access group information corresponding to the first mutual access group.

[0315] The third receiving module is used to obtain second information, wherein the second information is sent after the fourth network function or the first network function obtains the permission to open the terminal mutual access service for the first terminal and / or configures the terminal mutual access group information corresponding to the first mutual access group. The fourth network function includes a network function for storing user subscription data, and the second information includes the terminal mutual access service opening information and / or terminal mutual access group information of the first terminal.

[0316] The second response module is used to respond to the sixth request sent by the first terminal and configure and / or update the terminal inter-access group information of the first terminal.

[0317] Optionally, the terminal access implementation device 2200 may further include: an authentication module, used to authenticate the configured and / or updated terminal access group information of the first terminal according to tenth information after configuring and / or updating the terminal access group information of the first terminal, wherein the tenth information includes at least one of the following: terminal access service activation information for the first terminal, pre-configured terminal access group information, and pre-configured permission requirement information for setting the terminal access group information of the first terminal.

[0318] Optionally, the terminal mutual access implementation device 2200 may further include: a third response module, used to establish a service transmission channel of the first mutual access group with the first terminal in response to the service request sent by the first terminal through a preset function body before the second receiving module 2202 receives the query request for querying the eighth information from the first terminal.

[0319] Optionally, the terminal access implementation device 2200 may further include: a fourth response module, configured to, in response to a registration request sent by the first terminal through the service transmission channel of the first access group, register the first terminal to the first application platform and receive the twelfth information carried in the registration request, before the second receiving module 2202 receives the query request for querying the eighth information from the first terminal.

[0320] Based on this, the second receiving module 2202 can be used to: receive a query request for the eighth information sent by the first terminal through a session. The first sending module 2203 can be used to: send the eighth information to the first terminal through a session in response to the query request.

[0321] Figure 22 The terminal communication implementation device 2200 shown can realize Figure 14 The present invention provides a method for implementing terminal communication and achieves the same technical effect. The relevant parts can be referenced from each other, and will not be described repeatedly here.

[0322] Figure 23 This is a schematic diagram of the structure of a terminal inter-access implementation device 2300 provided in some embodiments of this application. The terminal inter-access implementation device 2300 can be applied to a fourth network function or a seventh network function. The fourth network function may include a network function for storing user subscription data, and the seventh network function may provide identification information of a second network function. For example, the seventh network function may include, but is not limited to, at least one of a network function for storing user subscription data (such as UDM / UDR) and a policy control function (such as PCF / UDR). Please refer to... Figure 23 In one software implementation, the terminal communication implementation device 2300 may include: a first response module 2301 and a first sending module 2302.

[0323] The first response module 2301 is used to respond to the seventh request sent by the first business system, to enable terminal mutual access service permission for the first terminal and / or configure terminal mutual access group information corresponding to the first mutual access group; The first sending module 2302 is used to send second information to the first network function and / or the first application platform, wherein the second information includes the terminal inter-access service activation information and / or terminal inter-access group information of the first terminal.

[0324] Optionally, the terminal communication implementation device 2300 may further include: The first receiving module is used to receive the eighth request sent by the first network function, wherein the eighth request is used to obtain the identification information of the second network function. The second network function is the service transmission channel session control and / or management function selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group. The first terminal is any terminal belonging to the first mutual access group.

[0325] The second sending module is used to send the sixteenth message back to the first network function. The sixteenth message includes the identification information of the second network function.

[0326] Figure 23 The terminal communication implementation device 2300 shown can realize... Figure 15 The present invention provides a method for implementing terminal communication and achieves the same technical effect. The relevant parts can be referenced from each other, and will not be described repeatedly here.

[0327] Figure 24 This is a schematic diagram of the structure of a terminal communication implementation device 2400 provided in some embodiments of this application. The terminal communication implementation device 2400 can be applied to a first terminal. Please refer to... Figure 24 In one software implementation, the terminal communication implementation device 2400 may include: a first sending module 2401, a first receiving module 2402, and a communication implementation module 2403.

[0328] The first sending module 2401 is used to send a query request about the eighth information to the first application platform.

[0329] The first receiving module 2402 is used to obtain the eighth information returned by the first application platform.

[0330] The mutual access implementation module 2403 is used to initiate mutual access services for other terminals in the first mutual access group based on the eighth information.

[0331] The first terminal belongs to the first mutual access group, and the eighth information includes at least one of the following: group information of the first mutual access group, mutual access routing information within the first mutual access group, and online status information of terminals within the first mutual access group. Specifically, the eighth information may include, but is not limited to, at least one of the following: group information of the first mutual access group, mutual access routing information of all terminals or other terminals within the first mutual access group, and online status information of all terminals or other terminals within the first mutual access group.

[0332] The number of other terminals besides the first terminal in the first mutual access group can be one or more; when there is one other terminal besides the first terminal in the first mutual access group, the first terminal can initiate mutual access service for that single other terminal; when there are multiple other terminals besides the first terminal in the first mutual access group, the first terminal can initiate mutual access service for each of these multiple other terminals.

[0333] In some embodiments, the terminal access implementation device 2400 may further include: a session establishment module, configured to send a service request to the first application platform through a preset function to establish a service transmission channel with the first application platform.

[0334] In some embodiments, the terminal access implementation device 2400 may further include: a registration module, used to send a registration request to the first application platform through a session established by the session establishment module, so as to register with the first application platform.

[0335] The preset functions may include, but are not limited to, at least one of the following: functions related to built-in applications (such as SDKs), mini-programs, and terminal modules.

[0336] In some embodiments, the first sending module 2401 can be used to: send a query request for the eighth information to the first application platform through the service transmission channel when a service transmission channel is established with the first application platform through a preset functional body, or when a service transmission channel is established with the first application platform through a preset functional body and the application platform is registered with the first application platform.

[0337] Figure 24 The terminal communication implementation device 2400 shown can realize... Figure 16 The present invention provides a method for implementing terminal communication and achieves the same technical effect. The relevant parts can be referenced from each other, and will not be described repeatedly here.

[0338] Some embodiments of this application also provide a network-side device, including a processor and a memory, wherein the memory stores programs or instructions that can run on the processor, and the programs or instructions, when executed by the processor, implement... Figure 11 , Figure 12 , Figure 13 , Figure 14 and Figure 15 The steps of any of the terminal communication implementation methods shown in the examples.

[0339] Some embodiments of this application also provide a terminal, characterized in that it includes a processor and a memory, the memory storing programs or instructions that can run on the processor, and the programs or instructions, when executed by the processor, implement... Figure 16 The steps of the terminal communication implementation method are shown.

[0340] Some embodiments of this application also provide a non-transitory computer-readable storage medium on which a program or instruction is stored, and which, when executed by a processor, implements... Figure 11 , Figure 12 , Figure 13 , Figure 14 , Figure 15 and Figure 16 The steps of any of the terminal communication implementation methods shown in the examples.

[0341] Some embodiments of this application also provide a computer program product, which is stored in a storage medium and executed by at least one processor to perform the following: Figure 11 , Figure 12 , Figure 13 , Figure 14 , Figure 15 and Figure 16 The steps of any of the terminal communication implementation methods shown in the examples.

[0342] Some embodiments of this application also provide a communication system, including a first network function, a second network function, a third network function, a first application platform, and a first terminal, wherein the first network function is used to perform, for example, Figure 11 The terminal communication implementation method shown above, the second network function is used to perform, as follows: Figure 12 The terminal communication implementation method shown above uses a third network function to perform, such as... Figure 13 The terminal communication implementation method shown is used by the first application platform to execute, as follows: Figure 14 The terminal communication implementation method shown above, the first terminal is used to execute as follows: Figure 16 The terminal communication implementation method is shown.

[0343] In summary, the above are merely preferred embodiments of this application and are not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.

[0344] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.

[0345] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0346] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0347] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

Claims

1. A method for implementing terminal inter-terminal communication, characterized in that, Applied to a first network function, the method includes: When the first terminal meets the first condition, the identification information of the second network function is obtained; wherein, the first condition includes enabling terminal mutual access service permission and / or setting terminal mutual access group information corresponding to the first mutual access group, and the second network function is the session control and / or management function selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group; Based on the identification information of the second network function, interact with the second network function to exchange mutual access routing information of at least some terminals in the first mutual access group; Send first information to the first application platform; wherein the first information includes mutual access routing information of at least some terminals within the first mutual access group.

2. The method according to claim 1, characterized in that, The mutual access routing information of terminals within the first mutual access group includes at least one of the following: The identification information of the first mutual access group; The identification information of the terminals within the first mutual access group; The data network identifier to which and / or which corresponds to the service transmission channel of the first mutual access group belongs; The identification information of the session control and / or management functions selected by the terminal in the first mutual access group when establishing a service transmission channel corresponding to the first mutual access group; The identifier information of the user plane function selected by the terminal in the first mutual access group when establishing a service transmission channel corresponding to the first mutual access group; When a terminal in the first mutual access group establishes a service transmission channel corresponding to the first mutual access group, the session control and / or management functions and / or user plane functions selected are the IP address assigned to that terminal. When a terminal in the first mutual access group establishes a service transmission channel corresponding to the first mutual access group, the user plane function it selects is the terminal mutual access user plane tunnel information assigned to that terminal corresponding to the first mutual access group.

3. The method according to claim 1, characterized in that, Before obtaining the identification information of the second network function, the method further includes: In response to a first request sent by the first business system, the terminal mutual access service permission is granted to the first terminal and / or terminal mutual access group information corresponding to the first mutual access group is configured; And / or, Obtain second information; wherein the second information is sent by the fourth network function after it obtains the terminal mutual access service permission for the first terminal and / or configures the terminal mutual access group information corresponding to the first mutual access group, the fourth network function includes a network function for storing user subscription data, and the second information includes the terminal mutual access service activation information and / or terminal mutual access group information of the first terminal.

4. The method according to claim 3, characterized in that, The method further includes: After granting terminal mutual access service permission to the first terminal and / or configuring terminal mutual access group information corresponding to the first mutual access group, and / or, after receiving the second information, generating third information locally; wherein, the third information includes the basic communication information required for terminal mutual access within the first mutual access group; If the third information changes, the third information stored in the first network function is updated; The third information includes at least one of the following: Identification information of terminals within the first mutual access group; The identification information of the first mutual access group; The data network identifier to which and / or which corresponds to the service transmission channel of the first mutual access group belongs; The identification information of the session control and / or management functions selected by the terminal in the first mutual access group when establishing a service transmission channel corresponding to the first mutual access group; The identifier information of the user plane function selected by the terminal in the first mutual access group when establishing a service transmission channel corresponding to the first mutual access group; The IP address assigned to a terminal within the first mutual access group when establishing a service transmission channel corresponding to the first mutual access group; When a terminal within the first mutual access group establishes a service transmission channel corresponding to the first mutual access group, it is assigned terminal mutual access user plane tunnel information corresponding to the first mutual access group.

5. The method according to claim 1, characterized in that, The acquisition of the identification information of the second network function includes: The identification information of the second network function is obtained from the seventh network function; wherein, the seventh network function can provide the identification information of the second network function.

6. The method according to claim 1, characterized in that, The step of exchanging mutual access routing information of at least some terminals within the first mutual access group with the second network function based on the identification information of the second network function includes at least one of the following: According to the identification information of the second network function, a third request is sent to the second network function, and a fourth message is received from the second network function; wherein, the third request is used to obtain the fourth message, the fourth message includes the mutual access routing information of the first terminal corresponding to the first mutual access group or the mutual access routing information of all terminals in the first mutual access group that access the second network function corresponding to the first mutual access group. The system receives a fourth request sent by the second network function and sends fifth information to the second network function; wherein the fourth request is used to obtain the fifth information, and the fifth information includes at least one of the following: mutual access routing information of terminals in the first mutual access group that access other session control and / or management functions when establishing the service transmission channel of the first mutual access group; and mutual access routing information of all terminals in the first mutual access group corresponding to the first mutual access group. The system receives a fifth request sent by the third network function or by the third network function through the second network function, and sends sixth information to the third network function or to the third network function through the second network function; wherein the fifth request is used to obtain the sixth information, and the sixth information includes mutual access routing information of the specified terminal in the first mutual access group corresponding to the first mutual access group.

7. A method for implementing terminal inter-terminal communication, characterized in that, Applied to a second network function, the method includes: Receive a third request from a first network function and send fourth information to the first network function; wherein, the third request is used to obtain the fourth information, the fourth information including mutual access routing information of the first terminal corresponding to the first mutual access group or mutual access routing information of all terminals in the first mutual access group that access the second network function corresponding to the first mutual access group; And / or, Send a fourth request to the first network function and receive fifth information sent by the first network function; wherein, the fourth request is used to obtain the fifth information, and the fifth information includes at least one of the following: mutual access routing information of terminals in the first mutual access group that access other session control and / or management functions when establishing the service transmission channel of the first mutual access group; mutual access routing information of all terminals in the first mutual access group corresponding to the first mutual access group; and mutual access routing information of a specified terminal in the first mutual access group corresponding to the first mutual access group. The second network function is the session control and / or management function selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group.

8. The method according to claim 7, characterized in that, The method further includes at least one of the following: The locally stored fifteenth information is updated according to the fifth information; wherein, the fifteenth information includes the mutual access routing information of at least some terminals within the first mutual access group; Send a seventh message to the third network function; wherein the third network function is the user plane function selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group, and the seventh message includes mutual access routing information of at least some terminals in the first mutual access group.

9. A method for implementing terminal inter-terminal communication, characterized in that, Applied to a third network function, the method includes: Send a fifth request to the first network function or to the first network function through the second network function, and receive a sixth message sent by the first network function or by the first network function through the second network function, so as to realize the inter-terminal access service within the first mutual access group; And / or, Receive the seventh message sent by the second network function to enable inter-terminal access services within the first mutual access group to which the first terminal belongs; The third network function is the user plane function selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group; the second network function is the session control and / or management function selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group; the fifth request is used to obtain the sixth information, the sixth information includes mutual access routing information of the specified terminal in the first mutual access group corresponding to the first mutual access group; and the seventh information includes mutual access routing information of at least some terminals in the first mutual access group.

10. A method for implementing terminal inter-access, characterized in that, Applied to a first application platform, the method includes: Receive first information sent by a first network function; wherein, the first information includes mutual access routing information of at least some terminals within a first mutual access group; Receive a query request from the first terminal to query the eighth information; In response to the query request, the eighth information is sent to the first terminal; wherein the eighth information is used by the first terminal to initiate mutual access services to other terminals within the first mutual access group; Wherein, the first terminal belongs to the first mutual access group, and the eighth information includes at least one of the following: the group information of the first mutual access group, the mutual access routing information of the terminals in the first mutual access group, and the online status information of the terminals in the first mutual access group.

11. The method according to claim 10, characterized in that, Before receiving the first information sent by the first network function, the method further includes at least one of the following: In response to the ninth request sent by the first business system, the terminal mutual access service permission is enabled for the first terminal and / or the terminal mutual access group information corresponding to the first mutual access group is configured. Obtain second information; wherein the second information is sent by the fourth network function or the first network function after obtaining the terminal mutual access service permission to open the terminal mutual access service for the first terminal and / or configuring the terminal mutual access group information corresponding to the first mutual access group, the fourth network function includes a network function for storing user subscription data, and the second information includes the terminal mutual access service opening information and / or terminal mutual access group information of the first terminal. In response to the sixth request sent by the first terminal, configure and / or update the terminal access group information of the first terminal.

12. The method according to claim 11, characterized in that, After configuring and / or updating the terminal inter-access group information of the first terminal in response to the sixth request sent by the first terminal, the method further includes: According to the tenth information, the terminal mutual access group information of the first terminal configured and / or updated is authenticated; wherein, the tenth information includes at least one of the following: terminal mutual access service activation information for the first terminal, pre-configured terminal mutual access group information, and pre-configured permission requirement information for setting the terminal mutual access group information of the first terminal.

13. A method for implementing terminal inter-terminal communication, characterized in that, Applied to a fourth network function, the method includes: In response to the seventh request sent by the first business system, the terminal mutual access service permission is enabled for the first terminal and / or the terminal mutual access group information corresponding to the first mutual access group is configured; Send second information to the first network function and / or the first application platform; wherein the second information includes the terminal inter-access service activation information and / or terminal inter-access group information of the first terminal.

14. A method for implementing terminal inter-terminal communication, characterized in that, Applied to a first terminal, the method includes: Send a query request for information about the eighth item to the first application platform; Obtain the eighth information returned by the first application platform; Based on the eighth piece of information, initiate mutual access services for other terminals within the first mutual access group; Wherein, the first terminal belongs to the first mutual access group, and the eighth information includes at least one of the following: the group information of the first mutual access group, the mutual access routing information within the first mutual access group, and the online status information of the terminals within the first mutual access group.

15. The method according to claim 14, characterized in that, Sending a query request for the eighth information to the first application platform includes: When a business transmission channel is established with the first application platform through a preset function, or when a business transmission channel is established with the first application platform through a preset function and the user registers with the first application platform, a query request for the eighth information is sent to the first application platform through the business transmission channel.

16. The method according to claim 15, characterized in that, Before sending the query request for the eighth information to the first application platform through the service transmission channel, the method further includes: The preset functional body sends a service request to the first application platform to establish the service transmission channel with the first application platform. or, The system sends a service request to the first application platform through the preset function to establish a service transmission channel with the first application platform; it also sends a registration request to the first application platform through the service transmission channel to register with the first application platform; wherein the registration request carries twelfth information, which includes at least one of the following: The identification information of the first terminal; The service transmission channel corresponding to the session belongs to and / or corresponds to the data network identifier; The second network function and / or the third network function are the IP addresses assigned to the first terminal. The second network function is the session control and / or management function selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group. The third network function is the user plane function selected by the first terminal when establishing a service transmission channel corresponding to the first mutual access group.

17. A network-side device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the terminal access implementation method as described in any one of claims 1-13.

18. A terminal, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the terminal access implementation method as described in any one of claims 14-16.

19. A non-transient computer-readable storage medium, characterized in that, The readable storage medium stores a program or instructions, which, when executed by a processor, implement the steps of the terminal access implementation method as described in any one of claims 1-13, or implement the steps of the terminal access implementation method as described in any one of claims 14-16.

20. A computer program product, characterized in that, The computer program product is stored in a storage medium, and the computer program product is executed by at least one processor to implement the steps of the terminal access implementation method as described in any one of claims 1-13, or to implement the steps of the terminal access implementation method as described in any one of claims 14-16.