CN110213760A - Router, mobile terminal and its network connection method and storage medium - Google Patents
Router, mobile terminal and its network connection method and storage medium Download PDFInfo
- Publication number
- CN110213760A CN110213760A CN201910355810.1A CN201910355810A CN110213760A CN 110213760 A CN110213760 A CN 110213760A CN 201910355810 A CN201910355810 A CN 201910355810A CN 110213760 A CN110213760 A CN 110213760A
- Authority
- CN
- China
- Prior art keywords
- router
- mobile terminal
- random number
- temporary key
- dynamic password
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
- H04W12/069—Authentication using certificates or pre-shared keys
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/50—Secure pairing of devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/06—Network architectures or network communication protocols for network security for supporting key management in a packet data network
- H04L63/062—Network architectures or network communication protocols for network security for supporting key management in a packet data network for key distribution, e.g. centrally by trusted party
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
- H04L63/0838—Network architectures or network communication protocols for network security for authentication of entities using passwords using one-time-passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3226—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/04—Key management, e.g. using generic bootstrapping architecture [GBA]
- H04W12/041—Key generation or derivation
-
- 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
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/30—Connection release
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The present invention provides a kind of router, mobile terminal and its method for connecting network and storage medium.It include: that router receives the first dynamic password from server;The router receives the second dynamic password from mobile terminal and matches second dynamic password with first dynamic password;Connection is established in successful match and sends the first consequential signal to mobile terminal;The router removes link information caused by the connection after connection is completed.It prevents from connecting router not over the terminal of authentication with this, improves the safety of router connection.
Description
Technical field
The present invention relates to intelligent communication technical field more particularly to a kind of routers, mobile terminal and its network connection side
Method and storage medium.
Background technique
Present inventor has found that current public WIFI when being attached with terminal, is used mostly in long-term R & D
The connection type not encrypted is directly connected to router, after browsing the login page or advertisement page that router provides, router
This equipment of letting pass is surfed the Internet, and preset key due to router and master key (Pairwise Master Key, PMK) are
It is changeless, a large amount of idle or terminal without browsing router login page can be made still to be associated with router, lead to road
Slowly by device operation, online experience is bad.
Summary of the invention
The invention mainly solves the technical problem of providing a kind of router, mobile terminal and its method for connecting network and deposit
Storage media, to prevent idle or unrelated terminal to be excessively associated with resource consumption caused by router.
In order to solve the above technical problems, one technical scheme adopted by the invention is that: a kind of router network connection is provided
Method, comprising:
Router receives the first dynamic password from server;
The router receives the second dynamic password from mobile terminal and will second dynamic password and described the
One dynamic password is matched;
Connection is established in successful match and sends the first consequential signal to mobile terminal;
The router removes link information caused by the connection after connection is completed.
In order to solve the above technical problems, another technical solution used in the present invention is: providing a kind of mobile terminal network
Connection method, comprising:
The mobile terminal identifies the pictorial information from the router, sends first to server after identifying successfully
Request signal;
Receive the second dynamic password from server;
The second dynamic password is sent to the router;
Receive the first consequential signal from the router.
In order to solve the above technical problems, another technical solution used in the present invention is: a kind of mobile terminal is provided, it is described
Mobile terminal includes memory and processor interconnected, wherein
The memory is used to store the program instruction for realizing mobile terminal network connection method described above;
The processor is used to execute the described program instruction of the memory storage.
In order to solve the above technical problems, another technical solution that the application uses is: providing a kind of router, the road
It include memory and processor interconnected by device, wherein
The memory is used to store the program instruction for realizing router network connection method described above;
The processor is used to execute the described program instruction of the memory storage.
In order to solve the above technical problems, another technical solution that the present invention uses is: a kind of storage medium is provided,
In, the storage medium is stored with program data, and described program data can be performed method for connecting network described above.
The beneficial effects of the present invention are: being different from the prior art, method for connecting network proposed by the present invention is to pass through movement
The pictorial information of terminal recognition router simultaneously sends the first request signal to server, and router receives first from server
Dynamic password, mobile terminal receive the second dynamic password from router, and the second dynamic password is sent to road by mobile terminal
By device, router matches the second dynamic password with the first dynamic password after receiving the second dynamic password, matching at
Connection is established when function and removes the link information that this time connection generates.To prevent non-occupied terminal from connecting router.
Detailed description of the invention
Fig. 1 is the flow diagram of the first embodiment of router network connection method of the present invention;
Fig. 2 is the flow diagram of the second embodiment of router network connection method of the present invention;
Fig. 3 is the flow diagram of the 3rd embodiment of router network connection method of the present invention;
Fig. 4 is the flow diagram of the first embodiment of mobile terminal network connection method of the present invention;
Fig. 5 is the flow diagram of the second embodiment of mobile terminal network connection method of the present invention;
Fig. 6 is the flow diagram of the 3rd embodiment of mobile terminal network connection method of the present invention;
Fig. 7 is the structural schematic diagram of mobile terminal and router network connection method signal transmission of the present invention;
Fig. 8 is the structural schematic diagram of mobile terminal/router of the present invention;
Fig. 9 is the structural schematic diagram of storage medium embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiment is only a part of the embodiment of the application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
Term " first ", " second ", " third " in the application are used for description purposes only, and should not be understood as instruction or dark
Show relative importance or implicitly indicates the quantity of indicated technical characteristic." first ", " second ", " are defined as a result,
Three " feature can explicitly or implicitly include at least one of the features.In the description of the present application, the meaning of " plurality " is extremely
It is two few, such as two, three etc., unless otherwise specifically defined.The directional instruction of institute is (all in the embodiment of the present application
Such as up, down, left, right, before and after ...) it is only used for explaining in the phase under a certain particular pose (as shown in the picture) between each component
To positional relationship, motion conditions etc., if the particular pose changes, directionality instruction also correspondingly changes therewith
Become.In addition, term " includes " and " having " and their any deformations, it is intended that cover and non-exclusive include.Such as comprising
The process, method, system, product or equipment of a series of steps or units are not limited to listed step or unit, and
It is optionally further comprising the step of not listing or unit, or optionally further comprising for these process, methods, product or equipment
Intrinsic other step or units.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
The present invention will be described in detail with reference to the accompanying drawings and examples.
Referring to Fig. 1, the flow diagram of the first embodiment for router network connection method of the present invention.Include:
Step S101: router receives the first dynamic password from server.
Wherein, first dynamic password is the password that server is randomly assigned, and can be numerical ciphers, number and word
The password of mother's combination, such as: " 128963 ", " ad5263 ".
Step S102: the router receives the second dynamic password from mobile terminal and by second dynamic password
It is matched with first dynamic password.
Wherein, second dynamic password is identical as first dynamic password, be all be randomly assigned by server, and
After server receives the first request signal of mobile terminal, it will it is randomly assigned to generate a dynamic password, it will be described dynamic
State password is sent respectively to the mobile terminal and the router, and the mobile terminal can pass through dynamic password and the routing
Device carries out authentication, i.e., the second dynamic password obtained itself is sent to router, is verified by the router.
Step S103: establishing connection in successful match and sends the first consequential signal to mobile terminal.
Wherein, after the router receives the second dynamic password that the mobile terminal is sent, with itself the
One dynamic password is compared, if result is inconsistent, authentication failed can not establish connection;If result is consistent, verifying at
Function allows the connection request of the mobile terminal to send the first consequential signal by establishing connection, and to mobile terminal to prompt
The mobile terminal establishes network connection.
Step S104: the router removes link information caused by the connection after connection is completed.
After this successful connection, router can remove dynamic password when this time connecting and the mobile end of this connection
The information etc. at end, such as model, the identification code of the mobile terminal, so that the mobile terminal enters this region WIFI in next time
It cannot be connected automatically when middle.
Fig. 4 is referred to, is the flow diagram of the first embodiment of mobile terminal network connection method of the present invention.Include:
Step S401: the mobile terminal identifies the pictorial information from the router, to service after identifying successfully
Device sends the first request signal.
Wherein, the mobile terminal is the electronic equipments such as mobile phone, ipad, and the pictorial information of the router can be two dimension
Code or bar code etc. identify address, factory information of the router etc., and the mobile terminal can pass through the devices such as camera
Picture is scanned, the rear of the information of the router is obtained after the completion of scanning and sends the first request signal to server.
Step S402: the second dynamic password from server is received.
Wherein, second dynamic password is identical as first dynamic password, and it is close to be all that server is randomly assigned
Code can be the password of numerical ciphers, number and monogram, such as: " 128963 ", " ad5263 ".
S403: Xiang Suoshu router of step sends the second dynamic password.
The mobile terminal sends out second dynamic password after the second dynamic password for receiving server transmission
The router is given, has the router to be verified.
Step S404: the first consequential signal from the router is received.
The router is matched after receiving the second dynamic password with the first dynamic password, is built after successful match
Vertical connection, and the first consequential signal is sent to mobile terminal, mobile terminal confirms that connection is completed when receiving the first signal.
The scheme that the present embodiment proposes are as follows: mobile terminal identifies that the pictorial information of router sends the first request to server
The second dynamic password is received from server after signal, router receives the first dynamic password from server, and mobile terminal is by second
Dynamic password is sent to the router, and router matches the second dynamic password with the first dynamic password, successful match
Then establish connection afterwards, and after the completion of connection it is clear this time connect caused by link information, avoid next mobile terminal into
Enter the speed of service for connecting and influencing router in this region WIFI automatically.
Fig. 2 is referred to, is the flow diagram of the second embodiment of router network connection method of the present invention.Include:
Step S201: router receives the first dynamic password from server.
Identical as a upper embodiment, the first dynamic password is the password that is randomly assigned of server, can be numerical ciphers,
The password of number and monogram, such as: " 128963 ", " ad5263 ".
Step S202: the router generates the first master key according to first dynamic password.
Wherein, the router generates the mode of the first master key according to first dynamic password are as follows: PMK=
Pbkdf2_shal (the first dynamic password, SSID, SSID length, 4096), wherein PMK is master key, and SSID is router
Address, pbkdf2_shal are Hash operation.
Wherein, the PMK (Pairwise Master Key) is that applicant (i.e. mobile terminal) and authenticator (route
Device) symmetric key that referred to as pairwise master key can be shared, it is according to the present invention for controlling message reference between the two
Embodiment, the PMK come from password, and in other embodiments, the PMK can be dynamically designated.
Step S203: the router generates the first random number and sends first random number to mobile terminal.
Wherein, first random number is the number that the router is randomly generated, and the router is generating first at random
The first random number is sent to the mobile terminal after number.
Step S204: third random number and the first temporary key from mobile terminal are received and generates the 4th random number.
Wherein, the 4th random number is identical as the third random number, is all the number being randomly generated, and the described 4th is random
Number is different from the third random number, and is used only once.
Step S205: the second temporary key is generated according to the third random number, the 4th random number and the first master key.
Wherein, the mode of the second temporary key is generated according to the third random number, the 4th random number and the first master key
Are as follows: PTK=PRF-X (PMK, " Pairwise key expansion ", Min (AA, SA) | | Max (AA, SA) | | Min
(ANonce, SNonce) | | Max (ANonce, SNonce)), PTK is temporary key, ANonce be the router generate with
Machine number, SNonce are the random number that the mobile terminal generates, and AA is the mark address of router, and SA is the mark of mobile terminal
Address, PRF-X are pseudo-random function, and Pairwise key expansion is constant character string.
It should be noted that the mobile terminal is when sending third random number to the router, which includes institutes
Address MAC (Media Access Control or Medium Access Control) of mobile terminal is stated, free translation is media visit
It asks control or physical address, hardware address, for defining the position of the network equipment, refers to mould in inventionthe open systems interconnection
Type (Open System Interconnection, OSI/RM, Open System Interconnection Reference
Model in), third layer network layer is responsible for IP address, and second layer data link is then responsible for MAC Address.Therefore a host has
One MAC Address, and each network site has the IP address for being specific to it, the MAC Address is determined by network interface card,
It is fixed.The MAC Address is mark address described above.
Step S206: second temporary key is matched with first temporary key.
The router after calculating the second temporary key, by the second temporary key being calculated and it is received come
It is matched from the first temporary key of mobile terminal.
Step S207: establishing connection in successful match and sends the second consequential signal to the mobile terminal.
Wherein, the second temporary key is compared by the router with the first temporary key, if result is inconsistent, is tested
Card failure, can not establish connection;If result is consistent, it is proved to be successful, the connection request of the mobile terminal is allowed to pass through, establishes
Connection, and the second consequential signal is sent to mobile terminal to prompt the mobile terminal to establish network connection.
Step S208: the router removes link information caused by the connection after connection is completed.
After this successful connection, router can remove dynamic password when this time connecting and the mobile end of this connection
The information at end, such as master key, temporary key, the device identification address of the mobile terminal, random number that this connection generates,
So that the mobile terminal cannot connect automatically when entering in this region WIFI next time.
Fig. 5 is referred to, is the flow diagram of the second embodiment of mobile terminal network connection method of the present invention.Wherein,
Step S501 and step S502 in Fig. 4 step S401 and step S402 it is identical, no longer illustrate herein.
Step S503: the mobile terminal generates the second master key according to second dynamic password.
Wherein, the mobile terminal is identifying the rear to the first request of server transmission of the pictorial information of the router
Signal, server send the second dynamic password, the mobile terminal to the mobile terminal when receiving the first request signal
The second master key, mode are generated according to second dynamic password are as follows: PMK=pbkdf2_shal (the first dynamic password,
SSID, SSID length, 4096), wherein PMK is master key, and SSID is the address of router, and pbkdf2_shal is Hash fortune
It calculates.
Wherein, the PMK (Pairwise Master Key) is that applicant (i.e. mobile terminal) and authenticator (route
Device) symmetric key that referred to as pairwise master key can be shared, it is according to the present invention for controlling message reference between the two
Embodiment, the PMK come from password, and in other embodiments, the PMK can be dynamically designated.
Step S504: it receives the first random number from the router and generates the second random number.
Wherein, first random number and the second random number and third random number and the 4th random number phase described above
Together, first random number and the 4th random number are the random number that the router generates, second random number and the
Three random numbers are the random number that the mobile terminal generates, and the random number can only make during calculating and generating temporary key
With primary.
Step S505: the first temporary key is generated according to first random number, the second random number and the second master key.
Wherein, the mode of the first temporary key is generated according to first random number, the second random number and the second master key
Are as follows: PTK=PRF-X (PMK, " Pairwise key expansion ", Min (AA, SA) | | Max (AA, SA) | | Min
(ANonce, SNonce) | | Max (ANonce, SNonce)), PTK is temporary key, ANonce be the router generate with
Machine number, SNonce are the random number that the mobile terminal generates, and AA is the mark address of router, and SA is the mark of mobile terminal
Address, PRF-X are pseudo-random function, and Pairwise key expansion is constant character string.
It should be noted that the router is when sending the first random number to the mobile terminal, which includes institutes
Address MAC (Media Access Control or Medium Access Control) of router is stated, free translation is media interviews
Control or physical address, hardware address, for defining the position of the network equipment, in inventionthe open systems interconnection reference model
(Open System Interconnection, OSI/RM, Open System Interconnection Reference
Model in), third layer network layer is responsible for IP address, and second layer data link is then responsible for MAC Address.Therefore a host has
One MAC Address, and each network site has the IP address for being specific to it, the MAC Address is determined by network interface card,
It is fixed.The MAC Address is mark address described above.
Step S506: generating third random number and is sent to the third random number and first temporary key described
Router.
The mobile terminal generates third random number, third random number is sent after calculating the first temporary key
To the router, wherein contain the MAC Address of the mobile terminal, i.e., the described mark address.
Step S507: the second consequential signal from the router is received.
The second temporary key is calculated after receiving the second random number in the router, by second temporary key
It is matched with first temporary key, connection is established after successful match, and send the second consequential signal to mobile whole
End, mobile terminal confirm that connection is completed when receiving second signal.
The scheme that the present embodiment proposes are as follows: mobile terminal identifies that the pictorial information of router sends the first request to server
The second dynamic password is received from server after signal and the second master key is generated according to the second dynamic password, and router is from server
It receives the first dynamic password and the first master key is generated according to the first dynamic password, the router is made to generate the first random number simultaneously
Be sent to the mobile terminal, the mobile terminal, which receives, generates the second random number after the first random number, and according to first with
Machine number, the second random number and the second master key generate the first temporary key, and the mobile terminal generates third random number and by the
Three random numbers and the first temporary key are sent to the router, the router receive generate after third random number the 4th with
Machine number, and the second temporary key is generated according to third random number, the 4th random number and the first master key, it is interim close generating second
Second temporary key is matched after key with first temporary key, then establishes connection after successful match, and
Link information caused by this time connecting is understood after the completion of connection, and next mobile terminal is avoided to enter in this region WIFI automatically
Connect and influence the speed of service of router.
Fig. 3 is referred to, is the flow diagram of the 3rd embodiment of router network connection method of the present invention.Compared to figure
For second embodiment shown in 2, difference is the present embodiment in step S206: by second temporary key and described first
After temporary key is matched further include:
Step S307: if successful match, the router sends the second temporary key to the mobile terminal.
It is interim by described second again after the router is by the first temporary key and the second temporary key successful match
Key is sent to the mobile terminal, and the mobile terminal is made to carry out matching once again.
Step S308: the router receives the authenticate-acknowledge message from mobile terminal, establish connection and to it is mobile eventually
End sends third consequential signal.
After the mobile terminal receives the second temporary key, by the second temporary key and the first temporary key again into
The primary matching of row, if it fails to match, connection failure sends authenticate-acknowledge message, institute to the router if successful match
It states router to complete connection after receiving authenticate-acknowledge message and send third consequential signal to the mobile terminal, with prompt
Mobile terminal connection result.
Step S309: the router removes link information caused by the connection after connection is completed.
After this successful connection, router can remove dynamic password when this time connecting and the mobile end of this connection
The information etc. at end, master key, the temporary key, the device identification address of the mobile terminal, random number generated such as this connection
Deng so that the mobile terminal cannot connect automatically when entering in this region WIFI next time.
Fig. 6 is referred to, is the flow diagram of the 3rd embodiment of mobile terminal network connection method of the present invention.Compared to
For second embodiment shown in fig. 5, difference is the present embodiment in step S506: generating third random number and by the third
Random number and first temporary key are sent to after the router further include:
Step S607: second temporary key from router is received.
The router is after carrying out successful match for second temporary key and first temporary key, by institute
It states the second temporary key and is sent to the mobile terminal.
Step S608: second temporary key is matched with first temporary key.
The mobile terminal is interim close by described second after receiving the second temporary key from the router
Key is matched with first temporary key, when it fails to match, connection failure.
Step S609: authenticate-acknowledge message is sent to the router in successful match.
The mobile terminal matches second temporary key with first temporary key, in successful match
Authenticate-acknowledge message is sent to the router, to prompt the router authentication to pass through.
Step S610: the third consequential signal from router is received.
The router establishes connection after receiving the authenticate-acknowledge message that the mobile terminal is sent, and sends the
Three consequential signals give the mobile terminal, to prompt the mobile terminal successful connection.
Compared with second embodiment (Fig. 2 and Fig. 5), difference is the scheme that the present embodiment proposes: the router is being incited somebody to action
Second temporary key is matched, and second temporary key is sent to the movement eventually after successful match
End, the mobile terminal is again once matched second temporary key with first temporary key, in successful match
Authenticate-acknowledge message is sent to the router afterwards, described in the router allows after receiving the authenticate-acknowledge message
Mobile terminal is attached, and sends third consequential signal after a connection is established to the mobile terminal, to prompt the shifting
Dynamic terminal completes connection.The present embodiment is matched twice, further increases the safety of network connection.The router is even
It connects removing after completing and this time connects generated link information, next mobile terminal is avoided to enter in this region WIFI automatically
Connect and influence the speed of service of router.
Fig. 7 is referred to, is the structural schematic diagram that mobile terminal of the present invention and router signal transmit.Specifically, the shifting
Dynamic terminal 11 identifies that the pictorial information of the router 12 sends the first request signal, the server 13 to the server 13
The first dynamic password is sent to the router 12 after receiving the first request signal, Xiang Suoshu mobile terminal 11 sends second
Dynamic password, the mobile terminal 11 generate the second master key according to the second dynamic password, and the router 12 is according to described the
One dynamic password generates the first master key, and the router 12 generates the first random number and first random number is sent to institute
Mobile terminal 11 is stated, the mobile terminal 11 generates the second random number after receiving first random number, and according to described
One random number, the second random number and the second master key generate the first temporary key, and the mobile terminal 11 generates third random number
And the third random number and first temporary key are sent to the router 12, the router 12 receives described
The 4th random number is generated after third random number and first temporary key, according to third random number, the 4th random number and first
Master key generate the second temporary key, second temporary key is matched with first temporary key, match at
Send second temporary key to the mobile terminal 11 after function, the mobile terminal 11 again by second temporary key with
First temporary key will match, and send authenticate-acknowledge message, the road to the router 12 after successful match
Connection is established after receiving the authenticate-acknowledge message by device 12, and sends consequential signal to the mobile terminal 11, to mention
Show that the mobile terminal 11 is connected to the network successfully.
Referring to Fig. 8, being the structural schematic diagram of mobile terminal or router of the present invention.The mobile terminal or router packet
Include processor 51 and the memory connect with processor lotus root 52.
The memory 52 is stored with the program instruction of the network connection for realizing any of the above-described.
The processor 51 is used to execute the described program instruction of the storage of memory 52.
Wherein, processor 51 can also be known as CPU (Central Processing Unit, central processing unit).Processing
Device 51 may be a kind of IC chip, the processing capacity with signal.Processor 51 can also be general processor, number
Signal processor (DSP), specific integrated circuit (ASIC), ready-made programmable gate array (FPGA) or other programmable logic devices
Part, discrete gate or transistor logic, discrete hardware components.General processor can be microprocessor or the processor
It is also possible to any conventional processor etc..
Memory 52 can be memory bar, TF card etc., can store all information in mobile terminal, including the original of input
Data, computer program, intermediate operation result and final operation result all save in memory.It is specified according to controller
Position deposit and taking-up information.There is memory, mobile terminal just has memory function, just can guarantee normal work.Mobile terminal
In memory can be divided into main memory (memory) and additional storage (external memory) by purposes memory, also have and be divided into external storage
The classification method of device and internal storage.External memory is usually magnetic medium or CD etc., energy long-term preservation information.Memory refers to mainboard
On storage unit, be used to store the data and program being currently executing, but be only used for temporarily storing program and data, close
Power supply or power-off, data can lose.
The mobile terminal or router further include other devices, with mobile terminal in the prior art or router
In other devices and function it is identical, details are not described herein.
It is the structural schematic diagram of storage medium embodiment of the present invention refering to Fig. 9.The storage medium of the application is stored with can
Realize the above-mentioned methodical program data 61 of institute, wherein the program data 61 can be stored in above-mentioned in the form of software products
In storage medium, including some instructions are used so that a computer equipment (can be personal computer, server or net
Network equipment etc.) or processor (processor) execute each embodiment the method for the application all or part of the steps.And
Storage device above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory
The various media that can store program code such as device (RAM, Random Access Memory), magnetic or disk, either
The terminal devices such as computer, server, mobile phone, plate.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the division of unit,
Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be with
In conjunction with or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING of device or unit or
Communication connection can be electrical property, mechanical or other forms.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
Mode the above is only the implementation of the present invention is not intended to limit the scope of the invention, all to utilize this
Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content, it is relevant to be applied directly or indirectly in other
Technical field is included within the scope of the present invention.
Claims (10)
1. a kind of router network connection method characterized by comprising
Router receives the first dynamic password from server;
The router receives the second dynamic password from mobile terminal and moves second dynamic password with described first
State password is matched;
Connection is established in successful match and sends the first consequential signal to mobile terminal;
The router removes link information caused by the connection after connection is completed.
2. method for connecting network according to claim 1, which is characterized in that the router receives the from server
After one dynamic password, further includes:
The router generates the first master key according to first dynamic password;
The router generates the first random number and sends first random number to mobile terminal;
It receives third random number and the first temporary key from mobile terminal and generates the 4th random number;
The second temporary key is generated according to the third random number, the 4th random number and the first master key;
Second temporary key is matched with first temporary key;
Connection is established in successful match and sends the second consequential signal to mobile terminal.
3. method for connecting network according to claim 2, which is characterized in that it is described by second temporary key with it is described
After first temporary key is matched, further includes:
If when successful match, the router sends second temporary key to the mobile terminal;
The router receives the authenticate-acknowledge message from mobile terminal, establishes connection and sends third result to mobile terminal
Signal.
4. method for connecting network according to claim 2, which is characterized in that the router is close according to first dynamic
Code generates the mode of the first master key are as follows:
PMK=pbkdf2_shal (the first dynamic password, SSID, SSID length, 4096);
Wherein, PMK is master key, and SSID is the address of router;
The mode that the second temporary key is generated according to the third random number, the 4th random number and the first master key are as follows:
PTK=PRF-X (PMK, " Pairwise key expansion ", Min (AA, SA) | | Max (AA, SA) | | Min
(ANonce, SNonce) | | Max (ANonce, SNonce));
Wherein, PTK is temporary key, and ANonce is the random number that the router generates, and SNonce is mobile terminal production
Raw random number, AA are the mark address of router, and SA is the mark address of mobile terminal, and PRF-X is pseudo-random function,
Pairwise key expansion is constant character string.
5. a kind of mobile terminal network connection method characterized by comprising
The mobile terminal identifies the pictorial information from the router, sends the first request to server after identifying successfully
Signal;
Receive the second dynamic password from server;
The second dynamic password is sent to the router;
Receive the first consequential signal from the router.
6. method for connecting network according to claim 5, which is characterized in that second dynamic of the reception from server
After password, further includes:
The mobile terminal generates the second master key according to second dynamic password;
It receives the first random number from the router and generates the second random number;
The first temporary key is generated according to first random number, the second random number and the second master key;
It generates third random number and the third random number and first temporary key is sent to the router;
Receive the second consequential signal from the router.
7. method for connecting network according to claim 6, which is characterized in that the generation third random number and by described
Three random numbers and first temporary key are sent to after the router, further includes:
Receive second temporary key from router;
Second temporary key is matched with first temporary key;
Authenticate-acknowledge message is sent to the router in comparison match success;
Receive the third consequential signal from router.
8. a kind of mobile terminal, which is characterized in that including memory interconnected and processor, wherein
The memory is used to store the program instruction for realizing the method for connecting network as described in claim 5-7 any one;
The processor is used to execute the described program instruction of the memory storage.
9. a kind of router, which is characterized in that including memory interconnected and processor, wherein
The memory is used to store the program instruction for realizing the method for connecting network as described in claim 1-4 any one;
The processor is used to execute the described program instruction of the memory storage.
10. a kind of storage medium, which is characterized in that be stored with program data, described program data can be performed to realize such as
Method for connecting network described in claim 1-7 any one.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910355810.1A CN110213760B (en) | 2019-04-29 | 2019-04-29 | Router, mobile terminal, network connection method thereof and storage medium |
EP19927153.7A EP3965445A4 (en) | 2019-04-29 | 2019-12-13 | Router, network connection method and mobile terminal |
PCT/CN2019/125051 WO2020220694A1 (en) | 2019-04-29 | 2019-12-13 | Router, network connection method and mobile terminal |
US17/602,818 US20220159462A1 (en) | 2019-04-29 | 2019-12-13 | Router, network connection method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910355810.1A CN110213760B (en) | 2019-04-29 | 2019-04-29 | Router, mobile terminal, network connection method thereof and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110213760A true CN110213760A (en) | 2019-09-06 |
CN110213760B CN110213760B (en) | 2022-02-11 |
Family
ID=67786714
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910355810.1A Active CN110213760B (en) | 2019-04-29 | 2019-04-29 | Router, mobile terminal, network connection method thereof and storage medium |
Country Status (4)
Country | Link |
---|---|
US (1) | US20220159462A1 (en) |
EP (1) | EP3965445A4 (en) |
CN (1) | CN110213760B (en) |
WO (1) | WO2020220694A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020220694A1 (en) * | 2019-04-29 | 2020-11-05 | 惠州Tcl移动通信有限公司 | Router, network connection method and mobile terminal |
CN113873485A (en) * | 2021-09-22 | 2021-12-31 | 联想(北京)有限公司 | Communication method and communication system |
CN114500032A (en) * | 2022-01-24 | 2022-05-13 | 北京华云安信息技术有限公司 | Starting method of router debugging mode |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20230032967A1 (en) * | 2021-07-29 | 2023-02-02 | Red Hat, Inc. | Establishing process connections utilizing an intermediary broker |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104967997A (en) * | 2015-05-28 | 2015-10-07 | 广东欧珀移动通信有限公司 | Wireless network accessing method, Wi-Fi equipment, terminal equipment and system |
CN104994118A (en) * | 2015-08-11 | 2015-10-21 | 吴培希 | WiFi authentication system and method based on dynamic password |
CN106375999A (en) * | 2016-08-30 | 2017-02-01 | 福建联迪商用设备有限公司 | Method and device for quickly connecting WiFi |
WO2017054483A1 (en) * | 2015-09-28 | 2017-04-06 | 腾讯科技(深圳)有限公司 | Method for connecting to wireless access point, terminal, server, and non-volatile computer-readable storage medium |
US20170242874A1 (en) * | 2005-08-03 | 2017-08-24 | Michael Edward Finnegan | Realtime, Interactive and Geographically Defined Computerized Personal Identification and Payment Matching Methods |
CN107659936A (en) * | 2016-07-25 | 2018-02-02 | 中兴通讯股份有限公司 | A kind of cut-in method and device of control WiFi access devices |
CN107864475A (en) * | 2017-12-20 | 2018-03-30 | 中电福富信息科技有限公司 | The quick authentication methods of WiFi based on Portal+ dynamic passwords |
CN108990062A (en) * | 2018-07-13 | 2018-12-11 | 全讯汇聚网络科技(北京)有限公司 | Intelligent and safe Wi-Fi management method and system |
US20190104411A1 (en) * | 2017-09-29 | 2019-04-04 | Plume Design, Inc. | Controlled guest access to wi-fi networks |
Family Cites Families (33)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1615380A1 (en) * | 2004-07-07 | 2006-01-11 | Thomson Multimedia Broadband Belgium | Device and process for wireless local area network association |
GB0507988D0 (en) * | 2005-04-20 | 2005-05-25 | Connect Spot Ltd | Wireless access system |
WO2007096554A2 (en) * | 2006-02-21 | 2007-08-30 | France Telecom | Method and device for securely configuring a terminal |
US20140355592A1 (en) * | 2012-11-01 | 2014-12-04 | Datavalet Technologies | System and method for wireless device detection, recognition and visit profiling |
US8898474B2 (en) * | 2008-11-04 | 2014-11-25 | Microsoft Corporation | Support of multiple pre-shared keys in access point |
US8331567B2 (en) * | 2009-03-30 | 2012-12-11 | Intel Corporation | Methods and apparatuses for generating dynamic pairwise master keys using an image |
US9119070B2 (en) * | 2009-08-31 | 2015-08-25 | Verizon Patent And Licensing Inc. | Method and system for detecting unauthorized wireless devices |
HUE046534T2 (en) * | 2010-09-16 | 2020-03-30 | Nokia Technologies Oy | Dynamic account creation with secured hotspot network |
US20120284785A1 (en) * | 2011-05-05 | 2012-11-08 | Motorola Mobility, Inc. | Method for facilitating access to a first access nework of a wireless communication system, wireless communication device, and wireless communication system |
CN103249047B (en) * | 2012-02-10 | 2018-11-23 | 南京中兴新软件有限责任公司 | The access authentication method and device of WLAN hot spot |
US9161219B2 (en) * | 2012-06-22 | 2015-10-13 | Guest Tek Interactive Entertainment Ltd. | Authorizing secured wireless access at hotspot having open wireless network and secure wireless network |
US8977856B2 (en) * | 2012-08-31 | 2015-03-10 | Blackberry Limited | Methods and apparatus for use in sharing credentials amongst a plurality of mobile communication devices |
WO2015089324A1 (en) * | 2013-12-11 | 2015-06-18 | Nantmobile, Llc | Recognition-based authentication, systems and methods |
US20150229475A1 (en) * | 2014-02-10 | 2015-08-13 | Qualcomm Incorporated | Assisted device provisioning in a network |
US10057813B1 (en) * | 2014-05-09 | 2018-08-21 | Plume Design, Inc. | Onboarding and configuring Wi-Fi enabled devices |
CN104394533B (en) * | 2014-11-24 | 2018-03-23 | 中国联合网络通信集团有限公司 | Wireless Fidelity WiFi connection methods, server and terminal |
JP6560559B2 (en) * | 2015-08-10 | 2019-08-14 | キヤノン株式会社 | Information processing apparatus, information processing apparatus control method, and program |
US9853968B2 (en) * | 2015-08-19 | 2017-12-26 | Winifred Shen | Systems and methods for authenticating users accessing a secure network with one-session-only, on-demand login credentials |
US10034237B2 (en) * | 2016-02-08 | 2018-07-24 | Cisco Technology, Inc. | System and method to facilitate hotspot onboarding for user equipment in a network environment |
CN107040922B (en) * | 2016-05-05 | 2019-11-26 | 腾讯科技(深圳)有限公司 | Wireless network connecting method, apparatus and system |
US10334438B2 (en) * | 2016-06-21 | 2019-06-25 | ANI Technologies Private Limited | System and method for creating and managing wireless networks |
US11044240B2 (en) * | 2016-08-01 | 2021-06-22 | At&T Intellectual Property I, L.P. | Method and system to manage access to a wireless local area network |
CN106412897A (en) * | 2016-10-08 | 2017-02-15 | 西安瀚炬网络科技有限公司 | WiFi authentication method based on server |
DE102016223633A1 (en) * | 2016-11-29 | 2018-05-30 | Siemens Aktiengesellschaft | Method and devices for providing at least one service, in particular in the automotive environment |
US11832100B2 (en) * | 2017-05-16 | 2023-11-28 | Apple Inc. | Secure password sharing for wireless networks |
US10516570B1 (en) * | 2017-09-27 | 2019-12-24 | NortonLifeLock Inc. | Systems and methods for tagging client devices |
CN108111522A (en) * | 2017-12-28 | 2018-06-01 | 武汉长光科技有限公司 | It is a kind of that the method for stablizing safe universal service protocol frame is realized on onu |
CN109548018B (en) * | 2019-01-11 | 2021-11-23 | 腾讯科技(深圳)有限公司 | Wireless network access method, device, equipment and system |
US11405789B1 (en) * | 2019-02-12 | 2022-08-02 | Amazon Technologies, Inc. | Cloud-based secure wireless local area network (WLAN) group self-forming technologies |
CN110213760B (en) * | 2019-04-29 | 2022-02-11 | 惠州Tcl移动通信有限公司 | Router, mobile terminal, network connection method thereof and storage medium |
US11218374B2 (en) * | 2019-07-30 | 2022-01-04 | Microsoft Technology Licensing, Llc | Discovery and resolution of network connected devices |
US11368994B1 (en) * | 2020-03-02 | 2022-06-21 | Amazon Technologies, Inc. | Process for managing reconnections of devices in a network |
CN114268931A (en) * | 2020-09-14 | 2022-04-01 | 华为技术有限公司 | IoT (Internet of things) equipment management method and terminal |
-
2019
- 2019-04-29 CN CN201910355810.1A patent/CN110213760B/en active Active
- 2019-12-13 WO PCT/CN2019/125051 patent/WO2020220694A1/en unknown
- 2019-12-13 EP EP19927153.7A patent/EP3965445A4/en active Pending
- 2019-12-13 US US17/602,818 patent/US20220159462A1/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170242874A1 (en) * | 2005-08-03 | 2017-08-24 | Michael Edward Finnegan | Realtime, Interactive and Geographically Defined Computerized Personal Identification and Payment Matching Methods |
CN104967997A (en) * | 2015-05-28 | 2015-10-07 | 广东欧珀移动通信有限公司 | Wireless network accessing method, Wi-Fi equipment, terminal equipment and system |
CN104994118A (en) * | 2015-08-11 | 2015-10-21 | 吴培希 | WiFi authentication system and method based on dynamic password |
WO2017054483A1 (en) * | 2015-09-28 | 2017-04-06 | 腾讯科技(深圳)有限公司 | Method for connecting to wireless access point, terminal, server, and non-volatile computer-readable storage medium |
CN107659936A (en) * | 2016-07-25 | 2018-02-02 | 中兴通讯股份有限公司 | A kind of cut-in method and device of control WiFi access devices |
CN106375999A (en) * | 2016-08-30 | 2017-02-01 | 福建联迪商用设备有限公司 | Method and device for quickly connecting WiFi |
US20190104411A1 (en) * | 2017-09-29 | 2019-04-04 | Plume Design, Inc. | Controlled guest access to wi-fi networks |
CN107864475A (en) * | 2017-12-20 | 2018-03-30 | 中电福富信息科技有限公司 | The quick authentication methods of WiFi based on Portal+ dynamic passwords |
CN108990062A (en) * | 2018-07-13 | 2018-12-11 | 全讯汇聚网络科技(北京)有限公司 | Intelligent and safe Wi-Fi management method and system |
Non-Patent Citations (2)
Title |
---|
朱丹等: "短信身份认证的风险分析", 《中国金融电脑》 * |
郑旋: "《基于WAP 的双向认证密钥协商方案》", 《计算机工程》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020220694A1 (en) * | 2019-04-29 | 2020-11-05 | 惠州Tcl移动通信有限公司 | Router, network connection method and mobile terminal |
CN113873485A (en) * | 2021-09-22 | 2021-12-31 | 联想(北京)有限公司 | Communication method and communication system |
CN113873485B (en) * | 2021-09-22 | 2024-04-23 | 联想(北京)有限公司 | Communication method and communication system |
CN114500032A (en) * | 2022-01-24 | 2022-05-13 | 北京华云安信息技术有限公司 | Starting method of router debugging mode |
CN114500032B (en) * | 2022-01-24 | 2024-03-29 | 北京华云安信息技术有限公司 | Method for starting router debugging mode |
Also Published As
Publication number | Publication date |
---|---|
WO2020220694A1 (en) | 2020-11-05 |
EP3965445A4 (en) | 2023-01-25 |
US20220159462A1 (en) | 2022-05-19 |
EP3965445A1 (en) | 2022-03-09 |
CN110213760B (en) | 2022-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110213760A (en) | Router, mobile terminal and its network connection method and storage medium | |
EP3651485B1 (en) | Bluetooth cluster online upgrade method and apparatus | |
CN103685210B (en) | The register method and device of terminal | |
CN108833122A (en) | Awakening method, device and the storage medium of vehicle-carrying communication controller | |
EP3937053B1 (en) | Methods and apparatuses for transferring transaction based on blockchain integrated station | |
CN102883316A (en) | Connection establishing method, terminal and access point | |
CN108259164A (en) | The identity identifying method and equipment of a kind of internet of things equipment | |
CN111461720B (en) | Identity verification method and device based on blockchain, storage medium and electronic equipment | |
CN112217683A (en) | Cross-heterogeneous-chain data reachability processing method, system, medium, device and terminal | |
CN110266763A (en) | Block chain network implementation method, system and the storage medium of cross-network segment interconnection | |
CN106506595A (en) | Upgrade method based on point-to-point Internet of Things intelligent Community equipment | |
CN105262773A (en) | A verification method and apparatus for an IOT system | |
CN106713522A (en) | Wireless fidelity (Wi-Fi) connection method and mobile terminal | |
CN113536284B (en) | Digital certificate verification method, device, equipment and storage medium | |
CN113141340A (en) | Multi-node authentication method and device based on block chain | |
US8341703B2 (en) | Authentication coordination system, terminal apparatus, storage medium, authentication coordination method, and authentication coordination program | |
CN107659999A (en) | WIFI connection methods and equipment | |
CN107820246A (en) | The methods, devices and systems of user authentication | |
CN112689316A (en) | Binding method and device of intelligent equipment, storage medium and electronic device | |
CN111901208A (en) | Intelligent equipment control method and device, intelligent control panel and storage medium | |
CN105451367A (en) | Wireless network connection method, device and system | |
CN103199990A (en) | Method and device for routing protocol authentication transfer | |
US8195936B2 (en) | Method for transmitting and receiving data of a terminal in a communication system and communication terminal thereof | |
CN105763456A (en) | Path selection method, device and system | |
CN112367381A (en) | Integrated machine device, system, method, equipment and medium for block chain cross-chain operation |
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 |