COMMUNICATION METHOD, APPARATUS AND SYSTEM

The communication method and device address security challenges in integrated systems by using authentication keys and security contexts to establish secure connections across heterogeneous technologies, ensuring secure data transmission.

JP2024537820AActive Publication Date: 2024-10-16HUAWEI TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024519730
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2021-09-30
Publication Date
2024-10-16
Estimated Expiration
2041-09-30

AI Technical Summary

Technical Problem

Existing communication technologies struggle to ensure security requirements in integrated communication scenarios involving heterogeneous communication technologies.

Method used

A communication method and device that support multiple communication technologies, such as short-range and 5G, by using authentication keys and security contexts to establish secure connections based on service types, ensuring security through trusted keys and contexts.

Benefits of technology

Ensures secure data transmission between nodes with different communication technologies by prioritizing trusted keys and contexts, enhancing security in integrated communication systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024537820000001_ABST
    Figure 2024537820000001_ABST
Patent Text Reader

Abstract

The present application provides a communication method, an apparatus, and a system, which relate to the field of communication technology. The method includes: acquiring first information by a first node / second node; and establishing a first communication connection to a second node based on the first information, the first communication connection being used to transmit data of a first service, the first communication connection corresponding to a first communication technology, the first node accessing a network corresponding to a second communication technology, and the first service being a service of the first communication technology or a service of the second communication technology. This solution helps to meet security requirements of heterogeneous communication technologies in unified communication scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] TECHNICAL FIELD Embodiments of the present application relate to the field of communication technology, and in particular to a communication method, apparatus and system. [Background technology]

[0002] With the rapid development of information technology, mobile terminals (e.g., mobile phones, tablet computers, or other mobile intelligent terminals) have become indispensable and important intelligent tools for individuals. In the mobile Internet era, compared with traditional computers (such as desktop workstations and servers), these mobile terminals are more convenient to use, but are more likely to threaten and damage personal information. Therefore, the security of communication technology is important.

[0003] With the rapid development of emerging industries such as intelligent vehicles, intelligent terminals, intelligent homes, and intelligent manufacturing, innovation requirements and applications are constantly emerging. In some scenarios, the design of unified communication based on different communication technologies has been proposed. However, how to ensure the security requirements of heterogeneous communication technologies in converged communication scenarios remains a key problem that needs to be urgently solved. Summary of the Invention

[0004] The embodiments of the present application provide a communication method, apparatus, and system that help meet the security requirements of heterogeneous communication technologies in a unified communication scenario. [Means for solving the problem]

[0005] According to a first aspect, an embodiment of the present application provides a communication method. The method may be applied to a first node, and the first node may support a first communication technology and a second communication technology. The method may include the steps of obtaining first information and establishing a first communication connection to a second node based on the first information, where the first communication connection is used to transmit data of a first service, the first communication connection corresponds to the first communication technology, and the first node is a node that accesses a network corresponding to the second communication technology. For example, the first service may be a service of the first communication technology or a service of the second communication technology.

[0006] According to the aforementioned method, the first node may establish a first communication connection between the first node and the second node based on the first information associated with the first service. In this way, during service data transmission between the first node and the second node, the data corresponding to the first service may be transmitted by using the communication connection corresponding to the first service. In order to meet security requirements in the integrated communication scenario and ensure security of the corresponding service data, different communication connections may correspond to different service data transmissions. For example, the first communication technology may be a short-range communication technology, and the second communication technology may be the 5th generation mobile communication technology (5G).

[0007] It should be noted that in this embodiment of the present application, only the first communication technology and the integrated scenario based on the first communication technology are used as an example for explanation. This embodiment of the present application can also be applied to another integrated communication scenario. The first service can also include a service corresponding to another communication technology. This is not limited in the embodiment of the present application.

[0008] Referring to the first aspect, in one possible implementation, the first information may include a first key used for communication authentication with the second node, and obtaining the first information may include obtaining the first key based on a type corresponding to the second communication technology and / or a service type of the first service.

[0009] According to the aforementioned method, the first node may trigger a process of establishing a connection between the first node and the second node, and the first node may obtain a first key based on a current communication scenario and / or a service requirement, and establish a corresponding first communication connection between the first node and the second node based on the obtained first key to transmit data corresponding to the first service. For example, the type corresponding to the second communication technology may be a type of a communication standard used in the second communication technology, such as 5G technology.

[0010] Referring to the first aspect, in one possible implementation, the first information may include a first key used for communication authentication with the second node, and the method further includes a step of receiving a first message from the second node, the first message carrying key type indication information or service type indication information, and the step of obtaining the first information includes a step of obtaining the first key based on the key type indication information or the service type indication information.

[0011] According to the aforementioned method, the second node may trigger a process of establishing a connection between the first node and the second node, and the first node may obtain a first key associated with the first service based on the key type indication information or the service type indication information from the second node, and establish a corresponding first communication connection between the first node and the second node based on the obtained first key to transmit data corresponding to the first service.

[0012] Referring to the first aspect, in one possible implementation, the step of establishing a first communication connection to the second node based on the first information includes the steps of: sending a second message associated with the first key to the second node, where the second message is used to identify and authenticate the first node; receiving a third message in response to the second message, where the third message is used to identify and authenticate the second node; and if the identity and authentication of the second node is successful, sending a fourth message to the second node, where the fourth message is used to establish the first communication connection to the second node.

[0013] It should be noted that in this embodiment of the present application, the third message may correspond to one message. For example, the message may be used for the identification and authentication of the second node, and implicitly indicates that the identification and authentication of the first node has been successful. Alternatively, as another example, the message may be used for the explicit indication that the identification and authentication of the first node has been successful, and may also be used for the identification and authentication of the second node. Alternatively, the third message may correspond to at least two messages, for example, a message indicating that the identification and authentication of the first node has been successful and a message used for the identification and authentication of the second node. The specific implementation of the third message is not limited in the embodiment of the present application. Similarly, the fourth message may also correspond to one message. For example, the message may be used for establishing a first communication connection to the second node, and implicitly indicates that the identification and authentication of the second node has been successful. Alternatively, as another example, the message may be used for establishing a first communication connection to the second node, and may also be used for the explicit indication that the identification and authentication of the second node has been successful. Alternatively, the fourth message may correspond to at least two messages, for example, a message used to establish a first communication connection to the second node and a message used to indicate that the identification authentication of the second node has been successful. The specific implementation of the fourth message is not limited in the embodiments of the present application.

[0014] According to the above method, the first node can perform mutual identity authentication (or identity authentication) with the second node based on the obtained first key, and after the mutual authentication is successful, a secure first communication connection is established between the two parties.

[0015] Referring to the first aspect, in one possible implementation, the first key is a key used for a service of a first communication technology or a key used for a service of a second communication technology.

[0016] Referring to the first aspect, in one possible implementation, if the first service is a service of a first communication technology, the first key is a key used for the service of the first communication technology, and / or if the first service is a service of a second communication technology, the first key is a key used for the service of the second communication technology.

[0017] According to the aforementioned method, a first node may obtain at least one key, and the first node may select a key from the at least one key based on the first service to establish a first communication connection corresponding to the first service, so as to ensure security of service data of the first service.

[0018] Referring to the first aspect, in one possible implementation, the keys used for the services of the second communication technology include trusted keys or untrusted keys, where a trusted key is a key that is successfully authenticated over the network and an untrusted key is a key that is not authenticated over the network, and the priority of the trusted key is higher than the priority of the untrusted key.

[0019] According to the aforementioned method, the at least one key obtained by the first node may have a corresponding priority and / or usage principle, so that the first node may select a key closely related to the first service as the first key from the at least one key based on the first service and the priority and / or usage principle.

[0020] It should be noted that in this embodiment of the present application, the keys correspond to services: if the first service is a service of a first communication technology, the key used for the service of a second communication technology is not used, if the first service is a service of a second communication technology, the key used for the service of the first communication technology is not used, and if a trusted key exists, the untrusted key is not used.

[0021] Referring to the first aspect, in one possible implementation, prior to the step of establishing the first communication connection, the method further includes a step of receiving a key from the network, the key being used for the service of the second communication technology.

[0022] According to the above method, in an integrated communication scenario based on a first communication technology and a second communication technology, a network corresponding to the second communication technology can be used to distribute a key used for the service of the second communication technology to a first node, and the first node receives the key to establish a first communication connection between the first node and the second node based on the key in the integrated communication scenario. It should be understood that in this embodiment of the present application, the key used for the service of the second communication technology can be a default value or a dynamically changing value. This is not limited in the embodiment of the present application. In addition, if the key is a key that is successfully authenticated through the network, the key is a trusted key, or if the key is a key that is not authenticated through the network, the key is an untrusted key.

[0023] Referring to the first aspect, in one possible implementation, the first information includes a first security context used for communication with the second node, and obtaining the first information includes receiving a fifth message from the second node, the fifth message carrying an identifier associated with the first security context, and obtaining the first information includes obtaining the first security context based on the identifier.

[0024] According to the aforementioned method, there may be multiple sets of security contexts at the second node. For example, the second node may select a first security context from the multiple sets of security contexts based on a type corresponding to the second communication technology and / or a service type of the first service, and send a fifth message to the first node to indicate an identifier of the first security context. The first node may obtain the first security context corresponding to the first service based on the identifier associated with the first security context and indicated by the second node, and establish a secure first communication connection between the two parties based on the obtained first security context. For example, the type corresponding to the second communication technology may be a type of a communication standard used in the second communication technology, e.g., 5G technology.

[0025] Referring to the first aspect, in one possible implementation, the first security context is a security context used for a service of a first communication technology or a security context used for a service of a second communication technology.

[0026] Referring to the first aspect, in one possible implementation, if the first service is a service of a first communication technology, the first security context is a security context used for the service of the first communication technology, and / or if the first service is a service of a second communication technology, the first security context is a security context used for the service of the second communication technology.

[0027] Referring to the first aspect, in one possible implementation, the security context used for the service of the second communication technology includes a trusted security context or an untrusted security context, where the trusted security context is a security context that is successfully authenticated through the network and the untrusted security context is a security context that is not authenticated through the network, and the priority of the trusted security context is higher than the priority of the untrusted security context.

[0028] According to the aforementioned method, at least one set of security contexts may exist between the first node and the second node, and the at least one set of security contexts may have corresponding priorities and / or usage principles, such that the first node may select a security context that is closely related to the first service as the first security context from the at least one set of security contexts based on the first service and the priorities and / or usage principles.

[0029] It should be noted that in this embodiment of the present application, like the keys, the security context also corresponds to the service: if the first service is a service of a first communication technology, the security context used for the service of a second communication technology is not used, if the first service is a service of a second communication technology, the security context used for the service of the first communication technology is not used, and if a trusted security context exists, the untrusted security context is not used.

[0030] Referring to the first aspect, in one possible implementation, before the step of obtaining the first information, the method further includes a step of sending a sixth message to the second node, the sixth message being used to indicate that the first node supports the second communication technology. It should be noted that in this embodiment of the present application, the first node supporting the second communication technology may also be understood as the first node supporting the transmission of services of the second communication technology, the first node supporting the service transmission corresponding to the second communication technology, or the first node supporting the service transmission implemented based on the second communication technology.

[0031] According to the aforementioned method, the first node may add related instruction information to the sixth message to inform the second node of the service type supported by the first node, so that the second node makes a decision based on the service performed between the second node and the first node, establishes a secure first communication connection, and transmits data of the first service between the two parties.

[0032] According to a second aspect, an embodiment of the present application provides a communication method. The method is applied to a second node. The second node can support a first communication technology, or the second node can support a first communication technology and a second communication technology. The method may include the steps of obtaining first information and establishing a first communication connection to the first node based on the first information, where the first communication connection is used to transmit data of a first service, the first communication connection corresponds to the first communication technology, and the first node is a node that accesses a network corresponding to the second communication technology. For example, the first service may be a service of the first communication technology or a service of the second communication technology.

[0033] Referring to the second aspect, in one possible implementation, the first information includes a first key used for communication authentication with the first node, and the step of obtaining the first information includes obtaining the first key based on a type corresponding to the second communication technology and / or a service type of the first service. For example, the type corresponding to the second communication technology may be a type of communication standard used in the second communication technology, for example, 5G technology. Referring to the second aspect, in one possible implementation, the method further includes a step of transmitting a first message to the first node, the first message carrying information associated with the first key. For example, the information associated with the first key may include key type indication information or service type indication information. In an optional implementation, the information associated with the first key may alternatively be the first key.

[0034] Referring to the second aspect, in one possible implementation, the step of establishing a first communication connection to the first node based on the first information includes the steps of receiving a second message from the first node, where the second message is associated with the first key, and where the second message is used to identify and authenticate the first node; if the identity and authentication of the first node is successful, sending a third message to the first node, where the third message is used to identify and authenticate the second node; and receiving a fourth message in response to the third message, where the fourth message is used to establish the first communication connection to the second node.

[0035] It should be noted that in this embodiment of the present application, the third message may correspond to one message. For example, the message may be used for the identification and authentication of the second node, and implicitly indicates that the identification and authentication of the first node has been successful. Alternatively, as another example, the message may be used for the explicit indication that the identification and authentication of the first node has been successful, and may also be used for the identification and authentication of the second node. Alternatively, the third message may correspond to at least two messages, for example, a message indicating that the identification and authentication of the first node has been successful and a message used for the identification and authentication of the second node. The specific implementation of the third message is not limited in the embodiment of the present application. Similarly, the fourth message may also correspond to one message. For example, the message may be used for establishing a first communication connection to the second node, and implicitly indicates that the identification and authentication of the second node has been successful. Alternatively, as another example, the message may be used for establishing a first communication connection to the second node, and may also be used for the explicit indication that the identification and authentication of the second node has been successful. Alternatively, the fourth message may correspond to at least two messages, for example, a message used to establish a first communication connection to the second node and a message used to indicate that the identification authentication of the second node has been successful. The specific implementation of the fourth message is not limited in the embodiments of the present application.

[0036] Referring to the second aspect, in one possible implementation, the first key is a key used for a service of a first communication technology or a key used for a service of a second communication technology.

[0037] Referring to the second aspect, in one possible implementation, if the first service is a service of a first communication technology, the first key is a key used for the service of the first communication technology, and / or if the first service is a service of a second communication technology, the first key is a key used for the service of the second communication technology.

[0038] Referring to the second aspect, in one possible implementation, the keys used for the services of the second communication technology include trusted keys or untrusted keys, where a trusted key is a key that is successfully authenticated over the network and an untrusted key is a key that is not authenticated over the network, and the priority of the trusted key is higher than the priority of the untrusted key.

[0039] Referring to the second aspect, in one possible implementation, prior to the step of establishing the first communication connection, the method further includes a step of receiving a key from the network and used for the service of the second communication technology.

[0040] Referring to the second aspect, in one possible implementation, the first information includes a first security context, the first security context is used by the second node to establish a first communication connection to the first node, and obtaining the first information includes obtaining the first security context based on a type corresponding to the second communication technology and / or a service type of the first service. For example, the type corresponding to the second communication technology may be a type of communication standard used in the second communication technology, e.g., 5G technology.

[0041] Referring to the second aspect, in one possible implementation, the first security context is a security context used for a service of a first communication technology or a security context used for a service of a second communication technology.

[0042] Referring to the second aspect, in one possible implementation, if the first service is a service of a first communication technology, the first security context is a security context used for the service of the first communication technology, and / or if the first service is a service of a second communication technology, the first security context is a security context used for the service of the second communication technology.

[0043] Referring to the second aspect, in one possible implementation, the security context used for the service of the second communication technology includes a trusted security context or an untrusted security context, where the trusted security context is a security context that is successfully authenticated through the network and the untrusted security context is a security context that is not authenticated through the network, and the priority of the trusted security context is higher than the priority of the untrusted security context. Referring to the second aspect, in one possible implementation, the method further includes the step of sending a fifth message to the first node, where the fifth message carries an identifier associated with the first security context.

[0044] Referring to the second aspect, in one possible implementation, the method further includes receiving a sixth message from the first node, the sixth message carrying information used to indicate that the first node supports the second communication technology. It is noted that in this embodiment of the present application, the first node supporting the second communication technology may also be understood as the first node supporting the transmission of services of the second communication technology, the first node supporting service transmission corresponding to the second communication technology, or the first node supporting service transmission implemented based on the second communication technology.

[0045] According to a third aspect, an embodiment of the present application provides a communication device. The communication device is applied to a first node, and includes a communication unit configured to communicate with a second node, and a processing unit configured to obtain first information and establish a first communication connection to the second node based on the first information, where the first communication connection is used to transmit data of a first service, the first communication connection corresponds to a first communication technology, and the first node is a node that accesses a network corresponding to a second communication technology. For example, the first service is a service of the first communication technology or a service of the second communication technology.

[0046] Referring to the third aspect, in one possible implementation, the first information includes a first key used for communication authentication with the second node, and the processing unit is configured to obtain the first key based on a type corresponding to the second communication technology and / or a service type of the first service. For example, the type corresponding to the second communication technology may be a type of communication standard used in the second communication technology, such as 5G technology. Referring to the third aspect, in one possible implementation, the first information includes a first key used for communication authentication with the second node, the communication unit is configured to receive a first message from the second node, the first message carries key type indication information or service type indication information, and the processing unit is configured to obtain the first key based on the key type indication information or service type indication information.

[0047] Referring to the third aspect, in one possible implementation, the communication unit is configured to send a second message associated with the first key to the second node, where the second message is used to identify and authenticate the first node, receive a third message in response to the second message, where the third message is used to identify and authenticate the second node, and if the identity and authentication of the second node is successful, send a fourth message to the second node, where the fourth message is used to establish a first communication connection to the second node.

[0048] Referring to the third aspect, in one possible implementation, the first key is a key used for a service of a first communication technology or a key used for a service of a second communication technology.

[0049] Referring to the third aspect, in one possible implementation, if the first service is a service of a first communication technology, the first key is a key used for the service of the first communication technology, and / or if the first service is a service of a second communication technology, the first key is a key used for the service of the second communication technology.

[0050] Referring to the third aspect, in one possible implementation, the keys used for the services of the second communication technology include trusted keys or untrusted keys, where a trusted key is a key that is successfully authenticated over the network and an untrusted key is a key that is not authenticated over the network, and the priority of the trusted key is higher than the priority of the untrusted key.

[0051] Referring to the third aspect, in one possible implementation, before the processing unit establishes the first communication connection, the communication unit is further configured to receive a key from the network and to be used for the service of the second communication technology.

[0052] Referring to the third aspect, in one possible implementation, the first information includes a first security context used for communication with the second node, the communication unit is configured to receive a fifth message from the second node, the fifth message carrying an identifier associated with the first security context, and the processing unit is configured to obtain the first security context based on the identifier.

[0053] Referring to the third aspect, in one possible implementation, the first security context is a security context used for a service of a first communication technology or a security context used for a service of a second communication technology.

[0054] Referring to the third aspect, in one possible implementation, if the first service is a service of a first communication technology, the first security context is a security context used for the service of the first communication technology, and / or if the first service is a service of a second communication technology, the first security context is a security context used for the service of the second communication technology.

[0055] With reference to the third aspect, in one possible implementation, the security context used for the service of the second communication technology includes a trusted security context or an untrusted security context, where the trusted security context is a security context that is successfully authenticated through the network and the untrusted security context is a security context that is not authenticated through the network, and the priority of the trusted security context is higher than the priority of the untrusted security context. With reference to the third aspect, in one possible implementation, the communication unit is further configured to send a sixth message to the second node before the processing unit obtains the first information, where the sixth message carries information used to indicate that the first node supports the second communication technology.

[0056] According to a fourth aspect, an embodiment of the present application provides a communication device including: a communication unit configured to communicate with a first node; and a processing unit configured to obtain first information and establish a first communication connection to the first node based on the first information, where the first communication connection is used to transmit data of a first service, the first communication connection corresponds to a first communication technology, and the first node is a node accessing a network corresponding to a second communication technology. For example, the first service may be a service of the first communication technology or a service of the second communication technology.

[0057] With reference to the fourth aspect, in one possible implementation, the first information includes a first key used for communication authentication with the first node, and the processing unit is configured to obtain the first key based on a type corresponding to the second communication technology and / or a service type of the first service. For example, the type corresponding to the second communication technology may be a type of communication standard used in the second communication technology, e.g., 5G technology. With reference to the fourth aspect, in one possible implementation, the communication unit is further configured to send a first message to the first node, the first message carrying information associated with the first key. For example, the information associated with the first key may include key type indication information or service type indication information.

[0058] Referring to the fourth aspect, in one possible implementation, the communication unit is configured to receive a second message from the first node, where the second message is associated with a first key, where the second message is used to identify and authenticate the first node, and if the identity and authentication of the first node is successful, send a third message to the second node, where the third message is used to identify and authenticate the second node, receive a fourth message in response to the third message, where the fourth message is used to establish a first communication connection to the second node.

[0059] Referring to the fourth aspect, in one possible implementation, the first key is a key used for a service of a first communication technology or a key used for a service of a second communication technology.

[0060] Referring to the fourth aspect, in one possible implementation, if the first service is a service of a first communication technology, the first key is a key used for the service of the first communication technology, and / or if the first service is a service of a second communication technology, the first key is a key used for the service of the second communication technology.

[0061] Referring to the fourth aspect, in one possible implementation, the keys used for the services of the second communication technology include trusted keys or untrusted keys, where a trusted key is a key that is successfully authenticated over the network and an untrusted key is a key that is not authenticated over the network, and the priority of the trusted key is higher than the priority of the untrusted key.

[0062] Referring to the fourth aspect, in one possible implementation, before the processing unit establishes the first communication connection, the communication unit is configured to receive a key from the network and to be used for the service of the second communication technology.

[0063] Referring to the fourth aspect, in one possible implementation, the first information includes a first security context, the first security context being used by the second node to establish a first communication connection to the first node, and the processing unit is configured to obtain the first security context based on a type corresponding to the second communication technology and / or a service type of the first service. For example, the type corresponding to the second communication technology may be a type of a communication standard used in the second communication technology, e.g. 5G technology.

[0064] Referring to the fourth aspect, in one possible implementation, the first security context is a security context used for a service of a first communication technology or a security context used for a service of a second communication technology.

[0065] With reference to the fourth aspect, in one possible implementation, if the first service is a service of a first communication technology, the first security context is a security context used for the service of the first communication technology, and / or if the first service is a service of a second communication technology, the first security context is a security context used for the service of the second communication technology.

[0066] Referring to the fourth aspect, in one possible implementation, the security context used for the service of the second communication technology includes a trusted security context or an untrusted security context, where the trusted security context is a security context that is successfully authenticated through the network and the untrusted security context is a security context that is not authenticated through the network, and the priority of the trusted security context is higher than the priority of the untrusted security context.

[0067] Referring to the fourth aspect, in one possible implementation, the communication unit is further configured to send a fifth message to the first node, the fifth message carrying an identifier associated with the first security context.

[0068] Referring to the fourth aspect, in one possible implementation, the communication unit is further configured to receive a sixth message from the first node, the sixth message carrying information used to indicate that the first node supports the second communication technology.

[0069] According to a fifth aspect, an embodiment of the present application provides a communication device including a processor and a memory, the memory being configured to store a program and the processor being configured to execute the program stored in the memory, such that the device performs a method according to the first aspect and any one of the possible implementations of the one of the first aspect, or performs a method according to the second aspect and any one of the possible implementations of the one of the second aspect.

[0070] According to a sixth aspect, an embodiment of the present application provides a communication device including at least one processor and an interface circuit. The interface circuit is configured to provide data or code instructions to the at least one processor. The at least one processor is configured to perform the method according to the first aspect and any one of the possible implementations of the first aspect or the method according to the second aspect and any one of the possible implementations of the second aspect by using logic circuits or by executing code instructions.

[0071] According to a seventh aspect, an embodiment of the present application provides a communication system including a communication device according to the third aspect and any one of the possible implementations of the third aspect, and a communication device according to the fourth aspect and any one of the possible implementations of the fourth aspect.

[0072] According to an eighth aspect, an embodiment of the present application provides a computer-readable storage medium. The computer-readable storage medium stores a program code. When the program code is executed on a computer, the computer is enabled to execute a method according to the first aspect and any one of the possible implementations of the first aspect, or when the program code is executed on a computer, the computer is enabled to execute a method according to the second aspect and any one of the possible implementations of the second aspect.

[0073] According to a ninth aspect, an embodiment of the present application provides a computer program product, which, when executed on a computer, enables the computer to perform a method according to the first aspect and any one of the possible implementations of the first aspect, or a method according to the second aspect and any one of the possible implementations of the second aspect.

[0074] According to a tenth aspect, an embodiment of the present application provides a chip system, the chip system including a processor configured to call a computer program or computer instructions stored in a memory, such that the processor executes a method according to the first aspect and any one of the possible implementations of the one of the first aspect, or executes a method according to the second aspect and any one of the possible implementations of the one of the second aspect.

[0075] Referring to the tenth aspect, in one possible implementation, the processor is coupled to the memory by using an interface.

[0076] Referring to the tenth aspect, in one possible implementation, the chip system further includes a memory, the memory storing computer programs or computer instructions.

[0077] According to an eleventh aspect, an embodiment of the present application provides a processor, the processor being configured to call a computer program or computer instructions stored in a memory, such that the processor executes a method according to the first aspect and any one of the possible implementations of the one of the first aspect, or executes a method according to the second aspect and any one of the possible implementations of the one of the second aspect.

[0078] According to a twelfth aspect, an embodiment of the present application provides a terminal device. The terminal device may be configured to implement the method according to the first aspect and any one of the possible implementations of one of the first aspect, or to implement the method according to the second aspect and any one of the possible implementations of one of the second aspect. For example, the terminal device includes, but is not limited to, intelligent transportation equipment (vehicles, ships, unmanned aerial vehicles, trains, trucks, etc.), intelligent manufacturing equipment (robots, industrial equipment, intelligent logistics, or smart factories, etc.), and intelligent terminals (mobile phones, computers, tablet computers, palmtop computers, desktop computers, headsets, audio equipment, wearable equipment, in-vehicle equipment, etc.).

[0079] According to a thirteenth aspect, an embodiment of the present application provides a vehicle, which may be configured to perform the method according to the first aspect and any one of the possible implementations of the one of the first aspect, and / or to perform the method according to the second aspect and any one of the possible implementations of the one of the second aspect.

[0080] According to a fourteenth aspect, an embodiment of the present application provides a vehicle, the vehicle may include a communication device according to the third aspect and any one of the possible implementations of the third aspect, and / or a communication device according to the fourth aspect and any one of the possible implementations of the fourth aspect.

[0081] Based on the embodiments provided in the above aspects, the embodiments of the present application may be further combined to provide more embodiments.

[0082] For the technical effects that can be achieved in any one possible embodiment of any one of the second to fourteenth aspects, please refer to the corresponding description of the technical effects that can be achieved in any one possible embodiment of the first aspect, without repeating the contents. [Brief description of the drawings]

[0083] [Figure 1] FIG. 1 is a schematic diagram of a system architecture to which an embodiment of the present application can be applied. [Diagram 2] FIG. 1 is a schematic diagram of a system architecture to which an embodiment of the present application can be applied. [Diagram 3] 1 is a schematic flowchart of a communication method according to an embodiment of the present application. [Figure 4a] 1 is a schematic flowchart of a communication method according to an embodiment of the present application. [Figure 4b] 1 is a schematic flowchart of a communication method according to an embodiment of the present application. [Figure 4c] 1 is a schematic flowchart of a communication method according to an embodiment of the present application. [Figure 4d] 1 is a schematic flowchart of a communication method according to an embodiment of the present application. [Diagram 5] 1 is a schematic diagram of a communication device according to an embodiment of the present application; [Figure 6] 1 is a schematic diagram of a communication device according to an embodiment of the present application; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0084] The embodiments of the present application provide a communication method, device and system that are helpful in meeting the security requirements of heterogeneous communication technologies in a unified communication scenario. The method and device are based on the same technical idea. The problem-solving principle of the method is similar to that of the device, so the implementations of the device and the method can be mutually referenced. The repeated parts will not be described in detail. For ease of understanding, the following provides a description with reference to the accompanying drawings and embodiments.

[0085] FIG. 1 is a schematic diagram of a system architecture to which an embodiment of the present application can be applied.

[0086] As shown in FIG. 1, the system architecture may include a first node 110, a second node 120, and a third node 130. The first node 110 and the second node 120 may form a first communication system, and the two may communicate with each other by using a first communication technology. The first node 110 and the third node 130 may form a second communication system. The two may communicate with each other by using a second communication technology. The first communication technology is different from the second communication technology. In an integrated communication scenario based on the first communication technology and the second communication technology, a communication connection may be established between the first communication system and the second communication system to form a heterogeneous communication system, so that a corresponding communication service is performed and / or communication service data is transmitted within the heterogeneous communication system. For example, the heterogeneous communication system may be referred to as an integrated communication system, a tight interworking communication system, or an interworking communication system.

[0087] In this embodiment of the present application, any one of the first node 110, the second node 120, or the third node 130 may be an electronic device capable of transmitting and receiving data.

[0088] For example, the electronic device may be a terminal device including a device that provides voice and / or data connectivity to a user. Specifically, the terminal device includes a device that provides voice to a user, includes a device that provides data connectivity to a user, or includes a device that provides voice and data connectivity to a user. For example, the terminal device may include a handheld device with wireless connectivity, or a processing device connected to a wireless modem. For example, the terminal device may communicate with a core network via a radio access network (RAN) and exchange voice and / or data with the RAN.

[0089] In a specific implementation process, the terminal equipment may include, but is not limited to, a vehicle, a user equipment (UE), a wireless terminal equipment, a mobile terminal equipment, a device-to-device (D2D) terminal equipment, a vehicle-to-everything (V2X) terminal equipment, a machine-to-machine / machine-type communications (M2M / MTC) terminal equipment, an internet of things (IoT) terminal equipment or a narrow band internet of things (NB-IoT) terminal equipment, a subscriber unit, a subscriber station, a mobile station, a mobile console, a remote station, an access point (AP), a remote terminal, an access terminal, a user terminal, a user agent, or a user device. In another example, the terminal device may be specifically implemented as a mobile phone (also called a "cellular" phone) or a computer with a mobile terminal device, a dedicated terminal device in an IoT, industrial control equipment, remote medical equipment, smart grid equipment, or smart city equipment, a portable, pocket-sized, handheld, computer-embedded, or vehicle-mounted mobile device, or a personal communication service (PCS) phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, or a Personal Digital Assistant (PDA).In an optional design, the terminal equipment may alternatively be implemented as a limited equipment, such as a relatively low power consumption equipment, a limited memory capability equipment, or a limited computation capability equipment. In an optional design, the terminal equipment may include components such as barcodes, radio frequency identification (RFID), sensors, global positioning systems (GPS), and laser scanners.

[0090] In an optional design, the terminal device may be a wearable device instead. Wearable devices, sometimes called wearable smart devices, smart wearable devices, etc., are a collective term for wearable devices developed by using wearable technology to intelligently design daily wear, such as glasses, gloves, watches, clothes, and shoes. Wearable devices are portable devices that are directly worn on the body or integrated into the user's clothes or accessories. Wearable devices are not only a kind of hardware device, but can also implement powerful functions through software support, data exchange, and cloud interaction. Generalized wearable smart devices include devices that have full functions and large sizes and implement full or partial functions without relying on smartphones, such as smart watches or smart glasses, and devices that focus only on certain application functions and need to be used in cooperation with another device such as a smartphone, such as various smart bands, smart helmets, and smart jewelry for body sign monitoring.

[0091] In an optional design, the terminal equipment may alternatively be a machine intelligent equipment, such as a self-driving equipment, a transportation safety equipment, a virtual reality (VR) terminal equipment, or an augmented reality (AR) terminal equipment.

[0092] When the various terminal devices described above are located in a vehicle (e.g., arranged or installed in a vehicle), all the terminal devices may be considered as in-vehicle terminal devices. The in-vehicle terminal devices may also be called, for example, on-board units (OBUs).

[0093] In an optional design, the terminal equipment may further include a relay. Alternatively, it is understood that the terminal equipment may include any device capable of performing data communication with the base station.

[0094] For example, the electronic device may alternatively be a network device. For example, the network device includes an access network (AN) device. The access network device may include devices such as base stations or access points that communicate with wireless terminal devices over an air interface in the access network by using one or more cells. The base station may be configured to convert between received radio frames and Internet Protocol (IP) packets and act as a router between the terminal devices and the rest of the access network. The rest of the access network may include an IP network. In an optional design, the network device may include a base station of a second generation (2G) communication system, may include a base station of a third generation (3G) communication system, or may include a base station of a fourth generation (4G) communication system, such as an evolved NodeB (NodeB, eNB, or e-NodeB, evolutional NodeB) of a long term evolution (LTE) system or a long term evolution-advanced (LTE-A) system. Alternatively, the network equipment may include a next generation NodeB (gNB) of the 5th generation (5G) new radio (NR) system (also referred to as NR system for short), or a centralized unit (CU) and a distributed unit (DU) in a cloud radio access network (Cloud RAN) system, as well as base stations in various future communication systems, for example, a base station in a 6th generation (6G) communication system. This is not limited in the embodiments of the present application.In another example, the network equipment may include a network equipment in V2X, i.e., a road side unit (RSU). The RSU may include a fixed infrastructure entity supporting V2X applications and may exchange messages with another entity supporting V2X applications. In another example, the network equipment may alternatively include a core network equipment. The core network equipment may include, for example, one or more of the following items in a 5G system, i.e., an access and mobility management function (AMF), a session management function (SMF), and a user plane function (UPF), or a mobility management entity (MME) in a 4G system.

[0095] It should be understood that in some technical scenarios, electronic devices having similar data transmission and reception capabilities may not be referred to as nodes, however, for ease of explanation, in the embodiments of the present application, electronic devices having data transmission and reception capabilities are collectively referred to as nodes.

[0096] In this embodiment of the present application, in the heterogeneous communication system shown in Fig. 1, the equipment types of the first node 110, the second node 120, and the third node 130 may be the same or different. For example, the first node 110, the second node 120, and the third node 130 are all terminal equipment or network equipment, or the first node 110 and the second node 120 may be terminal equipment and the third node 130 may be network equipment. For example, the first communication technology is a short-range communication technology and the second communication technology is a 5G communication technology. As shown in FIG. 2, the first node 110 and the second node 120 may be terminal devices having short-range communication capabilities, and the third node 130 may include, but is not limited to, at least one of the following functional entities: an access device, i.e., a Trusted Non-3GPP Gateway Function (TNGF), and a core network device, i.e., an SMF, an AMF, an UPF, and a Data Network (DN). The first node 110 may support a first communication technology and a second communication technology, and may be used as a master node (or called an authenticated node) of the second node 120. The first node 110 performs short-range communication with the second node 120. Furthermore, the first node 110 performs 5G communication with the third node 130. It should be noted that the first node 110 may support a first communication technology, which may be understood as the first node may support service transmission implemented based on the first communication technology, or the first node may support services of the first communication technology, and the second node 120 may support a second communication technology, which may be understood as the second node may support service transmission implemented based on the second communication technology, or the second node may support services of the second communication technology.

[0097] The nodes or functional entities may be connected to each other via interfaces. The interface sequence numbers or interface names are not limited in the embodiments of the present application. An interface defined based on the 3GPP related standard protocol of the 5G system may be used, or an interface of a future communication system may be used. For example, the second node 120 may communicate with the first node 110 via a Yt interface, the first node 110 may communicate with the TNGF via a Ta interface, and the second node 120 may communicate with the TNGF via an NWt interface. The second node 120 and the first node 110 may communicate with the AMF via a next generation network (next generation, N) 1 interface (abbreviated as N1), the network equipment (e.g., TNGF) communicates with the AMF via an N2 interface (abbreviated as N2), the TNGF communicates with the local UPF via an N3 interface (abbreviated as N3), and the UPF communicates with the DN via an N6 interface (abbreviated as N6). The AMF communicates with the SMF via an N11 interface (abbreviated as N11), and the SMF communicates with the UPF via an N4 interface (abbreviated as N4). In this way, the 5G network can perceive important information such as the equipment status, network status, and service status of the second node 110 by using the first node 120, and can remotely access, perceive, and manage field networks and services in industries, etc.

[0098] It should be noted that the above only illustrates that the heterogeneous communication system may include a first node 110, a second node 120, and a third node 130, and provides an example to illustrate the communication mode between each node and the functional modules of the heterogeneous communication system, but does not limit the number of nodes and the interface sequence numbers or interface names. In certain implementations, the number of the first nodes 110, the number of the second nodes 120, and the number of the third nodes 130 may not be limited to one each.

[0099] In addition, in this embodiment of the present application, in an optional design, it should be noted that the first node 110 may execute a process of establishing a radio resource control (RRC) connection to the third node 130. After the first node 110 establishes an RRC connection with the third node 130, the RRC status of the first node 110 is an RRC connected state. After that, the RRC status of the first node 110 may be switched among the following states: an RRC idle state, an RRC connected state, and an RRC inactive state. In the integrated communication scenario in this embodiment of the present application, the first node 110 may be in any of the aforementioned idle state, connected state, and inactive state. This is not limited in the embodiment of the present application. In addition, in this embodiment of the present application, the establishment of a communication connection between any two nodes means that signal transmission and exchange may be performed between the two nodes to implement communication between the two nodes. The communication connections may include, but are not limited to, physical or virtual connections, which will not be distinguished one by one in the following.

[0100] In the embodiment of the present application, the short-range communication technology may include a technology supporting wireless short-range communication. Wireless short-range communication refers to two communication parties transmitting information by using radio waves, and the transmission distance is within a relatively short range (e.g., within 100 meters), including but not limited to Bluetooth technology, wireless fidelity (Wi-Fi) technology, near field communication (NFC) technology, Wi-Fi Aware technology, general-purpose short-range communication technology, and short-range communication technology of Star Alliance specifications. Short-range communication can be widely applied in various aspects such as file transfer, remote control, projection, and perception of surrounding equipment (e.g., intelligent vehicles, intelligent terminal equipment, intelligent home equipment, and intelligent manufacturing equipment). The following describes some examples of short-range communication technologies.

[0101] Bluetooth: Bluetooth is a wireless technology that supports short-range communication between devices, and can be used to exchange wireless information between multiple devices, such as mobile phones, wireless headsets, notebook computers, and related peripherals. By using "Bluetooth" technology, communication between mobile communication terminal devices can be effectively simplified, and communication between devices and the Internet can also be successfully simplified, resulting in faster and more efficient data transmission and a wider scope of wireless communication.

[0102] Wireless fidelity (Wi-Fi) technology, also known as wireless local area networks (WLAN) direct connection or Wi-Fi Direct, is one of the Wi-Fi protocol cluster that allows devices to easily connect to each other without using intermediate wireless access points. Applications of Wi-Fi technology range from web browsing to file transfer. Wi-Fi technology allows multiple devices to communicate with each other at the same time, taking full advantage of the speed of Wi-Fi. Devices that meet this standard can be easily connected, even if they are from different manufacturers.

[0103] Wi-Fi Aware Technology: In Wi-Fi technology, Wi-Fi Aware technology is responsible for perception and discovery, and can help Wi-Fi devices to perceive surrounding services, such as surrounding devices, in order to implement Peer to Peer (P2P) message exchange between two devices in close range via Wi-Fi Aware. Since Wi-Fi Aware can be used to perceive surrounding devices, multiple functions can be implemented, such as perceiving nearby people, adding friends to establish a connection to play the same game, discovering surrounding devices to implement photo sharing, location sharing, etc., or securely sending files to a printer without accessing a network (e.g., cellular or wireless network).

[0104] It should be noted that in addition to the aforementioned short-range communication technologies, other existing short-range communication technologies, or other short-range communication technologies that may appear in the future with the evolution of communication technology, may also be applicable to this solution.

[0105] In addition, it should be noted that the functional entities or network elements in FIG. 2 may alternatively interact with each other via service-oriented interfaces. For example, the service-oriented interface provided by the AMF to the outside may be a network access and mobility management function (Namf) interface, and the service-oriented interface provided by the SMF to the outside may be a network session management function (Nsmf) interface. For related descriptions, please refer to the 5G system architecture defined in the 3rd Generation Partnership Project (3GPP)-23501 standard. Details are not described in this specification.

[0106] Each function included in the system architecture may be called a functional entity or a network element, or may have another name. For example, the SMF may be called an SMF entity. In an optional design, each function in this embodiment of the present application may be implemented by one device, or may be implemented together by multiple devices, or may be implemented by one or more functional modules in a device. This is not particularly limited in the embodiment of the present application. It will be understood that each function in this embodiment of the present application may be a function of a network element in a hardware device, or a function of software running on dedicated hardware, a function implemented by a combination of hardware and software, or a virtualization function instantiated on a platform (e.g., a cloud platform).

[0107] It should be noted that in the embodiment of the present application, the distribution form of functions is not limited. In an optional design, the functions included in the above system architecture may also correspond to another functional entity formed after any combination of a plurality of the above functions, or any combination of a plurality of the above functions with another function, such as a functional entity having two functions of session management and policy control, a functional entity having three functions of session management, access and mobility management, and policy control, or a functional entity having two functions of network opening and application function.

[0108] It should be noted that the system architectures shown in Figures 1 and 2 do not constitute limitations on the system architecture to which the embodiments of the present application are applicable. The number of terminal devices in Figure 2 is merely an example. In practical applications, a network device may provide services to multiple terminal devices. All or part of the network device and the multiple terminal devices may each use the communication method provided in the embodiments of the present application. Each function or device in the embodiments of the present application may also be referred to as a communication device. The function or device may be a general-purpose device or a dedicated device. This is not limited in the embodiments of the present application.

[0109] It should be noted that in the embodiment of the present application, "at least one" means one or more, and "multiple" means two or more. "And / or" describes the association relationship between related objects and represents that three relationships may exist. For example, A and / or B may represent the following cases: only A is present, both A and B are present, and only B is present, where A and B may each be singular or plural. The character " / " generally indicates that the related objects are in an "or" relationship. "At least one of" or similar expressions means any combination of those items, including any combination of single or multiple items. For example, at least one of a, b, or c represents a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c may each be singular or plural.

[0110] Furthermore, unless otherwise specified, ordinals such as "first," "second," and "third" referred to in the embodiments of the present application are used to distinguish between multiple objects, but are not used to limit the priority or importance of the multiple objects. For example, a first node, a second node, and a third node are only used to distinguish between different nodes, instead of indicating different priorities or importance of the three nodes, etc.

[0111] In addition, it should be noted that in the embodiment of the present application, the service of the first communication technology may be understood as a service implemented by using the first communication technology (e.g., a service implemented by using a non-5 G technology, and furthermore, a service implemented by using a short-range communication technology), or a service corresponding to the first communication technology (e.g., a non-5G service, and furthermore, a short-range communication service). The service of the second communication technology may include the service of the second communication technology in an integrated communication scenario. The service of the second communication technology may be understood as a service implemented by using the second communication technology (e.g., a service implemented via 5G) or a service corresponding to the second communication technology (e.g., a 5G service). In the embodiment of the present application, the first communication connection corresponding to the first communication technology may be understood as the first communication connection being a connection implemented based on the first communication technology. For example, if the first communication technology is a short-range communication technology, the first communication connection is a connection implemented by using a short-range communication technology. In addition, optionally, the communication connection may be used to transmit the service of the first communication technology, or may be used to transmit the service of the second communication technology, which will not be described one by one below. In the embodiment of the present application, the network corresponding to the second communication technology may be understood as a network supporting at least the second communication technology, or a network supporting at least service transmission implemented according to the second communication technology, such as a 5G network or a 5G core network.

[0112] Based on the system architecture shown in FIG. 1 and FIG. 2, in the unified communication scenario in this embodiment of the present application, in an optional design, for a first communication system including a first node 110 and a second node 120, in order to ensure the communication security of the first communication system, after selecting a trusted first node 110, when initially establishing a link to the first node 110, the second node 120 may perform mutual identification authentication with the first node 110 by using a preset key, and after the identification authentication is successful, a communication connection between the two parties is established based on a security context corresponding to the key. Furthermore, in order to ensure the communication security of the heterogeneous communication system including the first node 110, the second node 120, and the third node 130, the second node 120 may further initiate a new identification authentication and / or a new security context negotiation procedure to the third node 130 by using the first node 110 to determine a new key and a corresponding security context between the three nodes through negotiation.

[0113] When at least two sets of keys and / or corresponding security contexts exist in the first node 110 and the second node 120, the first node 110 and the second node 120 may further select a necessary key or security context from the at least two sets of keys and / or corresponding security contexts to establish a secure communication connection to a peer node based on the selected key or security context, thereby ensuring the security requirements for performing the corresponding communication service and / or transmitting communication service data between the two parties.

[0114] It should be noted that in this embodiment of the present application, the key is a parameter and may be a parameter input in an algorithm for converting plaintext to ciphertext or an algorithm for converting ciphertext to plaintext. Any two of the first node 110, the second node 120, and the third node 130 may initiate an identification authentication procedure and / or a security context negotiation procedure based on the key. After successful identification authentication between the two parties, the two parties may obtain a security context, i.e., an access control attribute, agreed upon through negotiation. Based on the security context, the two parties may initiate a connection establishment procedure to establish a secure communication connection between the two parties. It should be understood that if the security context agreed upon through negotiation already exists between any two of the first node 110, the second node 120, and the third node 130, the two parties may directly use the security context agreed upon through negotiation to initiate a connection establishment procedure to establish a secure communication connection between the two parties without the need to perform an identification authentication procedure and / or a security context negotiation procedure.

[0115] It should be understood that in this embodiment of the present application, the first node 110, the second node 120, and the third node 130 may all support one or more key agreement algorithms. Before starting the identification and authentication procedure and / or the security context negotiation procedure, any two of the first node 110, the second node 120, and the third node 130 may further complete a key agreement between the two through information exchange. For example, the key agreement algorithm may include, but is not limited to, an asymmetric encryption algorithm such as a Rivest-Shamir-Adleman (RSA) algorithm or an Elliptic Curves Cryptography (ECC) algorithm, a dedicated key exchange algorithm such as a Diffie-Hellman (DH) algorithm or an Elliptic Curve Diffie-Hellman key Exchange (ECDH) algorithm, and a shared key algorithm such as a Pre-shared key (PSK) algorithm. This is not limited in the embodiment of the present application. For ease of explanation, the following describes the specific implementation process of the communication method in the embodiment of the present application by using the PSK algorithm as an example, and the details are not described in this specification.

[0116] Identification authentication, also called "identity verification" or "identity authentication", refers to completing the identity confirmation of a node by using a specific means. There are many implementations of the identification authentication method, for example, the PSK-based identification authentication method, the biological characteristic-based identification authentication method, and the public key encryption algorithm-based identification authentication method. The pre-shared key-based identification authentication means that one key or a group of keys can be shared between at least two nodes, for example, between the first node 110 and the second node 120, between the first node 110 and the third node 130, or between the first node 110, the second node 120, and the third node 130. When the identification authentication needs to be performed, the first node 110, the second node 120, or the third node 130 may send the PSK (or related parameters associated with the PSK, the specific implementation of the related parameters is not limited in the embodiment of the present application) to the peer node. After receiving the PSK, the peer node checks whether the PSK matches the locally stored key. If the PSK matches the locally stored key, the identity authentication may be determined to be successful, or if the PSK does not match the locally stored key, the identity authentication may be determined to be unsuccessful. The security context agreed upon through negotiation can be obtained only when any two nodes successfully perform mutual identity authentication, and a secure communication connection is established between the two parties based on the security context to ensure security requirements for performing corresponding communication services and / or transmitting communication service data between the two parties.

[0117] In a specific implementation process, in one possible embodiment, the first node 110 and the second node 120 may select a first information (e.g., including a first key and / or a first security context) associated with a first service, and exchange information based on the first information to establish a first communication connection between the first node 110 and the second node 120. The first communication connection may be used to transmit data of the first service to meet security requirements in an integrated communication scenario, and for the third node 130 to perceive related information of the second node 120 by using the first node 110 to remotely access, perceive, manage the network and service corresponding to the second node 120, etc. During implementation, in different scenarios, the procedure of the communication method may be triggered by the first node 110 or the second node 120. This is not limited in the embodiments of the present application.

[0118] For ease of understanding, the following describes the communication method with reference to the accompanying drawings and embodiments. It should be noted that the steps included in the method embodiments described in this application are merely examples of optional steps in the communication method, and do not limit the specific implementation process of the communication method. In some optional implementations, the implementation sequence numbers of steps in any method embodiment may be exchanged as alternatives.

[0119] As shown in FIG. 3, in one example, the method procedure may be triggered by the first node 110 and may include the following steps.

[0120] S310: The first node 110 obtains first information.

[0121] S320: The first node 110 establishes a first communication connection to the second node 120 based on the first information, the first communication connection is used to transmit data of a first service, the first communication connection corresponds to a first communication technology, and the first node 110 is a node that accesses a network corresponding to a second communication technology.

[0122] It will be appreciated that the first information is associated with a first service, for example, the first service may be a service of a first communication technology or a service of a second communication technology.

[0123] It should be understood that in this embodiment of the present application, the first node and the second node are described to distinguish different nodes. In some examples, the first node may be the second node, and the second node may be the first node. The method steps shown in FIG. 3 may be triggered by the second node 120. Specifically, the second node 120 may obtain the first information and establish a first communication connection to the first node 110 based on the first information. This is not limited in the embodiment of the present application.

[0124] The first information may include relevant information required to establish a secure communication connection between the first node 110 and the second node 120. The first information may be pre-stored in the first node 110 or the second node 120, or may be acquired by the first node 110 or the second node 120 from a network side or another device side. This is not limited in the embodiment of the present application.

[0125] In this embodiment of the present application, the first node 110 and the second node 120 may be in a scenario where no security context exists, and the first information may include a first key used for communication authentication between the first node 110 and the second node 120. During the implementation of S320, the first node 110 may perform an identification authentication and security context negotiation procedure with the second node 120 based on the first key. Furthermore, a first communication connection may be established between the first node 110 and the second node 120 based on the first security context obtained through the negotiation. Alternatively, the first node 110 and the second node 120 may be in a scenario where a security context exists, and the first information may include a first security context used for communication between the first node 110 and the second node 120. During the implementation of S320, a first communication connection may be established between the first node 110 and the second node 120 based on the first security context.

[0126] In a possible design, when the first information is a key used for communication authentication between the first node 110 and the second node 120, the key may include a preset key corresponding to the first node 110 or the second node 120, or the key may be from a network corresponding to the second communication technology (e.g., a core network corresponding to the third node 130). For example, the key is a key used for a service of the second communication technology.

[0127] In this embodiment of the present application, the specific implementation processes of S310 and S320 may vary from case to case, and for ease of understanding, the following description will be given with reference to the method flow chart.

[0128] Case 1: The first information includes a first key used for authenticating communications between the first node 110 and the second node 120.

[0129] In this case, the first node 110 and the second node 120 do not have a first security context associated with the first service. During the establishment of the first communication connection between the first node 110 and the second node 120, a first key may be obtained first, and then mutual identity authentication and negotiation of the first security context may be performed based on the obtained first key. Once the identity authentication between the two parties is successful and the first security context is obtained, the first node 110 may initiate a message used to establish a communication connection to the second node 110 based on the obtained first security context to establish the first communication connection between the first node 120 and the second node 120 based on the first security context.

[0130] Example method 1: In the method example 1, the second node 120 may obtain a first key. After obtaining the first key, the second node 120 may report key type indication information or service type indication information to the first node 110. The first node 110 determines the first key based on the key type indication information or service type indication information reported by the second node 120, and performs an identification authentication and security context negotiation procedure with the second node 120 to establish a secure first communication connection between the first node 110 and the second node 120. It should be noted that steps S411 to S419 included in the method example 1 are merely examples of optional steps. In some examples, the implementation sequence numbers of the following steps may be exchanged as alternatives. This is not particularly limited in the embodiment of the present application. As shown in FIG. 4a, the communication method may include, for example, the following steps.

[0131] S411 (optional): The first node 110 transmits a sixth message (e.g., a system message). In response, the second node 120 may receive the sixth message.

[0132] For example, the sixth message may convey (or carry) first indication information, which may be used to indicate a service type supported by the first node 110 (including a service corresponding to the second communication technology).

[0133] In an optional design, the first instruction information may further indicate one or more key agreement algorithms supported by the first node 110, so that the second node 120 may select a key agreement algorithm also supported by the first node 110 from among the key agreement algorithms supported by the second node 120 based on the first instruction information to complete the key agreement between the two parties, and generate related authentication parameters used for node identification authentication based on the key agreement algorithm (e.g., the aforementioned PSK algorithm) determined through negotiation. It should be understood that the key agreement between the first node 110 and the second node 120 may not be limited to being implemented by using the sixth message. This is not limited in the embodiment of the present application. For ease of understanding and description, the PSK algorithm is used as an example for description in this specification.

[0134] Additionally, the sixth message may further carry identification information of the first node 110 (e.g., a Domain ID), which may be used to uniquely identify the first node 110.

[0135] For example, the sixth message may be a unicast message. In S411, the first node 110 may transmit the sixth message to the second node 120. Alternatively, the sixth message may be a broadcast message. In S411, the first node 110 may broadcast the sixth message, and the second node 120 may be within a coverage area of ​​the broadcast signal and may receive the sixth message.

[0136] After receiving the sixth message, the second node 120 may learn the service types supported by the first node 110 by parsing the sixth message.

[0137] S412: The second node 120 (e.g., a service layer of the second node 120) obtains a first key or a type of the first key based on a type corresponding to the second communication technology and / or a service type of the first service.

[0138] For example, the type corresponding to the second communication technology may be the type of a communication standard used in the second communication technology, for example 5G technology.

[0139] It should be understood that during the execution of S412, the second node 120 may alternatively obtain the first key or the first key type based on related instruction information input by a user, or may obtain the first key or the first key type based on related instruction information from another device, which is not limited in the embodiment of the present application.

[0140] It should be understood that in this embodiment of the present application, the second node 120 may obtain the first key or the type of the first key in another manner, which is not limited in the embodiment of the present application.

[0141] In this embodiment of the present application, in an integrated communication scenario based on a first communication technology and a second communication technology, the first key may be implemented in any one of the following ways.

[0142] Example 1: A first key is a key used for a service of a first communication technology.

[0143] The first key may be a key (e.g., the corresponding preset key described above) configured between the first node 110 and the second node 120. The key corresponds to a service of the first communication technology, and may be used to establish a first communication connection after the identification authentication and security context negotiation between the first node 110 and the second node 120 are completed, and to perform secure transmission of the service of the first communication technology or service data based on the first communication technology based on the established first communication connection. Correspondingly, the security context corresponding to the key is the security context of the service of the first communication technology. In this embodiment of the present application, for ease of distinction, the key used for the service of the first communication technology may be referred to as a common key, and the security context corresponding to the common key may be referred to as a common security context.

[0144] It is used as an example that the common key is a common PSK. The method for configuring the common PSK may include any one of the following methods:

[0145] (1) Key configuration method: A common PSK is pre-configured in the first node 110 and the second node 120 by using a pre-configuration method. The detailed implementation of the pre-configuration method is not described herein.

[0146] (2) Password configuration method: A user inputs the same password to the first node 110 and the second node 120. The password may be converted to a common PSK. For example, the password may be converted to a common PSK by using an algorithm (e.g., a key agreement algorithm) within the node. It should be understood that different second nodes 120 may be connected to the same first node 110 by using different passwords. Details are not described herein.

[0147] (3) Method for performing configuration by using authentication credentials from a third-party server: The main purpose of the method for performing configuration by using authentication credentials from a third-party server is to identify whether the second node 120 and the first node 110 satisfy a preset binding relationship. The second node 120 should be able to obtain the identification information of the first node 110, generate verification information by using the identification information of the second node 120 and the identification information of the first node 110, and send the verification information to the third-party server to obtain an authentication password. After obtaining the authentication password sent by the third-party server, the first node 110 and the second node obtain a common PSK based on the authentication password.

[0148] According to any of the configuration methods described above, the same common PSK may be configured between the second node 120 and the first node 110. It should be understood that in this embodiment of the present application, the second node 120 and the first node 110 may alternatively complete the process of configuring the PSK used for the service of the first communication technology between the two nodes by using another method, the details of which will not be described herein.

[0149] Example 2: The first key is a key used for a service of a second communication technology.

[0150] For ease of distinction, the key used for the second communication technology may be referred to as a fusion key. In certain embodiments, the fusion key may include a trusted key or an untrusted key. A trusted key is a key that is successfully authenticated over the network (e.g., the aforementioned new key determined between the first node 120, the second node 110, and the third node 130 through a new identity authentication and / or security context negotiation procedure initiated by the second node 120 to the third node 130 in the integrated communication scenario by using the first node 110). An untrusted key is a key that is not authenticated over the network (e.g., the aforementioned preset key used when the second node first establishes a link to the first node, the preset key may be used for mutual identity authentication between the first node and the second node). A network in this specification may be understood as a network corresponding to the third node. For example, the network may be a 5G core network. It should be understood that in this embodiment of the present application, a key that is not authenticated via the network may be understood as a key that is not verified via the network or does not need to be verified via the network (e.g., a default key), or a key that is verified via the network but not successfully verified. Correspondingly, the first key may be a trusted key or a non-trusted key. The first key corresponds to a service of the second communication technology, and may be used in an integrated communication scenario to ensure that the service of the second communication technology is securely implemented between the first node 110, the second node 120, and the third node 130, or that the service data implemented by using the second communication technology is securely transmitted. The first key may be, for example, a key obtained through negotiation between the third node 130 and at least one of the first node 110 and the second node 120 (e.g., the key is correspondingly the aforementioned new key or correspondingly a trusted key). For example, the first key may be a key obtained through negotiation between the third node 130 and the first node 110.As another example, the first key may be a key obtained through negotiation between the third node 130 and the second node 120. As another example, the first key may be a key obtained through negotiation between the first node 110, the second node 120, and the third node 130. As another example, the first key may be an untrusted key.

[0151] For example, the fusion key is a fusion PSK. The fusion PSK may be distributed to the first node 110 and / or the second node 120 by the core network corresponding to the third node 130, or the PSK may be a default key parameter configured in the first node 110 or the second node 120. The configuration implementation may be one of the three methods in Example 1 or another implementation. This is not limited in the embodiment of the present application. The first node or the second node may receive a fusion key from a network corresponding to the second communication technology. For example, before the first communication connection is established between the first node and the second node, the first node or the second node may receive a fusion key from the network and store the fusion key locally, so that in the subsequent process of establishing the first communication connection, the first node or the second node may determine the first key used in the process of establishing the first communication connection based on the type corresponding to the second communication technology and / or based on the service type of the first service. Before establishing the first communication connection, the first node receives a fused key from a network corresponding to the second communication technology, so that the first node further obtains a first key based on the received first information in the process of establishing the first communication connection.

[0152] If the PSK is not authenticated or obtained through a key agreement process via a core network corresponding to the third node 130 (e.g., a 5G core network), or if the PSK is obtained but not agreed upon after a key agreement process, the fused PSK is an untrusted fused PSK. If the fused PSK is authenticated and / or obtained and agreed upon after a key agreement process via a core network corresponding to the third node 130, the fused PSK is a trusted fused PSK. Correspondingly, the security context corresponding to the trusted fused PSK is a trusted security context used for the service of the second communication technology in the unified communication scenario, and the security context corresponding to the untrusted fused PSK is an untrusted security context used for the service of the second communication technology in the unified communication scenario. It should be understood that in this embodiment of the present application, the network corresponding to the second communication technology may be understood as a network supporting at least the second communication technology, or a network supporting at least a service transmission implemented based on the second communication technology.

[0153] During execution of S412, the second node 120 selects a key as a first key from among at least two keys described in Example 1 or Example 2 based on, for example, a type corresponding to the second communication technology and / or a service type of the first service.

[0154] It should be noted that in this embodiment of the present application, when there are multiple keys, the multiple keys may have priority and usage principles. A first key is associated with a first service, and the first key should be selected from the multiple keys according to at least the following principles: if the first service is a service of a first communication technology, the first key is a key used for the service of the first communication technology, and / or if the first service is a service corresponding to a second communication technology, the first key is a key used for the service of the second communication technology.

[0155] Using the common PSK, the trusted fused PSK, and the untrusted fused PSK as an example, the principles for using multiple keys may be specifically as follows: (1) In an integrated communication scenario, if a trusted fused PSK exists in the service of the second communication technology, the untrusted fused PSK is not used, and the trusted fused PSK is used, in other words, the priority of the trusted fused PSK is higher than the priority of the untrusted fused PSK; (2) In an integrated communication scenario, if a trusted fused PSK does not exist in the service of the second communication technology, the untrusted fused PSK is used instead of the common PSK; (3) In the service of the first communication technology, even if a trusted fused PSK exists, the common PSK needs to be used to ensure the security of the private service between the first node 110 and the second node 120.

[0156] Based on the aforementioned key usage principle, the second node 120 may obtain a corresponding first key or a corresponding type of the first key based on the service type of the first service. For example, if the first service is a service of a second communication technology in an integrated communication scenario, if a trusted fused PSK exists, the trusted fused PSK is used (and if a connection is not established based on the trusted fused PSK, the untrusted fused PSK is used), and if a trusted fused PSK does not exist, the untrusted fused PSK is used. Usually, the untrusted fused PSK may be a default value. For example, if the first node 110 and the second node 120 are devices supporting a second communication technology, the untrusted fused PSK may be configured in the first node 110 and the second node 120. As another example, if the first service is a service of a first communication technology, the first node 110 and the second node 120 may establish a first communication connection with each other by using a common PSK.

[0157] S413a: The second node 120 (e.g., a service layer of the second node 120) sends a first message to the first node 110. In response, the first node 110 may receive the first message from the second node 120.

[0158] In this embodiment of the present application, the first message may also be referred to as a key indication message, and the first message may carry information associated with the first key, such as key type indication information, service type indication information, or other information.

[0159] In this embodiment of the present application, the key type indication information may be used to indicate that the key type is any one of an untrusted fused key (e.g., the aforementioned untrusted fused PSK), a trusted fused key (e.g., the aforementioned trusted fused PSK), or a common key (e.g., the aforementioned common PSK). The service type indication information may be used to indicate that the service type is any one of a service of a first communication technology, or a service of a second communication technology in an integrated communication scenario.

[0160] In some designs, the first message may further carry an identification (e.g., a media access stratum identifier) ​​of the second node 120. For example, the first message may be represented as the following tuple: (identifier, key type indicator or service type indicator)

[0161] S414: The first node 110 obtains a first key based on the key type indication information or the service type indication information.

[0162] In this embodiment of the present application, the first node 110 may store multiple keys. During the implementation of S414, the first node 110 may obtain the first key from multiple local keys based on the key type indication information or the service type indication information. Alternatively, during the implementation of S414, the first node 110 may obtain the first key from another device based on the key type indication information or the service type indication information. This is not limited in the embodiment of the present application. For example, the first key may be any one of the above-mentioned common PSK, untrusted fused PSK, or trusted fused PSK. For the configuration process of the common PSK, untrusted fused PSK, or trusted fused PSK, please refer to the related description of S412. The details will not be described again.

[0163] Thus, the first node 110 and the second node 120 may agree on a selected first key through negotiation, and further, the first node 110 and the second node 120 may perform an identification authentication and security context negotiation procedure based on the obtained first key.

[0164] For example, as shown in FIG. 4a, the identity authentication and security context negotiation procedure may include the following steps.

[0165] S415a (Optional): The second node 120 sends an association request message to the first node 110. In response, the first node 110 receives the association request message.

[0166] For example, the association request message may carry the identity (e.g., domain identifier) ​​of the second node 120 and associated authentication parameters used for identity authentication of the second node 120, including but not limited to a key agreement algorithm (e.g., KE alg) selected by the second node 120, key agreement parameters (e.g., represented by KEt), security capabilities (sec capability) of the second node 120, and a random number (e.g., represented by NONCEt). The security capabilities may include one or more of the key derivation functions (KDF), encryption algorithms, integrity protection algorithms, authentication encryption algorithms, etc. supported by the second node 120. Details are not described herein.

[0167] The first node 110 may process the association request message based on the relevant information carried in the association request message.

[0168] For example, if a whitelist is configured in the first node 110 for the second node 120 that connects using the key configuration method, the first node 110 may determine based on the identification information of the second node 120 whether the fixed identification information of the second node 120 is in the whitelist, and discard the association request message if the fixed identification information of the second node 120 is not in the whitelist.

[0169] As another example, the first node 110 may determine whether the key agreement algorithm selected by the second node 120 is in the information carried in the aforementioned sixth message (e.g., the first instruction information), and if the key agreement algorithm is not in the information, the first node 110 may discard the association request message, or if the key agreement algorithm is in the information, the first node 110 may select the highest priority algorithm, including the highest priority key derivation function, signaling plane authentication encryption algorithm, and signaling plane integrity protection algorithm, as well as the highest priority user plane authentication encryption algorithm and user plane integrity protection algorithm, or the highest priority user plane authentication encryption algorithm, based on the security capabilities of the second node 120, a pre-configured optimal algorithm selection policy in the first node 110, and the service type. The policy of optimal algorithm selection may be implemented by using a list of algorithms sorted based on priority, for example, a key derivation function priority list, a signaling plane authentication encryption algorithm priority list, a signaling plane integrity protection algorithm priority list, a user plane authentication encryption algorithm priority list, and a user plane integrity protection algorithm priority list preconfigured in the first node 110. The algorithms selected for the signaling plane and the user plane may be different. In an optional design, if the selected integrity algorithm or authentication encryption algorithm supports multiple Message Integrity Code (MIC) lengths, the first node 110 may further select a MIC length for the signaling plane integrity protection based on the MIC length supported by the selected signaling plane integrity protection algorithm. For example, this process may be implemented by using the corresponding operation of the Star Alliance specification, or may be implemented in another manner. This is not particularly limited in the embodiment of the present application.

[0170] In an optional design, the first node 110 may further generate associated authentication parameters used for identity authentication of the first node 110 based on the associated information carried in the first message and / or an associated algorithm selected by the first node 110.

[0171] For example, the first node 110 may generate a private key and generate a corresponding public key according to a selected key agreement algorithm (e.g., for a specific key agreement algorithm, see the related description in S411). The public key may be used as a key agreement parameter (e.g., represented by KEg) of the first node 110. Alternatively, the first node 110 may generate a random number (e.g., represented by NONCEg). Alternatively, the first node 110 may derive a shared key (e.g., K KE Alternatively, the first node 110 may obtain K by using the selected key derivation function. KE A shared key (eg, denoted as Kgt) may be obtained by calculation based on NONCEt, NONCEg, and the like, as follows: Kgt = KDF(K KE , NONCEt, NONCEg)

[0172] Alternatively, the first node 110 may generate an identifier for the Kgt (e.g., represented as Kgt ID). Alternatively, the first node 110 may calculate an authentication parameter (e.g., represented as AUTHg), as follows: AUTHg=AUF(PSK,K KE , NONCEg, Association Request Message) | 上位32ビット , where: AUF()| 上位32ビット indicates that after the calculation of the parameters included in the brackets is performed by using the key derivation function AUF, the most significant 32 bits of information are AUTHg. The aforementioned AUF and KDF use the same authenticated encryption algorithm.

[0173] The first node 110 may generate a security context request message (an example of a second message) based on the obtained first key and one or more of the associated authentication parameters listed above.

[0174] For example, the security context request message may include relevant authentication parameters used for identity authentication of the first node 110, including, but not limited to, a key agreement parameter KEg of the first node 110, a random number NONCEg, an identifier Kgt ID associated with the first security context corresponding to the first key, a selected algorithm, a MIC length, and an authentication parameter AUTHg. The selected algorithm may include one or more of a key derivation algorithm, a signaling plane encryption algorithm, a signaling plane integrity protection algorithm, a user plane encryption algorithm, a user plane integrity protection algorithm, and a user plane authentication encryption algorithm.

[0175] In an optional design, the first node 110 may further perform integrity protection on the security context request message by using the selected signaling plane integrity protection algorithm and the selected signaling plane integrity protection key Ks.int, i.e., calculate a MIC and add the MIC to the security context request message.

[0176] For example, the security context request message may be represented as the following tuple: (KEg,NONCEg,Kgt ID,algorithm,MIC length,AUTHg) MIC , where () MIC indicates that the security context request message is a message that has been integrity protected.

[0177] S416: The first node 110 transmits a security context request message (an example of a second message) associated with the first key to the second node 120. In response, the second node 120 receives the security context request message from the first node 110.

[0178] In this embodiment of the present application, the second message may be used to authenticate the identity of the first node 110. It should be understood that in this embodiment of the present application, the second message may be used to authenticate the identity of the first node 110 may be understood as information contained in or carried in the second message may be used to authenticate the identity of the first node 110.

[0179] In this embodiment of the present application, the second message is associated with the first key. In an optional design, the information carried in the second message includes information generated based on the first key.

[0180] In an optional design, the second node 120 may derive the shared key Kgt, the signaling plane security keys, the user plane security keys, etc., by calculation in the same manner as used by the first node 110 based on the key derivation function selected by the first node 110.

[0181] In an optional design, the second node 120 may check the integrity of the second message, i.e., whether the MIC is correct. If the integrity verification fails, the second node 120 may discard the message and resend the association request message.

[0182] In an optional design, the second node 120 may further verify whether the AUTHg is correct based on the first key agreed upon by negotiation. If the AUTHg verification fails, the second node 120 may discard the second message and resend the association request message. It should be understood that in this embodiment of the present application, checking the integrity of the message may include checking the integrity of information contained or carried in the message.

[0183] Further, the second node 120 may further generate relevant authentication parameters used for identity authentication of the second node 120 based on the relevant information carried in the security context request message and / or the relevant algorithm of the second node 120.

[0184] For example, the second node 120 may calculate the authentication parameter AUTHt, and the calculation method satisfies the following formula: AUTHt=AUF(PSK,K KE ,Security context request message, NONCEt,Key agreement algorithm capability of the first node 110,First indication information) | 上位32ビット , where: AUF()| 上位32ビット indicates that after the calculation of the parameters included in the brackets is performed by using the key derivation function AUF, the most significant 32 bits of information are AUTHt. The aforementioned AUF and KDF use the same authenticated encryption algorithm.

[0185] In an optional design, after successfully performing identity authentication of the first node 110, the second node 120 may generate a security context response message (an example of a third message) based on the generated associated authentication parameters.

[0186] S417: The second node 120 sends a security context response message (an example of a third message) to the first node 110. In response, the first node 110 receives a security context response message from the second node 120.

[0187] In this embodiment of the present application, the third message may be used for the identity authentication of the second node, and the third message may be sent when the identity authentication of the first node 110 is successful.

[0188] In this embodiment of the present application, the third message may be used to indicate that the identification and authentication of the first node 110 is successful, and may be used for the identification and authentication of the second node 120, and it should be understood that the third message includes or carries information used to indicate that the identification and authentication of the first node is successful and information used for the identification and authentication of the second node. In addition, in an optional design, in this embodiment of the present application, the information used to indicate that the identification and authentication of the first node 110 is successful and the information used for the identification and authentication of the second node 120 may be transmitted by using the same message, or may be transmitted by using different messages. Correspondingly, the third message may correspond to one message, or may correspond to multiple messages. This is not limited in the embodiment of the present application. For example, the third message may include AUTHt.

[0189] For example, the second node 120 may perform integrity protection on the security context response message by using a signaling plane integrity protection algorithm and a signaling plane integrity protection key Ks.int.

[0190] It should be understood that in this embodiment of the present application, the second node 120 may perform integrity protection on the security context response message by using the signaling plane integrity protection algorithm and the signaling plane integrity protection key Ks.int may be understood as the second node 120 may perform integrity protection on information included in or carried in the security context response message by using the signaling plane integrity protection algorithm and the signaling plane integrity protection key Ks.int. The MIC generated by the integrity protection may be carried in the security context response message. Once the signaling plane encryption protection is initiated, the second node 120 may perform encryption protection on the security context response message by using the signaling plane encryption algorithm and the signaling plane encryption key Ks.enc.

[0191] For example, the security context response message may be expressed as follows: (AUTHt) MIC , where AUTHt is an example of relevant authentication parameters carried in a Security Context Response message, () MIC indicates that the security context response message is an integrity protected message.

[0192] Additionally, if the second node 120 encrypts the security context response message (or encrypts information contained in or carried in the security context response message), after receiving the security context response message, the first node 110 may decrypt the security context response message (or decrypt the information contained in or carried in the security context response message).

[0193] The first node 110 may check the integrity of the security context response message (or check the integrity of a message contained in or carried in the security context response message) and verify whether the AUTHt carried in the security context response message is correct. If the integrity or AUTHt verification fails, in other words if the identity authentication of the second node 120 fails, the first node 110 may send an association establishment failure message to the second node 120. If the integrity and authentication verifications are successful, the first node 110 may generate a temporary ID (e.g., a physical layer identifier) ​​to the second node 120 that is used to identify the identity of the second node 120.

[0194] The first node 110 may perform identity authentication to the second node 120 based on the relevant information carried in the security context response message. For example, this process may be implemented by using the corresponding operation of the Star Alliance specification, or may be implemented in another manner, which is not particularly limited in the embodiment of the present application.

[0195] S418: If the first node 110 successfully identifies and authenticates the second node 120, the first node 110 may send an association establishment message (an example of a fourth message) to the second node 120. In response to this, the second node 120 receives the association establishment message from the first node 110.

[0196] In this embodiment of the present application, the fourth message may be used to establish a first communication connection to the second node, and the fourth message may be sent if the identity authentication of the second node 120 is successful.

[0197] In this embodiment of the present application, the fourth message may be used to indicate that the identification authentication of the second node is successful, and may be used to request to establish a first communication connection to the second node, and it should be understood that the fourth message includes or carries information used to indicate that the identification authentication of the second node is successful, and information used to request to establish a first communication connection to the second node. In addition, in an optional design, in this embodiment of the present application, the information used to indicate that the identification authentication of the second node is successful, and the information used to request to establish a first communication connection to the second node may be transmitted by using the same message, or may be transmitted by using different messages. Correspondingly, the fourth message may correspond to one message, or may correspond to multiple messages. This is not limited in the embodiment of the present application.

[0198] For example, the fourth message may include one or more of the following parameters generated by the first node 110 for the second node 120: a temporary ID (T-ID) (e.g., a physical layer identifier), a shared key Kgt expiration, [GKc / GK], [GK ID], [Galgorithm], and [GK expiration].

[0199] [GKc / GK] indicates that the group key (e.g., denoted by GK) of the group to which the second node 120 belongs is carried in the fourth message when the signaling plane cryptographic protection is notified in unicast mode, and is carried in the fourth message when the signaling plane cryptographic protection is notified in unicast mode. GKc is obtained by exclusive-oring GK with the private key of the protection group key GK (e.g., denoted by Kg). Kg = KDF(Kgt,COUNTERg,"group key"), and

number

[0200] In an optional design, the first node 110 may perform integrity protection on the association establishment message by using a signaling plane integrity protection algorithm and a signaling plane integrity protection key Ks.int.

[0201] It should be understood that in this embodiment of the present application, the first node 110 may perform integrity protection on the association establishment message by using the signaling plane integrity protection algorithm and the signaling plane integrity protection key Ks.int may be understood as the first node 110 may perform integrity protection on information included or carried in the association establishment message by using the signaling plane integrity protection algorithm and the signaling plane integrity protection key Ks.int. The MIC generated by the integrity protection may be carried in the association establishment message. When the signaling plane encryption protection is started, the first node 110 may perform encryption protection on the association establishment message by using the signaling plane encryption algorithm and the signaling plane encryption key Ks.enc.

[0202] It should be understood that in this embodiment of the present application, the first node 110 may provide cryptographic protection for the association establishment message by using a signaling plane encryption algorithm and a signaling plane encryption key Ks.enc may be understood as the first node 110 may provide cryptographic protection for information contained in or carried in the association establishment message by using a signaling plane encryption algorithm and a signaling plane encryption key Ks.enc.

[0203] For example, the association establishment message may be represented as the following tuple: (Temporary ID, Kgt expiration, [GKc / GK], [GK ID], [Galgorithm], [GK expiration]) MIC , where () MIC indicates that the association establishment message is an integrity protected message.

[0204] In an optional design, if the second node 120 receives an association establishment failure message, it may re-initiate the association request message.

[0205] In an optional design, when the second node 120 receives the association establishment message, if the association establishment message is encrypted (or the information contained in or carried in the association establishment message is encrypted), the second node 120 may decrypt the association establishment message (or decrypt the information contained in or carried in the association establishment message). The second node 120 may further check the integrity of the association establishment message (or check the integrity of the information contained in or carried in the association establishment message).

[0206] If the integrity verification fails, the second node 120 discards the message.

[0207] If the integrity verification is successful, the following S419 is executed: The second node 120 may send an association completion message to the first node 110. In response, the first node 110 may receive an association completion message from the second node 120. The association completion message may be used to indicate that the establishment of the first communication connection is completed.

[0208] In an optional design, the second node 120 may perform integrity protection of the association completion message by using a signaling plane integrity protection algorithm and a signaling plane integrity protection key Ks.int.

[0209] It should be understood that in this embodiment of the present application, the second node 120 may perform integrity protection on the association completion message by using a signaling plane integrity protection algorithm and a signaling plane integrity protection key Ks.int may be understood as the second node 120 may perform integrity protection on information included in or carried in the association completion message by using a signaling plane integrity protection algorithm and a signaling plane integrity protection key Ks.int. Once the signaling plane encryption protection is initiated, the second node 120 may perform encryption protection on the association completion message by using a signaling plane encryption algorithm and a signaling plane encryption key Ks.enc. It should be understood that in this embodiment of the present application, the second node 120 may provide cryptographic protection for the association completion message by using a signaling plane encryption algorithm and a signaling plane encryption key Ks.enc may be understood as the second node 120 may provide cryptographic protection for information contained in or carried in the association completion message by using a signaling plane encryption algorithm and a signaling plane encryption key Ks.enc.

[0210] For example, the association complete message may be expressed as follows: (association completion message) MIC , where () MIC indicates that the association complete message is an integrity protected message.

[0211] The first node 110 may process the received association complete message.

[0212] For example, if the association completion message is encrypted (or the information contained in or carried in the association completion message is encrypted), the first node 110 may decrypt the association completion message (or decrypt the information contained in or carried in the association completion message). Alternatively, the first node 110 may check the integrity of the association completion message (or check the integrity of the information contained in or carried in the association completion message). If the integrity verification fails, the message is discarded. If the integrity verification is successful, the following procedure is executed. Details will not be described in this specification.

[0213] After the security context negotiation and association is completed, the first node 110 and the second node 120 may store the first security context obtained through the negotiation.

[0214] For example, the first security context may include, but is not limited to, an identity ID, a temporary ID, Kgt, a Kgt expiration date, a Kgt ID, a key agreement algorithm, a signaling plane encryption algorithm and a signaling plane integrity protection algorithm, a signaling plane encryption key and a signaling plane integrity protection key, a user plane encryption algorithm and a user plane integrity protection algorithm or a user plane authentication encryption algorithm, a user plane encryption key and a user plane integrity protection key or a user plane authentication encryption key, [GK], [GK ID], [Group Algorithm], and [GK Expiry Date].

[0215] In an optional design, in this embodiment of the present application, the first node 110 and the second node 120 may further support a mechanism for deleting expired security context, and the clock may be configured so that the nodes that need to store security context support the mechanism. Details are not described in this specification. Alternatively, the first node 110 may further store a correspondence between the identification information of the second node 120 and the first key, and the second node 120 may further store a correspondence between the identification information of the first node 110 and the first key.

[0216] After the establishment of the first communication connection is completed, during the execution of the service between the first node 110 and the second node 120, a service range corresponding to the first communication connection may be determined based on the key type or the service type, and the service corresponding to the service range is transmitted.

[0217] For example, a communication connection (including security context) established based on the trusted fused PSK can be used only for services of the second communication technology in the unified communication scenario, whereas a communication connection (including security context) established based on the common PSK is used for services of the first communication technology (e.g., which may be services other than services of the second communication technology in the unified communication scenario).

[0218] Example method 2: In the method example 2, the second node 120 may obtain a first key. After obtaining the first key, the second node 120 may synchronously obtain related parameters used for the identification and authentication of the second node 120, and add key type indication information or service type indication information and related parameters used for the identification and authentication of the second node 120 to one message (e.g., an association request message), so that the first node 110 may determine the first key based on the key type indication information or service type indication information reported by the second node 120, and perform an identification authentication and security context negotiation procedure with the second node 120 based on the related parameters reported by the second node 120 to establish a secure first communication connection between the first node 110 and the second node 120. It should be noted that steps S411 to S419 included in the method example 2 are merely examples of optional steps. In some examples, the implementation sequence numbers of the following steps may be exchanged as alternatives. This is not particularly limited in the embodiment of the present application.

[0219] As shown in FIG. 4b, in method example 2, the communication method may include the following steps.

[0220] S411 (optional): The first node 110 sends a sixth message (e.g., a system message). In response, the second node 120 may receive the sixth message. For detailed implementation, please refer to the related description of S411 above with reference to FIG. 4a. The details will not be described again in this specification.

[0221] S412: The second node 120 (e.g., the service layer of the second node 120) obtains a first key or a type of the first key according to a type corresponding to the second communication technology and / or a service type of the first service. For detailed implementation, please refer to the related description of S412 above with reference to FIG. 4a. The details will not be described again in this specification.

[0222] S413b (Optional): The second node 120 sends an association request message to the first node 110. In response, the first node 110 may receive an association request message from the second node 120.

[0223] Compared with the method example 1 described in FIG. 4a, in the method example 2, the association request message sent by the second node 120 carries key type indication information or service type indication information. Specifically, the association request message of the method example 2 corresponds to the combination of the first message and the association request message of the method example 1. The association request message may carry the ID of the first node 110, the key type indication information or service type indication information, the KE alg, KEt selected by the second node 120, the security capability of the second node 120, and related authentication parameters used for the identification authentication of the second node 120, including but not limited to NONCEt. The security capability may include one or more of the KDF, encryption algorithm, integrity protection algorithm, and authentication encryption algorithm supported by the second node 120. For detailed implementation, please refer to the related description of S413a and S415a described above with reference to FIG. 4a. The details will not be explained again here.

[0224] S414: The first node 110 obtains a first key according to the key type indication information or the service type indication information. For detailed implementation, please refer to S414 described above with reference to Fig. 4a. The details will not be described again in this specification.

[0225] S416: The first node 110 sends a security context request message (an example of a second message) associated with the first key to the second node. In response, the second node 120 receives the security context request message from the first node 110. For detailed implementation, please refer to the related description of S416 described above with reference to FIG. 4a. The details will not be described again in this specification.

[0226] S417: The second node 120 sends a security context response message (an example of a third message) to the first node 110. In response, the first node 110 receives a security context response message from the second node 120. For detailed implementation, please refer to the related description of S417 above with reference to Fig. 4a. The details will not be described again in this specification.

[0227] S418: If the first node 110 successfully identifies and authenticates the second node 120, the first node 110 may send an association establishment message (an example of a fourth message) to the second node. In response, the second node 120 receives the association establishment message from the first node 110. For detailed implementation, please refer to the related description of S418 described above with reference to FIG. 4a. The details will not be described again in this specification.

[0228] S419: The second node 120 may send an association completion message to the first node 110. In response, the first node 110 may receive an association completion message from the second node 120. For detailed implementation, please refer to the related description of S419 above with reference to FIG. 4a. The details will not be described again in this specification.

[0229] Example method 3: In the method example 3, the first node 110 may obtain a first key, and the first node 110 may perform an identification authentication and security context negotiation procedure with the second node 120 based on the first key to establish a secure first communication connection between the first node 110 and the second node 120. It should be noted that steps S421 to S427 included in the method example 3 are merely examples of optional steps. In some examples, the execution sequence numbers of the following steps may be exchanged as alternatives. This is not particularly limited in the embodiments of the present application.

[0230] As shown in FIG. 4c, the communication method may include, for example, the following steps.

[0231] S421 (optional): The first node 110 transmits a sixth message (e.g., a system message). In response, the second node 120 may receive the sixth message. For a detailed implementation, see S411 described above with reference to FIG. 4a. The details will not be described again in this specification.

[0232] S422 (Optional): The second node 120 sends an association request message to the first node 110. In response, the first node 110 may receive an association request message from the second node 120.

[0233] In this embodiment of the present application, the association request message may carry the identity ID (e.g., media access layer identifier) ​​of the second node 120 and related parameters used to indicate the capabilities of the second node 120, including but not limited to the key agreement algorithm (e.g., KE alg) selected by the second node 120, the key agreement parameters (e.g., represented by KEt), the security capability (sec capability) of the second node 120, and the random number NONCEt. The security capability may include one or more of the key derivation function KDF, encryption algorithm, integrity protection algorithm, authentication encryption algorithm, etc. supported by the second node 120. The details will not be described again in this specification.

[0234] For example, the association request message may be represented as the following tuple: (ID,KE alg,KEt,sec capabilities,NONCEt)

[0235] S423: The first node 110 obtains a first key based on a type corresponding to the second communication technology and / or a service type of the first service.

[0236] It should be understood that during the implementation of S423, the first node 110 may alternatively obtain the first key based on the relevant instruction information input by the user, or based on the relevant instruction information from another device. This is not limited in the embodiment of the present application. For the detailed implementation of S423, please refer to S412 described above with reference to Fig. 4a. The details will not be described again in this specification.

[0237] S424: The first node 110 sends a security context request message (an example of a second message) to the second node based on the first key. In response, the second node 120 receives a security context request message from the first node 110. The security context request message is associated with the first key. For details of the implementation, please refer to the related description of S416 in Fig. 4a. The details will not be described again in this specification.

[0238] S425: The second node 120 sends a security context response message (an example of a third message) to the first node 110. In response, the first node 110 receives a security context response message from the second node 120. For details of the implementation, please refer to the related description of S417 in Fig. 4a. The details will not be described again in this specification.

[0239] S426: When the first node 110 successfully identifies and authenticates the second node 120, it sends an association establishment message (an example of a fourth message) to the second node. In response, the second node 120 receives the association establishment message from the first node 110. For details of the implementation, please refer to the related description of S418 in FIG. 4a. The details will not be described again in this specification.

[0240] S427: The second node 120 may send an association completion message to the first node 110. In response, the first node 110 may receive an association completion message from the second node. For details of the implementation, please refer to the related description of S419 in Fig. 4a. The details will not be described again in this specification.

[0241] 4a, 4b, and 4c, in a scenario where multiple keys exist, the first node 110 and the second node 120 may select a first key associated with a first service, and complete an identification authentication and security context negotiation procedure between the two based on the first key to establish a secure first communication connection between the two. In this way, during the execution of a service between the first node 110 and the second node 120, data corresponding to the service may be transmitted based on the secure communication connection established by using different keys, so as to meet the security requirements in the integrated communication scenario and ensure the security of the corresponding service data.

[0242] Compared with the communication method shown in Figure 4a and Figure 4b, in the communication method shown in Figure 4c, the first node 110 may proactively select a key for the second node 120 as the first key based on the relevant capabilities of the second node 120, such as the service type, service features, and communication capabilities reported during registration. Therefore, the second node 120 and the first node 110 do not need to exchange a first message (i.e., a key indication message) with each other. This can reduce signaling overhead.

[0243] Case 2: The first information includes a first security context used for communication between the first node 110 and the second node 120.

[0244] In this case, there are at least two sets of security contexts in each of the first node 110 and the second node 120, for example, a common security context, a trusted security context, and an untrusted security context. The first node 110 and the second node 120 may determine a required first security context from the at least two sets of security contexts through negotiation, and establish a secure first communication connection based on the first security context. It should be noted that steps S431 to S435 included in case 2 are only one example of optional steps. In some examples, the implementation sequence numbers of the following steps may be exchanged as alternatives. This is not particularly limited in the embodiment of the present application.

[0245] As shown in FIG. 4d, the communication method may include, for example, the following steps.

[0246] S431 (optional): The first node 110 transmits a sixth message (e.g., a system message). In response, the second node 120 may receive the sixth message. For a detailed implementation, see S411 described above with reference to FIG. 4a. The details will not be described again in this specification.

[0247] S432: The second node 120 obtains a first security context or a type of the first security context based on a type corresponding to the second communication technology and / or a service type of the first service.

[0248] During the implementation of S432, it should be understood that the second node 120 may alternatively obtain the first security context or the type of the first security context based on related instruction information input by a user, or may alternatively obtain the first security context or the type of the first security context based on related instruction information from another device. This is not limited in the embodiment of the present application. It should be understood that in this embodiment of the present application, the second node 120 may alternatively obtain the first security context or the type of the first security context in another manner. This is not limited in the embodiment of the present application.

[0249] In this embodiment of the present application, in an integrated communication scenario, the first security context may be implemented in any one of the following ways:

[0250] Example 3: The first security context is a security context used for a service of a second communication technology.

[0251] The security context used for the service of the second communication technology includes a trusted security context or an untrusted security context, where the trusted security context is a security context that is successfully authenticated through the network, and the untrusted security context is a security context that is not authenticated through the network. The network in this specification may be understood as a network corresponding to a third node. For example, the network may be a 5G core network. It should be understood that in this embodiment of the present application, the security context that is not authenticated through the network may be understood as a key that is not confirmed through the network or does not need to be confirmed through the network (e.g., a security context corresponding to a default key), or a key that is confirmed through the network but not successfully confirmed (e.g., a security context corresponding to the aforementioned key that is not authenticated through the network).

[0252] The above-mentioned security context corresponding to the PSK is used as an example. If the security context is not authenticated through a core network (e.g., a 5G core network) corresponding to the third node 130, or is not obtained through a key agreement process, or the security context is obtained after agreement but not agreed upon, the security context is an untrusted security context and corresponds to the above-mentioned untrusted fused PSK. If the security context is authenticated through a core network corresponding to the third node 130, obtained after a key agreement process, and agreed upon, the security context is a trusted security context and corresponds to the above-mentioned trusted fused PSK.

[0253] Example 4: The first security context is a security context used for a service of a first communication technology.

[0254] Similar to the above-mentioned multiple key priority and usage principles, in this embodiment of the present application, at least two sets of security contexts can also have security context priority and usage principles. A first security context is associated with a first service, and the first security context needs to be selected from the set of at least two security contexts according to at least the following principles: if the first service is a service of a first communication technology, the first security context is a security context used for the service of the first communication technology, and / or if the first service is a service of a second communication technology, the first security context is a security context used for the service of the second communication technology.

[0255] For example, (1) for a service of a second communication technology in the integrated communication scenario, if a trusted security context used for the service of the second communication technology in the integrated communication scenario exists, an untrusted security context used for the service of the second communication technology in the integrated communication scenario is not used, and a trusted security context is used, in other words, the priority of the trusted security context is higher than the priority of the untrusted security context; (2) for a service of a second communication technology in the integrated communication scenario, a security context used for the service of the second communication technology in the integrated communication scenario is used, and a security context used for the service of the first communication technology is not used, in other words, the priority of the untrusted security context used for the service of the second communication technology in the integrated communication scenario is higher than the priority of the security context used for the service of the first communication technology; and (3) for a service of a first communication technology, even if a security context used for the service of the second communication technology in the integrated communication scenario exists, a security context used for the service of the first communication technology needs to be used to ensure security of the private service between the first node 110 and the second node 120.

[0256] During the execution of S432, the second node 120 may obtain a first security context, for example, a security context used for the service of the first communication technology, an untrusted security context in an integrated communication scenario, or a trusted security context in an integrated communication scenario, based on the type corresponding to the second communication technology and / or the service type of the first service and based on the aforementioned usage principle. For example, the type corresponding to the second communication technology may be the type of the communication standard used in the second communication technology, for example, 5G technology.

[0257] S433: The second node 120 transmits an association request message (an example of a fifth message) to the first node 110. In response, the first node 110 receives the association request message.

[0258] For example, the association request message may include a temporary ID (e.g., a physical layer identifier) ​​of the second node 120 and / or an identifier associated with the first security context. For example, the identifier may be represented as a Kgt ID.

[0259] In an optional design, the second node 120 may further perform integrity protection on the association request message by using a signaling plane integrity protection algorithm and a signaling plane integrity protection key Ks.int. The MIC obtained through the calculation may be carried in the association request message.

[0260] For example, the association request message may be represented as the following tuple: (temporary ID, Kgt ID) MIC , where () MIC indicates that the association request message is an integrity protected message.

[0261] S434: The first node 110 obtains a first security context based on the temporary ID and / or the Kgt ID.

[0262] In an optional design, the first node 110 may check the integrity of the association request message based on the first security context.

[0263] If the first node 110 does not have the temporary ID of the second node 120, or does not have the corresponding first security context, or if the first node 110 fails to check the MIC, the first node 110 may send a failure message carrying a cause value to the second node 120 (not shown). After receiving the failure message, the second node 120 may initiate an identity authentication procedure and a security context negotiation procedure if no security context exists. For details thereof, see, for example, the method steps of FIG. 4a or FIG. 4b. The details will not be described again in this specification.

[0264] If the first node 110 successfully checks the integrity of the association request message, the first node 110 may generate a new temporary ID (T-ID) for the second node 120.

[0265] S435: The first node 110 sends an association establishment message (i.e., the seventh message) to the second node 120. In response, the second node 120 may receive the seventh message from the first node.

[0266] In an optional design, the association establishment message may include a new temporary ID (T-ID) generated by the first node 110 for the second node 120.

[0267] In an optional design, the first node 110 may further perform integrity protection of the association establishment message by using a signaling plane integrity protection algorithm and a signaling plane integrity protection key Ks.int. Once the signaling plane encryption protection is initiated, the first node 110 may perform encryption protection of the association establishment message by using a signaling plane encryption algorithm and a signaling plane encryption key Ks.enc.

[0268] For example, the association establishment message may be represented as the following tuple: (New temporary ID) MIC , where () MIC indicates that the association establishment message is an integrity protected message.

[0269] If the first node 110 encrypts the association establishment message, the second node 120 may decrypt the association establishment message. The second node 120 may further check the integrity of the association establishment message. If the integrity verification fails, the message is discarded. If the integrity verification is successful, the following S436 is executed. The second node 120 may send an association completion message (i.e., the eighth message) to the first node 110.

[0270] The second node 120 may perform integrity protection on the association completion message by using a signaling plane integrity protection algorithm and a signaling plane integrity protection key Ks.int. When the signaling plane encryption protection is initiated, the second node 120 may perform encryption protection on the association completion message by using a signaling plane encryption algorithm and a signaling plane encryption key Ks.enc.

[0271] For example, the association complete message may be expressed as follows: (association completion message) MIC , where () MIC indicates that the association complete message is an integrity protected message.

[0272] 4d, in a scenario where multiple sets of security contexts exist, the first node 110 and the second node 120 may select a first security context associated with a first service and establish a first communication connection between the two based on the first security context. In this way, during the execution of a service between the first node 110 and the second node 120, data corresponding to the service may be transmitted based on the established first communication connection by using different security contexts to meet security requirements in an integrated communication scenario and ensure security of the corresponding service data.

[0273] It should be noted that in this embodiment of the present application, if the second node 120 cannot establish an association with the first node 110 multiple times by using the stored security context, the second node 120 may delete the stored security context and try to initiate a security context-free association procedure between the second node 120 and the first node 110 by using the method shown in Figure 4a or 4b. The details will not be described again in this specification.

[0274] An embodiment of the present application further provides a communication device configured to execute the method performed by the first node in the aforementioned method embodiment. For related features, please refer to the aforementioned method embodiment. Details will not be described again in this specification.

[0275] As shown in FIG. 5, the apparatus 500 may include a communication unit 501 configured to communicate with a second node, and a processing unit 502 configured to obtain first information and establish a first communication connection to the second node based on the first information, where the first communication connection is used to transmit data of a first service, the first communication connection corresponds to a first communication technology, and the first node is a node that accesses a network corresponding to a second communication technology. For example, the first service may be a service of the first communication technology or a service of the second communication technology. For specific implementations, please refer to the related description of the embodiments shown in FIG. 1 to FIG. 4d. Details will not be described again in this specification.

[0276] In an optional design, the communication device 500 shown in FIG. 5 may be further configured to execute the method performed by the second node in the aforementioned method embodiment. For example, the communication unit 501 is configured to communicate with the first node, the processing unit 502 is configured to obtain first information and establish a first communication connection to the first node based on the first information, the first communication connection is used to transmit data of a first service, the first communication connection corresponds to a first communication technology, and the first node is a node that accesses a network corresponding to a second communication technology. For example, the first service may be a service of the first communication technology or a service of the second communication technology. For related features, please refer to the aforementioned method embodiment. Details will not be described again in this specification.

[0277] It should be noted that in the embodiment of the present application, the module division is an example and is merely a logical functional division. In actual implementation, other division methods may be used. The functional units in the embodiment of the present application may be integrated into one processing unit, or each of the units may exist physically alone, or two or more units may be integrated into one unit. The integrated unit may be implemented in the form of hardware or in the form of a software functional unit.

[0278] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, the integrated unit may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be essentially or the part that contributes to the current technology, or all or part of the technical solution may be implemented in the form of a software product. The computer software product is stored in a storage medium and includes some instructions for instructing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the method in the embodiments of the present application. The aforementioned storage medium includes any medium that can store program code, such as a USB flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, an optical disk, etc.

[0279] In one possible implementation, an embodiment of the present application provides a computer-readable storage medium, which stores a program code, and when the computer program is executed on a computer, the computer is capable of executing the method in the above-mentioned method embodiment.

[0280] In one possible implementation, an embodiment of the present application provides a computer program product, which, when executed on a computer, enables the computer to perform the method in the above-mentioned method embodiments.

[0281] In a simple embodiment, those skilled in the art may understand that all the communication devices in the above embodiments may be in the form shown in FIG.

[0282] 6 includes at least one processor 610 and a communication interface 630. In an optional design, the apparatus may further include a memory 620.

[0283] The specific connection medium between the processor 610 and the memory 620 is not limited to the embodiments of the present application.

[0284] In the apparatus shown in FIG. 6, the processor 610 may transmit data via the communication interface 630 when communicating with another device.

[0285] When the communications device is in the form shown in FIG. 6, the processor 610 of FIG. 6 may invoke computer-executable instructions stored in memory 620, such that the device 600 may perform the method performed by the communications device in any of the method embodiments described above.

[0286] An embodiment of the present application relates to a chip system, comprising a processor configured to call a computer program or computer instructions stored in a memory, such that the processor executes the method in any one of the previous embodiments.

[0287] In one possible implementation, the processor may be coupled to the memory by using an interface.

[0288] In one possible implementation, the chip system may further directly include a memory, which stores computer programs or computer instructions.

[0289] The memory may be volatile or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory may be random access memory (RAM) and used as an external cache. By way of example and not of limitation, many forms of RAM are known, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchlink dynamic random access memory (SDRAM), and the like. DRAM, SLDRAM), and direct rambus random access memory (direct rambus RAM, DR RAM) may be used.

