CN104639371A - Long-distance router control method - Google Patents

Long-distance router control method Download PDF

Info

Publication number
CN104639371A
CN104639371A CN201510053322.7A CN201510053322A CN104639371A CN 104639371 A CN104639371 A CN 104639371A CN 201510053322 A CN201510053322 A CN 201510053322A CN 104639371 A CN104639371 A CN 104639371A
Authority
CN
China
Prior art keywords
router
long
mobile phone
server
phone terminal
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
CN201510053322.7A
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.)
BEIJING JIKEJIKE TECHNOLOGY Co Ltd
Original Assignee
BEIJING JIKEJIKE TECHNOLOGY Co Ltd
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 BEIJING JIKEJIKE TECHNOLOGY Co Ltd filed Critical BEIJING JIKEJIKE TECHNOLOGY Co Ltd
Priority to CN201510053322.7A priority Critical patent/CN104639371A/en
Publication of CN104639371A publication Critical patent/CN104639371A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a long-distance router control method. The long-distance router control method can be used for issuing any order in a long distance manner to an assigned router, so as to check, set up, diagnose and repair the router. According to the long-distance router control method, a router side is communicated with a server side through a first line, and the server side is communicated with a mobile phone side through a second line; the router side uses an openwrt system and is interacted with a bottom driver through a UCI (User Class Identifier) configuration file, the server side uses a lump structure and the mobile phone side is interacted with the server side through a http request sending module; the first line is a TCP (Transmission Control Protocol) long connection between the router side and the server side, and the second line is a link of a http request sent by the mobile phone side at the server side and the mobile phone side.

Description

A kind of method of Long-distance Control router
Technical field
The invention belongs to the technical field of wireless communication, relate to a kind of method of Long-distance Control router particularly.
Background technology
Existing router is as the technology comparative maturity of family expenses and commercial gateway.Meanwhile, the technology of the CS (Client/Server) of mobile phone A PP+ server is also very ripe, and the majority that we see realizes with such framework with the APP of dynamic content.
But due to the characteristic of router, substantially can only be placed on the fixed position that has spider lines, be that the terminal in a fixed physical space is provided services on the Internet, operation and the diagnosis of routers substantially all need to complete in this physical space.Although some class router device with remote download function supports the long-range function by web page operation, as (D-Link DNS-320L), remote-operated function is relatively single.Even if mobile Internet fast development at present, does not have the method for good Long-distance Control router yet.
Summary of the invention
The technology that the present invention will solve is dealt with problems and is: overcome the deficiencies in the prior art, provides a kind of method of Long-distance Control router, and it long-rangely can issue arbitrarily order to Designated Router, realizes long-rangely checking, arranges, diagnoses, repairs router.
Technical solution of the present invention is: the method for this Long-distance Control router, and router side is communicated by first line with server end, and server end and mobile phone terminal are by the second line traffic; Router side uses openwrt system and carries out alternately with bottom layer driving by UCI configuration file, and server end uses lump framework, and mobile phone terminal is undertaken alternately by http request sending module and server end; First line is that router side is connected with the TCP length that server end is set up, and the second circuit is the link being initiated http request by mobile phone terminal of server end and mobile phone terminal.
The present invention uses openwrt system by router side and comes to carry out alternately with bottom layer driving by UCI configuration file, server end uses lump framework, mobile phone terminal is undertaken alternately by http request sending module and server end, thus realize the list of mobile phone terminal long-range reading router link devices, router state, arranges the various parameters of router, restarter, so long-rangely arbitrarily order can be issued to Designated Router, realize long-rangely checking, arrange, diagnose, repair router.
Accompanying drawing explanation
Fig. 1 shows the static map of the method according to Long-distance Control router of the present invention.
Fig. 2 shows the schematic flow sheet of a preferred embodiment of the method according to Long-distance Control router of the present invention.
Fig. 3 shows the mobile phone terminal page according to an example of the present invention.
Embodiment
As shown in Figure 1, the method for this Long-distance Control router, router side is communicated by first line with server end, and server end and mobile phone terminal are by the second line traffic; Router side uses openwrt system and carries out alternately with bottom layer driving by UCI configuration file, and server end uses lump framework, and mobile phone terminal is undertaken alternately by http request sending module and server end; First line is that router side is connected with the TCP length that server end is set up, and the second circuit is the link being initiated http request by mobile phone terminal of server end and mobile phone terminal.
The present invention uses openwrt system by router side and comes to carry out alternately with bottom layer driving by UCI configuration file, server end uses lump framework, mobile phone terminal is undertaken alternately by http request sending module and server end, thus realize the list of mobile phone terminal long-range reading router link devices, router state, arranges the various parameters of router, restarter, so long-rangely arbitrarily order can be issued to Designated Router, realize long-rangely checking, arrange, diagnose, repair router.
Preferably, by UCI configuration file, switch WIFI, WIFI password (can also arrange other hardware attributes) is set, and by UCI configuration file read system information (as start duration lamp), this is just for long-distance support order provides powerful support.
Preferably, described server end has public network IP, and provides stable network service by domain name mapping.
Preferably, mobile phone terminal uses APP (third party application of smart mobile phone) graph rendering module to present the data returned.
Preferably, as shown in Figure 2, the method comprises the following steps:
(1) router to set up with server after reaching the standard grade that TCP is long to be connected;
(2) mobile phone terminal initiates reset command to user, unique sign of subsidiary router in order;
(3) server initiates reboot order by TCP long connection to router;
(4) router exports OK to server, closes HTTP and connects and perform reboot order;
(5) server exports OK and returns to mobile phone terminal, and renders the successful page.
Preferably, router mac address (MAC Address is the physical address be solidificated on network interface card in serial EEPROM, usually have 48 long) is uniquely denoted as in described step (2).
Further, the acquisition methods of described router mac address is, when step (1) sets up TCP connection, the mac address information of oneself is offered server by router, and server will record MAC corresponding when it connects.
Exemplify now two kinds of application scenarioss:
Scene one: oneself is gone to work in company, father and mother surf the Net at home, it is unexpected that router occur that non-networked sex chromosome mosaicism is (as EMS memory occupation is too much, in router, rubbish process is too much), networking speed becomes very slow, and whether father and mother have technical experience, now draw out mobile phone A PP, remote reboot router, is blanked rubbish process automatically.Router can normally have been surfed the Net again.
Scene two: oneself is gone to work in company, catch sight of the spare mobile phone (can network) of oneself, with it not being worn over, worry whether drop on house very not steady and sure, derive the mobile phone A PP of oneself, the long-range networked devices list (mobile terminal can certainly be dynamically connected wifi) checking router, if having just relieved inside list, does not lose.
Mobile phone remote monitoring can be realized easily by the present invention, management, arrange, the basic function of restarting, also can by order self assemble abundant in router, defined the product of interesting use by the visualization window independent assortment that mobile phone A PP is powerful, other demand of higher one-level for user provides unlimited possibility.Now illustrate:
The mobile phone A PP of pole route is with the method achieving the method for Long-distance Control router as shown in Figure 3.User realizes as the function in the page of Fig. 3 by APP, and comprising: open and close wifi, restarter, checks route-map.
The above; it is only preferred embodiment of the present invention; not any pro forma restriction is done to the present invention, every above embodiment is done according to technical spirit of the present invention any simple modification, equivalent variations and modification, all still belong to the protection range of technical solution of the present invention.

Claims (7)

1. a method for Long-distance Control router, is characterized in that: router side is communicated by first line with server end, and server end and mobile phone terminal are by the second line traffic; Router side uses openwrt system and carries out alternately with bottom layer driving by UCI configuration file, and server end uses lump framework, and mobile phone terminal is undertaken alternately by http request sending module and server end; First line is that router side is connected with the TCP length that server end is set up, and the second circuit is the link being initiated http request by mobile phone terminal of server end and mobile phone terminal.
2. the method for Long-distance Control router according to claim 1, is characterized in that: arrange switch WIFI, WIFI password by UCI configuration file, and by UCI configuration file read system information.
3. the method for Long-distance Control router according to claim 2, is characterized in that: described server end has public network IP, and provides stable network service by domain name mapping.
4. the method for Long-distance Control router according to claim 3, is characterized in that: mobile phone terminal uses APP graph rendering module to present the data returned.
5. the method for Long-distance Control router according to claim 4, is characterized in that: the method comprises the following steps:
(1) router to set up with server after reaching the standard grade that TCP is long to be connected;
(2) mobile phone terminal initiates reset command to user, unique sign of subsidiary router in order;
(3) server initiates reboot order by TCP long connection to router;
(4) router exports OK to server, closes HTTP and connects and perform reboot order;
(5) server exports OK and returns to mobile phone terminal, and renders the successful page.
6. the method for Long-distance Control router according to claim 5, is characterized in that: be uniquely denoted as router mac address in described step (2).
7. the method for Long-distance Control router according to claim 6, it is characterized in that: the acquisition methods of described router mac address is, when step (1) sets up TCP connection, the mac address information of oneself is offered server by router, and server will record MAC corresponding when it connects.
CN201510053322.7A 2015-02-02 2015-02-02 Long-distance router control method Pending CN104639371A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510053322.7A CN104639371A (en) 2015-02-02 2015-02-02 Long-distance router control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510053322.7A CN104639371A (en) 2015-02-02 2015-02-02 Long-distance router control method

Publications (1)

Publication Number Publication Date
CN104639371A true CN104639371A (en) 2015-05-20

Family

ID=53217718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510053322.7A Pending CN104639371A (en) 2015-02-02 2015-02-02 Long-distance router control method

Country Status (1)

Country Link
CN (1) CN104639371A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106301944A (en) * 2016-08-30 2017-01-04 上海斐讯数据通信技术有限公司 A kind of router network transfer reading/writing method and transfer server
CN107332700A (en) * 2017-06-22 2017-11-07 上海掌门科技有限公司 A kind of method and apparatus for being used to configure wireless routing device
CN107872364A (en) * 2017-10-12 2018-04-03 上海斐讯数据通信技术有限公司 A kind of monitoring method of router state, apparatus and system
CN105163336B (en) * 2015-08-21 2019-01-18 福建天晴数码有限公司 Optimize the method and system of wireless network stability
CN110460462A (en) * 2019-07-24 2019-11-15 中国移动通信集团黑龙江有限公司 Dual network router control system and dual network router
CN113055411A (en) * 2019-12-26 2021-06-29 中移物联网有限公司 Control method of home networking system, server and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070124482A1 (en) * 2003-11-14 2007-05-31 Lee Se H Extranet access management apparatus and method
CN202425065U (en) * 2011-12-24 2012-09-05 成都市汉云星河网络系统有限公司 Wireless router supporting mobile phone remote control
CN103702399A (en) * 2013-12-25 2014-04-02 福建星网锐捷通讯股份有限公司 Method for managing wireless router through intelligent mobile phone
CN104159244A (en) * 2014-08-05 2014-11-19 王强 Portable wireless network detection evidence-obtaining system
CN104243210A (en) * 2014-09-17 2014-12-24 湖北盛天网络技术股份有限公司 Method and system for remotely having access to administrative web pages of routers

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070124482A1 (en) * 2003-11-14 2007-05-31 Lee Se H Extranet access management apparatus and method
CN202425065U (en) * 2011-12-24 2012-09-05 成都市汉云星河网络系统有限公司 Wireless router supporting mobile phone remote control
CN103702399A (en) * 2013-12-25 2014-04-02 福建星网锐捷通讯股份有限公司 Method for managing wireless router through intelligent mobile phone
CN104159244A (en) * 2014-08-05 2014-11-19 王强 Portable wireless network detection evidence-obtaining system
CN104243210A (en) * 2014-09-17 2014-12-24 湖北盛天网络技术股份有限公司 Method and system for remotely having access to administrative web pages of routers

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105163336B (en) * 2015-08-21 2019-01-18 福建天晴数码有限公司 Optimize the method and system of wireless network stability
CN106301944A (en) * 2016-08-30 2017-01-04 上海斐讯数据通信技术有限公司 A kind of router network transfer reading/writing method and transfer server
CN106301944B (en) * 2016-08-30 2020-02-11 上海斐讯数据通信技术有限公司 Router network transfer read-write method and transfer server
CN107332700A (en) * 2017-06-22 2017-11-07 上海掌门科技有限公司 A kind of method and apparatus for being used to configure wireless routing device
CN107332700B (en) * 2017-06-22 2020-11-06 上海掌门科技有限公司 Method and equipment for configuring wireless routing equipment
CN107872364A (en) * 2017-10-12 2018-04-03 上海斐讯数据通信技术有限公司 A kind of monitoring method of router state, apparatus and system
CN110460462A (en) * 2019-07-24 2019-11-15 中国移动通信集团黑龙江有限公司 Dual network router control system and dual network router
CN113055411A (en) * 2019-12-26 2021-06-29 中移物联网有限公司 Control method of home networking system, server and electronic equipment

Similar Documents

Publication Publication Date Title
CN104639371A (en) Long-distance router control method
CN106603394B (en) Method and device for realizing subscription notification
CN104243210A (en) Method and system for remotely having access to administrative web pages of routers
US20150055509A1 (en) Communications device utilizing a central discovery mechanism, and respective method
CN103430621A (en) Method and system of providing internet protocol (IP) data communication in a NFC peer to peer communication environment
US20160150057A1 (en) Internet of things, communication method, bridge device and access device for internet of things
CN102763373B (en) The method and apparatus using the service of local network devices based on remote access
WO2019128273A1 (en) Method, device and system for determining connection relation of network devices
CN102857588B (en) The processing method of ARP information and device
CN102160337A (en) Reducing cc message transmission in a provider network
US8472420B2 (en) Gateway device
CN111901387A (en) Connection method and device of cloud special line
CN102664808B (en) Router and Web site system thereof
US20160087907A1 (en) Communication device, communication system, and communication method
CN103634396A (en) Method, gateway equipment and system for accessing intranet webpage service data
CN103796191A (en) Method, device and terminal for sending data to user terminal
EP2704373A2 (en) Method, apparatus and system for neighbor discovery
WO2012129830A1 (en) Method and system for accessing web-page-type control interface of data card
CN104735816A (en) Method for controlling wireless equipment in wireless network direct-connection group to be disconencted and wireless equipment
CN104506425A (en) Instant messaging system based on family cloud host and method thereof
CN111866916A (en) Service configuration method, equipment and server
CN107872309A (en) A kind of adaptive approach, device and the equipment of Network Transfer Media and speed
CN106130863A (en) The transfer approach of LAN protocol message, device and system
CN104579967A (en) Transmission path control equipment
CN105591866A (en) Method and system for sharing WIFI, household gateway, and local area network gateway

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150520