Communication method, apparatus, communication device, and network side device

By negotiating target algorithm information with AIoT devices in the context of Environmental Internet of Things (AIoT), the problem of the network side being unable to know the multiple security algorithms supported by AIoT devices is solved, thus achieving security and reliability protection for communication.

WO2026233304A1PCT designated stage Publication Date: 2026-11-12VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2026/094877
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-08
Filing Date
2026-05-06
Publication Date
2026-11-12

AI Technical Summary

Technical Problem

In the context of AIoT (Ambient Internet of Things) scenarios, the network side cannot know in advance the various security algorithms supported by AIoT devices, which makes it impossible to negotiate the security algorithms used for communication and affects communication security.

Method used

The target algorithm information, including confidentiality protection algorithm and integrity protection algorithm, is negotiated with AIoT devices through the first network function. The target algorithm is used to protect communication without increasing signaling overhead.

Benefits of technology

It effectively protects the communication security between AIoT devices and the network without increasing signaling overhead, thus improving communication reliability and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2026094877_12112026_PF_FP_ABST
    Figure CN2026094877_12112026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of communications, and discloses a communication method, an apparatus, a communication device, and a network side device. The communication method in embodiments of the present application comprises: a first network function sends first information to a communication device, wherein the first information comprises a first command and target algorithm information, the target algorithm information is used for protecting communication between the communication device and a network, a target algorithm comprises at least one of a confidentiality protection algorithm and an integrity protection algorithm, and the network is a network to which the first network function belongs.
Need to check novelty before this filing date? Find Prior Art

Description

Communication methods, devices, communication equipment and network-side equipment

[0001] Cross-reference to related applications

[0002] This disclosure claims priority to Chinese Patent Application No. 202510591492.4, filed on May 8, 2025, which is incorporated herein by reference in its entirety. Technical Field

[0003] This application belongs to the field of communication technology, specifically relating to a communication method, apparatus, communication equipment, and network-side equipment. Background Technology

[0004] In the context of Ambient Internet of Things (AIoT), the network side stores the security capabilities of AIoT devices. If an AIoT device only supports one security algorithm, the network side and the AIoT device can know the security algorithm of the AIoT device without negotiation. However, if an AIoT device supports multiple security algorithms, the network side may not be able to know the security algorithm of the AIoT device in advance. Summary of the Invention

[0005] This application provides a communication method, apparatus, communication device, and network-side device that can realize a secure algorithm for negotiating communication between the network side and AIoT devices.

[0006] Firstly, a communication method is provided, including:

[0007] A first network function sends first information to a communication device. The first information includes a first command and target algorithm information. The target algorithm information is used to protect the communication between the communication device and the network. The target algorithm includes at least one of a confidentiality protection algorithm and an integrity protection algorithm.

[0008] The network in question is the network to which the first network function belongs.

[0009] Secondly, a communication method is provided, including:

[0010] The communication device receives first information sent by a first network function. The first information includes a first command and target algorithm information. The target algorithm information is used to protect the communication between the communication device and the network. The target algorithm includes at least one of a confidentiality protection algorithm and an integrity protection algorithm.

[0011] The network in question is the network to which the first network function belongs.

[0012] Thirdly, a communication method is provided, including:

[0013] The third network function sends security capability information of the communication device to the first network function or the second network function;

[0014] The third network function sends the desired information to the first or second network function.

[0015] The desired information is generated based on the security capability information of the communication device.

[0016] Fourthly, a communication method is provided, including:

[0017] The second network function sends second information to the first network function, wherein the second information includes a first command and target algorithm information, the target algorithm information being used to protect communication between the communication device and the network, and the target algorithm including at least one of a confidentiality protection algorithm and an integrity protection algorithm;

[0018] The network in question is the network to which the first network function belongs.

[0019] Fifthly, a communication device is provided, the device being configured to perform the steps of the method described in the first aspect, or implement the steps of the method described in the second aspect, or implement the steps of the method described in the third aspect, or implement the steps of the method described in the fourth aspect.

[0020] In a sixth aspect, a communication device is provided, the communication device including a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method as described in the second aspect.

[0021] In a seventh aspect, a communication device is provided, including a processor and a communication interface, wherein the processor is configured to implement the steps of the method described in the second aspect.

[0022] Eighthly, a network-side device is provided, the network-side device including a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method as described in the first aspect, or implementing the steps of the method as described in the third aspect, or implementing the steps of the method as described in the fourth aspect.

[0023] A ninth aspect provides a network-side device, including a processor and a communication interface, wherein the processor is configured to implement the steps of the method described in the first aspect, or the steps of the method described in the third aspect, or the steps of the method described in the fourth aspect.

[0024] In a tenth aspect, a readable storage medium is provided, on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect, or the steps of the method described in the second aspect, or the steps of the method described in the third aspect, or the steps of the method described in the fourth aspect.

[0025] Eleventhly, a wireless communication system is provided, comprising: a communication device and a network-side device, wherein the communication device is configured to perform the steps of the method described in the second aspect, and the network-side device is configured to perform the steps of the method described in the first aspect, or implement the steps of the method described in the third aspect, or implement the steps of the method described in the fourth aspect.

[0026] In a twelfth aspect, a chip is provided, the chip including a processor and a communication interface coupled to the processor, the processor being configured to run a program or instructions to implement the steps of the method described in the first aspect, or the steps of the method described in the second aspect, or the steps of the method described in the third aspect, or the steps of the method described in the fourth aspect.

[0027] In a thirteenth aspect, a computer program / program product is provided, the computer program / program product being stored in a storage medium, the computer program / program product being executed by at least one processor to implement the steps of the method as described in the first aspect, or the steps of the method as described in the second aspect, or the steps of the method as described in the third aspect, or the steps of the method as described in the fourth aspect.

[0028] In this embodiment of the application, the first network function can use the first information to negotiate target algorithm information with the communication device while sending the first command, thereby protecting the communication between the communication device and the network using the target algorithm without increasing signaling overhead. Attached Figure Description

[0029] Figure 1 is a block diagram of a wireless communication system applicable to an embodiment of this application;

[0030] Figure 2 is a schematic diagram of the interaction process between the network side and AIoT devices in the AIoT scenario in related technologies;

[0031] Figure 3 is a flowchart illustrating a communication method applied to a first network function according to an embodiment of this application;

[0032] Figure 4 is a flowchart illustrating a communication method applied to a communication device according to an embodiment of this application;

[0033] Figure 5 is a flowchart illustrating a communication method applied to a second network function according to an embodiment of this application;

[0034] Figure 6 is a flowchart illustrating a communication method applied to a third network function according to an embodiment of this application;

[0035] Figure 7 is a schematic diagram of the interaction process between the network side and the AIoT device according to an embodiment of this application;

[0036] Figure 8 is a schematic diagram of the interaction process between the network side and the AIoT device according to another embodiment of this application;

[0037] Figure 9 is a structural block diagram of a communication device applied to a first network function according to an embodiment of this application;

[0038] Figure 10 is a structural block diagram of a communication device applied to a communication equipment according to an embodiment of this application;

[0039] Figure 11 is a structural block diagram of a communication device applied to a second network function according to an embodiment of this application;

[0040] Figure 12 is a structural block diagram of a communication device applied to a third network function according to an embodiment of this application;

[0041] Figure 13 is a structural block diagram of a communication device according to an embodiment of this application;

[0042] Figure 14 is a schematic diagram of the composition of a communication device according to an embodiment of this application;

