A communication method, apparatus, program product, and storage medium

By receiving and responding to instruction messages from network devices in a passive Internet of Things (IoT) system, the terminal reports its identifier after successful authentication, thus resolving the problem of accessing the wrong base station and ensuring data security.

CN119865877BActive Publication Date: 2025-10-28CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510019292.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-06
Publication Date
2025-10-28
Estimated Expiration
2045-01-06

AI Technical Summary

Technical Problem

In passive IoT scenarios, terminals may connect to the wrong base station equipment, leading to problems such as data insecurity.

Method used

The terminal receives the instruction message sent by the network device. After confirming that the network device authentication is successful, it sends a feedback message to report the temporary identifier to avoid accessing the wrong network device.

Benefits of technology

Access is only initiated after successful authentication, preventing terminals from connecting to incorrect network devices and ensuring data security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119865877B_ABST
    Figure CN119865877B_ABST
Patent Text Reader

Abstract

This application provides a communication method, apparatus, program product, and storage medium, relating to the field of communication technology, and is used to solve the technical problem in the prior art of preventing a terminal from accessing the wrong base station. The communication method includes: receiving a first indication message sent by a network device, the first indication message instructing the terminal to report a temporary identifier during random access; and, if the network device authentication is successful, sending a first feedback message to the network device, the first feedback message indicating the terminal's temporary identifier.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a communication method, apparatus, program product and storage medium. Background Technology

[0002] Because terminals in passive IoT scenarios have relatively weak capabilities and generally only provide responses and feedback, unlike the access process of ordinary terminals, terminals in passive IoT scenarios cannot actively report, but instead access the network by feeding back random numbers.

[0003] However, when a terminal connects to base station-side equipment, it may connect to the wrong base station-side equipment. This can lead to various problems, such as data insecurity. Therefore, how to prevent terminals from connecting to the wrong base station-side equipment is an urgent problem to be solved. Summary of the Invention

[0004] This application provides a communication method, apparatus, program product, and storage medium to solve the technical problem that a terminal may connect to the wrong base station.

[0005] To achieve the above objectives, this application adopts the following technical solution:

[0006] In a first aspect, a communication method is provided, comprising: receiving a first indication message sent by a network device, the first indication message being used to instruct a terminal to report a temporary identifier during a random access process; and, upon determining that the network device has successfully authenticated the terminal, sending a first feedback message to the network device, the first feedback message being used to indicate the temporary identifier of the terminal.

[0007] Optionally, the first indication message may also be used to indicate the authentication information of the network device.

[0008] Optionally, the method further includes: determining that the network device has been successfully authenticated if the authentication information belongs to the target authentication information set.

[0009] Optionally, the method further includes: in the case that the network device authentication fails, sending an exception indication message to the target network device, wherein the target network device is a successfully accessed network device, and the exception indication message is used to indicate the access indication of the network device that failed authentication.

[0010] Optionally, the anomaly indication message includes at least one of the following: anomaly indication codeword, authentication failure information, wherein the anomaly indication codeword is used to indicate that the terminal has received an access indication from a network device that has failed authentication.

[0011] Optionally, the first instruction message may also be used to instruct the terminal to report multiple candidate resources for the first feedback message.

[0012] Optionally, the method further includes: receiving a second indication message sent by a network device, the second indication message being used to instruct the terminal to report a fixed identifier during random access; and sending a second feedback message to the network device, the second feedback message being used to indicate the fixed identifier of the terminal.

[0013] Optionally, the second instruction message includes a temporary identifier for the terminal.

[0014] In a second aspect, a communication method is provided, comprising: sending a first indication message, the first indication message being used to instruct a terminal to report a temporary identifier during a random access process; and receiving a first feedback message sent by the terminal, the first feedback message being a message sent to report the terminal's temporary identifier when the network device authentication is successful.

[0015] Optionally, the first indication message may also be used to indicate the authentication information of the network device.

[0016] Optionally, the authentication information may include at least one of the following: network device identifier, cell identifier, or media access control address.

[0017] Optionally, the first instruction message may also be used to instruct the terminal to report multiple candidate resources for the first feedback message.

[0018] Optionally, the method further includes: sending a second indication message to the terminal, the second indication message being used to instruct the terminal to report a fixed identifier during random access; and receiving a second feedback message sent by the terminal, the second feedback message being used to indicate the fixed identifier of the terminal.

[0019] Optionally, the second instruction message includes a temporary identifier for the terminal.

[0020] Thirdly, a communication device is provided, comprising: a receiving unit and a sending unit; the receiving unit is configured to receive a first indication message sent by a network device, the first indication message being configured to instruct a terminal to report a temporary identifier during a random access process; the sending unit is configured to send a first feedback message to the network device when it is determined that the network device has successfully authenticated, the first feedback message being configured to instruct the terminal's temporary identifier.

[0021] Optionally, the first indication message may also be used to indicate the authentication information of the network device.

[0022] Optionally, the device further includes: a determining unit; the determining unit is used to determine that the network device has been successfully authenticated if the authentication information belongs to the target authentication information set.

[0023] Optionally, the determining unit is further configured to send an exception indication message to the target network device if it is determined that the network device authentication has failed. The target network device is a network device that has successfully accessed the network. The exception indication message is used to indicate the access indication of the network device that failed to authenticate.

[0024] Optionally, the anomaly indication message includes at least one of the following: anomaly indication codeword, authentication failure information, wherein the anomaly indication codeword is used to indicate that the terminal has received an access indication from a network device that has failed authentication.

[0025] Optionally, the first instruction message may also be used to instruct the terminal to report multiple candidate resources for the first feedback message.

[0026] Optionally, the receiving unit is further configured to receive a second indication message sent by the network device, the second indication message being used to instruct the terminal to report a fixed identifier during the random access process; the sending unit is further configured to send a second feedback message to the network device, the second feedback message being used to instruct the terminal's fixed identifier.

[0027] Optionally, the second instruction message includes a temporary identifier for the terminal.

[0028] Fourthly, a communication device is provided, comprising: a sending unit and a receiving unit; the sending unit is configured to send a first indication message, the first indication message being configured to instruct a terminal to report a temporary identifier during a random access process; the receiving unit is configured to receive a first feedback message sent by the terminal, the first feedback message being a message sent to report the temporary identifier of the terminal when the network device authentication is successful.

[0029] Optionally, the first indication message may also be used to indicate the authentication information of the network device.

[0030] Optionally, the authentication information may include at least one of the following: network device identifier, cell identifier, or media access control address.

[0031] Optionally, the first instruction message may also be used to instruct the terminal to report multiple candidate resources for the first feedback message.

[0032] Optionally, the sending unit is further configured to send a second indication message to the terminal, the second indication message being used to instruct the terminal to report a fixed identifier during the random access process; the receiving unit is further configured to receive a second feedback message sent by the terminal, the second feedback message being used to indicate the fixed identifier of the terminal.

[0033] Optionally, the second instruction message includes a temporary identifier for the terminal.

[0034] Fifthly, a communication device is provided, including a memory and a processor; the memory is used to store computer-executed instructions, and the processor is connected to the memory via a bus; when the communication device is running, the processor executes the computer-executed instructions stored in the memory to cause the communication device to perform the communication method described in the first aspect.

[0035] The communication device may be a network device or a component of a network device, such as a chip system within the network device. The chip system supports the network device in implementing the functions involved in the first aspect and any of its possible implementations, such as acquiring, determining, and transmitting data and / or information involved in the aforementioned communication method. The chip system includes a chip, but may also include other discrete devices or circuit structures.

[0036] In a sixth aspect, a computer-readable storage medium is provided, comprising computer-executable instructions that, when executed on a computer, cause the computer to perform the communication method described in the first aspect.

[0037] In a seventh aspect, a computer program product is also provided, the computer program product including computer instructions that, when executed on a communication device, cause the communication device to perform the communication method as described in the first aspect above.

[0038] It should be noted that the aforementioned computer instructions may be stored, in whole or in part, on a computer-readable storage medium. This computer-readable storage medium may be packaged together with the processor of the communication device, or it may be packaged separately from the processor of the communication device; this application does not limit this.

