A blockchain authentication method, system, terminal and medium based on WIFI6
By recording the resource allocation scheme of wireless access points in WIFI6 and blockchain networks, the identity authentication of wireless terminal STA is solved, and the security problems of power Internet of Things devices in distributed access scenarios are achieved, and efficient and reliable Terminal authentication and access security.
Patent Information
- Application Number
- CN202310042715.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-28
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2043-01-28
AI Technical Summary
In the prior art, power Internet of Things devices have security protection defects in distributed access scenarios, making it difficult to effectively identify and determine false or counterfeit devices, resulting in the network being vulnerable to malicious attacks and affecting the security of service transmission.
In the data transmission network of WIFI6 and blockchain, the resource allocation scheme of the wireless access point is chained and recorded in the authentication log of the blockchain, and the identity authentication of the wireless terminal STA is carried out, and the resource allocation scheme and service type are used. Judge the security of the terminal and realize accurate access authentication.
Improve the security of WIFI6-blockchain data transmission network, realize trusted authentication of wireless IoT power terminal equipment, ensure the access security of geographic IoT, simplify the authentication process, improve efficiency and avoid resource waste .
Smart Images

Figure CN116321162B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet of Things, and more specifically, to a blockchain authentication method, system, terminal and medium based on WIFI6. Background Art
[0002] With the development of the power Internet of Things, wireless LAN will bear the increasing demand for terminal business transmission. As a very representative wireless coverage technology, WiFi is ubiquitous in wireless LAN and has now been widely used in the power Internet of Things.
[0003] As the sixth generation of WiFi technology, WiFi6 (IEEE802.11.ax) can achieve efficient transmission in densely deployed networks, support more users to transmit in the same frequency band, greatly improve the average throughput of users, and improve the robustness of outdoor and multipath signals. WiFi6 uses OFDMA (Orthogonal Frequency Division Multiple Access) technology and MU-MIMO (Multi-User Multiple-Input Multiple-Output) technology to divide the available spectrum into multiple orthogonal sub-channels and combine them into resource units RU (Resource Unit) in a certain number. In the power Internet of Things, WIFI6 can be used to implement different power services such as conversations, inspection videos, and control at the same time. However, when these services are transmitted simultaneously, the latency requirements, bandwidth requirements, synchronization requirements, etc. of different services are inconsistent, which leads to large differences in the channel resource allocation of WIFI6 to different power terminals. Resource units can be allocated to different power Internet of Things terminals according to business attribute requirements, thereby realizing concurrent multi-user transmission.
[0004] With the iteration and update of IoT devices, WiFi6 has greatly improved the resource allocation flexibility and transmission rate of business transmission, and also promoted the development of the power IoT towards regional autonomy and distributed decentralized access mode, which has dramatically expanded the protection boundary of the IoT and faced the need to achieve wireless distributed concurrent access in multiple business scenarios. At this time, it is very likely that there will be attacks on resource allocation by exploiting the security protection defects of distributed access scenarios, threatening the terminal business transmission security in the power IoT.
[0005] As a distributed data security application technology, blockchain technology can be applied to distributed access scenarios of the power Internet of Things to ensure terminal access security. Blockchain can store and share all kinds of untrusted information, including identity authentication information, resource organization information, etc., so that all nodes on the chain can record various operations and ensure the reliability of operations by reaching a consensus, thus realizing the trusted sharing and transmission of information.
[0006] Background technology document CN113824570A discloses a blockchain-based authentication method and system for security terminals. The method can send the identity information and request of the security terminal and the server to a third-party trusted registration node, and quickly process the request according to the response rules in the smart contract on the blockchain where the third-party registration node is located. The smart contract sends the generated public key and digital signature to the corresponding security terminal and server, thereby effectively avoiding illegal third-party trusted registration nodes, and the security terminal and server can be authenticated through the blockchain.
[0007] Background technology document CN110351263A discloses an Internet of Things authentication method based on Hyperledger Fabric, which can authenticate CA to issue certificates to blockchain service nodes and clients, and create identities through clients and submit them to blockchain service nodes. After two-way authentication is completed, the transaction is written into the blockchain. When the user logs in to the client and submits the transaction, the endorsement node checks the transaction and executes it and writes it into the blockchain. This invention designs an authentication framework in the alliance chain scenario, reduces the risk of single point failure, and improves the robustness of the authentication system.
[0008] Background technology document CN113630846A discloses a fast access system and method in a blockchain wireless access network, in which the service provider provides access services to users according to a fixed service duration each time; the user submits the transfer information to the service provider before the time specified by the service provider each time; the service provider regularly uploads the transfer information to the blockchain. Compared with the existing access mechanism in the blockchain wireless access network, the access mechanism proposed in the present invention has a shorter access delay and can effectively promote cooperation between service providers and users.
[0009] Although the existing technology provides a variety of blockchain-based security access mechanisms, this access mechanism is still unable to fully identify and determine the security of power IoT devices. When false or counterfeit IoT devices are connected to the network, the network is vulnerable to malicious attacks, making it difficult to transmit power business safely and efficiently.
[0010] In response to the above problems, the present invention provides a blockchain authentication method, system, terminal and medium based on WIFI6. Summary of the invention
[0011] In order to solve the deficiencies in the prior art, the purpose of the present invention is to provide a blockchain authentication method, system, terminal and medium based on WIFI6. The method constructs and shares a resource allocation plan for a wireless access point, thereby accurately determining whether the identity of the wireless terminal STA is secure.
[0012] The present invention adopts the following technical solution.
[0013] The first aspect of the present invention relates to a blockchain authentication method based on WIFI6, the method comprising the following steps:
[0014] Step 1: In the data transmission network based on WIFI6 and blockchain, the resource allocation plan of each wireless access point AP is uploaded to the blockchain and recorded in the authentication log of the blockchain;
[0015] Step 2: When the wireless terminal STA accesses the blockchain for the first time, the identity of the wireless terminal STA is authenticated based on the resource allocation plan.
[0016] Preferably, the power Internet of Things service type transmitted on the wireless terminal STA is used as a reference for the resource allocation scheme of the wireless access point AP, so as to realize the resource allocation of the wireless access power AP and the data transmission of the wireless terminal STA based on WIFI6; and the resource allocation scheme of the wireless access point AP is
[0017]
[0018] Among them, R1, R a to 1 to N respectively sta The wireless channel resources obtained by the wireless terminal STA accessing the WIFI6 network through the current wireless access point AP; C1, C a to 1 to N respectively sta The type of power Internet of Things service transmitted on the wireless terminal STA connected to the WIFI6 network through the current wireless access point AP.
[0019] Preferably, the wireless terminal STA is a power Internet of Things device, and each wireless terminal STA transmits a fixed power Internet of Things service type; the power Internet of Things service types are control service, burst service, large bandwidth service, and small particle collection service.
[0020] Preferably, the wireless access point AP allocates wireless channel resources to the wireless terminal STA based on the power Internet of Things service type of the wireless terminal STA.
[0021] Preferably, the wireless channel resource R obtained by the a-th wireless terminal STA a The value of
[0022]
[0023] Where l is the transmission slot number under the current resource unit RU, and its value range is 1 to N t , R a,l is the wireless bandwidth obtained by the ath wireless terminal STA in the lth transmission time slot under the current resource unit RU, and its value is R a,l ∈{26,52,106,242,484,996,1992}.
[0024] Preferably, the authentication log of the blockchain includes the current timestamp, the authentication information corresponding to the current timestamp, and the resource allocation plan corresponding to the current timestamp.
[0025] Preferably, the authentication information includes a default authentication factor, a MAC address, a service transmission type of the wireless terminal STA, and the number of resource units requested by the wireless terminal STA.
[0026] Preferably, when the wireless terminal STA accesses the blockchain for the first time, the access authentication information recorded in the access authentication request of the wireless terminal STA is judged based on the resource allocation scheme recorded in the authentication log.
[0027] Preferably, the judgment is: when the resource allocation method can match the access authentication information, the wireless terminal STA is authenticated as reliable access, and the access authentication information of the wireless terminal STA is shared based on the blockchain; when the resource allocation method does not match the access authentication information, the access of the wireless terminal STA is denied.
[0028] The second aspect of the present invention relates to a blockchain authentication system based on WIFI6, the system comprising multiple wireless access points AP and multiple wireless terminals STA; wherein, data interaction is achieved between the multiple wireless access points AP using a blockchain method; and data interaction is achieved between the wireless access point AP and the wireless terminal STA using a WIFI6 method.
[0029] A third aspect of the present invention relates to a terminal, comprising a processor and a storage medium, wherein the storage medium is used to store instructions; the processor is used to operate according to the instructions to perform the steps of the method in the first aspect of the present invention as a wireless access point AP.
[0030] A fourth aspect of the present invention relates to a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is used to implement the steps of the method in the first aspect of the present invention.
[0031] The beneficial effect of the present invention is that, compared with the prior art, the present invention provides a blockchain authentication method, system, terminal and medium based on WIFI6. The method constructs and shares a resource allocation scheme for a wireless access point, thereby accurately judging whether the identity of a wireless terminal STA is secure. The present invention is ingenious in conception, and the method is effective and reliable. It fully improves the security of the WIFI6-blockchain data transmission network, realizes the trusted authentication of wireless Internet of Things power terminal equipment, and ensures the access security of the geographic Internet of Things.
[0032] The beneficial effects of the present invention also include:
[0033] 1. The resource allocation situation of the wireless access point for a wireless terminal at the current timestamp and the data transmission type of the wireless terminal itself are statistically organized and used as the resource allocation scheme of WIFI6. This method enables WIFI6 to achieve reasonable and effective channel resource allocation based on the basic attributes of the data type transmitted in the power wireless terminal.
[0034] 2. Furthermore, in this way, the wireless terminal that obtains reasonable resource allocation also has the resource allocation attribute at the current moment. Therefore, the blockchain makes full use of this attribute and uses it as the basic attribute of wireless terminal security authentication to fully authenticate the wireless terminal. In this authentication process, there is no need to perform any encryption and decryption operations on the data in advance, but only relying on the authentication capability of WIFI6, the security authentication of the wireless terminal accessing the blockchain is fully realized. The process is simple and does not introduce additional data volume. The authentication process is highly real-time and will not cause problems such as wireless network congestion. It meets the delay requirements of business transmission, avoids resource waste and improves authentication efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 It is a schematic diagram of the channel resource allocation method of WIFI6 in the prior art;
[0036] Figure 2 This is a schematic diagram of the network architecture of the data transmission network based on WIFI6 and blockchain in the present invention;
[0037] Figure 3 A schematic diagram of a blockchain authentication log including a resource allocation scheme in a blockchain authentication method based on WIFI6 of the present invention;
[0038] Figure 4 It is a schematic diagram of the simulation results of terminal access accuracy in a blockchain authentication method based on WIFI6 of the present invention and an authentication method in the prior art;
[0039] Figure 5This is a schematic diagram of data throughput simulation results in a WIFI6-based blockchain authentication method of the present invention and an authentication method in the prior art. DETAILED DESCRIPTION
[0040] The present application is further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present application.
[0041] The first aspect of the present invention relates to a blockchain authentication method based on WIFI6, and the method includes steps 1 to 2.
[0042] Step 1: In the data transmission network based on WIFI6 and blockchain, the resource allocation plan of each wireless access point AP is uploaded to the chain and recorded in the authentication log of the blockchain.
[0043] Figure 1 Schematic diagram of the channel resource allocation method of WIFI6 in the prior art. Figure 1 As shown in the upper part, in the prior art, in the method of implementing resource allocation for multiple wireless terminal users using orthogonal frequency division multiplexing mode, different frequency band resources in each time slot can only be allocated to a unique user. Therefore, assuming that there are only 4 time slots available for allocation in the channel in the current time slot, the above time slots can be allocated to users 1-4 respectively, and user 5 can only continue to wait in the current time period until it has sufficient priority in the next time period, and then it is possible to realize data transmission between the wireless access point.
[0044] And in Figure 1 As shown in the content in the lower part, in the WIFI6 involved in the present invention, the entire channel can not only be further divided into multiple time slots within a period of time, but also can be divided into multiple frequency band resources in the frequency domain dimension. Since the entire channel bandwidth is divided into a number of orthogonal subcarriers, and subchannels are composed of different numbers of subcarriers, Figure 1 The box shown in can be understood as a resource unit RU, which can be divided into multiple resource blocks with the same time slot but different bandwidths, so that the allocation of channel resources becomes more flexible. Within a time period, user data exceeding the number of time slots can be accessed and transmitted to the corresponding data access point.
[0045] Figure 2 This is a schematic diagram of the network architecture of the data transmission network based on WIFI6 and blockchain in the present invention. Figure 2As shown, the authentication method in the present invention is implemented based on a data transmission network of WIFI6 and blockchain. In the data transmission network, the data access points of WIFI6 are connected by means of blockchain, thereby realizing the decentralization of the data processing process by uploading the mutual authentication information to the chain.
[0046] Figure 3 The present invention is a schematic diagram of a blockchain authentication log including a resource allocation scheme in a blockchain authentication method based on WIFI6. Figure 3 As shown, in order to realize the generation of a resource allocation plan in the data transmission network of WIFI6 and blockchain, the present invention specifically adopts the following method.
[0047] Preferably, the power Internet of Things service type transmitted on the wireless terminal STA is used as a reference for the resource allocation scheme of the wireless access point AP, so as to realize the resource allocation of the wireless access power AP and the data transmission of the wireless terminal STA based on WIFI6; and the resource allocation scheme of the wireless access point AP is
[0048]
[0049] Among them, R1, R a to 1 to N respectively sta The wireless channel resources obtained by the wireless terminal STA accessing the WIFI6 network through the current wireless access point AP;
[0050] C1, C a to 1 to N respectively sta The type of power Internet of Things service transmitted on the wireless terminal STA connected to the WIFI6 network through the current wireless access point AP.
[0051] It is understandable that when the wireless access point AP allocates resources to all the power wireless terminals STA below it through the WIFI6 protocol, it has already made an effective judgment on the security of these power wireless terminals STA in advance. Therefore, if the blockchain can accurately identify which terminals have obtained the channel resources actually given by the wireless access point AP, there is no need to judge the security of these terminals again.
[0052] Based on this idea, the information in the resource allocation scheme is defined as the amount of allocated wireless channel resources and the type of power IoT service of the terminal. Through the above two pieces of information, other devices in the blockchain can determine the security of the wireless access point based on whether the information uploaded by the wireless access point itself matches the wireless terminal requesting the connection.
[0053] Preferably, the wireless terminal STA is a power Internet of Things device, and each wireless terminal STA transmits a fixed power Internet of Things service type; the power Internet of Things service types are control service, burst service, large bandwidth service, and small particle collection service.
[0054] In the present invention, considering the application scenario of the power Internet of Things, there are many different types of power Internet of Things wireless terminal devices. For these devices, the data types they collect are completely fixed, and the data content and time intervals uploaded to the access point via the wireless Internet are also basically stable and unchanged.
[0055] In addition, due to the characteristics of the power system, there are great differences between these devices. For example, some terminal devices are actually protection devices of the power system. The soft data transmission volume requirement during data transmission is not high, but the network response is required to be fast enough. This type of service is called control service in the present invention.
[0056] In the present invention, there are also burst services. This type of data is different from the stable transmission of most power data analog quantities, digital quantities, etc., and there may be no need for data exchange in most cases. Only when a power burst occurs, there is a need for data transmission. Therefore, this type of data may be suddenly connected to the network, and there will be no continuous data exchange.
[0057] Large-bandwidth services may include video data acquisition equipment that monitors power plant environments, power transmission network environments, etc. Such services also collect and transmit data in real time and have high bandwidth resource requirements. Small-granular acquisition services may include very little data information, such as information about multiple environmental sensors in a power plant environment, etc.
[0058] Since there are various IoT devices in the power system, and the data types transmitted by different devices are relatively fixed, the present invention assigns a unique type to each IoT device. This type can also be C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15, C16, C17, C18, C29, C21, C21, C22, C33, C34, C35, C36, C37, C38, C39, C40, C41, C42, C43, C44, C45, C46, C47, C48, C49, C5 a to The value of .
[0059] In one embodiment of the present invention, the power Internet of Things service types are divided into four categories, so C1, C a to The value of can also be 4 different numbers, such as 0 to 3.
[0060] Preferably, the wireless access point AP allocates wireless channel resources to the wireless terminal STA based on the power Internet of Things service type of the wireless terminal STA.
[0061] It can be understood that in WIFI6, the wireless access point AP can give priority to accessing some wireless terminals based on the attribute information carried by the wireless terminal STA itself, while rejecting some wireless terminals and making them wait for the relevant attribute information to change before accessing again.
[0062] It is worth noting that in the present invention, the attribute information used to determine the priority of the wireless terminal STA in WIFI6 can be identified as the service type of the electric power Internet of Things. When four different types of wireless terminals STA all request access to the same wireless access point AP at the same time, if the other priorities are exactly the same, the wireless access point AP will read the electric power Internet of Things service type field recorded in the access requests sent by the four different wireless terminals to determine the priority of the four wireless terminals. Usually, the wireless terminal that controls the service has the highest priority. It can access the wireless access point first and perform protection actions and other control services through information interaction. Secondly, burst services and small-granular services can also have higher priorities, and because the large broadband service has a high data volume and low real-time requirements, it can have the lowest priority.
[0063] Table 1 shows the QoS requirements of four different types of power services in the present invention. As shown in Table 1, according to the different requirements of different services, WIFI6 can allocate communication resources to different terminals in a manner similar to that in the prior art.
[0064]
[0065] Table 1 QoS requirements for four different types of power services
[0066] In addition, the resource allocation scheme in the present invention also includes R1, R a to Specifically, the process of calculating and obtaining this data is as follows.
[0067] Preferably, the wireless channel resource R obtained by the a-th wireless terminal STA a The value of
[0068]
[0069] Where l is the transmission slot number under the current resource unit RU, and its value range is 1 to N t ,
[0070] R a,l is the wireless frequency bandwidth obtained by the ath wireless terminal STA in the lth transmission time slot corresponding to the current resource unit RU, and its value is R a,l ∈{26,52,106,242,484,996,1992}.
[0071] It is understood that in the present invention, R a The value of can be the total amount of resources that a current power IoT wireless terminal can obtain under one RU. In the specific calculation process, in multiple time slots, if there is resource allocation for the wireless terminal in each time slot, the bandwidth of the allocated resources can be recorded, and finally the total amount of data transmission that can be provided to the wireless terminal in the entire RU can be solved.
[0072] Since the time actually occupied by each RU is very short, after multiple devices in the network are accurately synchronized, the wireless access point only needs this one data to quickly and accurately determine whether the identity of the current wireless terminal meets the requirements. Therefore, the verification process is very simple and accurate. At the same time, this verification is fast enough and will not cause a large delay. For data transmission, it will not cause too much data transmission burden.
[0073] Preferably, the authentication log of the blockchain includes the current timestamp, the authentication information corresponding to the current timestamp, and the resource allocation plan corresponding to the current timestamp.
[0074] It can be understood that in order to implement the authentication method in the present invention, the present invention must first upload the resource allocation plan in each wireless access point AP and other authentication-related information to the chain, so that multiple wireless access points can synchronize and share resources through blockchain.
[0075] Preferably, the authentication information includes a default authentication factor, a MAC address, a service transmission type of the wireless terminal STA, and the number of resource units requested by the wireless terminal STA.
[0076] The default authentication factor may be the attribute information of the wireless access point device itself, such as data obtained by simply encrypting its basic device serial number, name, etc. Of course, it is also feasible to design the parameter by other methods in the prior art.
[0077] It is understandable that the main content of the authentication information includes the MAC address of the wireless access point and the service types of all wireless terminals carried by the wireless access point. Usually, in order to facilitate configuration in the power system, wireless sensors, for example, are connected to the same wireless access point as the same type of device, and video collectors are connected to another wireless access point as the same type of device, and similar protection devices are connected to the same wireless access point, etc. Therefore, for a certain wireless access point, it can basically realize the access of fixed types of wireless terminals.
[0078] In addition, since the wireless terminal will send a data request to the wireless access point in advance and request corresponding resources from the wireless access point, when the wireless access point allocates resources, the total data demand of a wireless terminal in the data request can be recorded as part of the authentication information.
[0079] Step 2: When the wireless terminal STA accesses the blockchain for the first time, the identity of the wireless terminal STA is authenticated based on the resource allocation plan.
[0080] Preferably, when the wireless terminal STA accesses the blockchain for the first time, the access authentication information recorded in the access authentication request of the wireless terminal STA is judged based on the resource allocation scheme recorded in the authentication log.
[0081] It is understandable that when the wireless terminal STA accesses the blockchain, if it is not the first time, it can access in the manner commonly used in the prior art, for example, judging the security of the current terminal based on historical access authentication information, thereby assuming that the access verification is successful.
[0082] However, if the wireless terminal accesses the blockchain for the first time, the resource allocation scheme mentioned in the foregoing text of the present invention can be used to determine its identity.
[0083] In WIFI6, there is already a consensus between the wireless terminal and the wireless access point directly connected to it, and in this consensus, both parties have local storage of relevant information about the resource allocation plan. At the same time, in the blockchain, other wireless access point devices can share the resource allocation plan by uploading the wireless access point information to the chain. In this way, other wireless access points can authenticate the identity of the wireless terminal.
[0084] Preferably, the judgment is: when the resource allocation method can match the access authentication information, the wireless terminal STA is authenticated as reliable access, and the access authentication information of the wireless terminal STA is shared based on the blockchain; when the resource allocation method does not match the access authentication information, the access of the wireless terminal STA is denied.
[0085] In this way, the blockchain can determine whether to connect the current wireless terminal to the network and realize data interaction. At the same time, other wireless terminals that are not recognized by WIFI6 cannot be connected through blockchain authentication, thereby eliminating a large number of malicious attack terminals from accessing.
[0086] Figure 4 This is a schematic diagram of the simulation results of terminal access accuracy in a blockchain authentication method based on WIFI6 of the present invention and an authentication method in the prior art. Figure 5This is a schematic diagram of the data throughput simulation results of a blockchain authentication method based on WIFI6 in the present invention and an authentication method in the prior art. Figure 4 and Figure 5 According to the content in the text, the present invention simulates a certain number of malicious terminals requesting access to the blockchain. The default authentication method in the prior art has the lowest access accuracy and the lowest data throughput in the same network environment. Although the simple blockchain distributed authentication method in the prior art can also prevent attacks from malicious terminals to a certain extent, the authentication method that combines WIFI6 and blockchain used in the present invention has the best effect. When the number of wireless terminals requesting access gradually increases, the performance improvement of data throughput is most obvious.
[0087] The second aspect of the present invention relates to a blockchain authentication system based on WIFI6, the system comprising multiple wireless access points AP and multiple wireless terminals STA; wherein, data interaction is achieved between the multiple wireless access points AP using a blockchain method; and data interaction is achieved between the wireless access point AP and the wireless terminal STA using a WIFI6 method.
[0088] A third aspect of the present invention relates to a terminal, comprising a processor and a storage medium, wherein the storage medium is used to store instructions; the processor is used to operate according to the instructions to perform the steps of the method in the first aspect of the present invention as a wireless access point AP.
[0089] It is understandable that, in order to implement the various functions in the method provided in the above-mentioned embodiment of the present application, the terminal includes a hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the algorithm steps of each example described in the embodiment 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 be beyond the scope of this application.
[0090] The embodiment of the present application can divide the functional modules of the terminal 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. It should be noted that 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.
[0091] The device includes at least one processor, a bus system and at least one communication interface.
[0092] The processor can be a central processing unit (CPU), and can also be replaced by a field programmable gate array (FPGA), an application-specific integrated circuit (ASIC) or other hardware, or the FPGA or other hardware can be used together with the CPU as a processor.
[0093] The memory may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to this. The memory may exist independently and be connected to the processor through a bus. The memory may also be integrated with the processor.
[0094] The hard disk can be a mechanical disk or a solid state drive (SSD), etc. The interface card can be a host bus adapter (HBA), a redundant array of independent disks (RID), an expander card (Expander), or a network interface controller (NIC), etc., which is not limited in the embodiment of the present invention. The interface card in the hard disk module communicates with the hard disk. The storage node communicates with the interface card of the hard disk module to access the hard disk in the hard disk module.
[0095] The interface of the hard disk can be a serial attached small computer system interface (Serial Attached Small Computer System Interface, SAS), a serial advanced technology attachment (Serial Advanced Technology Attachment, SATA) or a high-speed serial computer expansion bus standard (Peripheral Component Interconnect express, PCIe) and the like.
[0096] A fourth aspect of the present invention relates to a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is used to implement the steps of the method in the first aspect of the present invention.
[0097] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains one or more servers that can be integrated with the medium. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).
[0098] The beneficial effect of the present invention is that, compared with the prior art, the present invention provides a blockchain authentication method, system, terminal and medium based on WIFI6. The method constructs and shares a resource allocation scheme for a wireless access point, thereby accurately judging whether the identity of a wireless terminal STA is secure. The present invention is ingenious in conception, and the method is effective and reliable. It fully improves the security of the WIFI6-blockchain data transmission network, realizes the trusted authentication of wireless Internet of Things power terminal equipment, and ensures the access security of the geographic Internet of Things.
[0099] The applicant of the present invention has made a detailed explanation and description of the implementation examples of the present invention in conjunction with the drawings in the specification. However, those skilled in the art should understand that the above implementation examples are only preferred implementation schemes of the present invention, and the detailed description is only to help readers better understand the spirit of the present invention, but not to limit the scope of protection of the present invention. On the contrary, any improvements or modifications based on the inventive spirit of the present invention should fall within the scope of protection of the present invention.
Claims
1. A blockchain authentication method based on WIFI6, characterized in that: The method comprises the following steps: Step 1: In a data transmission network based on WIFI6 and blockchain, the resource allocation plan of each wireless access point AP is uploaded to the blockchain and recorded in the authentication log of the blockchain; Step 2: when the wireless terminal STA accesses the blockchain for the first time, the identity of the wireless terminal STA is authenticated based on the resource allocation scheme; The power Internet of Things service type transmitted on the wireless terminal STA is used as a reference for the resource allocation scheme of the wireless access point AP, so as to realize the resource allocation of the wireless access power AP and the data transmission of the wireless terminal STA based on WIFI6; and The resource allocation scheme of the wireless access point AP is: Among them, R1, R a to 1 to N respectively sta The wireless channel resources obtained by the wireless terminal STA accessing the WIFI6 network through the current wireless access point AP, N sta is the number of wireless channel resources of the wireless terminal STA; C1, C a to 1 to N respectively sta The power Internet of Things service type transmitted on the wireless terminal STA connected to the WIFI6 network through the current wireless access point AP; The wireless terminal STA is a power Internet of Things device, and each wireless terminal STA transmits a fixed power Internet of Things service type data; the wireless access point AP allocates the wireless channel resources to the wireless terminal STA based on the power Internet of Things service type of the wireless terminal STA; and, The types of power Internet of Things services are control services, burst services, large bandwidth services, and small particle collection services; Acquire QoS requirement characteristics of different power Internet of Things service types, determine the priority of the power Internet of Things service type based on the requirement characteristics, and allocate the wireless channel resources to the wireless terminal STA based on the priority order; The wireless channel resource R obtained by the a-th wireless terminal STA a The value of Where l is the transmission slot number under the current resource unit RU, and its value range is 1 to N t , N t is the number of transmission time slots under the current resource unit RU; R a,l is the wireless frequency bandwidth obtained by the ath wireless terminal STA in the lth transmission time slot corresponding to the current resource unit RU, and its value is R a,l ∈{26,52,106,242,484,996,1992}; The authentication log of the blockchain includes a current timestamp, authentication information corresponding to the current timestamp, and a resource allocation plan corresponding to the current timestamp.
2. According to a WIFI6-based blockchain authentication method described in claim 1, it is characterized in that: The authentication information includes a default authentication factor, a MAC address, a service transmission type of the wireless terminal STA, and the number of resource units requested by the wireless terminal STA.
3. According to a WIFI6-based blockchain authentication method as described in claim 2, it is characterized in that: When a wireless terminal STA accesses the blockchain for the first time, the access authentication information recorded in the access authentication request of the wireless terminal STA is judged based on the resource allocation scheme recorded in the authentication log.
4. According to a WIFI6-based blockchain authentication method as described in claim 3, it is characterized in that: The determination is: When the resource allocation method can match the access authentication information, authenticating the wireless terminal STA as reliable access, and sharing the access authentication information of the wireless terminal STA based on the blockchain; When the resource allocation method does not match the access authentication information, the access of the wireless terminal STA is denied.
5. A blockchain authentication system based on WIFI6, characterized by: The system includes a plurality of wireless access points AP and a plurality of wireless terminals STA; Wherein, the multiple wireless access points APs use blockchain to implement data interaction; The wireless access point AP and the wireless terminal STA use WIFI6 to implement data interaction; The system is also used to: The power Internet of Things service type transmitted on the wireless terminal STA is used as a reference for the resource allocation scheme of the wireless access point AP, so as to realize the resource allocation of the wireless access power AP and the data transmission of the wireless terminal STA based on WIFI6; and The resource allocation scheme of the wireless access point AP is: Among them, R1, R a to 1 to N respectively sta The wireless channel resources obtained by the wireless terminal STA accessing the WIFI6 network through the current wireless access point AP, N sta is the number of wireless channel resources of the wireless terminal STA; C1, C a to 1 to N respectively sta The power Internet of Things service type transmitted on the wireless terminal STA connected to the WIFI6 network through the current wireless access point AP; The wireless terminal STA is a power Internet of Things device, and each wireless terminal STA transmits a fixed power Internet of Things service type data; the wireless access point AP allocates the wireless channel resources to the wireless terminal STA based on the power Internet of Things service type of the wireless terminal STA; and, The types of power Internet of Things services are control services, burst services, large bandwidth services, and small particle collection services; Acquire QoS requirement characteristics of different power Internet of Things service types, determine the priority of the power Internet of Things service type based on the requirement characteristics, and allocate the wireless channel resources to the wireless terminal STA based on the priority order; The wireless channel resource R obtained by the a-th wireless terminal STA a The value of Where l is the transmission slot number under the current resource unit RU, and its value range is 1 to N t , N t is the number of transmission time slots under the current resource unit RU; R a,l is the wireless frequency bandwidth obtained by the ath wireless terminal STA in the lth transmission time slot corresponding to the current resource unit RU, and its value is R a,l ∈{26,52,106,242,484,996,1992}; The authentication log of the blockchain includes a current timestamp, authentication information corresponding to the current timestamp, and a resource allocation plan corresponding to the current timestamp.
6. A terminal, comprising a processor and a storage medium, characterized in that: The storage medium is used to store instructions; The processor is used to operate according to the instructions to perform the steps of the method according to any one of claims 1 to 4 as a wireless access point AP.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, it is used to implement the steps of the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Internet of Things authentication method based on super account book Fabric
CN110351263A
Quick access system and method in block chain wireless access network
CN113630846A
Authentication method and system of security terminal based on blockchain
CN113824570A
Multi-access edge computing service method and apparatus for mobile user equipment
CN112492541A
Method and device for accessing electric power Internet of Things terminal to network
CN112492591A
