CN110460994B - A WiFi Security Encryption System - Google Patents

A WiFi Security Encryption System Download PDF

Info

Publication number
CN110460994B
CN110460994B CN201910762376.9A CN201910762376A CN110460994B CN 110460994 B CN110460994 B CN 110460994B CN 201910762376 A CN201910762376 A CN 201910762376A CN 110460994 B CN110460994 B CN 110460994B
Authority
CN
China
Prior art keywords
password
module
input
formula
user
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.)
Expired - Fee Related
Application number
CN201910762376.9A
Other languages
Chinese (zh)
Other versions
CN110460994A (en
Inventor
张芬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shangluo University
Original Assignee
Shangluo University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shangluo University filed Critical Shangluo University
Priority to CN201910762376.9A priority Critical patent/CN110460994B/en
Publication of CN110460994A publication Critical patent/CN110460994A/en
Application granted granted Critical
Publication of CN110460994B publication Critical patent/CN110460994B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Alarm Systems (AREA)

Abstract

本发明公开一种WiFi安全加密系统,用于解决现有的WiFi采用数字字母和符号加密导致容易破解、WiFi安全性较低以及路由器在不能自动识别有无人使用导致路由器一直工作造成资源浪费的问题;包括用户终端和路由器终端,所述用户终端包括密码输入模块、密码转换模块和公式输入模块;所述密码输入模块用于用户输入密码信息,所述密码输入模块和公式输入模块将用户输入的密码信息和密码转换公式发送至密码转换模块;本发明通过用户输入的密码转换公式转换成密码图形通过发送密码图形对路由器终端进行密码认证,避免现有的WiFi采用字母数字和符号组成,导致容易被破解的问题。

Figure 201910762376

The invention discloses a WiFi security encryption system, which is used to solve the problems that the existing WiFi uses digital letters and symbols to be encrypted, which leads to easy cracking, low WiFi security, and the router cannot automatically identify whether it is used or not, which leads to the waste of resources caused by the router working all the time. The problem; including a user terminal and a router terminal, the user terminal includes a password input module, a password conversion module and a formula input module; the password input module is used for the user to input password information, and the password input module and the formula input module input the user The password information and the password conversion formula are sent to the password conversion module; the present invention converts the password conversion formula input by the user into a password graphic and performs password authentication on the router terminal by sending the password graphic, avoiding the existing WiFi using alphanumerics and symbols. easily cracked problem.

Figure 201910762376

Description

一种WiFi安全加密系统A WiFi Security Encryption System

技术领域technical field

本发明涉及WiFi安全加密领域,尤其涉及一种WiFi安全加密系统。The invention relates to the field of WiFi security encryption, in particular to a WiFi security encryption system.

背景技术Background technique

Wi-Fi是一种允许电子设备连接到一个无线局域网的技术,通常使用2.4G UHF或5G SHF ISM射频频段。连接到无线局域网通常是有密码保护的;但也可是开放的,这样就允许任何在WLAN范围内的设备可以连接上。Wi-Fi是一个无线网络通信技术的品牌,由Wi-Fi联盟所持有。目的是改善基于IEEE 802.11标准的无线网路产品之间的互通性。Wi-Fi is a technology that allows electronic devices to connect to a wireless local area network, usually using the 2.4G UHF or 5G SHF ISM radio frequency band. Connecting to a WLAN is usually password-protected; but it can also be open, allowing any device within range of the WLAN to connect. Wi-Fi is a brand of wireless network communication technology held by the Wi-Fi Alliance. The purpose is to improve the interoperability between wireless network products based on the IEEE 802.11 standard.

现有的WiFi采用数字字母和符号加密导致容易破解、WiFi安全性较低;同时路由器在不能自动识别有无人使用导致路由器一直工作造成资源浪费。Existing WiFi is encrypted with numbers, letters and symbols, which leads to easy cracking and low WiFi security; at the same time, the router cannot automatically identify whether or not it is in use, which leads to the waste of resources when the router keeps working.

发明内容SUMMARY OF THE INVENTION

本发明的目的在于提供一种WiFi安全加密系统;用于解决现有的WiFi采用数字字母和符号加密导致容易破解、WiFi安全性较低以及路由器在不能自动识别有无人使用导致路由器一直工作造成资源浪费的问题。The purpose of the present invention is to provide a WiFi security encryption system; it is used to solve the problem that the existing WiFi adopts digital letters and symbols encryption, which is easy to crack, the WiFi security is low, and the router cannot automatically identify whether it is used or not, which causes the router to work all the time. The problem of wasting resources.

本发明的目的可以通过以下技术方案实现:一种WiFi安全加密系统,包括用户终端和路由器终端,所述用户终端包括密码输入模块、密码转换模块和公式输入模块;所述密码输入模块用于用户输入密码信息,密码信息包括字母、符号和数字以及对应的虚拟数字;所述公式输入模块用于用户输入密码转换公式;所述密码输入模块和公式输入模块将用户输入的密码信息和密码转换公式发送至密码转换模块;The purpose of the present invention can be achieved through the following technical solutions: a WiFi security encryption system, including a user terminal and a router terminal, the user terminal includes a password input module, a password conversion module and a formula input module; the password input module is used for the user Input password information, the password information includes letters, symbols, numbers and corresponding virtual numbers; the formula input module is used for the user to input the password conversion formula; the password input module and the formula input module convert the password information and the password conversion formula entered by the user Send to the password conversion module;

所述密码转换模块接收密码输入模块和公式输入模块发送的密码信息和密码转换公式并进行密码转换,具体密码转换步骤为:The password conversion module receives the password information and the password conversion formula sent by the password input module and the formula input module and performs the password conversion, and the specific password conversion steps are:

步骤一:设定密码信息包括字母、符号和数字记为Mi,i=1、……、n;设定对应的虚拟数字记为GMi;Mi与GMi一一对应;Step 1: set the password information to include letters, symbols and numbers and denote Mi, i=1,  , n; set the corresponding virtual numbers to denote G Mi ; Mi and G Mi are in one-to-one correspondence;

步骤二:设定用户输入的密码记为ZM,ZM={Mi,……,Mi};将用户输入的密码Mi转换成对应的虚拟密码XM,XM={GMi,……,GMi};Step 2: Set the password entered by the user as ZM, ZM={Mi,...,Mi}; convert the password Mi entered by the user into the corresponding virtual password XM, XM={G Mi ,...,G Mi } ;

步骤三:将虚拟密码XM添加干扰因子K得到虚拟干扰密码WM,K的取值为任意正整数;WM={WMi,……,WMi};WMi=GMi+K;Step 3: Add the interference factor K to the virtual password XM to obtain the virtual interference password WM, and the value of K is any positive integer; WM={W Mi ,...,W Mi }; W Mi =G Mi +K;

步骤四:将虚拟干扰密码WM通过密码转换公式转换为弧形线段;密码转换公式为WMi=LMi*u1+rMi*u2;LMi为弧长,rMi为半径;u1和u2为预设比例系数固定值;通过密码转换公式将WMi转换成弧形线段HMi;弧形线段HMi的弧长为LMi;半径为rMiStep 4: Convert the virtual interference password WM into an arc-shaped line segment through the password conversion formula; the password conversion formula is W Mi =L Mi *u1+r Mi *u2; L Mi is the arc length, r Mi is the radius; u1 and u2 are Preset fixed value of proportional coefficient; convert W Mi into arc segment H Mi by password conversion formula; arc length of arc segment H Mi is L Mi ; radius is r Mi ;

步骤五:将弧形线段HMi依照密码输入顺序依次连接,形成密码图形TM;密码转换模块将得到的密码图形TM以及用户终端的IP地址发送至认证模块;Step 5: connect the arc line segments H Mi in sequence according to the password input sequence to form a password figure TM; the password conversion module sends the obtained password figure TM and the IP address of the user terminal to the authentication module;

所述路由器终端包括认证模块、无线网络发射模块、存储模块、网络接口模块、数据采集模块、数据分析模块和无线控制模块;所述认证模块用于对接收的密码图形TM以及用户终端的IP地址进行认证,具体认证过程如下:The router terminal includes an authentication module, a wireless network transmission module, a storage module, a network interface module, a data acquisition module, a data analysis module and a wireless control module; the authentication module is used for the received password graphic TM and the IP address of the user terminal. For certification, the specific certification process is as follows:

a:将接收到的密码图形TM进行识别,利用密码转换公式得到对应的虚拟干扰密码WM;对虚拟干扰密码WM添加修正因子B,得到虚拟修正密码YM,YM={WMi+B,……,WMi+B};a: Identify the received password pattern TM, and use the password conversion formula to obtain the corresponding virtual interference password WM; add a correction factor B to the virtual interference password WM to obtain a virtual corrected password YM, YM={W Mi +B,  … , W Mi + B };

b:再利用密码转换公式转换成二次弧形线段H2Mi;将二次弧形线段依照密码输入顺序依次连接,形成二次密码图形DM;b: then use the password conversion formula to convert into a secondary arc line segment H2 Mi ; connect the secondary arc line segments in turn according to the password input sequence to form a secondary password figure DM;

c:将二次密码图形DM与存储模块内部存储的预设对比密码图形进行对比;当二次密码图形DM与预设对比密码图形完全重合,则密码正确,认证成功,否,密码错误,认证失败;c: Compare the secondary password graphic DM with the preset comparison password graphic stored in the storage module; when the secondary password graphic DM and the preset comparison password graphic are completely overlapped, the password is correct and the authentication is successful; otherwise, the password is incorrect and the authentication is successful. fail;

d:当密码正确,认证模块控制网络接口模块与无线网络发射模块接通;d: When the password is correct, the authentication module controls the network interface module to connect with the wireless network transmission module;

所述无线网络发射模块用于发送无线网络以及通过无线网络信号与用户终端信息连接;所述网络接口模块用于通过光钎连接互联网。The wireless network transmitting module is used for sending wireless network and connecting with user terminal information through wireless network signal; the network interface module is used for connecting to the Internet through optical fiber.

所述数据采集模块用于采集网络接口模块的网络传输速率以及对应的时间;数据采集模块将采集的用户终端的IP地址以及网络传输速率发送至数据分析模块;所述数据分析模块用于分析路由器终端的使用时间,具体步骤为:The data collection module is used to collect the network transmission rate and the corresponding time of the network interface module; the data collection module sends the collected IP address and network transmission rate of the user terminal to the data analysis module; the data analysis module is used to analyze the router The usage time of the terminal, the specific steps are as follows:

步骤一:设定网络传输速率记为Hj,j=1、……、n;对应的时刻记为THj;Step 1: Set the network transmission rate as Hj, j=1, ..., n; the corresponding moment is denoted as T H j;

步骤二:当Hj小于设定网速阈值,则该应的时刻THj为起始时刻,并开始计时;当Hn大于设定阈值,停止计时,则该应的时刻THn为停止时刻,统计THj与THn的时长KT;当时长KT大于设定阈值,则将该时间段[THj,THn]标记为空闲时间段;Step 2: When Hj is less than the set network speed threshold, the corresponding time T Hj is the starting time, and starts timing; when Hn is greater than the set threshold, and the timing is stopped, then the corresponding time T Hn is the stopping time, Count the duration KT of T Hj and T Hn ; when the duration KT is greater than the set threshold, mark the time period [T Hj , T Hn ] as an idle time period;

步骤三:统计空闲时间段在工作日的出现的天数;并对天数进行统计;设定出现一天的次数记为P1,连续出现两天的次数记为P2,设定连续出现j天的次数记为Pj;设定一天对应的空闲系数记为c1,两天对应的空闲系数记为c2,连续出现j天的空闲系数记为cj;且c1<c2<……cj;j=1、……、n;Step 3: Count the number of days that the idle time period occurs on working days; and count the number of days; set the number of occurrences of one day as P1, the number of consecutive occurrences of two days as P2, and set the number of consecutive occurrences of j days to record is Pj; set the idle factor corresponding to one day as c1, the idle factor corresponding to two days as c2, and the idle factor of j consecutive days as cj; and c1<c2<...cj; j=1,... , n;

步骤四:利用公式

Figure BDA0002170762980000041
获取得到空闲关闭值C;当空闲关闭值C大于设定阈值,则生成关闭指令以及对应的空闲时间段并发送至无线控制模块;Step 4: Use the formula
Figure BDA0002170762980000041
Obtaining the idle closing value C; when the idle closing value C is greater than the set threshold, a closing instruction and a corresponding idle time period are generated and sent to the wireless control module;

所述无线控制模块用于控制无线网络发射模块的开启或关闭;当无线控制模块接收到关闭指令以及对应的空闲时间段,则无线控制模块控制无线网络发射模块在时刻THj关闭;控制无线网络发射模块在时刻THn开启。The wireless control module is used to control the opening or closing of the wireless network transmission module; when the wireless control module receives the shutdown command and the corresponding idle time period, the wireless control module controls the wireless network transmission module to turn off at time T H j; controls the wireless The network transmission module is turned on at time THn .

本发明的有益效果:Beneficial effects of the present invention:

(1)本发明通过将用户的输入的密码转换转换成虚拟密码,并将虚拟密码添加干扰因子得到虚拟干扰密码,然后通过用户输入的密码转换公式转换成密码图形通过发送密码图形对路由器终端进行密码认证,避免现有的WiFi采用字母数字和符号组成,导致容易被破解的问题;(1) the present invention converts the password of the user's input into a virtual password, and the virtual password is added with an interference factor to obtain a virtual interference password, and then the password conversion formula input by the user is converted into a password figure by sending the password figure to the router terminal. Password authentication, to avoid the problem that the existing WiFi is composed of alphanumerics and symbols, which can easily be cracked;

(2)本发明路由器终端通过对密码图形识别,然后利用密码转换公式得到对应的虚拟干扰密码,对虚拟干扰密码添加修正因子得到虚拟修正密码;再利用密码转换公式转换成二次弧形线段;将二次弧形线段依照密码输入顺序依次连接,形成二次密码图形;将二次密码图形与存储模块内部存储的预设对比密码图形进行对比;提高了路由器的安全加密认证,保障WiFi的安全加密;(2) the router terminal of the present invention obtains the corresponding virtual interference password by recognizing the password figure, then utilizes the password conversion formula to obtain the corresponding virtual interference password, and adds a correction factor to the virtual interference password to obtain the virtual correction password; then utilize the password conversion formula to convert into a secondary arc line segment; The secondary arc line segments are connected in sequence according to the password input sequence to form a secondary password graphic; the secondary password graphic is compared with the preset comparison password graphic stored in the storage module; the security encryption authentication of the router is improved, and the security of WiFi is guaranteed encryption;

(3)本发明数据分析模块用于分析路由器终端的使用时间;当无线传输速率小于设定网速阈值,开始计时;当无线传输速率大于设定阈值,停止计时,统计该时间段的时长;当时长大于设定阈值,则将该时间段标记为空闲时间段;统计空闲时间段在工作日的出现的天数;利用公式获取得到空闲关闭值;当空闲关闭值大于设定阈值,则生成关闭指令以及对应的空闲时间段并发送至无线控制模块;无线控制模块用于控制无线网络发射模块的开启或关闭;通过合理的控制路由器终端的开启和关闭,在无人使用的时候关闭,节省资源。(3) The data analysis module of the present invention is used to analyze the use time of the router terminal; when the wireless transmission rate is less than the set network speed threshold, start timing; when the wireless transmission rate is greater than the set threshold, stop timing, and count the duration of this time period; When the time length is greater than the set threshold, mark the time period as an idle time period; count the number of days that the idle time period occurs in working days; use the formula to obtain the idle close value; when the idle close value is greater than the set threshold, generate a close The command and the corresponding idle time period are sent to the wireless control module; the wireless control module is used to control the opening or closing of the wireless network transmission module; by reasonably controlling the opening and closing of the router terminal, it is closed when no one is using it, saving resources .

附图说明Description of drawings

下面结合附图对本发明作进一步的说明。The present invention will be further described below in conjunction with the accompanying drawings.

图1是本发明一种WiFi安全加密系统的原理框图。FIG. 1 is a schematic block diagram of a WiFi security encryption system of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

请参阅图1所示,本发明为一种WiFi安全加密系统,包括用户终端和路由器终端,用户终端包括密码输入模块、密码转换模块和公式输入模块;密码输入模块用于用户输入密码信息,密码信息包括字母、符号和数字以及对应的虚拟数字;公式输入模块用于用户输入密码转换公式;密码输入模块和公式输入模块将用户输入的密码信息和密码转换公式发送至密码转换模块;Referring to FIG. 1, the present invention is a WiFi security encryption system, including a user terminal and a router terminal. The user terminal includes a password input module, a password conversion module and a formula input module; the password input module is used for the user to input password information, and the password The information includes letters, symbols, numbers and corresponding virtual numbers; the formula input module is used for the user to input the password conversion formula; the password input module and the formula input module send the password information and the password conversion formula input by the user to the password conversion module;

密码转换模块接收密码输入模块和公式输入模块发送的密码信息和密码转换公式并进行密码转换,具体密码转换步骤为:The password conversion module receives the password information and the password conversion formula sent by the password input module and the formula input module and performs password conversion. The specific password conversion steps are:

步骤一:设定密码信息包括字母、符号和数字记为Mi,i=1、……、n;设定对应的虚拟数字记为GMi;Mi与GMi一一对应;Step 1: set the password information to include letters, symbols and numbers and denote Mi, i=1,  , n; set the corresponding virtual numbers to denote G Mi ; Mi and G Mi are in one-to-one correspondence;

步骤二:设定用户输入的密码记为ZM,ZM={Mi,……,Mi};将用户输入的密码Mi转换成对应的虚拟密码XM,XM={GMi,……,GMi};Step 2: Set the password entered by the user as ZM, ZM={Mi,...,Mi}; convert the password Mi entered by the user into the corresponding virtual password XM, XM={G Mi ,...,G Mi } ;

步骤三:将虚拟密码XM添加干扰因子K得到虚拟干扰密码WM,K的取值为任意正整数;WM={WMi,……,WMi};WMi=GMi+K;Step 3: Add the interference factor K to the virtual password XM to obtain the virtual interference password WM, and the value of K is any positive integer; WM={W Mi ,...,W Mi }; W Mi =G Mi +K;

步骤四:将虚拟干扰密码WM通过密码转换公式转换为弧形线段;密码转换公式为WMi=LMi*u1+rMi*u2;LMi为弧长,rMi为半径;u1和u2为预设比例系数固定值;通过密码转换公式将WMi转换成弧形线段HMi;弧形线段HMi的弧长为LMi;半径为rMiStep 4: Convert the virtual interference password WM into an arc line segment through the password conversion formula; the password conversion formula is W Mi =L Mi *u1+r Mi *u2; L Mi is the arc length, and r Mi is the radius; u1 and u2 are Preset fixed value of proportional coefficient; convert W Mi into arc segment H Mi by password conversion formula; arc length of arc segment H Mi is L Mi ; radius is r Mi ;

步骤五:将弧形线段HMi依照密码输入顺序依次连接,形成密码图形TM;密码转换模块将得到的密码图形TM以及用户终端的IP地址发送至认证模块;Step 5: connect the arc line segments H Mi in sequence according to the password input sequence to form a password figure TM; the password conversion module sends the obtained password figure TM and the IP address of the user terminal to the authentication module;

路由器终端包括认证模块、无线网络发射模块、存储模块、网络接口模块、数据采集模块、数据分析模块和无线控制模块;认证模块用于对接收的密码图形TM以及用户终端的IP地址进行认证,具体认证过程如下:The router terminal includes an authentication module, a wireless network transmission module, a storage module, a network interface module, a data acquisition module, a data analysis module and a wireless control module; the authentication module is used to authenticate the received password graphic TM and the IP address of the user terminal. The certification process is as follows:

a:将接收到的密码图形TM进行识别,利用密码转换公式得到对应的虚拟干扰密码WM;对虚拟干扰密码WM添加修正因子B,得到虚拟修正密码YM,YM={WMi+B,……,WMi+B};a: Identify the received password pattern TM, and use the password conversion formula to obtain the corresponding virtual interference password WM; add a correction factor B to the virtual interference password WM to obtain a virtual corrected password YM, YM={W Mi +B,  … , W Mi + B };

b:再利用密码转换公式转换成二次弧形线段H2Mi;将二次弧形线段依照密码输入顺序依次连接,形成二次密码图形DM;b: Reuse the password conversion formula and convert it into a secondary arc line segment H2 Mi ; connect the secondary arc line segments in turn according to the password input sequence to form a secondary password figure DM;

c:将二次密码图形DM与存储模块内部存储的预设对比密码图形进行对比;当二次密码图形DM与预设对比密码图形完全重合,则密码正确,认证成功,否,密码错误,认证失败;c: Compare the secondary password graphic DM with the preset comparison password graphic stored in the storage module; when the secondary password graphic DM and the preset comparison password graphic are completely overlapped, the password is correct and the authentication is successful; otherwise, the password is incorrect and the authentication is successful. fail;

d:当密码正确,认证模块控制网络接口模块与无线网络发射模块接通;d: When the password is correct, the authentication module controls the network interface module to connect with the wireless network transmission module;

无线网络发射模块用于发送无线网络以及通过无线网络信号与用户终端信息连接;网络接口模块用于通过光钎连接互联网。The wireless network transmitting module is used for sending wireless network and connecting with user terminal information through wireless network signal; the network interface module is used for connecting to the Internet through optical fiber.

数据采集模块用于采集网络接口模块的网络传输速率以及对应的时间;数据采集模块将采集的用户终端的IP地址以及网络传输速率发送至数据分析模块;数据分析模块用于分析路由器终端的使用时间,具体步骤为:The data collection module is used to collect the network transmission rate and the corresponding time of the network interface module; the data collection module sends the collected IP address and network transmission rate of the user terminal to the data analysis module; the data analysis module is used to analyze the usage time of the router terminal , the specific steps are:

步骤一:设定网络传输速率记为Hj,j=1、……、n;对应的时刻记为THj;Step 1: Set the network transmission rate as Hj, j=1, ..., n; the corresponding moment is denoted as T H j;

步骤二:当Hj小于设定网速阈值,则该应的时刻THj为起始时刻,并开始计时;当Hn大于设定阈值,停止计时,则该应的时刻THn为停止时刻,统计THj与THn的时长KT;当时长KT大于设定阈值,则将该时间段[THj,THn]标记为空闲时间段;Step 2: When Hj is less than the set network speed threshold, the corresponding time T Hj is the starting time, and starts timing; when Hn is greater than the set threshold, and the timing is stopped, then the corresponding time T Hn is the stopping time, Count the duration KT of T Hj and T Hn ; when the duration KT is greater than the set threshold, mark the time period [T Hj , T Hn ] as an idle time period;

步骤三:统计空闲时间段在工作日的出现的天数;并对天数进行统计;设定出现一天的次数记为P1,连续出现两天的次数记为P2,设定连续出现j天的次数记为Pj;设定一天对应的空闲系数记为c1,两天对应的空闲系数记为c2,连续出现j天的空闲系数记为cj;且c1<c2<……cj;j=1、……、n;Step 3: Count the number of days that the idle time period occurs on working days; and count the number of days; set the number of occurrences of one day as P1, the number of consecutive occurrences of two days as P2, and set the number of consecutive occurrences of j days to record is Pj; set the idle factor corresponding to one day as c1, the idle factor corresponding to two days as c2, and the idle factor of j consecutive days as cj; and c1<c2<...cj; j=1,... , n;

步骤四:利用公式

Figure BDA0002170762980000081
获取得到空闲关闭值C;当空闲关闭值C大于设定阈值,则生成关闭指令以及对应的空闲时间段并发送至无线控制模块;Step 4: Use the formula
Figure BDA0002170762980000081
Obtaining the idle closing value C; when the idle closing value C is greater than the set threshold, a closing instruction and a corresponding idle time period are generated and sent to the wireless control module;

无线控制模块用于控制无线网络发射模块的开启或关闭;当无线控制模块接收到关闭指令以及对应的空闲时间段,则无线控制模块控制无线网络发射模块在时刻THj关闭;控制无线网络发射模块在时刻THn开启。The wireless control module is used to control the opening or closing of the wireless network transmission module; when the wireless control module receives the closing command and the corresponding idle time period, the wireless control module controls the wireless network transmission module to close at time T H j; controls the wireless network transmission The module is turned on at time THn .

本发明的工作原理:本发明通过将用户的输入的密码转换转换成虚拟密码,并将虚拟密码添加干扰因子得到虚拟干扰密码,然后通过用户输入的密码转换公式转换成密码图形通过发送密码图形对路由器终端进行密码认证,避免现有的WiFi采用字母数字和符号组成,导致容易被破解的问题;同时路由器终端通过对密码图形识别,然后利用密码转换公式得到对应的虚拟干扰密码,对虚拟干扰密码添加修正因子得到虚拟修正密码;再利用密码转换公式转换成二次弧形线段;将二次弧形线段依照密码输入顺序依次连接,形成二次密码图形;将二次密码图形DM与存储模块内部存储的预设对比密码图形进行对比;提高了路由器的安全加密认证,保障WiFi的安全加密;数据分析模块用于分析路由器终端的使用时间;当Hj小于设定网速阈值,则该应的时刻THj为起始时刻,并开始计时;当Hn大于设定阈值,停止计时,则该应的时刻THn为停止时刻,统计THj与THn的时长KT;当时长KT大于设定阈值,则将该时间段[THj,THn]标记为空闲时间段;统计空闲时间段在工作日的出现的天数;利用公式

Figure BDA0002170762980000091
获取得到空闲关闭值C;当空闲关闭值C大于设定阈值,则生成关闭指令以及对应的空闲时间段并发送至无线控制模块;无线控制模块用于控制无线网络发射模块的开启或关闭;当无线控制模块接收到关闭指令以及对应的空闲时间段,则无线控制模块控制无线网络发射模块在时刻THj关闭;控制无线网络发射模块在时刻THn开启;通过合理的控制路由器终端的开启和关闭,在无人使用的时候关闭,节省资源。The working principle of the present invention: the present invention converts the password input by the user into a virtual password, adds an interference factor to the virtual password to obtain a virtual interference password, and then converts the password conversion formula input by the user into a password graphic by sending the password graphic to The router terminal performs password authentication to avoid the problem that the existing WiFi is composed of alphanumerics and symbols, which leads to the problem of being easily cracked. Add the correction factor to get the virtual correction password; then use the password conversion formula to convert it into a secondary arc line segment; connect the secondary arc line segments in sequence according to the password input sequence to form a secondary password figure; connect the secondary password figure DM to the internal storage module The stored preset comparison password graphics are compared; the security encryption authentication of the router is improved, and the security encryption of WiFi is guaranteed; the data analysis module is used to analyze the usage time of the router terminal; when Hj is less than the set network speed threshold, the time should be T Hj is the start time, and starts timing; when Hn is greater than the set threshold, the timing is stopped, then the corresponding time T Hn is the stop time, and the duration KT between T Hj and T Hn is counted; when the time KT is greater than the set threshold, Then mark the time period [T Hj , T Hn ] as an idle time period; count the number of days that the idle time period occurs on working days; use the formula
Figure BDA0002170762980000091
Obtain the idle closing value C; when the idle closing value C is greater than the set threshold, a closing instruction and a corresponding idle time period are generated and sent to the wireless control module; the wireless control module is used to control the opening or closing of the wireless network transmission module; when After the wireless control module receives the shutdown instruction and the corresponding idle time period, the wireless control module controls the wireless network transmission module to be turned off at time T Hj ; controls the wireless network transmission module to turn on at time T Hn ; by reasonably controlling the opening and closing of the router terminal. Turn off, turn off when not in use, save resources.

以上内容仅仅是对本发明结构所作的举例和说明,所属本技术领域的技术人员对所描述的具体实施例做各种各样的修改或补充或采用类似的方式替代,只要不偏离发明的结构或者超越本权利要求书所定义的范围,均应属于本发明的保护范围。The above content is only an example and description of the structure of the present invention, and those skilled in the art can make various modifications or supplements to the specific embodiments described or replace them in a similar manner, as long as they do not deviate from the structure of the invention or Anything beyond the scope defined by the claims shall belong to the protection scope of the present invention.

Claims (3)

1.一种WiFi安全加密系统,包括用户终端和路由器终端,其特征在于,所述用户终端包括密码输入模块、密码转换模块和公式输入模块;所述密码输入模块用于用户输入密码信息,密码信息包括字母、符号和数字以及对应的虚拟数字;所述公式输入模块用于用户输入密码转换公式;所述密码输入模块和公式输入模块将用户输入的密码信息和密码转换公式发送至密码转换模块;1. A WiFi security encryption system, comprising a user terminal and a router terminal, is characterized in that, the user terminal comprises a password input module, a password conversion module and a formula input module; the password input module is used for the user to input password information, and the password The information includes letters, symbols, numbers and corresponding virtual numbers; the formula input module is used for the user to input a password conversion formula; the password input module and the formula input module send the password information and the password conversion formula input by the user to the password conversion module ; 所述密码转换模块接收密码输入模块和公式输入模块发送的密码信息和密码转换公式并进行密码转换,具体密码转换步骤为:The password conversion module receives the password information and the password conversion formula sent by the password input module and the formula input module and performs the password conversion, and the specific password conversion steps are: 步骤一:设定密码信息包括字母、符号和数字记为Mi,i=1、……、n;设定对应的虚拟数字记为GMi;Mi与GMi一一对应;Step 1: set the password information to include letters, symbols and numbers and denote Mi, i=1,  , n; set the corresponding virtual numbers to denote G Mi ; Mi and G Mi are in one-to-one correspondence; 步骤二:设定用户输入的密码记为ZM,ZM={M1,……,Mi};将用户输入的密码ZM转换成对应的虚拟密码XM,XM={GM1,……,GMi};Step 2: Set the password entered by the user as ZM, ZM={M1,...,Mi}; convert the password ZM entered by the user into the corresponding virtual password XM, XM={G M1 ,...,G Mi } ; 步骤三:将虚拟密码XM添加干扰因子K得到虚拟干扰密码WM,K的取值为任意正整数;WM={WM1,……,WMi};WMi=GMi+K;Step 3: Add the interference factor K to the virtual password XM to obtain the virtual interference password WM, and the value of K is an arbitrary positive integer; WM={W M1 ,...,W Mi }; W Mi =G Mi +K; 步骤四:将虚拟干扰密码WM通过密码转换公式转换为弧形线段;密码转换公式为WMi=LMi*u1+rMi*u2;LMi为弧长,rMi为半径;u1和u2为预设比例系数固定值;通过密码转换公式将WMi转换成弧形线段HMi;弧形线段HMi的弧长为LMi;半径为rMiStep 4: Convert the virtual interference password WM into an arc line segment through the password conversion formula; the password conversion formula is W Mi =L Mi *u1+r Mi *u2; L Mi is the arc length, and r Mi is the radius; u1 and u2 are Preset fixed value of proportional coefficient; convert W Mi into arc segment H Mi by password conversion formula; arc length of arc segment H Mi is L Mi ; radius is r Mi ; 步骤五:将弧形线段HMi依照密码输入顺序依次连接,形成密码图形TM;密码转换模块将得到的密码图形TM以及用户终端的IP地址发送至认证模块;Step 5: connect the arc line segments H Mi in sequence according to the password input sequence to form a password figure TM; the password conversion module sends the obtained password figure TM and the IP address of the user terminal to the authentication module; 所述路由器终端包括认证模块、无线网络发射模块、存储模块、网络接口模块、数据采集模块、数据分析模块和无线控制模块;所述认证模块用于对接收的密码图形TM以及用户终端的IP地址进行认证,具体认证过程如下:The router terminal includes an authentication module, a wireless network transmission module, a storage module, a network interface module, a data acquisition module, a data analysis module and a wireless control module; the authentication module is used for the received password graphic TM and the IP address of the user terminal. For certification, the specific certification process is as follows: a:将接收到的密码图形TM进行识别,利用密码转换公式得到对应的虚拟干扰密码WM;对虚拟干扰密码WM添加修正因子B,得到虚拟修正密码YM,YM={WM1+B,……,WMi+B};a: Identify the received password pattern TM, and use the password conversion formula to obtain the corresponding virtual interference password WM; add a correction factor B to the virtual interference password WM to obtain a virtual corrected password YM, YM={W M1 +B,  … , W Mi + B }; b:再利用密码转换公式转换成二次弧形线段H2Mi;将二次弧形线段依照密码输入顺序依次连接,形成二次密码图形DM;b: then use the password conversion formula to convert into a secondary arc line segment H2 Mi ; connect the secondary arc line segments in turn according to the password input sequence to form a secondary password figure DM; c:将二次密码图形DM与存储模块内部存储的预设对比密码图形进行对比;当二次密码图形DM与预设对比密码图形完全重合,则密码正确,认证成功,否,密码错误,认证失败;c: Compare the secondary password graphic DM with the preset comparison password graphic stored in the storage module; when the secondary password graphic DM completely overlaps with the preset comparison password graphic, the password is correct and the authentication is successful; if no, the password is incorrect and the authentication is successful. fail; d:当密码正确,认证模块控制网络接口模块与无线网络发射模块接通。d: When the password is correct, the authentication module controls the network interface module to connect with the wireless network transmission module. 2.根据权利要求1所述的一种WiFi安全加密系统,其特征在于,所述无线网络发射模块用于发送无线网络以及通过无线网络信号与用户终端信息连接;所述网络接口模块用于通过光钎连接互联网。2. A kind of WiFi security encryption system according to claim 1, is characterized in that, described wireless network transmission module is used for sending wireless network and through wireless network signal and user terminal information connection; Fiber optic connection to the Internet. 3.根据权利要求1所述的一种WiFi安全加密系统,其特征在于,所述数据采集模块用于采集网络接口模块的网络传输速率以及对应的时间;数据采集模块将采集的用户终端的IP地址以及网络传输速率发送至数据分析模块;所述数据分析模块用于分析路由器终端的使用时间,具体步骤为:3. a kind of WiFi security encryption system according to claim 1, is characterized in that, described data collection module is used to collect the network transmission rate of network interface module and corresponding time; The IP of the user terminal that data collection module will collect The address and the network transmission rate are sent to the data analysis module; the data analysis module is used to analyze the use time of the router terminal, and the specific steps are: 步骤一:设定网络传输速率记为Hj,j=1、……、n;对应的时刻记为THjStep 1: set the network transmission rate to be denoted as Hj, j=1, ..., n; the corresponding moment is denoted as T Hj ; 步骤二:当Hj小于设定网速阈值,则该对应的时刻THj为起始时刻,并开始计时;当Hn大于设定阈值,停止计时,则该对应的时刻THn为停止时刻,统计THj与THn的时长KT;当时长KT大于设定阈值,则将该时间段[THj,THn]标记为空闲时间段;Step 2: When Hj is less than the set network speed threshold, the corresponding time T Hj is the starting time, and the timing starts; when Hn is greater than the set threshold, and the timing is stopped, the corresponding time T Hn is the stopping time, and the statistics The time length KT between THj and THn; when the length KT is greater than the set threshold, the time period [T Hj , THn ] is marked as an idle time period; 步骤三:统计空闲时间段在工作日的出现的天数;并对天数进行统计;设定出现一天的次数记为P1,连续出现两天的次数记为P2,设定连续出现j天的次数记为Pj;设定一天对应的空闲系数记为c1,两天对应的空闲系数记为c2,连续出现j天的空闲系数记为cj;且c1<c2<……cj;j=1、……、n;Step 3: Count the number of days that the idle time period occurs on working days; and count the number of days; set the number of occurrences of one day as P1, the number of consecutive occurrences of two days as P2, and set the number of consecutive occurrences of j days to record is Pj; set the idle factor corresponding to one day as c1, the idle factor corresponding to two days as c2, and the idle factor of j consecutive days as cj; and c1<c2<...cj; j=1,... , n; 步骤四:利用公式
Figure FDA0003637541960000031
获取得到空闲关闭值C;当空闲关闭值C大于设定阈值,则生成关闭指令以及对应的空闲时间段并发送至无线控制模块;
Step 4: Use the formula
Figure FDA0003637541960000031
Obtaining the idle closing value C; when the idle closing value C is greater than the set threshold, a closing instruction and a corresponding idle time period are generated and sent to the wireless control module;
所述无线控制模块用于控制无线网络发射模块的开启或关闭;当无线控制模块接收到关闭指令以及对应的空闲时间段,则无线控制模块控制无线网络发射模块在时刻THj关闭;控制无线网络发射模块在时刻THn开启。The wireless control module is used to control the opening or closing of the wireless network transmission module; when the wireless control module receives the shutdown instruction and the corresponding idle time period, the wireless control module controls the wireless network transmission module to turn off at time T Hj ; controls the wireless network The transmitting module is turned on at time THn .
CN201910762376.9A 2019-08-19 2019-08-19 A WiFi Security Encryption System Expired - Fee Related CN110460994B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910762376.9A CN110460994B (en) 2019-08-19 2019-08-19 A WiFi Security Encryption System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910762376.9A CN110460994B (en) 2019-08-19 2019-08-19 A WiFi Security Encryption System

Publications (2)

Publication Number Publication Date
CN110460994A CN110460994A (en) 2019-11-15
CN110460994B true CN110460994B (en) 2022-08-16

Family

ID=68487406

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910762376.9A Expired - Fee Related CN110460994B (en) 2019-08-19 2019-08-19 A WiFi Security Encryption System

Country Status (1)

Country Link
CN (1) CN110460994B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108009419A (en) * 2017-11-24 2018-05-08 咪咕文化科技有限公司 Authentication method and device of graphic password and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8536978B2 (en) * 2010-11-19 2013-09-17 Blackberry Limited Detection of duress condition at a communication device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108009419A (en) * 2017-11-24 2018-05-08 咪咕文化科技有限公司 Authentication method and device of graphic password and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
移动终端掌纹辅助分割和定位算法研究;张情;《CNKI中国硕士学位论文全文数据库信息科技辑》;20180115;全文 *

Also Published As

Publication number Publication date
CN110460994A (en) 2019-11-15

Similar Documents

Publication Publication Date Title
CN105245427A (en) Multi-Internet of Things cloud platform terminal access and control system based on bus adaption
CN103957580B (en) A kind of WIFI quickly networkings matching method and module for Intelligent hardware
CN103312543A (en) Intelligent speed-up client-side and intelligent speed-up method thereof
CN105392140B (en) A kind of autosynchronous method of key configuration between wireless router
CN103167626A (en) Wireless fidelity (WIFI) network bridge and communication method and system based on WIFI
CN108200629A (en) A kind of Wi-Fi distribution network systems of smart machine
CN103944756A (en) Method for controlling wireless access point equipment based on OpenFlow protocol
CN105245545A (en) Access authorization method based on user terminal and router
CN106792694B (en) An access authentication method and access device
CN103024023B (en) Digital Reading Room network audit method
CN110460994B (en) A WiFi Security Encryption System
CN106161156A (en) The Bluetooth gateway of a kind of intelligent appliance and using method thereof
CN104507100B (en) A method of Zigbee network is managed using wireless terminal
CN207732991U (en) Internet of things data acquisition transmitter based on LoRa
CN207458149U (en) Optical cross box smart lock control device and its system based on Bluetooth communication
CN104639330A (en) GOOSE (Generic Object Oriented Substation Event) message integrity authentication method
CN101516091A (en) Wireless local area network access control system and method based on ports
CN211630190U (en) Terminal equipment safety encryption and decryption system based on safety chip
CN205844839U (en) A kind of mixed type safe RTU module
CN102882854A (en) Power grid data access method
CN105101249B (en) A kind of AP device control method and related system
CN105187305B (en) LTE dongle adaptive approach and system for LTE uplink home gateways
CN103442341A (en) Method for controlling intelligent equipment with mobile phone short messages
CN114339754A (en) A smart water meter authentication system
CN207883112U (en) A kind of gateway applied to environmental protection equipment information collection

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20220816

CF01 Termination of patent right due to non-payment of annual fee