Communication method and device

By configuring the security functions of the communication device through the collaboration of the first device and the second module, and by directly configuring the security capability module using the download address, the problem of low efficiency in configuring security functions in the prior art is solved, and more efficient and secure network management is achieved.

WO2024192778A1PCT designated stage expired Publication Date: 2024-09-26HUAWEI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/083520
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-23
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

In existing technologies, the security functions configured in communication devices are inefficient, resulting in high signaling overhead, high network response latency, and serious waste of resources.

Method used

By collaborating with the first device and the second module, the first module is configured using the first request information, reducing the workload of repeatedly configuring security functions. The security capability module is configured directly using the download address, avoiding the need to determine security functions through code, thus improving configuration speed and efficiency.

Benefits of technology

It reduces signaling overhead, lowers network response latency, saves network resources, improves network management efficiency, and enhances system security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023083520_26092024_PF_FP
    Figure CN2023083520_26092024_PF_FP
Patent Text Reader

Abstract

The present application discloses a communication method and device. The method comprises: after sending first request information, a first device may receive first information, wherein the first request information is used for requesting to configure a first module according to a second module, the first module is a module for providing a first security capability for the first device, and the second module is a module for providing a second security capability for the second device; the first information is used for configuring the first module, and the first information is related to the second module. According to the method, the first device can acquire the first information related to the second module and used for configuring the first module, so that the first module can be configured according to the second module, and thus the efficiency and speed of configuring the first module can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Communication method and device Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a communication method and device. Background Art

[0002] To improve communication security, communication devices can be associated with security functions, which can provide security capabilities for the corresponding communication devices. The security capabilities provided by the security functions may include, for example, one or more of authentication, encryption and decryption, authorization, blockchain, trustworthiness, situational awareness, and privacy protection.

[0003] How to improve the efficiency of configuring security functions is a technical problem that needs to be solved.

[0004] Summary of the Invention

[0005] The present application provides a communication method and apparatus for improving the efficiency of configuring security functions.

[0006] In a first aspect, embodiments of the present application provide a communication method. The method includes: a first device sending a first request message. The first request message is used to request that the first module be configured according to a second module, where the first module is a module that provides a first security capability for the first device, and the second module is a module that provides a second security capability for the second device. The first device may then receive a first message, where the first message is used to configure the first module and is related to the second module.

[0007] Through this method, after establishing a second module corresponding to a second device, the second module can be used to configure the first module corresponding to the first device, thereby improving the efficiency and speed of configuring the first module. Compared to methods that trigger the configuration of each security function separately through an engine or communication device, this method can reduce signaling overhead, reduce the workload of the engine involved in repeatedly configuring security functions, reduce network response latency, conserve network resources, and improve network management efficiency.

[0008] In one possible design, the first information may be used to configure the first module in one of the following ways.

[0009] Implementation Method 1: The first information includes information indicating the second security capability, the second security capability is used to determine the first security capability, and the first security capability is used to configure the first module. With this implementation method, the first device can quickly configure the first module that provides the first security capability to the first device based on the second security capability provided by the second module to the second device, thereby improving the speed and efficiency of configuring the first module.

[0010] In one possible approach, the first device may further send second information to the first module or the device where the first module resides, where the second information indicates the first security capability. The first device then receives first feedback from the first module or the device where the first module resides, where the first feedback indicates whether the first module was successfully configured. In this manner, the first module or the device where the first module resides can quickly configure the first module based on the first security capability, thereby improving the speed and efficiency of configuring the first module.

[0011] Implementation Method 2: The first information includes information indicating a first download address. The first download address is the download address of the security capability module in the second module, and the first download address is used to configure the first module. With this implementation, the download address of the security capability module in the second module can be used to configure the first module, thereby improving the speed and efficiency of configuring the first module. Furthermore, in this implementation, the first entity sends the download address of the security capability module in the second module, rather than the code of the security capability module in the second module. This prevents third parties from determining security functions through this code, thereby improving system security.

[0012] In one possible approach, the first device can obtain the security capability module in the first module based on the first download address and the security capability module information of the first module. The security capability module in the first module includes part or all of the security capability module in the second module. The first device can then configure the first module based on the security capability module in the first module. In this way, the first device can conveniently download the code package of the security capability module in the second module from the first download address and configure the first module accordingly, thereby improving the speed and efficiency of configuring the first module.

[0013] In another possible approach, the first device may send third information to the first module or the device where the first module is located. This third information includes information indicating a first download address and security capability module information of the first module. The first download address and security capability module information are used to configure the first module. The first device may then receive first feedback information from the first module or the device where the first module is located. The first feedback information is used to indicate whether the first module has been successfully configured. In this way, the first module or the device where the first module is located can conveniently download the code package of the security capability module in the second module from the first download address and configure the first module accordingly, thereby improving the speed and efficiency of configuring the first module.

[0014] Optionally, in this other possible manner, the first feedback information includes: identification information of the first module and indication information of the first security capability. Through this method, the first device can obtain and save the first security capability, so as to call the first module to support the first security capability.

[0015] In one possible design, the security capability module information may include at least one of the following: information indicating and / or status of the security capability module that the first module should include; and information indicating algorithms within the security capability module that the first module should include. This design allows for accurate and flexible indication of information related to the security capability module.

[0016] In one possible design, the first request information includes first indication information. The first indication information is used to indicate to the third device that it is permitted to configure the first module based on the second module. The third device is a device for managing the first and second modules. In this way, the first entity can provide information for establishing the first module after determining that the third device is permitted to configure the first module based on the second module. This avoids configuring security functions for unauthorized devices and improves system security.

[0017] In one possible design, the first device may receive the first indication information from the third device, so that the first device can easily obtain the first indication information.

[0018] In one possible design, the first device may send a second request message to the third device, requesting permission from the third device to configure the first module based on the second module. After receiving the second request message, the third device may send the first indication message to the first device. This allows the first indication message to be sent on demand, avoiding unnecessary use of network resources and saving signaling overhead.

[0019] In one possible design, the second request information includes at least one of the following:

[0020] Information for indicating a first state, the first state comprising: an expected state of a security capability module in the first module;

[0021] Information used to indicate whether the configuration information of the second module and the configuration information of the first module are changed synchronously;

[0022] Information indicating security capabilities that the first device is expected to have;

[0023] Information indicating a security capability that the first device is expected not to have;

[0024] Information used to indicate whether the first module is configured according to the first method or the second method; in the first method, the first module is configured according to the configuration information of the second module or the second security capability; in the second method, the first module is configured according to the first download address, and the first download address is the download address of the security capability module in the second module.

[0025] This design provides at least one information that may be included in the second request information, so that the third device can determine the content in the first indication information according to the second request information and the needs of the first device, thereby enriching the specific content that the third device allows to configure the first module according to the second module and enhancing the controllability of configuring the first module according to the second module.

[0026] In one possible design, the first indication information includes at least one of the following:

[0027] signature information of the third device;

[0028] Authentication information for indicating permission to configure the first module according to the second module;

[0029] Information indicating whether the second state and the third state are the same, the second state being the state of the first module and the third state being the state of the second module;

[0030] Information used to indicate whether the configuration information of the second module and the configuration information of the first module are changed synchronously;

[0031] Information for indicating a first state, the first state comprising: an expected state of a security capability module in the first module;

[0032] Indicative information of security capability modules that the first module is expected to possess;

[0033] Indicative information of the algorithms in the security capability module that the first module is expected to possess;

[0034] Information used to indicate whether the first module is configured according to the first method or the second method; in the first method, the first module is configured according to the configuration information of the second module or the second security capability; in the second method, the first module is configured according to the first download address, and the first download address is the download address of the security capability module in the second module.

[0035] Through this design, the third device can be flexibly instructed to allow the specific content of the first module to be configured according to the second module, thereby improving the efficiency of configuring the first module.

[0036] In a second aspect, embodiments of the present application provide a communication method. This method can be applied to a first entity. The first entity is, for example, a second device or a second module. The method includes: the first entity receiving a first request message. The first request message is used to request that the first module be configured according to the second module, where the first module is a module that provides a first security capability for the first device, and the second module is a module that provides a second security capability for the second device. The first entity can then send a first message, where the first message is used to configure the first module and is related to the second module.

[0037] Through this method, after establishing a second module corresponding to a second device, the second module can be used to configure the first module corresponding to the first device, thereby improving the efficiency and speed of configuring the first module. Compared to methods that trigger the configuration of each security function separately through an engine or communication device, this method can reduce signaling overhead, reduce the workload of the engine involved in repeatedly configuring security functions, reduce network response latency, conserve network resources, and improve network management efficiency.

[0038] In one possible design, the first information may be used to configure the first module in one of the following ways.

[0039] Implementation Method 1: The first information includes information indicating the second security capability, the second security capability is used to determine the first security capability, and the first security capability is used to configure the first module. With this implementation method, the first device can quickly configure the first module that provides the first security capability to the first device based on the second security capability provided by the second module to the second device, thereby improving the speed and efficiency of configuring the first module.

[0040] Implementation Method 2: The first information includes information indicating a first download address. The first download address is the download address of the security capability module in the second module, and the first download address is used to configure the first module. With this implementation, the download address of the security capability module in the second module can be used to configure the first module, thereby improving the speed and efficiency of configuring the first module. Furthermore, in this implementation, the first entity sends the download address of the security capability module in the second module, rather than the code of the security capability module in the second module. This prevents third parties from determining security functions through this code, thereby improving system security.

[0041] In one possible design, the first request information includes first indication information, the first indication information being used to instruct the third device to allow configuration of the first module based on the second module, where the third device is a device for managing the first and second modules. In this way, the first entity can provide information for establishing the first module after determining that the third device allows configuration of the first module based on the second module. This avoids configuring security features for unauthorized devices and improves system security.

[0042] In one possible design, the first indication information includes at least one of the following:

[0043] signature information of the third device;

[0044] Authentication information for indicating permission to configure the first module according to the second module;

[0045] Information indicating whether the second state and the third state are the same, the second state being the state of the first module and the third state being the state of the second module;

[0046] Information used to indicate whether the configuration information of the second module and the configuration information of the first module are changed synchronously;

[0047] Information for indicating a first state, the first state comprising: an expected state of a security capability module in the first module;

[0048] Indicative information of security capability modules that the first module is expected to possess;

[0049] Indicative information of the algorithms in the security capability module that the first module is expected to possess;

[0050] Information used to indicate whether the first module is configured according to the first method or the second method; in the first method, the first module is configured according to the configuration information of the second module or the second security capability; in the second method, the first module is configured according to the first download address, and the first download address is the download address of the security capability module in the second module.

[0051] Through this design, the third device can be flexibly instructed to allow the specific content of the first module to be configured according to the second module, thereby improving the efficiency of configuring the first module.

[0052] In one possible design, the first entity may send information indicating a third security capability to the first module, where the third security capability includes the updated security capability of the second module. Through this design, when the security capability of the second module changes, the first module may promptly obtain information indicating the third security capability, where the third security capability includes the updated security capability of the second module. In this way, the first module may update the first module based on the third security capability, thereby improving the speed and efficiency of updating the first module. Compared to the method of triggering the configuration of each security function separately through an engine or a communication device, this method can reduce signaling overhead, reduce the workload of the engine in repeatedly configuring security functions, reduce network response delays, save network resources, and improve the efficiency of network management.

[0053] In one possible design, the first entity may receive third feedback information from the first module, where the third feedback information indicates whether the first module has updated its configuration information based on the third security capability. With this design, the first entity can promptly learn whether the first module has updated its configuration information based on the third security capability.

[0054] In one possible design, if the configuration information of the second module changes synchronously with the configuration information of the first module, or if the first entity receives information from the first module or the first device requesting to subscribe to the security capabilities of the second module, the first entity sends information indicating the third security capability to the first module. With this design, the first entity can send information indicating the third security capability to the first module on demand, thereby avoiding unnecessary use of network resources and saving signaling overhead.

[0055] In a third aspect, embodiments of the present application provide a communication method. The method includes: a third device sending fourth information. The fourth information is used to determine first configuration information, where the first configuration information is configuration information used by a first module to provide a first security capability for the first device, and the fourth information is related to a second module, where the second module is a module that provides a second security capability for the second device. The third device may receive second feedback information, where the second feedback information is used to indicate whether the first module successfully configured the first configuration information.

[0056] Through this method, after establishing a second module corresponding to a second device, the second module can be used to configure the first module corresponding to the first device, thereby improving the efficiency and speed of configuring the first module. Compared to methods that trigger the configuration of each security function separately through an engine or communication device, this method can reduce signaling overhead, reduce the workload of the engine involved in repeatedly configuring security functions, improve engine efficiency, reduce network response latency, conserve network resources, and improve network management efficiency.

[0057] In one possible design, the fourth information may be used to determine the first configuration information in one of the following ways.

[0058] Implementation 1: The fourth information includes first configuration information, which is determined based on second configuration information. The second configuration information is configuration information used by the second module to provide the second security capability for the second device. With this implementation, the third device can determine the configuration information of the first module based on the configuration information of the second module, thereby improving the speed and efficiency of configuring the first module.

[0059] Implementation 2: The fourth information includes information indicating a first download address and security capability module information of the first module. The first download address is the download address of the security capability module in the second module. The first download address and the security capability module information are used to determine the first configuration information. With this implementation, the first module can configure the first module based on the download address of the security capability module in the second module, thereby improving the speed and efficiency of configuring the first module. Furthermore, in this implementation, the third device transmits the download address of the security capability module of the second module, rather than the code of the security capability module of the second module. This prevents third parties from determining security functions through this code, thereby improving system security.

[0060] In one possible design, the security capability module information includes at least one of the following: information indicating and / or status of the security capability module that the first module should include; and information indicating algorithms within the security capability module that the first module should include. This design allows for accurate and flexible indication of information related to the security capability module.

[0061] In one possible design, in implementation 2, the second feedback information includes: identification information of the first module and the first configuration information. In this way, the third device can obtain and save the first configuration information, thereby effectively managing the first module.

[0062] In one possible design, the third device may receive information indicating the first download address from the second module. In this way, the third device may conveniently obtain the information indicating the first download address.

[0063] In one possible design, the third device may send a third request message to the second module, requesting the second module to upload the security capability module in the second module. Upon receiving the third request message, the second module may send information indicating the first download address to the third device. This allows the second module to send information indicating the first download address to the third device as needed, avoiding unnecessary use of network resources and saving signaling overhead.

[0064] In one possible design, the third device may receive a fourth request message from the first device, where the fourth request message is used to request that the first module be configured based on the second module. In this way, after receiving the fourth request message from the first device, the third device may send the fourth message to the first module. This allows the third device to send the fourth message to the first module on demand, avoiding unnecessary use of network resources and saving signaling overhead.

[0065] In one possible design, the fourth request information includes at least one of the following:

[0066] Information for indicating a first state, the first state comprising: an expected state of a security capability module in the first module;

[0067] Information used to indicate whether the configuration information of the second module and the configuration information of the first module are changed synchronously;

[0068] Information indicating security capabilities that the first device is expected to have;

[0069] Information indicating a security capability that the first device is expected not to have;

[0070] Information used to indicate whether the first module is configured according to the first method or the second method; in the first method, the first module is configured according to the configuration information of the second module or the second security capability; in the second method, the first module is configured according to the first download address, and the first download address is the download address of the security capability module in the second module.

[0071] This design provides at least one information that the fourth request information may include, so that the third device can determine the content of the fourth information according to the fourth request information and the needs of the first device, thereby improving the speed and efficiency of configuring the first module and enhancing the controllability of configuring the first module according to the second module.

[0072] In one possible design, before the third device sends the fourth message, the third device may determine that configuration of the first module based on the second module is permitted. This avoids the third device sending the fourth message when configuration of the first module based on the second module is not permitted, thereby saving signaling overhead and improving system security.

[0073] In one possible design, the third device determines that configuration of the first module according to the second module is allowed when at least one of the following conditions is met:

[0074] The second module has been configured for the second device;

[0075] Allowing modules other than the second module to be configured based on the second module;

[0076] allowing the first module to be configured in dependence upon modules other than the first module;

[0077] The security capabilities provided by the second module include the security capabilities that the first device is expected to have.

[0078] This design provides multiple conditions for the third device to determine whether to allow the first module to be configured according to the second module, so that the third device can flexibly and accurately determine whether to allow the first module to be configured according to the second module.

[0079] In one possible design, the third device may also determine that the first device has joined the network on which the third device resides; or the third device may receive a command for configuring the first module. In this case, the third device may send the fourth information. This allows the third device to send the fourth information in a timely manner, thereby enabling the first device to configure the first module that provides security capabilities, thereby improving the security of the first device.

[0080] In one possible design, the third device may receive third configuration information from the second module, where the third configuration information is the configuration information used by the second module to provide the second device with a third security capability. Then, the third device may send fourth configuration information to the first module, where the fourth configuration information is determined based on the third configuration information, and the fourth configuration information is the configuration information used by the first module to provide the first device with a fourth security capability. Through this design, when the security capability of the second module changes, the third device may promptly notify the first module to perform a synchronous update with the second module, thereby improving the speed and efficiency of updating the first module. Compared to the method of triggering the configuration of each security function separately through an engine or a communication device, this method can reduce signaling overhead, reduce the workload of the engine in repeatedly configuring security functions, reduce network response delays, save network resources, and improve the efficiency of network management.

[0081] In one possible design, the third device may receive fourth feedback information from the first module, where the fourth feedback information is used to indicate whether the first module has successfully configured the fourth configuration information. With this design, the third device can promptly learn whether the first module has successfully configured the fourth configuration information.

[0082] In one possible design, if the configuration information of the second module changes synchronously with the configuration information of the first module, or if the third device receives information from the first module or the first device requesting to subscribe to the security capabilities of the second module, the third device sends the fourth configuration information to the first module. With this design, the third device can send the fourth configuration information to the first module on demand, thereby avoiding unnecessary use of network resources and saving signaling overhead.

[0083] In a fourth aspect, embodiments of the present application provide a communication method. The method includes: a first module receiving fourth information. The fourth information is used to determine first configuration information, where the first configuration information is configuration information used by the first module to provide a first security capability for a first device; the fourth information is related to a second module, where the second module is a module that provides a second security capability for a second device. The first module sends second feedback information, where the second feedback information is used to indicate whether the first module successfully configured the first configuration information.

[0084] Through this method, after establishing a second module corresponding to a second device, the second module can be used to configure the first module corresponding to the first device, thereby improving the efficiency and speed of configuring the first module. Compared to methods that trigger the configuration of each security function separately through an engine or communication device, this method can reduce signaling overhead, reduce the workload of the engine involved in repeatedly configuring security functions, improve engine efficiency, reduce network response latency, conserve network resources, and improve network management efficiency.

[0085] In one possible design, the fourth information may be used to determine the first configuration information in one of the following ways.