[0039] The descriptions of the second, third, fourth, fifth, sixth, and seventh aspects of this application can be referenced to the detailed description of the first aspect.

[0040] In the embodiments of this application, the names of the aforementioned communication devices do not limit the devices or functional modules themselves. In actual implementation, these devices or functional modules may appear under other names. For example, the receiving unit may also be called a receiving module, receiver, etc. As long as the functions of each device or functional module are similar to those of this application, they fall within the scope of the claims of this application and their equivalents.

[0041] The technical solution provided in this application brings at least the following beneficial effects:

[0042] Based on any of the above aspects, this application provides a communication method, comprising: a terminal receiving a first indication message sent by a network device, the first indication message being used to instruct the terminal to report a temporary identifier during a random access process. Subsequently, if the network device authentication is successful, the terminal may send a first feedback message to the network device, the first feedback message being used to report the terminal's temporary identifier.

[0043] As shown above, the terminal can receive the first instruction message sent by the network device. After confirming successful authentication of the network device, the terminal can determine that the network device is the correct one and send a first feedback message to the network device, thereby initiating the access process with the network device. In this way, the terminal only accesses the network device after confirming successful authentication, thus avoiding the terminal accessing the wrong network device.

[0044] The beneficial effects of the first, second, third, fourth, fifth, sixth, and seventh aspects of this application can all be referred to in the analysis of the above-mentioned beneficial effects, and will not be repeated here. Attached Figure Description

[0045] Figure 1 This application provides a schematic diagram of the structure of a communication system according to an embodiment of the present application.

[0046] Figure 2 This is a schematic diagram of the hardware structure of a communication device provided in an embodiment of this application;

[0047] Figure 3 A flowchart illustrating a communication method provided in an embodiment of this application. Figure 1 ;

[0048] Figure 4 A flowchart illustrating a communication method provided in an embodiment of this application. Figure 2 ;

[0049] Figure 5 A schematic diagram of a failure identification process provided in an embodiment of this application;

[0050] Figure 6 A schematic diagram of the structure of a communication device provided in this application embodiment. Figure 1 ;

[0051] Figure 7 A schematic diagram of the structure of a communication device provided in this application embodiment. Figure 2 . Detailed Implementation

[0052] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0053] It should be noted that in the embodiments of this application, the words "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of the words "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0054] To facilitate a clear description of the technical solutions of the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish the same or similar items with essentially the same function and effect. Those skilled in the art can understand that the terms "first" and "second" are not intended to limit the quantity or execution order.

[0055] Passive Internet of Things (P-IoT), also known as Ambient Internet of Things (A-IoT), is a network communication technology based on passive terminals. These passive terminals are typically devices that do not require built-in batteries or external power cords; they obtain power through other means to ensure their normal operation. Research on passive IoT requires consideration of terminal access methods. Currently, terminal network access is similar to radio frequency identification (RFID) technology, using algorithms such as Aloha and Q-selection to feed back random numbers, thereby determining the channel for access, making it a completely time-division system. However, because the reporting of random numbers occurs randomly, channel collisions and interference can reduce the terminal's identification speed.

[0056] Furthermore, in passive IoT scenarios, base station devices can enable multiple terminals to connect through multiple rounds of random access. In each round, the base station needs to allocate transmission resources to the terminal so that it can access the network based on those resources. However, a terminal might connect to the wrong base station. This can lead to various problems, including data insecurity. Therefore, preventing terminals from connecting to the wrong base station is a pressing issue that needs to be addressed.

[0057] To address the aforementioned issues, this application provides a communication method, comprising: a terminal receiving a first indication message sent by a network device, the first indication message instructing the terminal to report a temporary identifier during a random access process; subsequently, if the network device authentication is successful, the terminal may send a first feedback message to the network device, the first feedback message being used to report the terminal's temporary identifier.

[0058] As shown above, the terminal can receive the first instruction message sent by the network device. After confirming successful authentication of the network device, the terminal can determine that the network device is the correct one and send a first feedback message to the network device, thereby initiating the access process with the network device. In this way, the terminal only accesses the network device after confirming successful authentication, thus avoiding the terminal accessing the wrong network device.

[0059] This communication method is applicable to communication systems. Figure 1 One structure of the communication system is shown. For example... Figure 1 As shown, the communication system includes: network device 101 and terminal 102.

[0060] The network device 101 and the terminal 102 are connected for communication. The network device 101 can be a reader, base station, access network equipment, etc.; the terminal 102 can be an IoT device, a passive IoT device, a tag, an electronic price tag, etc.

[0061] In this application, network device 101 can send a first indication message to terminal 102. Correspondingly, after receiving the first indication message, terminal 102 can authenticate the network device. If the authentication is successful, terminal 102 can send a first feedback message to network device 101 to report a temporary identifier in order to access network device 101.

[0062] Optionally, the aforementioned terminal may be a device that provides voice and / or data connectivity to a user, a handheld device with wireless connectivity, or other processing device connected to a wireless modem. The terminal may communicate with one or more core networks via a radio access network (RAN). The terminal may be a mobile terminal, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal, or a portable, pocket-sized, handheld, computer-embedded, or vehicle-mounted mobile device that exchanges voice and / or data with the radio access network, such as a mobile phone, tablet computer, laptop computer, netbook, or personal digital assistant (PDA).

[0063] The aforementioned passive IoT devices can include wearable devices (such as smartwatches, smart bracelets, pedometers, etc.), in-vehicle devices (such as passive communication accessories in cars, bicycles, electric vehicles, airplanes, ships, trains, high-speed trains, etc.), virtual reality (VR) devices, augmented reality (AR) devices, passive IoT devices in industrial control, smart home devices (such as sensor devices in refrigerators, televisions, air conditioners, electricity meters, shelf price tags, etc.), smart robots, workshop equipment, wireless terminals in self-driving vehicles, passive IoT devices in remote medical surgery, passive IoT devices in smart grids, passive IoT devices in transportation safety, passive IoT devices in smart cities, or passive IoT devices in smart homes, etc.

[0064] The aforementioned base station can be a wireless communication base station or a base station controller, etc. In the embodiments of this application, the base station can be a base transceiver station (BTS) in Global System for Mobile Communication (GSM), a base station (node ​​B) in Wideband Code Division Multiple Access (WCDMA), a base station (eNB) in the Internet of Things (IoT) or Narrow Band-Internet of Things (NB-IoT), a base station in a future 5G mobile communication network, or a future evolved public land mobile network (PLMN). The embodiments of this application do not impose any limitations on this.

[0065] The basic hardware structure of network device 101 and terminal 102 includes Figure 2 The components included in the communication device shown. The following are examples... Figure 2 Taking the communication device shown as an example, the hardware structure of network device 101 and terminal 102 will be introduced.

[0066] like Figure 2The diagram shown is a hardware structure schematic of a communication device provided in an embodiment of this application. The communication device includes a processor 21, a memory 22, a communication interface 23, and a bus 24. The processor 21, the memory 22, and the communication interface 23 are connected via the bus 24.

[0067] Processor 21 is the control center of the communication device. It can be a single processor or a collective term for multiple processing elements. For example, processor 21 can be a general-purpose central processing unit (CPU) or other general-purpose processors. Among them, the general-purpose processor can be a microprocessor or any conventional processor.

[0068] As one embodiment, processor 21 may include one or more CPUs, for example Figure 2 CPU 0 and CPU 1 are shown in the diagram.

[0069] The memory 22 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto.

[0070] In one possible implementation, the memory 22 can exist independently of the processor 21. The memory 22 can be connected to the processor 21 via a bus 24 and is used to store instructions or program code. When the processor 21 calls and executes the instructions or program code stored in the memory 22, it can implement the communication method provided in the following embodiments of this application.

[0071] In this embodiment, the software programs stored in the memory 22 are different for network device 101 and terminal 102, therefore the functions implemented by network device 101 and terminal 102 are different. The functions performed by each device will be described with reference to the following flowchart.

[0072] In another possible implementation, the memory 22 can also be integrated with the processor 21.

[0073] Communication interface 23 is used for connecting the communication device to other devices via a communication network, such as Ethernet, wireless access network, wireless local area network (WLAN), etc. Communication interface 23 may include a receiving unit for receiving data and a transmitting unit for sending data.

[0074] Bus 24 can be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (EISA) bus, etc. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 2 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0075] It should be pointed out that, Figure 2 The structure shown does not constitute a limitation on the communication device, except Figure 2 In addition to the components shown, the communication device may include more or fewer components than illustrated, or combine certain components, or have different component arrangements.

[0076] The communication method provided in the embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0077] The communication method provided in the embodiments of this application is applied to Figure 1 The network device 101 and terminal 102 in the communication system shown are, for example Figure 3 As shown, the communication method provided in this application embodiment includes:

[0078] S301, The terminal receives the first instruction message sent by the network device.

[0079] The first instruction message is used to instruct the terminal to report a temporary identifier during the random access process.

[0080] It should be noted that since the terminal has not yet been connected to the network device, the network device sends the first instruction message via broadcast.

[0081] Because terminals in passive IoT scenarios have limited processing and communication capabilities, access must be initiated by the network device. Therefore, the network device can send a first indication message to the terminal, instructing it to report a temporary identifier to enable access. Optionally, the first indication message may include the network device's own authentication information, which is unique, such as the network device's identifier.

[0082] In one possible implementation, the first indication message is further used to instruct the terminal to report multiple candidate resources for the first feedback message. The multiple candidate resources can be multiple resource blocks, including time-domain resources and / or frequency-domain resources. After receiving the first indication message, the terminal can select a first candidate resource from the multiple candidate resources to send the first feedback message. Furthermore, since the terminal selects the first candidate resource randomly, different terminals may select the same candidate resource, leading to resource collisions (or conflicts) and causing the transmission of the first feedback message to fail.

[0083] S302. If the network device authentication is successful, the terminal sends the first feedback message to the network device.

[0084] The first feedback message is used to indicate the temporary identifier of the terminal.

[0085] After receiving the first indication message, the terminal can authenticate the network device to determine if the network device that sent the first indication message is the correct one. If the network device authentication is successful, the terminal can determine that the network device is correct and, in response to the first indication message, send a first feedback message to the network device to report a temporary identifier, thereby enabling the subsequent access process. In this way, since the terminal only sends the first feedback message for access after successful authentication, and does not send it after authentication failure, the terminal can avoid accessing the wrong base station.

[0086] In one possible implementation, the temporary identifier can be a set of random numbers determined by the first terminal (either generated by itself or selected from multiple random numbers). The random numbers should have as few bits of information as possible to reduce the possibility of collisions (or conflicts) when reporting random numbers. It should be understood that the fewer bits of information the random numbers have, the fewer resources are used during transmission, and the lower the probability of conflicts with the resources used by other first terminals to transmit random numbers.

[0087] In some embodiments, the first indication message is also used to indicate authentication information of the network device.

[0088] Optionally, the authentication information may include at least one of the following: network device identifier, cell identifier, or media access control (MAC) address.

[0089] In another possible implementation, the terminal can pre-store the authentication information of all correct base stations, forming a target authentication information set. If the authentication information belongs to the target authentication information set, the terminal determines that the authentication information has been successfully identified. Thus, upon receiving authentication information, the terminal can determine whether the authentication information belongs to the target authentication information set. If it does, the terminal determines that the authentication information has been successfully identified. Conversely, if it does not belong to the target authentication information set, the terminal determines that the authentication information has failed to be identified.

[0090] In some embodiments, Figure 4 A flowchart of a communication method is shown. Figure 2 Combining Figure 3 ,like Figure 4 As shown, the method provided in this application embodiment further includes:

[0091] S401. The network device receives the first feedback message and sends the second instruction message to the terminal.

[0092] The second instruction message is used to instruct the terminal to report a fixed identifier during the random access process.

[0093] The network device receives the first feedback message reported by the terminal and determines the temporary identifier in each first feedback message. Then, the network device can generate a random code corresponding to each temporary identifier and determine the terminals that successfully reported the first feedback message as successfully reporting terminals. Next, the network device can send a second instruction message to these successfully reporting terminals to instruct them to report their own fixed identifier. Optionally, the fixed identifier is related to the terminal's physical device, is unique, and can be an electronic product code (EPC).

[0094] S402, The terminal receives the second instruction message and sends the second feedback message to the network device.

[0095] The second feedback message is used to indicate the fixed identifier of the terminal.

[0096] After receiving the second indication message from the network device, the terminal can determine that it has successfully fed back its temporary identifier based on the temporary identifier in the second indication message. Then, in response to the second indication message, the terminal can send a second feedback message to the network device, thereby feeding back its fixed identifier. Upon receiving the second indication message from the terminal, the network device can successfully connect to the terminal.

[0097] The above describes the access process of a terminal to a network device. The following will describe the process after the terminal fails to authenticate.

[0098] In some embodiments, Figure 5 A flowchart illustrating a failed identification process is shown. Combined with... Figure 3 ,like Figure 5 As shown, the method provided in this application embodiment further includes:

[0099] S501. In the event of network device authentication failure, the terminal sends an error indication message to the target network device.

[0100] The target network device is the network device that has successfully connected, and the exception indication message is used to indicate the access indication of the network device that failed to authenticate.

[0101] If network device authentication fails, the terminal can determine that the sending network device is incorrect, and therefore will not perform subsequent access operations. Subsequently, if the terminal successfully accesses the correct target network device, it can send an error indication message to the target network device, thereby informing the target network device of the access indication message received from the failed authentication network device. Upon receiving this error indication message, the target network device can determine that the terminal previously received an abnormal access request.

[0102] In one possible implementation, the first message includes at least one of the following: an error indication codeword and authentication information indicating authentication failure. The error indication codeword is used to indicate that the terminal has received an access indication from a network device that has failed authentication.

[0103] After confirming that authentication information recognition has failed, the terminal can modify the value of its stored codeword to a preset value. When the codeword reaches this preset value, the terminal can determine that its status is in an alarm state. After connecting to the target network device, the terminal can send the codeword to the target network device via a first message, allowing the target network device to determine that the terminal received an incorrect access instruction from the base station. This enables staff to maintain the access process between the terminal and the network device, ensuring the terminal's data security.

[0104] Alternatively, after determining that authentication has failed, the terminal can store the authentication information. Then, after the terminal connects to the target network device, it can send this authentication information to the target network device via a first message, allowing the target network device to record the failed authentication information and thus prevent other terminals from connecting to the network device. Optionally, for failed authentication information, the target network device can establish a set of failed authentication information and synchronize this set with all terminals to prevent other terminals from connecting to the network device to which this authentication information belongs.

[0105] It should be understood that the terminal may have information storage function to store the target authentication information set, and may also have a comparison module to execute different instructions after the authentication information is successfully or unsuccessfully authenticated. For example, when the authentication information is successfully identified, a first feedback message is sent to the network device, and when the authentication information fails, access is not granted.

[0106] The foregoing mainly describes the solutions provided by the embodiments of this application from a methodological perspective. To achieve the above functions, it includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0107] This application embodiment can divide the communication device into functional modules according to the above method example. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. Optionally, the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.

[0108] like Figure 6 The diagram shown is a structural schematic of a communication device provided in an embodiment of this application. This communication device can be used to perform... Figures 3-5 The communication method shown. Figure 6 The communication device shown includes a receiving unit 601 and a transmitting unit 602.

[0109] The receiving unit 601 is used to receive a first indication message sent by the network device. The first indication message is used to instruct the terminal to report a temporary identifier during the random access process.

[0110] The sending unit 602 is used to send a first feedback message to the network device when the network device authentication is successful. The first feedback message is used to indicate the temporary identifier of the terminal.

[0111] Optionally, the first indication message may also be used to indicate the authentication information of the network device.

[0112] Optionally, the device further includes: a determining unit 603; the determining unit 603 is used to determine that the network device has been successfully authenticated when the authentication information belongs to the target authentication information set.

[0113] Optionally, the determining unit 603 is further configured to send an abnormal indication message to the target network device when it is determined that the network device authentication has failed. The target network device is a network device that has successfully accessed the network. The abnormal indication message is used to indicate the access indication of the network device that failed to authenticate.

