CN104363155B - Method for connecting network and its equipment - Google Patents

Method for connecting network and its equipment Download PDF

Info

Publication number
CN104363155B
CN104363155B CN201410736036.6A CN201410736036A CN104363155B CN 104363155 B CN104363155 B CN 104363155B CN 201410736036 A CN201410736036 A CN 201410736036A CN 104363155 B CN104363155 B CN 104363155B
Authority
CN
China
Prior art keywords
network
router
electronic device
mobile electronic
request
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
CN201410736036.6A
Other languages
Chinese (zh)
Other versions
CN104363155A (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.)
University of Shanghai for Science and Technology
Original Assignee
University of Shanghai for Science and Technology
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 University of Shanghai for Science and Technology filed Critical University of Shanghai for Science and Technology
Priority to CN201410736036.6A priority Critical patent/CN104363155B/en
Publication of CN104363155A publication Critical patent/CN104363155A/en
Application granted granted Critical
Publication of CN104363155B publication Critical patent/CN104363155B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A kind of method for connecting network provided by the invention, has the feature that, includes the following steps:Step zero,Router receives the network insertion inquiry that mobile electronic device is sent,And preset condition is sent to mobile electronic device after network insertion inquiry is received,Step 1,Mobile electronic device sends first network connection request to router,First network asks the user information for including mobile electronic device,Step 2,Router determines whether to receive first network connection request,Step 3,If allow,The second network connecting request that then router is generated according to first network connection request and preset condition,And the second network connecting request is sent to network router,Step 4,Network server judges whether mobile electronic device meets preset condition,Step 5,If meet,Then network server is sent to router allows incoming instruction,Step 6,Router provides network insertion service according to the permission incoming instruction received to mobile electronic device.

Description

Method for connecting network and its equipment
Technical field
The present invention relates to internet arenas, and mobile electronic device is carried by idle router more particularly, in the field For the method for connecting network and its equipment of network connection.
Background technology
Existing household broadband, which can only be opened, to be used to the mobile equipment of oneself or opens to the movement for knowing account number cipher Equipment is used.Many household broadband users do not make full use of household broadband when being in, and equipment is moved in many uses User then perplexs by the various Web vector graphics brought due to mobile network is unstable and flow is limited.For example, when mobile phone is used When family is by residential quarter, a large amount of household wifi network around is may search for, but these wifi networks are all to have password at present The private network of limitation, strange mobile electronic device can not use.However, these wifi networks are much in idle shape State, and these mobile phone users may be badly in need of being stablized due to special circumstances and the network insertion approach of big flow.
Invention content
The present invention is to carry out to solve the above-mentioned problems, and it is an object of the present invention to provide a kind of control sky by network server Not busy router provides mobile electronic device the method for connecting network and its equipment of network connection.
A kind of method for connecting network provided by the invention, has the feature that, includes the following steps:
Step zero, router receives the network insertion inquiry that mobile electronic device is sent, and is ask receiving network insertion The preset condition for receiving the network insertion of strange equipment is allowed to be sent to mobile electronic device router after asking,
Step 1, mobile electronic device send first network connection request to router, and first network request includes movement The user information of electronic equipment,
Step 2, router determine whether reception first network connection request,
Step 3, if allowing, router connects according to the second network that first network connection request and preset condition generate Request is connect, and the second network connecting request is sent to network router,
Step 4, network server judge whether mobile electronic device meets preset condition,
Step 5, if satisfied, then network server sends permission incoming instruction to router,
Step 6, router provide network insertion service according to the permission incoming instruction received to mobile electronic device.
A kind of method for connecting network provided by the invention, also has the feature that:Wherein, method further includes:Router It is instructed according to network settings and carries out network configuration, network collocating method includes:It is default that setting allows mobile electronic device to access Whether condition, setting allow mobile electronic device to access network, and the network settings instruction of network connecting request can be privately owned shifting Dynamic electronic equipment is sent or router finds that itself is in idle condition and automatically generates.
A kind of method for connecting network provided by the invention, also has the feature that, includes the following steps:
Step 7, router is after the mobile side network for receiving mobile electronic device disconnects request, to network server It sends the network disconnection request of router side or router and directly sends the network disconnection request of router side to network server,
Step 8 after network server receives the network disconnection request of router side, sends network disconnection to router and refers to It enables,
After router receives network open command, the network connection of mobile electronic device is disconnected according to instruction for step 9.
A kind of method for connecting network provided by the invention, also has the feature that:Wherein, predetermined condition is from mobile electricity The user account of sub- equipment produces default telephone expenses to the user account of router or for from the user account of mobile electronic device Default mobile network's flow is produced to the user account of router.
The present invention also provides a kind of network connection system mobile electronic device, have the feature that, including:Search Unit, search surrounding allow mobile electronic device to send the router that network insertion is asked;Network insertion inquiry unit, to routing Device sends network insertion inquiry, allows to receive the preset condition of the network insertion of mobile electronic device from router acquisition;And Network insertion request unit sends first network connection request to router, and network connecting request includes the user of electronic equipment Information.
The present invention also provides a kind of network connection system mobile electronic device, also have the feature that:Wherein, in advance Fixed condition is to produce default telephone expenses to the user account of router or for from mobile electricity from the user account of mobile electronic device The user account of sub- equipment produces default mobile network's flow to the user account of router.
The present invention also provides a kind of network connection system router, can be with mobile electronic device or network server It is connected by wireless network, is had the feature that, including:Network settings storage unit obtains network settings instruction, network Setting instruction includes the preset condition for allowing to receive the network insertion of mobile electronic device of user setting;Network insertion configuration is single Member is configured according to network settings instruction;Negotiation element is accessed, receives the network insertion inquiry that mobile electronic device is sent, And the preset condition that will allow to receive the network insertion of mobile electronic device after receiving network insertion and inquiring is to mobile electron Equipment;Strange equipment access unit receives the first network connection request that mobile electronic device is sent out, is connected according to first network Request and preset condition generate the second network connecting request, and the second network connecting request is sent to network server, and connecing Mobile electronic device offer network insertion service is given after receiving the permission incoming instruction that network server is sent.
The present invention also provides a kind of network connection system router, also have the feature that:Wherein, predetermined condition To produce default telephone expenses to the user account of router or for from mobile electronic device from the user account of mobile electronic device User account produce default mobile network's flow to the user account of router.
The present invention also provides a kind of network connection system network server, wireless network phase can be passed through with router Connection, has the feature that, including:First unit, the second network connecting request that receiving router is sent out, the second network connect Connecing facility information of the request comprising the mobile electronic device that network connecting request is sent to router and router allows to receive shifting The preset condition of the network insertion of dynamic electronic equipment;Second unit judges mobile electronic device according to the second network connecting request Whether satisfaction, which states router, allows to receive the preset condition of the network insertion of mobile electronic device, and when the condition is satisfied, generation is permitted Perhaps incoming instruction, and incoming instruction will be allowed to be sent to router;Transaction unit, during according to the network insertion of mobile electronic device Between and preset condition perform transactional operation.
The present invention also provides a kind of network connection system network server, also have the feature that:Wherein, make a reservation for Condition is to produce default telephone expenses to the user account of router or for from mobile electron from the user account of mobile electronic device The user account of equipment produces default mobile network's flow to the user account of router.
Invention effect and effect
According to method for connecting network involved in the present invention and its equipment, the household broadband that can be would sit idle for is used, and router will Network connecting request and preset condition are sent to network server, and network server is to above-mentioned network connecting request and preset condition Judged, if meeting the requirements, being sent to router allows incoming instruction, according to allowing incoming instruction router to strange movement Electronic equipment provides network service, and strange mobile electronic device is enable easily to be obtained from surrounding enviroment in specific demand surely Fixed and big flow household Broadband Network Access approach, while household broadband access is fully utilized.
Description of the drawings
Fig. 1 is the structure diagram of the network connection system of the present invention in embodiment;And
Fig. 2 is the flow chart of the method for connecting network of the present invention in embodiment.
Specific embodiment
It reality and applies example referring to the drawings method for connecting network according to the present invention and its equipment is explained in detail.
Embodiment
The preset condition referred in the present embodiment is voluntarily set for router user or router user's operation is set Put, can according to the time of network connection or network flow service condition by mobile electronic device user from itself account transfer Go out the mobile electronic device account or the time according to network connection or network flow that default telephone expenses are bound to router user Service condition mobile electronic device user produces the movement that default mobile network's flow binds to router user from itself account Electronic equipment account.
Fig. 1 is the structure diagram of the network connection system of the present invention in embodiment.
As shown in Figure 1, network connection system is made of mobile electronic device 10, router 20 and network server 30.
In the present embodiment, mobile electronic device 10 is connected with router 20 by wireless network, router 20 and network Server 30 is also to be connected by wireless network.
Mobile electronic device 10 has:Search unit 11, network insertion inquiry unit 12,13 and of network insertion request unit Network disconnects request unit 14.
Being provided with around the search of search unit 11 allows mobile electronic device 10 to send the router 20 that network insertion is asked.
Network insertion inquiry unit 12 sends network insertion inquiry, and reception mobile electron is allowed to set to the acquisition of router 20 The preset condition of standby network insertion.
Network insertion request unit 13 sends first network connection request to router 20.
Network disconnects request unit 14 and sends mobile side network disconnection request to router 20.
Router 20 has:Network settings storage unit 21, network insertion dispensing unit 22, strange equipment access unit 23rd, negotiation element 24, network switching units 25 and privately owned equipment access unit 26 are accessed.
Network settings storage unit 21 prestores network settings instruction.
Network insertion dispensing unit 22 instructs the configuration for carrying out network connection according to network settings.
Strange equipment access unit 23, which is worked as, receives the strange net for allowing to receive strange equipment that network server 30 is sent out After network connection request, the first network connection request that network insertion request unit 13 is sent is received, it please according to first network connection Summation allows the preset condition for receiving the network insertion of mobile electronic device to generate the second network connecting request, and the second network is connected Request is connect to be sent to network server 30 and receive the permission incoming instruction that network server 30 is sent, and according to allowing to connect Enter instruction, network insertion service is provided to 10 equipment of mobile electron.
It accesses negotiation element 24 and receives network insertion inquiry, and will allow to receive after network insertion inquiry is received and move The preset condition of the network insertion of electronic equipment is sent to mobile electronic device 10.
Network switching units 25 send router side net after receiving mobile side network and disconnecting request to network server 30 When network disconnection request or router 20 are wanted to disconnect network service, directly router side network is sent to network server 30 and disconnected Request, such as when router user itself is needed using larger network flow, disconnection request can be automatically initiated and received The network open command of network server 30, and according to the network connection of network open command disconnection mobile electronic device 10.
The private network connection request that the privately owned reception network insertion of equipment access unit 26 request unit 14 is sent, and according to Mobile electronic device 10 and router 20 are carried out network connection by private network connection request.Privately owned equipment is 20 user of router The mobile electronic device 10 of oneself.
Network server 30 has:First unit 31, second unit 32 and transaction unit 33.
First unit 31 receives the second network connecting request.
Second unit 32 judges whether mobile electronic device 10 meets to allow to receive according to the second network connecting request and moves The preset condition of the network insertion of electronic equipment, and when meeting preset condition, generation allows incoming instruction, and will allow to access Instruction is sent to router 20.
After transaction unit 33 receives the disconnection request of router side, according to the network insertion time of mobile electronic device and permit Perhaps the preset condition for receiving the network insertion of mobile electronic device performs transactional operation, and reply network disconnection to router 20 and refer to It enables.
Fig. 2 is the flow chart of the method for connecting network of the present invention in embodiment.
As shown in Fig. 2, method for connecting network has steps of:
Step S0:The network insertion dispensing unit 22 in router 20 under idle state is according to network settings storage unit The network settings instruction stored in 21 is configured.
With the presence or absence of router 20 around the search of search unit 11, and the router 20 allows mobile electronic device 10 to send out SCN Space Cable Network access request.
It searches there are after such router 20, network insertion inquiry unit 12 sends network insertion to router 20 and askes It asks, obtains the preset condition for the network insertion for allowing to receive mobile electronic device 10.
Access negotiation element 24 will obtain the network for allowing to receive mobile electronic device 10 after receiving network insertion request The preset condition of access is sent to mobile electronic device 10, enters step S1.
Wherein, network settings instruction includes router 20 is set to allow to receive the network insertion request of mobile electronic device 10 Allow the preset condition of the progress network insertion of mobile electronic device 10 with setting.20 user of router can be idle in router 20 In the case of, setting allows mobile electronic device 10 to access network, and when router 20 is busy, forbidden moves electronics is set Standby 10 access network, can also automatically be set by router 20 according to the idle condition of itself.
Preset condition can according to the time of network connection or network flow service condition by mobile electronic device 10 User produces default telephone expenses to the mobile electronic device account of user's binding of router 20 or according to net from itself account The time of network connection or the user of network flow service condition mobile electronic device 10 produce default mobile network from itself account The mobile electronic device account that the user of flow to router 20 binds.
Step S1:Network insertion request unit 13 sends first network connection request to router 20, which, which includes, moves The user information of dynamic electronic equipment, such as phone number, enter step S2.
Step S2:Router 20 is determined whether to receive first network connection request, if allowing to receive, be entered step S3。
Step S3:Router 20 receives the default of the network insertion of strange equipment according to first network connection request and allowing Second network connecting request of condition generation, and the second network connecting request is sent to network router 30, enter step S4.
Step S4:Second unit 32 receives first network connection request according to first unit 31 and is judged, it is determined whether Meet preset condition, if meeting preset condition, enter step S5.
Step S5:Network server 30 will allow incoming instruction to be sent to router 20, enter step S6.
Step S6:Router 20 provides network service to mobile electronic device 10, enters step S7.
Step S7:Network disconnects request unit 14 and asks mobile side network disconnection after being sent to router 20, and network breaks It opens unit 25 and network disconnection request in router side is sent to network server 30.Or when router 30 wishes to disconnect network When, router side network is directly disconnected request and is sent to network server 30, such as when router is used by network switching units 25 When family itself is needed using larger network flow, it can initiate to disconnect request, enter step S8.
Step S8:After network server 30 receives the network disconnection request of router side, send network to router 20 and break Instruction is opened, enters step S9.
Step S9:After router 20 receives network open command, the network of mobile electronic device 10 is disconnected according to instruction Connection.
The effect of embodiment
Method for connecting network and its equipment according to involved by the present embodiment, the household broadband user that can be would sit idle for open to The strange mobile electronic device on periphery uses, and strange mobile electronic device to router by sending network connecting request, routing Network connecting request and preset condition are sent to network server by device, and network server is to above-mentioned network connecting request and presets Condition is judged, if meeting the requirements, being sent to router allows incoming instruction, according to allowing incoming instruction router to strange Mobile electronic device provides network service, and can be when strange mobile electronic device disconnects network service, from mobile electron At equipment obtain expense, enable strange mobile electronic device is easily stablized from surrounding enviroment in specific demand and greatly The household Broadband Network Access approach of flow, while household broadband access is fully utilized.
Preferred case of the above embodiment for the present invention, is not intended to limit protection scope of the present invention.

