CN105430714A - Terminal and router password modification synchronizing method - Google Patents

Terminal and router password modification synchronizing method Download PDF

Info

Publication number
CN105430714A
CN105430714A CN201510714722.8A CN201510714722A CN105430714A CN 105430714 A CN105430714 A CN 105430714A CN 201510714722 A CN201510714722 A CN 201510714722A CN 105430714 A CN105430714 A CN 105430714A
Authority
CN
China
Prior art keywords
router
password
message
terminal
module
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.)
Pending
Application number
CN201510714722.8A
Other languages
Chinese (zh)
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.)
China Railway Engineering Equipment Group Co Ltd CREG
Original Assignee
China Railway Engineering Equipment Group Co Ltd CREG
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 China Railway Engineering Equipment Group Co Ltd CREG filed Critical China Railway Engineering Equipment Group Co Ltd CREG
Priority to CN201510714722.8A priority Critical patent/CN105430714A/en
Publication of CN105430714A publication Critical patent/CN105430714A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/12Access restriction or access information delivery, e.g. discovery data delivery using downlink control channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a terminal and router password modification synchronizing method, comprising the steps of: a user modifying the access password of a router; the router packaging the access password through a message sending module, and sending the access password to an originally authenticated terminal; a message receiving module of the terminal receiving the packaging message transmitted by a router side, and extracting a new router access password; and the message receiving module sending the new router access password to a password updating module, and the password updating module automatically updating the router access password of the terminal. Through a router side message sending module and a terminal side message receiving unit, the router can actively send a message to the authenticated terminal to update a connection password at the same time of modifying a password; a terminal side receives the connection password, and then automatically modifies a router access password by utilizing the password updating module according to the information of the router; in a whole password modification updating process, the router can keep connection with the terminal, thereby guaranteeing user data communication continuity, requiring no user intervention, and realizing complete transparency for the user.

Description

