Communication data processing method, system, electronic device and readable storage medium

By using the trusted WiFi access architecture to configure the near-domain service trusted hotspot and IPSec tunnel under the control of the mobile core network, the problem of terminals being unable to authorize without mobile network signals is solved, and a secure and trusted relay channel and multi-hop are achieved Scenario support solves the security risks of WiFi hotspot forwarding.

CN114339753BActive Publication Date: 2024-11-29CHINA TELECOM CORP LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111664360.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2024-11-29
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

In the existing ProSe solution, the terminal cannot complete the service authorization process without a mobile network signal environment, resulting in the inability to use the UE-to-Network Relay scenario, and the simple forwarding of WiFi hotspots in the Relay UE poses a security risk of user data information.

Method used

By using the trusted WiFi access architecture under the control of the mobile core network, the WiFi hotspot of the first terminal is configured as a near-domain service trusted hotspot, establishing WiFi wireless connection and IPSec tunnel, allowing the second terminal to access without early authorization Mobile core network, complete ProSe service authorization, and conduct contract authentication and information interaction through trusted WiFi converged gateway.

Benefits of technology

It realizes the provision of a secure and trustworthy relay channel in the mobile network signal area, enables the second terminal to access the mobile core network, completes ProSe service authorization, expands the scenario support of UE-to-Network Relay to multi-hop, and solves the problem. User information security issues forwarded by WiFi hotspots.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114339753B_ABST
    Figure CN114339753B_ABST
Patent Text Reader

Abstract

The present disclosure provides a communication data processing method, system, electronic device and computer-readable storage medium. The hotspot of the first terminal is a trusted hotspot for near-domain services, and the trusted hotspot for near-domain services of the first terminal has been opened. The communication data processing method includes: in response to a connection request of the second terminal for the trusted hotspot for near-domain services of the first terminal, the first terminal establishes a first wifi wireless connection with the second terminal; the first terminal obtains a first identifier of the second terminal through the first wifi wireless connection; the first terminal forwards the first identifier to the target core network through the user plane channel, so that the target core network performs contract authentication on the second terminal; after the contract authentication of the second terminal is passed, the first terminal establishes a first IPSec tunnel with the target core network, so that the second terminal interacts with the target core network through the first wifi wireless connection and the first IPSec tunnel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a communication data processing method and system, an electronic device, and a computer-readable storage medium. Background Art

[0002] 3GPP defines a Proximity Services (ProSe) solution that provides communication services between short-range terminals. Under the control of the mobile core network, D2D (Device-to-Device) communication between terminals can be performed, and terminal-to-network relay communication (UE-to-Network Relay) can also be performed. Among them, in the UE-to-Network Relay scenario, if terminal A is in an area without mobile network signals and terminal B is in an area with mobile network signals, and the distance between A and B is relatively close, then A can communicate with the network through B's relay.

[0003] In the current ProSe solution, all terminals need to first go through the service authorization process under the mobile network coverage, and only after completing the pre-configuration can the subsequent data communication services between terminals be carried out. That is, in the UE-to-Network Relay scenario, the remote device (Remote UE) needs to have valid near-domain service ProSe service authorization information in advance before it can communicate with the mobile network through the relay terminal (Relay UE). If the remote device (Remote UE) is turned on or the cell is updated in an environment without a mobile network signal, the ProSe service authorization process cannot be completed, resulting in the inability to use the UE-to-Network Relay scenario. Summary of the invention

[0004] The purpose of the present disclosure is to provide a communication data processing method, system, electronic device and computer-readable storage medium to provide a secure and reliable relay channel for a second terminal (the second terminal may not be in a state without mobile network signal coverage when registering, that is, the second terminal may not obtain authorization for near-domain services in advance when using near-domain services), so that the second terminal can access the mobile core network and complete the ProSe service authorization for the second terminal.

[0005] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0006] The presently disclosed embodiment provides a communication data processing method, in which the hotspot of a first terminal is a near-domain service trusted hotspot, and the near-domain service trusted hotspot of the first terminal has been opened, and the communication data processing method includes: in response to a connection request from a second terminal to the near-domain service trusted hotspot of the first terminal, the first terminal establishes a first wifi wireless connection with the second terminal; the first terminal obtains a first identifier of the second terminal through the first wifi wireless connection; the first terminal forwards the first identifier to a target core network through a user plane channel, so that the target core network performs a contract authentication on the second terminal; after the contract authentication of the second terminal is passed, the first terminal establishes a first IPSec tunnel with the target core network, so that the second terminal interacts with the target core network through the first wifi wireless connection and the first IPSec tunnel.

[0007] In some embodiments, before responding to a connection request from a second terminal to a near-domain service trusted hotspot of the first terminal, the method includes: the first terminal sends an authorization request for near-domain services to the target core network through a user plane channel; the first terminal receives an authorization confirmation message returned by the target core network in response to the authorization request; the first terminal configures the first terminal's wifi hotspot as the near-domain service trusted hotspot according to the authorization confirmation message, and opens the near-domain service trusted hotspot of the first terminal.

[0008] In some embodiments, the first identifier is the MAC address of the second terminal; wherein, the first terminal forwards the first identifier to the target core network through the user plane channel so that the target core network performs contract authentication on the second terminal, including: the first terminal obtains the MAC address of the second terminal through the first wifi wireless connection; the first terminal forwards the MAC address of the second terminal to the target core network through the user plane channel, so that the target core network determines that the second terminal has signed the near-domain service based on the MAC address of the second terminal, thereby performing contract authentication on the second terminal.

[0009] In some embodiments, the second terminal interacts with the target core network through the first wifi wireless connection and the first IPSec tunnel, including: the first terminal notifies the second terminal to initiate trusted wifi authentication through the first wifi wireless connection; the first terminal receives a first authorization authentication request sent by the second terminal through the first wifi wireless connection; the first terminal forwards the first authorization authentication request to the target core network through the first IPSec tunnel, so that the target core network performs access authentication for the second terminal to the trusted wifi, so that after the trusted authentication is passed, the second terminal interacts with the target core network through the first wifi wireless connection and the first IPSec tunnel.

[0010] In some embodiments, the method further includes: after the second terminal fails the contract authentication, the first terminal disconnects the first wifi wireless connection; and adds the second terminal to a blacklist to prevent the second terminal from connecting to the near-domain service trusted hotspot of the first terminal again.

[0011] In some embodiments, the target core network includes a trusted wifi fusion gateway; wherein, after the second terminal passes the contract authentication, the first terminal establishes a first IPSec tunnel with the target core network, including: after the second terminal passes the contract authentication, the first terminal obtains the IP address of the trusted wifi fusion gateway; based on the IP address of the trusted wifi fusion gateway, establishes the first IPSec tunnel with the trusted wifi fusion gateway.

[0012] In some embodiments, the hotspot of the second terminal is a near-domain service trusted hotspot, and the near-domain service trusted hotspot of the second terminal has been opened, and the method also includes: in response to a connection request from the third terminal for the near-domain service trusted hotspot of the second terminal, the second terminal establishes a second wifi wireless connection with the third terminal; the second terminal obtains the second identifier of the third terminal through the second wifi wireless connection; the second terminal forwards the second identifier to the target core network through the first wifi wireless connection and the first IPSec tunnel, so that the target core network performs contract authentication on the third terminal; after the contract authentication of the third terminal is passed, the second terminal establishes a second IPSec tunnel with the target core network, so that the third terminal interacts with the target core network through the second wifi wireless connection and the second IPSec tunnel.

[0013] An embodiment of the present disclosure provides a communication data processing system, which includes: a first terminal, used to send an authorization request for a near-domain service to a target core network; receive an authorization confirmation message returned by the target core network in response to the authorization request; configure the wifi hotspot of the first terminal as a near-domain service trusted hotspot according to the authorization confirmation message, and open the near-domain service trusted hotspot of the first terminal; in response to a connection request from a second terminal for the near-domain service trusted hotspot of the first terminal, establish a first wifi wireless connection with the second terminal; obtain a first identifier of the second terminal through the first wifi wireless connection; forward the first identifier to the target core network through a user plane channel, so that the target core network performs contract authentication on the second terminal; after the contract authentication is passed, the first terminal establishes a first IPSec tunnel with the target core network, so that the second terminal can interact with the target core network through the first wifi wireless connection and the first IPSec tunnel.

[0014] An embodiment of the present disclosure proposes an electronic device, which includes: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement any of the communication data processing methods described above.

[0015] The embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the communication data processing method as described in any one of the above items is implemented.

[0016] The embodiment of the present disclosure provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the above-mentioned communication data processing method.

[0017] The communication data processing method, system, electronic device and computer-readable storage medium provided in the embodiments of the present disclosure provide a secure and reliable relay channel for the second terminal (the second terminal may not obtain authorization information in advance before using the near-domain service), so that the second terminal can access the mobile core network and complete the ProSe service authorization for the second terminal.

[0018] It is to be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0020] Figure 1 The figure is a ProSe networking reference architecture diagram according to the relevant technology (taking 4G networking as an example).

[0021] Figure 2 FIG. 1 is a diagram of a PC3 interface control plane protocol stack according to the related art.

[0022] Figure 3 This is a diagram of the relay communication architecture from terminal to network shown according to the relevant technology (taking 4G networking as an example).

[0023] Figure 4 The diagram is a user plane protocol stack diagram of relay communication from a terminal to a network according to the related art.

[0024] Figure 5 The figure is a flow chart of UE requesting service authorization according to the related art.

[0025] Figure 6 This is a reference architecture diagram of a trusted Wi-Fi access network according to related technologies (taking 4G networking as an example).

[0026] Figure 7 This is a basic flow chart of trusted Wi-Fi access according to related technologies (taking 4G networking as an example).

[0027] Figure 8 The present invention is a flowchart of a method for processing communication data according to an exemplary embodiment.

[0028] Fig. 9 The present invention is a diagram showing a communication data processing structure according to an exemplary embodiment.

[0029] Fig.10 The present invention is a flowchart of a method for processing communication data according to an exemplary embodiment.

[0030] Fig.11 A schematic diagram of an overall business process is shown according to an exemplary embodiment.

[0031] Fig.12 The present invention is a flowchart of a method for processing communication data according to an exemplary embodiment.

[0032] Fig.13 The present invention is a diagram showing a communication data processing structure according to an exemplary embodiment.

[0033] Fig.14 A schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0034] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be comprehensive and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.

[0035] The features, structures or characteristics described in the present disclosure may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, systems, steps, etc. may be adopted. In other cases, known methods, systems, implementations or operations are not shown or described in detail to avoid blurring the various aspects of the present disclosure.

[0036] The accompanying drawings are only schematic diagrams of the present disclosure, and the same reference numerals in the drawings represent the same or similar parts, so their repeated description will be omitted. Some block diagrams shown in the accompanying drawings do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0037] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and steps, nor must they be executed in the order described. For example, some steps can be decomposed, and some steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0038] In this specification, the terms "a", "an", "the", "said" and "at least one" are used to indicate the presence of one or more elements / components / etc.; the terms "comprising", "including" and "having" are used to express an open-ended inclusion and mean that additional elements / components / etc. may exist in addition to the listed elements / components / etc.; the terms "first", "second" and "third" etc. are used only as labels and are not intended to limit the quantity of their objects.

[0039] In order to more clearly understand the above-mentioned objects, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0040] The following will be Figure 1 to Figure 7 The related technology is described.

[0041] Figure 1 The figure is a ProSe networking reference architecture diagram according to the relevant technology (taking 4G networking as an example).

[0042] Figure 1 The Chinese and English correspondences of the nouns involved are as follows:

[0043] 3GPP (3rd Generation Partnership Project);

[0044] Near-field service application: ProSe application;

[0045] Terrestrial radio access network: E_UTRAN (UMTS Terrestrial Radio Access Network, UMTS);

[0046] Mobility Management Entity: Mobility Management Entity, MME;

[0047] Serving Gateway: SGW;

[0048] PDN Gateway: PDN Gateway, PGW; PDN: Public Data Network, public data network;

[0049] Home Subscriber Server: Home Subscriber Server, HSS;

[0050] Session Initiation Protocol: Session Initiation Protocol SLP;

[0051] Near-domain service function: Prose Function;

[0052] Near-domain service application server: Prose Application sever;

[0053] EPC: Evolved Packet Core, 4G core network;

[0054] 5GC: 5G Core, 5G core network;

[0055] ProSe Application Codes: Near-domain service application codes;

[0056] ProSe Restricted Code: Code for restricted near-domain services;

[0057] PLMN: Public Land Mobile Network, public land mobile network;

[0058] like Figure 1 As shown, the ProSe Function is a new network element introduced by ProSe in the core network, which is used for the logical functions of network-related operations required by ProSe. The PC3 interface (a communication interface) is a reference point between the UE (user terminal) and the ProSe Function. PC3 relies on the EPC (4G core network) user plane for transmission (i.e. "over IP (based on the IP protocol)"). PC3 is used to authorize ProSe direct connection discovery and EPC-level ProSe discovery requests, and to perform the allocation of ProSe Application Codes / or ProSe Restricted Codes corresponding to the ProSe application identifier used for ProSe direct connection discovery. PC3 is also used to define the authorization policy for ProSe direct connection discovery (for Public Safety and non-Public Safety) and ProSe direct communication (only for Public Safety) between the UE and ProSe Function based on each PLMN. The 5G networking situation is similar to the above networking diagram.

[0059] Figure 2 FIG. 1 is a diagram showing a PC3 interface control plane protocol stack according to the related art. ProSe control signaling is carried on the user plane (ie, "over IP").

[0060] Figure 2 The Chinese and English correspondences of the nouns involved are as follows:

[0061] PC3 Control, control unit;

[0062] PDCP: Packet Data Convergence Protocol, packet data convergence protocol;

[0063] RLC: Radio Link Control, wireless link layer control protocol;

[0064] MAC address: Media Access Control Address, literally translated as media access control address;

[0065] The L1 layer refers to the physical layer;

[0066] L2 layer refers to the data link layer;

[0067] Relay: relay;

[0068] GTP: GPRS Tunnel Protocol, GPRS tunnel transmission protocol, GTP-U is one of the GTPs;

[0069] UDP, User Datagram Protocol, Chinese name is User Datagram Protocol;

[0070] eNodeB, a wireless base station in an LTE network;

[0071] Prose Fcn, prose function, near-domain service function.

[0072] Figure 3 The figure is a UE-to-Network Relay communication architecture diagram according to the relevant technology (taking 4G networking as an example).

[0073] Figure 3 The Chinese and English correspondences of the nouns involved are as follows:

[0074] PC5, direct communication interface: communication interface between terminals;

[0075] Uu, cellular network communication interface, the communication interface between the terminal and the base station;

[0076] E-UTRAN: Evolved Universal Terrestrial Radio Access Network, which refers to the evolved UMTS terrestrial radio access network, i.e. the mobile communication wireless network in LTE;

[0077] eMBMS: evolved Multimedia Broadcast Multicast Services.

[0078] exist Figure 3In the 4G wireless network, the remote device Remote UE can be located within or outside the coverage of E-UTRAN (4G wireless network). The ProSe UE-to-Network Relay must relay unicast services between the network and the Remote UE. It should provide a general function that can relay any IP data. ProSe UE-to-Network Relay supports unicast data relay through the One-to-one Direct Communication process, and also supports relaying eMBMS services through the one-to-many ProSe Direct Communication process. The 5G ProSe network is similar to the above network. The 5G network is similar to the above network diagram. Among them, the following functions need to be supported for the Relay UE:

[0079] - ProSe Direct discovery (direct discovery in near-area services) of ProSe UE-to-Network Relay (terminal-to-network relay communication in near-area services);

[0080] -1 to 1 ProSe direct communication (1 to 1 near-field service direct communication);

[0081] - Acts as the default router for Remote UE and forwards IP data packets;

[0082] - Relaying eMBMS data using one-to-many ProSe direct communication;

[0083] - Priority processing of downlink unicast and eMBMS services;

[0084] - If IPv6 (Internet Protocol version 6) is used, an IPv6 prefix is ​​allocated to the RemoteUE;

[0085] - If IPv4 (Internet Protocol version 4) is used, allocate an IPv4 address to the RemoteUE;

[0086] - UE-to-Network Relay UE, PCRF (Policy and Charging Rules Function) and PDN GW supporting PDN (Public Data Network) connection should support the extended TFT format to authorize services for each Remote UE separately;

[0087] -There must be a dedicated PDN connection to support the UE-to-Network Relay connection;

[0088] -For UE-to-Network Relay connections, the UE-to-Network Relay UE, PCRF and PDN GW must be configured with a dedicated APN;

[0089] -Policy control and charging functions need to be supported to achieve resource utilization of Remote UE.

[0090] Figure 4 The user plane protocol stack diagram of UE-to-Network Relay communication shown in the related art.

[0091] Figure 4 The Chinese and English correspondences of the nouns involved are as follows:

[0092] Application: application;

[0093] IP-Relay: IP relay;

[0094] Relay: Relay.

[0095] like Figure 4 As shown, the Relay UE establishes a dedicated PDN connection for the Remote UE as a Relay channel, which is terminated at the PDN GW.

[0096] Figure 5 The figure is a flow chart of UE requesting service authorization according to the related art.

[0097] Figure 5 The Chinese and English correspondences of the nouns involved are as follows:

[0098] HPLMN: Home PLMN, the PLMN to which the terminal user belongs;

[0099] VPLMN: Visited PLMN, visited PLMN;

[0100] Local PLMN: local PLMN;

[0101] like Figure 5 As shown, the UE obtains the authorization information of ProSe Direct Discovery or ProSe Direct Communication from the ProSe Function. Both the Relay UE and the Remote UE need to obtain the authorization information before executing the subsequent process.

[0102] 1. After establishing a connection between the UE and the PDN GW and obtaining the user IP address from the PDN GW, the UE sends an authorization request to the home short-distance communication server. The UE queries the corresponding IP address through DNS based on the fully qualified domain name / full domain name (FullyQualified Domain Name, abbreviated as FQDN) of the home short-distance communication server, and then communicates with the address. The FQDN of the home short-distance communication server can be statically configured in the UE or derived based on the home PLMN ID. The IP address of the home short-distance communication server can also be configured in the UE. The authorization message contains the PLMN information where the user is currently residing and the user identifier IMSI (International Mobile Subscriber Identification Number).

[0103] 2. If there is no user contract information in the home NFC server, the home NFC server requests the user contract information from the home subscriber server, and the request contains the user identifier IMSI (after the home NFC server obtains the contract information from the HSS, it will be stored in the local database);

[0104] 3. The home short-range communication server obtains authorization information and the effective time of authorization from the local / visited short-range communication server according to the obtained PLMN list; the local / visited short-range communication server returns an authorization response and returns the effective time of authorization;

[0105] 4. Based on the user's contract information and local configuration, the home short-range communication server returns the user's ProSe authorization information, which includes: a list of PLMNs that are fully authorized to allow ProSe services and a list of local PLMNs at the user's current location, as well as the authorization validity period corresponding to each PLMN. After receiving the authorization information, the UE starts a timer for each PLMN. When the timer expires, the UE needs to resend an authorization request to the home short-range communication server.

[0106] At the same time, 3GPP has defined a solution for trusted Wi-Fi (Wireless Fidelity) access to the mobile core network. By introducing a Wi-Fi convergence gateway into the mobile core network (4G is TWAG (Trusted WLAN Access Gateway) network element, 5G TNGF (Trusted Non-3GPP Gateway Function)), it is connected to the Wi-Fi network configured as a trusted network, and the Wi-Fi users under the Wi-Fi network are incorporated into the mobile network for unified management. The user authentication, service management, billing management and other capabilities of 4G / 5G can be fully reused for Wi-Fi access.

[0107] Figure 6 This is a reference architecture diagram of a trusted Wi-Fi access network according to related technologies (taking 4G networking as an example).

[0108] Figure 6 The Chinese and English correspondences of the nouns involved are as follows:

[0109] HSS: Home Subscriber Server, home subscriber server;

[0110] Serving Gateway, S-GW, serving gateway;

[0111] Operator's IP service (egIMS), operator's IP service (such as IMS, PSS, ETC)

[0112] IMS, IP multimedia Subsystem. Internet Protocol (IP) multimedia subsystem

[0113] PSS: Synchronization Signal

[0114] ETC: Electronic Toll Collection, non-stop toll collection system

[0115] AAA severe: Authentication, Authorization, and Accounting servers;

[0116] Trusted WLAN Acess Network: Trusted WLAN access network.

[0117] like Figure 6As shown, by introducing the TWAG network element, wifi user access controlled by the mobile core network is realized. Among them, the trusted wifi network requires the wifi AP (Access Point, wireless access point) device to independently use an SSID (Service Set Identifier) ​​as the SSID dedicated to EAP-AKA / AKA' authentication (security management authentication and authorization), support the function of being an 802.1x (a port-based network access control protocol) authentication point, and can configure the address of the 802.1x authentication agent to be the IP address of TWAG. The 5G networking situation is similar to the above networking diagram.

[0118] Figure 7 This is a basic flow chart of trusted Wi-Fi access according to related technologies (taking 4G networking as an example).

[0119] Figure 7 The Chinese and English correspondences of the nouns involved are as follows:

[0120] Radius, Remote Authentication Dial-In User Server, remote authentication dial-in user service;

[0121] AC: Access Controller, access controller;

[0122] Diameter is a protocol that is the basic protocol requirement for various applications.

[0123] refer to Figure 7 The basic process of the above-mentioned trusted wifi access can include the following steps.

[0124] 1.UE associates with AP (wireless access point) and initiates authentication.

[0125] 2. TWAG receives the Radius Access-Request message sent by AP / AC, extracts key information such as User-Name, NASIP (NAS: Network Access Server, network access server; NASIP, i.e. NAS IP address), UE (device) MAC (Media Access Control Address, media access control address) address, SSID, etc. 3. TWAG converts the Radius Access-Request message into a Diameter Access-Request message and sends it to 3GPP AAA).

[0126] 4. TWAG receives the Diameter Access-Challenge message replied by 3GPP AAA.

[0127] 5. TWAG converts the Diameter Access-Challenge message into a Radius Access-Challenge message (Radius access challenge message) and sends it to the AP / AC.

[0128] 6. The AP / AC sends an EAP-Request (Extensible Authentication Protocol Request) message to the UE.

[0129] 7. The AP / AC receives the EAP-Response (Extensible Authentication Protocol Response) sent by the UE.

[0130] 8. The AP / AC sends a Radius Access-Request message to TWAG, carrying the EAP-Response in step 7.

[0131] 9. TWAG converts the Radius Access-Request message into a Diameter Access-Request message and sends it to 3GPP AAA.

[0132] 10. Steps 4 to 9 may be repeated multiple times according to the requirements of the EAP-AKA / AKA' authentication process.

[0133] 11. TWAG receives the Diameter Access-Accept message replied by 3GPP AAA, and extracts key information such as IMSI (International Mobile Subscriber Identity), ISDN (Integrated Services Digital Network), authorized IP address, QoS (Quality of Service), Session-Timeout / Idle-Timeout, etc.

[0134] 12. TWAG initiates the establishment of a GTP tunnel to PGW (PDN (Public Data Network), where PGW is the gateway of PDN).

[0135] 13. TWAG converts the Diameter Access-Accept into a Radius Access-Accept message and sends it to the AP / AC.

[0136] 14. The AP / AC sends an EAP-Success message to the UE.

[0137] 15. The UE initiates a DHCP (Dynamic Host Configuration Protocol) process to request an IP address. The BRAS (Broadband Remote Access Server) acts as a DHCP Relay to forward the DHCP message to the TWAG. The TWAG, as a DHCP server, responds to the DHCP message and sends the IP address to the user.

[0138] 16. TWAG receives the Radius Accounting-Request (Start) message (Radius Accounting Start Request) sent by AP / AC and extracts key information such as Acct-Session-Id (Accounting Session ID) from it.

[0139] 17. TWAG sends the Radius Accounting-Request (Start) message to 3GPP AAA.

[0140] 18.TWAG receives the Radius Accounting-Response (Start) message sent by 3GPP AAA.

[0141] 19. TWAG acts as an AAA Proxy (AAA Proxy Server) and sends a RadiusAccounting-Response (Start) message to the AP / AC.

[0142] In the ProSe solution provided in the related technology, all terminals need to go through the service authorization process first, and only after completing the pre-configuration can the subsequent data communication service between terminals be carried out. That is, in the UE-to-Network Relay scenario, the Remote UE needs to have valid ProSe service authorization information in advance before it can communicate with the mobile network through the Relay UE. If the Remote UE is turned on or the cell is updated in an environment without a mobile network signal, the ProSe service authorization process cannot be completed, resulting in the inability to use the UE-to-Network Relay scenario (problem one). This also causes the existing ProSe to be able to only achieve one-hop Relay for the Remote UE in an area without a mobile network (problem two). At the same time, using the existing Relay UE to simply forward the Remote UE authorization request through the WiFi hotspot, there is a security risk to user data information (problem three).

[0143] In view of the above problems, the present disclosure provides the following communication data processing method.

[0144] Figure 8 The present invention is a flowchart of a method for processing communication data according to an exemplary embodiment.

[0145] In some embodiments, the first terminal may be a terminal device that has signed a contract for a near-field service, the hotspot of the first terminal may be a trusted hotspot of the near-field service (i.e., a hotspot authorized and trusted by the near-field service), and the near-field service trusted hotspot of the first terminal has been turned on. Through the trusted hotspot, the first terminal can assume a relay function in the near-field service.

[0146] Among them, the first terminal can be any device that can perform mobile communication connection, for example, it can be a mobile phone, a computer, a notebook, a wearable device, etc., and the present disclosure does not impose any restrictions on this.

[0147] Reference Figure 8 The communication data processing method provided by the embodiment of the present disclosure may include the following steps.

[0148] Step S802: In response to a connection request from the second terminal to a near-field service trusted hotspot of the first terminal, the first terminal establishes a first wifi wireless connection with the second terminal.

[0149] In some embodiments, when the first terminal (such as Fig. 9 After the trusted hotspot from the terminal to the one-hop relay device in the network shown in FIG. 1 is turned on, the devices around the first terminal (for example, the second terminal (for example, Fig. 9The remote device in the first terminal can connect to the first terminal through the trusted hotspot to establish a wifi wireless connection with the first terminal. The second terminal may be within the coverage of the mobile network or not, which is limited by the present disclosure.

[0150] The second terminal may be any device that can perform mobile communication connection, such as a mobile phone, a computer, a notebook, a wearable device, etc., and the present disclosure does not impose any restrictions on this.

[0151] Step S804: The first terminal obtains the first identifier of the second terminal through the first Wi-Fi wireless connection.

[0152] The first identifier may be identification information used to uniquely identify the first terminal, for example, it may be a MAC address, an IP address, etc. of the first terminal, and the present disclosure does not impose any limitation on this.

[0153] Step S806: The first terminal forwards the first identifier to the target core network through the user plane channel, so that the target core network performs contract authentication on the second terminal.

[0154] In some embodiments, the first terminal may be within the coverage of the mobile network. Then, after the first terminal responds to the connection request of the second terminal for the near-field service trusted hotspot, the first identifier of the second terminal may be transmitted through the mobile network user plane (such as Fig. 9 As shown, it can be forwarded to the target core network (such as Fig. 9 The EPC or 5GC shown) is used so that the target core network can perform contract authentication on the second terminal.

[0155] In some embodiments, the target core network may include a trusted wifi converged gateway (which may be a TWAG gateway in 4G and a TNGF gateway in 5G). When the target core network receives the first identifier forwarded by the first terminal, the trusted wifi converged gateway determines whether the second terminal has signed a near-domain service based on the first identifier. If the second terminal has signed a near-domain service, it can be determined that the second terminal has passed the contract authentication.

[0156] Step S808: After the second terminal passes the contract authentication, the first terminal establishes a first IPSec tunnel with the target core network, so that the second terminal can exchange information with the target core network through the first wifi wireless connection and the first IPSec tunnel.

[0157] In some embodiments, if the second terminal fails the contract authentication, the first terminal will disconnect the first wifi wireless connection; and add the second terminal to the blacklist to prevent the second terminal from connecting to the near-field service trusted hotspot of the first terminal again.

[0158] In some embodiments, if the second terminal passes the subscription authentication, the first terminal can establish a first IPSec tunnel with the target core network.

[0159] In some embodiments, the target core network includes a trusted wifi converged gateway. Then, the first terminal can establish a first IPSec tunnel with the target core network, which may include: after the second terminal passes the contract authentication, the first terminal obtains the IP address of the trusted wifi converged gateway; based on the IP address of the trusted wifi converged gateway, establishes the first IPSec tunnel with the trusted wifi converged gateway.

[0160] In some embodiments, the gateway of the IP address of the trusted WiFi fusion gateway can be issued and stored in the first terminal when the first terminal signs up for registration, or it can be issued to the first terminal by the target core network after the second terminal passes the contract authentication. This disclosure does not impose any restrictions on this.

[0161] In some embodiments, the information interaction between the second terminal and the target core network through the first wifi wireless connection and the first IPSec tunnel may include access authentication of the trusted wifi, and may also include transmission interaction of ordinary data, which is not limited in the present disclosure.

[0162] If the second terminal performs trusted wifi access authentication to the target core network through the first wifi wireless connection and the first IPSec tunnel, then it may specifically include: the first terminal notifies the second terminal to initiate trusted wifi authentication through the first wifi wireless connection; the first terminal receives the first authorization authentication request sent by the second terminal through the first wifi wireless connection; the first terminal forwards the first authorization authentication request to the target core network through the first IPSec tunnel, so that the target core network performs trusted wifi access authentication (i.e., near-domain service authorization) for the second terminal, so that after the trusted authentication is passed, the second terminal interacts with the target core network through the first wifi wireless connection and the first IPSec tunnel (the specific process can be referred to). Figure 7 Embodiment shown).

[0163] In some embodiments, when there is no other remote terminal using the first terminal as a relay, the first IPSecr channel may be released.

[0164] Under the control of the mobile core network, the present invention combines the trusted Wi-Fi access architecture to transform the Wi-Fi hotspot of the first terminal with a mobile network signal into a trusted Wi-Fi network, providing a secure and reliable relay channel for the second terminal (the second terminal may not be in a state without mobile network signal coverage), so that the second terminal can access the mobile core network and complete the ProSe service authorization for the second terminal.

[0165] Fig.10 The present invention is a flowchart of a method for processing communication data according to an exemplary embodiment.

[0166] Reference Fig.10 The communication data processing method provided by the embodiment of the present disclosure may include the following steps.

[0167] Step S1002: The first terminal sends an authorization request for a near-domain service to a target core network through a user plane channel.

[0168] In some embodiments, the first terminal may send an authorization request for the near-domain service to the target core network through a user plane channel under the coverage of the mobile network, so as to be authorized to become a relay device in the near-domain service.

[0169] Step S1004: The first terminal receives an authorization confirmation message returned by the target core network in response to the authorization request.

[0170] Step S1006: The first terminal configures the wifi hotspot of the first terminal as a near-field service trusted hotspot according to the authorization confirmation message, and turns on the near-field service trusted hotspot of the first terminal.

[0171] In some embodiments, after receiving the authorization confirmation message, the first terminal can configure its own Wi-Fi hotspot as a trusted hotspot for the near-field service, and open its own hotspot for surrounding devices to search and connect to, so as to become a relay device in the near-field service.

[0172] Step S1008, in response to the second terminal's connection request for the near-field service trusted hotspot of the first terminal, the first terminal establishes a first wifi wireless connection with the second terminal;

[0173] Step S1010: The first terminal obtains a first identifier of the second terminal through a first wifi wireless connection.

[0174] Step S1012: The first terminal forwards the first identifier to the target core network through the user plane channel, so that the target core network performs contract authentication on the second terminal.

[0175] Step S1014, after the second terminal passes the contract authentication, the first terminal establishes a first IPSec tunnel with the target core network, so that the second terminal can exchange information with the target core network through the first wifi wireless connection and the first IPSec tunnel.

[0176] The technical solution provided by this embodiment is that the second terminal can request authorization for near-domain services from the target core network in advance in a network coverage area, and then become a relay device for near-domain services to provide relay services for other devices (which may be devices in a network-free area). The technical solution provided by this embodiment is that the second terminal does not need to obtain authorization in advance when requesting near-domain services. After connecting to the hotspot of the relay device for near-domain services, it can initiate near-domain service authorization to the core network through the relay device. In this way, even if the second terminal initiates registration without a network, the second terminal can still communicate with the target core network through the first terminal.

[0177] The present disclosure provides a method for implementing ProSe service authorization of terminals in areas without mobile network signals. Under the control of the mobile core network, combined with the 3GPP trusted wifi access architecture, the wifi hotspot of the terminal with mobile network signals (which can access ProSeFunction) is turned into a trusted wifi network, providing a secure and reliable relay channel for the terminal without mobile network signals, so that it can access the mobile core network and complete ProSe service authorization. The problem that the terminal cannot perform ProSe service authorization when there is no mobile network signal is solved. At the same time, the scenario in which UE-to-Network Relay only supports one hop is expanded to a scenario that can support multiple hops, and the user information security problem existing in the forwarding of ordinary wifi hotspots is solved. The following functions and modules are added to the terminal or core network of the present disclosure:

[0178] --The wifi hotspot on the UE newly supports 802.11i function and near-field service wifi network control module (to ensure the security of near-field communication). The near-field service wifi network control module is responsible for enabling the wifi hotspot function after the UE completes the ProSe service authorization as a Relay UE, and configuring the wifi hotspot as a trusted wifi hotspot, using the specified SSID (the name of the wireless signal sent by the router), configuring it as an 802.1x authentication point (port-based network access control protocol), obtaining the IP address of TWAG / TNGF issued by the near-field service UE wifi management module, and configuring the address of the 802.1x authentication agent to the IP address of TWAG / TNGF; when the Relay UE receives the wifi wireless association message from Rometo UE, it can use the Rometo UE MAC address to query the ProSe Function to confirm whether the Rometo UE can enter the ProSe service authorization process in the form of user plane forwarding. After receiving the confirmation message, it can initiate the function of establishing an IPSec tunnel with TWAG / TNGF and notify the Rometo UE that it can initiate trusted wifi authentication.

[0179] --like Fig. 9 As shown, a proximate service UE wifi management module is added to the proximate service function network element (ProSe Function) of the target core network, which is responsible for the trusted wifi hotspot control of the UE and can query and confirm whether RometoUE can enter the ProSe service authorization process in a whitelist manner.

[0180] --like Fig. 9 As shown, a near-domain service wifi network control module is added to the UE, which is responsible for the activation and configuration of the trusted wifi hotspot, initiating the establishment of an IPSec tunnel with a trusted wifi converged gateway (such as TWAG in the 4G network, or TNGF in the 5G network), initiating an availability query of the Rometo UE that is wirelessly associated with it, and the wifi hotspot is added to support 802.11i functions, and is responsible for terminating the IPSec tunnel established by the Relay UE, and forwarding the control plane signaling such as EAP authentication and / or NAS signaling initiated by the Rometo UE in this tunnel and the ProSe service authorization interaction, service data flow and other user plane messages to the EPC / 5GC, and completing the ProSe service authorization according to the trusted wifi authentication access process and ProSe service authorization process defined by the 3GPP standard, and finally being able to use data services normally through the SGi interface of the UPF.

[0181] --In the trusted converged gateway (such as the TWAG network element of 4G EPC / TNGF of 5GC), add the function of terminating the IPSec tunnel established between the Relay UE and it.

[0182] Fig.11 A schematic diagram of an overall business process is shown according to an exemplary embodiment.

[0183] Combination Fig. 9 The structure diagram shown is shown in Fig.11 , the above business process diagram may include the following steps.

[0184] S101: The near-field service UE wifi management module of the ProSe Function is configured with a whitelist of IP addresses of trusted wifi converged gateways (such as TWAG / TNGF) in the same core network (4G core network EPC / 5G core network 5GC) and MAC addresses of UE wifi modules that can use the ProSe service.

[0185] S102: The UE completes ProSe service authorization in an area with mobile network signals and has the ability to become a Relay UE (relay terminal).

[0186] S103: After receiving the ProSe service authorization confirmation message, the near-domain service wifi network control module in the UE turns on its own wifi hotspot function and configures the wifi hotspot as a trusted wifi, using the SSID uniformly specified by the near-domain service wifi network (that is, all trusted wifi hotspots use this SSID), configured as an 802.1x authentication point, obtains the IP address of TWAG / TNGF issued by ProSeFunction, and configures this IP address as the address of the 802.1x authentication agent.

[0187] S104: The UE (ie, Remote UE) in the area without mobile network signal turns on the Wi-Fi function, searches for the SSID of the nearby service Wi-Fi network, and performs Wi-Fi wireless association with the Relay UE.

[0188] S105: The Relay UE obtains the MAC address of the Remote UE's wifi module through the wifi wireless association process, and forwards it to the ProSe Function's near-domain service UE wifi management module through the 4G / 5G user plane channel.

[0189] S106: ProSe Function performs a matching query and confirmation on the whitelist.

[0190] S107: If the match fails, the ProSe Function feeds back to the Relay UE, and the Relay UE interrupts the Wi-Fi wireless association with the Remote UE and puts the Remote UE into the blacklist. When the association occurs again in the future, it will no longer query the ProSe Function.

[0191] S108: If the match succeeds, the ProSe Function feeds back to the Relay UE and sends the IP address of the TWAG / TNGF.

[0192] S109: After receiving the match success message, the Relay UE establishes an IPSec tunnel with the TWAG / TNGF based on the acquired IP address of the TWAG / TNGF, and notifies the Rometo UE that it can initiate the trusted wifi authentication.

[0193] S110: The Remote UE passes through the Relay UE-TWAG / TNGF-EPC / 5GC channel. During this period, TWAG / TNGF will terminate the IPSec tunnel established for the Relay UE, and forward the control plane signaling such as EAP authentication (Extensible Authentication Protocol) and / or NAS signaling initiated by the Rometo UE in this tunnel to EPC / 5GC to complete the access authentication of the trusted wifi and have the ability to access ProSeFunction through the SGi interface (the trusted wifi access authentication process is as follows Fig.11 ).

[0194] S111: Remote UE passes through the Relay UE-TWAG / TNGF-EPC / 5GC-ProSe Function channel. During this period, TWAG / TNGF will terminate the IPSec tunnel established by the Relay UE, forward the user plane messages such as ProSe service authorization interaction initiated by the Rometo UE in this tunnel to EPC / 5GC, and complete the ProSe service authorization (ProSe service authorization process is as follows Figure 7 shown).

[0195] S112: The Remote UE uses the UE-to-NetworkRelay communication process through the Relay UE-TWAG / TNGF-EPC / 5GC channel, and finally uses the data service normally through the SGi interface of the UPF.

[0196] The above embodiments have the following technical effects:

[0197] 1. Compared with the simple forwarding channel solution using the WiFi hotspot in the Relay UE, the present disclosure implements a trusted WiFi access solution in the WiFi hotspot of the terminal, providing a secure and reliable relay channel.

[0198] 2. By adding simple functional modules to the standardized trusted Wi-Fi access and individual network elements in the ProSe networking solution, the two can be organically combined to fully utilize the ProSe authorization process and communication mechanism, without requiring any changes to the relevant network elements and protocols.

[0199] Fig.12 The present invention is a flowchart of a method for processing communication data according to an exemplary embodiment.

[0200] Reference Fig.12 The communication data processing method provided by the embodiment of the present disclosure may include the following steps.

[0201] In some embodiments, the second terminal may be a terminal device that has signed a contract for the near-field service, the hotspot of the second terminal may be a trusted hotspot of the near-field service (i.e., a hotspot authorized and trusted by the near-field service), and the near-field service trusted hotspot of the second terminal has been turned on. Through the trusted hotspot, the second terminal can assume the relay function in the near-field service (the second terminal may be, for example, Fig.13 The terminal in the network to the two-hop relay device in the network).

[0202] Step S1202: In response to a connection request from the third terminal to the near-field service trusted hotspot of the second terminal, the second terminal establishes a second Wi-Fi wireless connection with the third terminal.

[0203] In some embodiments, after the trusted hotspot of the second terminal is turned on, devices around the second terminal (for example, a third terminal (the third terminal may be, for example, Fig.13 The remote device in the example can connect to the second terminal through the trusted hotspot to establish a wifi wireless connection with the second terminal. The second terminal may be within the coverage of the mobile network or not, which is limited by the present disclosure.

[0204] The second terminal may be any device that can perform mobile communication connection, such as a mobile phone, a computer, a notebook, a wearable device, etc., and the present disclosure does not impose any restrictions on this.

[0205] Step S1204: The second terminal obtains the second identifier of the third terminal through the second Wi-Fi wireless connection.

[0206] The second identifier may be identification information used to uniquely identify the third terminal, for example, it may be a MAC address, an IP address, etc. of the third terminal, and the present disclosure does not impose any limitation on this.

[0207] Step S1206: The second terminal forwards the second identifier to the target core network through the first wifi wireless connection and the first IPSec tunnel, so that the target core network performs contract authentication on the third terminal.

[0208] In some embodiments, the target core network may include a trusted wifi converged gateway (which may be a TWAG gateway in 4G and a TNGF gateway in 5G). When the target core network receives the third identifier forwarded by the third terminal, the trusted wifi converged gateway determines whether the third terminal has signed a near-domain service based on the third identifier. If the third terminal has signed a near-domain service, it can be determined that the third terminal has passed the contract authentication.

[0209] Step S1208: After the third terminal passes the contract authentication, the third terminal establishes a second IPSec tunnel with the target core network so that the third terminal can exchange information with the target core network through the second wifi wireless connection and the second IPSec tunnel.

[0210] In some embodiments, if the contract authentication of the third terminal fails, the second terminal will disconnect the second wifi wireless connection; and add the third terminal to the blacklist of the second terminal and the first terminal to prevent the third terminal from connecting to the near-domain service trusted hotspot of the second terminal and the first terminal again.

[0211] In some embodiments, if the subscription authentication of the third terminal is passed, the second terminal can establish a second IPSec tunnel with the target core network.

[0212] In some embodiments, the target core network includes a trusted wifi converged gateway. Then, the second terminal can establish a second IPSec tunnel with the target core network, which may include: after the third terminal passes the contract authentication, the second terminal obtains the IP address of the trusted wifi converged gateway; based on the IP address of the trusted wifi converged gateway, establishes the second IPSec tunnel with the trusted wifi converged gateway.

[0213] In some embodiments, the gateway of the IP address of the trusted WiFi fusion gateway can be sent and stored in the second terminal when the second terminal signs up for registration, or it can be sent to the second terminal by the target core network after the signing authentication in the third party is passed. This disclosure does not limit this.

[0214] In some embodiments, the information interaction between the third terminal and the target core network through the second wifi wireless connection and the second IPSec tunnel may include access authentication of the trusted wifi, and may also include transmission interaction of ordinary data, which is not limited in the present disclosure.

[0215] If the third terminal performs trusted wifi access authentication to the target core network through the second wifi wireless connection and the second IPSec tunnel, then it can specifically include: the second terminal notifies the third terminal to initiate trusted wifi authentication through the second wifi wireless connection; the second terminal receives the second authorization authentication request sent by the third terminal through the second wifi wireless connection; the second terminal forwards the second authorization authentication request to the target core network through the second IPSec tunnel, so that the target core network performs trusted wifi access authentication (i.e., near-domain service authorization) for the third terminal, so that after the trusted authentication is passed, the third terminal interacts with the target core network through the second wifi wireless connection and the second IPSec tunnel (the specific process can be referred to). Figure 7 Embodiment shown).

[0216] In the above embodiment, under the 3GPP ProSe UE-to-Network Relay architecture, in areas without mobile network signals, multi-hop terminal cascade access can be achieved using Wi-Fi technology, which is better than the existing standard that only uses one hop, thereby expanding the coverage of the short-range communication network.

[0217] Therefore, the technical solution provided in this embodiment not only solves the problem that the terminal cannot perform ProSe service authorization when there is no mobile network signal, but also expands the scenario in which UE-to-Network Relay only supports one hop to a scenario that supports multiple hops, and solves the user information security problem existing in ordinary WiFi hotspot forwarding.

[0218] The present disclosure also provides a communication data processing system, which may include:

[0219] A first terminal is used to send an authorization request for a near-domain service to a target core network; receive an authorization confirmation message returned by the target core network in response to the authorization request; configure the wifi hotspot of the first terminal as a trusted hotspot for a near-domain service according to the authorization confirmation message, and open the trusted hotspot for the near-domain service of the first terminal; establish a first wifi wireless connection with the second terminal in response to a connection request from the second terminal for the trusted hotspot for the near-domain service of the first terminal; obtain a first identifier of the second terminal through the first wifi wireless connection; forward the first identifier to the target core network through a user plane channel so that the target core network can perform contract authentication on the second terminal; after the contract authentication is passed, the first terminal establishes a first IPSec tunnel with the target core network so that the second terminal can perform information interaction with the target core network through the first wifi wireless connection and the first IPSec tunnel.

[0220] The second terminal is used to send an authorization request for near-domain services to the target core network; receive an authorization confirmation message returned by the target core network in response to the authorization request; configure the wifi hotspot of the second terminal as a trusted hotspot for near-domain services according to the authorization confirmation message, and open the trusted hotspot for near-domain services of the second terminal; establish a second wifi wireless connection with the third terminal in response to a connection request from a third terminal for the trusted hotspot for near-domain services of the second terminal; obtain a second identifier of the third terminal through the second wifi wireless connection; forward the second identifier to the target core network through the first wifi wireless connection and the first IPSec tunnel, so that the target core network can perform contract authentication on the third terminal; after the contract authentication is passed, the second terminal establishes a second IPSec tunnel with the target core network, so that the third terminal can interact with the target core network through the second wifi wireless connection and the second IPSec tunnel.

[0221] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0222] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0223] Fig.14 FIG. 1 shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiment of the present disclosure. It should be noted that: Fig.14 The electronic device 1400 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0224] like Fig.14As shown, the electronic device 1400 includes a central processing unit (CPU) 1401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1402 or a program loaded from a storage part 1408 into a random access memory (RAM) 1403. In the RAM 1403, various programs and data required for the operation of the electronic device 1400 are also stored. The CPU 1401, the ROM 1402, and the RAM 1403 are connected to each other via a bus 1404. An input / output (I / O) interface 1405 is also connected to the bus 1404.

[0225] The following components are connected to the I / O interface 1405: an input section 1406 including a keyboard, a mouse, etc.; an output section 1407 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1408 including a hard disk, etc.; and a communication section 1409 including a network interface card such as a LAN card, a modem, etc. The communication section 1409 performs communication processing via a network such as the Internet. A drive 1410 is also connected to the I / O interface 1405 as needed. A removable medium 1411, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1410 as needed, so that a computer program read therefrom is installed into the storage section 1408 as needed.

[0226] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part 1409, and / or installed from a removable medium 1411. When the computer program is executed by a central processing unit (CPU) 1401, the above-mentioned functions defined in the system of the present application are executed.

[0227] It should be noted that the computer-readable storage medium shown in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable storage medium other than a computer-readable storage medium that can send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0228] As another aspect, the present application also provides a computer-readable storage medium, which may be included in the device described in the above embodiment; or it may exist independently and not be assembled into the device. The above computer-readable storage medium carries one or more programs. When the above one or more programs are executed by a device, the device can realize functions including: in response to the second terminal's connection request for the near-domain service trusted hotspot of the first terminal, the first terminal establishes a first wifi wireless connection with the second terminal; the first terminal obtains the first identifier of the second terminal through the first wifi wireless connection; the first terminal forwards the first identifier to the target core network through the user plane channel, so that the target core network performs contract authentication on the second terminal; after the second terminal passes the contract authentication, the first terminal establishes a first IPSec tunnel with the target core network, so that the second terminal interacts with the target core network through the first wifi wireless connection and the first IPSec tunnel.

[0229] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method provided in various optional implementations of the above-mentioned embodiments.

[0230] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for a computing device (which can be a personal computer, a server, a mobile terminal, or a smart device, etc.) to execute the method according to the embodiment of the present disclosure, for example Figure 8 , Fig.10 , Fig.11 or Fig.12 One or more of the steps shown.

[0231] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not applied for by the present disclosure. The specification and examples are to be regarded as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

[0232] It should be understood that the present disclosure is not limited to the detailed structures, drawings or implementations shown herein, but rather the present disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims

1. A communication data processing method, It is characterized in that The hotspot of the first terminal is a trusted hotspot for near-field services, and the trusted hotspot for near-field services of the first terminal has been turned on, the second terminal has not obtained service authorization for near-field services, and the second terminal is not under the coverage of mobile network signals; including: In response to a connection request from the second terminal to the near-field service trusted hotspot of the first terminal, the first terminal establishing a first wifi wireless connection with the second terminal; The first terminal obtains the first identifier of the second terminal through the first wifi wireless connection; The first terminal forwards the first identifier to the target core network through the user plane channel, so that the target core network performs a contract authentication on the second terminal, wherein when the target core network determines that the second terminal has subscribed to the near-domain service, it is determined that the second terminal passes the contract authentication, wherein when the second terminal device passes the contract authentication, it is determined that the second terminal obtains the service authorization for the near-domain service; After the second terminal passes the contract authentication, the first terminal establishes a first IPSec tunnel with the target core network, so that the second terminal exchanges information with the target core network through the first wifi wireless connection and the first IPSec tunnel; After the second terminal fails to pass the contract authentication, the first terminal disconnects the first wifi wireless connection; and, The second terminal is added to the blacklist to prevent the second terminal from connecting to the near-field service trusted hotspot of the first terminal again.