[0114] Optionally, the anomaly indication message includes at least one of the following: anomaly indication codeword, authentication failure information, wherein the anomaly indication codeword is used to indicate that the terminal has received an access indication from a network device that has failed authentication.

[0115] Optionally, the first instruction message may also be used to instruct the terminal to report multiple candidate resources for the first feedback message.

[0116] Optionally, the receiving unit 601 is further configured to receive a second indication message sent by the network device, the second indication message being used to instruct the terminal to report a fixed identifier during the random access process.

[0117] The sending unit 602 is also used to send a second feedback message to the network device, the second feedback message being used to indicate the fixed identifier of the terminal.

[0118] Optionally, the second instruction message includes a temporary identifier for the terminal.

[0119] like Figure 7 The diagram shown is a structural schematic of a communication device provided in an embodiment of this application. This communication device can be used to perform... Figures 3-5 The communication method shown. Figure 7 The communication device shown includes a transmitting unit 701 and a receiving unit 702.

[0120] The sending unit 701 is used to send a first indication message, which is used to instruct the terminal to report a temporary identifier during the random access process.

[0121] The receiving unit 702 is used to receive a first feedback message sent by the terminal. The first feedback message is a message sent to report the temporary identifier of the terminal when the network device authentication is successful.

[0122] Optionally, the first indication message may also be used to indicate the authentication information of the network device.

[0123] Optionally, the authentication information may include at least one of the following: network device identifier, cell identifier, or media access control address.

[0124] Optionally, the first instruction message may also be used to instruct the terminal to report multiple candidate resources for the first feedback message.

[0125] Optionally, the sending unit 701 is further configured to send a second indication message to the terminal, the second indication message being used to instruct the terminal to report a fixed identifier during the random access process.

[0126] The receiving unit 702 is also used to receive a second feedback message sent by the terminal, the second feedback message being used to indicate the fixed identifier of the terminal.

[0127] Optionally, the second instruction message includes a temporary identifier for the terminal.

[0128] This application also provides a computer-readable storage medium, which includes computer-executable instructions. When the computer-executable instructions are run on a computer, the computer performs the communication method provided in the above embodiments.

[0129] This application also provides a computer program that can be directly loaded into a memory and contains software code. After being loaded and executed by a computer, the computer program can implement the communication method provided in the above embodiments.

[0130] Those skilled in the art will recognize that, in one or more of the examples above, the functions described in this application can be implemented using hardware, software, firmware, or any combination thereof. When implemented in software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer-readable storage media and communication media, wherein communication media include any medium that facilitates the transmission of a computer program from one place to another. Storage media can be any available medium accessible to a general-purpose or special-purpose computer.

[0131] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0132] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and other division methods may exist in actual implementation. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the shown or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms. Units described as separate components may or may not be physically separate; components shown as units may be one physical unit or multiple physical units, i.e., they may be located in one place or distributed in multiple different places. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0133] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0134] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A communication method, characterized in that, Applied to a terminal, the method includes: The terminal receives a first indication message sent by a network device. The first indication message is used to instruct the terminal to report a temporary identifier during random access. The first indication message is also used to indicate the authentication information of the network device and multiple candidate resources for instructing the terminal to report a first feedback message. If the network device authentication is successful, a first feedback message is sent to the network device, the first feedback message being used to indicate the temporary identifier of the terminal; The terminal receives a second indication message sent by the network device, the second indication message being used to instruct the terminal to report a fixed identifier during random access; the second indication message includes the terminal's temporary identifier; Send a second feedback message to the network device, the second feedback message being used to indicate the fixed identifier of the terminal; The method further includes: If the authentication information belongs to the target authentication information set, the network device is determined to be successfully authenticated. Alternatively, if it is determined that the network device authentication has failed, an error indication message is sent to the target network device, which is a successfully accessed network device. The error indication message is used to indicate the access indication of the network device that failed authentication.

2. The method according to claim 1, characterized in that, The authentication information includes at least one of the following: network device identifier, cell identifier, or media access control address.

3. The method according to claim 1, characterized in that, The anomaly indication message includes at least one of the following: anomaly indication codeword, authentication information indicating authentication failure, wherein the anomaly indication codeword is used to indicate that the terminal has received an access indication from the network device that failed authentication.

4. A communication method, characterized in that, Applied to network devices, the method includes: Send a first instruction message, which is used to instruct the terminal to report a temporary identifier during the random access process; the first instruction message is also used to instruct the authentication information of the network device and multiple candidate resources for instructing the terminal to report a first feedback message; The receiving terminal sends a first feedback message, which is a message sent to report the temporary identifier of the terminal when the network device authentication is successful; A second indication message is sent to the terminal, the second indication message being used to instruct the terminal to report a fixed identifier during random access; the second indication message includes the terminal's temporary identifier; Receive a second feedback message sent by the terminal, the second feedback message being used to indicate the fixed identifier of the terminal; Wherein, if the authentication information belongs to the target authentication information set, the network device is successfully authenticated; or, if the network device is determined to have failed authentication, the terminal is used to send an error indication message to the target network device, where the target network device is a successfully accessed network device, and the error indication message is used to indicate the access indication of the network device that failed authentication.

5. The method according to claim 4, characterized in that, The authentication information includes at least one of the following: network device identifier, cell identifier, or media access control address.

6. A communication device, characterized in that, include: Receiving unit, transmitting unit, and determining unit; The receiving unit is configured to receive a first indication message sent by the network device, the first indication message being used to instruct the terminal to report a temporary identifier during random access; the first indication message is also used to indicate the authentication information of the network device and multiple candidate resources for instructing the terminal to report a first feedback message; The sending unit is configured to send a first feedback message to the network device when the network device authentication is successful, wherein the first feedback message is used to indicate the temporary identifier of the terminal; The receiving unit is further configured to receive a second indication message sent by the network device, the second indication message being used to instruct the terminal to report a fixed identifier during random access; the second indication message includes a temporary identifier of the terminal; The sending unit is further configured to send a second feedback message to the network device, the second feedback message being used to indicate a fixed identifier of the terminal; The determining unit is configured to determine that the network device has been successfully authenticated when the authentication information belongs to the target authentication information set; The sending unit is further configured to send an abnormal indication message to the target network device when it is determined that the network device authentication has failed. The target network device is a successfully accessed network device, and the abnormal indication message is used to indicate the access indication of the network device that failed authentication.

7. A communication device, characterized in that, include: Transmitting unit and receiving unit; The sending unit is used to send a first indication message, which instructs the terminal to report a temporary identifier during the random access process. The first indication message is also used to indicate the authentication information of the network device and multiple candidate resources for instructing the terminal to report the first feedback message; The receiving unit is configured to receive a first feedback message sent by the terminal, wherein the first feedback message is a message sent to report the temporary identifier of the terminal when the network device authentication is successful; The sending unit is further configured to send a second indication message to the terminal, the second indication message being used to instruct the terminal to report a fixed identifier during random access; the second indication message includes a temporary identifier of the terminal; The receiving unit is further configured to receive a second feedback message sent by the terminal, the second feedback message being used to indicate a fixed identifier of the terminal; Wherein, if the authentication information belongs to the target authentication information set, the network device is successfully authenticated; or, if the network device is determined to have failed authentication, the terminal is used to send an error indication message to the target network device, where the target network device is a successfully accessed network device, and the error indication message is used to indicate the access indication of the network device that failed authentication.

8. A computer program product, characterized in that, The computer program product includes computer instructions that, when executed on a computer, cause the computer to perform the communication method as described in any one of claims 1-5.

9. A communication device, characterized in that, It includes a memory and a processor; the memory is used to store computer execution instructions, and the processor is connected to the memory via a bus; when the communication device is running, the processor executes the computer execution instructions stored in the memory to cause the communication device to perform the communication method as described in any one of claims 1-5.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes computer-executable instructions that, when executed on a computer, cause the computer to perform the communication method as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Internet of Things system access security processing method

    CN117061164A

  • Communication method and device, storage medium and program product

    CN118632297A