A kind of terminal and router password amendment synchronous method
Technical field
The present invention relates to the technical field of router synchronization, be specifically related to a kind of terminal and router password amendment synchronous method.
Background technology
For the sake of security, network manager can be regular routers carry out password update, and the usual practice is after password update, and keeper also needs to notify that each user's manual modification password just can continue accesses network one by one, although this improves safety factor, be reduction of Consumer's Experience.
Chinese invention patent application 201310257020.2 discloses " WiFi cut-in method, intelligent terminal and routing device ", its technical scheme is: intelligent terminal is after accessing routing device by WiFi, the device identification of described routing device is preserved in this locality, Modify password request is sent to described routing device, new password is sent to described routing device and preserves described new password in this locality, wherein, complete the amendment of described new password at described routing device after, automatically disconnect all access users; Described intelligent terminal disconnects and being connected with the WiFi of described routing device, the WiFi signal around automatic scan, and the device identification of the described routing device device identification corresponding to the WiFi signal scanned preserved with this locality is mated; Described intelligent terminal, after the match is successful, sends access request to described routing device again, and the described new password that this locality is preserved is sent to described routing device, again accesses described routing device.This patent is achieved and is realized after the operations such as routers Modify password by terminal, and terminal promptly can access focus again.But this patent sends password amendment request by terminal to router, in the process of router Modify password, need to disconnect all terminals and connect, this is for the user just in data communication, greatly can reduce its online and experience.
Summary of the invention
In order to solve the problems of the technologies described above, the invention provides a kind of terminal and router password amendment synchronous method, the password update of support terminal and router can keep synchronous, without the need to disconnecting the connection with terminal in the process that whole password amendment upgrades, ensure that the data communication continuity of user.
In order to achieve the above object, technical scheme of the present invention is: a kind of terminal and router password amendment synchronous method, and its step is as follows:
Step 1: user revises the access pin of router;
Step 2: router sends to the authenticated terminal passed through originally after being encapsulated by access pin by message transmission module;
Step 3: the encapsulation messages of the message reception module receiving router side transmission of terminal, and extract new route access pin;
Step 4: new route access pin is sent to password update module by message reception module, the route access pin of the automatic more new terminal of password update module.
Described message transmission module is located at router side, and message transmission module is used for, after router side monitors password update, new route access pin is sent to the authenticated terminal passed through originally; Router side message transmission module comprises message sending unit, for new route access pin being sent to the authenticated terminal passed through originally.
New route access pin is encapsulated in the OPTION option of DHCP agreement ACK message by described message transmission module, is sent to the terminal of authentication success by message sending unit.
Described terminal is provided with message reception module and password update module, and message reception module is used for receiving password update message in end side; Message reception module comprises message reception units, and message reception units is for extracting the password update message of the router side information of reception; The updating message that password update module is used for receiving according to message reception module revises route access pin automatically; Password update module comprises password update unit, and password update unit is used for upgrading local password according to new route access pin.
The method of the route access pin that described extraction is new is: after the message reception module of terminal receives the ACK message of DHCP agreement, message reception units resolves ACK message, whether the OPTION option judging in ACK message has the data of new route access pin, if had, then extract new route access pin; If no, then ACK message is common DHCP protocol interaction message, will not deal with.
Described message transmission module with the dynamic carry of the form of LKM in router operating system; Described message reception module and password update module with the form dynamic load of LKM in the operating system of terminal.
New route access pin encapsulates with the form of character string by described message reception module, and packaging information is sent to password update module by the Interprocess Communication Mechanism under kernel state by message reception module.
The present invention is by router side message transmission module and end side message reception units, router is while Modify password, initiatively send message and upgrade its connection password to the authenticated terminal passed through of script, end side receives the rear Information Pull password update module according to router and automatically revises route access pin, without the need to disconnecting the connection with terminal in the process that whole password amendment upgrades, ensure that the data communication continuity of user, and whole process is without the need to user intervention, completely transparent to user.
Accompanying drawing explanation
Fig. 1 is flow chart of the present invention.
Fig. 2 is transfer of data schematic diagram of the present invention.
Embodiment
In order to make technical problem to be solved by this invention, technical scheme and beneficial effect clearly understand, below in conjunction with embodiment, the present invention will be described in detail.It should be noted that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
A kind of terminal and router password amendment synchronous method, as shown in Figure 1, its step is as follows:
Step 1: user revises the access pin of router.
Router originally provides the interface of password amendment as user, when after user's Modify password, router operating system can real-time monitor password amendment, simultaneously, router side has data structure to safeguard successfully accessing the authenticated terminal passed through of this router, the above function being all router and originally possessing.Router side is provided with message transmission module, and message transmission module is used for, after router side monitors password update, new route access pin is sent to the authenticated terminal passed through originally.Router side message transmission module comprises message sending unit, for new route access pin being sent to the authenticated terminal passed through originally.
Step 2: router sends to the authenticated terminal passed through originally after being encapsulated by access pin by message transmission module.
Message transmission module is with LKM(LoadableKernelModule) the dynamic carry of form in router operating system, kernel state Real-Time Monitoring router password amendment change.After router password is modified, new cipher seal installs in message and sends to end side by message transmission module, directly can call the ACK message in standard DHCP protocol herein, and is filled in the OPTION option of ACK message by new password.Namely message transmission module is contained in new cipher seal in the OPTION option of DHCP agreement ACK message, is sent to the terminal of authentication success by message sending unit.
Step 3: the encapsulation messages of the message reception module receiving router side transmission of terminal, and extract new route access pin.
End side is provided with message reception module and password update module.Message reception module is used for receiving password update message in end side.Message reception module comprises message reception units, and message reception units is for extracting the password update message of the router side information of reception.Message reception module receiving router sends ACK message by standard DHCP protocol, and namely the message transmission module of route side and the message reception module of end side carry out transmission of messages by the DHCP agreement of standard.Wherein, the DHCP consultation of standard monitors the interacting message of whole DHCP agreement automatically.The updating message that password update module is used for receiving according to message reception module revises route access pin automatically.Password update module comprises password update unit, for upgrading local password according to new route access pin.Message reception module and password update module be with the form dynamic load of LKM in the operating system of terminal.
After the message reception module of terminal receives the ACK message of DHCP agreement, message reception units can resolve this ACK message, judges whether the OPTION option in ACK message has data, if had, then extracts data, and these data are exactly new router side access pin; If no, then this ACK message is common DHCP protocol interaction message, will not do other process.Namely message reception units can by extracting the OPTION option value in ACK message, and namely can extract new route access pin, this route access pin is the route access pin that user revises on the router.
Step 4: new route access pin is sent to password update module by message reception module, the route access pin of the automatic more new terminal of password update module.
After message reception units extracts password, information transmission can be carried out based on the Interprocess Communication Mechanism under kernel state, such as nfsocket or libnetlink mechanism.Message reception units can by password to send to password update module after the encapsulation of the form of character string, and password update unit carries out the real-time listening of process, once collect new route access pin, just carries out renewal rewards theory.Terminal is once couple in router, and can preserve route access pin in this locality, this is the method for operation of standard, and password update unit only needs to utilize route access pin to upgrade the password that this locality is preserved.
Namely after message reception units extracts the route access pin in ACK message, password originally is just replaced by password update unit, thus realizes the synchronous of end side route access pin and the access pin that router is arranged.In whole password amendment renewal process, terminal keeps communicating to connect with router all the time, and whole process is without the need to the connection of disconnected end and router.
Therefore, the present invention is by router side message transmission module and end side message reception units, router is while Modify password, initiatively send message and upgrade its connection password to the authenticated terminal passed through of script, end side receives the rear Information Pull password update module according to router and automatically revises route access pin, go again after not needing keeper's Modify password to notify that the user originally connected needs Modify password, eliminate loaded down with trivial details password modification process, and significantly improve Consumer's Experience.
Embodiment:
As shown in Figure 2, user have modified its access pin on the router, and customer end A and customer end B also normally carry out network service by original password success couple in router; Amended password is issued customer end A and customer end B by message transmission module by router; Extract route access pin by message reception units after customer end A and customer end B receive, password update module upgrades local route access pin automatically.Therefore, the present invention successfully have updated password when not needing disconnection network to reconnect, and whole process is completely transparent to user.
The above; be only the present invention's preferably embodiment, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.

Claims (7)

1. terminal and a router password amendment synchronous method, it is characterized in that, its step is as follows:
Step 1: user revises the access pin of router;
Step 2: router sends to the authenticated terminal passed through originally after being encapsulated by access pin by message transmission module;
Step 3: the encapsulation messages of the message reception module receiving router side transmission of terminal, and extract new route access pin;
Step 4: new route access pin is sent to password update module by message reception module, the route access pin of the automatic more new terminal of password update module.
2. terminal according to claim 1 and router password amendment synchronous method, it is characterized in that, described message transmission module is located at router side, and message transmission module is used for, after router side monitors password update, new route access pin is sent to the authenticated terminal passed through originally; Router side message transmission module comprises message sending unit, for new route access pin being sent to the authenticated terminal passed through originally.
3. terminal according to claim 2 and router password amendment synchronous method, it is characterized in that, new route access pin is encapsulated in the OPTION option of DHCP agreement ACK message by described message transmission module, is sent to the terminal of authentication success by message sending unit.
4. terminal according to claim 3 and router password amendment synchronous method, it is characterized in that, described terminal is provided with message reception module and password update module, and message reception module is used for receiving password update message in end side; Message reception module comprises message reception units, and message reception units is for extracting the password update message of the router side information of reception; The updating message that password update module is used for receiving according to message reception module revises route access pin automatically; Password update module comprises password update unit, and password update unit is used for upgrading local password according to new route access pin.
5. terminal according to claim 4 and router password amendment synchronous method, it is characterized in that, the method of the route access pin that described extraction is new is: after the message reception module of terminal receives the ACK message of DHCP agreement, message reception units resolves ACK message, whether the OPTION option judging in ACK message has the data of new route access pin, if had, then extract new route access pin; If no, then ACK message is common DHCP protocol interaction message, will not deal with.
6. terminal according to claim 4 and router password amendment synchronous method, it is characterized in that, described message transmission module with the dynamic carry of the form of LKM in router operating system; Described message reception module and password update module with the form dynamic load of LKM in the operating system of terminal.
7. terminal according to claim 4 and router password amendment synchronous method, it is characterized in that, new route access pin encapsulates with the form of character string by described message reception module, and packaging information is sent to password update module by the Interprocess Communication Mechanism under kernel state by message reception module.
CN201510714722.8A 2015-10-29 2015-10-29 Terminal and router password modification synchronizing method Pending CN105430714A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510714722.8A CN105430714A (en) 2015-10-29 2015-10-29 Terminal and router password modification synchronizing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510714722.8A CN105430714A (en) 2015-10-29 2015-10-29 Terminal and router password modification synchronizing method

Publications (1)

Publication Number Publication Date
CN105430714A true CN105430714A (en) 2016-03-23

Family

ID=55508579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510714722.8A Pending CN105430714A (en) 2015-10-29 2015-10-29 Terminal and router password modification synchronizing method

Country Status (1)

