Communication method and device, program product and storage medium

In the passive Internet of Things scenario, the terminal authenticates before accessing the network device and reports a temporary identification after the authentication is successful, the problem that the terminal may access the wrong base station device and improves data security.

CN119865877AActive Publication Date: 2025-04-22CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In passive IoT scenarios, the terminal may access the wrong base station-side device, resulting in data insecurity and other problems.

Method used

By receiving the first indication message sent by the network device, the terminal sends a first feedback message to the network device when it determines that the network device authentication is successful, and reports its temporary identification above to ensure that the correct network device is accessed.

Benefits of technology

Effectively avoid terminal access errors in base station equipment and improve data security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119865877A_ABST
    Figure CN119865877A_ABST
Patent Text Reader

Abstract

The invention provides a communication method and device, a program product and a storage medium, relates to the technical field of communication, and is used for solving the technical problem that a terminal may access a wrong base station in the prior art. The communication method comprises the following steps: receiving a first indication message sent by network equipment, wherein the first indication message is used for indicating a terminal to report a temporary identifier in a random access process; and when it is determined that the authentication of the network device is successful, sending a first feedback message to the network device, the first feedback message being used for indicating the temporary identifier of the terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] Since the capabilities of terminals in passive IoT scenarios are relatively weak and they generally provide response feedback, the access process of terminals in passive IoT scenarios is different from that of ordinary terminals. Terminals cannot actively report, but access by feeding back random numbers.

[0003] However, when the terminal accesses the base station side device, it may access the wrong base station side device, which will lead to various problems such as data insecurity. Therefore, how to prevent the terminal from accessing the wrong base station side device is an urgent problem to be solved. Summary of the invention

[0004] The present application provides a communication method, device, program product and storage medium, which are used to solve the technical problem that a terminal may access an incorrect base station.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[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 when it is determined that the network device authentication is successful, 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 is also used to indicate authentication information of the network device.

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

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

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

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

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

[0013] Optionally, the second indication message includes a temporary identifier of the terminal.

[0014] According to 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 when network device authentication is successful and used to report the temporary identifier of the terminal.

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

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

[0017] Optionally, the first indication message is also 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 a random access process; 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 indication message includes a temporary identifier of the terminal.

[0020] According to a third aspect, a communication device is provided, comprising: a receiving unit and a sending unit; the receiving unit is used to receive 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; the sending unit is used to send a first feedback message to the network device when it is determined that the network device authentication is successful, the first feedback message being used to indicate the temporary identifier of the terminal.

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

[0022] Optionally, the apparatus further includes: a determination unit; a determination unit configured to determine that the network device is successfully authenticated when the authentication information belongs to a target authentication information set.

[0023] Optionally, the determination unit is further used to send an exception indication message to the target network device when it is determined that the network device authentication fails, the target network device is a network device that has successfully accessed, and the exception indication message is used to indicate the access indication of the network device that failed authentication.

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

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

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

[0027] Optionally, the second indication message includes a temporary identifier of the terminal.

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

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

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

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

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

[0033] Optionally, the second indication message includes a temporary identifier of the terminal.

[0034] In a fifth aspect, a communication device is provided, comprising a memory and a processor; the memory is used to store computer execution instructions, and the processor is connected to the memory through a bus; when the communication device is running, the processor executes the computer execution instructions stored in the memory, so that the communication device executes the communication method described in the first aspect.

[0035] The communication device may be a network device, or a part of a network device, such as a chip system in a network device. The chip system is used to support the network device to implement the functions involved in the first aspect and any possible implementation thereof, for example, to obtain, determine, and send the data and / or information involved in the above communication method. The chip system includes a chip, and may also include other discrete devices or circuit structures.

[0036] In a sixth aspect, a computer-readable storage medium is provided, the computer-readable storage medium comprising computer execution instructions, and when the computer execution instructions are executed on a computer, the computer executes the communication method described in the first aspect.

[0037] In a seventh aspect, a computer program product is also provided, which includes computer instructions. When the computer instructions are executed on a communication device, the communication device executes the communication method as described in the first aspect above.

[0038] It should be noted that the above computer instructions may be stored in whole or in part on a computer-readable storage medium, wherein the computer-readable storage medium may be packaged together with the processor of the communication device, or may be packaged separately from the processor of the communication device, which is not limited in the embodiments of the present application.

[0039] The descriptions of the second, third, fourth, fifth, sixth and seventh aspects of the present application may refer to the detailed description of the first aspect.

[0040] In the embodiments of the present application, the name of the above-mentioned communication device does not limit the device or functional module itself. In actual implementation, these devices or functional modules may appear with other names. For example, the receiving unit may also be called a receiving module, a receiver, etc. As long as the functions of each device or functional module are similar to those of the present application, they fall within the scope of the claims of the present application and their equivalent technologies.

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

[0042] Based on any of the above aspects, the present application provides a communication method, including: a terminal can receive 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 a random access process. Afterwards, the terminal can send a first feedback message to the network device when it is determined that the network device authentication is successful, and the first feedback message is used to report the temporary identifier of the terminal.

[0043] As can be seen from the above, the terminal can receive the first indication message sent by the network device, and after determining that the network device authentication is successful, the terminal can determine that the network device is the correct network device, and send a first feedback message to the network device, thereby starting the access process with the network device. In this way, the terminal can access the network device only after determining that the network device authentication is successful, thereby preventing the terminal from accessing the wrong network device.

[0044] The beneficial effects of the first, second, third, fourth, fifth, sixth and seventh aspects of the present application can all be referred to the analysis of the above beneficial effects, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 A schematic diagram of the structure of a communication system provided in an embodiment of the present application;

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

[0047] Figure 3 A communication method according to an embodiment of the present invention is provided. Figure 1 ;

[0048] Figure 4 A communication method according to an embodiment of the present invention is provided. Figure 2 ;

[0049] Figure 5 A schematic diagram of a process flow of identifying failure provided in an embodiment of the present application;

[0050] Figure 6 A schematic diagram of a communication device provided in an embodiment of the present application Figure 1 ;

[0051] Figure 7 A schematic diagram of a communication device provided in an embodiment of the present application Figure 2 . DETAILED DESCRIPTION

[0052] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0053] It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0054] In order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second", etc. are used to distinguish the same items or similar items with basically the same functions and effects. Those skilled in the art can understand that the words "first", "second", etc. are not limiting the quantity and 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. Passive terminals are usually devices that do not require built-in batteries and are not powered by external power cords. Such devices can obtain energy in other ways to ensure their normal operation. In the process of studying passive Internet of Things, it is necessary to consider the method of terminal access to the network. At present, the terminal access network is similar to radio frequency identification (RFID) technology. It can feedback random numbers through algorithms such as aloha and Q-selection to determine the channel for access. It is a complete time-division system. Among them, since the process of reporting random numbers occurs randomly, there will be channel conflict interference that reduces the recognition speed of the terminal.

[0056] In addition, in the scenario of passive Internet of Things, the base station side device can allow multiple terminals to access through multiple rounds of random access processes. In each round of random access process, the base station side device needs to allocate transmission resources to the terminal so that the terminal can access based on the allocated transmission resources. However, when the terminal accesses the base station side device, it may access the wrong base station side device. This will lead to various problems such as data insecurity. Therefore, how to prevent the terminal from accessing the wrong base station side device is an urgent problem to be solved.

[0057] In view of the above problems, the present application provides a communication method, including: a terminal can receive 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 a random access process. Afterwards, the terminal can send a first feedback message to the network device when it is determined that the network device authentication is successful, the first feedback message is used to report the temporary identifier of the terminal.