[0290] An embodiment of the present application further relates to a processor, the processor being configured to call a computer program or computer instructions stored in a memory, such that the processor executes the method in any one of the previous embodiments.

[0291] For example, in this embodiment of the present application, the processor is an integrated circuit chip and has signal processing capabilities. For example, the processor may be a field programmable gate array (FPGA), a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), or another programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, or a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a microcontroller unit (MCU), or a programmable logic device (PLD), or another integrated chip, and the processor may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor, or the processor may be any conventional processor, etc. The steps of the methods disclosed with reference to the embodiments of the present application may be performed and completed directly by using a hardware decode processor, or may be performed and completed by using a combination of hardware and software modules in the decode processor. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, or a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the aforementioned method in cooperation with the processor hardware.

[0292] It should be understood that the embodiments of the present application may be provided as a method, a system, or a computer program product. Thus, the present application may take the form of a hardware-only embodiment, a software-only embodiment, or an embodiment having a combination of software and hardware. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk memory, CD-ROM, optical memory, etc.) containing computer-usable program code.

[0293] These computer program instructions may alternatively be stored in a computer-readable memory that can cause a computer or another programmable data processing apparatus to operate in a particular manner, such that the instructions stored in the computer-readable memory generate an artifact that includes an instruction apparatus that implements a particular function or functions of one or more steps of the flowcharts and / or one or more blocks of the block diagrams.