Country Link
CN (1) CN105430714A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603285A (en) * 2016-12-14 2017-04-26 邯郸美的制冷设备有限公司 Binding method, binding system and router
CN107087291A (en) * 2016-11-29 2017-08-22 海尔优家智能科技(北京)有限公司 Method and router and terminal device that a kind of Auto-reconnect connects
WO2018010425A1 (en) * 2016-07-12 2018-01-18 中兴通讯股份有限公司 Method and apparatus for pushing and receiving wi-fi hotspot information, and storage medium
CN109151010A (en) * 2018-08-09 2019-01-04 北京小米移动软件有限公司 Method for connecting network, device and storage medium
CN110621015A (en) * 2018-06-20 2019-12-27 佛山市顺德区美的电热电器制造有限公司 Password modification method and device, intelligent router, intelligent household appliance and storage medium
WO2020135355A1 (en) * 2018-12-24 2020-07-02 中兴通讯股份有限公司 Wireless network configuration method and device
CN111756673A (en) * 2019-03-26 2020-10-09 中移(苏州)软件技术有限公司 Information processing method, server, terminal equipment and storage medium
CN116669026A (en) * 2022-12-22 2023-08-29 荣耀终端有限公司 Password updating method, password updating system, electronic equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040083393A1 (en) * 2002-10-24 2004-04-29 Jordan Royce D. Dynamic password update for wireless encryption system
CN1852091A (en) * 2005-10-27 2006-10-25 华为技术有限公司 Method and apparatus for synchronously renewing cipher
CN101005351A (en) * 2006-01-20 2007-07-25 国际商业机器公司 System and method for information processing
CN103605579A (en) * 2013-11-20 2014-02-26 英华达(上海)科技有限公司 Dynamic password synchronization method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040083393A1 (en) * 2002-10-24 2004-04-29 Jordan Royce D. Dynamic password update for wireless encryption system
CN1852091A (en) * 2005-10-27 2006-10-25 华为技术有限公司 Method and apparatus for synchronously renewing cipher
CN101005351A (en) * 2006-01-20 2007-07-25 国际商业机器公司 System and method for information processing
CN103605579A (en) * 2013-11-20 2014-02-26 英华达(上海)科技有限公司 Dynamic password synchronization method

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018010425A1 (en) * 2016-07-12 2018-01-18 中兴通讯股份有限公司 Method and apparatus for pushing and receiving wi-fi hotspot information, and storage medium
CN107613471A (en) * 2016-07-12 2018-01-19 中兴通讯股份有限公司 A kind of WIFI hot spot information-pushing method, method of reseptance and device
CN107087291B (en) * 2016-11-29 2019-12-06 海尔优家智能科技(北京)有限公司 automatic reconnection method, router and terminal equipment
CN107087291A (en) * 2016-11-29 2017-08-22 海尔优家智能科技(北京)有限公司 Method and router and terminal device that a kind of Auto-reconnect connects
CN106603285B (en) * 2016-12-14 2019-09-17 邯郸美的制冷设备有限公司 Binding method, binding system and router
CN106603285A (en) * 2016-12-14 2017-04-26 邯郸美的制冷设备有限公司 Binding method, binding system and router
WO2018107669A1 (en) * 2016-12-14 2018-06-21 邯郸美的制冷设备有限公司 Binding method, binding system and router
CN110621015A (en) * 2018-06-20 2019-12-27 佛山市顺德区美的电热电器制造有限公司 Password modification method and device, intelligent router, intelligent household appliance and storage medium
CN109151010A (en) * 2018-08-09 2019-01-04 北京小米移动软件有限公司 Method for connecting network, device and storage medium
WO2020135355A1 (en) * 2018-12-24 2020-07-02 中兴通讯股份有限公司 Wireless network configuration method and device
CN111756673A (en) * 2019-03-26 2020-10-09 中移(苏州)软件技术有限公司 Information processing method, server, terminal equipment and storage medium
CN116669026A (en) * 2022-12-22 2023-08-29 荣耀终端有限公司 Password updating method, password updating system, electronic equipment and computer readable storage medium
CN116669026B (en) * 2022-12-22 2024-04-05 荣耀终端有限公司 Password updating method, password updating system, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN105430714A (en) Terminal and router password modification synchronizing method
KR102093524B1 (en) Extensible framework for wireless network connectivity
CN111132135B (en) Wireless network distribution method and system for intelligent home terminal
US20100174791A1 (en) Short distance wireless communication system and method for accessing instant messenger
WO2019184658A1 (en) Profile switching method and apparatus, and mobile terminal
EP3484199B1 (en) Virtual card downloading method and terminal
US20130159535A1 (en) Handover Method and System of Dual-Mode Communication Terminal
CN105263101A (en) System and method for smartwatch to receive notification message of mobile phone in real time
CN103997692A (en) Method and system for enabling smart television to be in seamless connection with wireless router
CN105684485A (en) Methods for a link recovery of a wireless network and respective devices
US20190014195A1 (en) Protocol format conversion method and apparatus, and interface platform
CN105471983A (en) Method and system for establishing internet-of-things communication
CN111954100A (en) Interface upgrading method and device and optical network unit management method and device
EP2693691A1 (en) Method and apparatus for initializing gateway in device management system
CN104797004B (en) The method that automatic network-building is realized between master-slave equipment
EP2854027B1 (en) Method for downloading application program, user equipment and application server
CN105072148B (en) Method and device for establishing connection with terminal
US20160057232A1 (en) Portal device management method, portal device and portal system
CN115086061B (en) Authentication and network access control method and system for FTTR
EP2515601B1 (en) Dial-up connection method and device of mobile data terminal
CN103281693A (en) Wireless communication authentication method, network translation equipment and terminal
CN107566476B (en) Access method, SDN controller, forwarding equipment and user access system
US20220109607A1 (en) Customer premises equipment configuration management method and apparatus
CN105072026A (en) Internet-of-things gateway communication system
CN101795186B (en) Linkage disconnecting method, system and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160323

RJ01 Rejection of invention patent application after publication