2. The method according to claim 1, It is characterized in that Before responding to a connection request from a second terminal to a near-domain service trusted hotspot of the first terminal, the method includes: The first terminal sends an authorization request for the near domain service to the target core network through a user plane channel; The first terminal receives an authorization confirmation message returned by the target core network in response to the authorization request; The first terminal configures the wifi hotspot of the first terminal as the near-field service trusted hotspot according to the authorization confirmation message, and turns on the near-field service trusted hotspot of the first terminal.

3. The method according to claim 1, It is characterized in that The first identifier is a MAC address of the second terminal; wherein the first terminal forwards the first identifier to a target core network through a user plane channel so that the target core network performs a contract authentication on the second terminal, including: The first terminal forwards the MAC address of the second terminal to the target core network through the user plane channel, so that the target core network determines that the second terminal has subscribed to the near-domain service based on the MAC address of the second terminal, thereby performing subscription authentication on the second terminal.

4. The method according to claim 1, It is characterized in that The second terminal interacts with the target core network through the first wifi wireless connection and the first IPSec tunnel, including: The first terminal notifies the second terminal to initiate trusted wifi authentication through the first wifi wireless connection; The first terminal receives a first authorization authentication request sent by the second terminal through the first wifi wireless connection; The first terminal forwards the first authorization authentication request to the target core network through the first IPSec tunnel, so that the target core network performs access authentication of the second terminal to the trusted wifi, so that after the trusted authentication is passed, the second terminal interacts with the target core network through the first wifi wireless connection and the first IPSec tunnel.