Claims (6)

1. a kind of method for connecting network, which is characterized in that include the following steps:
Step zero, router receives the network insertion inquiry that mobile electronic device is sent, and is ask receiving the network insertion The preset condition for receiving the network insertion of strange equipment is allowed to be sent to the mobile electronic device router after asking;
Step 1, the mobile electronic device send first network connection request to the router, the first network request Include the user information of the mobile electronic device;
Step 2, the router determine whether to receive the first network connection request;
Step 3, if allowing, the router generated according to the first network connection request and the preset condition the Two network connecting requests, and second network connecting request is sent to network server;Wherein, the preset condition be from The user account of the mobile electronic device produces default telephone expenses to the user account of the router or for from the movement The user account of electronic equipment produces default mobile network's flow to the user account of the router,
Step 4, the network server judge whether the mobile electronic device meets the preset condition;
Step 5, if satisfied, then the network server sends permission incoming instruction to the router;
Step 6, the router provide network to the mobile electronic device according to the permission incoming instruction received and connect Enter service,
Wherein, can be in the case where router leave unused in step zero, setting allows mobile electronic device access network, and When router is busy, forbidden moves electronic equipment access network.
2. method for connecting network according to claim 1, it is characterised in that:
Wherein, the method further includes:
The router instructs according to network settings and carries out network configuration, and the network collocating method includes:Setting allows to move Whether the preset condition of electronic equipment access, setting allow the mobile electronic device access network,
The network settings instruction of the network connecting request can be privately owned mobile electronic device transmission or router It was found that itself is in idle condition and automatically generates.
3. method for connecting network according to claim 1, which is characterized in that further comprising the steps of:
Step 7, the router is after the mobile side network for receiving the mobile electronic device disconnects request, to the net Network server sends router side network and disconnects request or the router directly to the network server transmission routing Device side network disconnects request;
After the network server receives router side network disconnection request, net is sent to the router for step 8 Network open command;
Step 9 after the router receives the network open command, disconnects the mobile electron according to described instruction and sets Standby network connection.
4. a kind of mobile electronic device of network connection system can be connected with router by wireless network, feature exists In, including:
Search unit, search surrounding allow the mobile electronic device to send the router that network insertion is asked;
Network insertion inquiry unit sends network insertion inquiry to the router, allows to receive from router acquisition and move The preset condition of the network insertion of dynamic electronic equipment;And
Network insertion request unit sends first network connection request to the router, and the network connecting request includes institute The user information of electronic equipment is stated,
Wherein, the preset condition is to produce default telephone expenses to the router from the user account of the mobile electronic device User account is to produce default mobile network's flow to the router from the user account of the mobile electronic device User account.
5. a kind of router of network connection system, can be connected with mobile electronic device or network server by wireless network It connects, which is characterized in that including:
Network settings storage unit, obtain network settings instruction, and network settings instruction, which includes user setting, to be allowed to receive The preset condition of the network insertion of mobile electronic device;
Network insertion dispensing unit is configured according to network settings instruction;
Negotiation element is accessed, receives the network insertion inquiry that the mobile electronic device is sent, and connect receiving the network It will allow to receive the preset condition of the network insertion of mobile electronic device to the mobile electronic device after entering inquiry;
Strange equipment access unit receives the first network connection request that the mobile electronic device is sent out, according to described first Network connecting request and the preset condition generate the second network connecting request, and second network connecting request is sent to institute Network server is stated, and is provided after the permission incoming instruction for receiving the network server transmission to the mobile electronic device Network insertion service,
Wherein, the preset condition is to produce default telephone expenses to the router from the user account of the mobile electronic device User account is to produce default mobile network's flow to the router from the user account of the mobile electronic device User account.
6. a kind of network server of network connection system can be connected with router by wireless network, which is characterized in that Including:
First unit, receives the second network connecting request that the router is sent out, second network connecting request include to The router, which sends the facility information of the mobile electronic device of network connecting request and the router, to be allowed to receive mobile electricity The preset condition of the network insertion of sub- equipment;
Second unit judges whether the mobile electronic device meets according to second network connecting request and states router permission The preset condition of the network insertion of mobile electronic device is received, when the condition is satisfied, generation allows incoming instruction, and permits described Perhaps incoming instruction is sent to the router;
Transaction unit performs transactional operation according to the network insertion time of the mobile electronic device and the preset condition,
Wherein, the preset condition is to produce default telephone expenses to the router from the user account of the mobile electronic device User account is to produce default mobile network's flow to the router from the user account of the mobile electronic device User account.
CN201410736036.6A 2014-12-04 2014-12-04 Method for connecting network and its equipment Active CN104363155B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410736036.6A CN104363155B (en) 2014-12-04 2014-12-04 Method for connecting network and its equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410736036.6A CN104363155B (en) 2014-12-04 2014-12-04 Method for connecting network and its equipment

Publications (2)

Publication Number Publication Date
CN104363155A CN104363155A (en) 2015-02-18
CN104363155B true CN104363155B (en) 2018-06-22

Family

ID=52530382

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410736036.6A Active CN104363155B (en) 2014-12-04 2014-12-04 Method for connecting network and its equipment

Country Status (1)

Country Link
CN (1) CN104363155B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141534A (en) * 2015-09-15 2015-12-09 北京致远协创软件有限公司 Server and communication method thereof
CN105847983A (en) * 2016-03-30 2016-08-10 乐视控股(北京)有限公司 Method and device for transferring membership service between terminals
CN111047810A (en) * 2019-12-09 2020-04-21 珠海格力电器股份有限公司 Security method, security system, electronic equipment, storage medium and intelligent controller

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854732A (en) * 2010-01-22 2010-10-06 苏州超锐微电子有限公司 Method for accessing wired Ethernet through WiFi wireless network
CN102611708A (en) * 2012-03-26 2012-07-25 华为技术有限公司 Internet access method and equipment
CN102883327A (en) * 2011-07-14 2013-01-16 北京韵盛发科技有限公司 Virtual sharing method for WiFi (wireless fidelity) wireless access point

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854732A (en) * 2010-01-22 2010-10-06 苏州超锐微电子有限公司 Method for accessing wired Ethernet through WiFi wireless network
CN102883327A (en) * 2011-07-14 2013-01-16 北京韵盛发科技有限公司 Virtual sharing method for WiFi (wireless fidelity) wireless access point
CN102611708A (en) * 2012-03-26 2012-07-25 华为技术有限公司 Internet access method and equipment

Also Published As

Publication number Publication date
CN104363155A (en) 2015-02-18

Similar Documents

Publication Publication Date Title
CN102665114B (en) Method, apparatus and system for intelligent device interaction
CN104254070B (en) WiFi cut-in method, intelligent terminal and routing device
CN103685733B (en) Remote control method and terminal
CN103813473B (en) A kind of communication means, terminal and system
CN105516960B (en) Non-perception authentication method and system, and management method and system based on method and system
CN105357240A (en) Remote assistance control method and device
JP6072132B2 (en) Method of establishing a communication path using active connection of relay server of mobile terminal
CN104936240A (en) Network switching method and terminal
CN107947985B (en) Equipment network access method and device, intelligent terminal, network access equipment and network access waiting equipment
CN104363155B (en) Method for connecting network and its equipment
CN104853449B (en) A kind of network-building method of wireless sound box, apparatus and system
CN105744597A (en) Terminal and wireless connection method
CN104581665A (en) Call transfer method and device
CN103414740A (en) Private cloud account configuration method and device
CN105242550A (en) Intelligent household automatic connection method based on network two-dimensional code and system thereof
WO2010010800A3 (en) Method for connecting user equipment to a mobile telecommunication system via a home node b (h(e)nb)
CN102412875B (en) File sending and receiving method and device as well as file transmission method and system
CN107835445B (en) MQTT protocol-based television control method, mobile terminal and television
WO2013181941A1 (en) Method and device for accessing internet
CN103544752A (en) Wireless video access control system and control method thereof based on IGRS (Intelligent Grouping and Resource Sharing) protocol
CN104320384B (en) A kind of wireless routing device control method and device
CN108882262A (en) Equipment state synchronous method, system, intelligent terminal and readable storage medium storing program for executing
CN103944926B (en) Remote desktop conversation switching method, client and gateway
CN107592360B (en) Internet of things data aggregation method and system based on hybrid cloud
CN106937405A (en) The control method and device and method for connecting network and system of smart machine

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