[0294] These computer program instructions may alternatively be loaded into a computer or another programmable data processing device such that a sequence of operations and steps are executed on the computer or another programmable device, thereby generating a computer-implemented process. Thus, the instructions executed on the computer or another programmable device provide steps for implementing a particular function in one or more procedures of the flowcharts and / or one or more blocks of the block diagrams.

[0295] Obviously, those skilled in the art can make various modifications and variations to the embodiments of the present application without departing from the scope of the embodiments of the present application. Therefore, if these modifications and variations in the embodiments of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is intended to include these modifications and variations. [Explanation of symbols]

[0296] 110 First Node 120 Second Node 130 Third Node 500 devices 501 Communication Unit 502 Processing Unit 600 equipment 610 Processor 620 Memory 630 Communication Interface

Claims

1. A method of communication, the method being applied to a first node, Obtaining first information; establishing a first communication connection to a second node based on the first information, the first communication connection being used to transmit data of a first service, the first communication connection corresponding to a first communication technology; the first node is a node accessing a network corresponding to a second communication technology, and the first service is a service of the first communication technology or a service of the second communication technology; A communication method comprising:

2. the first information includes a first key used to authenticate communications with the second node, and the step of obtaining the first information deriving the first key based on a type corresponding to the second communication technology and / or a service type of the first service; 2. The method of claim 1, comprising:

3. the first information includes a first key used to authenticate communications with the second node, and the method further comprises: receiving a first message from the second node, the first message carrying a key type indication or a service type indication; Further comprising: The step of obtaining first information comprises: obtaining the first key based on the key type indication or the service type indication; 2. The method of claim 1, comprising:

4. said step of establishing a first communication connection to a second node based on said first information further comprising: sending a second message associated with the first key to the second node, the second message being used to identify and authenticate the first node; receiving a third message in response to the second message, the third message being used to identify and authenticate the second node; sending a fourth message to the second node if the identity and authentication of the second node is successful, the fourth message being used to establish the first communication connection to the second node; 4. The method of claim 2 or 3, comprising:

5. if the first service is a service of the first communication technology, the first key is a key used for the service of the first communication technology; or If the first service is a service of the second communication technology, the first key is a key used for the service of the second communication technology.

5. The method according to any one of claims 2 to 4.

6. 6. The method of claim 5, wherein the keys used for the services of the second communication technology include trusted keys or untrusted keys, the trusted keys being keys that are successfully authenticated over the network, and the untrusted keys being keys that are not authenticated over the network, and the priority of the trusted keys being higher than the priority of the untrusted keys.

7. Prior to the step of establishing a first communication connection, the method further comprises: receiving a key from the network, the key being used for services of the second communication technology; 7. The method of claim 1, further comprising:

8. the first information includes a first security context used for communicating with the second node, and the step of obtaining the first information further comprises: receiving a fifth message from the second node, the fifth message carrying an identifier associated with the first security context; Including, The step of obtaining first information comprises: Obtaining the first security context based on the identifier.

2. The method of claim 1, comprising:

9. if the first service is a service of the first communication technology, the first security context is a security context used for the service of the first communication technology; or If the first service is a service of the second communication technology, the first security context is a security context used for the service of the second communication technology. The method of claim 8.

10. 10. The method of claim 9, wherein the security context used for the service of the second communication technology includes a trusted security context or an untrusted security context, the trusted security context being a security context that is successfully authenticated through the network, and the untrusted security context being a security context that is not authenticated through the network, and the priority of the trusted security context is higher than the priority of the untrusted security context.

11. Prior to the step of obtaining first information, the method further comprises: sending a sixth message to the second node, the sixth message carrying information used to indicate that the first node supports the second communication technology; 11. The method of any one of claims 1 to 10, further comprising:

12. A method of communication, the method being applied at a second node, obtaining first information; establishing a first communication connection to a first node based on the first information, the first communication connection being used to transmit data of a first service, the first communication connection corresponding to a first communication technology; the first node is a node accessing a network corresponding to a second communication technology, and the first service is a service of the first communication technology or a service of the second communication technology; A communication method comprising:

13. the first information includes a first key used to authenticate communications with the first node, and the step of obtaining the first information comprises: deriving the first key based on a type corresponding to the second communication technology and / or a service type of the first service; 13. The method of claim 12, comprising:

14. The method further comprising: sending a first message to the first node, the first message carrying information associated with the first key; 14. The method of claim 13, further comprising:

15. said step of establishing a first communication connection to the first node based on said first information further comprising: receiving a second message from the first node, the second message being associated with the first key, the second message being used to authenticate the identity of the first node; If the identification and authentication of the first node is successful, transmitting a third message to the first node, the third message being used to identify and authenticate the second node; receiving a fourth message in response to the third message, the fourth message being used to establish the first communication connection to the second node; 15. The method of claim 13 or 14, comprising:

16. if the first service is a service of the first communication technology, the first key is a key used for the service of the first communication technology; or If the first service is a service of the second communication technology, the first key is a key used for the service of the second communication technology.

16. The method according to any one of claims 13 to 15.

17. 17. The method of claim 16, wherein the keys used for the services of the second communication technology include trusted keys or untrusted keys, the trusted keys being keys that are successfully authenticated through the network, and the untrusted keys being keys that are not authenticated through the network, and the priority of the trusted keys being higher than the priority of the untrusted keys.

18. Prior to the step of establishing the first communication connection, the method further comprises: receiving a key from the network and used for the service of the second communication technology; 18. The method of any one of claims 12 to 17, further comprising:

19. the first information includes a first security context, the first security context being used by the second node to establish the first communication connection to the first node, and the step of obtaining the first information further comprises: obtaining the first security context based on a type corresponding to the second communication technology and / or a service type of the first service; 13. The method of claim 12, comprising:

20. if the first service is a service of the first communication technology, the first security context is a security context used for the service of the first communication technology; or If the first service is a service of the second communication technology, the first security context is a security context used for the service of the second communication technology.

20. The method of claim 19.

21. 21. The method of claim 20, wherein the security context used for the service of the second communication technology includes a trusted security context or an untrusted security context, the trusted security context being a security context that is successfully authenticated through the network, and the untrusted security context being a security context that is not authenticated through the network, and the priority of the trusted security context is higher than the priority of the untrusted security context.

22. The method further comprising: sending a fifth message to the first node, the fifth message carrying an identifier associated with the first security context; 22. The method of any one of claims 19 to 21, further comprising:

23. The method further comprising: receiving a sixth message from the first node, the sixth message carrying information used to indicate that the first node supports the second communication technology; 23. The method of any one of claims 12 to 22, further comprising:

24. A communication device applied to a first node, a communication unit configured to communicate with a second node; a processing unit configured to obtain first information and establish a first communication connection to the second node based on the first information, the first communication connection being used to transmit data of a first service, the first communication connection corresponding to a first communication technology, the first node being a node accessing a network corresponding to a second communication technology, and the first service being a service of the first communication technology or a service of the second communication technology; A communication device comprising:

25. the first information includes a first key used for authenticating communication with the second node, and if the first service is a service of the first communication technology, the first key is a key used for the service of the first communication technology, or if the first service is a service of the second communication technology, the first key is a key used for the service of the second communication technology; 25. The apparatus of claim 24.

26. a communication unit configured to communicate with the first node; a processing unit configured to obtain first information and establish a first communication connection to the first node based on the first information, the first communication connection being used to transmit data of a first service, the first communication connection corresponding to a first communication technology, the first node being a node accessing a network corresponding to a second communication technology, and the first service being a service of the first communication technology or a service of the second communication technology; A communication device comprising:

27. 27. The apparatus of claim 26, wherein the first information includes a first key used for authenticating communications with the first node, and if the first service is a service of the first communication technology, the first key is a key used for the service of the first communication technology, or if the first service is a service of the second communication technology, the first key is a key used for the service of the second communication technology.

28. A communications device comprising at least one processor and an interface circuit, the interface circuit being configured to provide data or code instructions to the at least one processor, the at least one processor being configured to implement a method according to any one of claims 1 to 11 or 12 to 23 by using logic circuits or by executing the code instructions.

29. A communication system comprising a communication device configured to implement a method according to any one of claims 1 to 11 and a communication device configured to implement a method according to any one of claims 12 to 23.

30. A computer readable storage medium storing program code which, when executed on a computer, enables the computer to perform the method according to any one of claims 1 to 11, or which, when executed on a computer, enables the computer to perform the method according to any one of claims 12 to 23.

Citation Information

Patent Citations

  • Mobile terminal and radio communication system

    JP2016096452A

  • Method and device for deriving wlan security context from wwan security context

    JP2016506161A

  • Apparatus and method

    WO2020095938A1