CN106714278A - Method and device for connecting wireless hotspot - Google Patents

Method and device for connecting wireless hotspot Download PDF

Info

Publication number
CN106714278A
CN106714278A CN201610695277.XA CN201610695277A CN106714278A CN 106714278 A CN106714278 A CN 106714278A CN 201610695277 A CN201610695277 A CN 201610695277A CN 106714278 A CN106714278 A CN 106714278A
Authority
CN
China
Prior art keywords
hotspot
mobile terminal
public wireless
wireless hotspot
peripheral region
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
CN201610695277.XA
Other languages
Chinese (zh)
Other versions
CN106714278B (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 CN201610695277.XA priority Critical patent/CN106714278B/en
Publication of CN106714278A publication Critical patent/CN106714278A/en
Application granted granted Critical
Publication of CN106714278B publication Critical patent/CN106714278B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention relates to a method and a device for connecting a wireless hotspot. The method comprises the steps of detecting whether a mobile terminal stays at a desktop state or not, wherein the desktop state refers to a state that no application program runs at the foreground; performing monitoring on a shaking operation if the mobile terminal stays at the desktop state, wherein the shaking operation refers to an operation of shaking the mobile terminal; and connecting to a scanned available public wireless hotspot when the shaking operation is monitored. The mobile terminal can be triggered to automatically connect to the public wireless hotspot through the shaking operation, so that the technical effects of simplifying operations and improving the operation efficiency are achieved. In addition, the function of connecting to the public wireless hotspot through shaking when the mobile terminal stays at the desktop state is provided, so that on the one hand, a user does not need to get into a certain specific application program when requiring connection to the public wireless hotspot but only needs to trigger the shaking operation at the desktop, so that the operations are simplified; and on the other hand, collision with application programs which trigger relevant functions through the shaking operation can be avoided.

Description

Connect the method and device of hotspot
Technical field
The present embodiments relate to communication technical field, more particularly to a kind of method and device for connecting hotspot.
Background technology
At present, mobile terminal possesses the function of accessing WLAN mostly.For example, some businessmans are provided with public WiFi (Wireless Fidelity, Wireless Fidelity) focus, the above-mentioned public Wi-Fi hotspot online of mobile terminal connection, can save number According to the consumption of flow.
In the prior art, user opens the function of connection WLAN or opens the application journey with correlation function Sequence, triggering mobile scanning terminal obtains the public Wi-Fi hotspot in peripheral region.Mobile terminal will generally scan the public affairs for getting Wi-Fi hotspot is shown with tabular form altogether.User is therefrom selected after the public Wi-Fi hotspot to be connected, mobile terminal The public Wi-Fi hotspot of connection user's selection.
Prior art provide the public Wi-Fi hotspot of above-mentioned connection mode, it is necessary to user perform compared with multi-step operation Connection can be completed, is operated complex.
The content of the invention
In order to solve the mode for connecting public Wi-Fi hotspot of prior art offer, it is necessary to user performs the behaviour compared with multi-step Work could complete connection, the problem for causing operation complex, the embodiment of the invention provides a kind of side for connecting hotspot Method and device.The technical scheme is as follows:
First aspect, there is provided a kind of method of connection hotspot, methods described includes:
Whether detection mobile terminal is in desktop state, and the desktop state refers to the shape in front stage operation without application program State;
If the mobile terminal is in the desktop state, it is monitored to shaking operation, it is described to shake operation It refer to the operation for rocking the mobile terminal;
When monitor it is described shake operation when, the available public wireless hotspot that connection is scanned.
Second aspect, there is provided a kind of device of connection hotspot, described device includes:
Desktop detection module, whether for detecting mobile terminal in desktop state, the desktop state refers to without application State of the program in front stage operation;
Operation monitoring modular, if being in the desktop state for the mobile terminal, supervises to shaking operation Survey, described to shake operation refer to the operation of rocking the mobile terminal;
Focus link block, for when monitor it is described shake operation when, the available public wireless that connection is scanned Focus.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought includes:
In the case of being in desktop state in mobile terminal, it is monitored to shaking operation, when monitoring to shake one When shaking operation, the available public wireless hotspot that connection is scanned;The public Wi-Fi hotspot of connection of prior art offer is provided Mode could complete connection compared with the operation of multi-step, it is necessary to user performs, cause the complex problem of operation;By shaking one Shake the i.e. triggerable mobile terminal of operation and connect public wireless hotspot automatically, reached simplified operation, improve the technology of operating efficiency Effect.
In addition, providing the function of shaking connection public wireless hotspot in the case where mobile terminal is in desktop state, on the one hand, When user needs connection public wireless hotspot, without entering certain specific application program, it is only necessary to shaken in desktop triggering Operation, fully simplifies operation;On the other hand, applications by shaking operation triggering correlation function with some can be avoided Program is clashed.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to that will make needed for embodiment description Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is the schematic diagram of the implementation environment that one embodiment of the invention is provided;
Fig. 2 is the flow chart of the method for the connection hotspot that one embodiment of the invention is provided;
Fig. 3 A are the flow charts of the method for the connection hotspot that another embodiment of the present invention is provided;
Fig. 3 B/3D/3E/3F are the interface schematic diagrams that Fig. 3 A illustrated embodiments are related to;
Fig. 3 C are the flow charts of step 304 in Fig. 3 A illustrated embodiments;
Fig. 4 is the flow chart of the method for the connection hotspot that another embodiment of the present invention is provided;
Fig. 5 is the block diagram of the device of the connection hotspot that one embodiment of the invention is provided;
Fig. 6 is the block diagram of the device of the connection hotspot that another embodiment of the present invention is provided;
Fig. 7 is the structural representation of the mobile terminal that one embodiment of the invention is provided.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Before being introduced to the embodiment of the present invention, some nouns being related in the embodiment of the present invention are determined first Justice and explanation.
Hotspot:Refer in public places provide WLAN (Wireless Local Area Networks, WLAN the place of Internet (internet) services) is accessed.This kind of place majority is businessman (such as coffee-house, dining room), airport, car Stand, commercial hotel, institution of higher learning, mega-exhibition shop etc..Hotspot is also referred to as Wi-Fi hotspot.For example, above-mentioned wireless local Net can be built by router.
Public wireless hotspot:It refer to the hotspot for providing free wireless network access services.Public wireless hotspot is also referred to as It is public Wi-Fi hotspot or free Wi-Fi hotspot.
Fig. 1 is refer to, the schematic diagram of the implementation environment provided it illustrates one embodiment of the invention.The implementation environment can To include:Mobile terminal 1 10 and server 120.
Mobile terminal 1 10 can be such as mobile phone, panel computer, E-book reader, multimedia play equipment, PDA Portable electric appts such as (Personal Digital Assistant, personal digital assistant).Mobile terminal 1 10 possesses access The function of WLAN.In addition, mobile terminal 1 10 is further equipped with acceleration transducer (also referred to as gravity sensor or gravity Inductor), the displacement for detecting mobile terminal 1 10.Mobile terminal 1 10 is realized to shaking operation by acceleration transducer Detected.Wherein, it refers to the operation for rocking mobile terminal 1 10 to shake operation.Under normal conditions, acceleration transducer is 3-axis acceleration sensor.Alternatively, mobile terminal 1 10 is further equipped with vibrating sensor, for detecting shaking for mobile terminal 1 10 Dynamic frequency.Mobile terminal 1 10 is judged shaking operation with reference to shift length and vibration frequency.
Can be set up by wireless network between mobile terminal 1 10 and server 120 and connected.For example, the wireless network can be with It is the cellular mo-bile data network of operator's offer.
Server 120 can be a server, or the server cluster being made up of multiple servers, or One cloud computing service center.In one example, be stored with default corresponding relation in server 120, the default corresponding relation Corresponding relation between mark and quality score including public wireless hotspot.The mark of public wireless hotspot is used for unique mark Public wireless hotspot.The quality score of public wireless hotspot is used to reflect the quality of public wireless hotspot.
Fig. 2 is refer to, the flow chart of the method for the connection hotspot provided it illustrates one embodiment of the invention.Should Method can apply in the mobile terminal of implementation environment shown in Fig. 1.The method can include following several steps:
Whether step 201, detection mobile terminal is in desktop state, and desktop state refers in front stage operation without application program State.
Step 202, if mobile terminal is in desktop state, is monitored to shaking operation, and shaking operation refers to Rock the operation of mobile terminal.
Step 203, when monitoring to shake operation, the available public wireless hotspot that connection is scanned.
In sum, the method that the present embodiment is provided, in the case of being in desktop state in mobile terminal, to shaking Operation is shaken to be monitored, when monitoring to shake operation, the available public wireless hotspot that connection is scanned;Solve existing The mode of the public Wi-Fi hotspot of connection that technology is provided could complete connection, it is necessary to user performs compared with the operation of multi-step, cause The complex problem of operation;Public wireless hotspot is connected automatically by shaking the i.e. triggerable mobile terminal of operation, is reached Simplify operation, improve the technique effect of operating efficiency.
In addition, providing the function of shaking connection public wireless hotspot in the case where mobile terminal is in desktop state, on the one hand, When user needs connection public wireless hotspot, without entering certain specific application program, it is only necessary to shaken in desktop triggering Operation, fully simplifies operation;On the other hand, applications by shaking operation triggering correlation function with some can be avoided Program is clashed.
Fig. 3 A are refer to, the flow chart of the method for the connection hotspot provided it illustrates another embodiment of the present invention. The method can apply in implementation environment shown in Fig. 1.The method can include following several steps:
Whether step 301, detection mobile terminal is in desktop state.
Whether mobile terminal detection local terminal is in desktop state.Desktop state refers to the shape in front stage operation without application program State.When application program is in front stage operation, the interactive interface of the application program is shown in the screen of mobile terminal.Work as application program In running background, the interactive interface of the application program is not shown in the screen of mobile terminal.Transported on foreground when without application program During row, desktop menu is shown in the screen of mobile terminal, the application program installed in mobile terminal is generally included in desktop menu Icon.
In one example, mobile terminal can check the running status of application program, determine whether application program In front stage operation.The method that the present embodiment is provided, the executive agent of each step can be the target of installation and operation in mobile terminal Application program.For example, the destination application can be the application program for providing WLAN access function.For example, Entitled " house keeper WiFi " of the destination application.Destination application possesses checks application program (except destination application Outside other application program) running status authority after, just can be according to the running status of each application program, it is determined that being It is no to have application program in front stage operation.
Alternatively, destination application also included before step 301 is performed:The operation shape of application program is checked in detection Whether the authority of state opens;If checking, the authority of the running status of application program is opened, and obtains each application in mobile terminal The running status of program, and based thereon determined whether application program in front stage operation;If checking the running status of application program Authority is not opened, then show the first prompt message.First prompt message is used to point out to open the running status for checking application program Authority.User according to the first prompt message, be destination application open the running status for checking application program authority it Afterwards, destination application just can obtain the running status of each application program in mobile terminal.
Step 302, if mobile terminal is in desktop state, is monitored to shaking operation.
In the case where mobile terminal is in desktop state, mobile terminal is monitored to shaking operation.Shake behaviour Work refers to the operation for rocking mobile terminal.For example, mobile terminal is monitored to the sensor of above-mentioned introduction, adopted according to sensor Whether the data judging user of collection performs and shakes operation.In one example, mobile terminal is gathered according to acceleration transducer Data acquisition shake distance;When shake distance meets the first default value, it is determined that monitoring to shake operation.Show another In example, the data acquisition that mobile terminal is gathered according to acceleration transducer shakes distance, and the number gathered according to vibrating sensor According to acquisition vibration frequency;When shake distance meets the first default value, and vibration frequency is when meeting the second default value, it is determined that prison Measure and shake operation.By taking 3-axis acceleration sensor as an example, the data acquisition that mobile terminal is gathered according to acceleration transducer Shake distance of the mobile terminal on three-dimensional (such as XYZ three-dimensionals), and whether judge the distance of the shake in all directions Meet each self-corresponding first default value.In embodiments of the present invention, only in the case where mobile terminal is in desktop state, It is monitored to shaking operation, helps to reduce the duration of monitoring sensor, saves the power consumption of mobile terminal.
Alternatively, after above-mentioned steps 301, also include:Mobile terminal shows guidance information.Guidance information is used to indicate By shaking operation connection public wireless hotspot.In one example, whether used before mobile terminal detection logical Cross the function of shaking operation connection public wireless hotspot;If being not used, guidance information is shown;If having used, no Display guidance information.Through the above way, can effectively point out and guide user by shaking operation connection public wireless heat Point.Alternatively, a length of preset duration during the display of guidance information, such as 8 seconds, when the display duration of guidance information reaches default After length, mobile terminal cancels display guidance information automatically.
Step 303, when monitoring to shake operation, scanning obtains the hotspot in peripheral region.
When monitoring to shake operation, mobile scanning terminal obtains the hotspot in peripheral region.Mobile terminal is examined The signal that the hotspot surveyed in peripheral region sends, and obtain the essential information of each hotspot.For example, essential information bag Include mark (such as title), signal intensity, whether encrypt information.Wireless heat in the peripheral region that mobile scanning terminal gets In point, public wireless hotspot is potentially included, it is also possible to including not common hotspot (such as hotspot of individual subscriber).
With reference to Fig. 3 B are referred to, it illustrates a kind of interface schematic diagram that the present embodiment is related to.(a) part institute in Fig. 3 B Show, in the case where mobile terminal is in desktop state, mobile terminal layer Overlapping display guidance information 31 on the table, by drawing Information 31 is led to point out and guide user by shaking operation connection public wireless hotspot.User rocks mobile phone triggering and shakes behaviour After work, mobile scanning terminal obtains the hotspot in peripheral region, also, mobile terminal is shown such as (b) part in Fig. 3 B Shown interface 32, the hotspot for pointing out user searching in peripheral region.
Step 304, available public wireless hotspot is whether there is in the hotspot in detection peripheral region.If so, then Perform following step 305;If it is not, then performing following step 306.
Whether there is available public wireless hotspot in hotspot in mobile terminal detection peripheral region.Wherein, may be used Public wireless hotspot refers to public wireless hotspot of the quality score more than predetermined threshold value.The quality score of hotspot is used for Indicate the quality of hotspot.The quality score of hotspot can determine according to its signal quality, such as signal quality and quality Scoring correlation.Alternatively, in addition to signal quality, may also be combined with distance the distance between (i.e. with mobile terminal), Connection quantity (connecting the number of devices of hotspot), affiliated person (businessman belonging to such as) information, calculate the matter of hotspot Amount scoring.
In one example, as shown in Figure 3 C, this step includes following several sub-steps:
Step 304a, mobile terminal sends the mark of the hotspot in peripheral region to server.
Correspondingly, server receives the mark of the hotspot that mobile terminal sends.
Step 304b, server is to mobile terminal send feedback information.
Wherein, feedback information includes the mark and quality score of the public wireless hotspot in the peripheral region of mobile terminal. Be stored with default corresponding relation in server, and the default corresponding relation is included between the mark and quality score of public wireless hotspot Corresponding relation.Server is received after the mark of the hotspot of mobile terminal transmission, is in the default corresponding relation of detection The no mark that there is the hotspot, if the hotspot is determined in the presence of if for public wireless hotspot, should if the determination in the absence of if Hotspot is not common hotspot.For public wireless hotspot, server is obtained accordingly from above-mentioned default corresponding relation Quality score.
Correspondingly, the feedback information that mobile terminal the reception server sends.
Step 304c, the public wireless in mobile terminal detection peripheral region with the presence or absence of quality score more than predetermined threshold value Focus.If so, then performing following step 305;If it is not, then performing following step 306.
Step 305, the available public wireless hotspot that connection is scanned.
When there is available public wireless hotspot, the available public wireless hotspot that mobile terminal connection is scanned. In one example, when the quantity of the available public wireless hotspot in the peripheral region of mobile terminal is one, mobile terminal Connect the available public wireless hotspot;When the quantity of the available public wireless hotspot in the peripheral region of mobile terminal is many When individual, mobile terminal selects from the plurality of available public wireless hotspot one according to default selection rule and connects.Wherein, Default selection rule can be the selection quality score highest public wireless hotspot from multiple available public wireless hotspots, Can be that one is randomly choosed from multiple available public wireless hotspots, can also be from multiple available public wireless hotspots The nearest public wireless hotspot of middle chosen distance mobile terminal, or the plurality of available public wireless hotspot is shown to use Family, a public wireless hotspot is therefrom selected by user.
Alternatively, mobile terminal is it is determined that after available public wireless hotspot to be connected, show public wireless heat Point;After receiving the confirmation connection corresponding to the public wireless hotspot and indicating, the public wireless hotspot is connected.As in Fig. 3 B C interface 33 shown in () part, mobile terminal shows the title of available public wireless hotspot to be connected, such as " xx wireless networks Network ", and point out user by drop-down or clicking operation, triggering connects the public wireless hotspot.For example, user is according to above-mentioned prompting Perform after pulling operation, mobile terminal shows the interface 34 as shown in (d) part in Fig. 3 B, point out user to connect, and Interface 35 shown in (e) part in display such as Fig. 3 B after being successfully connected.
Step 306, the public wireless hotspot in display peripheral region.
When in the absence of available public wireless hotspot, the public wireless hotspot in mobile terminal display peripheral region. In one example, mobile terminal is with the public wireless hotspot in tabular form display peripheral region, each entry in list Corresponding to a public wireless hotspot.Alternatively, show after mobile terminal is classified the public wireless hotspot in peripheral region Show, such as by whether encrypting and classified.Alternatively, after be ranked up for the public wireless hotspot in peripheral region by mobile terminal It has been shown that, for example, be ranked up by quality score.User selects the public wireless hotspot for needing to connect from above-mentioned list.Accordingly Ground, mobile terminal connects selected public wireless hotspot after getting selection and indicating.
With reference to Fig. 3 D are referred to, it illustrates another interface schematic diagram that the present embodiment is related to.Boundary shown in (a) part in Fig. 3 D Face 31 and interface 32 shown in (b) part are identical with above-mentioned Fig. 3 B.When there is no high-quality public affairs in the peripheral region of mobile terminal Altogether during hotspot, mobile terminal shows the interface 36 as shown in (c) part in Fig. 3 D, the public affairs in mobile terminal display peripheral region The sum of common hotspot, and point out user to enter respective list by clicking operation.User performs click according to above-mentioned prompting After operation, mobile terminal shows the interface 37 as shown in (d) part in Fig. 3 D, with public in tabular form display peripheral region Hotspot, the public wireless hotspot for needing to connect therefrom is selected for user.
Alternatively, the method that the present embodiment is provided also comprises the following steps:If not scanned in region get public affairs around Hotspot is total to, then the mobile terminal show map page.Wherein, the map page includes the public wireless hotspot in predeterminable area Relevant information, relevant information includes position, distance, affiliated person, connects quantity, at least one in evaluation information.For example, moving Terminal is moved according to current geographic position, is shown including the map in the predeterminable area including current geographic position, and on map Corresponding position mark each public wireless hotspot.For example, acquisition for mobile terminal current geographic position, and by current geographic position Put and be sent to server;Server obtains the predeterminable area on current geographic position periphery according to the current geographic position of mobile terminal The relevant information of interior public wireless hotspot, and it is sent to mobile terminal;Mobile terminal according to the above- mentioned information of server feedback, The show map page.
With reference to Fig. 3 E are referred to, it illustrates another interface schematic diagram that the present embodiment is related to.Boundary shown in (a) part in Fig. 3 E Face 31 and interface 32 shown in (b) part are identical with above-mentioned Fig. 3 B.When do not have in the peripheral region of mobile terminal public wireless heat During point, mobile terminal shows the interface 38 as shown in (c) part in Fig. 3 E, informs and public wireless heat is not found in user peripheral region Point, and point out user to search the public wireless hotspot in other regions.User clicks on " consulting a map " button according to above-mentioned prompting Afterwards, mobile terminal shows the map page 39 as shown in (d) part in Fig. 3 E, and it is public to be labeled with each in the map page 39 The icon of hotspot.Alternatively, after user clicks on the icon of public wireless hotspot, the public wireless hotspot can be checked Relevant information.
Alternatively, after mobile terminal is monitored to shaking operation, also include:When monitoring to shake operation, If mobile terminal does not meet pre-conditioned, the second prompt message is shown.Second prompt message is not inconsistent for prompting mobile terminal Close pre-conditioned.Wherein, the pre-conditioned hotspot access function including mobile terminal is in opening, mobile terminal Cellular mo-bile data network access facility is in Section 1 or all two in opening.
With reference to Fig. 3 F are referred to, it illustrates another interface schematic diagram that the present embodiment is related to.Boundary shown in (a) part in Fig. 3 F Face 31 is identical with above-mentioned Fig. 3 B.When mobile terminal monitors to shake operation, if the hotspot of mobile terminal accesses work( Energy and/or cellular mo-bile data network access facility are closed, then mobile terminal is shown as shown in (b) part in Fig. 3 F The second prompt message 40, point out user need to open hotspot access function and cellular mo-bile data network access facility it Afterwards, the hotspot that could be searched in peripheral region.
It should be noted is that, in the present embodiment, only with mobile terminal after monitoring to shake operation, scanning As a example by hotspot in acquisition peripheral region.In other embodiments, mobile terminal also can monitor to shake operation Before, scanning obtains the hotspot in peripheral region.For example, mobile terminal is in the case where confirming to be in desktop state, scanning The hotspot in peripheral region is obtained, and after monitoring to shake operation, it is available that direct execution connection is scanned The step of public wireless hotspot.
In sum, the method that the present embodiment is provided, in the case of being in desktop state in mobile terminal, to shaking Operation is shaken to be monitored, when monitoring to shake operation, the available public wireless hotspot that connection is scanned;Solve existing The mode of the public Wi-Fi hotspot of connection that technology is provided could complete connection, it is necessary to user performs compared with the operation of multi-step, cause The complex problem of operation;Public wireless hotspot is connected automatically by shaking the i.e. triggerable mobile terminal of operation, is reached Simplify operation, improve the technique effect of operating efficiency.
In addition, providing the function of shaking connection public wireless hotspot in the case where mobile terminal is in desktop state, on the one hand, When user needs connection public wireless hotspot, without entering certain specific application program, it is only necessary to shaken in desktop triggering Operation, fully simplifies operation;On the other hand, applications by shaking operation triggering correlation function with some can be avoided Program is clashed.
In addition, in the case of not scanned in region get public wireless hotspot around, the show map page, by The relevant information of displaying public wireless hotspot in the map page, such as position and affiliated businessman's information, provide the user periphery clothes Business, with compared with high scalability.
Fig. 4 is refer to, the flow chart of the method for the connection hotspot provided it illustrates another embodiment of the present invention.Should Method can be applied in mobile terminal.The method can include following several steps:
Whether step 401, detection mobile terminal is in desktop state.If so, then performing following step 402.
Step 402, judges whether to need monitoring to shake operation.If so, then performing following step 403;If it is not, then performing Following step 404.
Whether mobile terminal judges the current condition for meeting and monitoring and shake operation, and the condition can include:In desktop State, currently be not connected with hotspot, shake function unlatching.
Whether step 403, used the function by shaking operation connection public wireless hotspot before judgement.If It is then to perform following step 405;If it is not, then performing following step 406.
Step 404, does not monitor and shakes operation.
Step 405, does not show guidance information, and is monitored to shaking operation.
Step 406, shows guidance information, and be monitored to shaking operation.
Guidance information is used to indicate by shaking operation connection public wireless hotspot.
Step 407, monitors to shake operation.
Step 408, judges whether mobile terminal meets pre-conditioned.If so, then performing following step 409;If it is not, then holding Row following step 410.
The pre-conditioned hotspot access function including mobile terminal is in the honeycomb movement of opening, mobile terminal Data network access function is in Section 1 or all two in opening.
Whether step 409, judges there is public wireless hotspot in peripheral region.If so, then performing following step 411;If it is not, Then perform following step 412.
Step 410, shows the second prompt message.
Second prompt message does not meet pre-conditioned for prompting mobile terminal.
Step 411, judges to whether there is available public wireless hotspot in peripheral region.If so, then performing following step 413;If it is not, then performing following step 414.
Available public wireless hotspot refers to public wireless hotspot of the quality score more than predetermined threshold value.
Step 412, the show map page.
The map page includes the relevant information of the public wireless hotspot in predeterminable area, relevant information include position, away from At least one in, affiliated person, connection quantity, evaluation information.
Step 413, connects available public wireless hotspot.
Step 414, the public wireless hotspot in display peripheral region.
Following is apparatus of the present invention embodiment, can be used for performing the inventive method embodiment.For apparatus of the present invention reality The details not disclosed in example is applied, the inventive method embodiment is refer to.
Fig. 5 is refer to, the block diagram of the device of the connection hotspot provided it illustrates one embodiment of the invention.The dress Put with the function of realizing above method example, the function can be realized by hardware, it is also possible to performed by hardware corresponding Software realize.The device can include:Desktop detection module 510, operation monitoring modular 520 and focus link block 530.
Desktop detection module 510, whether for detecting mobile terminal in desktop state, the desktop state refers to that nothing should With program front stage operation state.
Operation monitoring modular 520, if being in the desktop state for the mobile terminal, is carried out to shaking operation Monitoring, described to shake operation refer to the operation of rocking the mobile terminal.
Focus link block 530, for when monitor it is described shake operation when, the available public nothing that connection is scanned Line focus.
In sum, the device that the present embodiment is provided, in the case of being in desktop state in mobile terminal, to shaking Operation is shaken to be monitored, when monitoring to shake operation, the available public wireless hotspot that connection is scanned;Solve existing The mode of the public Wi-Fi hotspot of connection that technology is provided could complete connection, it is necessary to user performs compared with the operation of multi-step, cause The complex problem of operation;Public wireless hotspot is connected automatically by shaking the i.e. triggerable mobile terminal of operation, is reached Simplify operation, improve the technique effect of operating efficiency.
In addition, providing the function of shaking connection public wireless hotspot in the case where mobile terminal is in desktop state, on the one hand, When user needs connection public wireless hotspot, without entering certain specific application program, it is only necessary to shaken in desktop triggering Operation, fully simplifies operation;On the other hand, applications by shaking operation triggering correlation function with some can be avoided Program is clashed.
In the alternative embodiment provided based on embodiment illustrated in fig. 5, as shown in fig. 6, described device also includes:Heat Spot scan module 502 and Hot spots detection module 504.
Hot spot scanning module 502, for scanning the hotspot obtained in peripheral region.
Hot spots detection module 504, for detecting in the hotspot in the peripheral region with the presence or absence of described available Public wireless hotspot;Wherein, the available public wireless hotspot refers to public wireless heat of the quality score more than predetermined threshold value Point.
The focus link block 530, if for there is the available public wireless hotspot, the institute that connection is scanned State available public wireless hotspot.
In one example, the Hot spots detection module, including:Mark transmitting element, information receiving unit and focus inspection Survey unit.
Mark transmitting element, the mark for sending the hotspot in the peripheral region to server.
Information receiving unit, for receiving the feedback information that the server sends;Wherein, the feedback information includes institute State the mark and quality score of public wireless hotspot in peripheral region.
Hot spots detection unit, for detecting in the peripheral region with the presence or absence of quality score more than the predetermined threshold value Public wireless hotspot.
In another alternative embodiment provided based on embodiment illustrated in fig. 5, as shown in fig. 6, described device also includes:Heat Point display module 540.
Focus display module 540, if in the absence of the available public wireless hotspot, showing the peripheral region Interior public wireless hotspot.
In another alternative embodiment provided based on embodiment illustrated in fig. 5, as shown in fig. 6, described device also includes:Ground Figure display module 550.
Map display module 550, if getting public wireless hotspot for not scanned in the peripheral region, shows The map page.Wherein, the map page includes the relevant information of the public wireless hotspot in predeterminable area, the related letter Breath includes position, distance, affiliated person, connects quantity, at least one in evaluation information.
In another alternative embodiment provided based on embodiment illustrated in fig. 5, as shown in fig. 6, described device also includes:Power The limit reminding module 570 of detection module 560 and first.
Whether authority detection module 560, the authority for detecting the running status for checking application program opens.
First reminding module 570, if not opened for the authority of the running status for checking application program, shows One prompt message, first prompt message is used for the authority of the running status that application program is checked described in prompting unlatching.
In another alternative embodiment provided based on embodiment illustrated in fig. 5, as shown in fig. 6, described device also includes:The Two reminding modules 580.
Second reminding module 580, for when monitor it is described shake operation when, if the mobile terminal do not meet it is default Condition, then show the second prompt message, and second prompt message is used to point out the mobile terminal not meet the default bar Part.Wherein, the pre-conditioned hotspot access function including the mobile terminal is in opening, the movement eventually The cellular mo-bile data network access facility at end is in Section 1 or all two in opening.
In another alternative embodiment provided based on embodiment illustrated in fig. 5, as shown in fig. 6, described device also includes:Draw Lead display module 590.
Guiding display module 590, for showing guidance information, the guidance information is used to indicate to shake behaviour by described Make connection public wireless hotspot.
It should be noted that:Above-described embodiment provide device when its function is realized, only with above-mentioned each functional module Division is carried out for example, in practical application, can be completed by different functional modules as needed and by above-mentioned functions distribution, Will the internal structure of equipment be divided into different functional modules, to complete all or part of function described above.In addition, The apparatus and method embodiment that above-described embodiment is provided belongs to same design, and it implements process and refers to embodiment of the method, this In repeat no more.
Fig. 7 is refer to, the structural representation of the mobile terminal provided it illustrates one embodiment of the invention.The movement end Hold the method for implementing to be provided in above-described embodiment.Specifically:
Mobile terminal 700 can include RF (Radio Frequency, radio frequency) circuit 710, include one or one with The memory 720 of upper computer-readable recording medium, input block 730, display unit 740, sensor 750, voicefrequency circuit 760th, WiFi (wireless fidelity, Wireless Fidelity) module 770, include one or more than one processing core The part such as processor 780 and power supply 790.It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 7 is simultaneously The restriction to mobile terminal is not constituted, can include part more more or less than diagram, or combine some parts, or not Same part arrangement.Wherein:
RF circuits 710 can be used to receiving and sending messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information is received, transfer to one or more than one processor 780 is processed;In addition, will be related to up data is activation to Base station.Generally, RF circuits 710 include but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, use Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex Device etc..Additionally, RF circuits 710 can also be communicated by radio communication with network and other equipment.The radio communication can make With any communication standard or agreement, and including but not limited to GSM (Global System of Mobile communication, entirely Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc..
Memory 720 can be used to store software program and module, and processor 780 is by running storage in memory 720 Software program and module, so as to perform various function application and data processing.Memory 720 can mainly include storage journey Sequence area and storage data field, wherein, the application program (ratio that storing program area can be needed for storage program area, at least one function Such as sound-playing function, image player function) etc.;Storage data field can be stored and created according to using for mobile terminal 700 Data (such as voice data, phone directory etc.) etc..Additionally, memory 720 can include high-speed random access memory, may be used also With including nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-states Part.Correspondingly, memory 720 can also include Memory Controller, to provide processor 780 and input block 730 pairs of storages The access of device 720.
Input block 730 can be used to receive the numeral or character information of input, and generation is set and function with user The relevant keyboard of control, mouse, action bars, optics or trace ball signal input.Specifically, input block 730 may include figure As input equipment 731 and other input equipments 732.Image input device 731 can be camera, or optoelectronic scanning Equipment.Except image input device 731, input block 730 can also include other input equipments 732.Specifically, other inputs Equipment 732 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse One or more in mark, action bars etc..
Display unit 740 can be used for display by the information of user input or be supplied to the information and mobile terminal of user 700 various graphical user interface, these graphical user interface can be come by figure, text, icon, video and its any combination Constitute.Display unit 740 may include display panel 741, optionally, can using LCD (Liquid Crystal Display, Liquid crystal display), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display Panel 741.
Mobile terminal 700 may also include at least one sensor 750, such as optical sensor, motion sensor and other Sensor.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can basis The light and shade of ambient light adjusts the brightness of display panel 741, proximity transducer can when mobile terminal 700 is moved in one's ear, Close display panel 741 and/or backlight.Used as one kind of motion sensor, Gravity accelerometer can detect all directions The size of upper (generally three axles) acceleration, can detect that size and the direction of gravity when static, can be used to recognize mobile phone attitude Application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, strikes Hit) etc.;Gyroscope, barometer, hygrometer, thermometer, infrared ray sensor for being can also configure as mobile terminal 700 etc. other Sensor, will not be repeated here.
Voicefrequency circuit 760, loudspeaker 761, microphone 762 can provide the COBBAIF between user and mobile terminal 700. Electric signal after the voice data conversion that voicefrequency circuit 760 will can be received, is transferred to loudspeaker 761, is changed by loudspeaker 761 For voice signal is exported;On the other hand, the voice signal of collection is converted to electric signal by microphone 762, is connect by voicefrequency circuit 760 Be converted to voice data after receipts, then after voice data output processor 780 is processed, it is such as another to be sent to through RF circuits 710 One mobile terminal, or voice data is exported to memory 720 so as to further treatment.Voicefrequency circuit 760 is also possible that Earphone jack, to provide the communication of peripheral hardware earphone and mobile terminal 700.
WiFi belongs to short range wireless transmission technology, and mobile terminal 700 can help user to receive and dispatch by WiFi module 770 Email, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 7 WiFi module 770 is shown, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal 700, completely can be with root Omitted in the essential scope for do not change invention according to needs.
Processor 780 is the control centre of mobile terminal 700, using various interfaces and connection whole mobile phone each Part, by running or performing software program and/or module of the storage in memory 720, and calls storage in memory Data in 720, perform the various functions and processing data of mobile terminal 700, so as to carry out integral monitoring to mobile phone.It is optional , processor 780 may include one or more processing cores;Preferably, processor 780 can integrated application processor and modulatedemodulate Processor is adjusted, wherein, application processor mainly processes operating system, user interface and application program etc., modem processor Main treatment radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 780.
Mobile terminal 700 also includes the power supply 790 (such as battery) powered to all parts, it is preferred that power supply can lead to Cross power-supply management system logically contiguous with processor 780, thus by power-supply management system realize management charge, electric discharge and The functions such as power managed.Power supply 790 can also include one or more direct current or AC power, recharging system, electricity The random component such as source failure detector circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, mobile terminal 700 can also will not be repeated here including bluetooth module etc..
Specifically in the present embodiment, mobile terminal 700 also includes memory, and one or more than one journey Sequence, one of them or more than one program storage is configured to by one or more than one processor in memory Perform.Said one or more than one program bag are containing the instruction for performing the above method.
It should be appreciated that referenced herein " multiple " refers to two or more."and/or", description association The incidence relation of object, expression there may be three kinds of relations, for example, A and/or B, can represent:Individualism A, while there is A And B, individualism B these three situations.Character "/" typicallys represent forward-backward correlation pair as if a kind of relation of "or".
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware To complete, it is also possible to instruct the hardware of correlation to complete by program, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all it is of the invention spirit and Within principle, any modification, equivalent substitution and improvements made etc. should be included within the scope of the present invention.

Claims (16)

1. it is a kind of connect hotspot method, it is characterised in that methods described includes:
Whether detection mobile terminal is in desktop state, and the desktop state refers to the state in front stage operation without application program;
If the mobile terminal is in the desktop state, it is monitored to shaking operation, it is described to shake operation and refer to Rock the operation of the mobile terminal;
When monitor it is described shake operation when, the available public wireless hotspot that connection is scanned.
2. method according to claim 1, it is characterised in that the available public wireless hotspot that the connection is scanned it Before, also include:
Scanning obtains the hotspot in peripheral region;
Detect in the hotspot in the peripheral region with the presence or absence of the available public wireless hotspot;Wherein, it is described can Public wireless hotspot refers to public wireless hotspot of the quality score more than predetermined threshold value;
If there is the available public wireless hotspot, the step of the available public wireless hotspot for connecting and scanning is performed Suddenly.
3. method according to claim 2, it is characterised in that be in the hotspot in the detection peripheral region No have an available public wireless hotspot, including:
The mark of the hotspot in the peripheral region is sent to server;
Receive the feedback information that the server sends;Wherein, the feedback information includes the public nothing in the peripheral region The mark and quality score of line focus;
Detect the public wireless hotspot with the presence or absence of quality score more than the predetermined threshold value in the peripheral region.
4. method according to claim 2, it is characterised in that be in the hotspot in the detection peripheral region It is no there is the available public wireless hotspot after, also include:
If not existing the available public wireless hotspot, the public wireless hotspot in the peripheral region is shown.
5. method according to claim 2, it is characterised in that the scanning obtain hotspot in peripheral region it Afterwards, also include:
If do not scanned in the peripheral region getting public wireless hotspot, the show map page;
Wherein, the map page includes the relevant information of the public wireless hotspot in predeterminable area, the relevant information bag Include position, distance, affiliated person, connection quantity, at least one in evaluation information.
6. the method according to any one of claim 1 to 5, it is characterised in that whether the detection mobile terminal is in table Before surface state, also include:
Detection checks whether the authority of the running status of application program opens;
If the authority of the running status for checking application program is not opened, the first prompt message, first prompting are shown Information is used for the authority of the running status that application program is checked described in prompting unlatching.
7. the method according to any one of claim 1 to 5, it is characterised in that described pair is shaken operation and be monitored it Afterwards, also include:
When monitor it is described shake operation when, if the mobile terminal does not meet pre-conditioned, show the second prompt message, Second prompt message is described pre-conditioned for pointing out the mobile terminal not meet;
Wherein, the pre-conditioned hotspot access function including the mobile terminal is in opening, the movement The cellular mo-bile data network access facility of terminal is in Section 1 or all two in opening.
8. the method according to any one of claim 1 to 5, it is characterised in that whether the detection mobile terminal is in table After surface state, also include:
Display guidance information, the guidance information is used to indicate to shake operation connection public wireless hotspot by described.
9. it is a kind of connect hotspot device, it is characterised in that described device includes:
Desktop detection module, whether for detecting mobile terminal in desktop state, the desktop state refers to without application program In the state of front stage operation;
Operation monitoring modular, if being in the desktop state for the mobile terminal, is monitored, institute to shaking operation It refers to the operation for rocking the mobile terminal to state and shake operation;
Focus link block, for when monitor it is described shake operation when, the available public wireless hotspot that connection is scanned.
10. device according to claim 9, it is characterised in that described device also includes:
Hot spot scanning module, for scanning the hotspot obtained in peripheral region;
Hot spots detection module, for detecting in the hotspot in the peripheral region with the presence or absence of the available public wireless Focus;Wherein, the available public wireless hotspot refers to public wireless hotspot of the quality score more than predetermined threshold value;
The focus link block, if for there is the available public wireless hotspot, what connection was scanned described uses Public wireless hotspot.
11. devices according to claim 10, it is characterised in that the Hot spots detection module, including:
Mark transmitting element, the mark for sending the hotspot in the peripheral region to server;
Information receiving unit, for receiving the feedback information that the server sends;Wherein, the feedback information includes the week Enclose the mark and quality score of public wireless hotspot in region;
Hot spots detection unit, it is public more than the predetermined threshold value with the presence or absence of quality score in the peripheral region for detecting Hotspot.
12. devices according to claim 10, it is characterised in that described device also includes:
Focus display module, if in the absence of the available public wireless hotspot, showing the public affairs in the peripheral region Common hotspot.
13. devices according to claim 10, it is characterised in that described device also includes:
Map display module, if getting public wireless hotspot for not scanned in the peripheral region, explicitly map sheet Face;
Wherein, the map page includes the relevant information of the public wireless hotspot in predeterminable area, the relevant information bag Include position, distance, affiliated person, connection quantity, at least one in evaluation information.
14. device according to any one of claim 9 to 13, it is characterised in that described device also includes:
Whether authority detection module, the authority for detecting the running status for checking application program opens;
First reminding module, if not opened for the authority of the running status for checking application program, display first is pointed out Information, first prompt message is used for the authority of the running status that application program is checked described in prompting unlatching.
15. device according to any one of claim 9 to 13, it is characterised in that described device also includes:
Second reminding module, for when monitor it is described shake operation when, if the mobile terminal do not meet it is pre-conditioned, The second prompt message is shown, second prompt message is described pre-conditioned for pointing out the mobile terminal not meet;
Wherein, the pre-conditioned hotspot access function including the mobile terminal is in opening, the movement The cellular mo-bile data network access facility of terminal is in Section 1 or all two in opening.
16. device according to any one of claim 9 to 13, it is characterised in that described device also includes:
Guiding display module, for showing guidance information, the guidance information is used to indicate to shake operation connection by described Public wireless hotspot.
CN201610695277.XA 2016-08-19 2016-08-19 Connect the method and device of hotspot Active CN106714278B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610695277.XA CN106714278B (en) 2016-08-19 2016-08-19 Connect the method and device of hotspot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610695277.XA CN106714278B (en) 2016-08-19 2016-08-19 Connect the method and device of hotspot

Publications (2)

Publication Number Publication Date
CN106714278A true CN106714278A (en) 2017-05-24
CN106714278B CN106714278B (en) 2019-10-25

Family

ID=58940827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610695277.XA Active CN106714278B (en) 2016-08-19 2016-08-19 Connect the method and device of hotspot

Country Status (1)

Country Link
CN (1) CN106714278B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107889177A (en) * 2017-11-29 2018-04-06 维沃移动通信有限公司 Method for switching network and device
CN108260187A (en) * 2018-01-26 2018-07-06 上海连尚网络科技有限公司 A kind of flow sharing method
CN108804192A (en) * 2018-06-12 2018-11-13 上海连尚网络科技有限公司 Method and apparatus for showing information, pushed information
CN109640378A (en) * 2019-01-21 2019-04-16 上海连尚网络科技有限公司 A kind of wireless access point indication method and equipment
WO2020029841A1 (en) * 2018-08-06 2020-02-13 连尚(新昌)网络科技有限公司 Network connection method, device, and storage medium
CN112153720A (en) * 2019-06-28 2020-12-29 腾讯科技(深圳)有限公司 Wireless network connection method and device, mobile terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301892A (en) * 2014-09-25 2015-01-21 合肥城市云数据中心有限公司 Mobile terminal wireless network authentication method based on shaking mechanism
CN104768156A (en) * 2015-04-30 2015-07-08 北京奇虎科技有限公司 WiFi connection method and device
CN105472703A (en) * 2014-09-11 2016-04-06 中兴通讯股份有限公司 Wireless network access method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472703A (en) * 2014-09-11 2016-04-06 中兴通讯股份有限公司 Wireless network access method and device
CN104301892A (en) * 2014-09-25 2015-01-21 合肥城市云数据中心有限公司 Mobile terminal wireless network authentication method based on shaking mechanism
CN104768156A (en) * 2015-04-30 2015-07-08 北京奇虎科技有限公司 WiFi connection method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107889177A (en) * 2017-11-29 2018-04-06 维沃移动通信有限公司 Method for switching network and device
CN108260187A (en) * 2018-01-26 2018-07-06 上海连尚网络科技有限公司 A kind of flow sharing method
CN108804192A (en) * 2018-06-12 2018-11-13 上海连尚网络科技有限公司 Method and apparatus for showing information, pushed information
WO2020029841A1 (en) * 2018-08-06 2020-02-13 连尚(新昌)网络科技有限公司 Network connection method, device, and storage medium
CN109640378A (en) * 2019-01-21 2019-04-16 上海连尚网络科技有限公司 A kind of wireless access point indication method and equipment
CN112153720A (en) * 2019-06-28 2020-12-29 腾讯科技(深圳)有限公司 Wireless network connection method and device, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN106714278B (en) 2019-10-25

Similar Documents

Publication Publication Date Title
CN106714278B (en) Connect the method and device of hotspot
CN104035948B (en) Geographic position display packing and device
CN104572430B (en) A kind of test method, the device and system at terminal applies interface
CN104519485B (en) Communication means, device and system between a kind of terminal
CN104426919B (en) Page sharing method, apparatus and system
CN104657105B (en) A kind of method and apparatus of the speech voice input function opening terminal
CN104902531B (en) Connect method, application authorization server, terminal and the router of network
CN109361592A (en) A kind of instant communication message processing method, device, equipment and storage medium
CN103310004A (en) Method, device and equipment for displaying number of unread messages
CN104104711B (en) Reading histories treating method and apparatus
CN106708538A (en) Interface display method and device
CN105389259B (en) A kind of method, apparatus and system for carrying out Application testing
CN106059894A (en) Message processing method and message processing device
CN106973330A (en) A kind of screen live broadcasting method, device and system
CN104216915A (en) Webpage processing method, device and terminal equipment
CN104580177B (en) Resource provider method, device and system
CN105975190A (en) Graph interface processing method, device and system
CN105992026A (en) Method and device for displaying barrage comment information
CN105162591A (en) Equipment registration method and device
CN107436948A (en) File search method, device and terminal
CN106454976B (en) A kind of switching method of wireless network, device and terminal
CN105955597A (en) Method and device for displaying information
CN103399706B (en) Page interaction, device and terminal
CN106161147B (en) Establish the method and device of network connection
CN106332023A (en) Unread information display method and device, and mobile terminal

Legal Events

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