[0043] Figure 15 is a schematic diagram of the network-side device according to an embodiment of this application. Detailed Implementation

[0044] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0045] The terms "first," "second," etc., used in this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of the same class, not limited in number; for example, the first object can be one or more. Furthermore, "or" in this application indicates at least one of the connected objects. For example, the scope of protection for "A or B" covers at least three scenarios: Scenario 1: including A but not B; Scenario 2: including B but not A; Scenario 3: including both A and B. In addition, the terms "A and / or B," "at least one of A and B," and "at least one of A or B" also cover at least the above three scenarios. The character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0046] The term "instruction" in this application can be either a direct instruction (or explicit instruction) or an indirect instruction (or implicit instruction). A direct instruction can be understood as the sender explicitly informing the receiver of specific information, the required operation, or the requested result in the instruction sent. An indirect instruction can be understood as the receiver determining the corresponding information based on the instruction sent by the sender, or making a judgment and determining the required operation or requested result based on the judgment result.

[0047] It is worth noting that the technologies described in this application are not limited to Long Term Evolution (LTE) / LTE-Advanced (LTE-A) systems, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency-Division Multiple Access (SC-FDMA), or other systems. The terms "system" and "network" in this application are often used interchangeably, and the described technologies can be used in the systems and radio technologies mentioned above, as well as in other systems and radio technologies. The following description describes New Radio (NR) systems for illustrative purposes, and the term NR is used in most of the following description; however, these technologies can also be applied to systems other than NR systems, such as 6th Generation (6G) communication systems.

[0048] Figure 1 shows a block diagram of a wireless communication system applicable to an embodiment of this application. The wireless communication system includes a terminal 11 and a network-side device 12. The terminal 11 can also be referred to as User Equipment (UE), and can be a mobile phone, tablet computer, laptop computer, notebook computer, personal digital assistant (PDA), handheld computer, netbook, ultra-mobile personal computer (UMPC), mobile internet device (MID), augmented reality (AR), virtual reality (VR) device, robot, wearable device, flight vehicle, vehicle user equipment (VUE), shipboard equipment, pedestrian user equipment (PUE), smart home (home devices with wireless communication capabilities, such as refrigerators, televisions, washing machines, or furniture), game console, personal computer (PC), ATM, or self-service machine, etc. Wearable devices include: smartwatches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart chains, smart rings, smart necklaces, smart anklets, smart anklets, etc.), smart wristbands, smart clothing, etc. Among these, in-vehicle devices can also be referred to as in-vehicle terminals, in-vehicle controllers, in-vehicle modules, in-vehicle components, in-vehicle chips, or in-vehicle units, etc. It should be noted that the specific type of terminal 11 is not limited in this application embodiment. Network-side equipment 12 may include access network equipment or core network equipment, wherein access network equipment may also be referred to as Radio Access Network (RAN) equipment, radio access network function, or radio access network unit. Access network equipment may include base stations, Wireless Local Area Network (WLAN) access points (APs), or Wireless Fidelity (WiFi) nodes, etc.Among them, base stations can be referred to as Node B (NB), Evolved Node B (eNB), Next Generation Node B (gNB), New Radio Node B (NR Node B), Access Point, Relay Base Station (RBS), Serving Base Station (SBS), Base Transceiver Station (BTS), Radio Base Station, Radio Transceiver, Basic Service Set (BSS), Extended Service Set (ESS), Home Node B (HNB), Home Evolved Node B, Transmit / Receive Point (TRP), Non-Terrestrial Network (NTN) equipment (such as satellite or high altitude platform stations). The term "base station" can be any suitable term in the field, such as "station" or any other appropriate term in the relevant field, as long as the same technical effect is achieved. The term "base station" is not limited to specific technical terms. It should be noted that the embodiments of this application only use the base station in the NR system as an example for introduction, and do not limit the specific type of base station.

[0049] Core network equipment, also known as core network nodes, core network functions, or core network elements, includes, but is not limited to, at least one of the following: Mobility Management Entity (MME), Access and Mobility Management Function (AMF), Session Management Function (SMF), User Plane Function (UPF), Policy Control Function (PCF), Policy and Charging Rules Function (PCRF), Edge Application Server Discovery Function (EASDF), Unified Data Management (UDM), Unified Data Repository (UDR), Home Subscriber Server (HSS), Centralized network configuration (CNC), Network Repository Function (NRF), Network Exposure Function (NEF), Local NEF (L-NEF), and Binding Support. Functions include BSF, Application Function (AF), Location Management Function (LMF), Gateway Mobile Location Centre (GMLC), Network Data Analytics Function (NWDAF), and Non-Terrestrial Network (NTN) equipment (such as satellite or high altitude platform station).It should be noted that the embodiments of this application only use the core network equipment in the NR system as an example for introduction, and do not limit the specific type of core network equipment. If the name of the core network equipment mentioned in the embodiments of this application changes in subsequent protocol versions (e.g., 6G), it is also within the scope of protection of this application.

[0050] Optionally, the core network equipment can be implemented by one or more functional modules in a single device, or by multiple devices working together; this application does not specifically limit this. It is understood that the aforementioned functional modules can be network elements in hardware devices, software functional modules running on dedicated hardware, or virtualized functional modules instantiated on a platform (e.g., a cloud platform).

[0051] To meet the intelligent needs of the Internet of Things (IoT), Ambient Internet of Things (AIoT), also known as Ambient Power-enabled Internet of Things (AIoT), has been introduced. This is a type of IoT service. A terminal, such as an AIoT device, is a low-power IoT device. These devices have low overall power consumption, including low-power signal reception and low-power signal transmission. Due to their low overall power consumption, the energy for communication can come from the environment, such as wind power, kinetic energy, heat energy, and radio frequency (RF) signals. AIoT devices can also be described as passive IoT devices or responder devices. AIoT devices are typically in a state without Radio Resource Control (RRC) and do not perform mobility management.

[0052] In one optional embodiment of this application, the AIoT function (AIoTF) may also be referred to as a function for managing and / or controlling the operation of terminal devices (such as AIoT devices). The AIoT function includes, but is not limited to, at least one of the following:

[0053] 1) Responsible for the management and control of AIoT operations (i.e., operations on terminal devices; AIoT operations can also be referred to as one of the following AIoT tasks or AIoT processes);

[0054] 2) Determine whether to authorize the customer's AIoT operation request;

[0055] 3) Distribute AIoT operations to readers or devices that communicate directly with terminal devices (either by sending directly or by forwarding through other network elements);

[0056] 4) Receive the results of AIoT operation execution;

[0057] 5) Summarize the AIoT operation execution results;

[0058] 6) Send the AIoT operation results to the customer.

[0059] As shown in Figure 2, the interaction between the network side and AIoT devices in an AIoT scenario includes the following steps:

[0060] Step 1: The application function (AF) sends an inventory / command request to the AIoTF;

[0061] Step 2: AIoTF sends an inventory / command request to the Radio Access Network (RAN) reader, which carries a random number (RAND);

[0062] Step 3: The RAN Reader sends a paging message to the AIoT device, which carries a random number (RAND);

[0063] Step 4: The AIoT device generates RES based on the shared long-term key (LTK) and RAND with the network side;

[0064] Step 5: The AIoT device sends an inventory response to the AIoTF, which carries RES;

[0065] Step 6: AIoTF obtains XRES from AIoT Data Management (ADM) or Authentication, Authorization, Accounting (AAA). AIoTF compares RES with XRES. If they are the same, the AIoT device is successfully verified.

[0066] Step 7: AIoTF sends an inventory response to AF;

[0067] Step 8: When the AF performs a Command operation, the AIoTF sends a Command request to the AIoT device;

[0068] Step 9: The AIoT device sends a Command response to the AIoTF;

[0069] Step 10: AIoTF sends a Command response to AF.

[0070] The network side stores the security capabilities of AIoT devices. Each AIoT device supports only one confidentiality protection algorithm and one integrity protection algorithm. Therefore, there is no need for negotiation between the AIoT device and the network side. AIoTF directly uses the algorithms supported by the AIoT device to protect Command request messages sent to the AIoT device, as well as to decrypt and verify Command response messages received from the AIoT device. For example, both the AIoT device and the network side support the Non-Access Stratum (NEA) mathematical method for encrypting data (NEA)1 and the Non-Access Stratum (NIA) integrity algorithm (NIA)1; or, both the AIoT device and the network side support NEA0 (Null algorithm, i.e., no encryption) for their confidentiality algorithm and NIA0 (Null algorithm, i.e., incomplete integrity protection) for their integrity algorithm.

[0071] The communication method provided in this application will be described in detail below with reference to the accompanying drawings and through some embodiments and application scenarios.

[0072] This application provides a communication method, as shown in Figure 3, including:

[0073] Step 101: The first network function sends first information to the communication device. The first information includes a first command and target algorithm information. The target algorithm information is used to protect the communication between the communication device and the network. The target algorithm includes at least one of a confidentiality protection algorithm and an integrity protection algorithm.

[0074] The network in question is the network to which the first network function belongs.

[0075] The first network function can be AIoTF or Access and Mobility Management Function (AMF).

[0076] In this embodiment of the application, the first network function can use the first information to negotiate target algorithm information with the communication device while sending the first command, thereby protecting the communication between the communication device and the network using the target algorithm without increasing signaling overhead.

[0077] In some embodiments, the type of the first command includes any of the following:

[0078] Read operations, write operations, and command operations;

[0079] The communication device is an environmental Internet of Things (AIoT) device.

[0080] In some embodiments, before the first network function sends the first information to the communication device, the method further includes:

[0081] The first network function sends an inventory request, which may not be targeted at a specific communication device;

[0082] The first network function receives the inventory report sent by the communication device.

[0083] Through the above process, the first network function can perform an inventory of communication equipment.

[0084] In some embodiments, where the target algorithm includes a confidentiality protection algorithm, the method further includes any one of the following:

[0085] The first network function encrypts the first information based on the confidentiality protection algorithm.

[0086] The first network function encrypts the fourth information based on the confidentiality protection algorithm, and the fourth information is contained within the first information;

[0087] Wherein, at least the target algorithm information or the confidentiality protection algorithm information is not encrypted, or the fourth information does not include the target algorithm information or the confidentiality protection algorithm information.

[0088] In this embodiment, some information in the first information can be encrypted to protect the communication reliability of the first information.

[0089] In some embodiments, the method further includes at least one of the following:

[0090] The first network function receives the response information of the first command sent by the communication device, and the first network function performs at least one of the following: decrypts the response information based on the confidentiality protection algorithm; verifies the response information based on the integrity protection algorithm;

[0091] The first network function sends a second command to the communication device, and the first network function protects the second command based on at least one of the following: encrypting the second command based on the confidentiality protection algorithm; generating a checksum of the second command based on the integrity protection algorithm;

[0092] The first network function receives the response information of the second command sent by the communication device, and the first network function performs at least one of the following: decrypts the response information based on the confidentiality protection algorithm; verifies the response information based on the integrity protection algorithm.

[0093] In this embodiment, the response information can be encrypted and its integrity protected, thus ensuring the reliability of the response information communication.

[0094] In some embodiments, before the first network function sends the first information to the communication device, the method further includes:

[0095] The first network function (e.g., AMF) receives second information from the second network function (e.g., AIoTF), wherein the second information includes the first command and the target algorithm information.

[0096] In this embodiment, the first network function can obtain target algorithm information from the second network function, and then negotiate the target algorithm with the communication device.

[0097] In some embodiments, before the first network function sends the first information to the communication device, the method further includes at least one of the following:

[0098] The first network function receives security capability information of the communication device sent by a third network function (such as ADM);

[0099] The first network function receives third information from the communication device, the third information including security capability information.

[0100] In this embodiment, the first network function can obtain security capability information from the third network function or communication device, and then select a target algorithm and negotiate the target algorithm with the communication device.

[0101] In some embodiments, the third information further includes hash information, and the method further includes at least one of the following:

[0102] The first network function verifies the hash information based on the security capability information, or the security capability information and at least one of the following: long-term key, derived key, first challenge information, and second challenge information;

[0103] The first network function verifies the hash information based on the expected information;

[0104] The derived key is generated based on a long-term key;

[0105] The first challenge information is sent to the communication device by the first network function;

[0106] The second challenge information is sent by the communication device.

[0107] In this embodiment, hash information can be used to prevent the third information from being tampered with, thus protecting the communication reliability of the third information.

[0108] In some embodiments, the method further includes any one of the following:

[0109] Receive the desired information sent by a second or third network function (such as ADM);

[0110] The desired information is generated based on the security capability information, or the security capability information and at least one of the following: long-term key, derived key, first challenge information, and second challenge information.

[0111] In some embodiments, before receiving the desired information sent by the third network function, the method further includes:

[0112] The first network function sends the security capability information to the third network function, which then generates the desired information based on the security capability information.

[0113] This application also provides a communication method, as shown in Figure 4, including:

[0114] Step 201: The communication device receives first information sent by the first network function. The first information includes a first command and target algorithm information. The target algorithm information is used to protect the communication between the communication device and the network. The target algorithm includes at least one of confidentiality protection algorithm and integrity protection algorithm.

[0115] The network in question is the network to which the first network function belongs.

[0116] Among them, the communication equipment can be an AIoT device.

[0117] In this embodiment of the application, the first network function can use the first information to negotiate target algorithm information with the communication device while sending the first command, thereby protecting the communication between the communication device and the network using the target algorithm without increasing signaling overhead.

[0118] In some embodiments, the type of the first command includes any of the following:

[0119] Read operations, write operations, and command operations;

[0120] The communication device is an environmental Internet of Things (AIoT) device.

[0121] In some embodiments, before the communication device receives the first information sent by the first network function, the method further includes:

[0122] The communication device receives the inventory request sent by the first network function;

[0123] The communication device sends an inventory report to the first network function.

[0124] Through the above process, the first network function can perform an inventory of communication equipment.

[0125] In some embodiments, where the target algorithm includes a confidentiality protection algorithm, the communication device performs any of the following:

[0126] The encrypted portion of the first information is decrypted based on the confidentiality protection algorithm described above;

[0127] The fourth information is decrypted based on the confidentiality protection algorithm, and the fourth information is contained in the first information;

[0128] Wherein, at least the target algorithm information or the confidentiality protection algorithm information is not encrypted, or the fourth information does not include the target algorithm information or the confidentiality protection algorithm information.

[0129] In this embodiment, it is possible to encrypt a portion of the first information to protect the communication reliability of the first information.

[0130] In some embodiments, before the communication device receives the first information sent by the first network function, the method further includes:

[0131] The communication device sends third information to the first network function, the third information including security capability information.

[0132] In this embodiment, the first network function can obtain security capability information from the communication device, select a target algorithm, and negotiate the target algorithm with the communication device.

[0133] In some embodiments, the method further includes:

[0134] The communication device generates hash information based on at least one of the following: a long-term key, a derived key, a first challenge information, a second challenge information, and the security capability information;

[0135] The third information includes the hash information;

[0136] The derived key is generated based on a long-term key;

[0137] The first challenge information is sent to the communication device by the first network function;

[0138] The second challenge information is sent by the communication device.

[0139] In this embodiment, hash information can be used to prevent information from being tampered with and to protect the reliability of information communication.

[0140] In some embodiments, the communication device sending third information to the first network function includes:

[0141] The communication device sends the third information to the first network function based on the instruction information;

[0142] The instruction information is received from the network and is used to instruct subsequent command operations.

[0143] In some embodiments, the method further includes at least one of the following:

[0144] The communication device sends a response to the first command to the first network function based on at least one of the following: encrypting the response information based on the confidentiality protection algorithm; generating a checksum for the response information based on the integrity protection algorithm;

[0145] The communication device receives a second command sent by the first network function and processes the second command based on at least one of the following: decrypting the second command based on the confidentiality protection algorithm; verifying the second command based on the integrity protection algorithm;

[0146] The communication device sends a response message to the first network function for the second command based on at least one of the following: encrypting the response message based on the confidentiality protection algorithm; generating a checksum for the response message based on the integrity protection algorithm.

[0147] In this embodiment, the response information can be encrypted and its integrity protected, thus ensuring the reliability of the response information communication.

[0148] This application provides a communication method, as shown in Figure 5, including:

[0149] Step 301: The third network function sends the security capability information of the communication device to the first network function or the second network function; and / or

[0150] The third network function sends the desired information to the first or second network function.

[0151] The desired information is generated based on the security capability information of the communication device.

[0152] The third network function can be ADM.

[0153] In this embodiment, the third network function can send security capability information and / or expectation information of the communication device to the first network function or the second network function, thereby enabling the first network function to negotiate target algorithm information with the communication device.

[0154] In some embodiments, before the third network function sends the desired information to the first or second network function, the method further includes:

[0155] The third network function receives security capability information of the communication device from the first network function or the second network function, and generates the desired information based on at least one of the following of the communication device and the security capability information:

[0156] Long-term key, derived key, first challenge information, second challenge information;

[0157] The derived key is generated based on a long-term key;

[0158] The first challenge information is sent to the communication device by the first network function;

[0159] The second challenge information is sent by the communication device.

[0160] This application provides a communication method, as shown in FIG6, including:

[0161] Step 401: The second network function sends second information to the first network function, wherein the second information includes a first command and target algorithm information, the target algorithm information being used to protect communication between the communication device and the network, and the target algorithm including at least one of a confidentiality protection algorithm and an integrity protection algorithm;

[0162] The network in question is the network to which the first network function belongs.

[0163] The second network function can be AIoTF.

[0164] In this embodiment of the application, the second network function can send second information to the first network function, thereby enabling the first network function to negotiate target algorithm information with the communication device.

[0165] In some embodiments, the type of the first command includes any of the following:

[0166] Read operations, write operations, and command operations;

[0167] The communication device is an environmental Internet of Things (AIoT) device.

[0168] In some embodiments, the method further includes:

[0169] The second network function sends desired information to the first network function, the desired information being generated based on the security capability information of the communication device.

[0170] In some embodiments, the method further includes any one of the following:

[0171] The second network function receives the security capability information of the communication device sent by the third network function;

[0172] The second network function receives the desired information sent by the third network function.

[0173] In some embodiments, before the second network function receives the desired information sent by the third network function, the method further includes:

[0174] The second network function sends the security capability information of the communication device to the third network function.

[0175] In one specific embodiment, the AIoT Device can provide its own security capabilities to the AIoTF.

[0176] As shown in Figure 7, the interaction between the network side and the AIoT device includes the following steps:

[0177] Step 1: The application function (AF) sends an inventory / command request to the AIoTF;

[0178] Step 2: AIoTF sends an inventory / command request to the Radio Access Network (RAN) reader, which carries a random number (RAND);

[0179] Optionally, the inventory / command request message may also include indication information indicating the type of operation (e.g., whether it is an inventory or a command).

[0180] Step 3: The RAN Reader sends a paging message to the AIoT device, which carries a random number (RAND);

[0181] Step 4: The AIoT device generates RES based on LTK, RAND, and the security capabilities of the AIoT device (including algorithm information supported by the AIoT device, such as algorithm identifiers). Alternatively, the AIoT device generates RES1 based on LTK or a Key derived from LTK (i.e., the derived key mentioned above) and the security capabilities of the AIoT device (e.g., generating RES1 using HMAC-SHA256). Alternatively, the AIoT device generates RES2 based on LTK or a Key derived from LTK, RAND, and the security capabilities of the AIoT device (e.g., generating RES2 using HMAC-SHA256). Alternatively, the AIoT device generates RES2 based on LTK or a Key derived from LTK, RES, and the security capabilities of the AIoT device (e.g., generating RES2 using HMAC-SHA256).

[0182] AIoT devices can generate RES, RES1, or RES2 based on indication information using security capabilities as parameters, such as when the indication information indicates a Command operation type. Optionally, in addition to the above parameters, Device ID or Temp ID can also be used as parameters to generate RES, RES1, or RES2.

[0183] Step 5: When the instruction information indicates the Command operation type, the AIoT device can send any of the following to AIoTF based on the instruction information: the security capabilities and RES of the AIoT device; the security capabilities, RES and RES1 of the AIoT device; the security capabilities, RES, RES1 and RES2 of the AIoT device.

[0184] Optionally, to prevent messages from being tampered with, AIoT devices may send a hash value to AIoTF.

[0185] Step 6: AIoTF can perform any of the following operations: generate XRES based on the security capabilities of LTK, RAND, and Device (including supported algorithm information, such as algorithm identifier); generate XRES1 based on the security capabilities of LTK or a Key derived from LTK and Device (e.g., generating XRES1 using HMAC-SHA256); generate XRES2 based on the security capabilities of LTK or a Key derived from LTK, RAND, and Device (e.g., generating XRES2 using HMAC-SHA256); generate XRES2 based on the security capabilities of LTK or a Key derived from LTK, RES, and Device (e.g., generating XRES2 using HMAC-SHA256).

[0186] AIoTF can obtain LTK-derived keys from ADM or AAA.

[0187] AIoTF can send RAND or RES, along with the device's security capabilities, to ADM or AAA, or send the device's security capabilities to ADM or AAA, and ADM or AAA can perform the above operations to generate XRES, XRES1, or XRES2.

[0188] Optionally, AIoTF can also send RES, RES1, or RES2 to ADM or AAA, which will then perform the above operations to generate XRES, XRES1, or XRES2. ADM or AAA will then send XRES, XRES1, or XRES2 to AIoTF, which will verify RES, RES1, or RES2 (determining whether XRES, XRES1, or XRES2 is the same as RES, RES1, or RES2); or, ADM or AAA will verify RES, RES1, or RES2 and send the verification result to AIoTF.

[0189] Optionally, AIoTF can perform the above operations to verify RES1 or RES2 based on the operation type.

[0190] Step 7: AIoTF sends an inventory response to AF;

[0191] Step 8: AIoTF selects the Confidentiality Algorithm and Integrity Algorithm based on the security capabilities of the AIoT Device (or the algorithm priority list), and sends the selected target algorithm information to the AIoT Device. Optionally, the hash value of the message in Step 5 can also be included (to prevent other information in the message from being tampered with).

[0192] The structure of the Command Request message sent by AIoTF to the AIoT Device can be any of the following:

[0193] Selected target algorithm information, container length, container information element identifier (Container IEI, i.e., container type), [Inventory Response Hash], Command body;

[0194] Selected target algorithm information, [Inventory Response Hash], container length, Container IEI, Command body.

[0195] AIoTF can partially encrypt information in the Command Request, where the selected target algorithm information is not encrypted, but the rest is encrypted; or, the selected target algorithm information and container length are not encrypted, but the rest is encrypted; or, the selected target algorithm information and [Inventory Response Hash] are not encrypted, but the rest is encrypted.

[0196] The Command body portion needs to be encrypted.

[0197] In some examples, if the selected Confidentiality Algorithm is not a null algorithm, the AIoTF partially encrypts the Command Request information, while the selected target algorithm information is not encrypted.

[0198] Step 9: The AIoT device sends a Command response to the AIoTF;

[0199] When an AIoT device receives a Command Request message, it learns the selected target algorithm and processes the Command Request based on that algorithm. For example, it might decrypt the encrypted portion of the Command Request, perform integrity protection verification, or, if the container length is not encrypted, generate a decryption key stream of the selected encryption algorithm based on the container length, and then decrypt the encrypted portion (such as the command body, or the Command body and Container IEI, etc.) based on the decryption key stream.

[0200] Step 10: AIoTF sends a Command response to AF.

[0201] In another embodiment, ADM or AAA provides the security capabilities of the AIoT Device to AioTF.

[0202] As shown in Figure 8, the interaction between the network side and the AIoT device includes the following steps:

[0203] Step 1: The application function (AF) sends an inventory / command request to the AIoTF;

[0204] Step 2: AIoTF sends an inventory / command request to the Radio Access Network (RAN) reader, which carries a random number (RAND);

[0205] Optionally, the inventory / command request message may also include indication information indicating the type of operation (e.g., whether it is an inventory or a command).

[0206] Step 3: The RAN Reader sends a paging message to the AIoT device, which carries a random number (RAND);

[0207] Step 4: The AIoT device generates RES based on LTK, RAND, and the security capabilities of the AIoT device (including algorithm information supported by the AIoT device, such as algorithm identifiers). Alternatively, the AIoT device generates RES1 based on LTK or a Key derived from LTK (i.e., the derived key mentioned above) and the security capabilities of the AIoT device (e.g., generating RES1 using HMAC-SHA256). Alternatively, the AIoT device generates RES2 based on LTK or a Key derived from LTK, RAND, and the security capabilities of the AIoT device (e.g., generating RES2 using HMAC-SHA256). Alternatively, the AIoT device generates RES2 based on LTK or a Key derived from LTK, RES, and the security capabilities of the AIoT device (e.g., generating RES2 using HMAC-SHA256).

[0208] AIoT devices can generate RES, RES1, or RES2 based on indication information using security capabilities as parameters, such as when the indication information indicates a Command operation type. Optionally, in addition to the above parameters, Device ID or Temp ID can also be used as parameters to generate RES, RES1, or RES2.

[0209] Step 5: If the instruction information indicates the Command operation type, the AIoT device can send any of the following to AIoTF based on the instruction information: RES; RES and RES1; RES, RES1 and RES2.

[0210] Optionally, to prevent messages from being tampered with, AIoT devices may send a hash value to AIoTF.

[0211] Step 6: AIoTF can obtain the security capabilities of the AIoT device from ADM or AAA and perform any of the following operations: generate XRES based on the security capabilities of LTK, RAND, and Device (including supported algorithm information, such as algorithm identifier); generate XRES1 based on the security capabilities of LTK or a Key derived from LTK and Device (e.g., generate XRES1 using HMAC-SHA256); generate XRES2 based on the security capabilities of LTK or a Key derived from LTK, RAND, and Device (e.g., generate XRES2 using HMAC-SHA256); generate XRES2 based on the security capabilities of LTK or a Key derived from LTK, RES, and Device (e.g., generate XRES2 using HMAC-SHA256).

[0212] AIoTF can obtain LTK-derived keys from ADM or AAA.

[0213] AIoTF can also send RAND or RES to ADM or AAA, which will then perform the above operations to generate XRES, XRES1, or XRES2.

[0214] Optionally, AIoTF can also send RES, RES1, or RES2 to ADM or AAA, which will then perform the above operations to generate XRES, XRES1, or XRES2. ADM or AAA will then send XRES, XRES1, or XRES2 to AIoTF, which will verify RES, RES1, or RES2 (determining whether XRES, XRES1, or XRES2 is the same as RES, RES1, or RES2); or, ADM or AAA will verify RES, RES1, or RES2 and send the verification result to AIoTF.

[0215] Optionally, AIoTF can perform the above operations to verify RES1 or RES2 based on the operation type.

[0216] Step 7: AIoTF sends an inventory response to AF;

[0217] Step 8: AIoTF selects the Confidentiality Algorithm and Integrity Algorithm based on the security capabilities of the AIoT Device (or the algorithm priority list), and sends the selected target algorithm information to the AIoT Device. Optionally, the hash value of the message in Step 5 can also be included (to prevent other information in the message from being tampered with).

[0218] The structure of the Command Request message sent by AIoTF to the AIoT Device can be any of the following:

[0219] Selected target algorithm information, container length, container type (Container IEI), [Inventory Response Hash], Command body;

[0220] Selected target algorithm information, [Inventory Response Hash], container length, Container IEI, Command body.

[0221] AIoTF can partially encrypt information in the Command Request, where the selected target algorithm information is not encrypted, but the rest is encrypted; or, the selected target algorithm information and container length are not encrypted, but the rest is encrypted; or, the selected target algorithm information and [Inventory Response Hash] are not encrypted, but the rest is encrypted.

[0222] The Command body portion needs to be encrypted.

[0223] In some examples, if the selected Confidentiality Algorithm is not a null algorithm, the AIoTF partially encrypts the Command Request information, while the selected target algorithm information is not encrypted.

[0224] Step 9: The AIoT device sends a Command response to the AIoTF;

[0225] When an AIoT device receives a Command Request message, it learns the selected target algorithm and processes the Command Request based on that algorithm. For example, it might decrypt the encrypted portion of the Command Request, perform integrity verification, or, if the container length is not encrypted, generate a decryption key stream of the selected encryption algorithm based on the container length, and then decrypt the encrypted portion (such as the Command body, or the Command body and Container IEI, etc.) based on this key stream.

[0226] Step 10: AIoTF sends a Command response to AF.

[0227] The communication method provided in this application can be executed by a communication device. This application uses the example of a communication device executing the communication method to illustrate the communication device provided in this application.

[0228] This application provides a communication device, as shown in FIG9, including:

[0229] The first sending module 11 is used to send first information to a communication device. The first information includes a first command and target algorithm information. The target algorithm information is used to protect the communication between the communication device and the network. The target algorithm includes at least one of a confidentiality protection algorithm and an integrity protection algorithm.

[0230] The network in question is the network to which the first network function belongs.

[0231] In some embodiments, the type of the first command includes any of the following:

[0232] Read operations, write operations, and command operations;

[0233] The communication device is an environmental Internet of Things (AIoT) device.

[0234] In some embodiments, the first sending module 11 is also used to send an inventory request and receive an inventory report sent by the communication device.

[0235] In some embodiments, where the target algorithm includes a confidentiality protection algorithm, the apparatus further includes a processing module for performing any of the following:

[0236] The first information is encrypted based on the confidentiality protection algorithm described above;

[0237] The fourth information is encrypted based on the confidentiality protection algorithm, and the fourth information is contained within the first information;

[0238] Wherein, at least the target algorithm information or the confidentiality protection algorithm information is not encrypted, or the fourth information does not include the target algorithm information or the confidentiality protection algorithm information.

[0239] In some embodiments, the first sending module 11 is further configured to perform at least one of the following:

[0240] Upon receiving the response information of the first command sent by the communication device, perform at least one of the following: decrypt the response information based on the confidentiality protection algorithm; verify the response information based on the integrity protection algorithm;

[0241] Send a second command to the communication device, and protect the second command based on at least one of the following: encrypt the second command based on the confidentiality protection algorithm; generate a checksum of the second command based on the integrity protection algorithm;

[0242] Upon receiving the response information of the second command sent by the communication device, perform at least one of the following: decrypt the response information based on the confidentiality protection algorithm; verify the response information based on the integrity protection algorithm.

[0243] In some embodiments, the first sending module 11 is further configured to receive second information from a second network function, wherein the second information includes the first command and the target algorithm information.

[0244] In some embodiments, the first sending module 11 is further configured to receive security capability information of the communication device sent by a third network function; and to receive third information from the communication device, the third information including security capability information.

[0245] In some embodiments, the third information further includes hash information, and the first sending module 11 is further configured to verify the hash information based on the security capability information, or the security capability information and at least one of the following: long-term key, derived key, first challenge information, and second challenge information;

[0246] Verify the hash information based on the expected information;

[0247] The derived key is generated based on a long-term key;

[0248] The first challenge information is sent to the communication device by the first network function;

[0249] The second challenge information is sent by the communication device.

[0250] In some embodiments, the first sending module 11 is further configured to receive the desired information sent by the second network function or the third network function;

[0251] The desired information is generated based on the security capability information, or the security capability information and at least one of the following: long-term key, derived key, first challenge information, and second challenge information.

[0252] In some embodiments, the first sending module 11 is further configured to send the security capability information to the third network function, so that the third network function can generate the desired information based on the security capability information.

[0253] This application provides a communication device, as shown in FIG10, including:

[0254] Receiving module 21 is configured to receive first information sent by the first network function. The first information includes a first command and target algorithm information. The target algorithm information is used to protect the communication between the communication device and the network. The target algorithm includes at least one of confidentiality protection algorithm and integrity protection algorithm.

[0255] The network in question is the network to which the first network function belongs.

[0256] In some embodiments, the type of the first command includes any of the following:

[0257] Read operations, write operations, and command operations;

[0258] The communication device is an environmental Internet of Things (AIoT) device.

[0259] In some embodiments, the receiving module 21 is further configured to receive an inventory request sent by the first network function and send an inventory report to the first network function.

[0260] In some embodiments, where the target algorithm includes a confidentiality protection algorithm, the communication device further includes a second processing module for performing any of the following:

[0261] The encrypted portion of the first information is decrypted based on the confidentiality protection algorithm described above;

[0262] The fourth information is decrypted based on the confidentiality protection algorithm, and the fourth information is contained in the first information;

[0263] Wherein, at least the target algorithm information or the confidentiality protection algorithm information is not encrypted, or the fourth information does not include the target algorithm information or the confidentiality protection algorithm information.

[0264] In some embodiments, the receiving module 21 is further configured to send third information to the first network function, the third information including security capability information.

[0265] In some embodiments, the receiving module 21 is further configured to generate hash information based on at least one of the following: a long-term key, a derived key, a first challenge information, a second challenge information, and the security capability information;

[0266] The third information includes the hash information;

[0267] The derived key is generated based on a long-term key;

[0268] The first challenge information is sent to the communication device by the first network function;

[0269] The second challenge information is sent by the communication device.

[0270] In some embodiments, the receiving module 21 is specifically used to send the third information to the first network function based on the indication information;

[0271] The instruction information is received from the network and is used to instruct subsequent command operations.

[0272] In some embodiments, the receiving module 21 is further configured to perform at least one of the following:

[0273] The response information for sending the first command to the first network function is based on at least one of the following: encrypting the response information based on the confidentiality protection algorithm; generating a checksum for the response information based on the integrity protection algorithm;

[0274] Receive a second command sent by the first network function, and process the second command based on at least one of the following: decrypt the second command based on the confidentiality protection algorithm; verify the second command based on the integrity protection algorithm;

[0275] The response information sent to the first network function based on at least one of the following: encrypting the response information based on the confidentiality protection algorithm; generating a checksum of the response information based on the integrity protection algorithm.

[0276] This application provides a communication device, as shown in FIG11, including:

[0277] The second sending module 31 is configured to perform at least one of the following:

[0278] Send security capability information of the communication device to the first network function or the second network function;

[0279] Send the desired information to the first network function or the second network function;

[0280] The desired information is generated based on the security capability information of the communication device.

[0281] In some embodiments, the second sending module 31 is further configured to receive security capability information of the communication device from a first network function or a second network function, and generate the desired information based on at least one of the following of the communication device and the security capability information:

[0282] Long-term key, derived key, first challenge information, second challenge information;

[0283] The derived key is generated based on a long-term key;

[0284] The first challenge information is sent to the communication device by the first network function;

[0285] The second challenge information is sent by the communication device.

[0286] This application provides a communication device, as shown in FIG12, including:

[0287] The third sending module 41 is used to send second information to the first network function, wherein the second information includes a first command and target algorithm information, the target algorithm information is used to protect the communication between the communication device and the network, and the target algorithm includes at least one of confidentiality protection algorithm and integrity protection algorithm;

[0288] The network in question is the network to which the first network function belongs.

[0289] In some embodiments, the type of the first command includes any of the following:

[0290] Read operations, write operations, and command operations;

[0291] The communication device is an environmental Internet of Things (AIoT) device.

[0292] In some embodiments, the third sending module 41 is further configured to send expected information to the first network function, the expected information being generated based on the security capability information of the communication device.

[0293] In some embodiments, the third sending module 41 is further configured to perform any of the following:

[0294] Receive security capability information of the communication device sent by a third network function;

[0295] Receive the desired information sent by the third network function.

[0296] In some embodiments, the third sending module 41 is also used to send the security capability information of the communication device to the third network function.

[0297] This application provides a communication device. As an example, the communication device may be a communication equipment or a component within a communication equipment, such as a chip. The communication equipment may be a terminal, a network-side device, or a server, etc. Exemplarily, the terminal may include, but is not limited to, the types of terminals listed above, and the network-side device may include, but is not limited to, the types of network-side devices listed above. This application does not impose specific limitations.

[0298] The communication device includes a receiving module, a transmitting module, and a processing module. These modules can be implemented in software or hardware. When implemented in hardware, the processing module can be implemented by a processor. For example, the processor can include general-purpose processors, special-purpose processors, etc., such as central processing units (CPUs), microprocessors, digital signal processors (DSPs), artificial intelligence (AI) processors, graphics processing units (GPUs), application-specific integrated circuits (ASICs), network processors (NPs), field-programmable gate arrays (FPGAs), or other programmable logic devices, gate circuits, transistors, discrete hardware components, etc. The receiving and transmitting modules can be implemented by a communication interface, which can include one or more of the following: transceivers, pins, circuits, buses, radio frequency units, etc.

[0299] The communication device provided in this application embodiment can implement the various processes implemented in the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.

[0300] As shown in Figure 13, this application embodiment also provides a communication device 500, including a processor 501 and a memory 502. The memory 502 stores programs or instructions that can run on the processor 501. For example, when the communication device 500 is a terminal, the program or instructions executed by the processor 501 implement the various steps of the above-described communication method embodiment and achieve the same technical effect. When the communication device 500 is a network-side device, the program or instructions executed by the processor 501 implement the various steps of the above-described communication method embodiment and achieve the same technical effect. To avoid repetition, further details are omitted here.

[0301] This application also provides a communication device, including a processor and a communication interface. The communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the steps in the method embodiments shown above. This communication device embodiment corresponds to the above-described communication device-side method embodiments. All implementation processes and methods of the above-described method embodiments can be applied to this communication device embodiment and achieve the same technical effects. Specifically, Figure 14 is a schematic diagram of the hardware structure of a communication device implementing an embodiment of this application.

[0302] The communication device 600 includes, but is not limited to, at least some of the following components: radio frequency unit 601, network module 602, audio output unit 603, input unit 604, sensor 605, display unit 606, user input unit 607, interface unit 608, memory 609, and processor 610.

[0303] Those skilled in the art will understand that the communication device 600 may also include a power supply (such as a battery) for powering various components. The power supply can be logically connected to the processor 610 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The communication device structure shown in Figure 14 does not constitute a limitation on the communication device. The communication device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0304] It should be understood that, in this embodiment, the input unit 604 may include a graphics processor 6041 and a microphone 6042. The graphics processor 6041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 606 may include a display panel 6061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 607 includes at least one of a touch panel 6071 and other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 may include two parts: a touch detection device and a touch controller. Other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, power buttons, etc.), a trackball, a mouse, and a joystick, which will not be described in detail here.

[0305] In this embodiment, after receiving downlink data from the network-side device, the radio frequency unit 601 can transmit it to the processor 610 for processing; in addition, the radio frequency unit 601 can send uplink data to the network-side device. Typically, the radio frequency unit 601 includes, but is not limited to, antennas, amplifiers, transceivers, couplers, low-noise amplifiers, duplexers, etc.

[0306] The memory 609 can be used to store software programs or instructions, as well as various data. The memory 609 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 609 may include volatile memory or non-volatile memory. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 609 in this embodiment includes, but is not limited to, these and any other suitable types of memory.

[0307] Processor 610 may include one or more processing units; optionally, processor 610 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 610.

[0308] It is understood that the implementation process of each implementation method mentioned in this embodiment can refer to the relevant description of the method embodiment and achieve the same or corresponding technical effect. To avoid repetition, it will not be described again here.

[0309] This application also provides a network-side device, including a processor and a communication interface. The communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the steps of the method embodiment shown above. This network-side device embodiment corresponds to the above-described network-side device method embodiment. All implementation processes and methods of the above-described method embodiments can be applied to this network-side device embodiment and achieve the same technical effects.

[0310] Specifically, this application embodiment also provides a network-side device. As shown in FIG15, the network-side device 700 includes: an antenna 71, a radio frequency device 72, a baseband device 73, a processor 74, and a memory 75. The antenna 71 is connected to the radio frequency device 72. In the uplink direction, the radio frequency device 72 receives information through the antenna 71 and sends the received information to the baseband device 73 for processing. In the downlink direction, the baseband device 73 processes the information to be transmitted and sends it to the radio frequency device 72, which processes the received information and then transmits it through the antenna 71.

[0311] The method executed by the network-side device in the above embodiments can be implemented in the baseband device 73, which includes a baseband processor.

[0312] The baseband device 73 may include at least one baseband board, on which multiple chips are disposed, as shown in FIG15. One of the chips is, for example, a baseband processor, which is connected to the memory 75 via a bus interface to call the program or instructions in the memory 75 to execute the network-side device operation shown in the above method embodiment.

[0313] The network-side device may also include a network interface 76, such as a Common Public Radio Interface (CPRI).

[0314] In addition, the network-side device 700 in this application embodiment also includes: a program or instructions stored in the memory 75 and executable on the processor 74. The processor 74 calls the program or instructions in the memory 75 to execute the methods executed by each module of the network-side device and achieve the same technical effect. To avoid repetition, it will not be described in detail here.

[0315] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described communication method embodiments and achieve the same technical effects. To avoid repetition, they will not be described again here.

[0316] The processor mentioned above is either the processor in the communication device described in the above embodiments or the processor in the network-side device. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk. In some examples, the readable storage medium may be a non-transient readable storage medium.

[0317] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described communication method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

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

[0319] This application also provides a computer program / program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described communication method embodiments, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0320] This application also provides a wireless communication system, including: a communication device and a network-side device, wherein the communication device can be used to perform the steps of the communication method described above, and the network-side device can be used to perform the steps of the communication method described above.

[0321] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0322] From the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of a computer software product plus the necessary general-purpose hardware platform, and of course, they can also be implemented by hardware. The computer software product is stored in a storage medium (such as ROM, RAM, magnetic disk, optical disk, etc.), and the computer software product includes several instructions to cause the communication device or network-side device to execute the methods described in the various embodiments of this application.

[0323] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other implementations under the guidance of this application without departing from the spirit and scope of the claims. All of these implementations are within the protection scope of this application.

Claims

1. A communication method, comprising: A first network function sends first information to a communication device. The first information includes a first command and target algorithm information. The target algorithm information is used to protect the communication between the communication device and the network. The target algorithm includes at least one of a confidentiality protection algorithm and an integrity protection algorithm. The network in question is the network to which the first network function belongs.

2. The communication method according to claim 1, wherein the type of the first command includes any one of the following: Read operations, write operations, command operations; in, The communication device is an environmental Internet of Things (AIoT) device.

3. The communication method according to claim 1 or 2, wherein before the first network function sends the first information to the communication device, the method further includes: The first network function sends an inventory request; The first network function receives the inventory report sent by the communication device.

4. The communication method according to any one of claims 1 to 3, wherein when the target algorithm includes a confidentiality protection algorithm, the method further comprises any one of the following: The first network function encrypts the first information based on the confidentiality protection algorithm. The first network function encrypts the fourth information based on the confidentiality protection algorithm, and the fourth information is contained within the first information; in, At least the target algorithm information or the confidentiality protection algorithm information is not encrypted, or the fourth information does not include the target algorithm information or the confidentiality protection algorithm information.

5. The communication method according to any one of claims 1 to 4, further comprising at least one of the following: The first network function receives the response information of the first command sent by the communication device, and the first network function performs at least one of the following: decrypts the response information based on the confidentiality protection algorithm; The response information is verified based on the integrity protection algorithm described above; The first network function sends a second command to the communication device, and the first network function protects the second command based on at least one of the following: encrypting the second command based on the confidentiality protection algorithm; The verification code for the second command is generated based on the integrity protection algorithm. The first network function receives the response information of the second command sent by the communication device, and the first network function performs at least one of the following: decrypts the response information based on the confidentiality protection algorithm; The response information is verified based on the integrity protection algorithm.

6. The communication method according to any one of claims 1 to 5, wherein before the first network function sends the first information to the communication device, the method further comprises: The first network function receives second information from the second network function, wherein the second information includes the first command and the target algorithm information.

7. The communication method according to any one of claims 1 to 6, wherein before the first network function sends the first information to the communication device, the method further comprises at least one of the following: The first network function receives the security capability information of the communication device sent by the third network function; The first network function receives third information from the communication device, the third information including security capability information.

8. The communication method according to claim 7, wherein the third information further includes hash information, and the method further includes at least one of the following: The first network function verifies the hash information based on the security capability information, or the security capability information and at least one of the following: long-term key, derived key, first challenge information, and second challenge information; The first network function verifies the hash information based on the expected information; in, The derived key is generated based on the long-term key; The first challenge information is sent to the communication device by the first network function; The second challenge information is sent by the communication device.

9. The communication method according to claim 8, further comprising any one of the following: Receive the desired information sent by the second or third network function; The desired information is generated based on the security capability information, or the security capability information and at least one of the following: long-term key, derived key, first challenge information, and second challenge information.

10. The communication method of claim 9, wherein before receiving the desired information sent by the third network function, the method further comprises: The first network function sends the security capability information to the third network function, which then generates the desired information based on the security capability information.

11. A communication method, comprising: The communication device receives first information sent by a first network function. The first information includes a first command and target algorithm information. The target algorithm information is used to protect the communication between the communication device and the network. The target algorithm includes at least one of a confidentiality protection algorithm and an integrity protection algorithm. The network in question is the network to which the first network function belongs.

12. The communication method according to claim 11, wherein the type of the first command includes any one of the following: Read operations, write operations, command operations; The communication device is an environmental Internet of Things (AIoT) device.

13. The communication method according to claim 11 or 12, wherein before the communication device receives the first information sent by the first network function, the method further comprises: The communication device receives the inventory request sent by the first network function; The communication device sends an inventory report to the first network function.

14. The communication method according to any one of claims 11 to 13, wherein when the target algorithm includes a confidentiality protection algorithm, the method comprises any one of the following: The communication device decrypts the encrypted portion of the first information based on the confidentiality protection algorithm; The communication device decrypts the fourth information based on the confidentiality protection algorithm, and the fourth information is contained in the first information; in, At least the target algorithm information or the confidentiality protection algorithm information is not encrypted, or the fourth information does not include the target algorithm information or the confidentiality protection algorithm information.

15. The communication method according to any one of claims 11 to 14, wherein before the communication device receives the first information sent by the first network function, the method further comprises: The communication device sends third information to the first network function, the third information including security capability information.

16. The communication method according to claim 15, further comprising: The communication device generates hash information based on at least one of the following: a long-term key, a derived key, a first challenge information, a second challenge information, and the security capability information; The third information includes the hash information; The derived key is generated based on a long-term key; The first challenge information is sent to the communication device by the first network function; The second challenge information is sent by the communication device.

17. The communication method according to claim 15 or 16, wherein the communication device sends third information to the first network function, comprising: The communication device sends the third information to the first network function based on the instruction information; The instruction information is received from the network and is used to instruct subsequent command operations.

18. The communication method according to any one of claims 11 to 17, further comprising at least one of the following: The communication device sends a response message to the first network function based on at least one of the following: encrypting the response message based on the confidentiality protection algorithm; The checksum of the response information is generated based on the integrity protection algorithm. The communication device receives a second command sent by the first network function and processes the second command based on at least one of the following: decrypting the second command based on the confidentiality protection algorithm; The second command is verified based on the integrity protection algorithm described above; The communication device sends a response message to the first network function based on at least one of the following: encrypting the response message based on the confidentiality protection algorithm; The integrity protection algorithm is used to generate a checksum for the response information.

19. A communication method comprising at least one of the following: The third network function sends security capability information of the communication device to the first network function or the second network function; The third network function sends the desired information to the first or second network function. in, The desired information is generated based on the security capability information of the communication device.

20. The communication method according to claim 19, wherein before the communication device sends the desired information to the first network function or the second network function, the method further comprises: The third network function receives security capability information of the communication device from the first network function or the second network function, and generates the desired information based on at least one of the following of the communication device and the security capability information: Long-term key, derived key, first challenge information, second challenge information; The derived key is generated based on a long-term key; The first challenge information is sent to the communication device by the first network function; The second challenge information is sent by the communication device.

21. A communication method, comprising: The second network function sends second information to the first network function, wherein the second information includes a first command and target algorithm information, the target algorithm information being used to protect communication between the communication device and the network, and the target algorithm including at least one of a confidentiality protection algorithm and an integrity protection algorithm; The network in question is the network to which the first network function belongs.

22. The communication method according to claim 21, wherein the type of the first command includes any one of the following: Read operations, write operations, command operations; in, The communication device is an environmental Internet of Things (AIoT) device.

23. The communication method according to claim 21 or 22, further comprising: The second network function sends desired information to the first network function, the desired information being generated based on the security capability information of the communication device.

24. The communication method according to any one of claims 21 to 23, further comprising any one of the following: The second network function receives the security capability information of the communication device sent by the third network function; The second network function receives the desired information sent by the third network function.

25. The communication method of claim 24, wherein before the second network function receives the desired information sent by the third network function, the method further comprises: The second network function sends the security capability information of the communication device to the third network function.

26. A communication device applied to a first network function, comprising: A first sending module is configured to send first information to a communication device. The first information includes a first command and target algorithm information. The target algorithm information is used to protect the communication between the communication device and the network. The target algorithm includes at least one of a confidentiality protection algorithm and an integrity protection algorithm. The network in question is the network to which the first network function belongs.

27. The communication apparatus of claim 26, wherein the type of the first command includes any one of the following: Read operations, write operations, command operations; in, The communication device is an environmental Internet of Things (AIoT) device.

28. A communication device, applied to a communication equipment, comprising: A receiving module is configured to receive first information sent by a first network function. The first information includes a first command and target algorithm information. The target algorithm information is used to protect the communication between the communication device and the network. The target algorithm includes at least one of a confidentiality protection algorithm and an integrity protection algorithm. The network in question is the network to which the first network function belongs.

29. A communication device for a second network function, comprising: The second sending module is configured to perform at least one of the following: Send security capability information of the communication device to the first network function or the second network function; Send the desired information to the first network function or the second network function; The desired information is generated based on the security capability information of the communication device.

30. A communication device for use in a third network function, comprising: The third sending module is used to send second information to the first network function, wherein the second information includes a first command and target algorithm information, the target algorithm information is used to protect the communication between the communication device and the network, and the target algorithm includes at least one of confidentiality protection algorithm and integrity protection algorithm; The network in question is the network to which the first network function belongs.

31. A communication device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the communication method as claimed in any one of claims 11 to 18.

32. A network-side device, comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the communication method as claimed in any one of claims 1 to 10, or the steps of the communication method as claimed in any one of claims 19 to 20, or the steps of the communication method as claimed in any one of claims 21 to 25.

33. A readable storage medium having a program or instructions stored thereon, which, when executed by a processor, implement the steps of the communication method as claimed in any one of claims 1 to 10, or the steps of the communication method as claimed in any one of claims 11 to 18, or the steps of the communication method as claimed in any one of claims 19 to 20, or the steps of the communication method as claimed in any one of claims 21 to 25.