CN112423302B - Wireless network access method, terminal and wireless access equipment - Google Patents
Wireless network access method, terminal and wireless access equipment Download PDFInfo
- Publication number
- CN112423302B CN112423302B CN202011399223.1A CN202011399223A CN112423302B CN 112423302 B CN112423302 B CN 112423302B CN 202011399223 A CN202011399223 A CN 202011399223A CN 112423302 B CN112423302 B CN 112423302B
- Authority
- CN
- China
- Prior art keywords
- access
- terminal
- information
- wireless
- permission
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 230000004044 response Effects 0.000 claims abstract description 41
- 238000012545 processing Methods 0.000 claims description 13
- 238000005516 engineering process Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000007726 management method Methods 0.000 description 4
- 238000004422 calculation algorithm Methods 0.000 description 3
- 208000033748 Device issues Diseases 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012552 review Methods 0.000 description 2
- 244000097202 Rathbunia alamosensis Species 0.000 description 1
- 235000009776 Rathbunia alamosensis Nutrition 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 239000008358 core component Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002427 irreversible effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000013515 script Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/08—Access security
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
- H04W48/10—Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域Technical field
本发明涉及无线网络技术领域,具体涉及一种无线网络接入方法、终端及无线接入设备。The present invention relates to the field of wireless network technology, and specifically relates to a wireless network access method, terminal and wireless access equipment.
背景技术Background technique
随着网络技术的发展,WiFi(Wireless Fidelity,无线网络)被曝光存在重大安全漏洞。该漏洞名为“KRACK”(Key ReinstallationAttack,密钥重安装攻击),涉及范围非常广,几乎影响全部计算机、手机和路由器等WiFi设备,利用该漏洞可以监听到通过接入WiFi网络设备进行的数据通信,从而可以窃取用户隐私以及可以将客户端设备劫持到钓鱼热点上实现流量劫持、篡改等。With the development of network technology, WiFi (Wireless Fidelity, wireless network) has been exposed to have major security vulnerabilities. The vulnerability is called "KRACK" (Key Reinstallation Attack) and covers a very wide range, affecting almost all computers, mobile phones, routers and other WiFi devices. This vulnerability can be used to monitor data transmitted through devices connected to the WiFi network. Communication, thereby stealing user privacy and hijacking client devices to phishing hotspots to achieve traffic hijacking, tampering, etc.
KRACK漏洞基于WPA2(Wi-Fi Protected Access 2,WiFi保护访问第二版)保密协议,攻击者会重复使用在客户端设备加入WiFi网络时提供的密钥,通过重复使用密钥来破解接入点与客户端设备之间交换的信息,这有可能导致用户隐私如信用卡密码、聊天记录等信息泄露。关键在于目前通过共享密钥接入网络特别是公共WiFi,从而导致无线窃听者能够对无线信号进行解密。The KRACK vulnerability is based on the WPA2 (Wi-Fi Protected Access 2, WiFi Protected Access Version 2) confidentiality agreement. The attacker will reuse the key provided when the client device joins the WiFi network and crack the access point by reusing the key. Information exchanged with client devices, which may lead to the leakage of user privacy such as credit card passwords, chat records and other information. The key is that access to networks, especially public WiFi, is currently via shared keys, allowing wireless eavesdroppers to decrypt wireless signals.
发明内容Contents of the invention
为此,本发明提供一种无线网络接入方法、终端及无线接入设备,以解决现有技术中由于通过共享密钥接入公共WiFi而导致的安全问题。To this end, the present invention provides a wireless network access method, terminal and wireless access equipment to solve the security problems caused by accessing public WiFi through shared keys in the prior art.
为了实现上述目的,本发明第一方面提供一种无线网络接入方法,所述方法包括:In order to achieve the above object, a first aspect of the present invention provides a wireless network access method, the method includes:
向无线接入设备发送查询请求;Send a query request to the wireless access device;
接收所述无线接入设备发送的接入信息,并确定接入许可状态;Receive access information sent by the wireless access device and determine the access permission status;
响应于所述接入许可状态为未许可,在区块链网络中广播接入请求消息和交易信息;In response to the access permission status being unlicensed, broadcast the access request message and transaction information in the blockchain network;
响应于接收到所述无线接入设备发送的接入许可信息,根据所述接入许可信息接入所述无线接入设备。In response to receiving the access permission information sent by the wireless access device, access the wireless access device according to the access permission information.
在一些实施例中,所述确定接入许可状态之后,所述方法还包括:In some embodiments, after determining the access permission status, the method further includes:
响应于所述接入许可状态为已许可,从区块链网络中获取接入许可信息;In response to the access permission status being permission, obtain the access permission information from the blockchain network;
根据所述接入许可信息接入所述无线接入设备。Access the wireless access device according to the access permission information.
在一些实施例中,所述确定接入许可状态,包括:In some embodiments, determining the access permission status includes:
在区块链网络中查询得到接入许可状态;或者,接收无线接入设备发送的接入许可状态。Query the access permission status in the blockchain network; or receive the access permission status sent by the wireless access device.
为了实现上述目的,本发明第二方面提供一种无线网络接入方法,所述方法包括:In order to achieve the above object, a second aspect of the present invention provides a wireless network access method, the method includes:
响应于接收到终端发送的查询请求,向所述终端发送接入信息;In response to receiving the query request sent by the terminal, sending access information to the terminal;
响应于接收到所述终端在区块链网络中广播的接入请求消息和交易信息,且确定出许可所述终端接入,根据所述交易信息向所述终端发送接入许可信息,以使所述终端根据所述接入许可信息接入本无线接入设备。In response to receiving the access request message and transaction information broadcast by the terminal in the blockchain network, and determining that the terminal is allowed to access, send access permission information to the terminal according to the transaction information, so that The terminal accesses the wireless access device according to the access permission information.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
响应于接收到所述终端在区块链网络中广播的接入请求消息和交易信息,且确定出许可所述终端接入,根据所述交易信息在区块链网络中广播接入许可信息。In response to receiving the access request message and transaction information broadcast by the terminal in the blockchain network, and determining that the terminal is allowed to access, broadcast access permission information in the blockchain network according to the transaction information.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
响应于接收到终端发送的查询请求,在区块链网络中查询得到接入许可状态,并将所述接入许可状态发送给所述终端。In response to receiving the query request sent by the terminal, query the access permission status in the blockchain network, and send the access permission status to the terminal.
为了实现上述目的,本发明第三方面提供一种终端,所述终端包括:In order to achieve the above object, a third aspect of the present invention provides a terminal, which includes:
发送模块,用于向无线接入设备发送查询请求;A sending module used to send query requests to wireless access devices;
接收模块,用于接收所述无线接入设备发送的接入信息;以及用于接收所述无线接入设备发送的接入许可信息;A receiving module, configured to receive access information sent by the wireless access device; and used to receive access permission information sent by the wireless access device;
处理模块,用于确定接入许可状态;A processing module used to determine the access permission status;
广播模块,用于响应于所述接入许可状态为未许可,在区块链网络中广播接入请求消息和交易信息;A broadcast module, configured to broadcast the access request message and transaction information in the blockchain network in response to the access permission status being unlicensed;
接入模块,用于响应于所述接收模块接收到所述无线接入设备发送的接入许可信息,根据所述接入许可信息接入所述无线接入设备。An access module, configured to respond to the receiving module receiving the access permission information sent by the wireless access device, and access the wireless access device according to the access permission information.
在一些实施例中,所述终端还包括获取模块,所述获取模块用于,响应于所述接入许可状态为已许可,从区块链网络中获取接入许可信息。In some embodiments, the terminal further includes an acquisition module configured to acquire access permission information from the blockchain network in response to the access permission status being permitted.
在一些实施例中,所述处理模块用于,在区块链网络中查询得到接入许可状态;或者,接收无线接入设备发送的接入许可状态。In some embodiments, the processing module is configured to query the blockchain network to obtain the access permission status; or to receive the access permission status sent by the wireless access device.
为了实现上述目的,本发明第四方面提供一种无线接入设备,所述无线接入设备包括:In order to achieve the above object, a fourth aspect of the present invention provides a wireless access device, the wireless access device includes:
接收模块,用于接收终端发送的查询请求;以及用于接收所述终端在区块链网络中广播的接入请求消息和交易信息;A receiving module, configured to receive query requests sent by the terminal; and to receive access request messages and transaction information broadcast by the terminal in the blockchain network;
处理模块,用于确定是否许可所述终端接入;A processing module, used to determine whether to allow access to the terminal;
发送模块,用于响应于所述接收模块接收到终端发送的查询请求,向所述终端发送接入信息;以及用于响应于所述接收模块接收到所述终端在区块链网络中广播的接入请求消息和交易信息,且所述处理模块确定出许可所述终端接入,根据所述交易信息向所述终端发送接入许可信息,以使所述终端根据所述接入许可信息接入本无线接入设备。A sending module, configured to send access information to the terminal in response to the receiving module receiving a query request sent by the terminal; and in response to the receiving module receiving a query broadcast by the terminal in the blockchain network. access request message and transaction information, and the processing module determines that the terminal is allowed to access, and sends access permission information to the terminal according to the transaction information, so that the terminal accesses the terminal according to the access permission information. Enter this wireless access device.
本发明实施例提供的无线网络接入方法,向无线接入设备发送查询请求,接收无线接入设备发送的接入信息,并确定接入许可状态,响应于接入许可状态为未许可,在区块链网络中广播接入请求消息和交易信息,响应于接收到无线接入设备发送的接入许可信息,根据接入许可信息接入无线接入设备。无线接入设备单独向终端发放接入许可信息,不同的终端可以具有不同的接入许可信息,各终端分别使用自己的接入许可信息而非使用共享密钥接入无线接入设备,该接入许可信息不易被攻击窃取,从而能够保证终端自动安全地接入无线接入设备,且提升用户体验。The wireless network access method provided by the embodiment of the present invention sends a query request to the wireless access device, receives the access information sent by the wireless access device, and determines the access permission status. In response to the access permission status being unlicensed, The access request message and transaction information are broadcast in the blockchain network, and in response to receiving the access permission information sent by the wireless access device, the wireless access device is accessed according to the access permission information. The wireless access device issues access permission information to terminals individually. Different terminals can have different access permission information. Each terminal uses its own access permission information instead of using a shared key to access the wireless access device. Access permission information is not easily stolen by attacks, thereby ensuring that terminals automatically and securely access wireless access devices and improving user experience.
附图说明Description of the drawings
附图是用来提供对本发明的进一步理解,并且构成说明书的一部分,与下面的具体实施方式一起用于解释本发明,但并不构成对本发明的限制。The drawings are used to provide a further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the following specific embodiments, but do not constitute a limitation of the present invention.
图1为本发明实施例1提供的无线网络接入方法应用于终端时的流程示意图一;Figure 1 is a schematic flow chart 1 when the wireless network access method provided by Embodiment 1 of the present invention is applied to a terminal;
图2为本发明实施例2提供的无线网络接入方法应用于终端时的流程示意图二;Figure 2 is a schematic flow chart 2 when the wireless network access method provided by Embodiment 2 of the present invention is applied to a terminal;
图3为本发明实施例3提供的无线网络接入方法应用于无线接入设备时的流程示意图;Figure 3 is a schematic flowchart when the wireless network access method provided by Embodiment 3 of the present invention is applied to wireless access equipment;
图4为本发明实施例4提供的终端的结构示意图;Figure 4 is a schematic structural diagram of a terminal provided in Embodiment 4 of the present invention;
图5为本发明实施例5提供的无线接入设备的结构示意图。Figure 5 is a schematic structural diagram of a wireless access device provided in Embodiment 5 of the present invention.
具体实施方式Detailed ways
为使本领域技术人员更好地理解本发明的技术方案,下面结合附图和具体实施方式对本发明作进一步详细描述。In order to enable those skilled in the art to better understand the technical solutions of the present invention, the present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.
可以理解的是,此处描述的具体实施例和附图仅仅用于解释本发明,而非对本发明的限定。It can be understood that the specific embodiments and drawings described here are only used to explain the present invention, but not to limit the present invention.
可以理解的是,在不冲突的情况下,本发明中的各实施例及实施例中的各特征可相互组合。It can be understood that, without conflict, the embodiments and features in the embodiments of the present invention can be combined with each other.
可以理解的是,为便于描述,本发明的附图中仅示出了与本发明相关的部分,而与本发明无关的部分未在附图中示出。It can be understood that, for convenience of description, only the parts related to the present invention are shown in the drawings of the present invention, and the parts irrelevant to the present invention are not shown in the drawings.
可以理解的是,本发明的实施例中所涉及的每个单元、模块可仅对应一个实体结构,也可由多个实体结构组成,或者,多个单元、模块也可集成为一个实体结构。It can be understood that each unit and module involved in the embodiments of the present invention may correspond to only one entity structure, or may be composed of multiple entity structures, or multiple units and modules may be integrated into one entity structure.
可以理解的是,在不冲突的情况下,本发明的流程图和框图中所标注的功能、步骤可按照不同于附图中所标注的顺序发生。It can be understood that, provided there is no conflict, the functions and steps marked in the flowcharts and block diagrams of the present invention may occur in a sequence different from that marked in the drawings.
可以理解的是,本发明的流程图和框图中,示出了按照本发明各实施例的系统、装置、设备、方法的可能实现的体系架构、功能和操作。其中,流程图或框图中的每个方框可代表一个单元、模块、程序段、代码,其包含用于实现规定的功能的可执行指令。而且,框图和流程图中的每个方框或方框的组合,可用实现规定的功能的基于硬件的系统实现,也可用硬件与计算机指令的组合来实现。It can be understood that the flowcharts and block diagrams of the present invention illustrate the architecture, functions, and operations of the systems, devices, equipment, and methods that may be implemented according to various embodiments of the present invention. Each box in the flow chart or block diagram may represent a unit, module, program segment, or code, which contains executable instructions for realizing the specified function. Furthermore, each block or combination of blocks in the block diagrams and flowchart illustrations may be implemented by a hardware-based system that performs the specified functions, or by a combination of hardware and computer instructions.
可以理解的是,本发明实施例中所涉及的单元、模块可通过软件的方式实现,也可通过硬件的方式来实现,例如单元、模块可位于处理器中。It can be understood that the units and modules involved in the embodiments of the present invention can be implemented in software or hardware. For example, the units and modules can be located in a processor.
区块链是一种去中心化的数据库,它包含一张被称为区块的列表,有着持续增长并且排列整齐的记录。每个区块都包含一个时间戳和一个与前一区块的链接:设计区块链使得数据不可篡改,一旦记录下来,在一个区块中的数据将不可逆。区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。所谓共识机制是区块链系统中实现不同节点之间建立信任、获取权益的数学算法。区块链(Blockchain)是比特币的一个重要概念,火币网联合清华大学五道口金融学院互联网金融实验室、新浪科技发布的《2014—2016全球比特币发展研究报告》提到区块链是比特币的底层技术和基础架构,本质上是一个去中心化的数据库,同时作为比特币的底层技术。区块链是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一次比特币网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。狭义来讲,区块链是一种按照时间顺序将数据区块以顺序相连的方式组合成的一种链式数据结构,并以密码学方式保证的不可篡改和不可伪造的分布式账本。广义来讲,区块链技术是利用块链式数据结构来验证与存储数据、利用分布式节点共识算法来生成和更新数据、利用密码学的方式保证数据传输和访问的安全、利用由自动化脚本代码组成的智能合约来编程和操作数据的一种全新的分布式基础架构与计算。区块链的设计是一种保护措施,比如(应用于)高容错的分布式计算系统。区块链使混合一致性成为可能,区块链适合记录事件、标题、医疗记录和其他需要收录数据的活动、身份识别管理,交易流程管理和出处证明管理。区块链对于金融脱媒有巨大的潜能,对于引领全球贸易有着巨大的影响。2008年由中本聪第一次提出了区块链的概念,在随后的几年中,比特币成为了电子货币的核心组成部分:作为所有交易的公共账簿,通过利用点对点网络和分布式时间戳服务器,区块链数据库能够进行自主管理,为比特币而发明的区块链使比特币成为第一个解决重复消费问题的数字货币,比特币的设计已经成为其他应用程序的灵感来源。Blockchain is a decentralized database that contains a continuously growing and neatly arranged list of records called blocks. Each block contains a timestamp and a link to the previous block: Blockchains are designed so that data cannot be tampered with, and once recorded, the data in a block is irreversible. Blockchain is a new application model of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. The so-called consensus mechanism is a mathematical algorithm that establishes trust and obtains rights and interests between different nodes in the blockchain system. Blockchain is an important concept of Bitcoin. The "2014-2016 Global Bitcoin Development Research Report" released by Huobi.com, Tsinghua University PBC School of Finance Internet Finance Laboratory and Sina Technology mentioned that blockchain is Bitcoin. The underlying technology and infrastructure of Bitcoin is essentially a decentralized database and serves as the underlying technology of Bitcoin. The blockchain is a series of data blocks generated using cryptographic methods. Each data block contains information about a Bitcoin network transaction and is used to verify the validity of the information (anti-counterfeiting) and generate the next block. In a narrow sense, blockchain is a chained data structure that combines data blocks in a sequential manner in chronological order, and is a cryptographically guaranteed distributed ledger that cannot be tampered with or forged. Broadly speaking, blockchain technology uses block chain data structures to verify and store data, uses distributed node consensus algorithms to generate and update data, uses cryptography to ensure the security of data transmission and access, and uses automated scripts to Code consists of smart contracts to program and manipulate data with a new distributed infrastructure and computing. The design of blockchain is a protection measure, such as (applied to) highly fault-tolerant distributed computing systems. Blockchain makes hybrid consistency possible. Blockchain is suitable for recording events, titles, medical records and other activities that need to include data, identity management, transaction process management and provenance management. Blockchain has huge potential for financial disintermediation and has a huge impact on leading global trade. The concept of blockchain was first proposed by Satoshi Nakamoto in 2008. In the following years, Bitcoin became the core component of electronic currency: as a public ledger of all transactions, through the use of peer-to-peer networks and distributed time Stamp servers, blockchain databases capable of autonomous management, and the blockchain invented for Bitcoin made Bitcoin the first digital currency to solve the problem of repeated consumption. Bitcoin's design has become a source of inspiration for other applications.
本发明实施例提供的无线网络接入方法可以应用于包括终端及无线接入设备的区块链网络。The wireless network access method provided by the embodiment of the present invention can be applied to a blockchain network including terminals and wireless access devices.
如图1所示,本发明实施例提供一种无线网络接入方法,当应用于终端时,该方法可以包括以下步骤:As shown in Figure 1, an embodiment of the present invention provides a wireless network access method. When applied to a terminal, the method may include the following steps:
步骤11,向无线接入设备发送查询请求。Step 11: Send a query request to the wireless access device.
在移动到无线接入设备(即WiFi接入点)覆盖的物理半径范围后,终端可以启动区块链客户端APP(Application,应用程序),执行本发明实施例提供的无线网络接入方法。具体的,终端可以搜索WiFi信号,从搜索得到的多个WiFi信号中选择一个WiFi信号,并向该WiFi信号归属的无线接入设备发送查询请求。After moving to the physical radius covered by the wireless access device (ie, WiFi access point), the terminal can start the blockchain client APP (Application, application program) to execute the wireless network access method provided by the embodiment of the present invention. Specifically, the terminal can search for WiFi signals, select one WiFi signal from the multiple WiFi signals obtained by searching, and send a query request to the wireless access device to which the WiFi signal belongs.
步骤12,接收无线接入设备发送的接入信息,并确定接入许可状态。Step 12: Receive the access information sent by the wireless access device and determine the access permission status.
其中,接入信息可以包括接入规则和资费标准。该接入信息为无线接入设备在接收到终端发送的查询请求后发送的。The access information may include access rules and tariff standards. The access information is sent by the wireless access device after receiving the query request sent by the terminal.
终端接收接入信息的同时,还可以确定接入许可状态,即该无线接入设备是否已经许可本终端接入。While receiving the access information, the terminal can also determine the access permission status, that is, whether the wireless access device has allowed the terminal to access.
步骤13,响应于接入许可状态为未许可,在区块链网络中广播接入请求消息和交易信息。Step 13: In response to the access permission status being unpermitted, broadcast the access request message and transaction information in the blockchain network.
在确定出无线接入设备未许可本终端接入时,可以说明此前无线接入设备未向本终端发放过接入许可信息,此时终端可以使用私钥签名的广播消息方式将接入请求消息和交易信息广播到区块链网络中。其中,交易信息为终端用户根据无线接入设备发送的资费标准确定的。When it is determined that the wireless access device does not allow the terminal to access, it can be explained that the wireless access device has not issued access permission information to the terminal before. At this time, the terminal can use the private key signed broadcast message to send the access request message. and transaction information is broadcast to the blockchain network. The transaction information is determined by the end user based on the tariff standard sent by the wireless access device.
需要说明的是,终端还需要通过非区块链网络的方式来实现与无线接入设备之间的具体费用支付。It should be noted that the terminal also needs to implement specific fee payment with the wireless access device through a non-blockchain network.
步骤14,响应于接收到无线接入设备发送的接入许可信息,根据接入许可信息接入无线接入设备。Step 14: In response to receiving the access permission information sent by the wireless access device, access the wireless access device according to the access permission information.
其中,接入许可信息可以包括许可时间段以及接入密钥。该接入许可信息为无线接入设备接收到终端广播的接入请求消息和交易信息后使用终端的公钥加密后发送的。The access permission information may include a permission time period and an access key. The access permission information is encrypted and sent by the wireless access device after receiving the access request message and transaction information broadcast by the terminal using the terminal's public key.
终端接收到无线接入设备发送的接入许可信息后,可以将接入许可信息解密从而获取许可时间段以及接入密钥,根据许可时间段使用接入密钥接入到无线接入设备。After receiving the access permission information sent by the wireless access device, the terminal can decrypt the access permission information to obtain the permission time period and access key, and use the access key to access the wireless access device according to the permission time period.
通过上述步骤11-14可以看出,本发明实施例提供的无线网络接入方法,向无线接入设备发送查询请求,接收无线接入设备发送的接入信息,并确定接入许可状态,响应于接入许可状态为未许可,在区块链网络中广播接入请求消息和交易信息,响应于接收到无线接入设备发送的接入许可信息,根据接入许可信息接入无线接入设备。无线接入设备单独向终端发放接入许可信息,不同的终端可以具有不同的接入许可信息,各终端分别使用自己的接入许可信息而非使用共享密钥接入无线接入设备,该接入许可信息不易被攻击窃取,从而能够保证终端自动安全地接入无线接入设备,且提升用户体验。It can be seen from the above steps 11-14 that the wireless network access method provided by the embodiment of the present invention sends a query request to the wireless access device, receives the access information sent by the wireless access device, determines the access permission status, and responds When the access permission status is unlicensed, the access request message and transaction information are broadcast in the blockchain network, and in response to receiving the access permission information sent by the wireless access device, access the wireless access device according to the access permission information. . The wireless access device issues access permission information to terminals individually. Different terminals can have different access permission information. Each terminal uses its own access permission information instead of using a shared key to access the wireless access device. Access permission information is not easily stolen by attacks, thereby ensuring that terminals automatically and securely access wireless access devices and improving user experience.
如图2所示,在一些实施例中,在确定接入许可状态(即步骤12)之后,该方法还可以包括以下步骤:As shown in Figure 2, in some embodiments, after determining the access permission status (ie step 12), the method may further include the following steps:
步骤15,响应于接入许可状态为已许可,从区块链网络中获取接入许可信息。Step 15: In response to the access permission status being permission, obtain the access permission information from the blockchain network.
向终端发送接入许可信息的同时,无线接入设备还可以使用终端的公钥对接入许可信息加密再使用私钥签名的广播消息方式将加密后的接入许可信息广播到区块链网络中。因此在确定出无线接入设备已许可本终端接入时,可以说明此前无线接入设备已经向本终端发放过接入许可信息,此时终端可以直接从区块链网络中获取接入许可信息。While sending access permission information to the terminal, the wireless access device can also use the terminal's public key to encrypt the access permission information and then broadcast the encrypted access permission information to the blockchain network using a broadcast message signed by the private key. middle. Therefore, when it is determined that the wireless access device has permitted the terminal to access, it can be explained that the wireless access device has previously issued access permission information to the terminal. At this time, the terminal can directly obtain the access permission information from the blockchain network. .
步骤16,根据接入许可信息接入无线接入设备。Step 16: Access the wireless access device according to the access permission information.
终端从区块链网络中获取接入许可信息后,可以使用无线接入设备的公钥验证接入许可信息的签名,验证成功后使用本终端的私钥对接入许可信息进行解密,以获得许可时间段以及接入密钥,根据许可时间段使用接入密钥接入到无线接入设备。After the terminal obtains the access permission information from the blockchain network, it can use the public key of the wireless access device to verify the signature of the access permission information. After successful verification, it can use the private key of the terminal to decrypt the access permission information to obtain License time period and access key, use the access key to access the wireless access device according to the license time period.
在一些实施例中,确定接入许可状态(即步骤12),可以包括:在区块链网络中查询得到接入许可状态;或者,接收无线接入设备发送的接入许可状态。In some embodiments, determining the access permission status (ie step 12) may include: querying the blockchain network to obtain the access permission status; or receiving the access permission status sent by the wireless access device.
终端接收接入信息的同时,还可以从区块链网络中查询无线接入设备是否许可本终端接入。或者,在向终端发送接入信息的同时,无线接入设备还可以在区块链网络中查询是否许可终端接入,并将查询得到的接入许可状态发送给终端。While receiving the access information, the terminal can also query the blockchain network whether the wireless access device allows the terminal to access. Alternatively, while sending access information to the terminal, the wireless access device can also query in the blockchain network whether the terminal is allowed to access, and send the access permission status obtained by the query to the terminal.
如图3所示,本发明实施例提供一种无线网络接入方法,当应用于无线接入设备时,该方法可以包括以下步骤:As shown in Figure 3, an embodiment of the present invention provides a wireless network access method. When applied to a wireless access device, the method may include the following steps:
步骤21,响应于接收到终端发送的查询请求,向终端发送接入信息。Step 21: In response to receiving the query request sent by the terminal, send access information to the terminal.
其中,接入信息可以包括接入规则和资费标准。The access information may include access rules and tariff standards.
步骤22,响应于接收到终端在区块链网络中广播的接入请求消息和交易信息,且确定出许可终端接入,根据交易信息向终端发送接入许可信息,以使终端根据接入许可信息接入无线接入设备。Step 22: In response to receiving the access request message and transaction information broadcast by the terminal in the blockchain network, and determining that the terminal is allowed to access, send access permission information to the terminal according to the transaction information, so that the terminal can access the terminal according to the access permission. Information access wireless access equipment.
无线接入设备接收到终端广播的接入请求消息后,可以审核是否许可该终端接入,确定出许可终端接入后,可以向终端发放接入许可信息。具体的,无线接入设备可以根据终端广播的交易信息确定许可时间段,并生成随机的接入密钥,将包括许可时间段和接入密钥的接入许可信息使用终端的公钥加密后发送给终端。After receiving the access request message broadcast by the terminal, the wireless access device can review whether the terminal is allowed to access. After determining that the terminal is allowed to access, the wireless access device can issue access permission information to the terminal. Specifically, the wireless access device can determine the permission time period based on the transaction information broadcast by the terminal, generate a random access key, and encrypt the access permission information including the permission time period and access key using the terminal's public key. sent to the terminal.
通过上述步骤21-22可以看出,本发明实施例提供的无线网络接入方法,响应于接收到终端发送的查询请求,向终端发送接入信息,响应于接收到终端在区块链网络中广播的接入请求消息和交易信息,且确定出许可终端接入,根据交易信息向终端发送接入许可信息,以使终端根据接入许可信息接入无线接入设备,无线接入设备单独向终端发放接入许可信息,不同的终端可以具有不同的接入许可信息,各终端分别使用自己的接入许可信息而非使用共享密钥接入无线接入设备,该接入许可信息不易被攻击窃取,从而能够保证终端自动安全地接入无线接入设备,且提升用户体验。It can be seen from the above steps 21-22 that the wireless network access method provided by the embodiment of the present invention sends access information to the terminal in response to receiving a query request sent by the terminal, and responds to receiving that the terminal is in the blockchain network. Broadcast access request message and transaction information, and determine the permitted terminal access, and send access permission information to the terminal according to the transaction information, so that the terminal accesses the wireless access device according to the access permission information, and the wireless access device separately The terminal issues access permission information. Different terminals can have different access permission information. Each terminal uses its own access permission information instead of using a shared key to access the wireless access device. This access permission information is not easily attacked. stealing, thereby ensuring that terminals automatically and securely access wireless access devices and improving user experience.
在一些实施例中,该方法还可以包括:响应于接收到终端在区块链网络中广播的接入请求消息和交易信息,且确定出许可终端接入,根据交易信息在区块链网络中广播接入许可信息。In some embodiments, the method may further include: in response to receiving the access request message and transaction information broadcast by the terminal in the blockchain network, and determining that the terminal is allowed to access, in the blockchain network according to the transaction information. Broadcast access permission information.
无线接入设备接收到终端广播的接入请求消息后,可以审核是否许可该终端接入,确定出许可终端接入后,还可以使用私钥签名的广播消息方式将使用终端公钥加密后的接入许可信息广播到区块链网络中。After receiving the access request message broadcast by the terminal, the wireless access device can review whether the terminal is allowed to access. After determining that the terminal is allowed to access, it can also use a private key signed broadcast message to encrypt the terminal's public key. Access permission information is broadcast to the blockchain network.
在一些实施例中,该方法还可以包括:响应于接收到终端发送的查询请求,在区块链网络中查询得到接入许可状态,并将接入许可状态发送给终端。In some embodiments, the method may further include: in response to receiving a query request sent by the terminal, querying the blockchain network to obtain the access permission status, and sending the access permission status to the terminal.
接收到终端发送的查询请求后,无线接入设备还可以在区块链网络中查询是否已经许可终端接入,并将查询得到的接入许可状态发送给终端。After receiving the query request sent by the terminal, the wireless access device can also query in the blockchain network whether the terminal has been permitted to access, and send the access permission status obtained by the query to the terminal.
基于相同的技术构思,如图4所示,本发明实施例还提供一种终端,该终端可以包括:Based on the same technical concept, as shown in Figure 4, an embodiment of the present invention also provides a terminal, which may include:
发送模块101,用于向无线接入设备发送查询请求。The sending module 101 is used to send a query request to the wireless access device.
接收模块102,用于接收无线接入设备发送的接入信息;以及用于接收无线接入设备发送的接入许可信息。The receiving module 102 is configured to receive access information sent by the wireless access device; and used to receive access permission information sent by the wireless access device.
处理模块103,用于确定接入许可状态。The processing module 103 is used to determine the access permission status.
广播模块104,用于响应于接入许可状态为未许可,在区块链网络中广播接入请求消息和交易信息。The broadcast module 104 is configured to broadcast the access request message and transaction information in the blockchain network in response to the access permission status being unpermitted.
接入模块105,用于响应于接收模块接收到无线接入设备发送的接入许可信息,根据接入许可信息接入无线接入设备。The access module 105 is configured to respond to the receiving module receiving the access permission information sent by the wireless access device, and access the wireless access device according to the access permission information.
在一些实施例中,该终端还可以包括获取模块,获取模块用于,响应于接入许可状态为已许可,从区块链网络中获取接入许可信息。In some embodiments, the terminal may further include an acquisition module, and the acquisition module is configured to acquire access permission information from the blockchain network in response to the access permission status being permitted.
在一些实施例中,处理模块103用于,在区块链网络中查询得到接入许可状态;或者,接收无线接入设备发送的接入许可状态。In some embodiments, the processing module 103 is configured to query the blockchain network to obtain the access permission status; or, receive the access permission status sent by the wireless access device.
基于相同的技术构思,如图5所示,本发明实施例还提供一种无线接入设备,该无线接入设备可以包括:Based on the same technical concept, as shown in Figure 5, an embodiment of the present invention also provides a wireless access device. The wireless access device may include:
接收模块201,用于接收终端发送的查询请求;以及用于接收终端在区块链网络中广播的接入请求消息和交易信息。The receiving module 201 is used to receive the query request sent by the terminal; and to receive the access request message and transaction information broadcast by the terminal in the blockchain network.
处理模块202,用于确定是否许可终端接入。The processing module 202 is used to determine whether to allow terminal access.
发送模块203,用于响应于接收模块接收到终端发送的查询请求,向终端发送接入信息;以及用于响应于接收模块接收到终端在区块链网络中广播的接入请求消息和交易信息,且处理模块确定出许可终端接入,根据交易信息向终端发送接入许可信息,以使终端根据接入许可信息接入本无线接入设备。The sending module 203 is configured to send access information to the terminal in response to the receiving module receiving the query request sent by the terminal; and to respond to the receiving module receiving the access request message and transaction information broadcast by the terminal in the blockchain network. , and the processing module determines that the terminal is allowed to access, and sends the access permission information to the terminal according to the transaction information, so that the terminal accesses the wireless access device according to the access permission information.
在一些实施例中,该无线接入设备还可以包括广播模块,广播模块用于,响应于接收模块接收到终端在区块链网络中广播的接入请求消息和交易信息,且处理模块确定出许可终端接入,根据交易信息在区块链网络中广播接入许可信息。In some embodiments, the wireless access device may further include a broadcast module. The broadcast module is configured to respond to the receiving module receiving the access request message and transaction information broadcast by the terminal in the blockchain network, and the processing module determines Permit terminal access and broadcast access permission information in the blockchain network based on transaction information.
在一些实施例中,该无线接入设备还可以包括查询模块,查询模块用于,响应于接收模块接收到终端发送的查询请求,在区块链网络中查询得到接入许可状态;In some embodiments, the wireless access device may also include a query module. The query module is configured to query the blockchain network to obtain the access permission status in response to the receiving module receiving the query request sent by the terminal;
发送模块203还用于,将接入许可状态发送给终端。The sending module 203 is also used to send the access permission status to the terminal.
可以理解的是,以上实施方式仅仅是为了说明本发明的原理而采用的示例性实施方式,然而本发明并不局限于此。对于本领域内的普通技术人员而言,在不脱离本发明的精神和实质的情况下,可以做出各种变型和改进,这些变型和改进也视为本发明的保护范围。It can be understood that the above embodiments are only exemplary embodiments adopted to illustrate the principles of the present invention, but the present invention is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also regarded as the protection scope of the present invention.
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011399223.1A CN112423302B (en) | 2020-12-02 | 2020-12-02 | Wireless network access method, terminal and wireless access equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011399223.1A CN112423302B (en) | 2020-12-02 | 2020-12-02 | Wireless network access method, terminal and wireless access equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN112423302A CN112423302A (en) | 2021-02-26 |
| CN112423302B true CN112423302B (en) | 2024-01-09 |
Family
ID=74829898
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202011399223.1A Active CN112423302B (en) | 2020-12-02 | 2020-12-02 | Wireless network access method, terminal and wireless access equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN112423302B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113316150A (en) * | 2021-05-21 | 2021-08-27 | 中国联合网络通信集团有限公司 | Wireless network access method, terminal and wireless access equipment |
| CN113316144B (en) * | 2021-05-21 | 2023-01-31 | 中国联合网络通信集团有限公司 | Wireless network access method, wireless access equipment and terminal equipment |
| CN115734224A (en) * | 2021-08-27 | 2023-03-03 | 武汉圆博科技有限公司 | A communication control method, access equipment and user equipment |
Citations (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105554755A (en) * | 2015-12-30 | 2016-05-04 | 小米科技有限责任公司 | Wireless network access method and device |
| CN106131830A (en) * | 2016-08-30 | 2016-11-16 | 林昌盛威(北京)科技有限公司 | A kind of data processing method, Apparatus and system |
| CN108174381A (en) * | 2018-04-17 | 2018-06-15 | 上海连尚网络科技有限公司 | For connecting the method and apparatus of wireless access point |
| CN108668277A (en) * | 2018-04-17 | 2018-10-16 | 上海连尚网络科技有限公司 | For sharing information, the method and apparatus for obtaining information |
| CN108901020A (en) * | 2018-05-29 | 2018-11-27 | 维沃移动通信有限公司 | Method, mobile terminal and the server of network insertion |
| CN109308612A (en) * | 2018-09-29 | 2019-02-05 | 西安蜂语信息科技有限公司 | Router charging method and device |
| CN109982435A (en) * | 2019-03-15 | 2019-07-05 | 北京交通大学 | Frequency spectrum access and management method based on block chain |
| CN110166411A (en) * | 2018-02-13 | 2019-08-23 | 华为技术有限公司 | A kind of data transmission method, device and network node |
| CN110417909A (en) * | 2019-08-07 | 2019-11-05 | 中国联合网络通信集团有限公司 | Wireless network remote login method and system |
| CN111344727A (en) * | 2017-12-12 | 2020-06-26 | 联想(新加坡)私人有限公司 | Providing network access using blockchain payments |
| CN111601312A (en) * | 2020-05-14 | 2020-08-28 | 中国联合网络通信集团有限公司 | Blockchain access authentication method, connected car terminal, operator system |
| CN111866993A (en) * | 2020-07-13 | 2020-10-30 | 腾讯科技(深圳)有限公司 | Wireless local area network connection management method, device, software program and storage medium |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10257206B2 (en) * | 2016-12-21 | 2019-04-09 | International Business Machines Corporation | Monitoring actions performed by a network of peer devices using a blockchain |
| US11082850B2 (en) * | 2018-06-26 | 2021-08-03 | At&T Intellectual Property I, L.P. | Blockchain based wireless access point password management |
-
2020
- 2020-12-02 CN CN202011399223.1A patent/CN112423302B/en active Active
Patent Citations (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105554755A (en) * | 2015-12-30 | 2016-05-04 | 小米科技有限责任公司 | Wireless network access method and device |
| CN106131830A (en) * | 2016-08-30 | 2016-11-16 | 林昌盛威(北京)科技有限公司 | A kind of data processing method, Apparatus and system |
| CN111344727A (en) * | 2017-12-12 | 2020-06-26 | 联想(新加坡)私人有限公司 | Providing network access using blockchain payments |
| CN110166411A (en) * | 2018-02-13 | 2019-08-23 | 华为技术有限公司 | A kind of data transmission method, device and network node |
| CN108174381A (en) * | 2018-04-17 | 2018-06-15 | 上海连尚网络科技有限公司 | For connecting the method and apparatus of wireless access point |
| CN108668277A (en) * | 2018-04-17 | 2018-10-16 | 上海连尚网络科技有限公司 | For sharing information, the method and apparatus for obtaining information |
| CN108901020A (en) * | 2018-05-29 | 2018-11-27 | 维沃移动通信有限公司 | Method, mobile terminal and the server of network insertion |
| CN109308612A (en) * | 2018-09-29 | 2019-02-05 | 西安蜂语信息科技有限公司 | Router charging method and device |
| CN109982435A (en) * | 2019-03-15 | 2019-07-05 | 北京交通大学 | Frequency spectrum access and management method based on block chain |
| CN110417909A (en) * | 2019-08-07 | 2019-11-05 | 中国联合网络通信集团有限公司 | Wireless network remote login method and system |
| CN111601312A (en) * | 2020-05-14 | 2020-08-28 | 中国联合网络通信集团有限公司 | Blockchain access authentication method, connected car terminal, operator system |
| CN111866993A (en) * | 2020-07-13 | 2020-10-30 | 腾讯科技(深圳)有限公司 | Wireless local area network connection management method, device, software program and storage medium |
Non-Patent Citations (1)
| Title |
|---|
| 区块链研究综述;曹傧;林亮;李云;刘永相;熊炜;高峰;;重庆邮电大学学报(自然科学版)(01);全文 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112423302A (en) | 2021-02-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111429254B (en) | Business data processing method and device and readable storage medium | |
| US12088568B2 (en) | Systems and methods for secure key service | |
| US10671733B2 (en) | Policy enforcement via peer devices using a blockchain | |
| EP4120114A1 (en) | Data processing method and apparatus, smart device and storage medium | |
| WO2021179743A1 (en) | Method and apparatus for querying account privacy information in blockchain | |
| CN111797415A (en) | Block chain based data sharing method, electronic device and storage medium | |
| TW202029044A (en) | Block chain transaction generation method and device | |
| US20140122873A1 (en) | Cryptographic enforcement based on mutual attestation for cloud services | |
| KR20190075771A (en) | Authentication System Using Block Chain Through Distributed Storage after Separating Personal Information | |
| Xu et al. | An efficient blockchain‐based privacy‐preserving scheme with attribute and homomorphic encryption | |
| CN112423302B (en) | Wireless network access method, terminal and wireless access equipment | |
| US20180218364A1 (en) | Managing distributed content using layered permissions | |
| US12407513B2 (en) | Sharing and requesting private data using cryptography | |
| US20240143730A1 (en) | Multi-factor authentication using blockchain | |
| CN117097526A (en) | Block chain-based data security sharing method and device | |
| CN117640098A (en) | A data transmission method, secure transmission system and electronic equipment | |
| WO2017008640A1 (en) | Method for issuing access token and related device | |
| KR101120059B1 (en) | Billing verifying apparatus, billing apparatus and method for cloud computing environment | |
| CN118153075B (en) | Data storage encryption method, device and electronic equipment | |
| CN112560077B (en) | Access control method, equipment and system | |
| Tharani et al. | A blockchain-based database management system | |
| CN114117471B (en) | Confidential data management methods, electronic devices, storage media and software products | |
| US20250286729A1 (en) | Data processing method and apparatus based on trusted execution environment, device, and medium | |
| CN113316150A (en) | Wireless network access method, terminal and wireless access equipment | |
| CN114866409B (en) | Password acceleration method and device based on password acceleration hardware |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |