Authentication method, authentication apparatus, communication device and readable storage medium
By using authentication methods and devices in the 3GPP system, and using access network equipment and core network equipment to manage security parameters, the problem of tag device authentication in an untrusted environment is solved, and security authentication of tag devices and information transmission security are achieved. sex.
Patent Information
- Application Number
- PCT/CN2024/083454
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-31
- Filing Date
- 2024-03-25
- Publication Date
- 2024-10-03
AI Technical Summary
In 3GPP-related communication systems, how to authenticate tag devices and how tag devices authenticate UE or RAN as readers and writers is an urgent problem to be solved, because the identification/authentication scheme in RFID technology cannot be directly applied, especially because the UE Or the RAN acts as an untrusted node, causing difficulties in the identity authentication process of the tag device.
An authentication method and device are provided, including the access network equipment, terminal or core network equipment sending an authentication command, including the security parameters of the tag device, the tag device or reader/writer device performs authentication based on these parameters, and the core network device Store and manage security parameters when necessary to ensure the credibility of access network equipment or terminals.
It realizes the security authentication process of tag devices in the 3GPP system, ensures that information transmission between reader devices and tag devices is carried out in safe mode, and solves the problem of how tag devices can be effectively authenticated in untrusted environments.
Smart Images

Figure CN2024083454_03102024_PF_FP_ABST
Abstract
Description
Authentication method, authentication device, communication equipment and readable storage medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to Chinese Patent Application No. 202310350033.8 filed in China on March 31, 2023, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present application belongs to the field of wireless communication technology, and specifically relates to an authentication method, an authentication device, a communication device, and a readable storage medium. Background Art
[0004] Future 3rd Generation Partnership Project (3GPP)-related communication systems will support a new Internet of Things (IoT) technology, in which user equipment (UE, also known as a terminal) or radio access network (RAN) can act as a reader to transmit tag data.
[0005] In Radio Frequency Identification (RFID) technology, information transmission between a reader and a tag operates in a secure mode. For tags operating in secure mode, an authentication process must first be performed. Specifically, this process typically involves verifying the identity of the reader and / or tag. This process allows information transmission between the reader and tag to be performed only after confirming the legitimacy of the tag's identity. The RFID protocol supports the following three types of authentication:
[0006] One-way authentication between the tag and the reader is used to verify whether the reader has passed the authentication, that is, whether the identity of the reader is legal;
[0007] The reader performs one-way authentication on the tag, which is used to verify whether the tag has passed the authentication, that is, whether the tag's identity is legal;
[0008] Bidirectional authentication is used for the tag to verify whether the reader is authenticated and the reader to verify whether the tag is authenticated, that is, whether the identity of the reader is legal and whether the identity of the tag is legal.
[0009] However, the identification / authentication scheme in the above-mentioned RFID technology cannot be fully applied to 3GPP-related communication systems. The main reason is that in the RFID technology solution, the legitimacy of the tag identity is directly verified by the reader / writer. However, after migration to 3GPP-related communication systems, the reader / writer may be implemented based on the UE or RAN. However, in the 3GPP system, the UE or RAN itself is also an untrusted node.
[0010] Therefore, in 3GPP-related communication systems, how to authenticate tags and how tags authenticate UE or RAN as readers are urgent issues to be resolved.
[0011] Summary of the Invention
[0012] The embodiments of the present application provide an authentication method, an authentication apparatus, a communication device, and a readable storage medium, which can solve the problem of how to authenticate a tag in a 3GPP system and how the tag authenticates a UE or RAN as a reader / writer.
[0013] In a first aspect, a tag device authentication method is provided, the method comprising:
[0014] The first device sends a first authentication command, where the first authentication command is used for authenticating the tag device and includes configuration information of security parameters of the tag device; wherein the first device is an access network device, a terminal, or a core network device;
[0015] The first device receives a first response, where the first response includes: first authentication information of the tag device;
[0016] The first device determines whether the tag device passes authentication according to the configuration information of the security parameters and the first authentication information of the tag device.
[0017] In a second aspect, a tag device authentication method is provided, the method comprising:
[0018] The tag device receives a first authentication command sent by a first device, where the first authentication command is used for authenticating the tag device and includes configuration information of security parameters of the tag device; the first device is an access network device, a terminal, or a core network device;
[0019] The tag device sends a first response to the first device according to the first authentication command, where the first response includes first authentication information of the tag device.
[0020] In a third aspect, a reader / writer device authentication method is provided, comprising:
[0021] The first device sends a second authentication command, which is used for authenticating the reader device. The second authentication command includes configuration information of security parameters of the tag device and third authentication information of the reader device. The first device is the reader device or a core network device, and the reader device is an access network device or a terminal.
[0022] The first device receives a second response, where the second response includes an authentication result indicating whether the reader / writer device has passed or failed authentication.
[0023] In a fourth aspect, a reader-writer device authentication method is provided, comprising:
[0024] The tag device receives a second authentication command sent by the first device, where the second authentication command is used to authenticate the reader device, and the second authentication command includes configuration information of security parameters of the tag device and third authentication information of the reader device; wherein the first device is the reader device or a core network device, and the reader device is an access network device or a terminal;
[0025] The tag device determines whether the reader device passes the authentication according to the second authentication command.
[0026] In a fifth aspect, a security authentication method is provided, the method comprising:
[0027] The core network device receives a request sent by a reader device, wherein the request includes identification information of the tag device and / or a second input parameter for calculating authentication information of the reader device; the reader device is an access network device or a terminal;
[0028] The core network device sends the security parameters of the tag device and / or the third authentication information of the reader device to the reader device, wherein the third authentication information is determined by the core network device through calculation based on the security parameters of the tag device and the second input parameter.
[0029] In a sixth aspect, an authentication device for a tag device is provided, comprising:
[0030] A first sending module is configured to send a first authentication command, where the first authentication command is used to authenticate a tag device, and the first authentication command includes configuration information of security parameters of the tag device; wherein the authentication device of the tag device is an access network device, a terminal, or a core network device;
[0031] A first receiving module is configured to receive a first response, where the first response includes: first authentication information of the tag device;
[0032] The first determining module is configured to determine whether the tag device passes authentication according to the configuration information of the security parameters and the first authentication information of the tag device.
[0033] In a seventh aspect, an authentication device for a tag device is provided, comprising:
[0034] A first receiving module is configured to receive a first authentication command sent by a first device, where the first authentication command is used to authenticate the tag device and includes configuration information of security parameters of the tag device; the first device is an access network device, a terminal, or a core network device;
[0035] The first sending module is configured to send a first response to the first device according to the first authentication command, where the first response includes first authentication information of the tag device.
[0036] In an eighth aspect, an authentication device for a reader / writer device is provided, comprising:
[0037] A first sending module is configured to send a second authentication command, the second authentication command being used for authenticating a reader / writer device, the second authentication command including configuration information of security parameters of a tag device and third authentication information of the reader / writer device; wherein the authentication device of the reader / writer device is the reader / writer device or a core network device, and the reader / writer device is an access network device or a terminal;
[0038] The first receiving module is configured to receive a second response, where the second response includes an authentication result indicating whether the reader / writer device has passed or failed authentication.
[0039] In a ninth aspect, an authentication device for a reader / writer device is provided, comprising:
[0040] a first receiving module, configured to receive a second authentication command sent by a first device, the second authentication command being used for authenticating a reader / writer device, the second authentication command including configuration information of security parameters of the tag device and third authentication information of the reader / writer device; wherein the first device is the reader / writer device or a core network device, and the reader / writer device is an access network device or a terminal;
[0041] The first determination module is configured to determine whether the reader / writer device passes the authentication according to the second authentication command.
[0042] In a tenth aspect, a security authentication device is provided, comprising:
[0043] A first receiving module is configured to receive a request sent by a reader / writer device, wherein the request includes identification information of a tag device and / or a second input parameter for calculating authentication information of the reader / writer device; the reader / writer device is an access network device or a terminal;
[0044] The first sending module is used to send the security parameters of the tag device and / or the third authentication information of the reader device to the reader device, wherein the third authentication information is determined by the core network device through calculation based on the security parameters of the tag device and the second input parameter.
[0045] In the eleventh aspect, a communication device is provided, which terminal includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect, the second aspect, the third aspect, the fourth aspect or the fifth aspect are implemented.
[0046] In the twelfth aspect, a first device is provided, including a processor and a communication interface, wherein the communication interface is used to send a first authentication command, the first authentication command is used for authenticating the tag device, and the first authentication command includes configuration information of security parameters of the tag device; wherein the first device is an access network device, a terminal or a core network device; a first response is received, and the first response includes: first authentication information of the tag device; the processor is used to determine whether the tag device has passed the authentication based on the configuration information of the security parameters and the first authentication information of the tag device.
[0047] In the thirteenth aspect, a tag device is provided, comprising a processor and a communication interface, wherein the communication interface is used to receive a first authentication command sent by a first device, the first authentication command is used for authenticating the tag device, and the first authentication command includes configuration information of security parameters of the tag device; the first device is an access network device, a terminal or a core network device; according to the first authentication command, a first response is sent to the first device, and the first response includes first authentication information of the tag device.
[0048] In the fourteenth aspect, a first device is provided, comprising a processor and a communication interface, wherein the communication interface is used to send a second authentication command, the second authentication command is used for authenticating a reader / writer device, the second authentication command includes configuration information of security parameters of a tag device and third authentication information of the reader / writer device; wherein the first device is the reader / writer device or a core network device, and the reader / writer device is an access network device or a terminal; a second response is received, and the second response includes: an authentication result of whether the reader / writer device passes or fails authentication.
[0049] In the fifteenth aspect, a tag device is provided, comprising a processor and a communication interface, wherein the communication interface is used to receive a request sent by a reader / writer device, the request including identification information of the tag device and / or a second input parameter for calculating authentication information of the reader / writer device; the reader / writer device is an access network device or a terminal; the processor is used to send the security parameters of the tag device and / or the third authentication information of the reader / writer device to the reader / writer device, wherein the third authentication information is determined by the core network device through calculation based on the security parameters of the tag device and the second input parameter.
[0050] In the sixteenth aspect, a core network device is provided, comprising a processor and a communication interface, wherein the communication interface is used to receive a first request sent by a first device for obtaining security parameters, the first request including identification information of a tag device; the first device is a reader / writer device, and the reader / writer device is an access network device or a terminal; when it is determined that the first device is a trusted device, the security parameters of the tag device are sent to the first device.
[0051] In the seventeenth aspect, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect, the second aspect, the third aspect, the fourth aspect or the fifth aspect are implemented.
[0052] In aspect 18, a wireless communication system is provided, comprising: a first device and a tag device, wherein the first device can be used to perform the steps of the method described in aspect 1, and the tag device can be used to perform the steps of the method described in aspect 2, or the first device can be used to perform the steps of the method described in aspect 3, and the tag device can be used to perform the steps of the method described in aspect 4.
[0053] In the nineteenth aspect, a wireless communication system is provided, including: a first device, a tag device and a core network device, wherein the first device can be used to execute the steps of the method described in the first aspect, the tag device can be used to execute the steps of the method described in the second aspect, and the core network device can be used to execute the steps of the method described in the fifth aspect.
[0054] In the twentieth aspect, a wireless communication system is provided, including: a first device, a tag device and a core network device, wherein the first device can be used to execute the steps of the method described in the third aspect, the tag device can be used to execute the steps of the method described in the fourth aspect, and the core network device can be used to execute the steps of the method described in the fifth aspect.
[0055] In the twenty-first aspect, a chip is provided, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method described in the first aspect, the second aspect, the third aspect, the fourth aspect or the fifth aspect.
[0056] In aspect 22, a computer program / program product is provided, which is stored in a storage medium and executed by at least one processor to implement the steps of the method described in aspect 1, aspect 2, aspect 3, aspect 4 or aspect 5.
[0057] In the embodiments of the present application, the process of how to authenticate a tag device in a wireless communication system and the process of how the tag device authenticates the UE or RAN as a reader / writer device are clarified, so that the information transmission between the reader / writer device and the tag device works in a secure mode. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] FIG1 is a block diagram of a wireless communication system applicable to embodiments of the present application;
[0059] Figure 2 is a schematic diagram of a UE acting as a reader to transmit data from an Ambient IoT tag to an Ambient IoT app.
[0060] Figure 3 is a schematic diagram of RAN acting as a reader to transmit data from an Ambient IoT tag to an Ambient IoT app.
[0061] FIG4 is a flow chart of a method for authenticating a tag device according to an embodiment of the present application;
[0062] FIG5 is a second flow chart of the authentication method of the tag device according to an embodiment of the present application;
[0063] FIG6 is a flowchart of a method for authenticating a reader / writer device according to an embodiment of the present application;
[0064] FIG7 is a second flow chart of the authentication method for the reader / writer device according to an embodiment of the present application;
[0065] FIG8 is a schematic diagram of a flow chart of a security authentication method according to an embodiment of the present application;
[0066] FIG9 is a flow chart of an authentication method for a tag device according to the first embodiment of the present application;
[0067] FIG10 is a flow chart of an authentication method for a tag device according to a second embodiment of the present application;
[0068] FIG11 is a flow chart of an authentication method for a reader / writer device according to a third embodiment of the present application;
[0069] FIG12 is a flow chart of an authentication method for a reader / writer device according to a fourth embodiment of the present application;
[0070] FIG13 is a flow chart of a two-way authentication method according to a fifth embodiment of the present application;
[0071] FIG14 is a flow chart of a two-way authentication method according to a sixth embodiment of the present application;
[0072] FIG15 is a flow chart of an authentication method for a tag device according to a seventh embodiment of the present application;
[0073] FIG16 is a flow chart of an authentication method for a reader / writer device according to an eighth embodiment of the present application;
[0074] FIG17 is a flow chart of a method for two-way authentication according to a ninth embodiment of the present application;
[0075] FIG18 is a schematic diagram of a structure of an authentication device of a tag device according to an embodiment of the present application;
[0076] FIG19 is a second structural diagram of the authentication device of the tag device according to an embodiment of the present application;
[0077] FIG20 is a schematic diagram of a structure of an authentication device of a reader / writer device according to an embodiment of the present application;
[0078] FIG21 is a second structural diagram of the authentication device of the reader / writer device according to an embodiment of the present application;
[0079] FIG22 is a schematic structural diagram of a security authentication device according to an embodiment of the present application;
[0080] FIG23 is a schematic structural diagram of a communication device according to an embodiment of the present application;
[0081] FIG24 is a schematic diagram of the hardware structure of a terminal according to an embodiment of the present application;
[0082] FIG25 is a schematic diagram of a hardware structure of a network-side device according to an embodiment of the present application;
[0083] FIG26 is a second schematic diagram of the hardware structure of the network side device according to an embodiment of the present application. DETAILED DESCRIPTION
[0084] The following will be combined with the accompanying drawings in the embodiments of this application to clearly describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.
[0085] The terms "first", "second", etc. in this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of the same type, and do not limit the number of objects, for example, the first object can be one or more. In addition, "or" in this application represents at least one of the connected objects. For example, "A or B" covers three options, namely, Option 1: including A but not including B; Option 2: including B but not including A; Option 3: including both A and B. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.
[0086] The term "indication" in this application can be either a direct indication (or explicit indication) or an indirect indication (or implicit indication). A direct indication can be understood as the sender explicitly informing the receiver of specific information, the operation to be performed, or the requested result, etc. in the instruction sent; an indirect indication 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 operation to be performed or the requested result, etc. based on the judgment result.
[0087] It is worth noting that the technology described in the embodiments of the present application is not limited to the Long Term Evolution (LTE) / LTE-Advanced (LTE-A) system, 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 the embodiments of the present application are often used interchangeably, and the technology described can be used for the systems and radio technologies mentioned above, as well as for other systems and radio technologies. The following description describes a New Radio (NR) system for illustrative purposes, and the NR terminology is used in most of the following description, but these technologies can also be applied to systems other than NR systems, such as the 6th generation (6G) system.th Generation, 6G) communication system.
[0088] FIG1 is a block diagram of a wireless communication system applicable to an embodiment of the present application. The wireless communication system includes a terminal 11 and a network-side device 12. The terminal 11 may be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a notebook computer, a personal digital assistant (PDA), a handheld computer, a netbook, an ultra-mobile personal computer (UMPC), a mobile internet device (MID), an augmented reality (AR), a virtual reality (VR) device, a robot, a wearable device (Wearable Device), an aircraft (Flight Vehicle), a vehicle-mounted device (VUE), a ship-mounted device, a pedestrian user equipment (PUE), a smart home (home appliances with wireless communication capabilities, such as refrigerators, televisions, washing machines, or furniture), a game console, a personal computer (PC), an ATM, or a self-service machine, or other terminal-side devices. Wearable devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets, smart anklets, etc.), smart wristbands, smart clothing, etc. Among them, the vehicle-mounted device can also be called a vehicle-mounted terminal, a vehicle-mounted controller, a vehicle-mounted module, a vehicle-mounted component, a vehicle-mounted chip or a vehicle-mounted unit, etc. It should be noted that the specific type of the terminal 11 is not limited in the embodiment of the present application. The network side device 12 may include an access network device or a core network device, wherein the access network device may also be called a radio access network (Radio Access Network, RAN) device, a radio access network function or a radio access network unit. The access network device may include a base station, a wireless local area network (Wireless Local Area Network, WLAN) access point (Access Point, AS) or a wireless fidelity (Wireless Fidelity, WiFi) node, etc.Among them, the base station can be referred to as Node B (NB), Evolved Node B (eNB), the 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 (home evolved Node B), Transmission Reception Point (TRP) or other appropriate terms in the relevant field. As long as the same technical effect is achieved, the base station is not limited to specific technical vocabulary. It should be noted that in the embodiment of the present application, only the base station in the NR system is used as an example for introduction, and the specific type of the base station is not limited.
[0089] The core network device may include but is not limited to at least one of the following: core network node, core network function, mobility management entity (MME), access mobility management function (AMF), session management function (SMF), user plane function (UPF), policy control function (PCF), policy and charging rules function unit (PCRF), edge application server discovery function (EASDF), unified data management (UDM), unified data storage (UDR), home user server (HSS), centralized network configuration (CNC), network storage function (NRF), network exposure function (NEF), local NEF (L-NEF), binding support function (BNSF), network access function (UE ... Function, BSF), application function (Application Function, AF), etc. It should be noted that in the embodiment of the present application, only the core network device in the NR system is introduced as an example, and the specific type of the core network device is not limited.But not limited to at least one of the following: core network node, core network function, 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), Binding Support Function (BSF), Application Function (AF), etc. It should be noted that in the embodiments of this application, only the core network equipment in the NR system is introduced as an example, and the specific type of the core network equipment is not limited.
[0090] The following is a brief description of the technical content involved in this application.
[0091] 1. Ambient IoT
[0092] Ambient IoT (abbreviated as A-IOT) is a new 3GPP IoT technology under research. Ambient IoT devices have ultra-low complexity and ultra-low power consumption.
[0093] Ambient IoT, also known as the ambient power-enabled Internet of Things (Ambient power-enabled IoT), is an IoT service in which Ambient IoT devices are powered by energy harvesting. Ambient IoT devices lack batteries or have limited energy storage capabilities (for example, using a capacitor). Energy harvesting can be done from radio waves, light, motion, heat, or other suitable energy sources.
[0094] Ambient IoT devices are powered by energy harvesting. Regarding energy storage, Ambient IoT devices can have the following features:
[0095] 1) No battery, no energy storage, completely dependent on external energy source. Or,
[0096] 2) Limited energy storage capacity, no need to change batteries or recharge.
[0097] Ambient IoT devices can be categorized based on energy source, energy storage capability, passive or active emission, etc.
[0098] Ambient IoT's passive or active transmission has the following communication modes:
[0099] 1) Normal operation. Ambient IoT devices have power to operate continuously or for a period of time. This power can come from continuous energy harvesting or have a certain energy storage capability, such as a capacitor.
[0100] 2) Active transmission supports device-triggered operations. The device can only be active for short periods of time, supporting intermittent communication. The device can decide when to communicate with the network. The device does not necessarily monitor the network, which means it may not monitor the called service for extended periods of time.
[0101] 3) Passive transmission, which only supports on-demand operations initiated by the network. The device cannot initiate services on its own.
[0102] In the 3GPP system, Ambient IoT devices can communicate with Ambient IoT apps through the UE or RAN, acting as readers, as shown in Figures 2 and 3. In Figure 2, the UE acts as a reader to transmit Ambient IoT (Tag) data to the Ambient IoT app. In Figure 3, the RAN directly acts as a reader to transmit Ambient IoT (Tag) data to the Ambient IoT app. The participation of the 5G core network (5GC) is optional.
[0103] 2. Backscatter Communication (BSC)
[0104] Backscatter communication refers to the use of radio frequency signals from other devices or the environment to modulate the signal and transmit its own information. The backscatter communication terminal device (BSC Tag, also called BSC UE) can be a tag in traditional radio frequency identification (RFID), an ambient energy storage IoT (Ambient IoT), or a passive IoT (Passive-IoT) device. Backscatter technology is a passive or low-energy technology that can transmit its own signal by modifying the characteristics of the received ambient radio frequency signal, such as its phase or amplitude, achieving extremely low-power or zero-power information transmission.
[0105] 3. Security authentication protocol between reader and tag in RFID protocol
[0106] RFID is a traditional backscatter communication system whose main design goal is to identify and read the identity document (ID) of backscatter communication (BSC) devices (i.e. tags) within the coverage area of the reader.
[0107] Optionally, information transmission between the reader and the tag operates in a secure mode. For tags operating in secure mode, an authentication process must first be performed. Specifically, this process typically involves verifying the identity of the reader and / or tag, so that information transmission between the reader and tag can proceed only after confirming the legitimacy of their identities. The RFID protocol supports the following three types of authentication:
[0108] One-way authentication between the tag and the reader is used to verify whether the reader has passed the authentication, that is, whether the identity of the reader is legal;
[0109] The reader performs one-way authentication on the tag, which is used to verify whether the tag has passed the authentication, that is, whether the tag's identity is legal;
[0110] Bidirectional authentication is used for the tag to verify whether the reader is authenticated and the reader to verify whether the tag is authenticated, that is, whether the identity of the reader is legal and whether the identity of the tag is legal.
[0111] Currently, the protocol only standardizes the tag's security authentication command. The security authentication protocol process requires several specific steps, and the supported authentication algorithms and processes are not standardized.
[0112] The following, in conjunction with the accompanying drawings, describes in detail the authentication method, authentication device, communication equipment and readable storage medium provided by the embodiments of the present application through some embodiments and their application scenarios.
[0113] Referring to FIG. 4 , an embodiment of the present application provides an authentication method for a tag device, including:
[0114] Step 41: The first device sends a first authentication command, where the first authentication command is used to authenticate the tag device and includes configuration information of security parameters of the tag device; wherein the first device is an access network (RAN) device, a terminal (UE), or a core network device;
[0115] Optionally, the core network device can be a core network node in related technologies, such as AMF, etc., or a newly introduced core network node.
[0116] Step 42: The first device receives a first response, where the first response includes: first authentication information of the tag device;
[0117] Optionally, the first authentication information may be an authentication code or a data signature.
[0118] Step 43: The first device determines whether the tag device passes authentication based on the configuration information of the security parameters and the first authentication information of the tag device.
[0119] In the embodiment of the present application, the process of how to authenticate a tag device in a wireless communication system is clarified so that the information transmission between the reader device (terminal or access network device) and the tag device works in a secure mode.
[0120] Optionally, the security parameters (security credential) of the tag device include at least one of the following: root key (RK) index (the root key is uniquely determined by the index value), communication encryption algorithm (used to indicate the data transmission encryption and integrity protection algorithm supported by the tag device), key length, security mode (used to indicate whether the tag device needs to perform security authentication, security authentication includes one-way authentication or two-way authentication, one-way authentication is whether the tag device authenticates the reader device or the reader device authenticates the tag device, and whether secure communication is required), security function (used to indicate the security authentication algorithm supported by the tag device, security authentication algorithm includes one-way authentication algorithm or two-way authentication algorithm, one-way authentication algorithm is whether the tag device authenticates the reader device or the reader device authenticates the tag device), Tsec (the reference time for the reader device to wait for the tag device to respond after sending a security authentication command or a security communication command, in units of 10ms). Optionally, the above security parameters are consistent with the production configuration of the tag device and cannot be modified after being written to the tag device.
[0121] In RFID technology, a prerequisite for security authentication is that the reader triggers the security parameter acquisition process to obtain the tag's security parameters. However, in 3GPP systems, readers may be implemented on access network devices or terminals. Since access network devices or terminals may be untrusted nodes, the process of obtaining security parameters from the tag can be omitted.
[0122] In an embodiment of the present application, optionally, when the first device is an access network device or a terminal, it is possible to consider storing the security parameters of the tag device in the first device. Optionally, the operator pre-configures the security parameters of all or part of the tag devices managed by the operator to all trusted first devices through operation administration maintenance (OAM).
[0123] Alternatively, consider the core network device as a trusted security parameter storage node, and the security parameters are obtained by the first device from the core network device. In this case, the core network device can authenticate the first device. If the first device is authenticated as a trusted node, the security parameters of the tag device can be sent to the first device, thereby ensuring that the access network device or terminal participating in the authentication is a trusted device.
[0124] In an embodiment of the present application, optionally, when the first device is an access network device or a terminal, if the first device supports storing security parameters, before authenticating the tag device, it is first determined whether the security parameters of the tag device are stored.
[0125] The first device sending the first authentication command includes: when the first device has the security parameters of the tag device, the first device does not need to obtain the security parameters of the tag device from the core network device, and sends the first authentication command to the tag device. In other words, when the first device has the security parameters of the tag device, the first device can directly send the first authentication command to the tag device.
[0126] If the first device does not have the security parameters of the tag device, before the first device sends the first authentication command, the first device also includes: sending a first request to the core network device to obtain the security parameters, wherein the first request includes the identification information of the tag device; and the first device receiving the security parameters from the core network device. In other words, if the first device does not have the security parameters of the tag device, the first device first sends the first request to obtain the security parameters, and after obtaining the first security parameters, sends the first authentication command to the tag device.
[0127] In this embodiment, the optional case is that the first device supports the security parameters of the pre-configured tag device. When it is determined that there are pre-configured security parameters of the tag device, a first authentication command is sent to the tag device. When it is determined that the security parameters of the pre-configured tag device are obtained, the security parameters are obtained from the core network device.
[0128] In an embodiment of the present application, optionally, the first device is an access network device or a terminal; if the first device does not support storing security parameters, it is not necessary to determine whether the security parameters of the tag device are stored before authenticating the tag device.
[0129] At this time, before the first device sends the first authentication command, the method further includes:
[0130] The first device sends a first request for obtaining security parameters to a core network device, wherein the first request includes identification information of the tag device, wherein the first request includes identification information of the tag device;
[0131] The first device receives the security parameter from the core network device.
[0132] In this embodiment, the first device may not support the security parameters of the pre-configured tag device and directly obtain the security parameters from the core network device.
[0133] Wherein, optionally, the identification information of the tag device includes at least one of the following: the electronic product code (EPC) of the tag device, and the tag identity (TID) of the tag device (the tag identity is stored in the tag information area. The data in the tag information area is written when the tag chip is produced and cannot be modified after writing). Optionally, the identification information of the tag device is consistent with the production configuration of the tag device and cannot be modified after writing.
[0134] In the embodiment of the present application, optionally, the first device is a core network device;
[0135] The first device sending the first authentication command includes: the first device sending the first authentication command to the tag device through the access network device;
[0136] The first device receiving the first response includes: the first device receiving the first response forwarded by the access network device;
[0137] In this embodiment, the access network device may transparently forward the first authentication command and the first response.
[0138] In the embodiment of the present application, optionally, the first device is an access network device where a source serving cell of the tag device is located;
[0139] The first device sending the first authentication command includes: the first device sending the first authentication command to the tag device through the access network device where the destination serving cell of the tag device is located, wherein the access network device where the destination serving cell of the tag device is located forwards the first authentication command;
[0140] The first device receiving the first response includes: the first device receiving the first response forwarded by an access network device where a destination serving cell of the tag device is located.
[0141] In this embodiment, the access network device where the destination serving cell of the tag device is located may transparently forward the first authentication command and the first response.
[0142] Furthermore, the access network device where the source service cell of the tag device is located can notify the access network device where the target service cell of the tag device is located of the authentication result of whether the tag device has passed the authentication. The notification here can be a displayed indication or an implicit indication. The implicit indication is achieved, for example, by the access network device where the target service cell is located initiating a UE context acquisition process with the access network device where the source service cell is located. When the context acquisition of the tag device is successful, the tag device is considered to have passed the authentication; when the context acquisition of the tag device fails, the authentication is considered to have failed.
[0143] In the embodiment of the present application, optionally, the first device determines whether the tag device passes authentication according to the configuration information of the security parameter and the first authentication information of the tag device, including:
[0144] The first device determines the second authentication information of the tag device by calculation according to the configuration information of the security parameters of the tag device and the first input parameter used to calculate the first authentication information of the tag device;
[0145] The first device compares the second authentication information with the received first authentication information of the tag device to determine whether they are the same;
[0146] If the second authentication information is the same as the first authentication information, determining that the tag device has passed the authentication;
[0147] If the second authentication information is different from the first authentication information, it is determined that the tag device has failed authentication.
[0148] In the embodiment of the present application, the calculation method of the first authentication information and the second authentication information is not limited, but the calculation method of the first authentication information and the second authentication information needs to be the same.
[0149] Optionally, the first input parameter includes at least one of the following: identification information of the tag device, identification information of the service cell of the tag device, context identification of the tag device, time information corresponding to the transmission of the first authentication information, frequency domain resource information corresponding to the transmission of the first authentication information, and beam information corresponding to the transmission of the first authentication information.
[0150] In an embodiment of the present application, optionally, when the first device is a core network device, the first device further includes: the first device receives the first input parameter sent by the access network device where the service cell of the tag device is located, before determining the first authentication information of the tag device by calculation based on the first input parameter and the configuration information of the security parameter of the tag device.
[0151] Optionally, the first input parameter includes at least one of the following: identification information of the tag device, identification information of the service cell of the tag device, context identification of the tag device, time information corresponding to the transmission of the first authentication information, frequency domain resource information corresponding to the transmission of the first authentication information, and beam information corresponding to the transmission of the first authentication information.
[0152] In the embodiment of the present application, optionally, the first device is an access network device or a terminal, and after determining whether the tag device passes the authentication, the method further includes:
[0153] If the tag device passes the authentication, the first device performs at least one of the following:
[0154] 1) Sending a control command to the tag device;
[0155] Optionally, the control command includes at least one of the following:
[0156] Activate command, used to activate the tag device;
[0157] Deactivate command, used to deactivate the tag device;
[0158] Inventory command, used to inventory tag devices;
[0159] Read command, used to read data from the tag device;
[0160] Write command, used to write data to the tag device;
[0161] Positioning command, used to locate the tag device;
[0162] Control command, used to control the tag device.
[0163] 2) receiving data sent by the tag device;
[0164] 3) Processing the data sent by the tag device;
[0165] 4) Forwarding the data sent by the tag device.
[0166] In the embodiment of the present application, optionally, the object to which the data is forwarded may be a core network device in the related technology, such as a user plane function (UPF), or a newly introduced core network device, or an A-IOT App server, etc., which is not limited here.
[0167] In the embodiment of the present application, optionally, the first device is a core network device, and the determining whether the tag device passes the authentication further includes at least one of the following:
[0168] 1) The first device sends an authentication result indicating whether the tag device has passed authentication to the access network device or the terminal;
[0169] In this case, the core network device explicitly sends the authentication result to the access network device or terminal.
[0170] 2) The first device sends authorization information of the tag device to the access network device or the terminal, and the authorization information is sent when the tag device passes the authentication.
[0171] In this case, the core network device sends the authorization information of the tag device to the access network device or terminal on the premise that the tag device passes the authentication, and the authorization information implicitly indicates that the tag device passes the authentication.
[0172] Referring to FIG5 , an embodiment of the present application further provides an authentication method for a tag device, including:
[0173] Step 51: The tag device receives a first authentication command sent by a first device, where the first authentication command is used for authenticating the tag device and includes configuration information of security parameters of the tag device; the first device is an access network device, a terminal, or a core network device;
[0174] Step 52: The tag device sends a first response to the first device according to the first authentication command, where the first response includes first authentication information of the tag device.
[0175] Optionally, the first authentication information may be an authentication code or a data signature.
[0176] In the embodiment of the present application, the process of how to authenticate the tag device in the 3GPP system is clarified, so that the information transmission between the reader device (access network device or terminal) and the tag device works in a secure mode.
[0177] Optionally, the security parameters (security credential) of the tag device include at least one of the following: root key (RK) index (the root key is uniquely determined by the index value), communication encryption algorithm (used to indicate the data transmission encryption and integrity protection algorithm supported by the tag device), key length, security mode (used to indicate whether the tag device needs to perform security authentication, security authentication includes one-way authentication or two-way authentication, one-way authentication is whether the tag device authenticates the reader device or the reader device authenticates the tag device, and whether secure communication is required), security function (used to indicate the security authentication algorithm supported by the tag device, security authentication algorithm includes one-way authentication algorithm or two-way authentication algorithm, one-way authentication algorithm is whether the tag device authenticates the reader device or the reader device authenticates the tag device), Tsec (the reference time for the reader device to wait for the tag device to respond after sending a security authentication command or a security communication command, in units of 10ms). Optionally, the above security parameters are consistent with the production configuration of the tag device and cannot be modified after being written to the tag device.
[0178] In an embodiment of the present application, optionally, when the first device is an access network device or a terminal, it is possible to consider storing the security parameters of the tag device in the first device. Optionally, the operator pre-configures the security parameters of all or part of the tag devices managed by the operator to all trusted first devices through operation administration maintenance (OAM).
[0179] Alternatively, consider the core network device as a trusted security parameter storage node, and the security parameters are obtained by the first device from the core network device. In this case, the core network device can authenticate the first device. If the first device is authenticated as a trusted node, the security parameters of the tag device can be sent to the first device, thereby ensuring that the access network device or terminal participating in the authentication is a trusted device.
[0180] In the embodiment of the present application, optionally, the tag device sends a first response to the first device according to the first authentication command, including:
[0181] The tag device determines the first authentication information of the tag device by calculation according to the configuration information of the security parameter and the first input parameter used to calculate the first authentication information of the tag device;
[0182] The tag device sends the first response to the first device, where the first response includes the first authentication information.
[0183] In an embodiment of the present application, optionally, the first input parameter includes at least one of the following: identification information of the tag device, identification information of the service cell of the tag device, context identification of the tag device, time information corresponding to the transmission of the first authentication information, frequency domain resource information corresponding to the transmission of the first authentication information, and beam information corresponding to the transmission of the first authentication information.
[0184] The above embodiment is about the authentication of tag devices. The following describes the authentication of reader / writer devices.
[0185] Referring to FIG6 , an embodiment of the present application further provides an authentication method for a reader / writer device, including:
[0186] Step 61: The first device sends a second authentication command, which is used to authenticate the reader device. The second authentication command includes configuration information of security parameters of the tag device and third authentication information of the reader device. The first device is the reader device or core network device, and the reader device is an access network device or a terminal.
[0187] Optionally, the third authentication information may be an authentication code or a data signature.
[0188] Step 62: The first device receives a second response, where the second response includes an authentication result indicating whether the reader / writer device has passed or failed authentication.
[0189] In the embodiment of the present application, the process of how the tag device authenticates the UE or RAN as a reader device in the 3GPP system is clarified, so that the information transmission between the reader device and the tag device works in a secure mode.
[0190] In an embodiment of the present application, optionally, when the first device is an access network device or a terminal, it is possible to consider storing the security parameters of the tag device in the first device. Optionally, the operator pre-configures the security parameters of all or part of the tag devices managed by the operator to all trusted first devices through operation administration maintenance (OAM).
[0191] Alternatively, consider the core network device as a trusted security parameter storage node, and the security parameters are obtained by the first device from the core network device. In this case, the core network device can authenticate the first device. If the first device is authenticated as a trusted node, the security parameters of the tag device can be sent to the first device, thereby ensuring that the access network device or terminal participating in the authentication is a trusted device.
[0192] In the embodiment of the present application, optionally, before the first device sends the second authentication command, the method further includes: the first device determines third authentication information of the reader / writer device.
[0193] In the embodiment of the present application, optionally, the first device is the reader / writer device, and before the first device sends the second authentication command, the following steps are further included:
[0194] The first device sends a first request for obtaining security parameters to the core network device (in this case, the first device usually does not support the security parameters of the pre-configured tag device, and directly obtains the security parameters from the core network device);
[0195] or,
[0196] In a case where the first device does not have the security parameters of the tag device, the first device sends a first request for obtaining the security parameters to the core network device (this case is usually when the first device supports pre-configuration of security parameters for the tag device; if it is determined that the security parameters for the tag device are not pre-configured, the first device obtains the security parameters from the core network device);
[0197] The first request includes identification information of the tag device.
[0198] In the embodiment of the present application, optionally, the first device is a reader / writer device, and before the first device sends the second authentication command, the following steps are further included:
[0199] The first device sends a first request for obtaining security parameters to the core network device, where the first request includes identification information of the tag device and a second input parameter for calculating the third authentication information of the reader device (this is usually the case when the first device does not support pre-configured security parameters for the tag device, in which case the security parameters are obtained directly from the core network device, and the core network device is also requested to calculate the third authentication information of the reader device);
[0200] The first device receives the security parameters of the tag device and the third authentication information of the reader device sent by the core network device;
[0201] or,
[0202] If the first device has the security parameters of the tag device, the first device sends a second request to the core network device; the first device receives the third authentication information of the reader device sent by the core network device (this situation is usually when the first device supports pre-configured security parameters of the tag device. If it is determined that the security parameters of the tag device are pre-configured, there is no need to obtain the security parameters from the core network device, and it only needs to request the core network device to calculate the third authentication information of the reader device).
[0203] If the first device does not have the security parameters of the tag device, the first device sends a first request to the core network device for obtaining the security parameters; the first device receives the security parameters of the tag device and the third authentication information of the reader device sent by the core network device (this situation is usually when the first device supports pre-configured security parameters of the tag device. If it is determined that the security parameters of the tag device are not pre-configured, the first device obtains the security parameters from the core network device and also needs to request the core network device to calculate the third authentication information of the reader device).
[0204] The first request includes the identification information of the tag device and the second input parameter for calculating the third authentication information of the reader / writer device, and the second request includes the second input parameter for calculating the third authentication information of the reader / writer device.
[0205] In an embodiment of the present application, optionally, the second input parameter includes at least one of the following: identification information of the first device, time information corresponding to the transmission of the third authentication information, frequency domain resource information corresponding to the transmission of the third authentication information, and beam information corresponding to the transmission of the third authentication information.
[0206] In the embodiment of the present application, optionally, the first device is a core network device;
[0207] The first device sending the second authentication command includes: the first device sending the second authentication command to the tag device through the access network device;
[0208] The first device receiving the second response includes: the first device receiving the second response forwarded by the access network device.
[0209] In this embodiment, optionally, the access network device may transparently forward the second authentication command and the second response.
[0210] In the embodiment of the present application, optionally, after the first device receives the second response, the method further includes:
[0211] The first device sends a first authentication command, where the first authentication command is used to authenticate the tag device, and the first authentication command includes configuration information of security parameters of the tag device;
[0212] The first device receives a first response, where the first response includes: first authentication information of the tag device;
[0213] The first device determines whether the tag device passes authentication according to the configuration information of the security parameters and the first authentication information of the tag device.
[0214] In the embodiment of the present application, the tag device first authenticates the reader device, and then the reader device authenticates the tag device. Of course, in other embodiments of the present application, it is not excluded that the reader device first authenticates the tag device, and then the tag device first authenticates the reader device.
[0215] Referring to FIG. 7 , an embodiment of the present application further provides an authentication method for a reader / writer device, including:
[0216] Step 71: The tag device receives a second authentication command sent by the first device. The second authentication command is used to authenticate the reader device. The second authentication command includes configuration information of security parameters of the tag device and third authentication information of the reader device. The first device is the reader device or a core network device, and the reader device is an access network device or a terminal.
[0217] Optionally, the third authentication information may be an authentication code or a data signature.
[0218] Step 72: The tag device determines whether the reader device passes the authentication based on the second authentication command.
[0219] In the embodiment of the present application, the process of how the tag device authenticates the UE or RAN as a reader device in the 3GPP system is clarified, so that the information transmission between the reader device and the tag device works in a secure mode.
[0220] In the RFID technical solution, the prerequisite step of the security authentication process is that the reader needs to trigger the security parameter acquisition process to obtain the tag's security parameters from the tag. However, after migrating to the 3GPP system, the reader may be implemented based on an access network device or terminal. Since the access network device or terminal may be an untrusted node, the process of the reader obtaining the tag's security parameters from the tag can be omitted. In an embodiment of the present application, optionally, when the first device is an access network device or terminal, it can be considered to store the security parameters of the tag device in the first device. The security parameters of the tag device are stored in the first device, and it can be that the security parameters of the tag device are pre-configured to the first device in a pre-configured manner. Alternatively, considering the core network device as a trusted security parameter storage node, the security parameters are obtained by the first device from the core network device. At this time, the core network device can authenticate the first device. If the first device is authenticated as a trusted node, the security parameters of the tag device can be sent to the first device, thereby ensuring that the access network device or terminal participating in the authentication is a trusted device.
[0221] In the embodiment of the present application, optionally, the tag device determines whether the reader device passes the authentication according to the second authentication command, including:
[0222] The tag device determines the fourth authentication information of the reader device by calculation according to the configuration information of the security parameters of the tag device and the second input parameter used to calculate the third authentication information of the reader device;
[0223] The tag device compares the fourth authentication information with the third authentication information received from the reader / writer device to determine whether they are the same;
[0224] If the fourth authentication information is the same as the third authentication information, determining that the reader / writer device has passed the authentication;
[0225] If the fourth authentication information is different from the third authentication information, it is determined that the reader / writer device has failed authentication.
[0226] In the embodiment of the present application, the calculation method of the third authentication information and the fourth authentication information is not limited, but the calculation method of the third authentication information and the fourth authentication information needs to be the same.
[0227] In an embodiment of the present application, optionally, the second input parameter includes at least one of the following: identification information of the first device, time information corresponding to the transmission of the third authentication information, frequency domain resource information corresponding to the transmission of the third authentication information, and beam information corresponding to the transmission of the third authentication information.
[0228] In the embodiment of the present application, optionally, after the tag device determines whether the reader / writer device has passed the authentication according to the second authentication command, the method further includes:
[0229] If the reader / writer device passes the authentication, the tag device performs at least one of the following:
[0230] Sending a second response to the first device, where the second response includes: an authentication result indicating whether the reader device has passed authentication or failed authentication;
[0231] 1) responding to control commands sent by the reader / writer device;
[0232] Optionally, the control command includes at least one of the following:
[0233] Activate command, used to activate the tag device;
[0234] Deactivate command, used to deactivate the tag device;
[0235] Inventory command, used to inventory tag devices;
[0236] Read command, used to read data from the tag device;
[0237] Write command, used to write data to the tag device;
[0238] Positioning command, used to locate the tag device;
[0239] Control command, used to control the tag device.
[0240] 2) Sending data to the reader / writer device.
[0241] In the embodiment of the present application, optionally, after the tag device receives the second authentication command sent by the first device, the method further includes:
[0242] The tag device receives a first authentication command sent by the first device, where the first authentication command is used to authenticate the tag device, and the first authentication command includes configuration information of security parameters of the tag device;
[0243] The tag device determines first authentication information of the tag device according to the first authentication command;
[0244] The tag device sends a first response to the first device, where the first response includes: first authentication information of the tag device.
[0245] In the embodiment of the present application, the tag device first authenticates the reader device, and then the reader device authenticates the tag device. Of course, in other embodiments of the present application, it is not excluded that the reader device first authenticates the tag device, and then the tag device first authenticates the reader device.
[0246] In the embodiment of the present application, optionally, after the tag device determines whether the reader / writer device has passed the authentication according to the second authentication command, the method further includes:
[0247] If the reader device fails to pass the authentication, the tag device discards the first authentication command sent by the first device, where the first authentication command is used to authenticate the tag device and includes configuration information of security parameters of the tag device.
[0248] In the embodiment of the present application, the tag device first authenticates the reader device, and then the reader device authenticates the tag device. If the reader device fails the authentication, the tag device no longer authenticates the reader device.
[0249] Referring to FIG8 , this embodiment of the present application further provides a security authentication method, including:
[0250] Step 81: The core network device receives a request sent by a reader device, wherein the request includes identification information of the tag device and / or a second input parameter for calculating authentication information of the reader device; the reader device is an access network device or a terminal;
[0251] Step 82: The core network device sends the security parameters of the tag device and / or the third authentication information of the reader device to the reader device, wherein the third authentication information is determined by the core network device through calculation based on the security parameters of the tag device and the second input parameters.
[0252] In an embodiment of the present application, the access network device or terminal serving as a reader / writer device may obtain the security parameters of the tag device from the core network device and / or request the core network device to determine the authentication information of the reader / writer device before authenticating the tag device, or before requesting the tag device to authenticate the reader / writer device. If the core network device verifies that the reader / writer device is trustworthy, it may send the security parameters of the tag device and / or the authentication information of the reader / writer device to the reader / writer device, thereby ensuring that the access network device or terminal participating in the authentication is a trustworthy device.
[0253] In some embodiments, optionally, the core network device receives a request from a reader device, the request including identification information of the tag device. In this case, the core network device sends the security parameters of the tag device to the reader device. That is, the reader device only requests the security parameters of the tag device.
[0254] In some embodiments, optionally, the core network device receives a request from a reader device, the request including a second input parameter for calculating authentication information of the reader device. In this case, the core network device sends the third authentication information of the reader device to the reader device. That is, the reader device only requests the core network device to determine the authentication information of the reader device.
[0255] In some embodiments, optionally, the core network device receives a request from a reader device, the request including identification information of the tag device and a second input parameter used to calculate authentication information of the reader device. In this case, the core network device sends the security parameters of the tag device and the third authentication information of the reader device to the reader device. That is, the reader device requests both the security parameters of the tag device and the authentication information of the reader device.
[0256] In the embodiment of the present application, optionally, the core network device sending the security parameters of the tag device and / or the third authentication information of the reader device to the reader device includes:
[0257] When the core network device determines that the reader-writer device is trustworthy, the core network device sends the security parameters of the tag device and / or the third authentication information of the reader-writer device to the reader-writer device.
[0258] In an embodiment of the present application, the core network device can be used to calculate authentication information for the reader / writer device.
[0259] The above method in the embodiment of the present application is described below with examples in combination with specific application scenarios.
[0260] Example 1 of the present application
[0261] In this embodiment, the RAN node (access network device) acts as a reader / writer device, and the A-IOT device acts as a tag device. This embodiment is a one-way authentication of the A-IOT device by the RAN node, that is, the RAN node verifies whether the A-IOT device is legitimate. The peer entities of the security function are the A-IOT device and the RAN node.
[0262] Referring to FIG. 9 , the authentication method for a tag device according to an embodiment of the present application includes:
[0263] Step 0a and step 0b are optional steps, which can be implemented by any of the following 1) or 2):
[0264] 1) The operator pre-configures the security credentials of all or some of the A-IoT devices controlled by the operator on all trusted RAN nodes through Operation Administration Maintenance (OAM). Before initiating the air interface security authentication process with an A-IoT device, a specific RAN node first determines whether the security credentials of the A-IoT device are stored in its pre-configured configuration.
[0265] If the security parameters of the A-IOT device are in its pre-configuration, steps 0a and 0b can be skipped, and the RAN node directly triggers the air interface security authentication process, that is, the RAN node first executes step 1 in Figure 9.
[0266] b. If the security parameters of the A-IOT device connected to the RAN node are not in its pre-configuration, the RAN node will first request the security parameters of the A-IOT device from the 5GC node before triggering the air interface security authentication process. The request carries the identifier (ID) information of the A-IOT device. The 5GC node responds to the RAN node with the security parameters of the A-IOT device after determining that the RAN node is trustworthy. That is, the RAN node first executes steps 0a and 0b. The 5GC node can be a 5GC node of related technologies (such as Access and Mobility Management Function (AMF)) or a newly introduced 5GC function node, which is not limited here.
[0267] 2) If the operator does not support pre-configuring the security parameters (security credentials) of all or part of the A-IOT devices controlled by the operator for all trusted RAN nodes through OAM, for a specific RAN node, before triggering the air interface security authentication process, it always requests the security parameters of the A-IOT device from the 5GC node. The 5GC node responds to the RAN node with the security parameters of the A-IOT device, provided that the RAN node is trusted. That is, the RAN node first executes step 0a, and whether step 0b is executed depends on whether the 5GC node determines that the RAN node is trusted.
[0268] The ID information of the A-IOT device may include at least one of the following: the electronic product code (EPC) of the A-IOT device and the tag identity (TID) of the A-IOT device, which is stored in the tag information area. The data in the tag information area is written when the tag chip is produced and cannot be modified after writing. The above ID information is consistent with the production configuration of the A-IOT device and cannot be modified after writing.
[0269] The security parameters of the A-IOT device may include at least one of the following: root key (RK) index (the root key is uniquely determined by the index value), communication encryption algorithm (used to indicate the data transmission encryption and integrity protection algorithm supported by the A-IOT device), key length, security mode (used to indicate whether the A-IOT device needs to perform security authentication, security authentication includes one-way authentication or two-way authentication, one-way authentication is whether the A-IOT device authenticates the RAN node or the RAN node authenticates the A-IOT device, and whether secure communication is required), security function (used to indicate the security authentication algorithm supported by the A-IOT device, security authentication algorithm includes one-way authentication algorithm or two-way authentication algorithm, one-way authentication algorithm is whether the A-IOT device authenticates the RAN node or the RAN node authenticates the A-IOT device), Tsec (the reference time for the RAN node to wait for the A-IOT device to respond after sending a security authentication command or a security communication command, in units of 10ms). The above security parameters are consistent with the production configuration of the A-IOT device and cannot be modified after being written to the A-IOT device.
[0270] Step 1: The RAN node sends a one-way authentication command (i.e., the first authentication command in the above embodiment) to the A-IoT device. The one-way authentication command is used to authenticate the A-IoT device. The one-way authentication command carries at least the configuration information of the security parameters of the A-IoT device. The configuration information complies with the content of the pre-configured security parameters of the RAN node or the configuration content of the security parameters obtained from the 5GC node (i.e., step 0b).
[0271] According to step 1, the A-IOT device determines the authentication code or data signature of the A-IOT device by calculation. The method by which the A-IOT device generates the authentication code or data signature of the A-IOT device is not limited in this application.
[0272] Step 2: The A-IOT device sends a response (first response) to the one-way authentication command to the RAN node. The response to the one-way authentication command carries: the ID information of the A-IOT device, and the authentication code or data signature of the A-IOT device.
[0273] According to step 2, the RAN node determines whether the A-IOT device is authenticated. Specifically, the determination may be made according to the following method:
[0274] The RAN node determines the authentication code or data signature of the A-IOT device and compares the authentication code or data signature of the A-IOT device calculated and generated by itself with the authentication code or data signature of the A-IOT device received in step 2. If the two values are equal, the A-IOT device is judged to have passed authentication; otherwise, the A-IOT device is judged to have failed authentication.
[0275] In an embodiment of the present application, optionally, if the RAN node is the RAN node where the source service cell of the A-IOT device is located; the RAN node where the source service cell of the A-IOT device is located determines the authentication code or data signature of the A-IOT device by calculation, and compares the authentication code or data signature of the A-IOT device calculated and generated by itself with the authentication code or data signature of the A-IOT device received in step 2. If the two values are equal, it is determined that the A-IOT device has passed the authentication; otherwise, it is determined that the A-IOT device has failed the authentication.
[0276] Furthermore, the RAN node of the A-IOT device's source serving cell can notify the RAN node of the A-IOT device's target serving cell of the authentication result of whether the A-IOT device has passed authentication. This notification can be an explicit indication or an implicit indication. The implicit method, for example, is achieved by the RAN node of the target serving cell initiating a UE context acquisition process with the RAN node of the source serving cell. If the A-IOT device's context acquisition is successful, the A-IOT device is considered to have passed authentication; if the A-IOT device's context acquisition fails, the authentication is considered to have failed.
[0277] The method by which the RAN node where the source serving cell of the A-IOT device is located calculates and generates the authentication code or data signature of the A-IOT device is not limited in this application, but must be consistent with the method by which the A-IOT device generates the authentication code or data signature of the A-IOT device.
[0278] Furthermore, on the premise that the RAN node determines that the A-IOT device passes the authentication, the RAN node performs at least one of the following:
[0279] Send control commands to A-IOT devices;
[0280] Receive or process data from A-IOT devices;
[0281] Forward data from A-IOT devices.
[0282] Here, the object of forwarding data can be a 5GC node of a related technology, such as a user plane function (UPF), or a newly introduced 5GC function node, or an A-IOT App server, etc., which is not limited here.
[0283] Example 2 of this application
[0284] In this embodiment, the RAN node (access network device) acts as a reader / writer device, and the A-IOT device acts as a tag device. This embodiment is a one-way authentication of the A-IOT device by the 5GC node (core network device), that is, the 5GC node verifies whether the A-IOT device is legal. The peer entities of the security function are the A-IOT device and the 5GC node.
[0285] The difference between Example 2 and Example 1 is that the RAN node is responsible for transparently forwarding security authentication-related commands and does not actually participate in the security authentication function of the A-IOT device. It is the 5GC node that generates security authentication commands and performs the authentication function.
[0286] Referring to FIG. 10 , the authentication method for a tag device according to an embodiment of the present application includes:
[0287] Step 1: The 5GC node sends a one-way authentication command (i.e., the first authentication command in the above embodiment) to the A-IoT device. The one-way authentication command is transparently forwarded to the A-IoT device via the RAN node. The one-way authentication command is used to authenticate the A-IoT device and carries at least the configuration information of the security parameters of the A-IoT device.
[0288] According to step 1, the A-IOT device determines the authentication code or data signature of the A-IOT device by calculation. The method by which the A-IOT device generates the authentication code or data signature of the A-IOT device is not limited in this application.
[0289] Step 2: The A-IOT device sends a response (first response) to the 5GC node for the one-way authentication command. This response is transparently forwarded to the 5GC node via the RAN node. The response carries the A-IOT device's ID information and the A-IOT device's authentication code or data signature.
[0290] Step 3: The RAN node forwards the response to the one-way authentication command and also sends at least one first input parameter for calculating the authentication code or data signature of the A-IOT device to the 5GC node.
[0291] According to step 3, the 5GC node determines whether the A-IOT device is authenticated. This can be done in the following ways:
[0292] The 5GC node calculates and determines the authentication code or data signature of the A-IOT device, and compares the authentication code or data signature calculated and generated by itself with the authentication code or data signature received from the A-IOT device. If the two values are equal, the A-IOT device is considered to have passed authentication; otherwise, the A-IOT device is considered to have failed authentication.
[0293] The method by which the 5GC node calculates and generates the authentication code or data signature of the A-IOT device is not limited in this application, but must be consistent with the method by which the A-IOT device generates the authentication code or data signature of the A-IOT device.
[0294] Step 4: The 5GC node feeds back to the RAN node the authentication result of whether the A-IOT device has passed the authentication.
[0295] According to step 4, further, on the premise that the RAN node determines that the A-IOT device passes the authentication, the RAN node performs at least one of the following:
[0296] Send other commands to A-IOT devices;
[0297] Receive or process data from A-IOT devices;
[0298] Forward data from A-IOT devices.
[0299] Here, the object of forwarding data can be a 5GC node of a related technology, such as a user plane function (UPF), or a newly introduced 5GC function node, or an A-IOT App server, etc., which is not limited here.
[0300] Example 3 of this application
[0301] In this embodiment, the RAN node (access network device) acts as a reader / writer device, and the A-IOT device acts as a tag device. This embodiment is a one-way authentication of the RAN node by the A-IOT device, that is, the A-IOT device verifies whether the RAN node is legitimate. The peer entities of the security function are the A-IOT device and the RAN node.
[0302] Referring to FIG11 , the authentication method of the reader / writer device according to an embodiment of the present application includes:
[0303] The description of step 0a and step 0b is the same as that of embodiment 1 and will not be repeated.
[0304] Step 1: The RAN node sends a one-way authentication request command (second authentication command) to the A-IOT device. The one-way authentication request command is used for authentication of the RAN node. The one-way authentication request command carries at least configuration information of security parameters of the A-IOT device and an authentication code or data signature of the RAN node.
[0305] Before step 1, the RAN node determines the authentication code or data signature of the RAN node by calculation. The method by which the RAN node generates the authentication code or data signature of the RAN node is not limited in this application.
[0306] Step 2: The A-IOT device sends a response (i.e., a second response) to the RAN node requesting a one-way authentication command. The response to the one-way authentication command requesting a one-way authentication command carries an authentication result indicating whether the RAN node has passed authentication.
[0307] Prior to step 2, the A-IOT device determines whether the RAN node is authenticated. Optionally, this determination can be made by: the A-IOT device calculates and generates an authentication code or data signature for the RAN node, and compares the authentication code or data signature calculated and generated by the A-IOT device with the authentication code or data signature received in step 1. If the two values are equal, the RAN node is determined to be authenticated; otherwise, the RAN node is determined to have failed authentication.
[0308] The method by which the A-IOT device generates the RAN node authentication code or data signature is not limited in this application, but must be consistent with the method by which the RAN node generates the RAN node authentication code or data signature.
[0309] Furthermore, on the premise that the A-IOT device determines that the RAN node is authenticated, the A-IOT device performs at least one of the following:
[0310] Responding to control commands sent by RAN nodes;
[0311] Send data of A-IOT devices to RAN nodes.
[0312] Embodiment 4 of the present application
[0313] In this embodiment, the RAN node (access network device) acts as a reader / writer device, and the A-IOT device acts as a tag device. This embodiment is a one-way authentication of the RAN node by the A-IOT device, that is, the A-IOT device verifies whether the RAN node is legitimate. The peer entities of the security function are the A-IOT device and the 5GC node (core network device).
[0314] Referring to FIG. 12 , the authentication method of the reader / writer device according to an embodiment of the present application includes:
[0315] Step 0a and step 0b are optional steps, which can be implemented by any of the following 1) or 2):
[0316] 1) The operator pre-configures the security credentials of all or some of the A-IoT devices controlled by the operator on all trusted RAN nodes through Operation Administration Maintenance (OAM). Before initiating the air interface security authentication process with an A-IoT device, a specific RAN node first determines whether the security credentials of the A-IoT device are stored in its pre-configured configuration.
[0317] a. If the security parameters of the A-IOT device are in its pre-configuration, then in step 0a, part or all of the second input parameters for calculating the authentication code or digital signature of the RAN node (such as the A-IOT device ID, the service cell ID of the A-IOT device, the UE context ID of the A-IOT device, the time information corresponding to the transmission of the authentication code or data signature, the frequency domain resource information corresponding to the transmission of the authentication code or data signature, and at least one of the beam information corresponding to the transmission of the authentication code or data signature) are sent to the 5GC node. In step 0b, the 5GC node returns the authentication code or digital signature of the RAN node to the RAN node.
[0318] b. If the security parameters of the A-IOT device are not in its pre-configuration, then in step 0a, a request is sent to the 5GC node to obtain the security parameters of the A-IOT device, and the request carries the ID information of the A-IOT device and part or all of the second input parameters used to calculate the authentication code or digital signature of the RAN node. In step 0b, the 5GC node returns the security parameters of the A-IOT device and the authentication code or digital signature of the RAN node to the RAN node.
[0319] Here, the 5GC node can be a 5GC node in the related technology (such as AMF), or a newly introduced 5GC functional node, which is not limited here.
[0320] That is, in this embodiment, the 5GC node calculates the authentication code or digital signature of the RAN node.
[0321] 2) If the operator does not support pre-configuring the security parameters (security credentials) of all or some of the operator's managed A-IOT devices to all trusted RAN nodes through OAM, for a specific RAN node, the RAN node will always request the security parameters of the A-IOT device from the 5GC node before triggering the air interface security authentication process, and send a second input parameter used to calculate the RAN authentication code or digital signature. If the 5GC node determines that the RAN node is trustworthy, it will respond to the RAN node with the security parameters of the A-IOT device and the authentication code or digital signature of the RAN node. In other words, the RAN node first executes step 0a, and whether step 0b is executed depends on the 5GC node's authentication result of determining whether the RAN node is trustworthy.
[0322] Step 1: The RAN node sends a one-way authentication request command (i.e., the second authentication command in the above embodiment) to the A-IOT device. The one-way authentication request command is used for RAN node authentication and carries at least the configuration information of the security parameters of the A-IOT device and the authentication code or data signature of the RAN node. This configuration content follows the pre-configured content of the RAN node or the configuration content returned by the 5GC node (i.e., step 0b).
[0323] Alternatively, the 5GC node may send a one-way authentication request command to the A-IOT device, and the one-way authentication request command may be transparently forwarded to the A-IOT device through the RAN node.
[0324] Before step 1, the 5GC node calculates and generates an authentication code or data signature of the RAN node. The method by which the 5GC node generates the authentication code or data signature of the RAN node is not limited in this application.
[0325] Step 2: The A-IOT device sends a response (i.e., a second response) to the RAN node requesting a one-way authentication command. The response to the one-way authentication command requesting at least carries an authentication result indicating whether the RAN node has passed authentication.
[0326] Alternatively, the A-IOT device sends a response to the 5GC node requesting a one-way authentication command, and the response to the 5GC node requesting a one-way authentication command is transparently forwarded to the 5GC node through the RAN node.
[0327] Prior to step 2, the A-IOT device determines whether the RAN node is authenticated. Optionally, this determination can be made by: the A-IOT device calculates and generates an authentication code or data signature for the RAN node, and compares the authentication code or data signature calculated and generated by the A-IOT device with the authentication code or data signature received in step 1. If the two values are equal, the RAN node is determined to be authenticated; otherwise, the RAN node is determined to have failed authentication.
[0328] The A-IOT device generates the RAN node authentication code or data signature, which is not limited in this application. However, it must be consistent with the method of generating the RAN node authentication code or data signature by the 5GC node.
[0329] Furthermore, on the premise that the A-IOT device determines that the RAN node is authenticated, the A-IOT device performs at least one of the following:
[0330] Respond to other commands sent by the RAN node;
[0331] Send data of A-IOT devices to RAN nodes.
[0332] Embodiment 5 of the present application
[0333] In this embodiment, the RAN node (access network device) acts as a reader / writer device, and the A-IOT device acts as a tag device. This embodiment implements bidirectional authentication between the A-IOT device and the RAN node, i.e., the A-IOT device authenticates whether the RAN node is legitimate, and the RAN node authenticates whether the A-IOT device is legitimate. The peer entities of the security function are the A-IOT device and the RAN node.
[0334] 13 , the method of the embodiment of the present application can be regarded as a combination of the third embodiment and the first embodiment. For details, please refer to the third embodiment and the first embodiment, and no repeated description will be given.
[0335] The two-way authentication command in FIG13 refers to the one-way authentication command and the one-way authentication request command in the above-mentioned third and first embodiments.
[0336] Example 6 of the present application
[0337] In this embodiment, the RAN node (access network device) acts as a reader / writer device, and the A-IOT device acts as a tag device. This embodiment is a two-way authentication between the A-IOT device and the RAN node, that is, the A-IOT device authenticates whether the RAN node is legitimate, and the 5GC node authenticates whether the A-IOT device is legitimate. The peer entities of the security function are the A-IOT device and the 5GC node.
[0338] 14 , the method of the embodiment of the present application can be regarded as a combination of the fourth embodiment and the second embodiment. For details, please refer to the fourth embodiment and the second embodiment, and no repeated description will be given.
[0339] The two-way authentication command in FIG14 refers to the one-way authentication command and the one-way authentication request command in the above-mentioned fourth and second embodiments.
[0340] Embodiment 7 of the present application
[0341] In this embodiment, the UE (terminal) acts as a reader / writer device and the A-IOT device acts as a tag device. This embodiment is a one-way authentication of the A-IOT device by the UE, that is, the UE verifies whether the A-IOT device is legal. The peer entities of the security function are the A-IOT device and the UE.
[0342] Referring to FIG. 15 , the authentication method for a tag device according to an embodiment of the present application includes:
[0343] Step 0a and step 0b are optional steps, which can be implemented by any of the following 1) or 2):
[0344] 1) The operator pre-configures the security credentials of all or some of the A-IOT devices controlled by the operator for all trusted UEs through Operation Administration Maintenance (OAM). Before initiating the air interface security authentication process with an A-IOT device, a specific UE first determines whether the security credentials of the A-IOT device are stored in its pre-configured configuration.
[0345] If the security parameters of the A-IOT device are in its pre-configuration, steps 0a and 0b can be skipped, and the UE directly triggers the air interface security authentication process, that is, the UE first executes step 1 in Figure 15.
[0346] b. If the security parameters of the A-IOT device connected to the UE are not in its pre-configuration, the UE will first request the security parameters of the A-IOT device from the 5GC node before triggering the air interface security authentication process. The request carries the identification (ID) information of the A-IOT device. The 5GC node responds to the UE with the security parameters of the A-IOT device on the premise that the UE is trustworthy. That is, the UE executes step 0a as the first step, and whether step 0b is executed depends on whether the 5GC node determines whether the UE is trustworthy. The 5GC node can be a 5GC node in the related technology (such as Access and Mobility Management Function (AMF)), or a newly introduced 5GC function node, which is not limited here.
[0347] 2) If the operator does not support pre-configuring the security parameters (security credentials) of all or part of the A-IOT devices controlled by the operator for all trusted UEs through OAM, for a specific UE, before triggering the air interface security authentication process, it always requests the security parameters of the A-IOT device from the 5GC node. On the premise that the UE is trusted, the 5GC node responds to the UE with the security parameters of the A-IOT device. That is, the UE first executes step 0a, and whether step 0b is executed depends on whether the 5GC node determines that the UE is trusted.
[0348] The ID information of the A-IOT device may include at least one of the following: the electronic product code (EPC) of the A-IOT device and the tag identity (TID) of the A-IOT device, which is stored in the tag information area. The data in the tag information area is written when the tag chip is produced and cannot be modified after writing. The above ID information is consistent with the production configuration of the A-IOT device and cannot be modified after writing.
[0349] The security parameters of the A-IOT device may include at least one of the following: root key (RK) index (the root key is uniquely determined by the index value), communication encryption algorithm (used to indicate the data transmission encryption and integrity protection algorithm supported by the A-IOT device), key length, security mode (used to indicate whether the A-IOT device needs to perform security authentication, security authentication includes one-way authentication or two-way authentication, one-way authentication is the A-IOT device authenticating the UE or the UE authenticating the A-IOT device, and whether secure communication is required), security function (used to indicate the security authentication algorithm supported by the A-IOT device, the security authentication algorithm includes one-way authentication algorithm or two-way authentication algorithm, the one-way authentication algorithm is the algorithm used by the A-IOT device to authenticate the UE or the algorithm used by the UE to authenticate the A-IOT device), Tsec (the reference time for the UE to wait for the A-IOT device to respond after sending a security authentication command or a security communication command, in units of 10ms). The above security parameters are consistent with the production configuration of the A-IOT device and cannot be modified after being written to the A-IOT device.
[0350] Step 1: The UE sends a one-way authentication command (i.e., the first authentication command in the above embodiment) to the A-IOT device. The one-way authentication command is used to authenticate the A-IoT device. The one-way authentication command carries at least the configuration information of the security parameters of the A-IOT device. The configuration information follows the content of the pre-configured security parameters of the UE or the configuration content of the security parameters obtained from the 5GC node (i.e., step 0b).
[0351] According to step 1, the A-IOT device determines the authentication code or data signature of the A-IOT device by calculation. The method by which the A-IOT device generates the authentication code or data signature of the A-IOT device is not limited in this application.
[0352] Step 2: The A-IOT device sends a response (first response) to the one-way authentication command to the UE. The response to the one-way authentication command carries: the ID information of the A-IOT device, the authentication code or data signature of the A-IOT device.
[0353] According to step 2, the UE determines whether the A-IOT device is authenticated. Optionally, the determination may be made according to the following method:
[0354] The UE determines the authentication code or data signature of the A-IOT device, compares the authentication code or data signature of the A-IOT device calculated and generated by itself with the authentication code or data signature of the A-IOT device received in step 2. If the two values are equal, the A-IOT device is judged to have passed the authentication; otherwise, the A-IOT device is judged to have failed the authentication.
[0355] The method by which the UE calculates and generates the authentication code or data signature of the A-IOT device is not limited in this application, but must be consistent with the method by which the A-IOT device generates the authentication code or data signature of the A-IOT device.
[0356] Further, on the premise that the UE determines that the A-IOT device has passed the authentication, the UE performs at least one of the following: sending a control command to the A-IOT device;
[0357] Receive or process data from A-IOT devices;
[0358] Forward data from A-IOT devices.
[0359] Here, the object of forwarding data can be a 5GC node in the related technology, such as a user plane function (UPF), or a newly introduced 5GC function node, or an A-IOT App server, etc., which is not limited here.
[0360] Embodiment 8 of the present application
[0361] In this embodiment, the UE (terminal) acts as a reader / writer device and the A-IOT device acts as a tag device. This embodiment is a one-way authentication of the UE by the A-IOT device, that is, the A-IOT device verifies whether the UE is legal. The peer entities of the security function are the A-IOT device and the UE.
[0362] Referring to FIG. 16 , the authentication method of the reader / writer device according to an embodiment of the present application includes:
[0363] Step 0a and step 0b are the same as those in embodiment 7 and will not be described again.
[0364] Step 1: The UE sends a one-way authentication request command (second authentication command) to the A-IOT device. The one-way authentication request command is used for authentication of the RAN node. The one-way authentication request command carries at least the configuration information of the security parameters of the A-IOT device, the UE's authentication code or digital signature, and the second input parameter for calculating the UE's authentication code or digital signature (such as the UE ID, and at least one of the time information, frequency domain information, or beam information corresponding to the transmission of the authentication code or digital signature).
[0365] Before step 1, the UE calculates and generates the UE authentication code or data signature. The method by which the UE generates the UE device authentication code or data signature is not limited in this application.
[0366] According to step 1, the A-IOT device determines whether the UE has passed authentication. Optionally, this determination can be made by: the A-IOT device calculates and generates an authentication code or data signature for the UE, and compares the authentication code or data signature calculated and generated by the A-IOT device with the authentication code or data signature received in step 1. If the two values are equal, the UE is deemed to have passed authentication; otherwise, the UE is deemed to have failed authentication.
[0367] Step 2: The A-IOT device sends a response to the UE requesting a one-way authentication command, where the response to the one-way authentication command at least carries an authentication result indicating whether the UE has passed the authentication.
[0368] The method by which the A-IOT device calculates and generates the UE authentication code or data signature is not limited in this application, but must be consistent with the method by which the UE generates the UE authentication code or data signature.
[0369] Furthermore, on the premise that the A-IOT device determines that the UE has passed the authentication, the A-IOT device performs at least one of the following: responding to other commands sent by the UE; sending data of the A-IOT device to the UE.
[0370] Embodiment 9 of the present application
[0371] In this embodiment, the UE (terminal) acts as a reader / writer device and the A-IOT device acts as a tag device. This embodiment is a two-way authentication between the A-IOT device and the UE, that is, the A-IOT device authenticates whether the UE is legal, and the UE authenticates whether the A-IOT device is legal. The peer entities of the security function are the A-IOT device and the UE.
[0372] Please refer to Figure 17. The method of the embodiment of the present application can be regarded as a combination of Example 8 and Example 7. For details, please refer to Example 8 and Example 7, and the description will not be repeated.
[0373] The two-way authentication command in FIG17 refers to the one-way authentication command and the one-way authentication request command in the above-mentioned eighth and seventh embodiments.
[0374] The authentication method for a tag device provided in the embodiment of the present application can be executed by an authentication device of the tag device. In the embodiment of the present application, the authentication device of the tag device is used as an example to illustrate the authentication method for the tag device.
[0375] Referring to FIG. 18 , an embodiment of the present application further provides an authentication device 180 for a tag device, including:
[0376] The first sending module 181 is configured to send a first authentication command, where the first authentication command is used to authenticate the tag device and includes configuration information of security parameters of the tag device; wherein the authentication device 180 of the tag device is an access network device, a terminal, or a core network device;
[0377] A first receiving module 182 is configured to receive a first response, where the first response includes: first authentication information of the tag device;
[0378] The first determining module 183 is configured to determine whether the tag device passes authentication according to the configuration information of the security parameters and the first authentication information of the tag device.
[0379] In the embodiment of the present application, the process of how to authenticate the tag device in the 3GPP system is clarified so that the information transmission between the reader device (terminal or access network device) and the tag device works in a secure mode.
[0380] Optionally, when the authentication device 180 of the tag device is an access network device or a terminal, the security parameters are stored in the authentication device 180 of the tag device, or the security parameters are obtained by the authentication device 180 of the tag device from a core network device.
[0381] Optionally, the authentication device 180 of the tag device is an access network device or a terminal;
[0382] The first sending module 181 is configured to send a first authentication command when the authentication device 180 of the tag device has the security parameters of the tag device.
[0383] Optionally, the authentication device 180 of the tag device is an access network device or a terminal; the authentication device 180 of the tag device further includes:
[0384] a sending module, configured to send a first request for obtaining security parameters to a core network device, wherein the first request includes identification information of the tag device; or, if the security parameters of the tag device are not available, send a first request for obtaining security parameters to the core network device, wherein the first request includes identification information of the tag device;
[0385] A receiving module is used to receive the security parameters from the core network device.
[0386] Optionally, the authentication device 180 of the tag device is a core network device;
[0387] The first sending module 181 is configured to send the first authentication command to the tag device through the access network device;
[0388] The first receiving module 182 is configured to receive the first response forwarded by the access network device;
[0389] or
[0390] The authentication device 180 of the tag device is an access network device where the source serving cell of the tag device is located;
[0391] The first sending module 181 is configured to send the first authentication command to the tag device through the access network device where the destination serving cell of the tag device is located, wherein the access network device where the destination serving cell of the tag device is located forwards the first authentication command;
[0392] The first receiving module 182 is configured to receive the first response forwarded by the access network device where the destination serving cell of the tag device is located.
[0393] Optionally, the first determination module 183 is used to determine the second authentication information of the tag device by calculation based on the configuration information of the security parameters of the tag device and the first input parameter used to calculate the first authentication information of the tag device; compare the second authentication information with the received first authentication information of the tag device to see whether they are the same; if the second authentication information is the same as the first authentication information, determine that the tag device has passed the authentication; if the second authentication information is different from the first authentication information, determine that the tag device has not passed the authentication.
[0394] Optionally, when the authentication device 180 of the tag device is a core network device, the authentication device 180 further includes:
[0395] The second receiving module is configured to receive the first input parameter sent by the access network device where the serving cell of the tag device is located.
[0396] Optionally, the first input parameter includes at least one of the following: identification information of the tag device, identification information of the service cell of the tag device, context identification of the tag device, time information corresponding to the transmission of the first authentication information, frequency domain resource information corresponding to the transmission of the first authentication information, and beam information corresponding to the transmission of the first authentication information.
[0397] Optionally, the authentication device 180 of the tag device is an access network device or a terminal, and further includes:
[0398] An execution module, configured to execute at least one of the following if the tag device passes the authentication:
[0399] Sending a control command to the tag device;
[0400] receiving data sent by the tag device;
[0401] Processing data sent by the tag device;
[0402] Forward the data sent by the tag device.
[0403] Optionally, the authentication device 180 of the tag device is a core network device, and further includes at least one of the following:
[0404] The second sending module is used to send an authentication result indicating whether the tag device has passed the authentication to the access network device or the terminal;
[0405] The third sending module is used to send the authorization information of the tag device to the access network device or the terminal, and the authorization information is sent when the tag device passes the authentication.
[0406] The authentication device of the tag device in the embodiment of the present application can be an electronic device, such as an electronic device with an operating system, or a component in an electronic device, such as an integrated circuit or chip. The electronic device can be a terminal, or it can be other devices other than a terminal. For example, the terminal can include but is not limited to the types of terminals 11 listed above, and other devices can be servers, network attached storage (NAS), etc., which are not specifically limited in the embodiment of the present application.
[0407] The authentication device of the tag device provided in the embodiment of the present application can implement each process implemented in the method embodiment of Figure 4 and achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0408] Referring to FIG. 19 , an embodiment of the present application further provides an authentication device 190 for a tag device, including:
[0409] A first receiving module 191 is configured to receive a first authentication command sent by a first device, the first authentication command being used for authenticating the tag device and including configuration information of security parameters of the tag device; the first device being an access network device, a terminal, or a core network device;
[0410] The first sending module 192 is configured to send a first response to the first device according to the first authentication command, where the first response includes first authentication information of the tag device.
[0411] In the embodiment of the present application, the process of how to authenticate the tag device in the 3GPP system is clarified, so that the information transmission between the reader device (access network device or terminal) and the tag device works in a secure mode.
[0412] Optionally, when the first device is an access network device or a terminal, the security parameter is stored in the first device, or the security parameter is obtained by the first device from a core network device.
[0413] Optionally, the first sending module 192 is used to determine the first authentication information of the tag device by calculation based on the configuration information of the security parameters and the first input parameter used to calculate the first authentication information of the tag device; and send the first response to the first device, wherein the first response includes the first authentication information.
[0414] Optionally, the first input parameter includes at least one of the following: identification information of the tag device, identification information of the service cell of the tag device, context identification of the tag device, time information corresponding to the transmission of the first authentication information, frequency domain resource information corresponding to the transmission of the first authentication information, and beam information corresponding to the transmission of the first authentication information.
[0415] The authentication device of the tag device provided in the embodiment of the present application can implement each process implemented in the method embodiment of Figure 5 and achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0416] The authentication method for a reader / writer device provided in the embodiment of the present application can be executed by an authentication device of the reader / writer device. In the embodiment of the present application, the authentication device of the reader / writer device is used as an example to illustrate the authentication method of the reader / writer device.
[0417] Referring to FIG. 20 , an embodiment of the present application further provides an authentication device 200 for a reader / writer device, including:
[0418] The first sending module 201 is configured to send a second authentication command, which is used for authenticating the reader / writer device. The second authentication command includes configuration information of security parameters of the tag device and third authentication information of the reader / writer device. The authentication device 200 of the reader / writer device is the reader / writer device or a core network device, and the reader / writer device is an access network device or a terminal.
[0419] The first receiving module 202 is configured to receive a second response, where the second response includes an authentication result indicating whether the reader / writer device has passed or failed authentication.
[0420] In the embodiment of the present application, the process of how the tag device authenticates the UE or RAN as a reader device in the 3GPP system is clarified, so that the information transmission between the reader device and the tag device works in a secure mode.
[0421] Optionally, when the first device is the reader / writer device, the security parameters are stored in the first device, or the security parameters are obtained by the first device from the core network device.
[0422] Optionally, the authentication device 200 of the reader / writer device further includes:
[0423] The first determining module is configured to determine third authentication information of the reader / writer device.
[0424] Optionally, the authentication device 200 of the reader / writer device is the reader / writer device, further comprising:
[0425] A second sending module is used to send a first request for obtaining security parameters to the core network device;
[0426] or,
[0427] The third sending module is used to send a first request for obtaining security parameters to a core network device when the first device does not have the security parameters of the tag device; wherein the first request includes identification information of the tag device.
[0428] Optionally, the authentication device 200 of the reader / writer device is the reader / writer device, further comprising:
[0429] a fourth sending module, configured to send a first request for obtaining security parameters to a core network device, wherein the first request includes identification information of the tag device and a second input parameter for calculating third authentication information of the reader / writer device;
[0430] A second receiving module is used to receive the security parameters of the tag device and the third authentication information of the reader device sent by the core network device;
[0431] or,
[0432] A fifth sending module is configured to send a second request to a core network device when the security parameters of the tag device are available; the first device receives the third authentication information of the reader / writer device sent by the core network device;
[0433] a sixth sending module, configured to send a first request for obtaining security parameters to a core network device in the absence of the security parameters of the tag device; the first device receiving the security parameters of the tag device and the third authentication information of the reader / writer device sent by the core network device;
[0434] The first request includes the identification information of the tag device and the second input parameter for calculating the third authentication information of the reader / writer device, and the second request includes the second input parameter for calculating the third authentication information of the reader / writer device.
[0435] Optionally, the second input parameter includes at least one of the following: identification information of the first device, time information corresponding to the transmission of the third authentication information, frequency domain resource information corresponding to the transmission of the third authentication information, and beam information corresponding to the transmission of the third authentication information.
[0436] Optionally, the authentication device 200 of the reader / writer device is a core network device;
[0437] The first sending module 201 is configured to send the second authentication command to the tag device via the access network device;
[0438] The first receiving module 202 is configured to receive the second response forwarded by the access network device.
[0439] Optionally, the authentication device 200 of the reader / writer device further includes:
[0440] a seventh sending module, configured to send a first authentication command, where the first authentication command is used to authenticate the tag device, and the first authentication command includes configuration information of security parameters of the tag device;
[0441] A third receiving module is configured to receive a first response, where the first response includes: first authentication information of the tag device;
[0442] The second determining module is configured to determine whether the tag device passes the authentication according to the configuration information of the security parameters and the first authentication information of the tag device.
[0443] The authentication device of the reader / writer device in the embodiments of the present application can be an electronic device, such as an electronic device with an operating system, or a component of an electronic device, such as an integrated circuit or chip. The electronic device can be a terminal or other device other than a terminal. For example, the terminal can include but is not limited to the types of terminal 11 listed above, and other devices can include servers, network attached storage (NAS), etc., which are not specifically limited in the embodiments of the present application.
[0444] The authentication device of the reader / writer device provided in the embodiment of the present application can implement each process implemented in the method embodiment of Figure 6 and achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0445] Referring to FIG. 21 , an embodiment of the present application further provides an authentication device 210 for a reader / writer device, including:
[0446] A first receiving module 211 is configured to receive a second authentication command sent by a first device, the second authentication command being used for authenticating a reader / writer device, the second authentication command including configuration information of security parameters of the tag device and third authentication information of the reader / writer device; wherein the first device is the reader / writer device or a core network device, and the reader / writer device is an access network device or a terminal;
[0447] The first determination module 212 is configured to determine whether the reader / writer device passes authentication according to the second authentication command.
[0448] In the embodiment of the present application, the process of how the tag device authenticates the UE or RAN as a reader device in the 3GPP system is clarified, so that the information transmission between the reader device and the tag device works in a secure mode.
[0449] Optionally, when the first device is the reader / writer device, the security parameter is stored in the first device, or the security parameter is obtained by the first device from a core network device.
[0450] Optionally, the first determination module 212 is used to determine the fourth authentication information of the reader / writer device by calculation based on the configuration information of the security parameters of the tag device and the second input parameter used to calculate the third authentication information of the reader / writer device; compare the fourth authentication information with the received third authentication information of the reader / writer device to see whether they are the same; if the fourth authentication information is the same as the third authentication information, determine that the reader / writer device has passed the authentication; if the fourth authentication information is different from the third authentication information, determine that the reader / writer device has not passed the authentication.
[0451] Optionally, the second input parameter includes at least one of the following: identification information of the first device, time information corresponding to the transmission of the third authentication information, frequency domain resource information corresponding to the transmission of the third authentication information, and beam information corresponding to the transmission of the third authentication information.
[0452] Optionally, the authentication device 210 of the reader / writer device further includes:
[0453] An execution module, configured to execute at least one of the following if the reader / writer device passes the authentication:
[0454] Sending a second response to the first device, where the second response includes: an authentication result indicating whether the reader device has passed authentication or failed authentication;
[0455] Responding to a control command sent by the reader / writer device;
[0456] Send data to the reader / writer device.
[0457] Optionally, the authentication device 210 of the reader / writer device further includes:
[0458] a second receiving module, configured to receive a first authentication command sent by the first device, where the first authentication command is used to authenticate the tag device, and the first authentication command includes configuration information of security parameters of the tag device;
[0459] A second determining module, configured to determine first authentication information of the tag device according to the first authentication command;
[0460] The sending module is configured to send a first response to the first device, where the first response includes: first authentication information of the tag device.
[0461] Optionally, the authentication device 210 of the reader / writer device further includes:
[0462] A discarding module is used to discard the first authentication command sent by the first device if the reader device fails to pass the authentication, wherein the first authentication command is used to authenticate the tag device and includes configuration information of security parameters of the tag device.
[0463] The authentication device of the reader / writer device provided in the embodiment of the present application can implement each process implemented in the method embodiment of Figure 7 and achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0464] The security authentication method provided in the embodiment of the present application can be executed by a security authentication device. In the embodiment of the present application, the security authentication device provided in the embodiment of the present application is described by taking the security authentication method executed by the security authentication device as an example.
[0465] Referring to FIG. 22 , the present embodiment further provides a security authentication device 220 , including:
[0466] A first receiving module 221 is configured to receive a request sent by a reader / writer device, wherein the request includes identification information of a tag device and / or a second input parameter for calculating authentication information of the reader / writer device; the reader / writer device is an access network device or a terminal;
[0467] The first sending module 222 is used to send the security parameters of the tag device and / or the third authentication information of the reader device to the reader device, wherein the third authentication information is determined by the core network device through calculation based on the security parameters of the tag device and the second input parameter.
[0468] In an embodiment of the present application, the access network device or terminal serving as a reader / writer device may obtain the security parameters of the tag device from the core network device and / or request the core network device to determine the authentication information of the reader / writer device before authenticating the tag device, or before requesting the tag device to authenticate the reader / writer device. If the core network device verifies that the reader / writer device is trustworthy, it may send the security parameters of the tag device and / or the authentication information of the reader / writer device to the reader / writer device, thereby ensuring that the access network device or terminal participating in the authentication is a trustworthy device.
[0469] Optionally, the first sending module is configured to send the security parameters of the tag device and / or the third authentication information of the reader device to the reader device when it is determined that the reader device is trustworthy.
[0470] The security authentication device in the embodiment of the present application can be an electronic device, such as an electronic device with an operating system, or a component in the electronic device, such as an integrated circuit or a chip.
[0471] The security authentication device provided in the embodiment of the present application can implement each process implemented in the method embodiment of Figure 8 and achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0472] As shown in Figure 23, an embodiment of the present application also provides a communication device 230, including a processor 231 and a memory 232, and the memory 232 stores programs or instructions that can be run on the processor 231. For example, when the communication device 230 is a first device, the program or instruction is executed by the processor 231 to implement the various steps of the method embodiment executed by the above-mentioned first device, and can achieve the same technical effect. When the communication device 230 is a tag device, the program or instruction is executed by the processor 231 to implement the various steps of the method embodiment executed by the above-mentioned tag device, and can achieve the same technical effect. When the communication device 230 is a core network device, the program or instruction is executed by the processor 231 to implement the various steps of the method embodiment executed by the above-mentioned core network device, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0473] The present application also provides a terminal including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is configured to execute a program or instruction to implement the steps in the method embodiment shown in FIG4 or FIG6. This terminal embodiment corresponds to the method embodiment executed on the first device side described above. Each implementation process and implementation method of the method embodiment described above can be applied to this terminal embodiment and can achieve the same technical effect. Specifically, FIG24 is a schematic diagram of the hardware structure of a terminal implementing an embodiment of the present application.
[0474] The terminal 240 includes but is not limited to: a radio frequency unit 241, a network module 242, an audio output unit 243, an input unit 244, a sensor 245, a display unit 246, a user input unit 247, an interface unit 248, a memory 249 and at least some of the components of the processor 2410.
[0475] Those skilled in the art will appreciate that the terminal 240 may also include a power supply (such as a battery) to power various components. The power supply may be logically connected to the processor 2410 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The terminal structure shown in FIG24 does not limit the terminal. The terminal may include more or fewer components than shown, or may combine certain components, or have different component arrangements, which will not be described in detail here.
[0476] It should be understood that in an embodiment of the present application, the input unit 244 may include a graphics processing unit (GPU) 2441 and a microphone 2442, and the graphics processor 2441 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 246 may include a display panel 2461, and the display panel 2461 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 247 includes a touch panel 2471 and at least one of other input devices 2472. The touch panel 2471 is also called a touch screen. The touch panel 2471 may include two parts: a touch detection device and a touch controller. Other input devices 2472 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0477] In the embodiment of the present application, after receiving downlink data from the network-side device, the RF unit 241 can transmit the data to the processor 2410 for processing. In addition, the RF unit 241 can send uplink data to the network-side device. Generally, the RF unit 241 includes but is not limited to an antenna, an amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, etc.
[0478] The memory 249 can be used to store software programs or instructions and various data. The memory 249 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 249 may include a volatile memory or a non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may 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 RAM bus random access memory (DRRAM). The memory 249 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0479] Processor 2410 may include one or more processing units. Optionally, processor 2410 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 2410.
[0480] In one embodiment, the radio frequency unit 241 is configured to send a first authentication command, the first authentication command being used for authenticating a tag device, the first authentication command including configuration information of security parameters of the tag device; and receive a first response, the first response including: first authentication information of the tag device;
[0481] The processor 2410 is configured to determine whether the tag device passes authentication according to the configuration information of the security parameters and the first authentication information of the tag device.
[0482] In the embodiment of the present application, the process of how to authenticate the tag device in the 3GPP system is clarified so that the information transmission between the reader device (terminal or access network device) and the tag device works in a secure mode.
[0483] It can be understood that the implementation process of each implementation method mentioned in this embodiment can refer to the relevant description of method embodiment 4 and achieve the same or corresponding technical effects. To avoid repetition, it will not be repeated here.
[0484] Alternatively, in another embodiment, the radio frequency unit 241 is used to send a second authentication command, where the second authentication command is used to authenticate the reader / writer device, and the second authentication command includes configuration information of security parameters of the tag device and third authentication information of the reader / writer device; and receive a second response, where the second response includes: an authentication result of whether the reader / writer device passes or fails authentication.
[0485] In the embodiment of the present application, the process of how the tag device authenticates the UE or RAN as a reader device in the 3GPP system is clarified, so that the information transmission between the reader device and the tag device works in a secure mode.
[0486] It can be understood that the implementation process of each implementation method mentioned in this embodiment can refer to the relevant description of method embodiment 6 and achieve the same or corresponding technical effects. To avoid repetition, it will not be repeated here.
[0487] The present application also provides a network-side device, including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is configured to execute a program or instruction to implement the steps of the method embodiment shown in Figure 4 or Figure 6. This network-side device embodiment corresponds to the first device-side method embodiment described above, and each implementation process and implementation method of the above method embodiment are applicable to this network-side device embodiment and can achieve the same technical effects.
[0488] Specifically, embodiments of the present application also provide a network-side device. As shown in Figure 25, the network-side device 2500 includes an antenna 251, a radio frequency device 252, a baseband device 253, a processor 254, and a memory 255. The antenna 251 is connected to the radio frequency device 252. In the uplink direction, the radio frequency device 252 receives information via the antenna 251 and sends the received information to the baseband device 253 for processing. In the downlink direction, the baseband device 253 processes the information to be transmitted and sends it to the radio frequency device 252. The radio frequency device 252 processes the received information and then sends it through the antenna 251.
[0489] The method executed by the network-side device in the above embodiment may be implemented in the baseband device 253 , which includes a baseband processor.
[0490] The baseband device 253 may include, for example, at least one baseband board, on which multiple chips are arranged, as shown in Figure 25, one of the chips is, for example, a baseband processor, which is connected to the memory 255 through a bus interface to call the program in the memory 255 and execute the network device operations shown in the above method embodiment.
[0491] The network side device may further include a network interface 256, which is, for example, a Common Public Radio Interface (CPRI).
[0492] Specifically, the network side device 2500 of the embodiment of the present application also includes: instructions or programs stored in the memory 255 and executable on the processor 254. The processor 254 calls the instructions or programs in the memory 255 to execute the methods executed by the modules shown in FIG18 or FIG20 and achieve the same technical effect. To avoid repetition, it will not be elaborated here.
[0493] Specifically, the embodiment of the present application further provides a network-side device. As shown in FIG26 , the network-side device 260 includes: a processor 261, a network interface 262, and a memory 263. The network interface 262 is, for example, a common public radio interface (CPRI).
[0494] Specifically, the network side device 260 of the embodiment of the present application also includes: instructions or programs stored in the memory 263 and executable on the processor 261. The processor 261 calls the instructions or programs in the memory 263 to execute the methods executed by the modules shown in FIG. 18 , FIG. 20 , or FIG. 22 , and achieves the same technical effect. To avoid repetition, it will not be elaborated here.
[0495] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0496] The processor is the processor in the terminal described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. In some examples, the readable storage medium may be a non-transitory readable storage medium.
[0497] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned method embodiment and achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0498] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0499] An embodiment of the present application further provides a computer program / program product, which is stored in a storage medium. The computer program / program product is executed by at least one processor to implement the various processes of the above-mentioned method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0500] An embodiment of the present application also provides a wireless communication system, including: a first device and a tag device, wherein the first device can be used to execute the steps of the method as described above and executed by the first device side, and the tag device can be used to execute the steps of the method as described above and executed by the tag device side.
[0501] An embodiment of the present application also provides a wireless communication system, including: a first device, a tag device and a core network device, wherein the first device can be used to execute the steps of the method described above on the first device side, the tag device can be used to execute the steps of the method described above on the tag device side, and the core network device can be used to execute the steps of the method described above on the core network device side.
[0502] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0503] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of a computer software product plus a necessary general-purpose hardware platform, or of course, by hardware. The computer software product is stored in a storage medium (such as ROM, RAM, magnetic disk, optical disk, etc.) and includes a number of instructions for enabling a terminal or network-side device to execute the methods described in each embodiment of the present application.
[0504] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms of implementation methods without departing from the purpose of this application and the scope of protection of the claims. These implementation methods are all within the protection of this application.
Claims
1. A tag device authentication method, include: The first device sends a first authentication command, the first authentication command is used for authentication of the tag device, and the first authentication command includes configuration information of security parameters of the tag device; wherein the first device is an access network device, a terminal or a core network device; The first device receives a first response, wherein the first response includes: first authentication information of the tag device; The first device determines whether the tag device passes the authentication according to the configuration information of the security parameter and the first authentication information of the tag device.
2. The method according to claim 1, in, When the first device is an access network device or a terminal, the security parameter is stored in the first device, or the security parameter is obtained by the first device from a core network device.
3. The method according to claim 1, in, The first device is an access network device or a terminal; The first device sending a first authentication command includes: when the first device has the security parameter of the tag device, the first device sending the first authentication command.
4. The method according to claim 1, in, The first device is an access network device or a terminal; Before the first device sends the first authentication command, the method further includes: The first device sends a first request for obtaining security parameters to a core network device, wherein the first request includes identification information of the tag device; or, when the first device does not have the security parameters of the tag device, the first device sends a first request for obtaining security parameters to a core network device, wherein the first request includes identification information of the tag device; The first device receives the security parameter from the core network device.
5. The method according to claim 1, in, The first device is a core network device; The first device sending the first authentication command includes: the first device sending the first authentication command to the tag device through the access network device; The first device receiving the first response includes: the first device receiving the first response forwarded by the access network device; or The first device is an access network device where a source serving cell of the tag device is located; The first device sending the first authentication command includes: the first device sending the first authentication command to the tag device through the access network device where the destination serving cell of the tag device is located, wherein the access network device where the destination serving cell of the tag device is located forwards the first authentication command; The first device receiving the first response includes: the first device receiving the first response forwarded by an access network device where a destination serving cell of the tag device is located.
6. The method according to claim 1, in, The first device determines whether the tag device passes the authentication according to the configuration information of the security parameter and the first authentication information of the tag device, including: The first device determines the second authentication information of the tag device by calculation according to the configuration information of the security parameter of the tag device and the first input parameter used to calculate the first authentication information of the tag device; The first device compares the second authentication information with the received first authentication information of the tag device to see whether they are the same; If the second authentication information is the same as the first authentication information, determining that the tag device passes the authentication; If the second authentication information is different from the first authentication information, it is determined that the tag device has not passed the authentication.
7. The method according to claim 6, in, When the first device is a core network device, the first device further includes: The first device receives the first input parameter sent by an access network device where a serving cell of the tag device is located.
8. The method according to claim 6 or 7, in, The first input parameter includes at least one of the following: identification information of the tag device, identification information of the service cell of the tag device, context identification of the tag device, time information corresponding to the transmission of the first authentication information, frequency domain resource information corresponding to the transmission of the first authentication information, and beam information corresponding to the transmission of the first authentication information.
9. The method according to claim 1 or 6, in, The first device is an access network device or a terminal, and the determining whether the tag device passes the authentication further includes: If the tag device passes the authentication, the first device performs at least one of the following: Sending a control command to the tag device; Receiving data sent by the tag device; Processing data sent by the tag device; Forward the data sent by the tag device.
10. The method according to claim 1 or 6, in, The first device is a core network device, and the determining whether the tag device passes the authentication further includes at least one of the following: The first device sends an authentication result indicating whether the tag device has passed the authentication to the access network device or the terminal; The first device sends authorization information of the tag device to the access network device or the terminal, and the authorization information is sent when the tag device passes the authentication.
11. A tag device authentication method, include: The tag device receives a first authentication command sent by the first device, where the first authentication command is used for authentication of the tag device, and the first authentication command includes configuration information of security parameters of the tag device; The first device is an access network device, a terminal or a core network device; The tag device sends a first response to the first device according to the first authentication command, where the first response includes first authentication information of the tag device.
12. The method according to claim 11, in, When the first device is an access network device or a terminal, the security parameter is stored in the first device, or the security parameter is obtained by the first device from a core network device.
13. The method according to claim 11, in, The tag device sends a first response to the first device according to the first authentication command, including: The tag device determines the first authentication information of the tag device by calculation according to the configuration information of the security parameter and the first input parameter used to calculate the first authentication information of the tag device; The tag device sends the first response to the first device, where the first response includes the first authentication information.
14. The method according to claim 13, in, The first input parameter includes at least one of the following: identification information of the tag device, identification information of the service cell of the tag device, context identification of the tag device, time information corresponding to the transmission of the first authentication information, frequency domain resource information corresponding to the transmission of the first authentication information, and beam information corresponding to the transmission of the first authentication information.
15. An authentication method for a reader / writer device, include: The first device sends a second authentication command, the second authentication command is used for authentication of the reader device, and the second authentication command includes configuration information of security parameters of the tag device and third authentication information of the reader device; wherein the first device is the reader device or the core network device, and the reader device is the access network device or the terminal; The first device receives a second response, where the second response includes an authentication result of whether the reader / writer device passes authentication or fails authentication.
16. The method according to claim 15, in, When the first device is the reader / writer device, the security parameter is stored in the first device, or the security parameter is acquired by the first device from a core network device.
17. The method according to claim 15 or 16, in, Before the first device sends the second authentication command, the following step further includes: The first device determines third authentication information of the reader / writer device.
18. The method according to claim 15 or 16, in, The first device is the reader / writer device, and before the first device sends the second authentication command, the following step is also included: The first device sends a first request for acquiring security parameters to a core network device; or, In a case where the first device does not have the security parameters of the tag device, the first device sends a first request for acquiring the security parameters to a core network device; The first request includes identification information of the tag device.
19. The method according to claim 15 or 16, in, The first device is a reader / writer device, and before the first device sends the second authentication command, the following step is also included: The first device sends a first request for acquiring security parameters to a core network device, wherein the first request includes identification information of the tag device and a second input parameter for calculating third authentication information of the reader / writer device; The first device receives the security parameters of the tag device and the third authentication information of the reader device sent by the core network device; or, In the case where the first device has the security parameters of the tag device, the first device sends a second request to the core network device; the first device receives the third authentication information of the reader / writer device sent by the core network device; In the case where the first device does not have the security parameters of the tag device, the first device sends a first request for obtaining the security parameters to the core network device; the first device receives the security parameters of the tag device and the third authentication information of the reader / writer device sent by the core network device; The first request includes the identification information of the tag device and a second input parameter for calculating the third authentication information of the reader / writer device, and the second request includes a second input parameter for calculating the third authentication information of the reader / writer device.
20. The method according to claim 19, in, The second input parameter includes at least one of the following: identification information of the first device, time information corresponding to the transmission of the third authentication information, frequency domain resource information corresponding to the transmission of the third authentication information, and beam information corresponding to the transmission of the third authentication information.
21. The method according to claim 15, in, The first device is a core network device; The first device sending the second authentication command includes: the first device sending the second authentication command to the tag device through the access network device; The first device receiving the second response includes: the first device receiving the second response forwarded by the access network device.
22. The method according to claim 15, in, After the first device receives the second response, the following step further includes: The first device sends a first authentication command, where the first authentication command is used to authenticate the tag device, and the first authentication command includes configuration information of security parameters of the tag device; The first device receives a first response, wherein the first response includes: first authentication information of the tag device; The first device determines whether the tag device passes the authentication according to the configuration information of the security parameter and the first authentication information of the tag device.
23. An authentication method for a reader / writer device, include: The tag device receives a second authentication command sent by the first device, the second authentication command is used for authentication of the reader device, and the second authentication command includes configuration information of security parameters of the tag device and third authentication information of the reader device; wherein the first device is the reader device or a core network device, and the reader device is an access network device or a terminal; The tag device determines whether the reader / writer device passes the authentication according to the second authentication command.
24. The method according to claim 23, in, When the first device is the reader / writer device, the security parameter is stored in the first device, or the security parameter is acquired by the first device from a core network device.
25. The method according to claim 23, in, The tag device determines, according to the second authentication command, whether the reader / writer device passes the authentication, including: The tag device calculates the configuration information of the security parameters of the tag device and the reader-writer device The second input parameter of the third authentication information of the reader / writer device is used to determine the fourth authentication information of the reader / writer device by calculation; The tag device compares the fourth authentication information with the third authentication information received from the reader / writer device to see whether they are the same; If the fourth authentication information is the same as the third authentication information, determining that the reader / writer device has passed the authentication; If the fourth authentication information is different from the third authentication information, it is determined that the reader / writer device has failed the authentication.
26. The method according to claim 25, in, The second input parameter includes at least one of the following: identification information of the first device, time information corresponding to the transmission of the third authentication information, frequency domain resource information corresponding to the transmission of the third authentication information, and beam information corresponding to the transmission of the third authentication information.
27. The method according to claim 23, in, After the tag device determines whether the reader / writer device passes the authentication according to the second authentication command, the method further comprises: If the reader / writer device passes the authentication, the tag device performs at least one of the following: Sending a second response to the first device, wherein the second response includes: an authentication result of whether the reader / writer device passes the authentication or fails the authentication; Responding to a control command sent by the reader / writer device; Send data to the reader / writer device.
28. The method according to claim 23, in, After the tag device receives the second authentication command sent by the first device, the tag device further includes: The tag device receives a first authentication command sent by the first device, where the first authentication command is used to authenticate the tag device, and the first authentication command includes configuration information of security parameters of the tag device; The tag device determines first authentication information of the tag device according to the first authentication command; The tag device sends a first response to the first device, where the first response includes: first authentication information of the tag device.
29. The method according to claim 23, in, After the tag device determines whether the reader / writer device passes the authentication according to the second authentication command, the method further comprises: If the reader / writer device fails to pass the authentication, the tag device discards the first authentication command sent by the first device, where the first authentication command is used to authenticate the tag device and includes configuration information of security parameters of the tag device.
30. A security authentication method, include: The core network device receives a request sent by a reader / writer device, wherein the request includes identification information of a tag device and / or a second input parameter for calculating authentication information of the reader / writer device; the reader / writer device is an access network device or a terminal; The core network device sends the security parameters of the tag device and / or the third authentication information of the reader / writer device to the reader / writer device, wherein the third authentication information is determined by the core network device through calculation based on the security parameters of the tag device and the second input parameters.
31. The method according to claim 30, in, The core network device sending the security parameter of the tag device and / or the third authentication information of the reader-writer device to the reader-writer device includes: When the core network device determines that the reader / writer device is credible, the core network device sends the security parameters of the tag device and / or the third authentication information of the reader / writer device to the reader / writer device.
32. An authentication device for a tag device, include: A first sending module, used to send a first authentication command, the first authentication command is used for authenticating a tag device, and the first authentication command includes configuration information of security parameters of the tag device; wherein the authentication device of the tag device is an access network device, a terminal or a core network device; A first receiving module, configured to receive a first response, wherein the first response includes: first authentication information of the tag device; The first determination module is used to determine whether the tag device passes the authentication according to the configuration information of the security parameter and the first authentication information of the tag device.
33. An authentication device for a tag device, include: A first receiving module, configured to receive a first authentication command sent by a first device, wherein the first authentication command is used for authenticating the tag device, and the first authentication command includes configuration information of security parameters of the tag device; The first device is an access network device, a terminal or a core network device; The first sending module is used to send a first response to the first device according to the first authentication command, where the first response includes first authentication information of the tag device.
34. An authentication device for a reader / writer device, include: A first sending module is used to send a second authentication command, the second authentication command is used for authenticating the reader / writer device, and the second authentication command includes configuration information of security parameters of the tag device and third authentication information of the reader / writer device; wherein the authentication device of the reader / writer device is the reader / writer device or a core network device, and the reader / writer device is an access network device or a terminal; The first receiving module is used to receive a second response, wherein the second response includes: an authentication result of whether the reader / writer device passes the authentication or fails the authentication.
35. An authentication device for a reader / writer device, include: A first receiving module is used to receive a second authentication command sent by a first device, the second authentication command is used for authentication of a reader / writer device, and the second authentication command includes configuration information of security parameters of a tag device and third authentication information of the reader / writer device; wherein the first device is the reader / writer device or a core network device, and the reader / writer device is an access network device or a terminal; The first determination module is used to determine whether the reader / writer device passes the authentication according to the second authentication command.
36. A security authentication device, include: A first receiving module is used to receive a request sent by a reader / writer device, wherein the request includes identification information of a tag device and / or a second input parameter used to calculate authentication information of the reader / writer device; the reader / writer device is an access network device or a terminal; The first sending module is used to send the security parameters of the tag device and / or the reader device to the reader-writer device. The third authentication information of the writer device is determined by calculation according to the security parameter of the tag device and the second input parameter.
37. A communication device, comprising a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the authentication method for a tag device as described in any one of claims 1 to 10, or, when executed by the processor, implements the steps of the authentication method for a tag device as described in any one of claims 11 to 14, or, when executed by the processor, implements the steps of the authentication method for a reader / writer device as described in any one of claims 15 to 22, or, when executed by the processor, implements the steps of the authentication method for a reader / writer device as described in any one of claims 23 to 29, or, when executed by the processor, implements the steps of the security authentication method as described in any one of claims 30 to 31.
38. A readable storage medium storing a program or instruction, wherein the program or instruction, when executed by a processor, implements the steps of the authentication method for a tag device as described in any one of claims 1 to 10, or implements the steps of the authentication method for a tag device as described in any one of claims 11 to 14, or implements the steps of the authentication method for a reader / writer device as described in any one of claims 15 to 22, or implements the steps of the authentication method for a reader / writer device as described in any one of claims 23 to 29, or implements the steps of the security authentication method as described in any one of claims 30 to 31.
Citation Information
Patent Citations
Authentication method and device for terminal equipment
CN114025352A
Authentication method and communication apparatus
WO2022142446A1
