CN105991452B - Router and the method for borrowing other people network online - Google Patents

Router and the method for borrowing other people network online Download PDF

Info

Publication number
CN105991452B
CN105991452B CN201510050198.9A CN201510050198A CN105991452B CN 105991452 B CN105991452 B CN 105991452B CN 201510050198 A CN201510050198 A CN 201510050198A CN 105991452 B CN105991452 B CN 105991452B
Authority
CN
China
Prior art keywords
router
network
people
borrowed
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.)
Active
Application number
CN201510050198.9A
Other languages
Chinese (zh)
Other versions
CN105991452A (en
Inventor
陈刚
蔡明哲
丁军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ambit Microsystems Shanghai Ltd
Original Assignee
Ambit Microsystems Shanghai 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 Ambit Microsystems Shanghai Ltd filed Critical Ambit Microsystems Shanghai Ltd
Priority to CN201510050198.9A priority Critical patent/CN105991452B/en
Publication of CN105991452A publication Critical patent/CN105991452A/en
Application granted granted Critical
Publication of CN105991452B publication Critical patent/CN105991452B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A method of borrowing other people network online, it is the following steps are included: the network that local router receives user terminal sending borrows request, other people routers in wireless network around searching for, then other people routers that can be borrowed are obtained in other people routers searched, and it is made into selective listing, then selected from selective listing one as being borrowed router, and carrier server is connected to router sending network borrow request is borrowed, then by being borrowed router for operator identity, online password is issued carrier server and is verified, network service starts after server authentication success.The present invention also provides a kind of routers.In the present embodiment, router and the method by the online of other people networks solve the problems, such as that router can not surf the Internet due to just will appear network connection error when WAN port connection error or modem run-time error.

Description

Router and the method for borrowing other people network online
Technical field
The present invention relates to the methods of router more particularly to configuration of routers network.
Background technique
Currently, router just will appear network company in WAN port connection error or modem run-time error Wrong misses, to can not surf the Internet.
Summary of the invention
In view of this, it is necessary to provide a kind of router, it can be because of WAN port connection error or modulation /demodulation When device run-time error can not surf the Internet, other people network online are borrowed, are increased network utilization simultaneously.
Meanwhile there is a need to provide a kind of method for borrowing other people network online, it can be in WAN port connection error Or modem run-time error borrows other people network online, increases network utilization simultaneously when can not surf the Internet.
Embodiment of the present invention provides a kind of router, for providing network service, the router packet for user terminal It includes: receiving module, screening module, selecting module, request module, authentication module.Receiving module is used to connect net in user terminal The network that user terminal issues is received when network fails borrows request.Search module is used to search for other in the wireless network of surrounding Router.Screening module is made into choosing for obtaining other people routers that can be borrowed in other routers searched Select list.Selecting module for selected from the selective listing one as being borrowed router.Request module is used for institute State be borrowed router issue network borrow request be connected to carrier server.Authentication module is used to be borrowed road by described Operator identity, online password are issued carrier server and verified by device, is proved to be successful, is mentioned for the user terminal For network service.
Preferably, the router further includes timing module, after starting for the network service, when timing network borrows Between and network borrowing time be more than operator allow connect time upper limit when disconnect network borrow connection.
Preferably, the screening module further include: crawl submodule, analysis submodule, Comparative sub-module.Grab submodule Block, the Beacon packet sent for grabbing other people routers.Submodule is analyzed, obtains fortune for analyzing the Beacon packet Seek quotient's information.Comparative sub-module, for the operator's informaiton to be compared and sieved with the operator's informaiton of router records It selects other people routers being consistent with the operator's informaiton of the router records and is made into selective listing.
Preferably, the selecting module is also used to choose other people minimum routings of broadband utilization rate from the selective listing Device is used as and is borrowed router.
Preferably, the selecting module is also used to lose in the authentication module authentication failed or request module request When losing, reselects one and be borrowed router.
The present invention also provides a kind of router, borrow service for providing network for another router, the another way by Device provides network service for user terminal, and the router includes: sending module, detection module, transmission module.Sending module, For adding operator's informaiton in Beacon packet, and carry out the transmission of Beacon packet.Detection module, for detect it is described another When the network of one router borrows request, detect whether that network is allowed to borrow.Transmission module, for sending out another router Operator identity, the online password transmission sent is verified to carrier server, is proved to be successful, network service starts.
Preferably, the sending module is also used to select one of Element ID 32-255 in the Optional of Beacon Item borrows item as network, adds operator's informaiton.
Preferably, the memory module, for when allowing network to borrow request, storing the road for allowing network to borrow request By device MAC Address.
Preferably, the detection module is when the memory module has been stored with the MAC Address of another router The network for refusing another router borrows request, allows in the MAC Address of not stored another router described another The network of one router borrows request.
The present invention provides a kind of method for borrowing other people network online, described for providing network service for user terminal Network service is provided for user terminal the following steps are included: the network for receiving user terminal sending borrows request.Around search Wireless network in other routers.Other people routers that can be borrowed are obtained in other routers searched, and It is made into selective listing.Selected from other people the router selective listings that can be borrowed one as being borrowed router.It is right It is described be borrowed router issue network borrow request be connected to carrier server.It will be runed by the router that is borrowed Quotient's identity, online password are issued carrier server and are verified, and are proved to be successful, provide network service for the user terminal.
Preferably, after the network service starts, timing network borrowing time and network borrowing time be more than operation Network is disconnected when the time upper limit that quotient allows to connect borrows connection.
Preferably, it is described selected from other people routers that can be borrowed one as the step for being borrowed router Suddenly, comprising: other people minimum routers of selection broadband utilization rate, which are used as, from the selective listing is borrowed router.
Preferably, authentication failure is carried out in the carrier server or net is issued to the router that is borrowed When network borrows request failure, reselects one and be borrowed router.
Preferably, described that other people routers that can be borrowed are obtained in other routers searched, and it is made into choosing The step of selecting list is the following steps are included: the Beacon packet that crawl other people routers are sent.The Beacon packet is analyzed to obtain Take operator's informaiton.The operator's informaiton is compared with the operator's informaiton of router records and is filtered out and the road Selective listing is made by other people routers that the operator's informaiton that device records is consistent.
The present invention also provides a kind of methods for borrowing other people network online, borrow clothes for providing network for another router Business, another router provide network service for user terminal, comprising the following steps: the addition operator letter in Beacon packet Breath, and carry out the transmission of Beacon packet.It detects that the network of another router borrows request, detects whether that network is allowed to borrow.
Preferably, described that operator's informaiton is added in Beacon packet, and carry out the step of Beacon packet is sent further include: One of Element ID 32-255 in the Optional of Beacon is selected as network and borrows item, adds operator's informaiton.
Preferably, described to provide network for another router further include: when allowing network to borrow request, storage allows net Network borrows another router mac address of request
Preferably, described to detect whether the step of allowing network to borrow further include: once to allow the router is stored The router mac address that network borrows request is analyzed, and discovery is refused when being stored with the MAC Address of another router The network of exhausted another router borrows request, finds to allow when the MAC Address of not stored another router described another The network of one router borrows request.
In the present embodiment, router and the method by the online of other people networks solve router because of WAN port It the problem of just will appear network connection error when connection error or modem run-time error and can not surf the Internet, chooses simultaneously Other people minimum router conducts of broadband utilization rate are borrowed router and increase substantially network utilization.
Detailed description of the invention
Fig. 1 is the applied environment figure of router in an embodiment of the present invention.
Fig. 2 is functional block diagram of the router as local router in an embodiment of the present invention.
Fig. 3 is router in an embodiment of the present invention as the functional block diagram for being borrowed router.
Fig. 4 is the flow chart on the one embodiment road of method that the present invention borrows other people wireless network online.
Fig. 5 is the flow chart for another embodiment of method that the present invention borrows other people wireless network online.
Specific embodiment
Refering to fig. 1, it show router of the present invention and borrows the application ring of one embodiment of method of other people network online Border and work flow diagram.The network that local router 20 receives user terminal 10 borrows request, searches for the wireless network of surrounding 30, request the carry out network borrow of other people routers 31 in the wireless network 30 of surrounding.It will be used by being borrowed router 32 again The operator identity and online password at family 10 are sent to network operator server 40, are proved to be successful, realize to network operator It is connected to network, network service starts.
Referring to Fig.2, functional block diagram of the router as local router in shown an embodiment of the present invention.In this reality It applies in mode, local router 20 includes receiving module 201, search module 203, screening module 205, selecting module 207, request Module 209, authentication module 211.
Receiving module 201 receives the network that user terminal 10 issues and borrows request.
Search module 203 searches for the wireless network 30 around local router 20.
Screening module 205 is made into choosing from searching to obtain in other people routers 31 other people routers that can be borrowed Select list;Wherein, screening module 205 includes crawl submodule 2050, analysis submodule 2052, Comparative sub-module 2054.Crawl Submodule 2050 grabs the Beacon packet that other people routers 31 are sent.Analysis submodule 2052 analyzes the Beacon packet and obtains fortune Seek quotient's information.The operator's informaiton that Comparative sub-module 2054 records the operator's informaiton and the local router 20 carries out Relatively and filters out and be made into selective listing with other people routers 31 that are consistent of operator's informaiton of the local router 20 record.
Selecting module 207 is chosen other people the minimum conducts of router 31 of broadband utilization rate from the selective listing and is borrowed Router 32.
Request module 209 issues network borrow request to the router 32 that is borrowed.
The operator identity of user and online password are issued operator's clothes by being borrowed router 32 by authentication module 211 Business device 40 is verified.
As the further improvement of this case, local router 20 further includes timing module 213, for starting in network service Afterwards timing network borrowing time and network borrowing time be more than network operator allow connect time upper limit when disconnect automatically Network connection.
It is router in an embodiment of the present invention as the functional block diagram for being borrowed router refering to Fig. 3.In this reality It applies in mode, being borrowed router 32 includes sending module 320, detection module 322, memory module 324, transmission module 326.
Sending module 320 adds operator's informaiton in Beacon packet, and carries out the transmission of Beacon packet.In present embodiment In, the sending module 320 of other people routers 31 modifies Beacon packet, in the Optional for selecting the Beacon One of Element ID 32-255 borrows item as network, adds operator's informaiton.
For memory module 324 when allowing network to borrow connection, storage record carried out the router mac that network borrows connection Address.
Detection module 322 detects whether that network is allowed to borrow request.In the present embodiment, detection module 322 will store Module 324 store record carried out network borrow connection router mac address analyzed, discovery there are linkage records Router mac address then refuses network and borrows request, and there is no the router mac address of linkage record, and network borrow then to be allowed to ask It asks.
User's operator identity that transmission module 326 sends authentication module 211, online password transmission are to carrier service Device is verified, and then transport network resources are proved to be successful.
Refering to Fig. 4, it show the flow chart that the present invention borrows one embodiment of method of other people network online.
In step S400, the network that receiving module 201 receives the sending of user terminal 10 borrows request.
Wireless network 20 in step S402, around the search of search module 203.
In step s 404, screening module 205 obtains other people routers 31 that can be borrowed and is made into selective listing.
In step S406, selecting module 207 selected from the selective listing one as being borrowed router.
In step S408, request module 209 requests network borrow to be connected to carrier service to router 32 is borrowed Device.
In step S410, operator identity, online password are issued operation by being borrowed router by authentication module 211 Quotient's server is verified.
In step S412, network service starts after server authentication success.
Refering to Fig. 5, it show the flow chart that the present invention borrows another embodiment of method of other people network online.In this reality It applies in mode, the present invention borrows other people methods of network online and passes through Fig. 1, Fig. 2, application environment shown in Fig. 3 and function Module is completed.
In step S501, the network that receiving module 201 receives the sending of user terminal 10 borrows request.
Wireless network 30 in step S503, around the search of search module 203.
In step S505, crawl submodule 2050 grabs other people routers 31 and sends Beacon packet.In present embodiment In, the sending module 320 of other people routers 31 modifies Beacon packet, selects Element in the Optional of Beacon One of ID 32-255 borrows item as network, adds operator's informaiton.
In step s 507, analysis submodule 2052 analyzes the Beacon packet and obtains the operator's informaiton.
In step S509, operator that Comparative sub-module 2054 records the operator's informaiton and local router 20 Information, which is compared and filters out other people routers 31 being consistent with the operator's informaiton that local router 20 records, is made into selection List.
In step S511, selecting module 207 chooses minimum other people of a broadband utilization rate from the selective listing Router 31 is used as and is borrowed router 32.
In step S513, request module 209 issues network to the detection module 322 for being borrowed router 32 and borrows Request is connected to carrier server.
In step S515, detection module 322 detects whether that network is allowed to borrow.In the present embodiment, detection module 322 store the router that record once allowed network to borrow request when receiving network borrow request, to memory module 324 MAC Address is analyzed, it is found that refusal network borrows request when the router mac address being stored with, on not stored road By allowing the network of router to borrow request when device MAC Address.Simultaneously when allowing network to borrow, the storage of memory module 324 is permitted Perhaps network borrows the router mac address of request.Refuse return step S511 if network borrows request if being borrowed router 32, Memory module 324 stores the router mac that record allows network to borrow if being borrowed router 32 and agreeing to that network borrows request Address, and enter step S517.
In step S517, user's operator identity and online password are issued transmission module 326 by authentication module 211.? In present embodiment, user's operator identity is the internet account that user registers in operator, and online password is then user's online The corresponding online password of account.
In step S519, the operator identity of the user and online password are issued operator and taken by transmission module 326 Business device 40 is verified.In the present embodiment, if 40 authentication failed of carrier server, return step S511.If operation Quotient's server 40 is proved to be successful, then enters step S521.
In step S521, network service starts, 213 timing network borrowing time of timing module.
In step S523, the network borrowing time is more than the time upper limit that operator allows to connect, local router 20 timing module 213 disconnects network connection.
In the present embodiment, router and the method by the online of other people networks solve router because of WAN port It the problem of just will appear network connection error when connection error or modem run-time error and can not surf the Internet, chooses simultaneously Other people minimum router conducts of broadband utilization rate are borrowed router and increase substantially network utilization.

Claims (18)

1. a kind of router, for providing network service for user terminal, which is characterized in that the router includes:
Receiving module borrows request for receiving the network that user terminal issues when user terminal connects network failure;
Search module, for other routers in the wireless network around searching for;
Screening module for obtaining other people routers that can be borrowed in other routers searched, and is made into selection List;
Selecting module, for selected from the selective listing one as being borrowed router;
Request module, for it is described be borrowed router issue network borrow request be connected to carrier server;And
User's operator identity, online password are issued carrier service for being borrowed router described in by authentication module Device is verified, and is proved to be successful, and provides network service for the user terminal.
2. router as described in claim 1, which is characterized in that the router further includes timing module, for described After network service starts, timing network borrowing time and network borrowing time be more than operator allow connect time upper limit when It disconnects network and borrows connection.
3. router as described in claim 1, which is characterized in that the screening module further include:
Submodule is grabbed, the Beacon packet sent for grabbing other people routers;
Submodule is analyzed, obtains operator's informaiton for analyzing the Beacon packet;And
Comparative sub-module, for the operator's informaiton be compared with the operator's informaiton of router records and filter out with Other people routers that the operator's informaiton of the router records is consistent are made into selective listing.
4. router as claimed in claim 3, which is characterized in that the selecting module is also used to select from the selective listing Other people routers for taking broadband utilization rate minimum, which are used as, is borrowed router.
5. router as claimed in claim 4, which is characterized in that the selecting module is also used to verify in the authentication module When failure or request module request failure, reselects one and be borrowed router.
6. a kind of router borrows service for providing network for another router, another router mentions for user terminal For network service, which is characterized in that the router includes:
Sending module for adding operator's informaiton in Beacon packet, and carries out the transmission of Beacon packet;
Detection module allows network to borrow for detecting whether after the network for detecting another router borrows request; And
Transmission module, user's operator identity, online password transmission for sending another router take to operator Business device is verified, and is proved to be successful, network service starts.
7. router as claimed in claim 6, which is characterized in that the sending module is also used to select Beacon's One of Element ID 32-255 borrows item as network in Optional, adds operator's informaiton.
8. router as claimed in claim 6, which is characterized in that the router further includes memory module, for storing Stating router once allowed network to borrow the router mac address requested.
9. router as claimed in claim 8, which is characterized in that the detection module has been stored in the memory module The network for refusing another router when the MAC Address of another router borrows request, in the not stored another way By device MAC Address when allow another router network borrow request.
10. a kind of method for borrowing other people network online, provides network service for router for user terminal, feature exists In, the method for borrowing the online of other people networks the following steps are included:
It receives the network that the user terminal issues and borrows request;
Other routers in wireless network around searching for;
Other people routers that can be borrowed are obtained in other routers searched, and are made into selective listing;
Selected from other people the router selective listings that can be borrowed one as being borrowed router;
To it is described be borrowed router issue network borrow request be connected to carrier server;And
Be borrowed router by described operator identity, online password issued carrier server and verified, verifying at Function then provides network service for the user terminal.
11. borrowing the method for other people network online as claimed in claim 10, which is characterized in that further include:
After the network service starts, timing network borrowing time simultaneously allows connection more than operator in network borrowing time Network is disconnected when time upper limit borrows connection.
12. borrowing the method for other people network online as claimed in claim 10, which is characterized in that described to be borrowed from described Other people routers in select one as the step of being borrowed router and include:
Other people minimum routers of one broadband utilization rate of selection, which are used as, from the selective listing is borrowed router.
13. borrowing the method for other people network online as claimed in claim 12, which is characterized in that further include:
Authentication failure is carried out in the carrier server or network borrow request is issued to the router that is borrowed When failure, reselects one and be borrowed router.
14. borrowing the method for other people networks online as claimed in claim 10, which is characterized in that it is described searched its Other people routers that can be borrowed are obtained in his router, and be made into selective listing step step the following steps are included:
The Beacon packet that crawl other people routers are sent;
It analyzes the Beacon packet and obtains operator's informaiton;And
The operator's informaiton is compared with the operator's informaiton of router records and is filtered out and the router records Other people routers that are consistent of operator's informaiton be made into selective listing.
15. a kind of method for borrowing other people network online, is applied in router, borrowed for providing network for another router Service, which is characterized in that the method for borrowing the online of other people networks the following steps are included:
Operator's informaiton is added in Beacon packet, and carries out the transmission of Beacon packet;
It detects that the network of another router borrows request, detects whether that network is allowed to borrow;And
It transmits user's operator identity, online password that another router is sent to verify to carrier server, test Demonstrate,prove successfully that then network service starts.
16. borrowing the method for other people network online as claimed in claim 15, which is characterized in that described to add in Beacon packet Add operator's informaiton, and carry out the step of Beacon packet is sent further include: selects Element ID in the Optional of Beacon One of 32-255 borrows item as network, adds operator's informaiton.
17. borrowing the method for other people network online as claimed in claim 15, which is characterized in that described to be mentioned for another router For network borrow service further include: allow network borrow request when, storage allow network borrow request the another way by Device MAC Address.
18. borrowing the method for other people network online as claimed in claim 17, which is characterized in that described to detect whether to allow net The step of network borrows further include:
Once allowed the router mac address of network borrow request to analyze to the router is stored, found stored The network for refusing another router when having MAC Address of the another way by device borrows request, finds not stored described another The network of another router is allowed to borrow request when the MAC Address of one router.
CN201510050198.9A 2015-01-30 2015-01-30 Router and the method for borrowing other people network online Active CN105991452B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510050198.9A CN105991452B (en) 2015-01-30 2015-01-30 Router and the method for borrowing other people network online

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510050198.9A CN105991452B (en) 2015-01-30 2015-01-30 Router and the method for borrowing other people network online

Publications (2)

Publication Number Publication Date
CN105991452A CN105991452A (en) 2016-10-05
CN105991452B true CN105991452B (en) 2019-05-31

Family

ID=57036854

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510050198.9A Active CN105991452B (en) 2015-01-30 2015-01-30 Router and the method for borrowing other people network online

Country Status (1)

Country Link
CN (1) CN105991452B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483894A (en) * 2009-01-06 2009-07-15 北京交通大学 Fast switching method for WLAN
CN101841877A (en) * 2009-03-18 2010-09-22 华为技术有限公司 Switching method, router and communication system
CN102202356A (en) * 2011-06-07 2011-09-28 常熟理工学院 Implementation method for mobile handover of vehicle network
CN102318287A (en) * 2011-06-30 2012-01-11 华为技术有限公司 Methods and device to establish router neighbors
CN103384392A (en) * 2012-05-04 2013-11-06 中兴通讯股份有限公司 Method for enabling mobile terminal to have access to wireless access points and wireless access points

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100677604B1 (en) * 2005-07-27 2007-02-02 삼성전자주식회사 Method and mobile device for performing fast hand-over in wireless LAN, and method of switching services using GPS information

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483894A (en) * 2009-01-06 2009-07-15 北京交通大学 Fast switching method for WLAN
CN101841877A (en) * 2009-03-18 2010-09-22 华为技术有限公司 Switching method, router and communication system
CN102202356A (en) * 2011-06-07 2011-09-28 常熟理工学院 Implementation method for mobile handover of vehicle network
CN102318287A (en) * 2011-06-30 2012-01-11 华为技术有限公司 Methods and device to establish router neighbors
CN103384392A (en) * 2012-05-04 2013-11-06 中兴通讯股份有限公司 Method for enabling mobile terminal to have access to wireless access points and wireless access points

Also Published As

Publication number Publication date
CN105991452A (en) 2016-10-05

Similar Documents

Publication Publication Date Title
CN103067385B (en) The method of defence Hijack Attack and fire compartment wall
TWI584148B (en) Methods and devices for identifying user risks
CN105393603B (en) Select the method and device thereof and equipment of public land mobile network PLMN
US20160044113A1 (en) Advanced network characterization
CN103313429B (en) A kind of processing method identifying forgery WIFI hot spot
CN107071011B (en) A kind of network data communication method based on cloud
JP2014507850A (en) Dynamic wireless network detection system, method and apparatus
CN103501331B (en) Data transmission method, data transmission equipment and data transmission system
CN106330935B (en) A kind of detection method for the Wi-Fi that goes fishing
CN104113842B (en) Method, device, server and mobile terminal for identifying pseudo wireless network access point
CN105939326A (en) Message processing method and device
CN105472703A (en) Wireless network access method and device
CN103581351B (en) The method and apparatus of network access
CN109660593B (en) Internet of things platform access management method, device and system
WO2010102570A1 (en) Method and apparatus for realizing green internet-access
CN103812653B (en) Automatically obtain the method and system of wireless network access account information
WO2015043455A1 (en) Data transmission method, device, and system
CN104426881B (en) A kind of method and device detecting malicious act
CN107454007A (en) A kind of processing method and processing device of gateway service
CN105592175A (en) Method and apparatus for redirection to web page
CN108834196A (en) A kind of sending, receiving method and equipment of the access information of wireless access point
CN102780681A (en) URL (Uniform Resource Locator) filtering system and URL filtering method
CN103916492A (en) Network device access control method and device
CN102325079A (en) Message transmission method and egress router
CN102118313B (en) Method and device for detecting internet protocol (IP) address

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant