CN107135552A - Method for connecting network, mobile terminal and computer-readable recording medium - Google Patents

Method for connecting network, mobile terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107135552A
CN107135552A CN201710550299.1A CN201710550299A CN107135552A CN 107135552 A CN107135552 A CN 107135552A CN 201710550299 A CN201710550299 A CN 201710550299A CN 107135552 A CN107135552 A CN 107135552A
Authority
CN
China
Prior art keywords
mobile terminal
network
radio link
direct
hotspot
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.)
Withdrawn
Application number
CN201710550299.1A
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.)
Shenzhen Tinno Mobile Technology Co Ltd
Shenzhen Tinno Wireless Technology Co Ltd
Original Assignee
Shenzhen Tinno Mobile Technology Co Ltd
Shenzhen Tinno Wireless 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 Shenzhen Tinno Mobile Technology Co Ltd, Shenzhen Tinno Wireless Technology Co Ltd filed Critical Shenzhen Tinno Mobile Technology Co Ltd
Priority to CN201710550299.1A priority Critical patent/CN107135552A/en
Publication of CN107135552A publication Critical patent/CN107135552A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/04Terminal devices adapted for relaying to or from another terminal or user

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention program detects the channel quality of network hotspot by mobile terminal, and when the channel quality of network hotspot is unsatisfactory for default condition of contact, it is determined that currently setting up the other mobile terminals for having Radio Link with network hotspot, and then set up direct-connected Radio Link with other mobile terminals, the relay radio link with network hotspot is set up by other mobile terminals, the bandwidth resources of network hotspot are obtained.As a result, mobile terminal is when cannot be connected directly to network hotspot, network hotspot can be indirectly connected to by being connected to other mobile terminals of network hotspot, adding the coverage of wireless sharing.

Description

