Method and apparatus for processing broadcast message
By generating verification codes in broadcast messages and leveraging the immutability of the blockchain system, the problem of broadcast messages being tampered with during communication is solved, thus achieving integrity protection and communication security for broadcast messages.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA MOBILE COMM LTD RES INST
- Filing Date
- 2021-08-02
- Publication Date
- 2026-04-21
AI Technical Summary
In existing technologies, broadcast messages are not authenticated during communication, making them vulnerable to tampering and forgery by attackers, resulting in insufficient security.
Blockchain technology is used to protect the integrity of broadcast messages. By generating verification codes and storing them in the blockchain system, the immutability of the blockchain is used for verification, thus ensuring the integrity of the broadcast messages.
It effectively prevents broadcast messages from being tampered with during communication, ensures normal communication between the terminal and the base station, and does not affect the security and efficiency of the communication process.
Smart Images

Figure CN115701721B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of network security technology, and in particular to a method and apparatus for processing broadcast messages. Background Technology
[0002] With the continuous development of mobile communication networks, users have increasingly higher requirements for network security. Base stations send broadcast messages on the Physical Shared Broadcast Channel (PSB). When a user terminal powers on or during cell reselection, it receives the broadcast information. After decoding the broadcast information, the user obtains channel physical information such as the base station's system bandwidth and PHICH (Physical Hybrid ARQ Indicator Channel) configuration. Then, the user sends a connection request to the base station. The base station verifies the terminal's identity before allowing it to access the operator's network. During this access process, the terminal does not authenticate the received broadcast information, and the broadcast messages are sent in plaintext, allowing attackers to maliciously tamper with and forge them. Summary of the Invention
[0003] The technical problem to be solved by the present invention is to provide a method and apparatus for processing broadcast messages, which can protect the integrity of broadcast messages and ensure that broadcast messages are not tampered with during communication.
[0004] To address the aforementioned technical problems, embodiments of the present invention provide the following technical solutions:
[0005] On the one hand, a method for processing broadcast messages is provided, executed by a terminal, including:
[0006] Receive broadcast messages sent by the base station, and receive integrity verification requests for the broadcast messages sent by the AMF network element;
[0007] A verification code is generated based on the broadcast message, and the verification code is sent to the AMF network element for integrity verification;
[0008] The AMF network element receives the integrity verification result returned by the blockchain where the corresponding base station is located, and the blockchain stores broadcast messages and corresponding verification codes;
[0009] Broadcast messages that fail the integrity verification are added to the blacklist.
[0010] In some embodiments, the broadcast message includes an SFN field and a field representing physical information of the base station; generating a verification code based on the broadcast message includes:
[0011] A verification code is obtained by performing a hash operation on the field representing the physical information of the base station.
[0012] In some embodiments, a broadcast message indicating that the integrity verification result is passed sends the user identity information to the AMF network element;
[0013] Receive the identity verification result returned by the AMF network element.
[0014] In some embodiments, before receiving the verification result returned by the AMF network element to the blockchain where the corresponding base station is located, the method further includes:
[0015] The user's identity information is sent to the AMF network element for identity verification, and the verification result also includes the verification result of the user's identity legitimacy.
[0016] This invention also provides a method for processing broadcast messages, executed by an AMF network element, including:
[0017] Send an integrity verification request for a broadcast message to the terminal, and receive the verification code of the broadcast message sent by the terminal;
[0018] A query verification request is sent to the blockchain where the terminal is connected to the base station. The blockchain stores broadcast messages and corresponding verification codes, and the query verification request carries the verification code.
[0019] Receive the verification result returned by the blockchain and send the verification result to the terminal.
[0020] This invention also provides a method for processing broadcast messages, executed by a base station, wherein the base station is located on a blockchain, and the method forms a blockchain system with multiple blockchains located on multiple base stations. The method includes:
[0021] Receive a query verification request sent by an AMF network element, wherein the query verification request carries a verification code for a broadcast message;
[0022] The verification code is verified based on a local blockchain, which stores broadcast messages and corresponding verification codes.
[0023] The verification result is sent to the AMF network element.
[0024] In some embodiments, before receiving a query verification request carrying a verification code from an AMF network element, the method further includes:
[0025] When the physical state of the base station changes, a new block is generated based on the new broadcast message and the verification code generated based on the new broadcast message.
[0026] The new blockchain is connected to the local blockchain for synchronization, and then synchronized with other base stations in the blockchain system.
[0027] This invention also provides a broadcast message processing apparatus, applied to a terminal, including a transceiver and a processor.
[0028] The transceiver is used to receive broadcast messages sent by the base station, receive integrity verification requests for the broadcast messages sent by the AMF network element, generate a verification code based on the broadcast message, send the verification code to the AMF network element for integrity verification, and receive the integrity verification result returned by the AMF network element when it initiates verification with the blockchain where the corresponding base station is located. The blockchain stores the broadcast message and the corresponding verification code.
[0029] The processor is used to add broadcast messages whose integrity verification result is failed to the blacklist.
[0030] In some embodiments, the broadcast message includes an SFN field and a field representing physical information of the base station; the processor is used to perform a hash operation on the field representing the physical information of the base station to obtain a verification code.
[0031] In some embodiments, the transceiver is further configured to send user identity information to the AMF network element upon receiving a broadcast message indicating that the integrity verification result is passed;
[0032] Receive the identity verification result returned by the AMF network element.
[0033] In some embodiments, before receiving the verification result returned by the AMF network element to the blockchain where the corresponding base station is located, the transceiver is also used to send the user identity information to the AMF network element for identity verification, and the verification result also includes the verification result of the user's identity legitimacy.
[0034] This invention also provides a broadcast message processing apparatus, applied to an AMF network element, including a transceiver and a processor.
[0035] The transceiver is used to send an integrity verification request for a broadcast message to the terminal, receive the verification code of the broadcast message sent by the terminal, send a query verification request to the blockchain where the terminal is connected to the base station, the blockchain stores the broadcast message and the corresponding verification code, and the query verification request carries the verification code; receive the verification result returned by the blockchain, and send the verification result to the terminal.
[0036] This invention also provides a broadcast message processing device applied to a base station, wherein the base station is located on a blockchain, forming a blockchain system with multiple blockchains located on multiple base stations.
[0037] The transceiver is used to receive query verification requests sent by AMF network elements, and the query verification requests carry a verification code of a broadcast message.
[0038] The processor is used to verify the verification code based on a local blockchain, which stores broadcast messages and corresponding verification codes.
[0039] The transceiver is also used to send the verification result to the AMF network element.
[0040] In some embodiments, before receiving a query verification request carrying a verification code from an AMF network element, the processor is further configured to generate a new block based on a new broadcast message and a verification code generated based on the new broadcast message when the physical state of the base station changes.
[0041] The transceiver is also used to connect the new blockchain to the local blockchain for synchronization, and to synchronize it with other base stations in the blockchain system.
[0042] This invention also provides a broadcast message processing apparatus, including a memory, a processor, and a computer program stored in the memory and executable on the processor; when the processor executes the program, it implements the broadcast message processing method described above.
[0043] In some embodiments, the broadcast message processing device is applied to a terminal. The processor is used to receive broadcast messages sent by a base station, receive integrity verification requests for the broadcast messages sent by an AMF network element, generate verification codes based on the broadcast messages, send the verification codes to the AMF network element for integrity verification, receive integrity verification results returned by the AMF network element after initiating verification with the blockchain where the corresponding base station is located, the blockchain storing broadcast messages and corresponding verification codes, and add broadcast messages with integrity verification results that fail to pass to a blacklist.
[0044] In some embodiments, the broadcast message includes an SFN field and a field representing physical information of the base station; the processor is used to perform a hash operation on the field representing the physical information of the base station to obtain a verification code.
[0045] In some embodiments, the processor is used to send the user identity information to the AMF network element in response to a broadcast message indicating that the integrity verification result is passed; and to receive the identity information verification result returned by the AMF network element.
[0046] In some embodiments, before receiving the verification result returned by the AMF network element to the blockchain where the corresponding base station is located, the processor is used to send the user identity information to the AMF network element for identity verification, and the verification result also includes the verification result of the user's identity legitimacy.
[0047] In some embodiments, the broadcast message processing apparatus is applied to an AMF network element. The processor is used to send an integrity verification request for the broadcast message to a terminal, receive a verification code for the broadcast message sent by the terminal, send a query verification request to the blockchain where the terminal is connected to the base station, the blockchain storing the broadcast message and the corresponding verification code, the query verification request carrying the verification code, receive the verification result returned by the blockchain, and send the verification result to the terminal.
[0048] In some embodiments, the broadcast message processing device is applied to a base station, the base station being located on a blockchain, forming a blockchain system with multiple blockchains located on multiple base stations. The processor is used to receive a query verification request sent by an AMF network element, the query verification request carrying a verification code of the broadcast message; verify the verification code according to the local blockchain, the blockchain storing the broadcast message and the corresponding verification code; and send the verification result to the AMF network element.
[0049] In some embodiments, before receiving a query verification request carrying a verification code from an AMF network element, the processor is further configured to generate a new block based on a new broadcast message and a verification code generated based on the new broadcast message when the physical state of the base station changes; connect the new blockchain to the local blockchain for synchronization, and synchronize it with other base stations in the blockchain system.
[0050] This invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the broadcast message processing method described above.
[0051] The embodiments of the present invention have the following beneficial effects:
[0052] In the above scheme, the broadcast message undergoes integrity authentication to ensure it is not tampered with during communication. The verification code for the broadcast message is stored in the blockchain system, ensuring that the broadcast message received by the terminal remains unchanged and does not affect the terminal's normal communication process. Furthermore, this embodiment not only prevents the broadcast message from being tampered with during communication, but also, leveraging the immutability of blockchain technology, prevents malicious attacks on the base station from modifying the broadcast message and verification code. Attached Figure Description
[0053] Figure 1 This is a schematic diagram of the structure of a blockchain system;
[0054] Figure 2 and Figure 3 This is a flowchart illustrating the method for processing broadcast messages according to an embodiment of the present invention;
[0055] Figure 4This is a schematic diagram of the structure of the broadcast message processing device according to an embodiment of the present invention;
[0056] Figure 5 This is a schematic diagram of the composition of a broadcast message processing device according to an embodiment of the present invention. Detailed Implementation
[0057] To make the technical problems, technical solutions and advantages of the embodiments of the present invention clearer, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments.
[0058] This invention provides a method and apparatus for processing broadcast messages, which can protect the integrity of broadcast messages and ensure that broadcast messages are not tampered with during communication.
[0059] This invention provides a method for processing broadcast messages, executed by a terminal, including:
[0060] Receive broadcast messages sent by the base station, and receive integrity verification requests for the broadcast messages sent by the AMF network element;
[0061] A verification code is generated based on the broadcast message, and the verification code is sent to the AMF network element for integrity verification;
[0062] The AMF network element receives the integrity verification result returned by the blockchain where the corresponding base station is located, and the blockchain stores broadcast messages and corresponding verification codes;
[0063] Broadcast messages that fail the integrity verification are added to the blacklist.
[0064] In some embodiments, the broadcast message includes an SFN field and a field representing physical information of the base station; generating a verification code based on the broadcast message includes:
[0065] A verification code is obtained by performing a hash operation on the field representing the physical information of the base station.
[0066] In some embodiments, a broadcast message indicating that the integrity verification result is passed sends the user identity information to the AMF network element;
[0067] Receive the identity verification result returned by the AMF network element.
[0068] In some embodiments, before receiving the verification result returned by the AMF network element to the blockchain where the corresponding base station is located, the method further includes:
[0069] The user's identity information is sent to the AMF network element for identity verification, and the verification result also includes the verification result of the user's identity legitimacy.
[0070] This invention also provides a method for processing broadcast messages, executed by an AMF network element, including:
[0071] Send an integrity verification request for a broadcast message to the terminal, and receive the verification code of the broadcast message sent by the terminal;
[0072] A query verification request is sent to the blockchain where the terminal is connected to the base station. The blockchain stores broadcast messages and corresponding verification codes, and the query verification request carries the verification code.
[0073] Receive the verification result returned by the blockchain and send the verification result to the terminal.
[0074] This invention also provides a method for processing broadcast messages, wherein the base station is located on a blockchain, and a blockchain system is formed with multiple blockchains located on multiple base stations. The method includes:
[0075] Receive a query verification request sent by an AMF network element, wherein the query verification request carries a verification code for a broadcast message;
[0076] The verification code is verified based on a local blockchain, which stores broadcast messages and corresponding verification codes.
[0077] The verification result is sent to the AMF network element.
[0078] In some embodiments, before receiving a query verification request carrying a verification code from an AMF network element, the method further includes:
[0079] When the physical state of the base station changes, a new block is generated based on the new broadcast message and the verification code generated based on the new broadcast message.
[0080] The new blockchain is connected to the local blockchain for synchronization, and then synchronized with other base stations in the blockchain system.
[0081] The technical solution of the present invention will be further described below with reference to the accompanying drawings and specific embodiments:
[0082] This embodiment uses a blockchain system to store broadcast messages and verification codes, leveraging the immutability of the blockchain to protect the integrity of base station broadcast messages. The blockchain system consists of a private chain comprised of base stations within a fixed area. Each base station in the private chain is deployed by the operator and can be considered a trusted and secure base station. The joining or leaving of base stations within the blockchain system is managed uniformly by the operator. The system structure is as follows: Figure 1 As shown.
[0083] Base stations periodically send broadcast messages on the broadcast channel. When a terminal powers on or switches networks, it receives the broadcast message from the physical broadcast channel and sends a connection request to the base station based on information such as the base station's frequency band contained in the broadcast message. There are two types of broadcast messages from base stations: MIB (Master Information Block) messages and SIB (System Information Blocks) messages.
[0084]
[0085] The MIB broadcast message consists of 24 bits, as shown in the table above. The meaning of each field is as follows:
[0086] (1)DL_Bandwith: Base station downlink bandwidth, 3 bits long;
[0087] (2)Phich_Duration: PHICH channel parameter, 2 bits long, representing the PHICH channel parameter ng, corresponding to four values: 1 / 6, 1 / 2, 1, and 2.
[0088] (3)SFN: System Frame Number, 8 bits long, used for downlink synchronization between the terminal and the base station;
[0089] (4) Reserve 10 bits at the end.
[0090] There are 8 types of SIB messages:
[0091] SIB1: Cell selection parameters, SIB scheduling information;
[0092] SIB2: Random Access Parameters, Channel Configuration;
[0093] SIB3: Cell reselection parameters;
[0094] SIB4: Co-frequency neighbor cell information;
[0095] SIB5: Inter-frequency neighbor cell information;
[0096] SIB6: WCDMA (Wideband Code Division Multiple Access) / TD-SCDMA (Time Division Synchronous Code Division Multiple Access) Neighbor Cell Information (Optional);
[0097] SIB7: GSM (Global System for Mobile Communications) Neighboring Cell Information (optional);
[0098] SIB8: CDMA2000 neighbor cell information (optional);
[0099] The SIB1 message contains system information related to cell selection and scheduling information from other SIBs:
[0100] (1) PLMN (Public Land Mobile Network) identifier;
[0101] (2) CID cell identifier;
[0102] (3) Cell selection parameters;
[0103] (4) Operating frequency band identification;
[0104] (5) TDD (Time Division Duplex) configuration parameters.
[0105] Base stations periodically broadcast messages on the physical channel, with MIB messages broadcasting every 40ms and SIB1 messages every 80ms. This embodiment protects the integrity of certain parts of the base station broadcast messages. For example, in the MIB message, except for the SFN field, other fields represent physical information such as the base station's frequency band and will not change within a certain period. Therefore, in this embodiment, the verification code for the broadcast message can be generated using hash algorithms such as MD5 and SHA256 based on the other MIB fields excluding the SFN field. When the MIB state changes, the modified broadcast message and verification code are used to generate a new block, linked to the blockchain, and synchronized.
[0106] This embodiment considers two scenarios: first, the terminal previously connected to a fake base station but failed to establish a normal network connection; second, although the current broadcast message has been tampered with, it does not affect the terminal's normal network access. Therefore, the verification content is divided into two parts: verification of previously received broadcast messages and verification of broadcast messages from the currently connected base station. Each time the terminal receives a broadcast message, it saves the broadcast message to a broadcast message list. After connecting to the core network, the core network AMF (Access and Mobility Management Function) network element initiates an integrity verification request for the broadcast message. The terminal sends the verification code of the broadcast message generated according to the corresponding hash algorithm to the AMF network element. The AMF network element submits a verification request to the blockchain system and sends the verification result to the terminal. If the verification fails, the corresponding broadcast message is added to the blacklist. If the latest broadcast message (the broadcast message from the currently connected base station) fails verification, the connection with the current base station is disconnected, and the broadcast message is received again. If the verification is successful, the normal identity authentication and authorization process begins.
[0107] like Figure 2 As shown, this embodiment includes the following steps:
[0108] Step 1: The base station (gNB) periodically broadcasts MIB messages on the Physical Broadcast Channel (PBCH) and SIB messages on the Physical Downlink Shared Channel (PDSCH). When the physical state of the base station changes, a new blockchain is generated based on the verification code of the broadcast message and the broadcast message generated by the Hash algorithm, which is then connected to the blockchain and synchronized with other base stations in the blockchain system.
[0109] Step 2: When the terminal (UE) powers on or during cell reselection, it performs a frequency band search based on its own capabilities and settings. After modulating and demodulating the signal, it obtains the MIB message and completes downlink synchronization. Following the configuration information regarding the SIB1 message in the MIB message, the terminal receives and demodulates the SIB1 message on the corresponding PDSCH channel to obtain the necessary information for complete cell access and complete uplink synchronization. The terminal saves the received broadcast messages in the broadcast message list.
[0110] Steps 3-4: The terminal initiates a random access request to the base station to establish a communication channel between the terminal and the base station; including: the terminal sends a random access preamble to the base station, and the base station returns a random access response to the terminal.
[0111] Steps 5-7: The terminal and the base station establish an RRC (Radio Resource Control) connection, including: the terminal sends an RRC connection request to the base station, the base station establishes an RRC connection, and the terminal sends an RRC setup complete message to the base station.
[0112] Step 8: The base station initiates a registration request (NAS registration) to the AMF network element.
[0113] Step 9: The AMF network element initiates a broadcast message integrity authentication request (NAS Integrity request) to the terminal.
[0114] Step 10: The terminal calculates the MAC of the received broadcast message, generates a verification code for the broadcast messages in the saved broadcast message list using a hash algorithm, and sends it to the AMF network element. Specifically, the verification code can be sent through NAS Integrity.
[0115] Step 11: After receiving the verification code, the AMF network element sends a query verification request to the blockchain system where the terminal is connected to the base station.
[0116] Step 12: After receiving a request, any base station in the blockchain system can compare the verification code stored locally on the blockchain and return the query result to the AMF network element.
[0117] Step 13: The AMF network element returns the verification result (NAS result) to the terminal. If the verification result fails, the corresponding broadcast message is added to the blacklist. If the verification of the broadcast message of the current base station fails, the terminal disconnects from the current base station and returns to step 1 to re-enter the broadcast message receiving process.
[0118] Steps 14-15: If the current broadcast message verification is successful, the user identity authentication process begins. The terminal sends a NAS Identity request to the AMF network element, and the AMF network element returns the NAS Identity to the terminal.
[0119] To reduce the number of authentication interactions and authentication overhead, in this embodiment, the AMF network element can perform terminal identity authentication and broadcast message integrity authentication simultaneously. That is, after receiving an authentication request from the AMF network element, the terminal sends the broadcast message verification code and the user's identity information to the AMF network element for authentication. The specific authentication process is as follows: Figure 3 As shown, it includes:
[0120] Step 9: The AMF network element initiates an identity authentication and broadcast message integrity authentication request to the terminal;
[0121] Step 10: The terminal calculates the hash value of the received broadcast message and sends the verification code and user identity information of the broadcast message to the AMF network element;
[0122] Steps 11-12: The AMF network element initiates a query request to the blockchain system where the base station is located. After receiving the request, any base station in the blockchain system can compare the verification code on the locally stored blockchain and return the query result to the AMF network element.
[0123] Step 13: After the AMF network element confirms the legitimacy of the user's identity, it sends the verification result along with the broadcast message to the terminal.
[0124] In this embodiment, the broadcast message is protected for integrity, ensuring that it is not tampered with during communication. The verification code for the broadcast message is stored in the blockchain system, and the broadcast message received by existing terminals remains unchanged, without affecting the normal communication process of existing terminals. This embodiment not only prevents the broadcast message from being tampered with during communication by leveraging the immutability of blockchain technology, but also prevents the base station from being maliciously attacked and having its broadcast message and verification code modified.
[0125] This invention also provides a broadcast message processing device, applied to a terminal, such as... Figure 4 As shown, it includes a transceiver 11 and a processor 12.
[0126] The transceiver 11 is used to receive broadcast messages sent by the base station, receive integrity verification requests for the broadcast messages sent by the AMF network element, generate verification codes according to the broadcast messages, send the verification codes to the AMF network element for integrity verification, and receive integrity verification results returned by the AMF network element when it initiates verification with the blockchain where the corresponding base station is located. The blockchain stores the broadcast messages and the corresponding verification codes.
[0127] The processor 12 is used to add broadcast messages whose integrity verification result is failed to the blacklist.
[0128] In some embodiments, the broadcast message includes an SFN field and a field representing physical information of the base station; the processor 12 is used to perform a hash operation on the field representing the physical information of the base station to obtain a verification code.
[0129] In some embodiments, the transceiver 11 is further configured to send user identity information to the AMF network element upon receiving a broadcast message indicating that the integrity verification result is passed;
[0130] Receive the identity verification result returned by the AMF network element.
[0131] In some embodiments, before receiving the verification result returned by the AMF network element to the blockchain where the corresponding base station is located, the transceiver 11 is also used to send the user identity information to the AMF network element for identity verification, and the verification result also includes the verification result of the user's identity legitimacy.
[0132] This invention also provides a broadcast message processing apparatus, applied to AMF network elements, such as... Figure 4 As shown, it includes a transceiver 11 and a processor 12.
[0133] The transceiver 11 is used to send an integrity verification request for a broadcast message to the terminal, receive the verification code of the broadcast message sent by the terminal, send a query verification request to the blockchain where the base station connected to the terminal is located, the blockchain stores the broadcast message and the corresponding verification code, and the query verification request carries the verification code; receive the verification result returned by the blockchain, and send the verification result to the terminal.
[0134] This invention also provides a broadcast message processing device applied to a base station, wherein the base station is located on a blockchain, forming a blockchain system with multiple blockchains located on multiple base stations, such as... Figure 4 As shown, it includes a transceiver 11 and a processor 12.
[0135] The transceiver 11 is used to receive query verification requests sent by AMF network elements, and the query verification requests carry a verification code of a broadcast message.
[0136] The processor 12 is used to verify the verification code according to a local blockchain, the blockchain storing broadcast messages and corresponding verification codes;
[0137] The transceiver 11 is also used to send the verification result to the AMF network element.
[0138] In some embodiments, before receiving a query verification request carrying a verification code from an AMF network element, the processor 12 is further configured to generate a new block based on a new broadcast message and a verification code generated based on the new broadcast message when the physical state of the base station changes.
[0139] The transceiver 11 is also used to connect the new blockchain to the local blockchain for synchronization, and to synchronize it with other base stations in the blockchain system.
[0140] This invention also provides a broadcast message processing apparatus, such as... Figure 5 As shown, it includes a memory 21, a processor 22, and a computer program stored in the memory 21 and executable on the processor 22; when the processor 22 executes the program, it implements the broadcast message processing method described above.
[0141] In some embodiments, the broadcast message processing device is applied to a terminal. The processor 22 is used to receive broadcast messages sent by a base station, receive integrity verification requests for the broadcast messages sent by an AMF network element, generate verification codes based on the broadcast messages, send the verification codes to the AMF network element for integrity verification, receive integrity verification results returned by the AMF network element after initiating verification with the blockchain where the corresponding base station is located, the blockchain storing broadcast messages and corresponding verification codes, and add broadcast messages with integrity verification results that fail to pass to a blacklist.
[0142] In some embodiments, the broadcast message includes an SFN field and a field representing physical information of the base station; the processor 22 is used to perform a hash operation on the field representing the physical information of the base station to obtain a verification code.
[0143] In some embodiments, the processor 22 is used to send the user identity information to the AMF network element in a broadcast message indicating that the integrity verification result is passed; and to receive the identity information verification result returned by the AMF network element.
[0144] In some embodiments, before receiving the verification result returned by the AMF network element to the blockchain where the corresponding base station is located, the processor 22 is used to send the user identity information to the AMF network element for identity verification, and the verification result also includes the verification result of the user's identity legitimacy.
[0145] In some embodiments, the broadcast message processing apparatus is applied to an AMF network element. The processor 22 is used to send an integrity verification request for the broadcast message to a terminal, receive a verification code for the broadcast message sent by the terminal, send a query verification request to the blockchain where the terminal is connected to the base station, the blockchain storing the broadcast message and the corresponding verification code, the query verification request carrying the verification code, receive the verification result returned by the blockchain, and send the verification result to the terminal.
[0146] In some embodiments, the broadcast message processing device is applied to a base station, the base station being located on a blockchain, forming a blockchain system with multiple blockchains located on multiple base stations. The processor 22 is used to receive a query verification request sent by an AMF network element, the query verification request carrying a verification code of the broadcast message; verify the verification code according to the local blockchain, the blockchain storing the broadcast message and the corresponding verification code; and send the verification result to the AMF network element.
[0147] In some embodiments, before receiving a query verification request carrying a verification code from an AMF network element, the processor 22 is further configured to generate a new block based on a new broadcast message and a verification code generated based on the new broadcast message when the physical state of the base station changes; connect the new blockchain to the local blockchain for synchronization, and synchronize it with other base stations in the blockchain system.
[0148] This invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the broadcast message processing method described above.
[0149] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can store information using any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage, or any other non-transferable medium that can be used to store information accessible to the computer-readable terminal device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0150] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A processing method of a broadcast message, characterized by, The method is executed by a terminal and comprises: receiving a broadcast message sent by a base station and receiving an integrity verification request for the broadcast message sent by an AMF network element; generating a verification code from the broadcast message and sending the verification code to the AMF network element for integrity verification; receiving an integrity verification result returned by the AMF network element to a blockchain where the corresponding base station is located, the blockchain storing the broadcast message and the corresponding verification code; adding the broadcast message with a failed integrity verification result to a blacklist.
2. The method of claim 1, wherein, The broadcast message comprises an SFN field and a field representing physical information of the base station; and the generating of the verification code from the broadcast message comprises: performing a hash operation on the field representing the physical information of the base station to obtain the verification code.
3. The method of claim 1 or 2, wherein, sending user identity information to the AMF network element for the broadcast message with a passed integrity verification result; receiving an identity information verification result returned by the AMF network element.
4. The method of claim 1 or 2, wherein, Before the receiving of the verification result returned by the AMF network element to the blockchain where the corresponding base station is located, the method further comprises: sending user identity information to the AMF network element for identity verification, and the verification result further comprises a verification result of the legality of the user identity.
5. A processing method of a broadcast message, characterized by, The method is executed by an AMF network element and comprises: sending an integrity verification request for a broadcast message to a terminal and receiving a verification code for the broadcast message sent by the terminal; sending a query verification request to a blockchain where the base station connected to the terminal is located, the blockchain storing the broadcast message and the corresponding verification code, the query verification request carrying the verification code; receiving a verification result returned by the blockchain and sending the verification result to the terminal.
6. A processing method of a broadcast message, characterized by, The method is executed by a base station, the base station being located in a blockchain, and a plurality of base stations being located in a plurality of blockchains to form a blockchain system, and the method comprises: receiving a query verification request sent by an AMF network element, the query verification request carrying a verification code for a broadcast message; verifying the verification code according to a local blockchain, the blockchain storing the broadcast message and the corresponding verification code; sending a verification result to the AMF network element.
7. The method of claim 6, wherein the broadcast message is a system information block (SIB) message. Before the receiving of the query verification request carrying the verification code sent by the AMF network element, the method further comprises: when a physical state of the base station changes, generating a new block according to a new broadcast message and a verification code generated based on the new broadcast message; linking the new block to the local blockchain for synchronization and synchronizing the new block to other base stations in the blockchain system.
8. A processing apparatus of a broadcast message, characterized by, The application is applied to a terminal and comprises a transceiver and a processor, the transceiver is configured to receive a broadcast message sent by a base station, receive an integrity verification request for the broadcast message sent by an AMF network element, generate a verification code from the broadcast message, and send the verification code to the AMF network element for integrity verification; receive an integrity verification result returned by the AMF network element to a blockchain where the corresponding base station is located, the blockchain storing the broadcast message and the corresponding verification code; the processor is configured to add the broadcast message with a failed integrity verification result to a blacklist.
9. A processing device for broadcast messages, characterized in that The application is applied to an AMF network element and comprises a transceiver and a processor, The transceiver is configured to send an integrity verification request of a broadcast message to a terminal, receive a verification code of the broadcast message sent by the terminal, send a query verification request to a blockchain where a base station is located, the blockchain storing broadcast messages and corresponding verification codes, the query verification request carrying the verification code, receive a verification result returned by the blockchain, and send the verification result to the terminal.
10. A processing device for broadcast messages, characterized in that The application is applied to a base station, comprising a transceiver and a processor, the base station being located in a blockchain, and a plurality of blockchains where a plurality of base stations are located forming a blockchain system, The transceiver is configured to receive a query verification request sent by an AMF network element, the query verification request carrying a verification code of a broadcast message. The processor is configured to verify the verification code according to a local blockchain, the blockchain storing broadcast messages and corresponding verification codes. The transceiver is further configured to send a verification result to the AMF network element.
11. A processing device for broadcast messages, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor; characterized in that, The processor implements the broadcast message processing method according to any one of claims 1-7 when executing the program.
12. A computer readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to implement the steps in the broadcast message processing method according to any one of claims 1-7.
Citation Information
Patent Citations
Mobile communication method and device based on block chain network
CN110602691A
Terminal access method and device
CN111246471A