[0086] Implementation 1: The fourth information includes first configuration information, which is determined based on second configuration information. The second configuration information is configuration information used by the second module to provide the second security capability for the second device. With this implementation, the third device can determine the configuration information of the first module based on the configuration information of the second module, thereby improving the speed and efficiency of configuring the first module.

[0087] Implementation method 2: The fourth information includes: information indicating the first download address, and security capability module information of the first module. The first download address is the download address of the security capability module in the second module, and the first download address and security capability module information are used to determine the first configuration information. Through this implementation method, the first module can configure the first module based on the download address of the security capability module in the second module, thereby improving the speed and efficiency of configuring the first module. In addition, in this implementation method, the third device sends the download address of the security capability module of the second module, rather than the code of the security capability module of the second module, thereby preventing a third party from determining security functions through the code, thereby improving the security of the system.

[0088] In one possible design, the security capability module information includes at least one of the following: information indicating and / or status of the security capability module that the first module should include; and information indicating algorithms within the security capability module that the first module should include. This design allows for accurate and flexible indication of information related to the security capability module.

[0089] In one possible design, in implementation 2, the second feedback information includes: identification information of the first module and the first configuration information. In this way, the third device can obtain and save the first configuration information, thereby effectively managing the first module.

[0090] In one possible design, the first module receives information from the second device for indicating a third security capability, where the third security capability includes the updated security capability of the second module. Through this design, when the security capability of the second module changes, the first module can promptly obtain information for indicating the third security capability, where the third security capability includes the updated security capability of the second module. In this way, the first module can update the first module based on the third security capability, thereby improving the speed and efficiency of updating the first module. Compared to the method of triggering the configuration of each security function separately through an engine or a communication device, this method can reduce signaling overhead, reduce the workload of the engine in repeatedly configuring security functions, reduce network response delays, save network resources, and improve the efficiency of network management.

[0091] In one possible design, the first module sends third feedback information to the second device. The third feedback information is used to indicate whether the first module has updated the configuration information of the first module based on the third security capability. With this design, the second device can promptly learn whether the first module has updated the configuration information of the first module based on the third security capability.

[0092] In one possible design, if the configuration information of the second module changes synchronously with the configuration information of the first module, or if the first module or the first device sends information to the second device requesting to subscribe to the security capabilities of the second module, the first module receives information indicating the third security capabilities from the second device. With this design, the second device can send information indicating the third security capabilities to the first module as needed, thereby avoiding unnecessary use of network resources and saving signaling overhead.

[0093] In one possible design, the first module receives fourth configuration information from the third device, the fourth configuration information is determined based on the third configuration information, the third configuration information is the configuration information used by the second module to provide the third security capability for the second device, and the fourth configuration information is the configuration information used by the first module to provide the fourth security capability for the first device. Through this design, when the security capability of the second module changes, the third device can promptly notify the first module to perform a synchronous update with the second module, thereby improving the speed and efficiency of updating the first module. Compared with the method of triggering the configuration of each security function separately through the engine or communication device, this method can reduce signaling overhead, reduce the workload of the engine in repeatedly configuring security functions, reduce network response delays, save network resources, and improve the efficiency of network management.

[0094] In one possible design, the first module sends fourth feedback information to the third device, where the fourth feedback information is used to indicate whether the first module has successfully configured the fourth configuration information. With this design, the third device can promptly learn whether the first module has successfully configured the fourth configuration information.

[0095] In one possible design, if the configuration information of the second module changes synchronously with the configuration information of the first module, or if the first module or the first device sends information requesting to subscribe to the security capabilities of the second module to a third device, the first module receives the fourth configuration information from the third device. With this design, the third device can send the fourth configuration information to the first module as needed, thereby avoiding unnecessary use of network resources and saving signaling overhead.

[0096] In a fifth aspect, embodiments of the present application provide a communication device that can be used to implement the communication method of the first aspect, that is, to perform the operations of the first device in the method of the first aspect. In one possible implementation, the communication device may include a module or unit corresponding to each of the methods, operations, steps, and actions described in the first aspect. The module or unit may be implemented as hardware circuitry, software, or a combination of hardware circuitry and software.

[0097] In one possible implementation, the device includes: a communication unit and a processing unit. The communication unit is configured to receive and / or send information; the processing unit is configured to: send, via the communication unit, first request information requesting configuration of a first module based on a second module, the first module providing a first security capability for the communication device, and the second module providing a second security capability for the second device; and receive, via the communication unit, first information used to configure the first module and related to the second module.

[0098] In the first implementation, the first information includes information indicating the second security capability, the second security capability is used to determine the first security capability, and the first security capability is used to configure the first module.

[0099] Optionally, the processing unit is also used to: send second information to the first module or the device where the first module is located through the communication unit, the second information is used to indicate the first security capability; receive first feedback information from the first module or the device where the first module is located through the communication unit, the first feedback information is used to indicate whether the first module is successfully configured.

[0100] In the second implementation, the first information includes information for indicating a first download address, the first download address is the download address of the security capability module in the second module, and the first download address is used to configure the first module.

[0101] In some possible embodiments, the processing unit is also used to: obtain the security capability module in the first module based on the first download address and the security capability module information of the first module, the security capability module in the first module including part or all of the security capability modules in the second module; configure the first module based on the security capability module in the first module.

[0102] In other possible embodiments, the processing unit is also used to: send third information to the first module or the device where the first module is located through the communication unit, the third information includes information for indicating the first download address, and security capability module information of the first module, the first download address and security capability module information are used to configure the first module; receive first feedback information from the first module or the device where the first module is located through the communication unit, the first feedback information is used to indicate whether the first module is successfully configured.

[0103] Exemplarily, the first feedback information includes: identification information of the first module and indication information of the first security capability.

[0104] Optionally, the security capability module information includes at least one of the following: indication information and / or status of the security capability module that the first module should include; indication information of the algorithm in the security capability module that the first module should include.

[0105] In one possible design, the first request information includes: first indication information, the first indication information is used to indicate that the third device allows the first module to be configured according to the second module, and the third device is a device for managing the first module and the second module.

[0106] In one possible design, the processing unit is further used to: receive first indication information from a third device through the communication unit.

[0107] In one possible design, the processing unit is further used to: send second request information to the third device through the communication unit, where the second request information is used to request the third device to allow configuration of the first module according to the second module.

[0108] Illustratively, the second request information includes at least one of the following:

[0109] Information for indicating a first state, the first state comprising: an expected state of a security capability module in the first module;

[0110] Information used to indicate whether the configuration information of the second module and the configuration information of the first module are changed synchronously;

[0111] Information indicating the security capabilities that the communication device is expected to have;

[0112] Information used to indicate security capabilities that the communication device is not expected to have;

[0113] Information used to indicate whether the first module is configured according to the first method or the second method; in the first method, the first module is configured according to the configuration information of the second module or the second security capability; in the second method, the first module is configured according to the first download address, and the first download address is the download address of the security capability module in the second module.

[0114] Optionally, the first indication information includes at least one of the following:

[0115] signature information of the third device;

[0116] Authentication information for indicating permission to configure the first module according to the second module;

[0117] Information indicating whether the second state and the third state are the same, the second state being the state of the first module and the third state being the state of the second module;

[0118] Information used to indicate whether the configuration information of the second module and the configuration information of the first module are changed synchronously;

[0119] Information for indicating a first state, the first state comprising: an expected state of a security capability module in the first module;

[0120] Indicative information of security capability modules that the first module is expected to possess;

[0121] Indicative information of the algorithms in the security capability module that the first module is expected to possess;

[0122] Information used to indicate whether the first module is configured according to the first method or the second method; in the first method, the first module is configured according to the configuration information of the second module or the second security capability; in the second method, the first module is configured according to the first download address, and the first download address is the download address of the security capability module in the second module.

[0123] In a sixth aspect, an embodiment of the present application provides a communication device, which can be used to implement the communication method in the second aspect, that is, to perform the operation of the first entity in the method of the second aspect. The first entity is a second device or a second module. In one possible implementation, the communication device may include a module or unit corresponding to the method / operation / step / action described in the first aspect. The module or unit may be a hardware circuit, software, or a combination of hardware circuit and software.

[0124] In one possible implementation, the device includes: a communication unit and a processing unit. The communication unit is configured to receive and / or send information; the processing unit is configured to: receive, via the communication unit, first request information requesting configuration of a first module based on a second module, the first module being a module providing a first security capability for a first device, and the second module being a module providing a second security capability for a second device; and send, via the communication unit, first information for configuring the first module and related to the second module.

[0125] In the first implementation, the first information includes information indicating the second security capability, the second security capability is used to determine the first security capability, and the first security capability is used to configure the first module.

[0126] In the second implementation, the first information includes information for indicating a first download address, the first download address is the download address of the security capability module in the second module, and the first download address is used to configure the first module.

[0127] In one possible design, the first request information includes: first indication information, the first indication information is used to indicate that the third device allows the first module to be configured according to the second module, and the third device is a device for managing the first module and the second module.

[0128] Optionally, the first indication information includes at least one of the following:

[0129] signature information of the third device;

[0130] Authentication information for indicating permission to configure the first module according to the second module;

[0131] Information indicating whether the second state and the third state are the same, the second state being the state of the first module and the third state being the state of the second module;

[0132] Information used to indicate whether the configuration information of the second module and the configuration information of the first module are changed synchronously;

[0133] Information for indicating a first state, the first state comprising: an expected state of a security capability module in the first module;

[0134] Indicative information of security capability modules that the first module is expected to possess;

[0135] Indicative information of the algorithms in the security capability module that the first module is expected to possess;

[0136] Information used to indicate whether the first module is configured according to the first method or the second method; in the first method, the first module is configured according to the configuration information of the second module or the second security capability; in the second method, the first module is configured according to the first download address, and the first download address is the download address of the security capability module in the second module.

[0137] In one possible design, the processing unit is further used to: send information indicating a third security capability to the first module through the communication unit, where the third security capability includes the updated security capability of the second module.

[0138] In one possible design, the processing unit is further used to: receive third feedback information from the first module through the communication unit, where the third feedback information is used to indicate whether the first module updates the configuration information of the first module according to the third security capability.

[0139] In one possible design, the processing unit is also used to: when the configuration information of the second module and the configuration information of the first module change synchronously, or when the communication device receives information from the first module or the first device requesting to subscribe to the security capabilities of the second module, send information indicating the third security capability to the first module through the communication unit.

[0140] In a seventh aspect, embodiments of the present application provide a communication device that can be used to implement the communication method of the third aspect, i.e., to perform the operations of the third device in the method of the third aspect. In one possible implementation, the communication device may include a module or unit corresponding to the method / operation / step / action described in the first aspect. The module or unit may be implemented as hardware circuitry, software, or a combination of hardware circuitry and software.

[0141] In one possible implementation, the apparatus includes: a communication unit and a processing unit. The communication unit is configured to receive and / or send information; the processing unit is configured to: send fourth information via the communication unit, the fourth information being used to determine first configuration information, the first configuration information being configuration information used by a first module to provide a first security capability for a first device, the fourth information being related to a second module, the second module being a module that provides a second security capability for a second device; and receive second feedback information via the communication unit, the second feedback information being used to indicate whether the first module successfully configured the first configuration information.

[0142] In implementation manner 1, the fourth information includes first configuration information, the first configuration information is determined based on second configuration information, and the second configuration information is configuration information used by the second module to provide the second security capability for the second device.

[0143] In implementation method 2, the fourth information includes: information used to indicate the first download address, and security capability module information of the first module. The first download address is the download address of the security capability module in the second module. The first download address and security capability module information are used to determine the first configuration information.

[0144] Exemplarily, the security capability module information includes at least one of the following: indication information and / or status of the security capability module that the first module should include; indication information of the algorithm in the security capability module that the first module should include.

[0145] Optionally, in implementation 2, the second feedback information includes: identification information of the first module and first configuration information.

[0146] In a possible design, the processing unit is further used to: receive information indicating the first download address from the second module through the communication unit.

[0147] In one possible design, the processing unit is further used to: send a third request message to the second module through the communication unit, where the third request message is used to request the second module to upload the security capability module in the second module.

[0148] In one possible design, the processing unit is further used to: receive fourth request information from the first device through the communication unit, where the fourth request information is used to request configuration of the first module according to the second module.

[0149] Optionally, the fourth request information includes at least one of the following:

[0150] Information for indicating a first state, the first state comprising: an expected state of a security capability module in the first module;

[0151] Information used to indicate whether the configuration information of the second module and the configuration information of the first module are changed synchronously;

[0152] Information indicating security capabilities that the first device is expected to have;

[0153] Information indicating a security capability that the first device is expected not to have;

[0154] Information used to indicate whether the first module is configured according to the first method or the second method; in the first method, the first module is configured according to the configuration information of the second module or the second security capability; in the second method, the first module is configured according to the first download address, and the first download address is the download address of the security capability module in the second module.

[0155] In one possible design, the processing unit is further configured to: before sending the fourth information through the communication unit, determine whether the first module is allowed to be configured according to the second module.

[0156] In one possible design, the processing unit is further configured to: determine that configuration of the first module according to the second module is allowed when at least one of the following conditions is met:

[0157] The second module has been configured for the second device;

[0158] Allowing modules other than the second module to be configured based on the second module;

[0159] allowing the first module to be configured in dependence upon modules other than the first module;

[0160] The security capabilities provided by the second module include the security capabilities that the first device is expected to have.

[0161] In one possible design, the processing unit is further used to: determine whether the first device joins the network where the communication device is located; or receive a command for configuring the first module through the communication unit.

[0162] In one possible design, the processing unit is also used to: receive third configuration information from the second module through the communication unit, the third configuration information is the configuration information used by the second module to provide the third security capability for the second device; send fourth configuration information to the first module through the communication unit, the fourth configuration information is determined based on the third configuration information, and the fourth configuration information is the configuration information used by the first module to provide the fourth security capability for the first device.

[0163] In one possible design, the processing unit is further used to: receive fourth feedback information from the first module through the communication unit, where the fourth feedback information is used to indicate whether the first module successfully configures the fourth configuration information.

[0164] In one possible design, the processing unit is also used to: when the configuration information of the second module and the configuration information of the first module change synchronously, or when the communication device receives information from the first module or the first device for requesting to subscribe to the security capabilities of the second module, send fourth configuration information to the first module through the communication unit.

[0165] In an eighth aspect, embodiments of the present application provide a communication device that can be used to implement the communication method of the fourth aspect, that is, to perform the operations of the first module of the method of the fourth aspect. In one possible implementation, the communication device may include a module or unit corresponding to the method / operation / step / action described in the first aspect. The module or unit may be implemented as a hardware circuit, software, or a combination of hardware circuits and software.

[0166] In one possible implementation, the apparatus includes: a communication unit and a processing unit. The communication unit is configured to receive and / or send information; the processing unit is configured to: receive, via the communication unit, fourth information used to determine first configuration information, the first configuration information being configuration information used by the communication apparatus to provide a first security capability for the first apparatus; the fourth information being related to a second module, the second module being a module providing a second security capability for the second apparatus; and send, via the communication unit, second feedback information indicating whether the communication apparatus has successfully configured the first configuration information.

[0167] In implementation manner 1, the fourth information includes first configuration information, the first configuration information is determined based on second configuration information, and the second configuration information is configuration information used by the second module to provide the second security capability for the second device.

[0168] In implementation 2, the fourth information includes: information indicating a first download address, and security capability module information of the communication device, wherein the first download address is the download address of the security capability module in the second module, and the first download address and the security capability module information are used to determine the first configuration information.

[0169] Exemplarily, the security capability module information includes at least one of the following: indication information and / or status of a security capability module that the communication device should include; and indication information of an algorithm in the security capability module that the communication device should include.

[0170] Optionally, the second feedback information includes: identification information of the communication device and first configuration information.

[0171] In one possible design, the processing unit is further configured to: receive, through the communication unit, information indicating a third security capability from the second device, where the third security capability includes an updated security capability of the second module.

[0172] In one possible design, the processing unit is further used to: send third feedback information to the second device through the communication unit, where the third feedback information is used to indicate whether the communication device updates configuration information of the communication device according to the third security capability.

[0173] In one possible design, the processing unit is also used to: when the configuration information of the second module and the configuration information of the communication device change synchronously, or when the communication device or the first device sends information to the second device for requesting to subscribe to the security capabilities of the second module, receive information indicating the third security capability from the second device through the communication unit.

[0174] In one possible design, the processing unit is also used to: receive fourth configuration information from the third device through the communication unit, the fourth configuration information is determined based on the third configuration information, the third configuration information is the configuration information used by the second module to provide the third security capability for the second device, and the fourth configuration information is the configuration information used by the communication device to provide the fourth security capability for the first device.

[0175] In one possible design, the processing unit is further used to: send fourth feedback information to the third device through the communication unit, where the fourth feedback information is used to indicate whether the communication device successfully configures the fourth configuration information.

[0176] In one possible design, the processing unit is also used to: when the configuration information of the second module and the configuration information of the communication device change synchronously, or when the communication device or the first device sends information to the third device for requesting to subscribe to the security capabilities of the second module, receive fourth configuration information from the third device through the communication unit.

[0177] In the ninth aspect, an embodiment of the present application provides a communication device, comprising a processor: configured to enable the device to execute any of the above aspects and any possible implementation methods of any aspect by executing a computer program (or computer executable instructions) stored in a memory, and / or through a logic circuit.

[0178] In a possible implementation, the device further includes a memory.

[0179] In one possible implementation, the processor and the memory are integrated together.

[0180] In another possible implementation, the memory is located outside the communication device.

[0181] The communication device also includes a communication interface, which is used for the communication device to communicate with other devices, such as sending or receiving data and / or signals. Exemplarily, the communication interface can be a transceiver, circuit, bus, module or other type of communication interface.

[0182] In the tenth aspect, an embodiment of the present application provides a communication system, comprising: the communication device in the fifth aspect, and the communication device in the sixth aspect.

[0183] In the eleventh aspect, an embodiment of the present application provides a communication system, comprising: the communication device in the seventh aspect, and the communication device in the eighth aspect.

[0184] In a twelfth aspect, an embodiment of the present application further provides a computer program, which, when executed on a computer, enables the computer to execute the method provided in any of the above aspects.

[0185] In the thirteenth aspect, an embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a computer, the computer executes the method provided in any one of the above aspects.

[0186] In the fourteenth aspect, an embodiment of the present application further provides a chip, which is used to read a computer program stored in a memory and execute the method provided in any of the above aspects.

[0187] In a fifteenth aspect, an embodiment of the present application further provides a chip system, which includes a processor for supporting a computer device to implement the method provided in any of the above aspects. In one possible design, the chip system also includes a memory for storing the necessary programs and data for the computer device. The chip system can be composed of a chip or can include a chip and other discrete devices.

[0188] In the sixteenth aspect, an embodiment of the present application further provides a computer program product comprising computer executable instructions, which, when run, enables some or all of the steps of the method described in any of the above aspects to be executed.

[0189] The technical effects that can be achieved in any of the above-mentioned aspects 5 to 16 can refer to the description of the technical effects that can be achieved in any possible design in any of the above-mentioned aspects 1 to 4, and the repetitions will not be discussed. BRIEF DESCRIPTION OF THE DRAWINGS

[0190] FIG1 is an architecture diagram of a communication system provided in an embodiment of the present application;

[0191] FIG2 is a structural diagram of a transmission unit provided in an embodiment of the present application;

[0192] FIG3 is a schematic diagram of a state transition provided in an embodiment of the present application;

[0193] FIG4 is a schematic diagram of configuration information of a transmission unit provided in an embodiment of the present application;

[0194] FIG5 is a schematic diagram of a gear profile of a first module and a gear profile of a second module provided in an embodiment of the present application;

[0195] FIG6A is a network architecture diagram of another communication system provided in an embodiment of the present application;

[0196] FIG6B is a network architecture diagram of another communication system provided in an embodiment of the present application;

[0197] FIG7 is a flow chart of a first communication method provided in an embodiment of the present application;

[0198] FIG8A is a schematic diagram of first indication information provided in an embodiment of the present application;

[0199] FIG8B is a schematic diagram of another first indication information provided in an embodiment of the present application;

[0200] FIG9 is a schematic diagram of an application scenario provided by an embodiment of the present application;

[0201] FIG10 is a schematic diagram of another application scenario provided by an embodiment of the present application;

[0202] FIG11 is a flow chart of a second communication method provided in an embodiment of the present application;

[0203] FIG12 is a flowchart of a method for obtaining first indication information provided in an embodiment of the present application;

[0204] FIG13 is a flow chart of a third communication method provided in an embodiment of the present application;

[0205] FIG14 is a flowchart of a fourth communication method provided in an embodiment of the present application;

[0206] FIG15 is a flowchart of a fifth communication method provided in an embodiment of the present application;

[0207] FIG16 is a flowchart of a sixth communication method provided in an embodiment of the present application;

[0208] FIG17 is a flow chart of a seventh communication method provided in an embodiment of the present application;

[0209] FIG18 is a flowchart of an eighth communication method provided in an embodiment of the present application;

[0210] FIG19 is a flowchart of a ninth communication method provided in an embodiment of the present application;

[0211] FIG20 is a structural diagram of a communication device provided in an embodiment of the present application;

[0212] Figure 21 is a structural diagram of another communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0213] The present application provides a communication method and apparatus. The method and apparatus are based on the same technical concept. Since the method and apparatus solve similar problems, the implementation of the apparatus and method can refer to each other, and the repetitive parts will not be repeated.

[0214] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0215] Figure 1 is an architecture diagram of a communication system provided by an embodiment of the present application. As shown in Figure 1, the communication system includes: a terminal device, an access network (AN) device, and a core network (CN) device. The terminal device can access the data network through the AN device and the CN device.

[0216] In this application, a terminal device, which may also be referred to as user equipment (UE), mobile station (MS), or mobile terminal (MT), is a device with wireless transceiver capabilities that can be used to provide voice or data connectivity to users. A terminal device may also be an Internet of Things device.

[0217] For example, terminal devices include handheld devices with wireless connection functions, in-vehicle devices, etc. Currently, the terminal devices may be mobile phones, tablet computers, laptop computers, PDAs, mobile internet devices (MIDs), wearable devices (such as smart watches, smart bracelets, pedometers, etc.), in-vehicle devices (such as cars, bicycles, electric vehicles, airplanes, ships, trains, high-speed trains, etc.), satellite terminals, virtual reality (VR) devices, augmented reality (AR) devices, smart point of sale (POS) machines, customer-premises equipment (CPE), wireless terminals in industrial control, smart home devices (such as refrigerators, televisions, air conditioners, electric meters, etc.), intelligent robots, robotic arms, workshop equipment, wireless terminals in unmanned driving, wireless terminals in telemedicine, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, and flying devices (such as intelligent robots, hot air balloons, drones, and airplanes). The terminal device may also be other devices with terminal functions. For example, the terminal device may also be a device that serves as a terminal in D2D communication.

[0218] The embodiments of this application do not limit the device form factor of the terminal. The device used to implement the functions of the terminal device can be the terminal device; it can also be a device that supports the terminal device to implement the functions, such as a chip system. The device can be installed in the terminal device or used in conjunction with the terminal device. In the embodiments of this application, the chip system can be composed of chips or include chips and other discrete devices.

[0219] In this application, AN device is a device that provides wireless communication functions for terminal devices. As a node in the radio access network, the AN device can also be called a base station, a radio access network (RAN) node (or device), or an access point (AP). The AN device is used to help terminal devices achieve wireless access. The communication system may include multiple AN devices, and the multiple AN devices can be nodes of the same type or different types. In some scenarios, the roles of the AN device and the terminal device are relative. For example, network element #A can be a helicopter or a drone, which can be configured as a mobile base station and access the RAN through network element #B. For those terminal devices that access the RAN through network element #A, network element #A is a base station; but for network element #B, network element #A is a terminal device. AN devices and terminal devices are sometimes referred to as communication devices.

[0220] In one possible scenario, an AN device can be a base station, an evolved NodeB (eNodeB), a transmitting and receiving point (TRP), a transmitting point (TP), a next-generation NodeB (gNB), a next-generation base station in a sixth-generation (6G) mobile communication system, a base station in a future mobile communication system, a satellite, an access point (AP) in a wireless fidelity (WiFi) system, an integrated access and backhaul (IAB) node, or an AN device in a mobile switching center non-terrestrial network (NTN) communication system, i.e., it can be deployed on a high-altitude platform or satellite. AN devices can be macro base stations, micro base stations, or 110b for indoor stations, relay nodes or donor nodes, or wireless controllers in cloud RAN (CRAN) scenarios. AN devices can also function as base stations in device-to-device (D2D) communications, vehicle-to-vehicle (V2V) communications, drone communications, and machine communications. Optionally, the AN device may also be a server, a wearable device, a vehicle or an onboard device, etc. For example, the access network device in the vehicle to everything (V2X) technology may be a road side unit (RSU).

[0221] In another possible scenario, multiple AN devices collaborate to assist terminal devices in achieving wireless access, and different AN devices respectively implement part of the functions of the base station. For example, the AN device can be a centralized unit (CU), a distributed unit (DU), a CU-control plane (CP), a CU-user plane (UP), or a radio unit (RU). The CU and DU can be set separately, or they can also be included in the same network element, such as a baseband unit (BBU). The RU can be included in a radio frequency device or a radio frequency unit, such as a remote radio unit (RRU), an active antenna unit (AAU), or a remote radio head (RRH). It can be understood that the AN device can be a CU node, a DU node, or a device including a CU node and a DU node. In addition, the CU can be divided into an AN device in the access network RAN, or the CU can be divided into an AN device in the core network CN, which is not limited here.

[0222] In different systems, CU (or CU-CP and CU-UP), DU or RU may also have different names, but those skilled in the art can understand their meanings. For example, in the ORAN system, CU may also be called O-CU (Open CU), DU may also be called O-DU, CU-CP may also be called O-CU-CP, CU-UP may also be called O-CU-UP, and RU may also be called O-RU. For the convenience of description, this application uses CU, CU-CP, CU-UP, DU and RU as examples for description. Any unit of CU (or CU-CP, CU-UP), DU and RU in this application can be implemented by a software module, a hardware module, or a combination of a software module and a hardware module.

[0223] In the embodiments of the present application, the form of the AN device is not limited. The device used to implement the functions of the AN device can be the AN device; it can also be a device that can support the AN device to implement the functions, such as a chip system. The device can be installed in the AN device or used in conjunction with the AN device.

[0224] AN devices and terminal devices can be fixed or mobile. They can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; on water; or in the air on aircraft, balloons, and satellites. The embodiments of this application do not limit the application scenarios of AN devices and terminal devices.

[0225] In this application, a CN device is a network element included in the CN part of a mobile communication system. For example, a CN device is a network function (NF) network element included in the CN part. The CN device can connect terminal devices to different data networks and perform services such as billing, mobility management, session management, and user plane forwarding. Currently, some examples of NF network elements include: unified data management (UDM) network element, unified data repository (UDR) network element, network exposure function (NEF) network element, application function (AF) network element, policy control function (PCF) network element, access and mobility management function (AMF) network element, session management function (SMF) network element, user plane function (UPF) network element, network repository function (NRF) network element, etc.

[0226] It should be understood that in mobile communication systems of different standards, the names of NF network elements with the same function may be different, and the embodiments of the present application do not limit the specific names of NF network elements with each function.

[0227] In this application, the above-mentioned terminal equipment, AN equipment and CN equipment can all be used as communication devices to provide communication functions.

[0228] In order to manage the security functions of each communication device in the communication system, the communication system further includes a trusted engine and a trusted enabling unit (also referred to as a security capability node or security function, hereinafter referred to as a gear).

[0229] In this application, the engine can be used to manage the security functions of each communication device in the communication system. For example, the engine can generate a network policy based on artificial intelligence or preset rules, and initiate a management process to the gear based on the generated network policy. The gear then configures and saves the gear's configuration information (gear profile), so that the gear can provide security capabilities to the communication device corresponding to (or corresponding to) the gear based on the gear's configuration information.

[0230] The engine can be a NF; alternatively, an AN device can function as an engine if it meets the conditions required to manage security functions. These conditions include, for example, at least one of the following: the computing power of the AN device meets a set computing power requirement, or the number of nodes connected to the AN device exceeds a set threshold.

[0231] The engine may also have other functions, such as configuring and / or scheduling security capabilities, determining trust policies at the production network level, etc.

[0232] In this application, the gear may correspond to one or more communication devices in the communication system and provide security capabilities for the corresponding one or more communication devices as a security function. For example, the security capabilities provided by the gear may include at least one of the following: authentication, encryption, decryption, authorization, etc. currently available in the 5G mobile communication system, the 6th generation (the th Systems that evolve after 5G, such as 5G generation (6G) mobile communication systems, may support blockchain, trust measurement, situational awareness, and privacy protection functions.

[0233] Gear can be deployed on the terminal device side, the AN device side, or the CN device side. In this application, gear can be an actual physical function or a virtual logical function. Gear and its corresponding communication device can be located in different devices, that is, gear can be deployed separately or as a logical function and its corresponding communication device.

[0234] Exemplarily, when a gear corresponds to a terminal device, the gear can be deployed outside the corresponding terminal device or on the corresponding terminal device. For example, if gear 4 corresponds to a UE, gear 4 can be deployed on the UE as a logical function, or can be independently deployed outside the UE as a physical function (as shown in FIG1 ), or can be deployed as a logical function on a device outside the UE.

[0235] When a gear corresponds to an AN device, the gear can be deployed outside the corresponding AN device or on the corresponding AN device. For example, if gear3 is bound to an AN device, gear3 can be deployed on the AN device as a logical function, or independently deployed outside the AN device as a physical function (as shown in Figure 1), or deployed as a logical function on a device outside the AN device. Optionally, when the AN device includes a CU and a DU, the gear can be deployed only on the CU or on both the CU and the DU.

[0236] When a gear corresponds to a CN device, the gear can be deployed on the corresponding CN device or outside the corresponding CN device. For example, if gear1 corresponds to NF1, gear1 can be deployed as a logical function on NF1 or independently deployed on the bus in the core network NF mode (as shown in Figure 1).

[0237] It should be understood that the above deployment forms are only exemplary. Regardless of whether the gear is deployed on the terminal device side, the AN device side, or the CN device side, it can form the basis for multi-party negotiation and trusted communication with a unified external interface.

[0238] Figure 2 illustrates a possible gear structure. As shown in Figure 2, the gear may include at least one security capability module (hereinafter referred to as an enabler module, e.g., E1 to E6 in Figure 2). Each enabler module may include an algorithm for providing security capabilities (also referred to as a security algorithm), and different enabler modules may include different algorithms.

[0239] Gear provides security capabilities for its corresponding communication device. When a communication device requires security protection, it calls Gear, which then executes the algorithm in the enabler module requested by the communication device, thereby providing the corresponding security capabilities. For example, when a communication device requires encryption, it calls Gear to execute the encryption algorithm in the enabler module named "Encryption."

[0240] In order for the gear to better provide security capabilities for its corresponding communication device, the gear must meet the security requirements of its corresponding communication device; the communication device can obtain the security capabilities provided by the gear, that is, the enabler module in the gear and the algorithms supported by the enabler module.

[0241] It is understood that the above-mentioned network element or function can be a network component in a hardware device or a logical function. As a possible implementation method, the above-mentioned network element or function can be implemented by a single device, can be implemented by multiple devices, or can be a functional module within a single device. This embodiment of the present application does not specifically limit this.

[0242] It should be noted that the communication system shown in FIG1 does not constitute a limitation on the communication systems to which the embodiments of the present application can be applied. Therefore, the communication method provided in the embodiments of the present application can also be applied to communication systems of various standards, such as: long term evolution (LTE) communication systems, 5G communication systems, 6G communication systems and future communication systems, vehicle to everything (V2X), long term evolution-vehicle network (LTE-vehicle, LTE-V), vehicle to vehicle (V2V), vehicle network, machine type communication (MTC), Internet of things (IoT), long term evolution-machine to machine (LTE-machine to machine, LTE-M), machine to machine (M2M), Internet of Things, etc. In addition, it should be noted that the embodiments of the present application do not limit the names of the network elements in the communication system. For example, in communication systems of different standards, each network element may have other names; for another example, when multiple network elements are integrated into the same physical device, the physical device may also have other names. To facilitate understanding of this application, some of the terms used in this application are explained below.

[0243] 1) Gear status and the status of the enabler module in the gear:

[0244] The status of a gear may include: a configured state and a terminated state. Optionally, the status of a gear may also include: a ready state, a locked state, and a disabled state.

[0245] Among them, the prepared state is the state after the gear is started normally. When the gear is in the prepared state, the gear is available and waiting to be configured (or managed). The configured state is the activated state after the gear is configured. When the gear is in the configured state, the gear can be called and updated. When the gear is in the locked state, the gear can be called but cannot be updated. When the gear is in the closed state, the gear cannot be called but can be updated. The gear can be restored from the closed state to the configured state. The terminated state can also be called the off-line state, which is the end state of the gear's life cycle. When the gear is configured to the terminated state, the gear can delete all usage data. Since the gear that enters the terminated state is deleted after the current operation is completed, the terminated state will not be written to the gear profile for a long time.

[0246] The states of the enabler module in the gear may include: configuration state and termination state. Optionally, the states of the enabler module may also include lock state and shutdown state.

[0247] Among them, the configuration state is the activation state of the enabler module after it is configured. When the enabler module is in the configuration state, the enabler module can be called and updated. When the enabler module is in the locked state, the enabler module can be called but cannot be updated. When the enabler module is in the shutdown state, the enabler module cannot be called but can be updated. The enabler module can be restored from the shutdown state to the configuration state. The termination state can also be called the de-networking state, which is the end state of the enabler module's life cycle. When the enabler module is configured to the termination state, the enabler module can delete all usage data. Since the enabler module that enters the termination state is deleted after the current operation is completed, the termination state will not be written to the gear profile for a long time.

[0248] In some examples, the state of an enabler module in a gear can be determined based on the gear's state. For example, when a gear transitions from the ready state to the configured state, some enabler modules in the gear are activated and enter the configured state, while other enabler modules in the gear enter the disabled state. In other examples, the state of an enabler module in a gear can be configured individually. For example, the engine configures some enabler modules in the gear to enter the disabled state.

[0249] The status of the gear and the enabler module are not static; both the gear and the enabler module can undergo state transitions. In this application, managing the gear can include state transitions of the gear and / or the enabler module within the gear. Figure 3 illustrates possible state transitions. The following description of the state transitions of the gear and the enabler module within the gear will refer to Figure 3.

[0250] Gear state transitions: Gear can transition from the ready state to the configured state, closed state, or terminated state. Gear can transition from the configured state to the locked state, closed state, or terminated state. Gear can transition from the locked state to the configured state, closed state, or terminated state. Gear can transition from the closed state to the configured state or terminated state.

[0251] State transition of the enabler module in the gear: The enabler module can transition from the configured state to the locked state, the closed state, or the terminated state. The enabler module can transition from the locked state to the configured state, the closed state, or the terminated state. The enabler module can transition from the closed state to the configured state or the terminated state.

[0252] Each gear can have an external interface, and the enabler module inside the gear also has an external interface. Therefore, both the gear and the enabler module can be affected by hot plugging and / or closing the interface to affect their call and update, thereby transferring the state of the gear and / or the state of the enabler module.

[0253] Optionally, the algorithm in the enabler module can also have corresponding states, and the algorithm in the enabler module can also perform state transitions. The specific details of the algorithm state can be found in the enabler module state, and the specific details of the algorithm state transition can be found in the enabler module state transition. These details are not repeated here.

[0254] In some possible approaches, instead of setting the status of the gear and the enabler module, two flags can be set: one flag indicating whether it can be called, and the other flag indicating whether it can be updated. In this way, the two flags can cover the status of the gear and the enabler module.

[0255] 2) Gear profile and gear security capabilities:

[0256] In this application, a gear profile can be used to manage gear. For example, as shown in FIG4 , a gear profile can include one or more of the following:

[0257] (1) Gear attribute information: may include one or more of the gear's identity (ID) (i.e., gear ID), the gear's Internet Protocol (IP) address, and the gear's state (i.e., gear state).

[0258] (2) Information about the communication device corresponding to the gear: This may include the ID (i.e., node ID) and / or type of the communication device corresponding to the gear, such as UE, AN device, or CN device.

[0259] (3) Information about the enabler module in the gear: This may include one or more of the name and / or ID of the enabler module (i.e., enabler names), the state of the enabler module (i.e., enabler state), the name and / or ID of the algorithm in the enabler module (i.e., enabler algorithms ID), and trusted root information (TRoot information).

[0260] (4) Parameters used for regular gear updates, version iterations, etc.: for example, the lifetime vector, etc.

[0261] Both the engine and the gear can generate, identify, and save gear profiles; the communication device corresponding to the gear can transparently transmit the gear profile, but cannot identify the gear profile. The engine can save the gear profiles of all the gears it manages, and each gear can save its own gear profile. The gear profile is a property of the gear. To reduce security risks, the gear cannot send its own gear profile to other gears. After performing operations such as creation, update, and deletion on the gear, if the gear profile changes, the gear must register the new profile with the engine. Since the gear profile includes the gear's ID, the registration request information used to register the profile can additionally carry the gear's ID.

[0262] Security capabilities of the gear: The gear can generate information indicating the security capabilities provided by the gear, and the device corresponding to the gear can identify and save the information indicating the security capabilities provided by the gear. The communication device corresponding to the gear must also determine whether the security capabilities provided by the gear meet its own security requirements. Optionally, the information indicating the security capabilities provided by the gear may include at least one of the following: the status of the gear, the name of the enabler module in the gear, and the status of the enabler module in the gear. The information indicating the security capabilities provided by the gear may not include the privacy information of the gear. When the security capabilities of the gear change, the gear may send information indicating the new security capabilities and the ID of the gear to the communication device corresponding to the gear.

[0263] 3) Gear configuration method:

[0264] In this application, the configuration method of gear may include one of the following methods:

[0265] Method 1: Remote Download: The gear, the device where the gear resides, or the communication device corresponding to the gear downloads at least one of the following from a first server: the gear, the enabler module in the gear, and the code image of the algorithm in the enabler. The first server can be a server provided by the operator, or a server that includes all gears supported by the network or system where the gear resides (this server can be called a full gear). Optionally, before performing the remote download, the gear, the device where the gear resides, or the communication device corresponding to the gear can first obtain the download address, i.e., the address of the first server, and obtain download permission.

[0266] Method 2: Local configuration: The communication device may correspond to a gear. The gear includes all enabler modules supported by the network or system where the gear is located; or the gear is a default template gear, for example, the gear includes a default enabler module. In some examples, in the gear, the enabler modules corresponding to security capabilities not required by the communication device are in a disabled state, making these enabler modules unable to be called. In other examples, some enabler modules and algorithms are running in the gear, that is, these some enabler modules and algorithms are activated, and other enabler modules can be activated when needed. In this way, the communication device can call the activated enabler modules and algorithms.

[0267] 4) In this application, the type of configuration operation may include, but is not limited to, one of the following: create, update, lock, unlock, and delete. Optionally, each configuration operation type may correspond to at least one gear state transition. For example, Table 1 shows a possible correspondence between configuration operation types and gear state transitions.

[0268] Table 1

[0269] In this application, an entity can be a terminal device, an AN device, a CN device, an engine, or a gear. An entity can be a network element in a hardware device or a logical function, such as a software function running on dedicated hardware or a virtualized function instantiated on a platform (e.g., a cloud platform).

[0270] In this application, information transmission between entities can be direct transmission or forwarded through other entities. For example, when entity 1 sends information 1 to entity 2, entity 1 can send information 1 directly to entity 2 or forward information 1 to entity 2 through other entities.

[0271] In this application, information can also be replaced by messages or signaling, etc.

[0272] In the present application, the "security capabilities possessed by the communication device" may be replaced by verbs with the same or similar meanings, such as "have", "support", etc.

[0273] In this application, unless otherwise specified, the number of nouns means "singular noun or plural noun", that is, "one or more". "At least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of singular or plural items.

[0274] In addition, it should be understood that, in the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing the description, and should not be understood as indicating or implying relative importance, nor should they be understood as indicating or implying order.

[0275] Currently, in mobile communication networks, each security function corresponding to a communication device needs to be configured separately. For example, the inventors proposed in a related patent that the configuration of the security function can be triggered by the engine or the communication device.

[0276] The inventors discovered that a network may contain a large number of communication devices of the same type. For example, multiple AMFs may be deployed in the core network, and multiple base stations may be deployed within a single area of ​​the access network. Communication devices of the same type support similar services and have similar security requirements. Therefore, the security capabilities provided by the security functions deployed for them are likely to be the same. If the configuration of each security function is triggered separately by the engine or the communication device, a large number of repeated security function configuration processes will be generated, resulting in high signaling overhead and low security function configuration efficiency.

[0277] The following describes a method for solving the above technical problems in conjunction with the accompanying drawings. In the following method, the first module corresponds to the first device and can provide security capabilities for the first device. The second module corresponds to the second device and can provide security capabilities for the second device. The first module and the second module can be network elements in hardware devices or logical functions. The third device can be used to manage the first module and the second module. The first entity is the second device or the second module. Exemplarily, the first module is the first gear (also called child gear (CGear)), the first device is the child node (CNode), the second module is the second gear (also called parent gear (PGear)), the second device is the parent node (PNode), the third device is the engine, and the first entity is the PGear or PNode.

[0278] In the method described below, the first module may be configured according to the second module. To facilitate understanding of this application, the following first describes the types of configuring the first module according to the second module from different dimensions.

[0279] Dimension 1: Whether the state of the first module is the same as the state of the second module, that is, whether the first module inherits the state of the second module.

[0280] Optionally, dimension one may include the following types:

[0281] In Type 1, the state of the first module is the same as the state of the second module, meaning the first module inherits the state of the second module. This type of inheritance is also called complete inheritance. For example, in Type 1, if the state of the second module is configured, the state of the first module is also configured.

[0282] Type 2: The state of the first module and the state of the second module can be the same or different. That is, the first module does not inherit the state of the second module. In Type 2, the first module can inherit the security capabilities of the second module. In this case, the security capabilities of the first module can include some or all of the security capabilities of the second module. This type 2 is also called pure inheritance.

[0283] Dimension 2: Whether the security capabilities provided by the first module for the first device and the security capabilities provided by the second module for the second device are the same, that is, whether the first module inherits the security capabilities of the second module.

[0284] Optionally, dimension 2 may include the following types:

[0285] Type 1: The security capabilities provided by the first module for the first device are exactly the same as the security capabilities provided by the second module for the second device. That is, the configuration information of the first module includes all the security capability module information in the configuration information of the second module (for example, the content in the dashed box in Figure 5), or in other words, the first module inherits all the security capability module information in the configuration information of the second module. This type 1 can be called complete inheritance. For example, in type 1, if the security capabilities provided by the second module for the second device include: blockchain and encryption, then the security capabilities provided by the first module for the first device also include: blockchain and encryption.

[0286] Type 2: The security capabilities provided by the first module for the first device include the security capabilities provided by the second module for the second device, plus some additional security capabilities. In other words, the first module inherits all security capability module information from the second module's configuration information, plus some additional security capability module information. This type 2 can be called incremental inheritance. For example, in Type 2, if the security capabilities provided by the second module for the second device include blockchain and encryption, the security capabilities provided by the first module for the first device may also include blockchain, authentication, and encryption.

[0287] Type 3: The security capabilities provided by the first module for the first device are a subset of the security capabilities provided by the second module for the second device. In other words, the first module inherits some of the security capability module information from the second module's configuration information. This type 3 can be called incremental inheritance. For example, in Type 3, if the security capabilities provided by the second module for the second device include blockchain and encryption, the security capabilities provided by the first module for the first device may also include blockchain.

[0288] Dimension three: whether the configuration information of the second module changes synchronously with the configuration information of the first module, that is, whether the first module and the second module are synchronized.

[0289] Optionally, the third dimension may include the following types:

[0290] Type a1: The configuration information of the second module changes synchronously with the configuration information of the first module, that is, the first and second modules are synchronized. In this type a1, if the second module is updated, the first module is also updated. This type a1 can be called synchronous inheritance. For example, in type a1, if after the first module is established based on the second module, the second module's configuration information adds information named "Authentication Security Capability Module", the first module also adds information named "Authentication Security Capability Module".

[0291] Type a2: The configuration information of the second module changes asynchronously with the configuration information of the first module. In other words, the first and second modules are out of sync. In this type a2, if the second module is updated, the first module may not be updated accordingly. This type a1 can be called asynchronous inheritance.

[0292] It should be understood that the types in Dimensions 1, 2, and 3 can be used in combination unless there is a conflict. For example, the types of the first module configured according to the second module may include Type 2, Type 1, and Type a1. In other words, the first module does not inherit the state of the second module, the security capabilities of the first module are exactly the same as the security capabilities of the second module, and the configuration information of the second module changes synchronously with the configuration information of the first module.

[0293] To facilitate understanding of the present application, two network structures applicable to the present application are described below with reference to FIG. 6A and FIG. 6B .

[0294] Structure 1: The second device has a stronger function than the first device. For example, the second device can manage the first device. Thus, the first module corresponding to the first device can be configured based on the second module corresponding to the second device. For example, as shown in Figure 6A, the CU has the function of managing the DU. The DU can serve as the first device, the CU can serve as the second device, and the gear corresponding to the DU can be configured based on the gear corresponding to the CU.

[0295] Structure 2: The second device has the same functionality as the first device; in other words, they are equal nodes; and the second module corresponding to the second device has been successfully established. Thus, the first module corresponding to the first device can be configured based on the second module corresponding to the second device. As shown in Figure 6B, UE1 is the first node to establish a gear and can serve as the second device; UEs other than UE1 can serve as the first device, and the gears corresponding to UEs other than UE1 (e.g., UE2, UE3, and UE4) can be configured based on the gear corresponding to UE1.

[0296] To improve the efficiency of configuring security functions, embodiments of the present application provide a communication method that can be applied to the communication system shown in FIG1 , or to the network structure shown in FIG6A or FIG6B . The method is described in detail below with reference to the flowchart shown in FIG7 .

[0297] S701: A first device sends a first request message; in response, a first entity receives the first request message. The first entity may be a second device or a second module. The first request message may be used to request that the first module be configured according to the second module.

[0298] The first module is a module that provides a first security capability for the first device, and the second module is a module that provides a second security capability for the second device. In other words, the second module can currently provide the second security capability for the second device, and the first request information is used to request that the first module be configured to provide the first security capability for the first device based on the second module. The first security capability and the second security capability can be the same or different.

[0299] Optionally, when a first module is to be established for a first device and a second device related to the first device already has a corresponding second module, the first device may send a first request message.

[0300] In some possible ways, when the first device generates a security requirement for the first device, if the first device does not currently correspond to the first module, or the first device currently corresponds to the first module but the first module is not activated, the first device may determine to establish the first module. The security requirement may include: security capabilities that the first device should have, and / or security capabilities that the first device should not have. Exemplarily, the security requirement may be as shown in Table 2. The first device should not have the security capability corresponding to a requirement of 0, and should have the security capability corresponding to a requirement of 1. It should be understood that the numbers corresponding to the requirements in Table 2 are only examples. In actual applications, the requirements may also correspond to other information, for example, other numbers.

[0301] Table 2

[0302] Optionally, when the first device and the second device meet at least one of the following conditions, the first device and the second device are related:

[0303] 1. The first device and the second device are physically close to each other: For example, the distance between the first device and the second device is less than a first distance threshold. For another example, the first device and the second device are deployed in the core network of the same operator. For another example, the first device and the second device are located in the same cell.

[0304] 2. The first and second devices are of the same type and in the same service scenario: For example, the first and second devices are both CN devices, and the services of the first and second devices are the same or similar. For another example, the first and second devices are both IoT network terminals or vehicles in the Internet of Vehicles. For another example, the first and second devices are, respectively, a CU and a DU connected to the CU.

[0305] 3. The first device and the second device have the same security requirements. For example, both the first device and the second device should have blockchain security capabilities.

[0306] In some possible implementations, the first request information includes first indication information. This first indication information may be used to indicate to the third device that it permits configuration of the first module based on the second module. In this manner, the first entity may provide information for establishing the first module after confirming that the third device permits configuration of the first module based on the second module. This avoids configuring security features for unauthorized devices and improves system security.

[0307] Exemplarily, the first indication information may include, but is not limited to, at least one of the following:

[0308] 1. Signature information of the third device. Through this information, the first entity can determine whether the content in the first indication information is allowed by the third device.

[0309] 2. Authentication information indicating that the first module is allowed to be configured based on the second module; the authentication information can be indicated by the first field. For example, when the value of the first field is the first value (e.g., 0), it indicates that the first module is allowed to be configured based on the second module.

[0310] 3. Information indicating whether the second state and the third state are the same (hereinafter referred to as state information). The second state is the state of the first module, and the third state is the state of the second module. In other words, the state information can indicate whether the first module inherits the state of the second module. Optionally, the state information can be indicated by the second field. For example, when the value of the second field is the second value (for example, 0), it indicates that the second state and the third state are the same, that is, the type of the first module configured according to the second module includes the above type one. For another example, when the value of the second field is the third value (for example, 1), it indicates that the second state and the third state may be different, that is, the type of the first module configured according to the second module includes the above type two.

[0311] 4. Information indicating whether the configuration information of the second module and the configuration information of the first module change synchronously (hereinafter referred to as synchronization information): The synchronization information can be indicated by the third field. For example, when the value of the third field is the fourth value (for example, 0), it indicates that the configuration information of the second module and the configuration information of the first module change synchronously, that is, the type of the first module configured according to the second module includes the above type a1. For another example, when the value of the third field is the fifth value (for example, 1), it indicates that the configuration information of the second module and the configuration information of the first module do not change synchronously, that is, the type of the first module configured according to the second module includes the above type a2.

[0312] 5. Information indicating a first state, the first state including: an expected state of the security capability module in the first module. The expected state of the security capability module in the first module may be: the state of the security capability module in the first module after the first module is configured. For example, if the first security capability includes the security capability of security capability module #1, the expected state of security capability module #1 is a configured state.

[0313] 6. Indicative information of the security capability module that the first module is expected to possess: for example, the name and / or ID of the security capability module that the first module is expected to possess.

[0314] 7. Indicative information of the algorithm in the security capability module that the first module is expected to possess: for example, the name and / or ID of the algorithm in the security capability module that the first module is expected to possess.

[0315] 8. Information used to indicate whether the first module is configured according to the first method or the second method (hereinafter referred to as the inheritance foundation information). In the first method, the first module is configured according to the configuration information of the second module or the second security capability. The first method can also be called an inheritance method based on a gear profile. In the second method, the first module is configured according to a first download address, which is the download address of the security capability module in the second module. The second method can also be called an inheritance method based on a mirror code. Optionally, the inheritance foundation information can be indicated by the fourth field. For example, when the value of the fourth field is the sixth value (for example, 0), it indicates that the first module is configured according to the first method. For another example, when the value of the fourth field is the seventh value (for example, 1), it indicates that the first module is configured according to the second method.

[0316] FIG8A and FIG8B respectively illustrate a possible implementation manner of the first indication information.

[0317] As shown in Figure 8A, the first indication information may include: authentication information indicating that the first module is allowed to be configured based on the second module; state information indicating whether the second state and the third state are the same; synchronization information indicating whether the configuration information of the second module and the configuration information of the first module change synchronously; and signature information of the third device. After receiving the first indication information, the first entity may determine that the first device is trustworthy and provide the first device with information for establishing the first module.

[0318] As shown in FIG8B , the first indication information may include: signature information of the third device (e.g., the engine signature in FIG8B ); synchronization information (e.g., synchronize in FIG8B ), indicating whether the configuration information of the second module and the configuration information of the first module change synchronously; information indicating a first state (e.g., the enabler state in FIG8B ); indication information of the security capability module in the first module (e.g., the enabler name in FIG8B ); indication information of the algorithm in the security capability module in the first module (e.g., the enabler algorithm ID in FIG8B ); and inheritance basic information indicating whether the first module is configured according to the first method or the second method. Optionally, the first indication information shown in FIG8B may further include at least one of the following: the ID of the third device, the ID of the first module, the ID of the first device, the ID of the second module, the ID of the second device, the type of the first device, and the expiration time of the first indication information. In this way, the first configuration information may indicate that the first module inherits the specific content of the second module.

[0319] In this way, the third device can be flexibly instructed to allow the specific content of the first module to be configured according to the second module, thereby improving the efficiency of configuring the first module.

[0320] The following describes possible ways in which the first device obtains the first indication information.

[0321] A1: The third device sends first indication information to the first device; correspondingly, the first device receives the first indication information from the third device.

[0322] In some possible ways, the third device may send the first information to the first device after generating the first indication information. Among them, the third device may generate the first indication information for the first device after detecting that the first device has joined the network. Optionally, after detecting that the first device has joined the network, the third device selects a second device related to the first device and generates the first indication information based on the second device. For example, the first device is a DU, and the second device is a CU connected to the first device. After the third device detects that the DU has joined the network, if the CU has established the corresponding second module, the third device may generate the first indication information to indicate that the first module corresponding to the DU is allowed to be established based on the second module corresponding to the CU.

[0323] In some other possible ways, the third device may send the first indication information to the first device based on the request of the first device. Exemplarily, before step A1, the method further includes step A2:

[0324] A2: The first device sends a second request message to the third device; in response, the third device receives the second request message from the first device. The second request message is used to request the third device to allow the first module to be configured according to the second module.

[0325] Optionally, after joining the network, the first device may send a second request message to the third device. The second request message may be a registration request message or other message, which is not limited in this application.

[0326] After receiving the second request information, the third device may also verify the first device. When the verification of the first device is successful, the third device then performs step A1. The specific process of the third device verifying the first device is not limited in this application.

[0327] Exemplarily, the second request information may include, but is limited to, at least one of the following:

[0328] 1. Information used to indicate the first state: For specific content, please refer to the description of “information used to indicate the first state” in the first indication information.

[0329] 2. Information indicating whether the configuration information of the second module and the configuration information of the first module are changed synchronously: for specific content, please refer to the description of "synchronization information" in the first indication information.

[0330] 3. Information used to indicate the security capabilities that the first device expects to possess: Exemplarily, the information used to indicate the security capabilities that the first device expects to possess may include at least one of the following: the name of the security capability that the first device expects to possess, information indicating the security capability module corresponding to the security capability that the first device expects to possess (e.g., name and / or ID), information indicating the algorithm in the security capability module corresponding to the security capability that the first device expects to possess (e.g., name and / or ID), the status of the security capability module corresponding to the security capability that the first device expects to possess, and the status of the algorithm in the security capability module corresponding to the security capability that the first device expects to possess. For example, when the security capability that the first device expects to possess is blockchain, in the information used to indicate the security capability that the first device expects to possess, the name of the security capability that the first device expects to possess is blockchain, and / or the name of the security capability module corresponding to the security capability that the first device expects to possess is blockchain; the information indicating the algorithm in the security capability module corresponding to the security capability that the first device expects to possess is the ID of algorithm #1 in blockchain, and the status of the security capability module named blockchain is configuration.

[0331] 4. Information used to indicate security capabilities that the first device is expected not to possess: For specific content, please refer to the description of "Information used to indicate security capabilities that the first device is expected to possess", except that "possess" is replaced by "not possessed", and no further details are given here.

[0332] 5. Information indicating whether to configure the first module according to the first method or the second method: for specific content, please refer to the description of "inheriting basic information" in the first indication information.

[0333] Optionally, after receiving the second request information, the third device may determine the first indication information based on the second request information. Exemplarily, the third device may select a second device related to the first device, and generate the first indication information based on the second device and the second request information. For example, the first device is a DU, and the second device is a CU connected to the first device. After the third device detects that the DU has joined the network, if the CU has established the corresponding second module, the third device may generate a first indication information to indicate that the first module corresponding to the DU is allowed to be established based on the second module corresponding to the CU. If the second indication information indicates that the configuration information of the second module and the configuration information of the first module change synchronously, the first indication information may include synchronization information, which is used to indicate that the configuration information of the second module and the configuration information of the first module change synchronously; if the second indication information indicates that the first module is configured according to the first method, the first indication information may include inheritance basic information, which is used to indicate that the first module is configured according to the first method; if the second indication information indicates that the security capabilities that the first device expects to have include blockchain, the name of the security capability module in the first indication information may include blockchain.

[0334] Through this method, the third device can determine the content of the first indication information according to the second request information and the needs of the first device, thereby enriching the specific content of the third device allowing the first module to be configured according to the second module and enhancing the controllability of configuring the first module according to the second module.

[0335] S702: The first entity sends first information; accordingly, the first device receives the first information, wherein the first information can be used to configure the first module and the first information is related to the second module.

[0336] The following describes how the first information can be used to configure the first module in combination with implementation methods 1 and 2.

[0337] Implementation method 1: The first information includes information for indicating a second security capability provided by the second module for the second device, the second security capability is used to determine a first security capability provided by the first module for the first device, and the first security capability is used to configure the first module.

[0338] Among them, the specific content of the information used to indicate the second security capability can refer to the description of "information used to indicate the security capability that the first device expects to have", except that the security capability that the first device expects to have is replaced by the second security capability, which will not be repeated here.

[0339] In some possible implementations, after receiving the first information, the first device may determine the first security capabilities based on the second security capabilities. For example, the second security capabilities include blockchain and encryption; and if the type of the first module is Type 1 as described above, based on the second module configuration, the security capabilities provided by the first module to the first device and the security capabilities provided by the second module to the second device are identical. The first device may determine that the first security capabilities include blockchain and encryption.

[0340] Optionally, the first device may determine the first security capability based on the security requirements and the second security capability of the first device.

[0341] For example, the second security capability includes blockchain and encryption, and the security requirement of the first device is that the first device should have security capabilities that include blockchain and encryption. The first device may determine that the first security capability includes blockchain and encryption. This example corresponds to Type 1 complete inheritance described above.

[0342] For another example, the second security capability includes blockchain and encryption, and the security requirement of the first device is that the first device should possess security capabilities including blockchain, encryption, and authentication. The first device may determine that the first security capability includes blockchain, encryption, and authentication. This example corresponds to the Type 2 incremental inheritance described above.

[0343] For another example, the second security capability includes blockchain and encryption, and the first device's security requirement is that the first device must possess security capabilities that include blockchain. The first device may determine that the first security capability is blockchain. This example corresponds to Type 3 decremental inheritance described above.

[0344] Optionally, in implementation manner 1, after the first device receives the first information, the method shown in FIG7 further includes:

[0345] S703: The first device sends second information to the first module or the device where the first module resides. In response, the first module or the device where the first module resides receives the second information from the first device. The second information may be used to indicate the first security capabilities. The specific content of the second information can be referred to as the information indicating the second security capabilities, with the first security capabilities being substituted for the second security capabilities. This description is omitted here.

[0346] In some examples, the first device corresponds to the first module, but the first module has not yet been activated. In this case, the first device may send a second message to the first module. If the first module includes a security capability module for providing the first security capability, the first module may configure the first module through local configuration after receiving the second message; if the first module does not include a security capability module for providing the first security capability, the first module may configure the first module through remote download after receiving the second message. The specific content of local configuration and remote downloading can be referred to the term explanation section and will not be repeated here.

[0347] In other examples, the first device does not correspond to the first module. In this case, the first device can send the second information to the device where the first module is located. After receiving the second information, the device where the first module is located can establish the first module through remote download.

[0348] S704: The first module or the device where the first module is located sends first feedback information to the first device; accordingly, the first device receives the first feedback information from the first module or the device where the first module is located, wherein the first feedback information is used to indicate whether the first module is successfully configured.

[0349] It should be understood that the first feedback information may be response information to the second information, or may be notification information used to notify whether the first module is successfully configured.

[0350] Through this first implementation method, the first device can quickly configure the first module that provides the first security capability for the first device based on the second security capability provided by the second module to the second device, thereby improving the speed and efficiency of configuring the first module.

[0351] Implementation method 2: The first information includes information for indicating a first download address. The first download address is the download address of the security capability module in the second module, and the first download address is used to configure the first module.

[0352] For example, the information indicating the first download address may include at least one of the following: the IP address of the first download address, and the ID of the device corresponding to the first download address. In this way, a device receiving the information indicating the first download address can conveniently download the code package (or code image) of the security capability module in the second module from the first download address, thereby improving the speed and efficiency of configuring the first module.

[0353] Optionally, when the first information includes information for indicating the first download address, after receiving the first information, the first device may configure the first module in one of the following ways.

[0354] Method 1: The first device is configured with the first module.

[0355] This method may include:

[0356] S705: The first device obtains the security capability module in the first module according to the first download address and the security capability module information of the first module, wherein the security capability module in the first module includes part or all of the security capability modules in the second module.

[0357] Exemplarily, the security capability module information includes at least one of the following: indication information (e.g., name and / or ID) and / or status of the security capability module that the first module should include; indication information (e.g., name and / or ID) of the algorithm in the security capability module that the first module should include.

[0358] Optionally, the first device may determine the security capability module information of the first module based on the security requirements of the first device. For example, if the security requirements of the first device include: the first device should have a security capability named "blockchain", the first device may determine: the security capability module to be included in the first module is named "blockchain", the security capability module named "blockchain" in the first module is in a configured state, and the ID of the algorithm in the security capability module to be included in the first module is the ID of algorithm #A in the security capability module named "blockchain".

[0359] The following example illustrates a method in which the first device obtains the security capability module in the first module.

[0360] For example, the first download address is the address of the first server. In the security capability module information of the first module, the name of the security capability module to be included in the first module is blockchain, and the ID of the algorithm in the security capability module to be included in the first module is algorithm #A ID#A in the security capability module named blockchain. The first device downloads the code of the security capability module named blockchain and algorithm #A ID#A from the first server.

[0361] S706: The first device configures the first module according to the security capability module in the first module.

[0362] For example, after downloading the code of the security capability module named blockchain and algorithm #A with ID ID#A, the first device can set the state of the security capability module named blockchain to the configuration state, thereby realizing the configuration of the first module.

[0363] Through the first method, the first device can conveniently download the code package of the security capability module in the second module from the first download address, and configure the first module accordingly, thereby improving the speed and efficiency of configuring the first module.

[0364] Method 2: The first module or the device where the first module is located is configured with the first module.

[0365] The second method may include:

[0366] S707: The first device sends third information to the first module or the device where the first module is located. In response, the first module or the device where the first module is located receives the third information from the first device. The third information includes information indicating the first download address and security capability module information of the first module. The first download address and security capability module information are used to configure the first module.

[0367] The security capability module information may be determined by the first device according to the security requirements of the first device. The specific content and determination method of the security capability module information may refer to method 1 and will not be described in detail here.

[0368] In some examples, the first device is associated with the first module, but the first module has not yet been activated. In this case, the first device may send the third information to the first module. In other examples, the first device is not associated with the first module. In this case, the first device may send the third information to the device where the first module is located.

[0369] Optionally, after receiving the third information, the first module or the device where the first module resides may obtain the security capability module in the first module based on the first download address and the security capability module information of the first module, and configure the first module based on the security capability module in the first module. For details, refer to S705 to S706, except that the first device is replaced with the first module or the device where the first module resides, and will not be further described here.

[0370] In some possible approaches, after S707 , the method shown in FIG7 may further include:

[0371] S708: The first module or the device where the first module is located sends first feedback information to the first device; accordingly, the first device receives the first feedback information from the first module or the device where the first module is located. The first feedback information is used to indicate whether the first module is successfully configured.

[0372] Optionally, the first feedback information includes: the ID of the first module and information indicating the first security capability. The specific content of the information indicating the first security capability can be found in the description of "information indicating the security capabilities desired by the first device," except that the security capabilities desired by the first device are replaced with the first security capability. This description is omitted here. Through this method, the first device can obtain and save the first security capability, thereby enabling the first module to support the first security capability.

[0373] Through this second method, the first module or the device where the first module is located can conveniently download the code package of the security capability module in the second module from the first download address, and configure the first module accordingly, thereby improving the speed and efficiency of configuring the first module.

[0374] Through this second implementation, the first device, the first module, or the device where the first module resides can configure the first module based on the download address of the security capability module in the second module, thereby improving the speed and efficiency of configuring the first module. Furthermore, in this second implementation, the first entity sends the download address of the security capability module of the second module, rather than the code of the security capability module of the second module. This prevents a third party from determining security functions through this code, thereby improving system security.

[0375] Optionally, before sending the first information, the first entity may determine whether to allow the first module to be configured according to the second module. When it is determined that the first module is allowed to be configured according to the second module, the first entity sends the first information.

[0376] In some possible approaches, the first entity may determine that configuration of the first module according to the second module is allowed when at least one of the following conditions is met:

[0377] Condition 1: A second module has been established for the second device, that is, the second device has corresponded to the second module, and the second module has been activated. Among them, the first device and the second device are related. The specific content related to the first device and the second device can be referred to S701, which will not be repeated here. For example, if the first entity is the second device, and the second device contains a valid security capability of the second module, the second device can determine that the second module has been established for the second device; if the second device does not save a valid security capability of the second module, the second device can determine that the second module has not been established for the second device. For another example, if the first entity is the second module, if the second module has been activated, the second module can determine that the second module has been established for the second device; if the second module is not activated, the second module can determine that the second module has not been established for the second device.

[0378] Condition 2: Allowing modules other than the second module to be configured based on the second module: Optionally, the first entity may determine whether to allow modules other than the second module to be configured based on the second module based on whether the second module is equipped with privacy protection. For example, if the second module is not equipped with privacy protection, the first entity determines that modules other than the second module can be configured based on the second module; if the second module is equipped with privacy protection, the first entity determines that modules other than the second module cannot be configured based on the second module.

[0379] Condition 3: Allowing the first module to be configured based on modules other than the first module: Optionally, the first entity may determine whether to allow the first module to be configured based on modules other than the first module based on the security level and / or importance of the first module, and / or a whitelist or blacklist set by the operator. For example, if the security level of the first module is higher than or equal to the first security level threshold, the first entity determines that the first module is allowed to be configured based on modules other than the first module; if the security level of the first module is lower than the first security level threshold, the first entity determines that the first module is not allowed to be configured based on modules other than the first module. For another example, if the importance level of the first module is higher than or equal to the importance threshold, the first entity determines that the first module is allowed to be configured based on modules other than the first module; if the importance level of the first module is lower than the importance threshold, the first entity determines that the first module is not allowed to be configured based on modules other than the first module. For another example, if the first module is on the whitelist set by the operator, the first entity determines that the first module is allowed to be configured based on modules other than the first module; if the first module is not on the whitelist set by the operator, the first entity determines that the first module is not allowed to be configured based on modules other than the first module. For another example, if the first module belongs to the blacklist set by the operator, the first entity determines that the first module is not allowed to be configured according to modules other than the first module; if the first module does not belong to the blacklist set by the operator, the first entity determines that the first module is allowed to be configured according to modules other than the first module.

[0380] Condition 4: The security capabilities provided by the second module include the security capabilities that the first device expects to have: for example, the security capabilities provided by the second module include blockchain, and the security capabilities that the first device expects to have are blockchain.

[0381] Condition 5: The first entity has received the first indication information. The specific content of the first indication information can be found in S701 and will not be described in detail here.

[0382] Through the method shown in Figure 7, after establishing the second module corresponding to the second device, the first device, the first module, or the device where the first module resides can configure the first module corresponding to the first device based on the second module, thereby improving the efficiency and speed of configuring the first module. Compared to methods that trigger the configuration of each security function separately through an engine or communication device, the method shown in Figure 7 can reduce signaling overhead, reduce the workload of the engine involved in repeatedly configuring security functions, reduce network response latency, conserve network resources, and improve network management efficiency.

[0383] In some possible embodiments, the method shown in FIG7 may further include step B1:

[0384] B1: The first entity sends information indicating third security capabilities to the first module. In response, the first module receives information indicating the third security capabilities from the first entity. The third security capabilities include the security capabilities updated by the second module. The specific content of the information indicating the third security capabilities can be found in the description of "Information Indicating Desired Security Capabilities of the First Device." The desired security capabilities of the first device are replaced with the third security capabilities, and are not further detailed here.

[0385] In some possible implementations, the configuration information of the second module changes synchronously with the configuration information of the first module. For example, the synchronization information in the first indication information indicates that the configuration information of the second module changes synchronously with the configuration information of the first module. In this case, if the security capabilities provided by the second module for the second device change, the first entity may send information indicating the third security capability to the first module.

[0386] In other possible approaches, the first entity receives information from the first module or the first device requesting to subscribe to the security capabilities of the second module. In this case, if the security capabilities provided by the second module to the second device change, the first entity may send information indicating the third security capabilities to the first module.

[0387] In some examples, the third security capability may be an updated security capability of the second module. For example, before the update, the second module provided the second device with security capabilities including encryption. After the update, the second module provided the second device with security capabilities including encryption and blockchain. The third security capability includes blockchain.

[0388] In other examples, the third security capability may include all security capabilities provided to the second device by the second module after the update. For example, before the update, the second module provided the second device with security capabilities including encryption. After the update, the second module provided the second device with security capabilities including encryption and blockchain. The third security capability includes encryption and blockchain.

[0389] Optionally, after receiving the information indicating the third security capability, the first module may update the first module according to the third security capability. The update method may be local configuration of the term explanation part or remote download, and the remote download address is, for example, the first download address mentioned above.

[0390] In some possible embodiments, after step B1, the method shown in FIG7 may further include step B2:

[0391] B2: The first module sends third feedback information to the first entity; accordingly, the first entity receives the third feedback information from the first module, wherein the third feedback information is used to indicate whether the first module updates the configuration information of the first module according to the third security capability.

[0392] In this way, when the security capabilities of the second module change, the first entity can send information indicating a third security capability to the first module, where the third security capability includes the updated security capability of the second module. In this way, the first module can update the first module based on the third security capability, thereby improving the speed and efficiency of updating the first module. Compared to the method of triggering the configuration of each security function separately through the engine or communication device, this method can reduce signaling overhead, reduce the workload of the engine in repeatedly configuring security functions, reduce network response delays, save network resources, and improve the efficiency of network management.

[0393] Figure 9 is a schematic diagram of an example of a mobile communication system provided by the present application applying the communication method shown in Figure 7. The following describes the application of the method shown in Figure 7 in the application scenario shown in Figure 9 in conjunction with Figure 9.

[0394] As shown in Figure 9, PNode is the second device and CNode is the first device. PNode and CNode are related nodes. First, a gear (i.e., PGear) corresponding to the PNode can be established. Then, upon request from the CNode, the engine, PNode, or PGear can provide information for establishing a gear (CGear) corresponding to the CNode based on the PGear, thereby enabling the establishment of the CGear based on the PGear, thereby improving the speed and efficiency of establishing the CGear.

[0395] It should be understood that the concepts of PGear and CGear are relative; the concepts of PNode and CNode are relative. The same gear is a PGear for some gears and a CGear for other gears; accordingly, the same communication device is a PNode for some devices and a CNode for other devices. For example, as shown in Figure 10, gear1 is configured according to gear0, gear0 is the PGear of gear1, and gear1 is the CGear of gear0; accordingly, the node (Node) 0 corresponding to gear0 is the PNode of Node1 corresponding to gear1, and Node1 is the CNode of Node0. gear2 is configured according to gear1, gear1 is the PGear of gear2, and gear2 is the CGear of gear1; accordingly, the Node1 corresponding to gear1 is the PNode of Node2 corresponding to gear2, and Node2 is the CNode of Node1.

[0396] To improve the efficiency of configuring security functions, embodiments of the present application provide another communication method, which can be applied to the communication system shown in Figure 1, or to the network structure shown in Figure 6A or Figure 6B. The following flowchart of this method is shown in Figure 11 for a detailed description of the process.

[0397] S1101: The third device sends fourth information; in response, the first module receives the fourth information, wherein the fourth information is used to determine first configuration information, the first configuration information is configuration information used by the first module to provide a first security capability for the first device, and the fourth information is related to the second module.

[0398] In some possible implementations, the third device may send the fourth information after receiving the fourth request information from the first device. The fourth request information may be used to request that the first module be configured based on the second module. In this way, the third device can send the fourth information to the first module as requested by the first device, thereby avoiding the need for the third device to send the fourth information when it is not needed, thereby reducing signaling overhead.

[0399] Exemplarily, the fourth request information may include, but is not limited to, at least one of the following:

[0400] 1. Information indicating a first state, the first state including: an expected state of a security capability module in the first module;

[0401] 2. Information indicating whether the configuration information of the second module and the configuration information of the first module are changed synchronously;

[0402] 3. Information indicating the security capabilities that the first device is expected to possess;

[0403] 4. Information indicating security capabilities that the first device is expected not to have;

[0404] 5. Information indicating whether the first module is configured according to the first method or the second method; in the first method, the first module is configured according to the configuration information of the second module or the second security capability; in the second method, the first module is configured according to the first download address, which is the download address of the security capability module in the second module.

[0405] The specific content of each information in the fourth request information can refer to the description of the second request information, which will not be repeated here.

[0406] Optionally, after receiving the fourth request information, the third device may determine whether to allow configuration of the first module based on the second module. If it is determined that configuration of the first module based on the second module is allowed, the third device sends the fourth information. This avoids the need for the third device to send the fourth information when configuration of the first module based on the second module is not allowed, thereby reducing signaling overhead and improving system security.

[0407] Exemplarily, when at least one of the following conditions is met, the third device determines that the first module is allowed to be configured according to the second module:

[0408] Condition 1: The second module has been established for the second device, that is, the second device has corresponded to the second module, and the second module has been activated. Among them, the first device and the second device are related. The specific content related to the first device and the second device can be referred to S701, which will not be repeated here. The third device can determine whether the second module has been established for the second device based on the valid configuration information of the second module saved locally. For example, if the third device does not save the configuration information of the second module locally, or the configuration information of the second module saved locally by the third device has expired, the third device can determine that the second module has not been established for the second device; if the third device does not save the valid configuration information of the second module locally, and in the configuration information of the second module, the status of the second module is the configuration status, the third device can determine that the second module has been established for the second device.

[0409] Condition 2: It is allowed to configure modules other than the second module based on the second module.

[0410] Condition 3: It is allowed to configure the first module based on modules other than the first module.

[0411] Condition 4: The security capabilities provided by the second module include the security capabilities that the first device is expected to have.

[0412] The specific contents of conditions 2 to 4 can be found in conditions 2 to 4 of the method shown in FIG7 , except that the operating subject is replaced by a third device instead of the first entity. These details are omitted here. Regarding condition 2, the third device may also determine, based on the configuration information of the second module, whether to allow modules other than the second module to be configured based on the second module. The configuration information of the second module includes information indicating whether to allow modules other than the second module to be configured based on the second module.

[0413] The method provides a plurality of conditions for the third device to determine whether to allow the first module to be configured according to the second module, so that the third device can flexibly and accurately determine whether to allow the first module to be configured according to the second module.

[0414] In other possible implementations, the third device may send the fourth information after determining that the first device has joined the network in which the third device resides. For example, if the third device receives a registration request from the first device, or if the third device detects that the first device has joined the network, the third device may send the fourth information.

[0415] In some other possible embodiments, after receiving the command for configuring the first module, the third device may send the fourth information. For example, after receiving the command for configuring the first module from operation administration and maintenance (OAM) or NF, the third device may send the fourth information.

[0416] The following describes how the fourth information is used to determine the first configuration information in conjunction with implementation manner 1 and implementation manner 2.

[0417] Implementation 1: The fourth information includes first configuration information, wherein the first configuration information is determined based on second configuration information, and the second configuration information is configuration information used by the second module to provide the second security capability for the second device.

[0418] Optionally, before sending the fourth information, the third device may determine the first configuration information based on the second configuration information. The second configuration information may be stored locally after the third device configures the second module.

[0419] In some examples, the third device may determine the security capability module information in the first configuration information based on the security capability module information in the second configuration information. For example, the security capability module information in the first configuration information may be exactly the same as the security capability module information in the second configuration information. This example may correspond to Type 1 complete inheritance described above.

[0420] Optionally, the third device may also determine the security capability module information in the first configuration information based on the security capability module information in the second configuration information and the fourth request information.

[0421] For example, the security capability module information in the second configuration information includes the name, status, and algorithm ID of the security capability module named blockchain, and the fourth request information indicates that the security capabilities that the first device should possess include blockchain and encryption. Then the security capability module information in the first configuration information includes: the name, status, and algorithm ID of the security capability module named blockchain, and the name, status, and algorithm ID of the security capability module named encryption.

[0422] For example, the security capability module information in the second configuration information includes: the name, status and algorithm ID of the security capability module named blockchain, and the name, status and algorithm ID of the security capability module named encryption. The fourth request information indicates that the security capabilities that the first device should have include blockchain, then the security capability module information in the first configuration information includes: the name, status and algorithm ID of the security capability module named blockchain.

[0423] Optionally, the third device may further determine that the first configuration information further includes at least one of the following:

[0424] 1. Attribute information of the first module: for example, the ID, IP address and status of the first module.

[0425] 2. Information of the communication device corresponding to the first module, that is, information of the first device: for example, the ID and type of the first device.

[0426] 3. Parameters used for periodic updates and version iterations of the first module, such as life cycle vectors.

[0427] In some possible embodiments, after receiving the fourth information including the first configuration information, the first module may configure the first module according to the first configuration information. For example, when the first module includes the security capability module in the first configuration information, the first module may configure the first module through local configuration. For another example, when the first module does not include the security capability module in the first configuration information, the first module may configure the first module through remote download.

[0428] Through this implementation method 1, the third device can determine the configuration information of the first module based on the configuration information of the second module, thereby improving the speed and efficiency of configuring the first module.

[0429] Implementation Method 2: The fourth information includes information indicating a first download address and security capability module information of the first module. The first download address is the download address of the security capability module in the second module. The first download address and the security capability module information are used to determine the first configuration information. Thus, the first module can configure the first module based on the first download address and the security capability module information of the first module. The configuration method is similar to that described in S705, except that the first device is replaced by the first module.

[0430] The specific contents of the information for indicating the first download address and the security capability module information of the first module may be referred to in the second implementation mode, which will not be described in detail here.

[0431] Optionally, before sending the fourth information indicating the first download address, the third device may receive information indicating the first download address from the second module, thereby conveniently acquiring the first download address.

[0432] In some possible implementations, after configuring the second module, the second module may proactively upload the security capability module in the second module and send information indicating the first download address to the third device. The upload address of the security capability module in the second module is the first download address. For example, the second module uploads the security capability module in the second module to a first server, and the address of the first server is the first download address.

[0433] In yet other possible implementations, after the third device sends a third request message to the second module, it may receive information from the second module indicating the first download address. The third request message is used to request the second module to upload the security capability module in the second module. Upon receiving the third request message, the second module may upload the security capability module in the second module.

[0434] Through this implementation method 2, the first module can configure the first module based on the download address of the security capability module in the second module, thereby improving the speed and efficiency of configuring the first module. Furthermore, in this implementation method 2, the third device sends the download address of the security capability module of the second module, rather than the code of the security capability module of the second module. This prevents third parties from determining security functions through this code, thereby improving system security.

[0435] S1102: The first module sends second feedback information; accordingly, the third device receives the second feedback information, wherein the second feedback information is used to indicate whether the first module has successfully configured the first configuration information.

[0436] Optionally, when the fourth information includes information indicating the first download address and security capability module information of the first module, the second feedback information also includes: the ID of the first module and the first configuration information. In this way, the third device can obtain and save the first configuration information, thereby effectively managing the first module.

[0437] It should be understood that the second feedback information may be response information of the fourth information, or may be notification information indicating whether the first module has successfully configured the first configuration information.

[0438] Through the method shown in Figure 11, after establishing the second module corresponding to the second device, the third device or the first module can configure the first module corresponding to the first device based on the second module, thereby improving the efficiency and speed of configuring the first module. Compared to methods that trigger the configuration of each security function separately through an engine or communication device, the method shown in Figure 11 can reduce signaling overhead, reduce the workload of the engine involved in repeatedly configuring security functions, improve engine efficiency, reduce network response latency, conserve network resources, and improve network management efficiency.

[0439] Optionally, after configuring the first module, if the security capability of the second module changes, the first module may receive information indicating the change in the security capability of the second module, thereby enabling the first module and the second module to be updated synchronously.

[0440] Several possible ways for the first module to receive information indicating a change in the security capability of the second module are described below.

[0441] In some possible embodiments, the method shown in FIG11 may further include steps C1 to C2:

[0442] C1: The second module sends third configuration information to the third device. In response, the third device receives the third configuration information from the second module. The third configuration information is used by the second module to provide the second device with third security capabilities. The details of the third security capabilities are described in step B1 and are not further detailed here.

[0443] Optionally, when the security capability provided by the second module for the second device changes, the second module may send updated configuration information, ie, third configuration information, to the third device.

[0444] In some examples, after receiving the third configuration information, the third device may determine fourth configuration information based on the third configuration information, where the fourth configuration information is configuration information used by the first module to provide the first device with a fourth security capability. The manner in which the third device determines the fourth configuration information based on the third configuration information can refer to the manner in which the third device determines the first configuration information based on the second configuration information in Implementation 1, and is not further described here.

[0445] C2: The third device sends fourth configuration information to the first module; correspondingly, the first module receives the fourth configuration information from the third device.

[0446] In some possible implementations, the configuration information of the second module changes synchronously with the configuration information of the first module. In this case, if the security capability provided by the second module to the second device changes, the third device sends fourth configuration information to the first module.

[0447] In other possible embodiments, the third device receives information from the first module or the first device requesting to subscribe to the security capabilities of the second module. In this case, if the security capabilities provided by the second module to the second device change, the third device sends the fourth configuration information to the first module.

[0448] Optionally, after receiving the fourth configuration information, the first module may configure the first module according to the fourth configuration information. The configuration method may refer to the method of configuring the first module according to the first configuration information in implementation method 1, which will not be repeated here.

[0449] In some possible embodiments, after step C1, the method shown in FIG11 may further include step C2:

[0450] C2: The first module sends fourth feedback information to the third device; correspondingly, the third device receives the fourth feedback information from the first module, wherein the fourth feedback information is used to indicate whether the first module successfully configures the fourth configuration information.

[0451] In this way, when the security capabilities of the second module change, the third device can promptly notify the first module to synchronize updates with the second module, thereby improving the speed and efficiency of updating the first module. Compared to methods that trigger the configuration of each security function separately through the engine or communication device, this method can reduce signaling overhead, reduce the workload of the engine involved in repeatedly configuring security functions, reduce network response latency, conserve network resources, and improve network management efficiency.

[0452] In some other possible embodiments, the method shown in FIG11 may further include step D1:

[0453] D1: The first entity sends information indicating a third security capability to the first module; in response, the first module receives the information indicating the third security capability from the first entity, wherein the third security capability includes the security capability updated by the second module.

[0454] Optionally, after step D1, the method shown in FIG11 may further include step D2:

[0455] D2: The first module sends third feedback information to the first entity; accordingly, the first entity receives the third feedback information from the first module, wherein the third feedback information is used to indicate whether the first module updates the configuration information of the first module according to the third security capability.

[0456] The specific contents of steps D1 to D2 can be referred to steps B1 to B2 and will not be repeated here.

[0457] To improve the efficiency of configuring security features, embodiments of the present application provide another communication method. This method is based on the inheritance method of gear profiles (i.e., the first method) and is a possible implementation of the method shown in Figure 7. The following uses the example of a first module being CGear, a first device being CNode, a second module being PGear, a second device being PNode, and a third device being an engine, and describes the method flow in detail in conjunction with Figures 12 and 13.

[0458] The following first describes the method for CNode to obtain the first indication information with reference to FIG12 .

[0459] S1201: CNode sends a registration request message to the engine.

[0460] Optionally, after joining the network, CNode can send a registration request message to the engine.

[0461] In some possible ways, the registration request information may include: second request information, the specific content of which can be found in step A2 and will not be described in detail here. In this case, the first indication information subsequently obtained by CNode may be as shown in FIG8B , the specific content of which can be found in the description of FIG8B above and will not be described in detail here.

[0462] In some other possible ways, the registration request information may not include the second request information. In this case, the first indication information subsequently obtained by CNode may be as shown in FIG8A . For details, please refer to the above description of FIG8A , which will not be repeated here.

[0463] S1202: The engine sends an authentication request to the CNode, where the authentication request may include a challenge value.

[0464] S1203: CNode sends an authentication response to the engine. The authentication response may be generated based on the challenge value.

[0465] S1204: The engine verifies CNode based on the authentication response. If the verification passes, execute S1205.

[0466] S1205: The engine determines whether it is allowed to create CGear based on PGear. If the engine determines that it is allowed to create CGear based on PGear, S1206 is executed.

[0467] For the specific content of S1205, please refer to the description of "the third device determines whether to allow the first module to be configured according to the second module" in S1101, which will not be repeated here.

[0468] S1206: The engine sends a registration response message to CNode.

[0469] The registration response information includes the first indication information. The specific content of the first indication information can be referred to S701 and will not be described again here.

[0470] Optionally, the registration response information also includes information indicating all security capabilities supported by the network where the engine is located.

[0471] Through the method shown in FIG12 , CNode can obtain the first indication information in a timely manner.

[0472] The following describes a method for establishing a CGear based on the inheritance of a gear profile in conjunction with FIG13 .

[0473] In the first embodiment, the method shown in FIG13 includes S1301 to S1303:

[0474] S1301: CNode sends request information a1 to PNode.

[0475] The request information a1 may be used to request configuration of CGear according to PGear. The request information a1 may include first indication information. The specific content of the request information a1 may refer to the first request information in S701 and will not be repeated here.

[0476] S1302: PNode determines whether to allow the creation of CGear based on PGear. If it is allowed to allow the creation of CGear based on PGear, execute S1303.

[0477] The specific content of S1302 may refer to the description of “the first entity may determine whether to allow the first module to be configured according to the second module” in the method shown in FIG7 , and the repeated parts will not be repeated.

[0478] Exemplarily, the PNode first verifies the signature information of the engine in the first indication information. If the verification passes, the PNode verifies whether it is allowed to configure modules other than PGear according to PGear. If it is allowed to configure modules other than PGear according to PGear, the PNode verifies whether it supports the inheritance of the resources requested in the first configuration information. For example, the PNode verifies whether the security capabilities provided by the second module include the security capabilities corresponding to the enabler module requested in the first configuration information. If the PNode verifies that the inheritance of the resources requested in the first configuration information is supported, the PNode determines that it is allowed to establish CGear according to PGear.

[0479] S1303: The PNode sends a response message a1 to the CNode. The response message a1 is used to indicate the security capability provided by PGear for the PNode (corresponding to the second security capability of the method shown in FIG7 ).

[0480] For the specific content of S1303, please refer to the implementation method 1 in S702, and the repeated parts will be omitted.

[0481] Exemplarily, the response information a1 includes at least one of the following: the status of PGear, the name and / or status of the enabler module in PGear, and the ID and / or status of the algorithm in the enabler module in PGear.

[0482] In the second embodiment, the method shown in FIG13 includes S1304 to S1306:

[0483] S1304: CNode sends request information a2 to PGear.

[0484] The request information a2 may be used to request configuration of CGear according to PGear. The request information a2 includes first indication information. The specific content of the request information a2 may refer to the first request information in S701 and will not be described in detail here.

[0485] S1305: PGear determines whether to allow the creation of CGear based on PGear. If it is allowed to allow the creation of CGear based on PGear, then execute S1306.

[0486] S1306: PGear sends a response message a2 to CNode. The response message a2 is used to indicate the security capability provided by PGear for PNode (corresponding to the second security capability of the method shown in FIG7 ).

[0487] The specific contents of S1305 to S1306 can refer to S1302 to S1303, except that the execution subject is replaced from PNode to PGear, which will not be repeated here.

[0488] After S1303 or S1306, the method shown in FIG13 further includes:

[0489] S1307: The CNode determines the first security capability provided by CGear for the CNode based on the second security capability (corresponding to the first security capability of the method shown in FIG. 7 ).

[0490] The specific content of S1307 can refer to the description of "the first device can determine the first security capability based on the second security capability" in the first implementation method, and will not be repeated here.

[0491] S1308: CNode sends second information to CGear, where the second information can be used to indicate the first security capability.

[0492] The specific content of S1308 can be found in S703 and will not be repeated here.

[0493] S1309: CGear configures CGear according to the first security capability and generates current configuration information of CGear (hereinafter referred to as CGear profile).

[0494] The specific content of S1309 can be found in S703 and will not be repeated here.

[0495] S1310: CGear sends notification information 1 to the engine.

[0496] The notification information 1 may include a CGear profile, which is used to register the CGear profile.

[0497] S1311: The engine verifies the CGear profile. If the verification passes, the engine can save the CGear profile.

[0498] For example, the engine can determine whether the CGear profile satisfies the network security policy. If the CGear profile satisfies the network security policy, the engine determines that the CGear profile verification is passed. If the CGear profile does not satisfy the network security policy, the engine determines that the CGear profile verification is failed.

[0499] The security policy may include: security capabilities that at least one device should possess, and / or security capabilities that at least one device should not possess. The at least one device includes a CNode. For example, the security policy is shown in Table 3. If the CNode is an NF, the security capabilities that the CNode should possess include blockchain, and the security capabilities that it should not possess include homomorphic encryption. If the CNode is a terminal device, the security capabilities that the CNode should possess may include trust measurement, and the security capabilities that it should not possess include homomorphic encryption. If the CNode is an AN device, the security capabilities that the CNode should not possess include homomorphic encryption.

[0500] Table 3

[0501] S1312: The engine sends verification result information 1 to CGear, wherein the verification result information 1 is used to indicate whether the CGear profile has passed the verification.

[0502] S1311 and S1312 are optional steps.

[0503] S1313: CGear sends first feedback information to CNode, where the first feedback information is used to indicate whether the first module is successfully configured.

[0504] Optionally, the first feedback information may include the ID of CGear.

[0505] Through the methods shown in Figures 12 and 13, CNode can obtain the second security capability provided by PGear for PNode from PNode or PGear, and generate the first security capability provided by CGear for CNode based on the second security capability, thereby configuring CGear based on the first security capability. Compared to the method of triggering the configuration of each security function separately through the engine or communication device, the methods shown in Figures 12 and 13 can reduce signaling overhead, reduce the workload of the engine participating in repeated configuration of security functions, reduce network response latency, save network resources, and improve network management efficiency.

[0506] To improve the efficiency of configuring security functions, an embodiment of the present application provides another communication method. This method is based on the inheritance method of mirror code (i.e., the second method), which is another possible implementation of the method shown in Figure 7. The following uses the first module as CGear, the first device as CNode, the second module as PGear, the second device as PNode, and the third device as engine as an example, and describes the process of this method in detail in conjunction with Figure 14.

[0507] S1401: CNode sends request information b1 to PGear.

[0508] The request information b1 may be used to request configuration of CGear based on PGear. The request information b1 includes first indication information. The specific content of the request information b1 may refer to the first request information in S701, and the specific content of the first indication information may also refer to S701, which will not be repeated here.

[0509] Optionally, before S1401 , CNode may obtain the first indication information through the method shown in FIG12 .

[0510] S1402: PGear determines whether to allow the creation of CGear based on PGear. If it is allowed to allow the creation of CGear based on PGear, then execute S1403.

[0511] The specific content of S1402 can refer to S1302, except that the operation subject is replaced from PNode to PGear, which will not be repeated here.

[0512] S1403: PGear uploads the enabler module in PGear to the first server.

[0513] Exemplarily, PGear may package the code image of the enabler module in PGear and upload it to the first server.

[0514] Optionally, the first server may be at least one of the following: a cloud server, a blockchain server, and a server for storing code.

[0515] S1404: PGear sends a response message b1 to CNode, where the response message b1 includes information indicating the first download address.

[0516] The specific contents of the first download address and the information for indicating the first download address may refer to the method shown in FIG7 , and will not be described in detail here.

[0517] Exemplarily, the first download address is the IP address of the first server.

[0518] S1405: CNode sends third information to CGear, wherein the third information includes information indicating the first download address and security capability module information of CGear.

[0519] For the specific content of S1405, please refer to S707, and the repeated parts will be omitted.

[0520] Exemplarily, the security capability module information of CGear may include: the name and / or status of the enabler module required by CNode, and the name and / or status of the enabler module not required by CNode.

[0521] S1406: CGear configures CGear according to the first download address and the security capability module information of CGear, and generates the current configuration information of CGear (hereinafter referred to as CGear profile).

[0522] The specific content of S1406 can be referred to S707, and the repeated parts will not be repeated.

[0523] Exemplarily, CGear may download the code image of the enabler module required by CNode from the first download address and configure it based on the status of the enabler module in CGear's security capability module information. For example, in CGear's security capability module information, the name of the enabler module required by CNode is "blockchain," and the status of the enabler module named "blockchain" is "configured." After downloading the code image of the enabler module named "blockchain" from the first download address, CGear sets the status of the enabler module named "blockchain" to "configured."

[0524] S1407: CGear sends notification information 2 to the engine.

[0525] The notification information 2 may include a CGear profile, which is used to register the CGear profile.

[0526] S1408: The engine verifies the CGear profile. If the verification passes, the engine can save the CGear profile.

[0527] The specific content of S1408 can be found in S1311 and will not be repeated here.

[0528] S1409: The engine sends verification result information 2 to CGear, wherein the verification result information 2 is used to indicate whether the CGear profile has passed the verification.

[0529] S1408 to S1409 are optional steps.

[0530] S1410: CGear sends first feedback information to CNode, where the first feedback information is used to indicate whether the first module is successfully configured.

[0531] Optionally, the first feedback information may include: CGear ID, and indication information of the first security capability.

[0532] The specific content of S1410 can be found in S708 and will not be repeated here.

[0533] Using the method shown in Figure 14, CNode configures CGear based on the download address of the security capability module in PGear, thereby improving the speed and efficiency of CGear configuration. Compared to methods that trigger the configuration of each security function separately through the engine or communication device, the method shown in Figure 14 reduces signaling overhead, reduces the workload of repeated security function configuration by the engine, reduces network response latency, conserves network resources, and improves network management efficiency.

[0534] To improve the efficiency of configuring security features, embodiments of the present application provide another communication method. This method is based on the inheritance method of gear profiles (i.e., the first method) and is a possible implementation of the method shown in Figure 11. The following uses the example of a first module being CGear, a first device being CNode, a second module being PGear, a second device being PNode, and a third device being an engine, and describes the process of this method in detail in conjunction with Figure 15.

[0535] In embodiment 1, the method shown in FIG15 includes S1501 to S1502:

[0536] S1501: CNode sends a fourth request message to the engine.

[0537] The specific content of the fourth request information can be found in S1101 and will not be repeated here.

[0538] S1502: The engine determines whether it is allowed to create a CGear based on a PGear. If the engine determines that it is allowed to create a CGear based on a PGear, S1504 is executed.

[0539] The specific content of S1502 can be found in S1205 and will not be repeated here.

[0540] In the second embodiment, the method shown in FIG15 includes S1503:

[0541] S1503: The engine determines that the CNode has joined the network where the engine is located, or the engine receives a command from the OAM or NF for configuring the CGear.

[0542] For the specific content of S1503, please refer to S1101, and the repeated parts will be omitted.

[0543] In some examples, the engine can determine that the CNode has joined the network in which the engine is located based on network topology information. For example, the engine can obtain network topology information, and if the network topology information indicates that the CNode has joined the network in which the engine is located, the engine can determine that the CNode has joined the network in which the engine is located.

[0544] In other examples, the engine can determine that the CNode has joined the engine's network based on the gear's situational awareness results. For example, the gear can use situational awareness to check the connection status of the communication device bound to the gear. If the connection status indicates that a new device has joined, the gear can notify the engine of the situational awareness results, which may include the ID of the new device, so that the engine can determine that the CNode has joined the engine's network.

[0545] In this embodiment 2, the types of CGear configured according to PGear may include: type a complete inheritance, type 1 complete inheritance, and type a2 asynchronous inheritance.

[0546] After S1502 or S1503, the method shown in FIG15 further includes:

[0547] S1504: The engine determines the first configuration information based on the second configuration information, wherein the second configuration information is the configuration information used by PGear to provide the second security capability for PNode, and the first configuration information is the configuration information used by CGear to provide the first security capability for CNode.

[0548] The specific content of S1504 can refer to the description of "the third device can determine the first configuration information based on the second configuration information" in implementation method 1, and will not be repeated here.

[0549] S1505: The engine sends fourth information including the first configuration information to CGear.

[0550] S1506: CGear configures CGear according to the first configuration information.

[0551] For the specific contents of S1505 to S1506, please refer to the implementation method 1 in S1101, and the repeated parts will not be repeated.

[0552] Exemplarily, CGear can be established by local configuration. The specific content of the local configuration can be referred to in the explanation part and will not be repeated here.

[0553] S1507: CGear sends notification information 3 to CNode, where notification information 3 is used to notify CNode of the first security capability.

[0554] Optionally, the notification information 3 includes the ID of the CGear and the indication information of the first security capability. The specific content of the indication information of the first security capability can be referred to S708 and will not be repeated here.

[0555] S1508: The CNode verifies whether the first security capability meets the requirements of the CNode. If the first security capability meets the requirements of the CNode, the CNode may save the first security capability.

[0556] For example, the first security capability includes blockchain. Among the CNode's security requirements, the security capability that the CNode should possess includes blockchain. In this case, the CNode can determine that the first security capability meets its requirements.

[0557] For example, the first security capability includes encryption, authentication, and blockchain. Among the security requirements of the CNode, the security capability that the CNode should possess includes situational awareness. In this case, the CNode may determine that the first security capability does not meet its requirements.

[0558] S1509: CNode sends verification result information 3 to CGear. The verification result information 3 is used to indicate whether the first security capability meets the requirements of CNode.

[0559] S1508 to S1509 are optional steps.

[0560] S1510: CGear sends second feedback information to the engine. The second feedback information is used to indicate whether CGear has successfully configured the first configuration information.

[0561] The specific content of S1510 can be found in S1102 and will not be repeated here.

[0562] Through the method shown in Figure 15, after establishing the PGear corresponding to the PNode, the engine can determine the configuration information of the CGear based on the configuration information of the PGear, thereby improving the speed and efficiency of configuring the CGear. Compared with the method of triggering the configuration of each security function separately through the engine or the communication device, the method shown in Figure 15 can reduce signaling overhead, reduce the workload of the engine in repeatedly configuring security functions, reduce network response delays, save network resources, and improve the efficiency of network management. In addition, in this method, the engine does not need to generate a security policy for determining the first configuration information, thereby reducing the amount of calculation of the engine and saving the engine's computing resources.

[0563] To improve the efficiency of configuring security functions, an embodiment of the present application provides another communication method. This method is based on the inheritance method of mirror code (i.e., the second method), which is another possible implementation of the method shown in Figure 11. The following uses the first module as CGear, the first device as CNode, the second module as PGear, the second device as PNode, and the third device as engine as an example, and describes the process of this method in detail in conjunction with Figure 16.

[0564] In implementation a1, the method shown in FIG16 includes S1601 to S1602:

[0565] S1601: CNode sends a fourth request message to the engine.

[0566] S1602: The engine determines whether it is allowed to create a CGear based on a PGear. If the engine determines that it is allowed to create a CGear based on a PGear, S1604 is executed.

[0567] In the second embodiment, the method shown in FIG16 includes S1603:

[0568] S1603: The engine determines that the CNode has joined the network where the engine is located, or the engine receives a command from the OAM or NF for configuring the CGear.

[0569] The specific contents of S1601 to S1603 can be referred to S1501 to S1503 and will not be repeated here.

[0570] S1604: The engine sends a third request message to PGear, where the third request message is used to request PGear to upload the enabler module in PGear.

[0571] The specific content of S1604 can be referred to the description of "the third device sends the third request information to the second module" in implementation method 2, and will not be repeated here.

[0572] S1605: PGear uploads the enabler module in PGear to the first server.

[0573] The specific content of S1605 can be found in S1403 and will not be repeated here.

[0574] S1606: PGear sends information indicating the first download address to the engine.

[0575] The specific content of the information for indicating the first download address may be referred to S1404 and will not be described in detail here.

[0576] S1607: The engine sends fourth information to CGear, where the fourth information includes: information indicating the first download address, and security capability module information of CGear.

[0577] S1608: CGear configures CGear according to the first download address and CGear's security capability module information.

[0578] For the specific contents of S1607 to S1608, please refer to Implementation Method 2 in S1101 and will not be repeated here.

[0579] S1609: CGear generates the current configuration information of CGear (hereinafter referred to as the first configuration information).

[0580] S1610: CGear sends notification information 3 to CNode, where notification information 3 is used to notify CNode of the first security capability provided by CGear for CNode.

[0581] Optionally, the notification information 3 includes the ID of CGear and indication information of the first security capability.

[0582] S1611: The CNode verifies whether the first security capability meets the requirements of the CNode. If the first security capability meets the requirements of the CNode, the CNode may save the first security capability.

[0583] S1612: CNode sends verification result information 3 to CGear. The verification result information 3 is used to indicate whether the first security capability meets the requirements of CNode.

[0584] S1611 to S1612 are optional steps.

[0585] The specific contents of S1610 to S1612 can be referred to S1507 to S1509 and will not be repeated here.

[0586] S1613: CGear sends second feedback information to the engine. The second feedback information is used to indicate whether CGear has successfully configured the first configuration information.

[0587] The specific content of S1613 can be found in S1102 and will not be repeated here.

[0588] Through the method shown in Figure 16, after establishing the PGear corresponding to the PNode, the CGear can configure the CGear corresponding to the CNode according to the download address of the security capability module in the PGear, thereby improving the speed and efficiency of configuring the CGear. Compared with the method of triggering the configuration of each security function separately through the engine or communication device, the method shown in Figure 16 can reduce signaling overhead, reduce the workload of the engine in repeatedly configuring security functions, reduce network response delays, save network resources, and improve the efficiency of network management. In addition, in this method, the engine does not need to generate a security policy for determining the first configuration information, thereby reducing the amount of calculation of the engine and saving the engine's computing resources.

[0589] To improve the efficiency of configuring security features, embodiments of the present application provide yet another communication method. This method synchronously updates a first module based on a second module and is a possible implementation of the method shown in Figures 7 or 11. The following describes the process of this method using an example in which the first module is CGear, the first device is CNode, the second module is PGear, the second device is PNode, and the third device is engine.

[0590] In this application, the method of synchronously updating CGear based on PGear can be triggered by PGear, PNode, or engine, which are described below.

[0591] Figure 17 shows a method for updating CGear synchronously based on PGear triggered by PGear. This method can be applied to the methods shown in any one of Figures 7 and 11 to 13.

[0592] S1701: PGear determines whether the synchronization information indicates that the configuration information of PGear and the configuration information of CGear change synchronously. If the synchronization information indicates that the configuration information of PGear and the configuration information of CGear change synchronously, execute S1702.

[0593] The synchronization information may be stored locally by PGear after receiving the synchronization information. For the specific content of the synchronization information, please refer to S701 and will not be described in detail here.

[0594] S1701 is an optional step.

[0595] S1702: PGear sends information indicating a third security capability to CGear, where the third security capability includes the security capability updated by PGear.

[0596] The specific content of S1702 can be referred to step B1, and the repeated parts will not be repeated.

[0597] In some possible embodiments, when the security capabilities of PGear change, if the synchronization information indicates that the configuration information of PGear and the configuration information of CGear change synchronously, PGear sends information indicating the third security capability to CGear. For example, when the security capabilities in the configuration information of PGear change due to an operation such as an update or deletion of PGear, and the synchronization information indicates that the configuration information of PGear and the configuration information of CGear change synchronously, PGear may send information indicating the third security capability to CGear.

[0598] In another possible approach (hereinafter referred to as approach b1), after PGear receives information from CGear or CNode requesting to subscribe to PGear's security capabilities, if PGear's security capabilities change, PGear sends information indicating a third security capability to CGear. In this approach, PGear does not need to determine the synchronization information, that is, the method may not include S1701.

[0599] S1703: CGear configures CGear according to the information indicating the third security capability, and generates current configuration information of CGear (hereinafter referred to as fourth configuration information).

[0600] The specific content of S1703 can be found in step B1 and will not be repeated here.

[0601] S1704: CGear sends notification information 4 to the engine. The notification information 4 may include fourth configuration information for registering the fourth configuration information.

[0602] S1705: The engine verifies the fourth configuration information. If the verification passes, the engine can save the fourth configuration information.

[0603] The specific content of S1705 can be referred to S1311, except that the CGear profile is replaced by the fourth configuration information, which will not be repeated here.

[0604] S1706: The engine sends verification result information 4 to CGear, wherein the verification result information 4 is used to indicate whether the fourth configuration information has passed the verification.

[0605] S1705 to S1706 are optional steps.

[0606] S1707: CGear sends notification information 5 to CNode, where notification information 5 may be used to indicate a fourth security capability. The fourth security capability is determined based on the third security capability.

[0607] In some possible implementations, the fourth security capability is all security capability information provided by CGear to CNode based on the fourth configuration information. For example, before the update, the security capabilities provided by CGear to CNode include encryption. After the update, the security capabilities provided by CGear to CNode include encryption and blockchain. The fourth security capability includes encryption and blockchain.

[0608] In other possible implementations, the fourth security capability is a security capability that CGear updates based on the third security capability. For example, before the update, the security capabilities CGear provides to CNode include encryption. After the update, the security capabilities CGear provides to CNode include encryption and blockchain. The fourth security capability includes blockchain.

[0609] S1708: CNode saves the fourth security capability.

[0610] Optionally, the CNode may also verify whether the fourth security capability meets the CNode's requirements. If the fourth security capability meets the CNode's requirements, the CNode may save the fourth security capability. The details of the CNode verifying whether the fourth security capability meets the CNode's requirements can be found in S1508 , with the first security capability replaced by the fourth security capability. This description is omitted here.

[0611] S1709: CNode sends verification result information 5 to CGear. The verification result information 5 is used to indicate whether the fourth security capability meets the requirements of CNode.

[0612] S1709 is an optional step.

[0613] S1710: CGear sends third feedback information to PGear, where the third feedback information is used to indicate whether to update the configuration information of CGear according to the third security capability.

[0614] S1710 is an optional step. For example, when S1702 adopts the method b1, the method shown in FIG17 may not include S1710.

[0615] Using the method shown in Figure 17, PGear can send information indicating a third security capability to CGear. The third security capability includes the security capability updated by PGear. In this way, CGear can quickly update CGear based on the third security capability, thereby improving the speed and efficiency of updating CGear. Compared to methods that trigger the configuration of each security function separately through an engine or communication device, the method shown in Figure 17 can reduce signaling overhead, reduce the workload of the engine involved in repeatedly configuring security functions, reduce network response latency, conserve network resources, and improve network management efficiency.

[0616] Figure 18 shows a method for updating CGear synchronously based on PGear triggered by PNode. This method is applicable to the methods shown in any one of Figures 7 and 11 to 16.

[0617] S1801: PNode determines whether the synchronization information indicates that the configuration information of PGear and the configuration information of CGear change synchronously. If the synchronization information indicates that the configuration information of PGear and the configuration information of CGear change synchronously, execute S1802.

[0618] The synchronization information may be stored locally by the PNode after receiving the synchronization information. For specific content of the synchronization information, reference may be made to S701 and will not be described in detail here.

[0619] S1801 is an optional step.

[0620] S1802: PNode sends information indicating a third security capability to CGear, where the third security capability includes the security capability updated by PGear.

[0621] The specific content of S1802 can refer to step S1702, except that the operation subject is replaced from PGear to PNode, which will not be repeated here.

[0622] S1803: CGear configures CGear according to the information indicating the third security capability, and generates current configuration information of CGear (hereinafter referred to as fourth configuration information).

[0623] S1804: CGear sends notification information 4 to the engine. The notification information 4 may include fourth configuration information for registering the fourth configuration information.

[0624] S1805: The engine verifies the fourth configuration information. If the verification passes, the engine can save the fourth configuration information.

[0625] S1806: The engine sends verification result information 4 to CGear, wherein the verification result information 4 is used to indicate whether the fourth configuration information has passed the verification.

[0626] S1805 to S1806 are optional steps.

[0627] S1807: CGear sends notification information 5 to CNode, where notification information 5 may be used to indicate a fourth security capability. The fourth security capability is determined based on the third security capability.

[0628] S1808: CNode saves the fourth security capability.

[0629] Optionally, the CNode may further verify whether the fourth security capability meets the CNode's requirements. If the fourth security capability meets the CNode's requirements, the CNode may save the fourth security capability. The details of the CNode verifying whether the fourth security capability meets the CNode's requirements can be found in S1708 and are not further described here.

[0630] S1809: CNode sends verification result information 5 to CGear. The verification result information 5 is used to indicate whether the fourth security capability meets the requirements of CNode.

[0631] S1809 is an optional step.

[0632] The specific contents of S1803 to S1809 can be referred to S1703 to S1709 and will not be repeated here.

[0633] S1810: CGear sends third feedback information to PNode, where the third feedback information is used to indicate whether to update the configuration information of CGear according to the third security capability.

[0634] S1810 is an optional step. For example, when S1802 adopts the method b1, the method shown in FIG18 may not include S1810.

[0635] Using the method shown in Figure 18, the PNode can send information indicating a third security capability to the CGear. The third security capability includes the updated security capability of the PGear. In this way, the CGear can quickly update the CGear based on the third security capability, thereby improving the speed and efficiency of updating the CGear. Compared to methods that trigger the configuration of each security function separately through the engine or communication device, the method shown in Figure 18 can reduce signaling overhead, reduce the workload of the engine involved in repeatedly configuring security functions, reduce network response latency, conserve network resources, and improve network management efficiency.

[0636] Figure 19 shows a method for updating CGear synchronously based on PGear triggered by the engine. This method can be applied to the methods shown in any one of Figures 11, 15 and 16.

[0637] S1901: PGear sends the third configuration information to the engine.

[0638] Optionally, when the security capability provided by PGear for the PNode changes, that is, the configuration information of PGear changes to the third configuration information, PGear sends the third configuration information to the engine, so that the third configuration information can be registered. The configuration information of PGear can be caused by operations such as updating or deleting PGear.

[0639] S1902: The engine determines whether the locally stored synchronization information indicates that the configuration information of PGear and the configuration information of CGear change synchronously. If the synchronization information indicates that the configuration information of PGear and the configuration information of CGear change synchronously, execute S1903.

[0640] S1903: The engine determines fourth configuration information based on the third configuration information, where the fourth configuration information is configuration information used by CGear to provide the fourth security capability for CNode.

[0641] S1904: The engine sends the fourth configuration information to CGear.

[0642] S1905: CGear configures CGear according to the fourth configuration information.

[0643] The specific contents of S1903 to S1905 can be referred to step C1 and will not be repeated here.

[0644] S1906: CGear sends notification information 5 to CNode, where notification information 5 can be used to indicate the fourth security capability.

[0645] The fourth security capability is determined according to the fourth configuration information. Specific content of the fourth security capability can be found in S1707 and will not be described in detail here.

[0646] S1907: CNode saves the fourth security capability.

[0647] Optionally, the CNode may further verify whether the fourth security capability meets the CNode's requirements. If the fourth security capability meets the CNode's requirements, the CNode may save the fourth security capability. The details of the CNode verifying whether the fourth security capability meets the CNode's requirements can be found in S1708 and are not further described here.

[0648] S1908: CNode sends verification result information 5 to CGear. The verification result information 5 is used to indicate whether the fourth security capability meets the requirements of CNode.

[0649] S1909: CGear sends fourth feedback information to the engine, where the fourth feedback information is used to indicate whether CGear has successfully configured the fourth configuration information.

[0650] S1908 to S1909 are optional.

[0651] Through the method shown in Figure 19, when the security capabilities of PGear change, the engine can promptly notify CGear to update synchronously with PGear, thereby improving the speed and efficiency of updating CGear. Compared with the method of triggering the configuration of each security function separately through the engine or communication device, the method shown in Figure 19 can reduce signaling overhead, reduce the workload of the engine in repeatedly configuring security functions, reduce network response delays, save network resources, and improve the efficiency of network management. In addition, in this method, the engine does not need to generate a security policy for determining the fourth configuration information, thereby reducing the engine's computational workload and saving the engine's computing resources.

