CN104135728B - Method for connecting network and device - Google Patents

Method for connecting network and device Download PDF

Info

Publication number
CN104135728B
CN104135728B CN201410341831.5A CN201410341831A CN104135728B CN 104135728 B CN104135728 B CN 104135728B CN 201410341831 A CN201410341831 A CN 201410341831A CN 104135728 B CN104135728 B CN 104135728B
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.)
Active
Application number
CN201410341831.5A
Other languages
Chinese (zh)
Other versions
CN104135728A (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 kind of method for connecting network and device, belong to radio network technique field.Method comprises: terminal and target access set up first be connected after, when accesses network instruction being detected, sending message to default application server and obtaining request, send verification tip message to make default application server to terminal; Based on default application, display verification tip message; When the call operation to default application being detected, send checking request to default application server; When user ID is by checking, terminal and target access are set up second and are connected.The present invention terminal and target access set up first be connected after, when accesses network instruction being detected, send message to default application server and obtain request, verification tip message is sent to terminal to make default application server, and then by terminal, this verification tip message is shown, carry out authentication with reminding user, can make the problem place of user's quick lock in wireless network, network connects smooth and easy.

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, provides a great convenience for people surf the Net whenever and wherever possible.After terminal is successfully connected to a certain access point for the first time, user can carry out the operation such as web page access, video-see easily by terminal.Further, because instantly most terminals all can preserve the link information of the access point that once success connects, 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 preserved.But because now wireless network is in extension death situation state, although namely terminal display is connected to this access point, but cannot the operations such as access to netwoks be carried out.And user now cannot determine the problem place of the present situation, namely user cannot determine that problem has appearred in wireless network self, or in connecting wireless network process, perform misoperation, or the Wireless Internet access module existing problems of terminal built-in, thus network is connected have some setbacks, network connects length consuming time, have impact on the efficiency of operation of Network Access Point.
Summary of the invention
In order to solve the problem of prior art, embodiments provide 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 is applied to terminal, and described method comprises:
Terminal and target access set up first be connected after, when accesses network instruction being detected, send message to default application server and obtain request, described message obtains request and carries the user ID presetting application, sends verification tip message to make described default application server to described terminal;
Based on default application, show described verification tip message;
When the call operation to described default application being detected, send checking request to described default application server, 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 by checking, described terminal and described target access are set up second and are connected;
Wherein, described target access is the history access point of described terminal, and described default application server is for described default application provides the server of service.
Second aspect, provides a kind of network connection device, and described application of installation is in terminal, and described device comprises:
Message obtains request sending module, for set up in terminal and target access first be connected after, when accesses network instruction being detected, send message to default application server and obtain request, described message obtains request and carries the user ID presetting application, sends verification tip message to make described default application server to described terminal;
Verification tip message display module, for based on default application, shows described verification tip message;
Checking request sending module, for when the call operation to described default application being detected, send checking request to described default application server, the user ID of described default application and the service set of described target access are at least carried in described checking request;
Connection establishment module, for when described user ID is by checking, described terminal and described target access are set up second and are connected;
Wherein, described target access is the history access point of described terminal, and described default application server is for described default application provides the server of service.
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, send message to default application server and obtain request, verification tip message is sent based on default application to terminal to make default application server, and then by terminal, this verification tip message is shown, carry out authentication with reminding user, after authentication is passed through, terminal and target access are set up second and are connected.Due to after accesses network instruction being detected, terminal obtains request by message makes default application server send verification tip message to it, therefore after can being informed in setting up the first connection by this verification tip message user, 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, making network connect smooth and easy, network connects consuming time short, improves 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 used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the configuration diagram of a kind of Radio Network System that the embodiment of the present invention provides;
Fig. 2 is the flow chart of a kind of method for connecting network that the embodiment of the present invention provides;
Fig. 3 is the flow chart of a kind of method for connecting network that the embodiment of the present invention provides;
Fig. 4 is the structural representation of a kind of network connection device that the embodiment of the present invention provides;
Fig. 5 is the structural representation of a kind of terminal that the embodiment of the present invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Before the embodiment of the present invention being done to explain explanation in detail, 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 of access to netwoks can not be carried out, embodiments provide a kind of internetwork connection mode, the reason of user's quick lock in access to netwoks failure can be made.After setting up the first connection, embodiment of the present invention reminding user carries out attended operation again, to make wireless network use, and then meets the demand such as web page access, video-see of user.See 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, sending message to default application server and obtaining request; After the verification tip message receiving the transmission of default application server, this verification tip message is shown; When the call operation to default application being detected, send the checking request comprising the service set of user ID and target access to default application server.
Preset application server, the message sent for receiving terminal obtains request, obtains request send verification tip message to terminal according to this message; The checking request of carrying the service set of 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, then terminal and target access are set up second and are connected.After the second connection establishment, user can carry out the operation such as web page access, video-see.If this checking request is not by checking, then wireless network will be in always hang death situation state, and user can not carry out the operation 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.See 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, send message to default application server and obtain request, this message obtains request and carries the user ID presetting application, sends verification tip message to make default application server to terminal.
Wherein, target access is the history access point of terminal, and default application server is for default application provides the server of service.
202, based on default application, display verification tip message.
203, when the call operation to default application being detected, send checking request to default application server, checking request is at least carried and is preset the user ID of application and the service set of target access.
204, when user ID is by checking, terminal and target access are set up second and are 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, send message to default application server and obtain request, verification tip message is sent to terminal to make default application server, and then by terminal, this verification tip message is shown, authentication is carried out with reminding user, after authentication is passed through, terminal and target access are set up second and are connected, due to after accesses network instruction being detected, terminal obtains request by message makes default application server send verification tip message to it, therefore after can being informed in setting up the first connection by this verification tip message user, 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, improve the efficiency of operation of target access.
Alternatively, when the accesses network instruction of user being detected, before sending message acquisition request to default application server, the method also comprises:
After terminal and target access connect for the first time, store the access point password of 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 be connected.
Alternatively, after default application server sends checking request, the method also comprises:
If user ID is not by checking, then, after the authentication failed information receiving the transmission of default application server, authentication failed information is shown.
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 by checking, then receive default application server send be proved to be successful information after, information will be proved to be successful and show.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, 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.See 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, and this message obtains request and carries the user ID presetting application.
Wherein, target access is the history access point of terminal, and this history access point refers to the access point that terminal once connected.Also namely, terminal this and target access set up first be connected before, once set up with this target access and be connected.If the access point pulling terminal storage connects list, then the SSID (Service Set Identifier, service set) of this target access is arranged in this access point connection list.Wherein, default application server is referred to as and presets the server that application provides service.Default application can be social class application popular at present, and the type of the embodiment of the present invention to default application does not specifically limit.
In embodiments of the present invention, user is after the wireless network clicking terminal connects button, and terminal just can search the wireless network be positioned near it, and in the form of a list by can showing by connecting wireless network of searching.When in the wireless network range that fast mobile terminal to target access covers, the relevant information that just can there will be target access in connecting wireless network list that terminal shows, this relevant information includes but not limited to the SSID of target access, signal strength information of target access etc.Due to the history access point that this target access is terminal, and for there being the history access point of access point password, terminal generally understands the access point password of autostore history access point, so when terminal is positioned at the wireless network range that this target access covers, terminal just automatically can be set up first with this target access according to the access point password self stored and be connected.For the history access point not having access point password, when terminal is positioned at the wireless network range that this target access covers, terminal directly can be set up first with this target access and be connected.Because now terminal is positioned at the wireless network range that this target access covers, so the signal strength signal intensity of this wireless network should be the strongest, with ensure 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, the display interface of terminal can show wireless network connection identifier.For user, after seeing this wireless network connection identifier, user may think that now terminal successfully connects with target access.If but user does not now open mobile data communication to be connected, then and user now arbitrarily opens a webpage connection, all there will be the situation that access is failed.And why there will be the failed situation of access, 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 operation such as web page access, video-see.Terminal and target access set up first be connected after, if user is not by authentication, then wireless network will be in always hang death situation state, and user is not by wireless network online that this target access is formed.
In addition, when test access network instruction, following manner specifically can be taked to realize:
Whether the pattern identification of the arbitrary application except presetting application that sense terminals is installed is clicked; If the pattern identification of the arbitrary application except presetting application that terminal is installed is clicked, then determine accesses network instruction to be detected.
Certainly, except the mode of above-mentioned test access network instruction, also can take other detection modes, the embodiment of the present invention does not do concrete restriction to this.
In embodiments of the present invention, after terminal detects accesses network instruction, will send message to default application server and obtain request, this message obtains the user ID at least referring in request and carry and preset application.Certainly, message obtains in request except carrying user ID, and also can carry other information, the embodiment of the present invention obtains the content of carrying in request to message and specifically do not limit.
302, preset application server after the message receiving terminal transmission obtains request, send verification tip message to terminal.
Wherein, verification tip message can be the message comprising such as " please carry out authentication by presetting application " printed words, and this message is used for carrying out authentication prompting to terminal use.In embodiments of the present invention, two-stage connection mechanism is provided.Terminal and target access set up first be connected after, only by terminal use by after subscriber authentication, just can set up second with target access and be connected.In embodiments of the present invention, why carrying out authentication to user, is in order to avoid disabled user's access, thus causes the number of users being connected to target access too much, affects the access to netwoks speed of user.In addition, why carrying out that authentication reminds to user is because for user, user may and do not know to set up after two-stage is connected with target access, just can perform the operation such as access to netwoks or video-see.Terminal and target access set up first be connected after, user may not know current being in of wireless network and hang death situation state, probably thinks just directly to carry out the operations such as access to netwoks after setting up the first connection.But after access to netwoks operation is carried out in trial, but finding can not accesses network.And user now may be unknown to the reason why can not carrying out 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 default application server sends step from verification tip message to terminal.
Owing to default application server storing the user ID of magnanimity, and in order to make default application server can specify this to which terminal transmission verification tip message, the message that terminal sends obtains in request and also carries user ID, to preset application server sending verification tip message according to this user ID to terminal.
303, terminal is based on default application, display verification tip message.
In embodiments of the present invention, default being applied in network attach procedure in terminal is in background operation state always, and therefore terminal can receive the verification tip message that default application server sends according to the user ID presetting 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 time short as far as possible, and then carry out authentication.
304, when terminal detects the call operation to default application, send checking request to default application server, 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, the Authentication mechanism of user triggers via default application, so when terminal detects the call operation to default application, just triggers and carries out authenticating user identification, also namely send checking request to default application server.Wherein, the user ID presetting application is at least comprised in this checking request.With the service set of target access.Certainly, presetting except the user ID of application and the service set of target access except comprising in checking request, also can comprise other information.Such as, rise time of checking request etc., the embodiment of the present invention asks the content of carrying specifically not limit to checking.
In addition, when detecting that the pattern identification of the default application be presented on terminal demonstration interface is clicked, the call operation detected default application can be thought.Certainly, except above-mentioned detection mode, also can take other detection modes, the embodiment of the present invention does not do concrete restriction to this.
It should be noted that, preset application server after the checking request receiving terminal transmission, this checking request can be sent to access point server, by access point server, user ID be verified.Wherein, the user that can record each access point in its administrative area in access point server connects list.For each access point, in this list, have recorded the whole user ID successfully connected with it in historical process.So after access point server receives the checking request of default application server transmission, first according to the SSID of the target access of carrying in this checking request, connect in list the user of magnanimity, the user searching this target access corresponding connects list.After determining that user corresponding to this target access connects list, travel through this user and connect each user ID in list, determine whether that the user ID of carrying in the checking request that a user ID sends with terminal matches; If the user ID of carrying in the checking request having a user ID to send with terminal matches, then determine that the user ID of carrying in the checking request that terminal sends is by checking.Now, can generate and be proved to be successful information, and via default application server, this is proved to be successful information and be sent to terminal, to make user learn the message that authentication is passed through within the very first time, facilitate user to surf the Net.
305, when user ID is by checking, terminal and target access are set up second and are connected.
In embodiments of the present invention, if user ID is by checking, then terminal and target access are set up second and are connected, and user just can carry out the operation such as access to netwoks or video-see by terminal after this.If user ID is not by checking, then preset application server can send information from authentication failed to terminal, do not pass through with reminding user this time checking.
It should be noted that, according to above-mentioned steps 304, preset application server after receiving checking request, checking request is sent to access point server, the user ID of carrying is asked to be verified, so the information of authentication failed is generated by access point server by access point server to checking.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, send message to default application server and obtain request, verification tip message is sent to terminal to make default application server, and then by terminal, this verification tip message is shown, authentication is carried out with reminding user, after authentication is passed through, terminal and target access are set up second and are connected, due to after accesses network instruction being detected, terminal obtains request by message makes default application server send verification tip message to it, so after user can being made to be informed in set up the first connection by this verification tip message, 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, improve 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 disabled user can be avoided to access, because which limit the number of users of linking objective access point, improve the efficiency of operation of target access further.
Fig. 4 is a kind of network connection device that the embodiment of the present invention provides, for performing the method for connecting network that above-described embodiment provides.See Fig. 4, this device comprises: message obtains request sending module 401, verification tip message display module 402, checking request sending module 403, connection establishment module 404.
Wherein, message obtains request sending module 401, for set up in terminal and target access first be connected after, when accesses network instruction being detected, send message to default application server and obtain request, message obtains request and carries the user ID presetting application, sends verification tip message to make default application server to terminal; Verification tip message display module 402 and message obtain request sending module 401 and are connected, and for based on default application, show verification tip message; Checking request sending module 403 is connected with verification tip message display module 402, for when the call operation to default application being detected, send checking request to default application server, checking request is at least carried and is preset the user ID of application and the service set of target access; Connection establishment module 404 is connected with checking request sending module 403, and for when user ID is by checking, terminal and target access are set up second and be connected; Wherein, target access is the history access point of terminal, and default application server is for default application provides the server of service.
Alternatively, this device also comprises:
Access point password memory module, for after terminal and target access connect for the first time, store the access point password of 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 be connected.
Alternatively, this device also comprises:
Authentication failed information display module, if for user ID not by checking, then, after the authentication failed information receiving the transmission of default application server, show authentication failed information.
Alternatively, authentication failed information display module, in the informing of the display interface of terminal, shows verification tip message.
Alternatively, this device also comprises:
Be proved to be successful information display module, user when user ID by checking time, receive default application server send be proved to be successful information after, information will be proved to be successful 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, send message to default application server and obtain request, verification tip message is sent to terminal to make default application server, and then by terminal, this verification tip message is shown, authentication is carried out with reminding user, after authentication is passed through, terminal and target access are set up second and are connected, due to after accesses network instruction being detected, terminal obtains request by message makes default application server send verification tip message to it, so after user can being made to be informed in set up the first connection by this verification tip message, 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, improve 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 disabled user can be avoided to access, because which limit the number of users of linking objective access point, improve the efficiency of operation of target access further.
Fig. 5 is a kind of terminal that the embodiment of the present invention provides, and this terminal may be used for performing the method for connecting network provided in above-described embodiment.See Fig. 5, this terminal 500 comprises:
RF (Radio Frequency, radio frequency) circuit 110, the memory 120 including 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 processor 180 and power supply 190 that more than or processes core.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of the terminal structure shown in Fig. 5, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
RF circuit 110 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, transfer to more than one or one processor 180 to process; In addition, base station is sent to by relating to up data.Usually, 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 by radio communication and network and other devices communicatings.Described radio communication can use 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 CodeDivision 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 running, thus performs the application of various function and data processing.Memory 120 mainly can comprise storage program district and store data field, and wherein, storage program district can storage operation system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of terminal 500.In addition, memory 120 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 120 can also comprise Memory Controller, to provide the access of processor 180 and input unit 130 pairs of memories 120.
Input unit 130 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, action bars, optics or trace ball signal and inputs.Particularly, input unit 130 can comprise Touch sensitive surface 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on Touch sensitive surface 131 or near Touch sensitive surface 131 such as finger, stylus) thereon, and drive corresponding jockey according to the formula preset.Optionally, Touch sensitive surface 131 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, 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 also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize Touch sensitive surface 131.Except Touch sensitive surface 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 (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
Display unit 140 can be used for the various graphical user interface showing information or the information being supplied to user and the terminal 500 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 140 can comprise display floater 141, optionally, the form such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) can be adopted to configure display floater 141.Further, Touch sensitive surface 131 can cover display floater 141, when Touch sensitive surface 131 detects thereon or after neighbouring touch operation, send processor 180 to determine the type of touch event, on display floater 141, provide corresponding vision to export with preprocessor 180 according to the type of touch event.Although in Figure 5, Touch sensitive surface 131 and display floater 141 be as two independently parts to realize input and output function, in certain embodiments, can by integrated to Touch sensitive surface 131 and display floater 141 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 the light and shade of environmentally light can regulate the brightness of display floater 141, proximity transducer when terminal 500 moves in one's ear, can cut out display floater 141 and/or backlight.As the one of motion sensor, Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration, size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as pedometer, knock) etc.; As for terminal 500 also other transducers such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, 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 by receive voice data conversion after the signal of telecommunication, be transferred to loud speaker 161, by loud speaker 161 be converted to voice signal export; On the other hand, the voice signal of collection is converted to the signal of telecommunication by microphone 162, voice data is converted to after being received by voicefrequency circuit 160, 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 process further.Voicefrequency circuit 160 also may comprise earphone jack, to provide the communication of peripheral hardware earphone and terminal 500.
WiFi belongs to short range wireless transmission technology, and by WiFi module 170, terminal 500 can help that user sends and receive e-mail, browsing page and access streaming video etc., and its broadband internet wireless for user provides is accessed.
Processor 180 is control centres of terminal 500, utilize the various piece of various interface and the whole mobile phone of connection, software program in memory 120 and/or module is stored in by running or performing, and call the data be stored in memory 120, perform various function and the deal with data of terminal 500, thus integral monitoring is carried out to mobile phone.Optionally, processor 180 can comprise one or more process core; Preferably, processor 180 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes 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) of powering to all parts, preferably, power supply can be connected with processor 180 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 190 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as 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, one of them or more than one program are stored in memory, and are configured to be performed by more than one or one processor state more than one or one program package containing the instruction for carrying out following operation:
Terminal and target access set up first be connected after, when accesses network instruction being detected, send message to default application server and obtain request, message obtains request and carries the user ID presetting application, sends verification tip message to make default application server to terminal;
Based on default application, display verification tip message;
When the call operation to default application being detected, send checking request to default application server, checking request is at least carried and is preset the user ID of application and the service set of target access;
When user ID is by checking, terminal and target access are set up second and are connected;
Wherein, target access is the history access point of terminal, and default application server is for default application provides the server of service.
Suppose that above-mentioned is the first possible execution mode, then, in the execution mode that the second provided based on the execution mode that the first is possible is possible, in the memory of terminal, also comprise the instruction for performing following operation:
After terminal and target access connect for the first time, store the access point password of 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 be connected.
In the third the possible execution mode provided based on the execution mode that the first is possible, in the memory of terminal, also comprise the instruction for performing following operation:
If user ID is not by checking, then, after the authentication failed information receiving the transmission of default application server, authentication failed information is shown.
In the 4th kind of possible execution mode provided based on the execution mode that the third is possible, in the memory of terminal, also comprise the instruction for performing following operation:
In the informing of the display interface of terminal, verification tip message is shown.
In the 5th kind of possible execution mode provided based on the execution mode that the first is possible, in the memory of terminal, also comprise the instruction for performing following operation:
If user ID by checking, then receive default application server send be proved to be successful information after, information will be proved to be successful 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, send message to default application server and obtain request, verification tip message is sent to terminal to make default application server, and then by terminal, this verification tip message is shown, authentication is carried out with reminding user, after authentication is passed through, terminal and target access are set up second and are connected, due to after accesses network instruction being detected, terminal obtains request by message makes default application server send verification tip message to it, so after user can being made to be informed in set up the first connection by this verification tip message, 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, improve 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 disabled user can be avoided to access, because which limit the number of users of linking objective access point, improve the efficiency of operation of target access further.
It should be noted that: the network connection device that above-described embodiment provides is when interconnection network, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by device is divided into different functional modules, to complete all or part of function described above.In addition, the network connection device that above-described embodiment provides embodiment of the method connected to the network 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 realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a method for connecting network, described method is applied to terminal, it is characterized in that, described method comprises:
Terminal and target access set up first be connected after, when accesses network instruction being detected, send message to default application server and obtain request, described message obtains request and carries the user ID presetting application, sends verification tip message to make described default application server to described terminal;
Based on default application, show described verification tip message;
When the call operation to described default application being detected, send checking request to described default application server, 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 by checking, described terminal and described target access are set up second and are connected;
Wherein, described target access is the history access point of described terminal, and described default application server is for described default application provides the server of service.
2. method according to claim 1, is characterized in that, described when the accesses network instruction of user being detected, and before sending message acquisition request to default application server, 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, sets up described first according to described access point password and described target access and be connected.
3. method according to claim 1, is characterized in that, described after described default application server transmission checking request, described method also comprises:
If described user ID is not by checking, then, after the authentication failed information receiving described default application server transmission, described authentication failed information is shown.
4. method according to claim 3, is characterized in that, describedly described authentication failed information is shown, and 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 transmission checking request, described method also comprises:
If described user ID is by checking, then receive that described default application server sends be proved to be successful information after, the described information that is proved to be successful is shown.
6. a network connection device, described application of installation, in terminal, is characterized in that, described device comprises:
Message obtains request sending module, for set up in terminal and target access first be connected after, when accesses network instruction being detected, send message to default application server and obtain request, described message obtains request and carries the user ID presetting application, sends verification tip message to make described default application server to described terminal;
Verification tip message display module, for based on default application, shows described verification tip message;
Checking request sending module, for when the call operation to described default application being detected, send checking request to described default application server, the user ID of described default application and the service set of described target access are at least carried in described checking request;
Connection establishment module, for when described user ID is by checking, described terminal and described target access are set up second and are connected;
Wherein, described target access is the history access point of described terminal, and described default application server is for described default application provides the server of service.
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, sets up described first according to described access point password and described target access 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 by checking, then, after the authentication failed information receiving 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, in the informing of the display interface of described terminal, described verification tip message is shown.
10. device according to claim 6, is characterized in that, described device also comprises:
Be proved to be successful information display module, user when described user ID is by checking, receive that described default application server sends be proved to be successful information after, the described information that is proved to be successful is shown.
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 CN104135728A (en) 2014-11-05
CN104135728B true 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)

Families Citing this family (8)

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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2564251C2 (en) * 2010-09-16 2015-09-27 Нокиа Корпорейшн Dynamic creation of account in protected network with wireless access point
CN102595409B (en) * 2012-03-21 2015-03-25 华为技术有限公司 Method, equipment and system for acquiring encryption information based on wireless access
CN102739687B (en) * 2012-07-09 2016-03-23 广州杰赛科技股份有限公司 Based on application service Network Access Method and the system of mark
CN103763102B (en) * 2013-12-31 2018-09-28 上海斐讯数据通信技术有限公司 A kind of wifi safety management systems and management method based on message push

Also Published As

Publication number Publication date
CN104135728A (en) 2014-11-05

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
CN107071779A (en) Pseudo-base station recognition methods, device and terminal
CN104519485A (en) Communication method between terminals, devices and system
CN104518875A (en) Identity authentication method, account acquisition method and mobile terminal
CN104519197A (en) User login method, user login device and terminal devices
CN104093189A (en) Multimedia playing device network initialization method, system, device and terminal
CN104717341A (en) Message prompting method and terminal
CN104426963A (en) Terminal associating method and terminal
CN105681161A (en) Method, device and system for adding friend account
CN104850406A (en) Page switching method and device
CN104065693A (en) Method, device and system for accessing network data in webpage applications
CN105306760A (en) Method and device for controlling terminal
CN104581993A (en) Wireless connection building method, data transmission method and terminal
CN105530239A (en) Multimedia data obtaining method and device
CN104363590A (en) Access point connection method and device
CN103177217A (en) File scan method, file scan system, client-side and server
CN105246075A (en) Access point connecting method and device
CN103561155B (en) Send the method for note, device and terminal
CN103200077B (en) The method of data interaction during a kind of voice call, Apparatus and system
CN104092657A (en) Information transmission method, device and system
CN104869550A (en) Communication event processing method and device

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