[0058] As can be seen from the above, the terminal can receive the first indication message sent by the network device, and after determining that the network device authentication is successful, the terminal can determine that the network device is the correct network device, and send a first feedback message to the network device, thereby starting the access process with the network device. In this way, the terminal can access the network device only after determining that the network device authentication is successful, thereby preventing the terminal from accessing the wrong network device.

[0059] The communication method is applicable to a communication system. Figure 1 A structure of the communication system is shown. Figure 1 As shown, the communication system includes: a network device 101 and a terminal 102.

[0060] The network device 101 is connected to the terminal 102 for communication. The network device 101 may be a reader / writer, a base station, an access network device, etc. The terminal 102 may be an Internet of Things device, a passive Internet of Things device, a label, an electronic price tag, etc.

[0061] In the present application, the network device 101 may send a first indication message to the terminal 102. Accordingly, after receiving the first indication message, the terminal 102 may authenticate the network device, and if the authentication is successful, the terminal 102 may send a first feedback message for reporting a temporary identifier to the network device 101 to access the network device 101.

[0062] Optionally, the terminal may be a device that provides voice and / or data connectivity to a user, a handheld device with wireless connection function, 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-built-in or vehicle-mounted mobile device that exchanges language and / or data with a radio access network, such as a mobile phone, a tablet computer, a laptop computer, a netbook, a personal digital assistant (PDA).

[0063] The above-mentioned passive IoT devices can be wearable devices (such as smart watches, smart bracelets, pedometers, etc.), vehicle-mounted devices (such as passive communication accessories in cars, bicycles, electric vehicles, airplanes, ships, trains, high-speed railways, etc.), virtual reality (VR) devices, augmented reality (AR) devices, passive IoT devices in industrial control, smart home devices (such as refrigerators, televisions, air conditioners, electric meters, sensor devices in shelf price tags, etc.), intelligent robots, workshop equipment, wireless terminals in self-driving, 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 above-mentioned base station can be a base station or base station controller for wireless communication, etc. In the embodiment of the present application, the base station can be a base station (base transceiver station, BTS) in the global system for mobile communication (global system for mobile communication, GSM), code division multiple access (code division multiple access, CDMA), a base station (node ​​B) in wideband code division multiple access (wideband code division multiple access, WCDMA), a base station (eNB) in the Internet of Things (Internet of Things, IoT) or narrowband Internet of Things (narrow band-internet of things, NB-IoT), a base station in the future 5G mobile communication network or the future evolved public land mobile network (publicland mobile network, PLMN), and the embodiment of the present application does not impose any restrictions on this.

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

[0066] like Figure 2, which is a schematic diagram of a hardware structure of a communication device provided in an embodiment of the present 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 can be connected via a bus 24.

[0067] The processor 21 is the control center of the communication device, which can be a processor or a general term for multiple processing elements. For example, the 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 an embodiment, the processor 21 may include one or more CPUs, such as Figure 2 CPU 0 and CPU 1 are shown in .

[0069] The memory 22 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0070] In a possible implementation, the memory 22 may exist independently of the processor 21, and the memory 22 may be connected to the processor 21 via a bus 24 to store instructions or program codes. When the processor 21 calls and executes the instructions or program codes stored in the memory 22, the communication method provided in the following embodiments of the present application can be implemented.

[0071] In the embodiment of the present application, for the network device 101 and the terminal 102, the software programs stored in the memory 22 are different, so the network device 101 and the terminal 102 implement different functions. The functions performed by each device will be described in conjunction with the following flowchart.

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

[0073] The communication interface 23 is used for the communication device to connect with other devices through a communication network, and the communication network may be Ethernet, wireless access network, wireless local area network (WLAN), etc. The communication interface 23 may include a receiving unit for receiving data and a sending unit for sending data.

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

[0075] It should be pointed out that Figure 2 The structure shown in the figure 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 shown, or combine certain components, or arrange the components differently.

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

[0077] The communication method provided in the embodiment of the present application is applied to Figure 1 The network device 101 and the terminal 102 in the communication system shown in FIG. Figure 3 As shown, the communication method provided in the embodiment of the present application includes:

[0078] S301. A terminal receives a first indication message sent by a network device.

[0079] The first indication 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 accessed the network device, the first indication message sent by the network device is broadcast.

[0081] Since the processing power and communication capability of the terminal in the passive IoT scenario are relatively weak, when accessing the network device, the network device needs to initiate the access. Therefore, the network device can send a first indication message to the terminal, and instruct the terminal to report a temporary identifier through the first indication message to achieve the access of the terminal. Optionally, the first indication message may include the authentication information of the network device itself, and the authentication information is unique, such as the identifier of the network device.

[0082] In a possible implementation, the first indication message is also used to indicate that the terminal reports multiple candidate resources for the first feedback message. The multiple candidate resources may be multiple resource blocks, including time domain resources, and / or frequency domain resources. After receiving the first indication message, the terminal may select a first candidate resource for sending the first feedback message from multiple candidate resources. In addition, since the terminal selects the first candidate resource randomly, different terminals may select the same candidate resource, resulting in a resource collision (or conflict), causing a failure to send the first feedback message.

[0083] S302: When it is determined that the network device authentication is successful, the terminal sends a first feedback message to the network device.

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

[0085] After receiving the first indication message, the terminal can authenticate the network device to determine whether the network device that sent the first indication message is the correct network device. In the case where the network device authentication is successful, the terminal can determine that the network device is the correct network device, and in response to the first indication message, send a first feedback message for reporting a temporary identifier to the network device, thereby implementing a subsequent access process. In this way, since the terminal will send the first feedback message for access only after the authentication is successful, and will not send the first feedback message after the authentication fails, the terminal can avoid accessing the wrong base station.

[0086] In a possible implementation, the temporary identifier may be a set of random numbers determined by the first terminal (generated by itself or selected from multiple random numbers), and the number of information bits of the random number is as small as possible, thereby reducing the possibility of collision (or conflict) when reporting the random number. It should be understood that the fewer the number of information bits of the random number, the fewer resources used during transmission, and the smaller the probability of conflict with 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: a network device identifier, a cell identifier, or a media access control (MAC) address.

[0089] In another possible implementation, the terminal may pre-store the authentication information of all correct base stations and form a target authentication information set. When the authentication information belongs to the target authentication information set, the terminal determines that the authentication information is successfully identified. In this way, after receiving the authentication information, the terminal can determine whether the authentication information belongs to the target authentication information set. When it is determined that the authentication information belongs to the target authentication information set, the terminal determines that the authentication information is successfully identified. On the contrary, when it does not belong to the target authentication information set, the terminal can determine that the authentication information is unsuccessful to identify.

[0090] In some embodiments, Figure 4 A schematic diagram showing a communication process Figure 2 . Combined Figure 3 ,like Figure 4 As shown, the method provided in the embodiment of the present application also includes:

[0091] S401. A network device receives a first feedback message and sends a second indication message to a terminal.

[0092] The second indication 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 to the terminal, and determines the temporary identifier in each first feedback message. Afterwards, the network device can generate a random code corresponding to each temporary identifier, and determine that the terminals that successfully report the first feedback message are successfully reported terminals. Afterwards, the network device can send a second indication message to these successfully reported terminals to instruct these terminals to report their own fixed identifiers. Optionally, the fixed identifier is related to the terminal physical device, is unique, and can be an electronic product code (EPC).

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

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

[0096] After the terminal receives the second indication message sent by the network device, it can determine that it has successfully fed back the temporary identifier according to the temporary identifier in the second indication message. After that, the terminal can respond to the second indication message and send a second feedback message to the network device, thereby feeding back its fixed identifier to the network device. After the network device receives the second indication message sent by the terminal, it can successfully access the terminal.

[0097] The above is a description of the access process of a terminal to a network device. The following will describe the process after the terminal fails in authentication.

[0098] In some embodiments, Figure 5 A schematic diagram of a process for identifying failure is shown. Figure 3 ,like Figure 5 As shown, the method provided in the embodiment of the present application also includes:

[0099] S501. When network device authentication fails, the terminal sends an abnormality indication message to the target network device.

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

[0101] In the case of network device authentication failure, the terminal can determine that the sending network device is an incorrect network device, and the terminal does not perform subsequent access operations. Afterwards, when the terminal successfully accesses the correct target network device, the terminal can send an abnormal indication message to the target network device, thereby informing the target network device through the abnormal indication message that the terminal has received an access indication of the network device that failed authentication. After receiving the abnormal indication message, the target network device can determine that the terminal has received an abnormal access according to the message.

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

[0103] After determining that the authentication information recognition fails, the terminal can modify the value of the codeword stored in itself to a preset value, and when the codeword is determined to be the preset value, the terminal can determine that its state is an alarm state. After accessing the target network device, the terminal can send the codeword to the target network device through a first message, so that the target network device determines that the terminal has received an access instruction from an erroneous base station, so that the staff can maintain the access process between the terminal and the network device to ensure the data security of the terminal.

[0104] Alternatively, after determining that the authentication information fails to be authenticated, the terminal may store the authentication information. Afterwards, after the terminal accesses the target network device, the terminal may send the authentication information to the target network device through a first message, so that the target network device can record the authentication information that failed to be identified, thereby preventing other terminals from accessing the network device. Optionally, for authentication information that fails to be authenticated, the target network device may establish a failed authentication information set and synchronize the authentication information set to all terminals to prevent other terminals from accessing the network device to which the authentication information belongs.

[0105] It should be understood that the terminal can have an information storage function to store the target authentication information set, and can also have a comparison module for executing different instructions after the authentication information is successfully or failed, such as sending a first feedback message to the network device when the authentication information is successfully identified, and not accessing when the authentication information fails.

[0106] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to realize the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0107] The embodiment of the present application can divide the functional modules of the communication device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. Optionally, the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0108] like Figure 6 The figure is a schematic diagram of the structure of a communication device provided in an embodiment of the present application. The communication device can be used to perform Figure 3-Figure 5 The method of communication shown. Figure 6 The communication device shown includes: a receiving unit 601 and a sending unit 602 .

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

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

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

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

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

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

[0115] Optionally, the first indication message is also 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 a network device, where the second indication message is used to instruct the terminal to report a fixed identifier during a random access process.

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

[0118] Optionally, the second indication message includes a temporary identifier of the terminal.

[0119] like Figure 7 The figure is a schematic diagram of the structure of a communication device provided in an embodiment of the present application. The communication device can be used to perform Figure 3-Figure 5 The method of communication shown. Figure 7 The communication device shown includes: a sending unit 701 and a receiving unit 702 .

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

[0121] The receiving unit 702 is configured to receive a first feedback message sent by a terminal, where the first feedback message is a message sent to report a temporary identifier of the terminal when the network device is successfully authenticated.

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

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

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

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

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

[0127] Optionally, the second indication message includes a temporary identifier of the terminal.

[0128] An embodiment of the present application also provides a computer-readable storage medium, which includes computer-executable instructions. When the computer-executable instructions are executed on a computer, the computer executes the communication method provided in the above embodiment.

[0129] The embodiment of the present application also provides a computer program, which 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 embodiment.

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

[0131] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned 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 several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The unit described as a separate component may or may not be physically separated, and the component displayed as a unit may be a physical unit or multiple physical units, that is, it may be located in one place, or it may be distributed in multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the scheme of this embodiment.

[0133] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk or an optical disk.

[0134] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A communication method, characterized in that: Applied to a terminal, the method comprises: Receiving a first indication message sent by a network device, where the first indication message is used to instruct the terminal to report a temporary identifier during a random access process; When it is determined that the authentication of the network device is successful, a first feedback message is sent to the network device, where the first feedback message is used to indicate a temporary identifier of the terminal.

2. The method according to claim 1, characterized in that The first indication message is also used to indicate authentication information of the network device.

3. The method according to claim 2, characterized in that The method further comprises: In a case where the authentication information belongs to the target authentication information set, it is determined that the network device is successfully authenticated.

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

5. The method according to claim 1, characterized in that: The method further comprises: In the case of determining that the network device authentication fails, an abnormal indication message is sent to a target network device, the target network device is a network device that has successfully accessed, and the abnormal indication message is used to indicate an access indication of the network device that has failed authentication.

6. The method according to claim 5, characterized in that The abnormal indication message includes at least one of: an abnormal indication codeword and the authentication information of the authentication failure, and the abnormal indication codeword is used to indicate that the terminal has received the access indication of the authentication failed network device.

7. The method according to claim 1, characterized in that The first indication message is also used to instruct the terminal to report multiple candidate resources of the first feedback message.

8. The method according to claim 1, characterized in that: The method further comprises: receiving a second indication message sent by the network device, where the second indication message is used to instruct the terminal to report a fixed identifier during a random access process; A second feedback message is sent to the network device, where the second feedback message is used to indicate the fixed identifier of the terminal.

9. The method according to claim 8, characterized in that The second indication message includes a temporary identifier of the terminal.

10. A communication method, characterized in that: Applied to a network device, the method comprises: Sending a first indication message, where the first indication message is used to instruct the terminal to report a temporary identifier during a random access process; A first feedback message sent by a terminal is received, where the first feedback message is a message sent to report a temporary identifier of the terminal when the network device is successfully authenticated.

11. The method according to claim 10, characterized in that The first indication message is also used to indicate authentication information of the network device.

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

13. The method according to claim 10, characterized in that The first indication message is also used to instruct the terminal to report multiple candidate resources of the first feedback message.

14. The method according to claim 10, characterized in that The method further comprises: Sending a second indication message to the terminal, where the second indication message is used to instruct the terminal to report a fixed identifier during a random access process; A second feedback message sent by the terminal is received, where the second feedback message is used to indicate a fixed identifier of the terminal.

15. The method according to claim 14, characterized in that The second indication message includes a temporary identifier of the terminal.

16. A communication device, characterized in that: include: A receiving unit and a sending unit; The receiving unit is used to receive a first indication message sent by a network device, where the first indication message is used to instruct the terminal to report a temporary identifier during a random access process; The sending unit is used to send a first feedback message to the network device when it is determined that the network device is successfully authenticated, where the first feedback message is used to indicate the temporary identifier of the terminal.

17. A communication device, characterized in that: include: a sending unit and a receiving unit; The sending unit is used to send a first indication message, where the first indication message is used to instruct the terminal to report a temporary identifier during a random access process; The receiving unit is used to receive a first feedback message sent by the terminal, where the first feedback message is a message sent to report a temporary identifier of the terminal when the network device is successfully authenticated.

18. A computer program product, characterized in that The computer program product comprises computer instructions, and when the computer instructions are executed on a computer, the computer is caused to execute the communication method according to any one of claims 1 to 15.

19. A communication device, characterized in that: It includes a memory and a processor; the memory is used to store computer-executable instructions, and the processor is connected to the memory through a bus; when the communication device is running, the processor executes the computer-executable instructions stored in the memory, so that the communication device executes the communication method as described in any one of claims 1 to 15.

20. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes computer-executable instructions, and when the computer-executable instructions are executed on a computer, the computer is enabled to execute the communication method according to any one of claims 1 to 15.

Citation Information

Patent Citations

  • Base station judgment method and device, storage medium and electronic device

    CN111372250A

  • Internet of Things system access security processing method

    CN117061164A

  • Communication method and device, storage medium and program product

    CN118632297A

  • Server-assisted device-to-device discovery and connection

    WO2014193557A1