5. The method according to claim 1, It is characterized in that The target core network includes a trusted WiFi converged gateway; wherein, after the second terminal passes the contract authentication, the first terminal establishes a first IPSec tunnel with the target core network, including: After the second terminal passes the contract authentication, the first terminal obtains the IP address of the trusted WiFi convergence gateway; Based on the IP address of the trusted WiFi converged gateway, the first IPSec tunnel is established with the trusted WiFi converged gateway.

6. The method according to claim 1, It is characterized in that The hotspot of the second terminal is a trusted hotspot for near-field services, and the trusted hotspot for near-field services of the second terminal has been turned on, and the method further includes: In response to a connection request from a third terminal to a near-field service trusted hotspot of the second terminal, the second terminal establishing a second wifi wireless connection with the third terminal; The second terminal obtains the second identifier of the third terminal through the second wifi wireless connection; The second terminal forwards the second identifier to the target core network through the first wifi wireless connection and the first IPSec tunnel, so that the target core network performs contract authentication on the third terminal; After the third terminal passes the contract authentication, the second terminal establishes a second IPSec tunnel with the target core network, so that the third terminal can exchange information with the target core network through the second WiFi wireless connection and the second IPSec tunnel.

7. A communication data processing system, It is characterized in that The communication data processing system comprises: A first terminal is configured to send an authorization request for a near-domain service to a target core network; receive an authorization confirmation message returned by the target core network in response to the authorization request; configure the first terminal's Wi-Fi hotspot as a trusted hotspot for near-domain services according to the authorization confirmation message, and open the trusted hotspot for near-domain services of the first terminal; establish a first Wi-Fi wireless connection with the second terminal in response to a connection request from a second terminal for the trusted hotspot for near-domain services of the first terminal, wherein the second terminal has not obtained service authorization for near-domain services and the second terminal is not covered by a mobile network signal; obtain a first identifier of the second terminal through the first Wi-Fi wireless connection; forward the first identifier to the target core network through a user plane channel so that the target core network can access the second terminal. The terminal performs contract authentication, wherein when the target core network determines that the second terminal has signed a contract for the near-domain service, it is determined that the second terminal has passed the contract authentication, wherein when the second terminal device passes the contract authentication, it is determined that the second terminal has obtained the business authorization for the near-domain service; after the contract authentication is passed, the first terminal establishes a first IPSec tunnel with the target core network, so that the second terminal can exchange information with the target core network through the first wifi wireless connection and the first IPSec tunnel; after the second terminal fails the contract authentication, the first terminal disconnects the first wifi wireless connection; and, the second terminal is included in the blacklist to prevent the second terminal from connecting to the near-domain service trusted hotspot of the first terminal again.

8. An electronic device, It is characterized in that include: Memory; as well as The electronic device is used to execute the communication data processing method according to any one of claims 1 to 6 based on the instructions stored in the memory.

9. A computer-readable storage medium having a program stored thereon, wherein when the program is executed by a processor, the communication data processing method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Proximity service authorization and provisioning

    US20210136570A1

  • Method and device for protecting privacy

    WO2019023825A1

  • Methods and apparatuses for supporting connectivity of remote user equipments with relay access via an interworking function

    WO2021138511A1