Method for connecting network, mobile terminal and computer-readable recording medium
Technical field
The present invention relates to mobile communication technology field, more particularly to a kind of method for connecting network, mobile terminal and computer Readable storage medium storing program for executing.
Background technology
With the popularization of mobile Internet, the application of the wireless technology such as Wi-Fi technology and Bluetooth technology is more and more extensive, pole The big life for facilitating people.But because the penetration power of these wireless signals is poor, when carrying out wireless sharing, easily by wall Limited so that the limited coverage area of wireless sharing, caused some Deng the influence of barrier, or by access point apparatus power The mobile terminal of position can not access wireless network.
The content of the invention
It is a primary object of the present invention to provide a kind of method for connecting network, mobile terminal and computer-readable storage medium Matter, it is intended to increase the coverage of wireless sharing.
To achieve the above object, the present invention provides a kind of method for connecting network, and the method for connecting network includes:
First mobile terminal detects the channel quality of network hotspot;
When the channel quality of the network hotspot is unsatisfactory for default condition of contact, first mobile terminal determines current The second mobile terminal for having Radio Link is set up with the network hotspot;
First mobile terminal sets up direct-connected Radio Link with second mobile terminal, to be moved by described second Terminal sets up the relay radio link with the network hotspot, obtains the bandwidth resources of the network hotspot.
Further, the present invention also provides a kind of mobile terminal, and the mobile terminal includes:
Be stored with the memory of network attachment procedure;
Processor, with the memory communication and being configured to perform the network attachment procedure to realize following steps:
Detect the channel quality of network hotspot;
When the channel quality of the network hotspot is unsatisfactory for default condition of contact, it is determined that currently being built with the network hotspot Found the second mobile terminal for having Radio Link;
Direct-connected Radio Link is set up with second mobile terminal, to be set up and the net by second mobile terminal The relay radio link of network focus, obtains the bandwidth resources of the network hotspot.
Further, the present invention also provides a kind of computer-readable recording medium, is deposited on the computer-readable recording medium Network attachment procedure is contained, the network attachment procedure realizes following steps when being executed by processor:
Detect the channel quality of network hotspot;
When the channel quality of the network hotspot is unsatisfactory for default condition of contact, it is determined that currently being built with the network hotspot Found the second mobile terminal for having Radio Link;
Direct-connected Radio Link is set up with second mobile terminal, to be set up and the net by second mobile terminal The relay radio link of network focus, obtains the bandwidth resources of the network hotspot.
The present invention program by mobile terminal detect network hotspot channel quality, and network hotspot channel quality not When meeting default condition of contact, it is determined that currently set up the other mobile terminals for having Radio Link with network hotspot, and then with this its Its mobile terminal sets up direct-connected Radio Link, sets up the relay radio link with network hotspot by other mobile terminals, obtains Take the bandwidth resources of network hotspot.As a result, mobile terminal is when cannot be connected directly to network hotspot, connection can be passed through Other mobile terminals to network hotspot are indirectly connected to network hotspot, add the coverage of wireless sharing.
Brief description of the drawings
Fig. 1 is the optional hardware architecture diagram of mobile terminal one of the present invention;
Fig. 2 is the schematic flow sheet of inventive network connection method first embodiment;
Fig. 3 sets up the relaying to Wi-Fi Hotspot for the first mobile terminal in inventive network connection method first embodiment The schematic diagram of Radio Link.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are:By the channel quality of mobile terminal detection network hotspot, and When the channel quality of network hotspot is unsatisfactory for default condition of contact, it is determined that currently being set up with network hotspot has the other of Radio Link Mobile terminal, and then direct-connected Radio Link is set up with other mobile terminals, set up and network boom by other mobile terminals The relay radio link of point, obtains the bandwidth resources of network hotspot.As a result, mobile terminal cannot be connected directly to network During focus, network hotspot can be indirectly connected to by being connected to other mobile terminals of network hotspot, added wireless common The coverage enjoyed.
As shown in figure 1, Fig. 1 is the structural representation of the mobile terminal for the hardware running environment that scheme of the embodiment of the present invention is related to Figure.
As shown in figure 1, the mobile terminal can include:Processor 1001, such as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is used to realize the connection communication between these components. User interface 1003 can include display screen (Display), input block such as keyboard (Keyboard), optional user interface 1003 can also include wireline interface, wave point of standard etc..Network interface 1004 can optionally include the wired of standard Interface, wave point (such as Wi-Fi interface).Memory 1005 can be high-speed RAM memory or stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.
It will be understood by those skilled in the art that the structure of the mobile terminal shown in Fig. 1 is not constituted to mobile terminal Limit, can include than illustrating more or less parts, either combine some parts or different parts arrangement.
As shown in figure 1, in an embodiment of mobile terminal of the present invention, being used as a kind of memory of computer-readable storage medium Operating system, network communication module, Subscriber Interface Module SIM and network attachment procedure can be included in 1005.
In the mobile terminal shown in Fig. 1, network interface 1004 is mainly used in connecting background server, with background server Enter row data communication;User interface 1003 is mainly used in connection client (user terminal), and row data communication is entered with client;And locate Reason device 1001 can be used for calling the network attachment procedure stored in memory 1005, and perform following operate:
Detect the channel quality of network hotspot;
When the channel quality of network hotspot is unsatisfactory for default condition of contact, it is determined that currently being set up with network hotspot has wireless Second mobile terminal of link;
Direct-connected Radio Link is set up with the second mobile terminal, to set up the relaying with network hotspot by the second mobile terminal Radio Link, obtains the bandwidth resources of network hotspot.
Further, processor 1001 can be used for calling the network attachment procedure stored in memory 1005, also perform Operate below:
When the channel quality for detecting network hotspot meets the default condition of contact, disconnect and the second mobile terminal Direct-connected Radio Link, and set up direct-connected Radio Link with network hotspot.
Further, processor 1001 can be used for calling the network attachment procedure stored in memory 1005, also perform Operate below:
It is determined that currently setting up the second movement for thering is direct-connected Radio Link or foundation to have relay radio link with network hotspot Terminal.
Further, processor 1001 can be used for calling the network attachment procedure stored in memory 1005, also perform Operate below:
When the channel quality for detecting network hotspot meets default condition of contact, direct-connected nothing is directly set up with network hotspot Wired link.
Further, processor 1001 can be used for calling the network attachment procedure stored in memory 1005, also perform Operate below:
When the network insertion for receiving the 3rd mobile terminal is asked, direct-connected Radio Link is set up with the 3rd mobile terminal, To share the bandwidth resources of network hotspot to the 3rd mobile terminal.
Further, processor 1001 can be used for calling the network attachment procedure stored in memory 1005, also perform Operate below:
The network access behaviour for not detecting direct-connected Radio Link of the 3rd mobile terminal based on foundation in preset time period When asking, the direct-connected Radio Link set up with the 3rd mobile terminal is disconnected.
Further, processor 1001 can be used for calling the network attachment procedure stored in memory 1005, also perform Operate below:
When the network insertion for receiving the 3rd mobile terminal is asked, the authentication letter carried in network insertion request is extracted Breath, and the 3rd mobile terminal is authenticated based on authentication information;
When authentication passes through, direct-connected Radio Link is set up with the 3rd mobile terminal.
Further, processor 1001 can be used for calling the network attachment procedure stored in memory 1005, also perform Operate below:
In failed authentication, the prompt message that transmission wireless link fails to the 3rd mobile terminal.
Further, processor 1001 can be used for calling the network attachment procedure stored in memory 1005, also perform Operate below:
Simultaneously detect local terminal network access operation requests and the 3rd mobile terminal network access operation requests when, Response completes to respond the network access operation requests of the 3rd mobile terminal after the network access operation requests of local terminal.
Further, the present invention also provides a kind of method for connecting network, real below applied to the mobile terminal shown in Fig. 1 Apply in example and the present invention program to be illustrated by the first mobile terminal of executive agent, refer to Fig. 2, in inventive network connection In the first embodiment of method, the method for connecting network includes:
Step S10, the first mobile terminal detects the channel quality of network hotspot;
Step S20, when the channel quality of network hotspot is unsatisfactory for default condition of contact, the first mobile terminal determines current The second mobile terminal for having Radio Link is set up with network hotspot;
Step S30, the first mobile terminal and the second mobile terminal set up direct-connected Radio Link, to pass through the second mobile terminal The relay radio link with network hotspot is set up, the bandwidth resources of network hotspot are obtained.
It will be readily appreciated by those skilled in the art that being carried out using network hotspot (such as Wi-Fi Hotspot, bluetooth hot spot) During wireless sharing, by taking Wi-Fi Hotspot as an example, due to the high frequency characteristics (bluetooth hot spot is also same) of Wi-Fi signal, Wi-Fi Hotspot to The Wi-Fi signal of outer transmitting is easily influenceed by barriers such as walls, or by its own transmission power limit, its Wi-Fi signal Limited coverage area, so that the limited coverage area of wireless sharing.So, for being intended to access the movement of the Wi-Fi Hotspot For terminal, whether the mobile terminal, which can be stablized, is accessed and obtains good network service, current depending on the mobile terminal The channel quality of Wi-Fi signal at position.
Therefore, in embodiments of the present invention, the first mobile terminal detects the channel quality of network hotspot first, to determine to be It is no that the good network service of network hotspot offer can be provided.In the specific implementation, the first mobile terminal can be to network The signal intensity of focus is detected, channel quality quality can be described as the channel quality of network hotspot, or use Other signal parameters, the embodiment of the present invention is not particularly limited.
First mobile terminal determines whether the channel matter of network hotspot after the channel quality of network hotspot is detected Whether amount meets default condition of contact, to determine whether the good network service that can get network hotspot offer.For example, Default condition of contact is that signal intensity is more than or equal to -70dbm, as long as then the first mobile terminal detects the signal of network hotspot Intensity is more than or equal to -70dbm, then can determine that the channel quality of network hotspot meets default condition of contact, otherwise determine network The channel quality of focus is unsatisfactory for default condition of contact.
Complete aforementioned network Hot Spot channels quality judgement operation and determine network hotspot channel quality be unsatisfactory for it is pre- If condition of contact, illustrate currently set up direct-connected Radio Link with network hotspot, the good of network hotspot offer can not be also provided Good network service.Now, the first mobile terminal further determines that the second movement currently set up with network hotspot and have Radio Link Terminal.It should be noted that in the present embodiment, any mobile terminal is opened after being set up with network hotspot and having a Radio Link The focus function of itself is moved, to share the bandwidth resources of network hotspot, for example, mobile terminal possesses multiple Wi-Fi modules simultaneously, Then set up by a wherein Wi-Fi module and Wi-Fi Hotspot after Radio Link, start the heat of any other Wi-Fi modules The bandwidth resources of point function, outwards shared Wi-Fi Hotspot;In another example, mobile terminal possesses a Wi-Fi module and a bluetooth Module, then set up after Radio Link by Wi-Fi module and Wi-Fi Hotspot, starts the focus function of bluetooth module, outwards The bandwidth resources of shared Wi-Fi Hotspot;In another example, mobile terminal possesses multiple bluetooth modules simultaneously, then blue by wherein one Tooth module is set up after Radio Link with bluetooth hot spot, starts the focus function of any other bluetooth modules, outwards shares bluetooth The bandwidth resources of focus;In another example, mobile terminal possesses a Wi-Fi module and a bluetooth module, then is passing through bluetooth mould Block is set up after Radio Link with bluetooth hot spot, starts the focus function of Wi-Fi module, outwards the bandwidth money of shared bluetooth hot spot Source.Therefore, in the specific implementation, detect nearby with the presence or absence of the mobile terminal for starting " network hotspot " function, it is current to determine The second mobile terminal for having Radio Link is set up with network hotspot.
After it is determined that currently there is the second mobile terminal of Radio Link with network hotspot foundation, the first mobile terminal is sent Network insertion is asked to the second mobile terminal of determination, to set up direct-connected Radio Link with the second mobile terminal, so as to pass through Two mobile terminals establish Radio Link with network hotspot, so, you can the band of network hotspot is obtained by the second mobile terminal Wide resource.Wherein, this Radio Link set up indirectly is defined as relay radio link by the present invention.
For example, refer to Fig. 3, by taking Wi-Fi Hotspot as an example, the first mobile terminal is by detecting the channel matter of Wi-Fi Hotspot Amount, determines that it can not set up direct-connected Radio Link with Wi-Fi Hotspot, further determines that to set up have direct-connected wireless with Wi-Fi Hotspot Second mobile terminal of link, sets up direct-connected Radio Link by way of bluetooth with the second mobile terminal, obtains Wi-Fi Hotspot Bandwidth resources.
Further, in the present embodiment, after step S30, in addition to:
When the channel quality for detecting network hotspot meets default condition of contact, the first mobile terminal disconnects to be moved with second The direct-connected Radio Link of dynamic terminal, and set up direct-connected Radio Link with network hotspot.
In the present embodiment, the first mobile terminal is setting up the relay wireless chain with network hotspot by the second mobile terminal After road, it is contemplated that the mobility of user, also persistently the channel quality of network hotspot is detected, if detecting network hotspot Channel quality meet default condition of contact, then illustrate currently set up direct-connected Radio Link with network hotspot, obtain network boom The good network service that point is provided.Now, the first mobile terminal first disconnects the direct-connected Radio Link with the second mobile terminal, then sends out SCN Space Cable Network access request to network hotspot, request sets up direct-connected Radio Link with network hotspot, obtains compared with relay radio link more Good network service.
Further, in the present embodiment, after step S10, in addition to:
When the channel quality for detecting network hotspot meets default condition of contact, the first mobile terminal is directly and network boom Point sets up direct-connected Radio Link.
In embodiments of the present invention, if completing the judgement operation of aforementioned network Hot Spot channels quality and determining network hotspot Channel quality meets default condition of contact, illustrates currently set up direct-connected Radio Link with network hotspot, obtains network hotspot and carries The good network service of confession.Now the first mobile terminal directly transmits network insertion and asked to network hotspot, request and network boom Point sets up direct-connected Radio Link, obtains the network service that network hotspot is provided.
Further, in the present embodiment, step S20 includes:
First mobile terminal, which determines currently to set up with network hotspot, has direct-connected Radio Link or foundation to have relay wireless chain Second mobile terminal on road.
It should be noted that in the present embodiment, the second mobile terminal for serving as via node is built with network hotspot Vertical Radio Link can be direct-connected Radio Link or relay radio link.In other words, in the specific implementation, One mobile terminal can set up the relay radio link with network hotspot by multiple via nodes.Therefore, in the present embodiment, if There are multiple second mobile terminals, then the first mobile terminal is it is determined that when the second mobile terminal of direct-connected Radio Link is set up, Using preset path algorithm (such as dijkstra's algorithm, Floyd algorithms), the via node of choosing network hotspot is minimum, chain The second best mobile terminal of road situation sets up direct-connected Radio Link.
The method for connecting network that the embodiment of the present invention is proposed, the channel quality of network hotspot is detected by mobile terminal, and When the channel quality of network hotspot is unsatisfactory for default condition of contact, it is determined that currently having its of Radio Link with network hotspot foundation Its mobile terminal, and then direct-connected Radio Link is set up with other mobile terminals, set up and network by other mobile terminals The relay radio link of focus, obtains the bandwidth resources of network hotspot.As a result, mobile terminal cannot be connected directly to net During network focus, network hotspot can be indirectly connected to by being connected to other mobile terminals of network hotspot, added wireless Shared coverage.
Further, based on first embodiment, the second embodiment of inventive network connection method is proposed, in the present embodiment In, after the step of the first mobile terminal sets up direct-connected Radio Link or relay radio link with network hotspot, in addition to:
When the network insertion for receiving the 3rd mobile terminal is asked, the first mobile terminal and the 3rd mobile terminal set up straight Connect Radio Link, to share the bandwidth resources of network hotspot to the 3rd mobile terminal.
It should be noted that the present embodiment is on the basis of aforementioned first embodiment, mobile terminal is added as relaying Node assists other mobile terminals to set up the processing scheme of relay radio link with network hotspot, is only explained below, Other can refer to the associated description of aforementioned first embodiment, and here is omitted.
In the present embodiment, the first mobile terminal is setting up direct-connected Radio Link or relay radio link with network hotspot Afterwards, the bandwidth resources of network hotspot can be shared to other mobile terminals.In the specific implementation, if receiving the 3rd movement eventually The network insertion request at end, then the first mobile terminal and the 3rd mobile terminal set up direct-connected Radio Link, with whole to the 3rd movement The bandwidth resources of the shared network hotspot in end.
Further, in the present embodiment, the first mobile terminal and the 3rd mobile terminal set up the step of direct-connected Radio Link After rapid, in addition to:
First mobile terminal detects the network access operation requests of local terminal and the network access of the 3rd mobile terminal simultaneously During operation requests, the network access operation of the 3rd mobile terminal of response please after response completes the network access operation requests of local terminal Ask.
It should be noted that the first mobile terminal sets the Network Priority of local terminal to ensure the network demand of local terminal business Level is higher than the network priority of the 3rd mobile terminal, in other words, under square one, and the first mobile terminal will preferentially ensure this Hold the transmission of network data.In the specific implementation, if the first mobile terminal detects the network access operation requests of local terminal simultaneously With the network access operation requests of the 3rd mobile terminal, by the network access operation requests of preferential answering local terminal, associated nets are realized The transmission of network data, and then after the network access operation requests that response completes local terminal, the network of the 3rd mobile terminal of response is visited Ask operation requests.
Further, for security consideration, the first mobile terminal only provides network insertion service for authorization terminal, in this reality Apply in example, before the step of the first mobile terminal and the 3rd mobile terminal set up direct-connected Radio Link, in addition to:
When the network insertion for receiving the 3rd mobile terminal is asked, the first mobile terminal is extracted to be taken in network insertion request The authentication information of band, and the 3rd mobile terminal is authenticated based on authentication information;
When authentication passes through, the first mobile terminal and the 3rd mobile terminal set up direct-connected Radio Link.
In the present embodiment, the first mobile terminal is first when receiving the network insertion request of the 3rd mobile terminal transmission The authentication information that network insertion request is carried first is extracted, to judge whether the 3rd mobile terminal is to authorize eventually according to authentication information End.Wherein, authentication information is allocated in advance to the 3rd mobile terminal by the first mobile terminal, and in the specific implementation, the first movement is eventually End can be that the 3rd mobile terminal distributes authentication information, unique identification information bag according to the unique identification information of the 3rd mobile terminal Include but be not limited to the MAC Address, the string number of built Bluetooth module, IMEI (International Mobile of the 3rd mobile terminal Equipment Identity, also known as mobile device world identification code, International Mobile Station Equipment Identification, are moved eventually for unique mark End) number, insert SIM (Subscriber Identity Module client identification modules) block ICCID (Integrate Circuit card identity, integrated circuit card identification code), insert corresponding cell-phone number of SIM card etc..Need explanation It is that the 3rd mobile terminal can send network insertion to the first mobile terminal using various ways and ask, for example, the 3rd mobile terminal Can the contact method based on the first mobile terminal prestored network insertion request is sent to the by way of the short message of backstage One mobile terminal, or bluetooth connection based on it between the first mobile terminal will by way of extending bluetooth and interacting signaling Network insertion request is sent to the first mobile terminal;The authentication information that network insertion request is carried includes but is not limited to be based on XML The text message or bluetooth signaling format information of form.
It is stored with it should be noted that the first mobile terminal is preset with authentication information database, authentication information database The authentication information of the different authorization terminals of correspondence.Specifically, the first mobile terminal is receiving the mandate of the 3rd mobile terminal transmission During request, if authorization requests carry the unique identification information of the 3rd mobile terminal, the first mobile terminal is according to unique mark Information is that the 3rd mobile terminal distributes authentication information, if authorization requests do not carry the unique identification information of the 3rd mobile terminal, Default provisional authentication information can be distributed to the 3rd mobile terminal by the first mobile terminal;First mobile terminal is by authentication information Send to the 3rd mobile terminal, and store to authentication information database after authentication information is associated with the 3rd mobile terminal simultaneously. In the authorization requests for the transmission for receiving other mobile terminals outside the 3rd mobile terminal, the first mobile terminal is its distribution mirror The process of power information can refer to aforementioned manner execution, and here is omitted.If having authorized the unique of mobile terminal in addition, detecting When identification information changes (such as mobile phone changes SIM card, when replacing built-in bluetooth module), for security consideration, the first movement is eventually End can authorize mobile terminal to redistribute authentication information for this, and the authentication information redistributed is sent to this and has authorized movement Terminal, and authorized mobile terminal to replace pair that authentication information database is stored after associating with this authentication information redistributed The authentication information of mobile terminal should have been authorized.
First mobile terminal is being extracted by the entrained authentication information of the network insertion request of the 3rd mobile terminal transmission Afterwards, authentication information is compared with each authentication information in local authentication information database, if authentication information and local mirror When each authentication information is mismatched in power information database, failed authentication, i.e. the 3rd mobile terminal are not the first mobile terminals Authorization terminal;If there is occurrence in local authentication information database, authentication passes through, i.e., the 3rd mobile terminal is the first shifting The authorization terminal of dynamic terminal.
The 3rd mobile terminal authentication by when, the first mobile terminal and the 3rd mobile terminal set up direct-connected Radio Link. For example, the first mobile terminal is connected to after Wi-Fi Hotspot by Wi-Fi module, start the focus function of bluetooth module, outwards The bandwidth resources of shared network hotspot, are receiving the 3rd mobile terminal network access request, and take according to network insertion request After, the direct-connected radio chains based on bluetooth are set up with the 3rd mobile terminal to the 3rd mobile terminal authentication for the authentication information of band Road so that the 3rd mobile terminal obtains the bandwidth resources of Wi-Fi Hotspot by the bluetooth connection between the first mobile terminal, real Existing network access.It will be appreciated by persons skilled in the art that the first mobile terminal and the 3rd mobile terminal can belong to it is same User, can also belong to different user.That is user A for the PAD of oneself can provide network insertion service by oneself mobile phone, also For user B mobile phone network insertion service can be provided by the mobile phone of oneself.
In addition, do not avoid causing user to puzzle, and lifting Consumer's Experience, when failing to the 3rd mobile terminal authentication, First mobile terminal sends prompt message to the 3rd mobile terminal, and the prompt message is used to inform that the 3rd mobile terminal user is current Network insertion fails, it is impossible to carry out network access.It will be appreciated by persons skilled in the art that the first mobile terminal is sent to The prompt message of three mobile terminals can be diversified forms, for example, the first mobile terminal sends prompting letter by the form of voice " the Internet access function is not actuated " is ceased to the 3rd mobile terminal;3rd mobile terminal is played " mutually by its voice-output device Internet interview function is not actuated " etc..
Further, based on second embodiment, the 3rd embodiment of inventive network connection method is proposed, in the present embodiment In, after the step of the first mobile terminal and the 3rd mobile terminal set up direct-connected Radio Link, in addition to:
The network access behaviour for not detecting direct-connected Radio Link of the 3rd mobile terminal based on foundation in preset time period When asking, the direct-connected Radio Link set up with the 3rd mobile terminal is disconnected.
To prevent the 3rd mobile terminal is not based on the first mobile terminal in for a long time from carrying out network access operation, first is caused The unnecessary waste of mobile terminal electricity, in the present embodiment, if in preset time period, the first mobile terminal does not detect The network access operation requests of direct-connected Radio Link of three mobile terminals based on foundation, then disconnect what is set up with the 3rd mobile terminal Direct-connected Radio Link, and close the focus function of local terminal.Wherein, preset time period can be rule of thumb configured, the present invention Embodiment is not particularly limited, for example, being set to 5 minutes.
Further, the present invention also provides a kind of computer-readable recording medium, and in one embodiment, this is computer-readable Be stored with network attachment procedure on storage medium, and following operation is realized when the network attachment procedure is performed by processor 1001:
Detect the channel quality of network hotspot;
When the channel quality of network hotspot is unsatisfactory for default condition of contact, it is determined that currently being set up with network hotspot has wireless Second mobile terminal of link;
Direct-connected Radio Link is set up with the second mobile terminal, to set up the relaying with network hotspot by the second mobile terminal Radio Link, obtains the bandwidth resources of network hotspot.
Further, when aforementioned network linker is performed by processor 1001, following operation is also realized:
When the channel quality for detecting network hotspot meets the default condition of contact, disconnect and the second mobile terminal Direct-connected Radio Link, and set up direct-connected Radio Link with network hotspot.
Further, when aforementioned network linker is performed by processor 1001, following operation is also realized:
It is determined that currently setting up the second movement for thering is direct-connected Radio Link or foundation to have relay radio link with network hotspot Terminal.
Further, when aforementioned network linker is performed by processor 1001, following operation is also realized:
When the channel quality for detecting network hotspot meets default condition of contact, direct-connected nothing is directly set up with network hotspot Wired link.
Further, when aforementioned network linker is performed by processor 1001, following operation is also realized:
When the network insertion for receiving the 3rd mobile terminal is asked, direct-connected Radio Link is set up with the 3rd mobile terminal, To share the bandwidth resources of network hotspot to the 3rd mobile terminal.
Further, when aforementioned network linker is performed by processor 1001, following operation is also realized:
The network access behaviour for not detecting direct-connected Radio Link of the 3rd mobile terminal based on foundation in preset time period When asking, the direct-connected Radio Link set up with the 3rd mobile terminal is disconnected.
Further, when aforementioned network linker is performed by processor 1001, following operation is also realized:
When the network insertion for receiving the 3rd mobile terminal is asked, the authentication letter carried in network insertion request is extracted Breath, and the 3rd mobile terminal is authenticated based on authentication information;
When authentication passes through, direct-connected Radio Link is set up with the 3rd mobile terminal
Further, when aforementioned network linker is performed by processor 1001, following operation is also realized:
In failed authentication, the prompt message that transmission wireless link fails to the 3rd mobile terminal.
Further, when aforementioned network linker is performed by processor 1001, following operation is also realized:
Simultaneously detect local terminal network access operation requests and the 3rd mobile terminal network access operation requests when, Response completes to respond the network access operation requests of the 3rd mobile terminal after the network access operation requests of local terminal.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and And also including other key elements being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in process, method, article or the device of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a mobile terminal to perform present invention correspondence Method described in embodiment.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, these are belonged within the protection of the present invention.

Claims (10)

1. a kind of method for connecting network, it is characterised in that the method for connecting network comprises the following steps:
First mobile terminal detects the channel quality of network hotspot;
When the channel quality of the network hotspot is unsatisfactory for default condition of contact, first mobile terminal is determined currently and institute State network hotspot and set up the second mobile terminal for having Radio Link;
First mobile terminal sets up direct-connected Radio Link with second mobile terminal, to pass through second mobile terminal The relay radio link with the network hotspot is set up, the bandwidth resources of the network hotspot are obtained.
2. method for connecting network according to claim 1, it is characterised in that first mobile terminal is moved with described second After the step of dynamic terminal sets up direct-connected Radio Link, in addition to:
When the channel quality for detecting the network hotspot meets the default condition of contact, first mobile terminal disconnects With the direct-connected Radio Link of second mobile terminal, and direct-connected Radio Link is set up with the network hotspot.
3. method for connecting network according to claim 1 or 2, it is characterised in that first mobile terminal determines current Setting up the step of having the second mobile terminal of Radio Link with the network hotspot includes:
First mobile terminal, which determines currently to set up with the network hotspot, has direct-connected Radio Link or foundation to have relaying nothing Second mobile terminal of wired link.
4. method for connecting network according to claim 1, it is characterised in that first mobile terminal detects network hotspot Channel quality the step of after, in addition to:
When the channel quality for detecting the network hotspot meets the default condition of contact, first mobile terminal is direct Direct-connected Radio Link is set up with the network hotspot.
5. the method for connecting network according to claim 2 or 4, it is characterised in that first mobile terminal and the net After the step of network focus sets up direct-connected Radio Link or relay radio link, in addition to:
When the network insertion for receiving the 3rd mobile terminal is asked, first mobile terminal is built with the 3rd mobile terminal Direct-connected Radio Link is found, to share the bandwidth resources of the network hotspot to the 3rd mobile terminal.
6. method for connecting network according to claim 5, it is characterised in that first mobile terminal is moved with the described 3rd After the step of dynamic terminal sets up Radio Link, in addition to:
The network access behaviour for not detecting the direct-connected Radio Link of the 3rd mobile terminal based on foundation in preset time period When asking, the direct-connected Radio Link set up with the 3rd mobile terminal is disconnected.
7. method for connecting network according to claim 5, it is characterised in that first mobile terminal is moved with the described 3rd Before the step of dynamic terminal sets up direct-connected Radio Link, in addition to:
When the network insertion for receiving the 3rd mobile terminal is asked, first mobile terminal extracts the network insertion The authentication information carried in request, and the 3rd mobile terminal is authenticated based on the authentication information;
When authentication passes through, first mobile terminal sets up direct-connected Radio Link with the 3rd mobile terminal.
8. method for connecting network according to claim 5, it is characterised in that first mobile terminal is moved with the described 3rd After the step of dynamic terminal sets up direct-connected Radio Link, in addition to:
First mobile terminal detects the network access operation requests of local terminal and the network access of the 3rd mobile terminal simultaneously During operation requests, the network access operation of the 3rd mobile terminal of response please after response completes the network access operation requests of local terminal Ask.
9. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
Be stored with the memory of network attachment procedure;
Processor, with the memory communication and being configured to perform the network attachment procedure to realize following steps:
Detect the channel quality of network hotspot;
When the channel quality of the network hotspot is unsatisfactory for default condition of contact, it is determined that currently being set up with the network hotspot has Second mobile terminal of Radio Link;
Direct-connected Radio Link is set up with second mobile terminal, to be set up and the network boom by second mobile terminal The relay radio link of point, obtains the bandwidth resources of the network hotspot.
10. a kind of computer-readable recording medium, it is characterised in that the network that is stored with the computer-readable recording medium connects Program is connect, the network attachment procedure realizes following steps when being executed by processor:
Detect the channel quality of network hotspot;
When the channel quality of the network hotspot is unsatisfactory for default condition of contact, it is determined that currently being set up with the network hotspot has Second mobile terminal of Radio Link;
Direct-connected Radio Link is set up with second mobile terminal, to be set up and the network boom by second mobile terminal The relay radio link of point, obtains the bandwidth resources of the network hotspot.
CN201710550299.1A 2017-07-06 2017-07-06 Method for connecting network, mobile terminal and computer-readable recording medium Withdrawn CN107135552A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710550299.1A CN107135552A (en) 2017-07-06 2017-07-06 Method for connecting network, mobile terminal and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710550299.1A CN107135552A (en) 2017-07-06 2017-07-06 Method for connecting network, mobile terminal and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107135552A true CN107135552A (en) 2017-09-05

Family

ID=59737480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710550299.1A Withdrawn CN107135552A (en) 2017-07-06 2017-07-06 Method for connecting network, mobile terminal and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107135552A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107635232A (en) * 2017-09-29 2018-01-26 努比亚技术有限公司 A kind of network share method, terminal and computer-readable recording medium
CN108055692A (en) * 2018-01-23 2018-05-18 广东小天才科技有限公司 Wireless network expansion method and wearable device
CN108156669A (en) * 2017-12-04 2018-06-12 捷开通讯(深圳)有限公司 Intelligent terminal communication means, intelligent terminal and the device with store function
CN109495948A (en) * 2018-12-26 2019-03-19 努比亚技术有限公司 A kind of communication connecting method, equipment and computer readable storage medium
CN112163708A (en) * 2020-09-30 2021-01-01 卖点国际展示(深圳)有限公司 Monitoring management system and method based on intelligent display terminal
CN113067753A (en) * 2021-04-01 2021-07-02 北京有竹居网络技术有限公司 Method, device, equipment and storage medium for detecting connectivity of mobile data link
CN113746909A (en) * 2021-08-25 2021-12-03 深圳Tcl新技术有限公司 Network connection method, device, electronic equipment and computer readable storage medium
CN115334595A (en) * 2021-05-10 2022-11-11 Oppo广东移动通信有限公司 Method, device, wireless terminal and storage medium for acquiring network service

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107635232A (en) * 2017-09-29 2018-01-26 努比亚技术有限公司 A kind of network share method, terminal and computer-readable recording medium
CN108156669A (en) * 2017-12-04 2018-06-12 捷开通讯(深圳)有限公司 Intelligent terminal communication means, intelligent terminal and the device with store function
CN108055692A (en) * 2018-01-23 2018-05-18 广东小天才科技有限公司 Wireless network expansion method and wearable device
CN109495948A (en) * 2018-12-26 2019-03-19 努比亚技术有限公司 A kind of communication connecting method, equipment and computer readable storage medium
CN109495948B (en) * 2018-12-26 2022-06-03 努比亚技术有限公司 Communication connection method, equipment and computer readable storage medium
CN112163708A (en) * 2020-09-30 2021-01-01 卖点国际展示(深圳)有限公司 Monitoring management system and method based on intelligent display terminal
CN113067753A (en) * 2021-04-01 2021-07-02 北京有竹居网络技术有限公司 Method, device, equipment and storage medium for detecting connectivity of mobile data link
CN115334595A (en) * 2021-05-10 2022-11-11 Oppo广东移动通信有限公司 Method, device, wireless terminal and storage medium for acquiring network service
CN113746909A (en) * 2021-08-25 2021-12-03 深圳Tcl新技术有限公司 Network connection method, device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN107135552A (en) Method for connecting network, mobile terminal and computer-readable recording medium
CN104902443B (en) A kind of method and apparatus of communication
CN101779484B (en) Hoc service provider provides the ability of service for wireless network
US11233817B2 (en) Methods and apparatus for end device discovering another end device
WO2017219673A1 (en) Vowifi network access method and system, and terminal
CN109121469A (en) The system and method for equipment identification and authentication
CN104468565B (en) The login method and system of Wi-Fi hotspot
CN107615732A (en) Session is received to virtual network service
CN107889194B (en) Obtain, provide method, equipment and the medium of wireless access point access information
CN107659999A (en) WIFI connection methods and equipment
CN108040356A (en) Obtain, provide method, equipment and the medium of wireless access point access information
CN106576238A (en) Method and apparatus for establishment of private communication between devices
US20160316368A1 (en) Method, apparatus, and system for selecting authentication algorithm
CN106572465B (en) A kind of wireless connection method and system
CN106385683A (en) Wireless hot spot safety detection method, apparatus and user equipment thereof
KR101460766B1 (en) Security setting system and the control method for using clurster function in Wireless network system
CN107396357A (en) A kind of wireless network connecting method and a kind of wireless routing device
CN104469766A (en) Terminal authentication method and device used in mobile communication system
CN101800686A (en) Method, device and system for realizing service
CN106792627A (en) A kind of implementation method of many equipment connected communications and realize system
CN109863790A (en) The WLAN discovery and selection of cellular network auxiliary
CN112788738A (en) Code number processing method and device for public and private network convergence system
CN106921967A (en) Data service handling method and device
CN108307380A (en) A kind of location of mobile users method for secret protection and mobile gateway
CN109982319A (en) User authentication method, device, system, node, server and storage medium

Legal Events

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

Application publication date: 20170905

WW01 Invention patent application withdrawn after publication