[0652] Based on the same technical concept as the method embodiments of Figures 7 to 19, the embodiment of the present application provides a communication device through Figure 20, which can be used to perform the functions of the relevant steps in the above method embodiments. The functions can be implemented by hardware, or by software or hardware executing corresponding software implementations. The hardware or software includes one or more modules corresponding to the above functions. The structure of the communication device is shown in Figure 20, including a communication unit 2001 and a processing unit 2002. The communication device 2000 can be applied to a terminal device, AN device, CN device, engine or gear in the communication system shown in Figure 1, and can implement the communication method provided in the above embodiments of the present application and the examples. The functions of each unit in the communication device 2000 are introduced below.

[0653] The communication unit 2001 is used to receive and send data. In some embodiments, the communication unit 2001 can be implemented through a physical interface, a communication module, a communication interface, or an input / output interface. The communication device 2000 can be connected to a network cable or a power cable through the communication unit to establish a physical connection with other devices. In other embodiments, the communication unit 2001 can be implemented through a transceiver, for example, a mobile communication module. The mobile communication module may include at least one antenna, at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc.

[0654] The processing unit 2002 can be used to support the communication device 2000 in performing the processing actions in the above method embodiment. The processing unit 2002 can be implemented by a processor. For example, the processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. The general-purpose processor can be a microprocessor or any conventional processor.

[0655] The specific functions of the processing unit 2002 can be referred to the description of the communication method provided in the above embodiments and examples of the present application, and will not be repeated here.

[0656] It should be noted that the division of modules in the above embodiments of the present application is illustrative and is only a logical functional division. In actual implementation, there may be other division methods. In addition, the functional units in the various embodiments of the present application may be integrated into a processing unit, or may exist separately physically, or two or more units may be integrated into a single unit. The above-mentioned integrated units may be implemented in the form of hardware or in the form of software functional units.

[0657] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can 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 described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0658] Based on the same technical concept, an embodiment of the present application provides a communication device as shown in Figure 21, which can be used to execute the relevant steps in the above method embodiment. The communication device can be applied to the terminal equipment, AN equipment, CN equipment, engine or gear in the communication system shown in Figure 1, and can implement the communication method provided in the above embodiments and examples of the present application, and has the functions of the communication device shown in Figure 20. Referring to Figure 21, the communication device 2100 includes: a processor 2102. Optionally, the communication device 2100 also includes: a transceiver 2101 and a memory 2103. Among them, the transceiver 2101, the processor 2102 and the memory 2103 are interconnected.

[0659] Optionally, the transceiver 2101, the processor 2102, and the memory 2103 are interconnected via a bus 2104. The bus 2104 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, FIG21 shows only one thick line, but this does not mean that there is only one bus or only one type of bus.

[0660] The transceiver 2101 is used to receive and send data to realize communication interaction with other devices. For example, the transceiver 2101 can be realized by a physical interface, a communication module, a communication interface, and an input / output interface.

[0661] [Corrected 20.04.2023 in accordance with Rule 91] The processor 2102 may be used to support the communication device 2100 in executing the processing actions in the above-mentioned method embodiments. When the communication device 2100 is used to implement the above-mentioned method embodiments, the processor 2102 may also be used to implement the functions of the processing unit 2002. The processor 2102 may be a CPU, other general-purpose processor, DSP, ASIC, FPGA, other programmable logic device, transistor logic device, hardware component, or any combination thereof. A general-purpose processor may be a microprocessor or any conventional processor.

[0662] The specific functions of the processor 2102 can be referred to the description of the communication method provided in the above embodiments and examples of the present application, and will not be repeated here.

[0663] The memory 2103 is used to store program instructions and data. Specifically, the program instructions may include program code, which includes computer operating instructions. The memory 2103 may include RAM, and may also include non-volatile memory (non-volatile memory), such as at least one disk storage. The processor 2102 executes the program instructions stored in the memory 2103 and uses the data stored in the memory 2103 to implement the above functions, thereby implementing the communication method provided in the above embodiment of the present application.

[0664] It is understood that the memory 2103 in FIG. 21 of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be ROM, programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. The volatile memory may be RAM, which is used as an external cache. By way of example and not limitation, many forms of RAM are available, 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), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0665] Based on the above embodiments, an embodiment of the present application further provides a computer program, which, when executed on a computer, enables the computer to execute the method provided in the above embodiments.

[0666] Based on the above embodiments, an embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a computer, the computer executes the method provided in the above embodiments.

[0667] The storage medium may be any available medium that can be accessed by a computer. By way of example and not limitation, computer-readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer.

[0668] Based on the above embodiments, an embodiment of the present application further provides a chip, which is used to read a computer program stored in a memory to implement the method provided in the above embodiments.

[0669] Based on the above embodiments, embodiments of the present application provide a chip system, which includes a processor for supporting a computer device to implement the functions involved in each device in the above embodiments. In one possible design, the chip system also includes a memory for storing the necessary programs and data for the computer device. The chip system can be composed of a chip or can include a chip and other discrete devices.

[0670] In the various embodiments of the present application, unless otherwise specified or there is a logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced by each other. The technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships.

[0671] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0672] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each flow and / or box in the flow chart and / or block diagram, as well as the combination of the flow chart and / or box in the flow chart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more flow charts and / or one or more boxes in the block diagram.

[0673] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0674] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0675] Obviously, those skilled in the art may make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include these modifications and variations.

Claims

1. A communication method, characterized in that: include: The first device sends first request information, where the first request information is used to request configuration of the first module according to the second module, where the first module is a module that provides a first security capability for the first device, and the second module is a module that provides a second security capability for the second device; The first device receives first information, where the first information is used to configure the first module and the first information is related to the second module.

2. The method according to claim 1, characterized in that The first information includes information for indicating the second security capability, the second security capability is used to determine the first security capability, and the first security capability is used to configure the first module.

3. The method according to claim 2, characterized in that Also includes: The first device sends second information to the first module or the device where the first module is located, where the second information is used to indicate the first security capability; The first device receives first feedback information from the first module or a device where the first module is located, where the first feedback information is used to indicate whether the first module is successfully configured.

4. The method according to claim 1, characterized in that The first information includes information for indicating a first download address, where the first download address is a download address of a security capability module in the second module, and the first download address is used to configure the first module.

5. The method according to claim 4, characterized in that Also includes: The first device acquires a security capability module in the first module according to the first download address and the security capability module information of the first module, where the security capability module in the first module includes part or all of the security capability modules in the second module; The first device configures the first module according to the security capability module in the first module.

6. The method according to claim 4, characterized in that Also includes: The first device sends third information to the first module or the device where the first module is located, the third information including information used to indicate the first download address and security capability module information of the first module, the first download address and the security capability module information being used to configure the first module; The first device receives first feedback information from the first module or a device where the first module is located, where the first feedback information is used to indicate whether the first module is successfully configured.

7. The method according to claim 6, characterized in that The first feedback information includes: Identification information of the first module, indication information of the first security capability.

8. The method according to any one of claims 5 to 7, characterized in that The security capability module information includes at least one of the following: The indication information and / or status of the security capability module that the first module should include; The first module should contain information indicating the algorithms in the security capability module.

9. The method according to any one of claims 1 to 8, characterized in that The first request information includes: first indication information, where the first indication information is used to indicate that a third device allows the first module to be configured according to the second module, and the third device is a device for managing the first module and the second module.

10. The method according to claim 9, characterized in that Also includes: The first device receives the first indication information from the third device.

11. The method according to claim 10, characterized in that Also includes: The first device sends second request information to the third device, where the second request information is used to request the third device to allow configuration of the first module according to the second module.

12. The method according to claim 11, characterized in that The second request information includes at least one of the following: Information used to indicate a first state, the first state comprising: an expected state of a security capability module in the first module; Information used to indicate whether the configuration information of the second module and the configuration information of the first module change synchronously; Information used to indicate the security capabilities that the first device is expected to have; Information used to indicate a security capability that the first device is expected not to have; Information used to indicate whether the first module is configured according to a first method or a second method; in the first method, the first module is configured according to the configuration information of the second module or the second security capability; in the second method, the first module is configured according to a first download address, and the first download address is the download address of the security capability module in the second module.

13. The method according to any one of claims 9 to 12, characterized in that: The first indication information includes at least one of the following: signature information of the third device; Authentication information used to indicate that the first module is allowed to be configured according to the second module; Information for indicating whether a second state and a third state are the same, the second state being the state of the first module, and the third state being the state of the second module; Information used to indicate whether the configuration information of the second module and the configuration information of the first module change synchronously; Information used to indicate a first state, the first state comprising: an expected state of a security capability module in the first module; Indicative information of the security capability module that the first module is expected to possess; Indicative information of algorithms in the security capability module that the first module is expected to possess; Information used to indicate whether the first module is configured according to a first method or a second method; in the first method, the first module is configured according to the configuration information of the second module or the second security capability; in the second method, the first module is configured according to a first download address, and the first download address is the download address of the security capability module in the second module.

14. A communication method, characterized in that: include: A first entity receives first request information, where the first entity is a second device or a second module, the first request information is used to request configuration of a first module according to the second module, the first module is a module that provides a first security capability for the first device, and the second module is a module that provides a second security capability for the second device; The first entity sends the first information, where the first information is used to configure the first module and is related to the second module.

15. The method according to claim 14, characterized in that The first information includes information for indicating the second security capability, the second security capability is used to determine the first security capability, and the first security capability is used to configure the first module.

16. The method according to claim 14, characterized in that The first information includes information for indicating a first download address, where the first download address is a download address of a security capability module in the second module, and the first download address is used to configure the first module.

17. The method according to any one of claims 14 to 16, characterized in that: The first request information includes: first indication information, where the first indication information is used to indicate that a third device allows the first module to be configured according to the second module, and the third device is a device for managing the first module and the second module.

18. The method according to claim 17, characterized in that The first indication information includes at least one of the following: signature information of the third device; Authentication information used to indicate that the first module is allowed to be configured according to the second module; Information for indicating whether a second state and a third state are the same, the second state being the state of the first module, and the third state being the state of the second module; Information used to indicate whether the configuration information of the second module and the configuration information of the first module change synchronously; Information used to indicate a first state, the first state comprising: an expected state of a security capability module in the first module; Indicative information of the security capability module that the first module is expected to possess; Indicative information of algorithms in the security capability module that the first module is expected to possess; Information used to indicate whether the first module is configured according to a first method or a second method; in the first method, the first module is configured according to the configuration information of the second module or the second security capability; in the second method, the first module is configured according to a first download address, and the first download address is the download address of the security capability module in the second module.

19. The method according to any one of claims 14 to 18, characterized in that The method further comprises: The first entity sends information indicating a third security capability to the first module, where the third security capability includes the security capability updated by the second module.

20. The method of claim 19, wherein: Also includes: The first entity receives third feedback information from the first module, where the third feedback information is used to indicate whether the first module updates configuration information of the first module according to the third security capability.

21. The method according to claim 19 or 20, characterized in that The first entity sends information indicating a third security capability to the first module, including: If the configuration information of the second module changes synchronously with the configuration information of the first module, or the first entity receives information from the first module or the first device for requesting to subscribe to the security capability of the second module, the first entity sends information indicating the third security capability to the first module.

22. A communication method, characterized in that: include: The third device sends fourth information, where the fourth information is used to determine first configuration information, where the first configuration information is configuration information used by the first module to provide the first device with a first security capability, and the fourth information is related to the second module, where the second module is a module that provides the second security capability for the second device; The third device receives second feedback information, where the second feedback information is used to indicate whether the first module successfully configures the first configuration information.

23. The method of claim 22, wherein: The fourth information includes the first configuration information, where the first configuration information is determined according to second configuration information, and the second configuration information is configuration information used by the second module to provide the second security capability for the second device.

24. The method of claim 22, wherein: The fourth information includes: information used to indicate a first download address, and security capability module information of the first module, the first download address is the download address of the security capability module in the second module, and the first download address and the security capability module information are used to determine the first configuration information.

25. The method of claim 24, wherein: The security capability module information includes at least one of the following: The indication information and / or status of the security capability module that the first module should include; The first module should contain information indicating the algorithms in the security capability module.

26. The method according to claim 24 or 25, characterized in that The second feedback information includes: identification information of the first module and the first configuration information.

27. The method according to any one of claims 24 to 26, characterized in that Also includes: The third device receives information indicating the first download address from the second module.

28. The method of claim 27, wherein: Also includes: The third device sends third request information to the second module, where the third request information is used to request the second module to upload the security capability module in the second module.

29. The method according to any one of claims 21 to 28, characterized in that Also includes: The third device receives fourth request information from the first device, where the fourth request information is used to request configuration of the first module according to the second module.

30. The method of claim 29, wherein: The fourth request information includes at least one of the following: Information used to indicate a first state, the first state comprising: an expected state of a security capability module in the first module; Information used to indicate whether the configuration information of the second module and the configuration information of the first module change synchronously; Information used to indicate the security capabilities that the first device is expected to have; Information used to indicate a security capability that the first device is expected not to have; Information used to indicate whether the first module is configured according to a first method or a second method; in the first method, the first module is configured according to the configuration information of the second module or the second security capability; in the second method, the first module is configured according to a first download address, and the first download address is the download address of the security capability module in the second module.

31. The method according to claim 29 or 30, characterized in that Before the third device sends the fourth information, the method further includes: The third device determines that the first module is allowed to be configured according to the second module.

32. The method of claim 31, wherein: The third device determines that the first module is allowed to be configured according to the second module, including: When at least one of the following conditions is met, the third device determines that the first module is allowed to be configured according to the second module: The second module has been configured for the second device; allowing modules other than the second module to be configured according to the second module; allowing configuration of the first module based on modules other than the first module; The security capabilities provided by the second module include the security capabilities that the first device is expected to have.

33. The method according to any one of claims 22 to 28, characterized in that Also includes: The third device determines that the first device joins the network where the third device is located; or, The third device receives a command for configuring the first module.

34. The method according to any one of claims 22 to 33, characterized in that The method further comprises: The third device receives third configuration information from the second module, where the third configuration information is configuration information used by the second module to provide a third security capability for the second device; The third device sends fourth configuration information to the first module, where the fourth configuration information is determined according to the third configuration information, and the fourth configuration information is configuration information used by the first module to provide a fourth security capability for the first device.

35. The method of claim 34, wherein: Also includes: The third device receives fourth feedback information from the first module, where the fourth feedback information is used to indicate whether the first module successfully configures the fourth configuration information.

36. The method according to claim 34 or 35, characterized in that The third device sends fourth configuration information to the first module, including: If the configuration information of the second module changes synchronously with the configuration information of the first module, or the third device receives information from the first module or the first device for requesting to subscribe to the security capability of the second module, the third device sends the fourth configuration information to the first module.

37. A communication method, characterized in that: include: The first module receives fourth information, the fourth information is used to determine first configuration information, the first configuration information is configuration information used by the first module to provide a first security capability for the first device, the fourth information is related to the second module, and the second module is a module that provides a second security capability for the second device; The first module sends second feedback information, where the second feedback information is used to indicate whether the first module successfully configures the first configuration information.

38. The method of claim 37, wherein: The fourth information includes the first configuration information, where the first configuration information is determined according to second configuration information, and the second configuration information is configuration information used by the second module to provide the second security capability for the second device.

39. The method of claim 37, wherein: The fourth information includes: information used to indicate a first download address, and security capability module information of the first module, the first download address is the download address of the security capability module in the second module, and the first download address and the security capability module information are used to determine the first configuration information.

40. The method of claim 39, wherein: The security capability module information includes at least one of the following: The indication information and / or status of the security capability module that the first module should include; The first module should contain information indicating the algorithms in the security capability module.

41. The method according to claim 39 or 40, characterized in that The second feedback information includes: identification information of the first module and the first configuration information.

42. The method according to any one of claims 37 to 41, characterized in that The method further comprises: The first module receives information indicating a third security capability from the second device, where the third security capability includes the security capability updated by the second module.

43. The method of claim 42, wherein: Also includes: The first module sends third feedback information to the second device, where the third feedback information is used to indicate whether the first module updates configuration information of the first module according to the third security capability.

44. The method according to claim 42 or 43, characterized in that The first module receives information indicating a third security capability from the second device, including: If the configuration information of the second module changes synchronously with the configuration information of the first module, or the first module or the first device sends information for requesting to subscribe to the security capability of the second module to the second device, the first module receives information from the second device for indicating the third security capability.

45. The method according to any one of claims 37 to 41, characterized in that The method further comprises: The first module receives fourth configuration information from the third device, the fourth configuration information is determined based on the third configuration information, the third configuration information is the configuration information used by the second module to provide the second device with a third security capability, and the fourth configuration information is the configuration information used by the first module to provide the first device with a fourth security capability.

46. ​​The method of claim 45, wherein: Also includes: The first module sends fourth feedback information to the third device, where the fourth feedback information is used to indicate whether the first module successfully configures the fourth configuration information.

47. The method according to claim 45 or 46, characterized in that The first module receives fourth configuration information from the third device, including: If the configuration information of the second module changes synchronously with the configuration information of the first module, or the first module or the first device sends information for requesting to subscribe to the security capability of the second module to the third device, the first module receives the fourth configuration information from the third device.

48. A communication device, characterized in that: include: A communication unit for receiving and / or sending information; A processing unit, used to execute the method as described in any one of claims 1 to 13, or the method as described in any one of claims 14 to 21, or the method as described in any one of claims 22 to 36, or the method as described in any one of claims 37 to 47 through the communication unit.

49. A communication device, characterized in that: include: A processor, the processor being coupled to a memory storing instructions, wherein the instructions, when executed by the processor, cause the communication device to perform the method according to any one of claims 1 to 13, or the method according to any one of claims 14 to 21, or the method according to any one of claims 22 to 36, or the method according to any one of claims 37 to 47.

50. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 47.

51. A chip, characterized in that: The chip is coupled to a memory, and the chip reads a computer program stored in the memory to execute the method according to any one of claims 1-47.

52. A communication system, characterized in that: include: Communication means for performing the operations of the first device in the method of any one of claims 1 to 13, and communication means for the operations of the first entity in the method of any one of claims 14 to 21.

53. A communication system, characterized in that: include: A communication device for performing the operation of the third device in the method of any one of claims 22 to 36, and a communication device for performing the operation of the first module in the method of any one of claims 37 to 47.

Citation Information

Patent Citations

  • Security configuration method, related devices and system

    CN106470115A

  • Configuration method and device of intelligent equipment, electronic equipment and storage medium

    CN116032680A

  • Cloud-based security policy configuration

    US20140223507A1

  • Method for transmitting and receiving control message in communication system and apparatus for the same

    US20200162920A1