CN104135728A - Network connection method and device - Google Patents

Network connection method and device Download PDF

Info

Publication number
CN104135728A
CN104135728A CN201410341831.5A CN201410341831A CN104135728A CN 104135728 A CN104135728 A CN 104135728A CN 201410341831 A CN201410341831 A CN 201410341831A CN 104135728 A CN104135728 A CN 104135728A
Authority
CN
China
Prior art keywords
terminal
default application
user
target access
application server
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.)
Granted
Application number
CN201410341831.5A
Other languages
Chinese (zh)
Other versions
CN104135728B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410341831.5A priority Critical patent/CN104135728B/en
Publication of CN104135728A publication Critical patent/CN104135728A/en
Application granted granted Critical
Publication of CN104135728B publication Critical patent/CN104135728B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a network connection method and device, and belongs to the technical field of wireless networks. The method comprises the following steps: when a network access command is detected after first connection is established between a terminal and a target access point, sending a message acquisition request to a preset application server to make the preset application server send a verification prompt message to the terminal; displaying the verification prompt message based on a preset application; when calling operation on the preset application is detected, sending a verification request to the preset application server; and when a user identification passes verification, establishing second connection between the terminal and the target access point. According to the method, the message acquisition request is sent to the preset application server to make the preset application server send the verification prompt message to the terminal when the network access command is detected after the first connection is established between the terminal and the target access point, and the terminal displays the verification prompt message to prompt a user to perform identity verification, so that the user can rapidly lock the problems of a wireless network, and the network connection is smooth.

Description

Method for connecting network and device
Technical field
The present invention relates to radio network technique field, particularly a kind of method for connecting network and device.
Background technology
Developing rapidly of radio network technique, for people surf the Net and provide a great convenience whenever and wherever possible.When terminal is successfully connected to after a certain access point for the first time, user can carry out the operations such as web page access, video-see easily by terminal.Further, because instantly most terminals all can be preserved the once link information of the successful access point connecting, so when terminal is positioned at the network coverage of this access point again, terminal can be connected to this access point voluntarily according to the link information of this access point of preserving.But because wireless network is now in hanging death situation state, although terminal shows and is connected to this access point, but cannot carry out the operations such as access to netwoks.And user now cannot determine the problem place of the present situation, be that user cannot determine that problem has appearred in wireless network self, or carried out misoperation in connecting wireless network process, or the Wireless Internet access module existing problems that terminal is built-in, thereby network is connected to have some setbacks, network connects length consuming time, has affected the efficiency of operation of Network Access Point.
Summary of the invention
In order to solve the problem of prior art, the embodiment of the present invention provides a kind of method for connecting network and device.Described technical scheme is as follows:
First aspect, provides a kind of method for connecting network, and described method comprises:
Terminal and target access set up first be connected after, when accesses network instruction being detected, to default application server, send message and obtain request, the user ID of default application is carried in the request of obtaining of described message, so that described default application server sends verification tip message to described terminal;
Based on default application, show described verification tip message;
When detect described default application call operation time, to described default application server, send checking request, the user ID of described default application and the service set of described target access are at least carried in described checking request;
When described user ID is passed through checking, described terminal is set up second with described target access and is connected;
Wherein, the historical access point that described target access is described terminal, described default application server is that the server of service is provided for described default application.
Second aspect, provides a kind of network connection device, and described device comprises:
Message is obtained request sending module, for terminal and target access set up first be connected after, when accesses network instruction being detected, to default application server, send message and obtain request, the user ID of default application is carried in the request of obtaining of described message, so that described default application server sends verification tip message to described terminal;
Verification tip message display module, for based on default application, shows described verification tip message;
Checking request sending module, during for call operation when detecting described default application, to described default application server, send checking request, the user ID of described default application and the service set of described target access are at least carried in described checking request;
Connect and set up module, for when described user ID is passed through checking, described terminal is set up second with described target access and is connected;
Wherein, the historical access point that described target access is described terminal, described default application server is that the server of service is provided for described default application.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
Terminal and target access set up first be connected after, when accesses network instruction being detected, to default application server, send message and obtain request, so that default application server sends verification tip message based on default application to terminal, and then by terminal, this verification tip message is shown, with reminding user, carry out authentication, after authentication is passed through, terminal is set up second with target access and is connected.Due to after accesses network instruction being detected, terminal makes default application server send verification tip message to it by the message request of obtaining, therefore by this verification tip message user, can be informed in and set up after the first connection, also need to carry out subscriber authentication, so this kind of internetwork connection mode can help the reason of user's quick lock in access to netwoks failure, make network connect smooth and easy, network and connect consuming time shortly, promoted the efficiency of operation of target access.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the configuration diagram of a kind of Radio Network System of providing of the embodiment of the present invention;
Fig. 2 is the flow chart of a kind of method for connecting network of providing of the embodiment of the present invention;
Fig. 3 is the flow chart of a kind of method for connecting network of providing of the embodiment of the present invention;
Fig. 4 is the structural representation of a kind of network connection device of providing of the embodiment of the present invention;
Fig. 5 is the structural representation of a kind of terminal of providing of the embodiment of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Before the embodiment of the present invention is at length explained, first the application scenarios of the embodiment of the present invention is briefly described.For terminal with target access set up first be connected after, the situation that can not carry out access to netwoks, the embodiment of the present invention provides a kind of internetwork connection mode, can make the reason of user's quick lock in access to netwoks failure.After setting up the first connection, embodiment of the present invention reminding user carries out attended operation again, so that wireless network can use, and then meets user's the demand such as web page access, video-see.Referring to Fig. 1, the method for connecting network that the embodiment of the present invention provides is applied to the Radio Network System in Fig. 1.This Radio Network System comprises terminal (intelligent mobile terminal), access point and is positioned at the server of network side.Wherein, terminal with target access set up first be connected after, when accesses network instruction being detected, to default application server, send message and obtain request; After receiving the verification tip message of default application server transmission, this verification tip message is shown; When detecting the default call operation of applying, to default application server, send the checking request of the service set that comprises user ID and target access.
Default application server, the message sending for receiving terminal is obtained request, and according to this message, the request of obtaining sends verification tip message to terminal; The checking request of the service set of carrying user ID and target access that receiving terminal sends, and this checking request is sent to access point server, by access point server, checking request is verified.If this checking request is by checking, terminal is set up second with target access and is connected.After the second connection is set up, user can carry out the operations such as web page access, video-see.If this checking request is not by checking, wireless network will be always in hanging death situation state, and user can not carry out the operations such as access to netwoks or video-see by this wireless network.
Fig. 2 is a kind of method for connecting network that the embodiment of the present invention provides.Referring to Fig. 2, the method flow that the embodiment of the present invention provides comprises:
201, terminal and target access set up first be connected after, when accesses network instruction being detected, to default application server, send message and obtain request, the user ID of default application is carried in the request of obtaining of this message, so that default application server sends verification tip message to terminal.
Wherein, the historical access point that target access is terminal, default application server is that the server of service is provided for default application.
202, based on default application, show verification tip message.
203, when detecting the default call operation of applying, to default application server, send checking request, checking asks at least to carry the user ID of default application and the service set of target access.
204, when user ID is passed through checking, terminal is set up second with target access and is connected.
The method that the embodiment of the present invention provides, terminal and target access set up first be connected after, when accesses network instruction being detected, to default application server, send message and obtain request, so that default application server sends verification tip message to terminal, and then by terminal, this verification tip message is shown, with reminding user, carry out authentication, after authentication is passed through, terminal is set up second with target access and is connected, due to after accesses network instruction being detected, terminal makes default application server send verification tip message to it by the message request of obtaining, therefore by this verification tip message user, can be informed in and set up after the first connection, also need to carry out subscriber authentication, so this kind of internetwork connection mode can help the reason of user's quick lock in access to netwoks failure, network is connected smooth and easy, network connects consuming time short, promoted the efficiency of operation of target access.
Alternatively, when user's accesses network instruction being detected, before obtaining request to default application server transmission message, the method also comprises:
After terminal and target access connect for the first time, the access point password of storage target access, with when terminal is positioned at the network coverage of target access again, sets up first according to access point password and target access and is connected.
Alternatively, after default application server sends checking request, the method also comprises:
If user ID, not by checking,, after receiving the authentication failed information of default application server transmission, shows authentication failed information.
Alternatively, authentication failed information is shown, comprising:
In the informing of the display interface of terminal, verification tip message is shown.
Alternatively, after default application server sends checking request, the method also comprises:
If user ID is by checking,, receiving being proved to be successful after information that default application server sends, will be proved to be successful information and show.
Above-mentioned all optional technical schemes, can adopt any combination to form optional embodiment of the present invention, and this is no longer going to repeat them.
Fig. 3 is a kind of method for connecting network that the embodiment of the present invention provides.Referring to Fig. 3, the method flow that the embodiment of the present invention provides comprises:
301, terminal and target access set up first be connected after, when accesses network instruction being detected, terminal sends message to default application server and obtains request, the user ID of default application is carried in the request of obtaining of this message.
Wherein, the historical access point that target access is terminal, this history access point refers to the access point that terminal once connected.Also, terminal this and target access set up first be connected before, once set up and be connected with this target access.If pull the access point of terminal storage, connect list, the SSID of this target access (Service Set Identifier, service set) is arranged in this access point connection list.Wherein, default application server is referred to as the server that default application provides service.Default application can be popular at present social class application, and the embodiment of the present invention does not specifically limit the type of default application.
In embodiments of the present invention, user connects after button at the wireless network of clicking terminal, and terminal just can search near the wireless network being positioned at it, and with the form of list by can showing by connecting wireless network of searching.In the time of within the scope of the wireless network that fast mobile terminal to target access covers, in terminal, show can connecting wireless network list in just there will be the relevant information of target access, this relevant information includes but not limited to the SSID of target access, signal strength information of target access etc.Due to this target access historical access point that is terminal, and for the historical access point that has access point password, terminal is generally understood the access point password of the historical access point of autostore, so when terminal is positioned at the wireless network scope that this target access covers, terminal just can automatically be set up first with this target access according to the access point password of self storage and be connected.For the historical access point that there is no access point password, when terminal is positioned at the wireless network scope that this target access covers, terminal can directly be set up first with this target access and be connected.Because terminal is now positioned at the wireless network scope that this target access covers, so the signal strength signal intensity of this wireless network should be the strongest, with guarantee terminal and this target access in subsequent process set up its second be connected after the access speed of terminal very fast.
It should be noted that, terminal with this target access set up first be connected after, can display radio on the display interface of terminal network connection identifier.For user, see that, after this wireless network connection identifier, user may think that now terminal successfully connects with target access.If connect but user now opens mobile data communication, user now arbitrarily opens a webpage connection, all there will be the situation that access is failed.And why there will be the situation that access is failed, be because target access exists two-stage connection mechanism.Terminal with target access set up first be connected after, also continuation is verified user identity; Only, after subscriber authentication is passed through, between terminal and target access, just set up the second connection.Terminal and target access are after setting up the second connection, and user just can hold the operations such as web page access, video-see.Terminal and target access set up first be connected after, if user not by authentication, wireless network will be always in hanging death situation state, the wireless network that user can not form by this target access is surfed the Net.
In addition,, when test access network instruction, specifically can take following manner to realize:
Whether the pattern identification of the arbitrary application except default application of installing in sense terminals is clicked; If the pattern identification of the arbitrary application except default application of installing in terminal is clicked, determines and accesses network instruction detected.
Certainly, except the mode of above-mentioned test access network instruction, also can take other detection modes, the embodiment of the present invention is not done concrete restriction to this.
In embodiments of the present invention, when terminal detects after accesses network instruction, will send message to default application server and obtain request, this message is obtained in request and is at least referred to and carry the default user ID of applying.Certainly, message is obtained in request except carrying user ID, goes back other information of portability, and the embodiment of the present invention is obtained the content of carrying in request to message and specifically do not limited.
302, default application server obtains after request in the message that receives terminal transmission, to terminal, sends verification tip message.
Wherein, verification tip message can be the message comprising such as " please carrying out authentication by default application " printed words, and this message is for carrying out authentication prompting to terminal use.In embodiments of the present invention, provide two-stage connection mechanism.Terminal and target access set up first be connected after, only by terminal use by subscriber authentication after, just can set up second with target access and be connected.In embodiments of the present invention, why user being carried out to authentication, is for fear of disabled user access, thereby it is too much to cause being connected to the number of users of target access, affects user's access to netwoks speed.In addition, why user being carried out to authentication reminds is because for user, and user may and not know with after target access is set up two-stage and is connected, just can to carry out the operations such as access to netwoks or video-see.Terminal and target access set up first be connected after, it is current in hanging death situation state that user may not know wireless network, probably thinks and just can directly carry out the operations such as access to netwoks after setting up the first connection.But in trial, carry out after access to netwoks operation, but finding can not accesses network.And user now may be unknown to why not carrying out the reason of access to netwoks, so in order to make user's quick lock in current network problem place, the method that the embodiment of the present invention provides also comprises that default application server sends the step of verification tip message to terminal.
Owing to having stored the user ID of magnanimity on default application server, and in order to make default application server clearly this which terminal to send verification tip message to, the message that terminal sends is obtained in request and is also carried user ID, so that default application server sends verification tip message according to this user ID to terminal.
303, terminal, based on default application, shows verification tip message.
In embodiments of the present invention, default in terminal is applied in network connection procedure always in background operation state, so terminal can receive the verification tip message that default application server sends according to the user ID of default application.And terminal is after receiving verification tip message, this verification tip message can be shown in informing, so that user can see this verification tip message within the short as far as possible time, and then carry out authentication.
304, when terminal detects the default call operation of applying, to default application server, send checking request, this checking request is at least carried and is preset the user ID of application and the service set of target access.
In embodiments of the present invention, user's Authentication mechanism triggers via default application, so when terminal detects the default call operation of applying, just trigger and carry out authenticating user identification, also to default application server, sends checking request.Wherein, the user ID that at least comprises default application in this checking request.Service set with target access.Certainly, in checking request, except comprising the user ID of default application and the service set of target access, also can comprise other information.For example, rise time of checking request etc., the content that the embodiment of the present invention is carried checking request does not specifically limit.
In addition, be presented at the pattern identification of the default application on terminal display interface when clicked detecting, can think and the call operation to default application be detected.Certainly, except above-mentioned detection mode, also can take other detection modes, the embodiment of the present invention is not done concrete restriction to this.
It should be noted that, default application server, after receiving the checking request of terminal transmission, can be sent to access point server by this checking request, by access point server, user ID is verified.The user that wherein, can record each access point in its administrative area in access point server connects list.For each access point, in this list, recorded in historical process and its whole user ID that successfully connect.So when access point server receives after the checking request that default application server sends, the SSID of the target access of carrying in first asking according to this checking, connects in list the user of magnanimity, searches user corresponding to this target access and connects list.Definite user corresponding to this target access, connect after list, travel through this user and connect each user ID in list, determine whether that the user ID of carrying in the checking request of a user ID with terminal transmission matches; If the user ID of carrying in the checking request that has a user ID to send with terminal matches, determine that the user ID of carrying in the checking request of terminal transmission is by checking.Now, can generate and be proved to be successful information, and via default application server, this is proved to be successful to information and be sent to terminal, so that user learns the message that authentication is passed through within the very first time, facilitate user to surf the Net.
305, when user ID is passed through checking, terminal is set up second with target access and is connected.
In embodiments of the present invention, if user ID by checking, terminal is set up second with target access and is connected, just user can carry out the operations such as access to netwoks or video-see by terminal after this.If user ID is not by checking, default application server can send to terminal the information of authentication failed, with this time checking of reminding user, does not pass through.
It should be noted that, known according to above-mentioned steps 304, default application server is after receiving checking request, checking request is sent to access point server, the user ID of checking request being carried by access point server is verified, so the information of authentication failed is to be generated by access point server.Afterwards, this authentication failed information is sent to default application server, finally by default application server, this authentication failed information is sent to terminal.
The method that the embodiment of the present invention provides, terminal and target access set up first be connected after, when accesses network instruction being detected, to default application server, send message and obtain request, so that default application server sends verification tip message to terminal, and then by terminal, this verification tip message is shown, with reminding user, carry out authentication, after authentication is passed through, terminal is set up second with target access and is connected, due to after accesses network instruction being detected, terminal makes default application server send verification tip message to it by the message request of obtaining, so can make user be informed in by this verification tip message sets up after the first connection, also need to carry out subscriber authentication, therefore this kind of internetwork connection mode can help the reason of user's quick lock in access to netwoks failure, network is connected smooth and easy, network connects consuming time short, promoted the efficiency of operation of user experience and target access, in addition, because this kind of internetwork connection mode need carry out authentication to user, so can avoid disabled user to access, therefore limit the number of users of linking objective access point, further promoted the efficiency of operation of target access.
Fig. 4 is a kind of network connection device that the embodiment of the present invention provides, the method for connecting network providing for carrying out above-described embodiment.Referring to Fig. 4, this device comprises: message is obtained request sending module 401, verification tip message display module 402, checking request sending module 403, connected and set up module 404.
Wherein, message is obtained request sending module 401, for terminal and target access set up first be connected after, when accesses network instruction being detected, to default application server, send message and obtain request, the user ID of default application is carried in the message request of obtaining, so that default application server sends verification tip message to terminal; Verification tip message display module 402 is obtained request sending module 401 with message and is connected, and for based on default application, shows verification tip message; Checking request sending module 403 is connected with verification tip message display module 402, for when detecting the default call operation of applying, to default application server, send checking request, the user ID of default application and the service set of target access are at least carried in checking request; Connect and set up module 404 and verify that request sending module 403 is connected, for when user ID is passed through checking, terminal is set up second with target access and is connected; Wherein, the historical access point that target access is terminal, default application server is that the server of service is provided for default application.
Alternatively, this device also comprises:
Access point password memory module, for after terminal and target access connect for the first time, the access point password of storage target access, with when terminal is positioned at the network coverage of target access again, sets up first according to access point password and target access and is connected.
Alternatively, this device also comprises:
Authentication failed information display module, if do not pass through checking for user ID,, after receiving the authentication failed information of default application server transmission, shows authentication failed information.
Alternatively, authentication failed information display module, for the informing of the display interface in terminal, shows verification tip message.
Alternatively, this device also comprises:
Be proved to be successful information display module, user is when user ID is by when checking, receiving being proved to be successful after information that default application server sends, will be proved to be successful information and show.
The device that the embodiment of the present invention provides, terminal and target access set up first be connected after, when accesses network instruction being detected, to default application server, send message and obtain request, so that default application server sends verification tip message to terminal, and then by terminal, this verification tip message is shown, with reminding user, carry out authentication, after authentication is passed through, terminal is set up second with target access and is connected, due to after accesses network instruction being detected, terminal makes default application server send verification tip message to it by the message request of obtaining, so can make user be informed in by this verification tip message sets up after the first connection, also need to carry out subscriber authentication, therefore this kind of internetwork connection mode can help the reason of user's quick lock in access to netwoks failure, network is connected smooth and easy, network connects consuming time short, promoted the efficiency of operation of user experience and target access, in addition, because this kind of internetwork connection mode need carry out authentication to user, so can avoid disabled user to access, therefore limit the number of users of linking objective access point, further promoted the efficiency of operation of target access.
Fig. 5 is a kind of terminal that the embodiment of the present invention provides, and this terminal can be for the method for connecting network providing in above-described embodiment be provided.Referring to Fig. 5, this terminal 500 comprises:
RF (Radio Frequency, radio frequency) circuit 110, the memory 120 that includes one or more computer-readable recording mediums, input unit 130, display unit 140, transducer 150, voicefrequency circuit 160, WiFi (Wireless Fidelity, Wireless Fidelity) module 170, include the parts such as the above processor 180 of processing core of or and power supply 190.It will be understood by those skilled in the art that the not restriction of structure paired terminal of the terminal structure shown in Fig. 5, can comprise the parts more more or less than diagram, or combine some parts, or different parts are arranged.Wherein:
RF circuit 110 can be used for receiving and sending messages or communication process in, the reception of signal and transmission, especially, after the downlink information of base station is received, transfer to one or an above processor 180 to process; In addition, by relating to up data, send to base station.Conventionally, RF circuit 110 includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low noise amplifier), duplexer etc.In addition, RF circuit 110 can also be by radio communication and network and other devices communicatings.Described radio communication can be used arbitrary communication standard or agreement, include but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, code division multiple access), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc.
Memory 120 can be used for storing software program and module, and processor 180 is stored in software program and the module of memory 120 by operation, thereby carries out various function application and data processing.Memory 120 can mainly comprise storage program district and storage data field, wherein, and the application program (such as sound-playing function, image player function etc.) that storage program district can storage operation system, at least one function is required etc.; The data (such as voice data, phone directory etc.) that create according to the use of terminal 500 etc. can be stored in storage data field.In addition, memory 120 can comprise high-speed random access memory, can also comprise nonvolatile memory, for example at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 120 can also comprise Memory Controller, so that the access of processor 180 and 130 pairs of memories 120 of input unit to be provided.
Input unit 130 can be used for receiving numeral or the character information of input, and generation arranges with user and function is controlled relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Particularly, input unit 130 can comprise touch-sensitive surperficial 131 and other input equipments 132.Touch-sensitive surperficial 131, also referred to as touch display screen or Trackpad, can collect user or near touch operation (using any applicable object or near the operations of annex on touch-sensitive surperficial 131 or touch-sensitive surperficial 131 such as finger, stylus such as user) thereon, and drive corresponding jockey according to predefined formula.Optionally, touch-sensitive surperficial 131 can comprise touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detects user's touch orientation, and detects the signal that touch operation is brought, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 180, and the order that energy receiving processor 180 is sent is also carried out.In addition, can adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize touch-sensitive surperficial 131.Except touch-sensitive surperficial 131, input unit 130 can also comprise other input equipments 132.Particularly, other input equipments 132 can include but not limited to one or more in physical keyboard, function key (controlling button, switch key etc. such as volume), trace ball, mouse, action bars etc.
Display unit 140 can be used for showing the information inputted by user or the various graphical user interface of the information that offers user and terminal 500, and these graphical user interface can consist of figure, text, icon, video and its combination in any.Display unit 140 can comprise display floater 141, optionally, can adopt the forms such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) to configure display floater 141.Further, touch-sensitive surperficial 131 can cover display floater 141, when touch-sensitive surperficial 131 detect thereon or near touch operation after, send processor 180 to determine the type of touch event, corresponding vision output is provided according to the type of touch event with preprocessor 180 on display floater 141.Although in Fig. 5, touch-sensitive surperficial 131 with display floater 141 be as two independently parts realize input and output function, in certain embodiments, can by touch-sensitive surperficial 131 and display floater 141 integrated and realize input and output function.
Terminal 500 also can comprise at least one transducer 150, such as optical sensor, motion sensor and other transducers.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor can regulate according to the light and shade of ambient light the brightness of display floater 141, proximity transducer can, when terminal 500 moves in one's ear, cut out display floater 141 and/or backlight.A kind of as motion sensor, Gravity accelerometer can detect the size of the acceleration that (is generally three axles) in all directions, when static, can detect size and the direction of gravity, can be used for identifying application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, knock) of mobile phone attitude etc.; As for terminal 500 other transducers such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor also, do not repeat them here.
Voicefrequency circuit 160, loud speaker 161, microphone 162 can provide the audio interface between user and terminal 500.Voicefrequency circuit 160 can be transferred to loud speaker 161 by the signal of telecommunication after the voice data conversion receiving, and is converted to voice signal exports by loud speaker 161; On the other hand, microphone 162 is converted to the signal of telecommunication by the voice signal of collection, after being received by voicefrequency circuit 160, be converted to voice data, after again voice data output processor 180 being processed, through RF circuit 110, to send to such as another terminal, or export voice data to memory 120 to further process.Voicefrequency circuit 160 also may comprise earphone jack, so that communicating by letter of peripheral hardware earphone and terminal 500 to be provided.
WiFi belongs to short range wireless transmission technology, terminal 500 by WiFi module 170 can help that user sends and receive e-mail, browsing page and access streaming video etc., it provides wireless broadband internet access for user.
Processor 180 is control centres of terminal 500, utilize the various piece of various interface and the whole mobile phone of connection, by moving or carry out software program and/or the module being stored in memory 120, and call the data that are stored in memory 120, carry out various functions and the deal with data of terminal 500, thereby mobile phone is carried out to integral monitoring.Optionally, processor 180 can comprise one or more processing cores; Preferably, processor 180 can integrated application processor and modem processor, and wherein, application processor is mainly processed operating system, user interface and application program etc., and modem processor is mainly processed radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 180.
Terminal 500 also comprises the power supply 190 (such as battery) to all parts power supply, preferably, power supply can be connected with processor 180 logics by power-supply management system, thereby realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 190 can also comprise the random component such as one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, terminal 500 can also comprise camera, bluetooth module etc., does not repeat them here.Specifically in the present embodiment, the display unit of terminal is touch-screen display, terminal also includes memory, and one or more than one program, the above program of one of them or one is stored in memory, and is configured to be carried out and stated one or above program package containing for carrying out the instruction of following operation by one or above processor:
Terminal and target access set up first be connected after, when accesses network instruction being detected, to default application server, send message and obtain request, the user ID of default application is carried in the message request of obtaining, so that default application server sends verification tip message to terminal;
Based on default application, show verification tip message;
When detecting the default call operation of applying, to default application server, send checking request, checking asks at least to carry the user ID of default application and the service set of target access;
When user ID is passed through checking, terminal is set up second with target access and is connected;
Wherein, the historical access point that target access is terminal, default application server is that the server of service is provided for default application.
Supposing above-mentioned is the possible execution mode of the first,, in the possible execution mode of the first execution mode possible as the second basic and that provide, in the memory of terminal, also comprises for carrying out the instruction of following operation:
After terminal and target access connect for the first time, the access point password of storage target access, with when terminal is positioned at the network coverage of target access again, sets up first according to access point password and target access and is connected.
In the third the possible execution mode providing as basis at the possible execution mode of the first, in the memory of terminal, also comprise for carrying out the instruction of following operation:
If user ID, not by checking,, after receiving the authentication failed information of default application server transmission, shows authentication failed information.
In the 4th kind of possible execution mode providing as basis at the third possible execution mode, in the memory of terminal, also comprise for carrying out the instruction of following operation:
In the informing of the display interface of terminal, verification tip message is shown.
In the 5th kind of possible execution mode providing as basis at the possible execution mode of the first, in the memory of terminal, also comprise for carrying out the instruction of following operation:
If user ID is by checking,, receiving being proved to be successful after information that default application server sends, will be proved to be successful information and show.
The terminal that the embodiment of the present invention provides, terminal and target access set up first be connected after, when accesses network instruction being detected, to default application server, send message and obtain request, so that default application server sends verification tip message to terminal, and then by terminal, this verification tip message is shown, with reminding user, carry out authentication, after authentication is passed through, terminal is set up second with target access and is connected, due to after accesses network instruction being detected, terminal makes default application server send verification tip message to it by the message request of obtaining, so can make user be informed in by this verification tip message sets up after the first connection, also need to carry out subscriber authentication, therefore this kind of internetwork connection mode can help the reason of user's quick lock in access to netwoks failure, network is connected smooth and easy, network connects consuming time short, promoted the efficiency of operation of user experience and target access, in addition, because this kind of internetwork connection mode need carry out authentication to user, so can avoid disabled user to access, therefore limit the number of users of linking objective access point, further promoted the efficiency of operation of target access.
It should be noted that: the network connection device that above-described embodiment provides is when interconnection network, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the internal structure that is about to device is divided into different functional modules, to complete all or part of function described above.In addition, the network connection device embodiment of the method connected to the network that above-described embodiment provides belongs to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a method for connecting network, is characterized in that, described method comprises:
Terminal and target access set up first be connected after, when accesses network instruction being detected, to default application server, send message and obtain request, the user ID of default application is carried in the request of obtaining of described message, so that described default application server sends verification tip message to described terminal;
Based on default application, show described verification tip message;
When detect described default application call operation time, to described default application server, send checking request, the user ID of described default application and the service set of described target access are at least carried in described checking request;
When described user ID is passed through checking, described terminal is set up second with described target access and is connected;
Wherein, the historical access point that described target access is described terminal, described default application server is that the server of service is provided for described default application.
2. method according to claim 1, is characterized in that, described when user's accesses network instruction being detected, and before obtaining request to default application server transmission message, described method also comprises:
After described terminal and described target access connect for the first time, store the access point password of described target access, with when described terminal is positioned at the network coverage of described target access again, according to described access point password and described target access, sets up described first and be connected.
3. method according to claim 1, is characterized in that, described after described default application server sends checking request, described method also comprises:
If described user ID, not by checking,, after receiving the authentication failed information of described default application server transmission, shows described authentication failed information.
4. method according to claim 3, is characterized in that, described described authentication failed information is shown, comprising:
In the informing of the display interface of described terminal, described authentication failed information is shown.
5. method according to claim 1, is characterized in that, described after described default application server sends checking request, described method also comprises:
If described user ID is by checking, receiving being proved to be successful after information that described default application server sends, will described in be proved to be successful information and show.
6. a network connection device, is characterized in that, described device comprises:
Message is obtained request sending module, for terminal and target access set up first be connected after, when accesses network instruction being detected, to default application server, send message and obtain request, the user ID of default application is carried in the request of obtaining of described message, so that described default application server sends verification tip message to described terminal;
Verification tip message display module, for based on default application, shows described verification tip message;
Checking request sending module, during for call operation when detecting described default application, to described default application server, send checking request, the user ID of described default application and the service set of described target access are at least carried in described checking request;
Connect and set up module, for when described user ID is passed through checking, described terminal is set up second with described target access and is connected;
Wherein, the historical access point that described target access is described terminal, described default application server is that the server of service is provided for described default application.
7. device according to claim 6, is characterized in that, described device also comprises:
Access point password memory module, for after described terminal and described target access connect for the first time, store the access point password of described target access, with when described terminal is positioned at the network coverage of described target access again, according to described access point password and described target access, sets up described first and be connected.
8. device according to claim 6, is characterized in that, described device also comprises:
Authentication failed information display module, for when described user ID is not passed through checking,, after receiving the authentication failed information of described default application server transmission, shows described authentication failed information.
9. device according to claim 8, is characterized in that, described authentication failed information display module, for the informing of the display interface in described terminal, shows described verification tip message.
10. device according to claim 6, is characterized in that, described device also comprises:
Be proved to be successful information display module, user is when described user ID is by when checking, receiving being proved to be successful after information that described default application server sends, will described in be proved to be successful information and show.
CN201410341831.5A 2014-07-17 2014-07-17 Method for connecting network and device Active CN104135728B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410341831.5A CN104135728B (en) 2014-07-17 2014-07-17 Method for connecting network and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410341831.5A CN104135728B (en) 2014-07-17 2014-07-17 Method for connecting network and device

Publications (2)

Publication Number Publication Date
CN104135728A true CN104135728A (en) 2014-11-05
CN104135728B CN104135728B (en) 2015-10-14

Family

ID=51808235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410341831.5A Active CN104135728B (en) 2014-07-17 2014-07-17 Method for connecting network and device

Country Status (1)

Country Link
CN (1) CN104135728B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106211156A (en) * 2016-07-01 2016-12-07 北京小米移动软件有限公司 WiFi network method of attachment, device, terminal unit and WiFi access point
CN106714332A (en) * 2016-06-14 2017-05-24 腾讯科技(深圳)有限公司 Wireless network access method and apparatus
CN106714149A (en) * 2016-12-30 2017-05-24 广东欧珀移动通信有限公司 Wireless network accessing method and apparatus, and terminal device
CN107949037A (en) * 2018-01-11 2018-04-20 北京小米移动软件有限公司 Method for network access, apparatus and system, storage medium
CN108811036A (en) * 2018-05-24 2018-11-13 上海连尚网络科技有限公司 Method and apparatus for showing wireless access point information
CN110891299A (en) * 2019-11-15 2020-03-17 北京小米移动软件有限公司 Network distribution method and device, electronic equipment and storage medium
CN114640991A (en) * 2020-11-30 2022-06-17 博泰车联网科技(上海)股份有限公司 Network request method and application thereof
CN114710978A (en) * 2020-11-05 2022-07-05 深圳市大疆创新科技有限公司 Device connection method, device, hardware device and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120072976A1 (en) * 2010-09-16 2012-03-22 Basavaraj Patil Dynamic Account Creation With Secured Hotspot Network
CN102595409A (en) * 2012-03-21 2012-07-18 华为技术有限公司 Method, equipment and system for acquiring encryption information based on wireless access
CN102739687A (en) * 2012-07-09 2012-10-17 广州杰赛科技股份有限公司 Application service network access method and system based on identifier
CN103763102A (en) * 2013-12-31 2014-04-30 上海斐讯数据通信技术有限公司 Wifi safety management system and method based on message pushing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120072976A1 (en) * 2010-09-16 2012-03-22 Basavaraj Patil Dynamic Account Creation With Secured Hotspot Network
CN102595409A (en) * 2012-03-21 2012-07-18 华为技术有限公司 Method, equipment and system for acquiring encryption information based on wireless access
CN102739687A (en) * 2012-07-09 2012-10-17 广州杰赛科技股份有限公司 Application service network access method and system based on identifier
CN103763102A (en) * 2013-12-31 2014-04-30 上海斐讯数据通信技术有限公司 Wifi safety management system and method based on message pushing

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106714332A (en) * 2016-06-14 2017-05-24 腾讯科技(深圳)有限公司 Wireless network access method and apparatus
CN106714332B (en) * 2016-06-14 2018-12-11 腾讯科技(深圳)有限公司 wireless network access method and device
CN106211156A (en) * 2016-07-01 2016-12-07 北京小米移动软件有限公司 WiFi network method of attachment, device, terminal unit and WiFi access point
CN106211156B (en) * 2016-07-01 2019-08-30 北京小米移动软件有限公司 WiFi network connection method, device, terminal device and WiFi access point
CN106714149A (en) * 2016-12-30 2017-05-24 广东欧珀移动通信有限公司 Wireless network accessing method and apparatus, and terminal device
CN107949037A (en) * 2018-01-11 2018-04-20 北京小米移动软件有限公司 Method for network access, apparatus and system, storage medium
CN107949037B (en) * 2018-01-11 2021-02-09 北京小米移动软件有限公司 Network access method, device and system, and storage medium
CN108811036A (en) * 2018-05-24 2018-11-13 上海连尚网络科技有限公司 Method and apparatus for showing wireless access point information
CN110891299A (en) * 2019-11-15 2020-03-17 北京小米移动软件有限公司 Network distribution method and device, electronic equipment and storage medium
CN114710978A (en) * 2020-11-05 2022-07-05 深圳市大疆创新科技有限公司 Device connection method, device, hardware device and computer readable storage medium
CN114640991A (en) * 2020-11-30 2022-06-17 博泰车联网科技(上海)股份有限公司 Network request method and application thereof

Also Published As

Publication number Publication date
CN104135728B (en) 2015-10-14

Similar Documents

Publication Publication Date Title
CN104135728B (en) Method for connecting network and device
CN105320598A (en) Software testing method and device
CN105005909A (en) Method and device for predicting lost users
CN106851654A (en) Pseudo-base station recognition methods, device and terminal
CN103347003B (en) A kind of Voice over Internet method, Apparatus and system
CN104093189A (en) Multimedia playing device network initialization method, system, device and terminal
CN107071779A (en) Pseudo-base station recognition methods, device and terminal
CN104717341A (en) Message prompting method and terminal
CN104301504A (en) Message viewing method and device and mobile terminal
CN105208056A (en) Information exchange method and terminal
CN103475914A (en) Video playing method, video playing device, terminal equipment and server
CN104065693A (en) Method, device and system for accessing network data in webpage applications
CN103561400A (en) Method for initiating communication, device thereof and mobile terminal
CN104618223A (en) Information recommendation management method, device and system
CN105306760A (en) Method and device for controlling terminal
CN103744574A (en) Method and device for turning off alarm clock of mobile terminal and mobile terminal
CN104363590A (en) Access point connection method and device
CN103177217A (en) File scan method, file scan system, client-side and server
CN106161147B (en) Establish the method and device of network connection
CN105246075A (en) Access point connecting method and device
CN104573437A (en) Information authentication method, device and terminal
CN103200077B (en) The method of data interaction during a kind of voice call, Apparatus and system
CN103561155B (en) Send the method for note, device and terminal
CN105808043A (en) Setting method of terminal application and mobile terminal
CN104092657A (en) Information transmission method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant