CN106101998A - A kind of terminal and the method opening terminal wireless fidelity WIFI function - Google Patents

A kind of terminal and the method opening terminal wireless fidelity WIFI function Download PDF

Info

Publication number
CN106101998A
CN106101998A CN201610365577.1A CN201610365577A CN106101998A CN 106101998 A CN106101998 A CN 106101998A CN 201610365577 A CN201610365577 A CN 201610365577A CN 106101998 A CN106101998 A CN 106101998A
Authority
CN
China
Prior art keywords
positional information
terminal
wifi
currently located
unit
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.)
Pending
Application number
CN201610365577.1A
Other languages
Chinese (zh)
Inventor
姚胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610365577.1A priority Critical patent/CN106101998A/en
Publication of CN106101998A publication Critical patent/CN106101998A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a kind of terminal and the method opening terminal WIFI function, the method may include that terminal obtains the positional information being currently located;The described positional information being currently located is mated by described terminal with the positional information prestored;When the positional information that described terminal is currently located mates with the described positional information prestored, described terminal opens the WIFI function of self.

Description

A kind of terminal and the method opening terminal wireless fidelity WIFI function
Technical field
The present invention relates to moving communicating field, particularly relate to a kind of terminal and open terminal wireless fidelity (WIFI, WIreless-FIdelity) method of function.
Background technology
Current intelligent terminal all supports WLAN (WLAN, Wireless Local Area Networks) business, The region covering WLAN also gets more and more.User is when using the WIFI function of intelligent terminal, manually opened by operation interface The WIFI function of intelligent terminal, looks for WIFI access point the most again and accesses, and so cause accessing WIFI network all needs every time Want user to be operated manually, cause the inconvenience of user operation.The WIFI function of intelligent terminal is then kept by some users Opening so that intelligent terminal can automatically access WIFI network under WIFI network environment.But intelligent terminal connects automatically Entering WIFI network can make intelligent terminal easily connect public or unsafe WIFI network, solicited message safety problem.
Summary of the invention
Present invention is primarily targeted at a kind of method proposing terminal and opening terminal WIFI function, it is intended to avoid user It is manually operated while accessing WIFI network so that terminal, improves terminal and access the safety of WIFI network.
For reaching above-mentioned purpose, the technical scheme is that and be achieved in that:
First aspect, embodiments provides a kind of method opening terminal wireless fidelity WIFI function, described side Method includes:
Terminal obtains the positional information being currently located;
The described positional information being currently located is mated by described terminal with the positional information prestored;
When the positional information that described terminal is currently located mates with the described positional information prestored, described terminal is opened certainly The WIFI function of body.
In such scheme, before described terminal obtains the positional information being currently located, described method also includes:
Described terminal is when being linked into WIFI network, and receiving position preserves instruction;
Described terminal preserves instruction according to position and is marked by positional information when accessing WIFI;
Positional information after labelling is preserved by described terminal.
In such scheme, the described positional information being currently located and the positional information prestored are carried out by described terminal Join, specifically include:
Described terminal travels through the positional information after described labelling, obtains the positional information traversed and institute in ergodic process State the distance between the positional information being currently located;
Distance between the described positional information traversed and the described positional information being currently located less than preset away from When threshold value, determine described in the positional information that is currently located mate with the positional information prestored.
In such scheme, described method also includes:
When the positional information that described terminal is currently located does not mates with the described positional information prestored, described terminal is arranged Self WIFI function is closed mode.
In such scheme, after described terminal opens the WIFI function of self, described method also includes:
When terminal is not linked into WIFI network within the default time period, and described terminal closes the WIFI function of self.
Second aspect, embodiments provides a kind of terminal, and described terminal includes: positioning unit, matching unit and WIFI control unit;Wherein,
Described positioning unit, for obtaining the positional information that described terminal is currently located;
Described matching unit, for mating the described positional information being currently located with the positional information prestored;And By matching result transmission to described WIFI control unit;
Described WIFI control unit, for the positional information and the described positional information prestored that are currently located when described terminal During coupling, open the WIFI function of self.
In such scheme, described terminal also includes: receive unit, indexing unit and storage unit;Wherein,
Described reception unit, for when being linked into WIFI network, receiving position preserves instruction;
Described indexing unit, is marked positional information when accessing WIFI for preserving instruction according to position;
Described storage unit, for preserving the positional information after labelling.
In such scheme, described matching unit, the positional information after traveling through described labelling, obtains in ergodic process Take the distance between the positional information traversed and the described positional information being currently located;
Distance between the described positional information traversed and the described positional information being currently located less than preset away from When threshold value, determine described in the positional information that is currently located mate with the positional information prestored.
In such scheme, described WIFI control unit, it is additionally operable to the positional information when described terminal is currently located and institute Stating the positional information prestored when not mating, arranging self WIFI function is closed mode.
In such scheme, described terminal also includes timing unit, opens WIFI function for described WIFI control unit After carry out timing, and within the default time period, be not linked into WIFI network, close WIFI function.
A kind of terminal that the embodiment of the present invention is provided and the method opening terminal WIFI function, be presently in by terminal Geographical position determine whether terminal opens WIFI function, thus avoiding user to be manually operated so that terminal accesses While WIFI network, improve terminal and access the safety of WIFI network.
Accompanying drawing explanation
The hardware architecture diagram of a kind of mobile terminal that Fig. 1 provides for the embodiment of the present invention;
A kind of network structure application scenarios schematic diagram that Fig. 2 provides for the embodiment of the present invention;
A kind of method flow schematic diagram opening terminal WIFI function that Fig. 3 provides for the embodiment of the present invention;
A kind of schematic flow sheet obtaining default positional information that Fig. 4 provides for the embodiment of the present invention;
A kind of interface display schematic diagram that Fig. 5 provides for the embodiment of the present invention;
The another kind of interface display schematic diagram that Fig. 6 provides for the embodiment of the present invention;
A kind of method opening terminal WIFI function that Fig. 7 provides for the embodiment of the present invention implements schematic flow sheet;
The structural representation of a kind of terminal that Fig. 8 provides for the embodiment of the present invention;
The structural representation of the another kind of terminal that Fig. 9 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe wholely.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing 1.In follow-up description, make With being used for the suffix representing such as " module ", " parts " or " unit " of the element explanation only for the beneficially present invention, its Body does not has specific meaning.Therefore, " module " can mixedly use with " parts ".
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can include such as moving Phone, smart phone, notebook computer, digit broadcasting receiver, personal digital assistant (PDA), panel computer (PAD), portable The mobile terminal of formula multimedia player (PMP), guider etc. and fixing of such as numeral TV, desk computer etc. Terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for mobile mesh Element outside, structure according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware configuration signal of the mobile terminal realizing each embodiment of the present invention.
Mobile terminal 100 can include wireless communication unit 110, user input unit 130, output unit 150, memorizer 160, controller 180 and power subsystem 190 etc..Fig. 1 shows the mobile terminal with various assembly, it should be understood that It is, it is not required that implement all assemblies illustrated, can alternatively implement more or less of assembly, will be discussed in more detail below The element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows mobile terminal 100 and wireless communication system Or the radio communication between network.Such as, wireless communication unit can include wireless Internet module 113 and positional information mould At least one in block 115.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc..
Positional information module 115 is the module of positional information for checking or obtain mobile terminal.Positional information module The typical case of 115 is global positioning system (GPS, Global Positioning System).According to current technology, GPS Module 115 calculates from the range information of three or more satellites and correct time information and for the Information application calculated Triangulation, thus according to longitude, latitude and highly accurately calculating three-dimensional current location information.Currently, it is used for calculating position The method with temporal information of putting use three satellites and by the position using an other satellite correction to calculate and time Between the error of information.Additionally, GPS module 115 can calculate velocity information by Continuous plus current location information in real time.
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user's input Plant operation.User input unit 130 allows user to input various types of information, and can include keyboard, metal dome, touch Plate (such as, detection due to touched and cause resistance, pressure, the sensitive component of change of electric capacity etc.), roller, rocking bar etc. Deng.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch screen can be formed.
Output unit 150 is configured to provide output signal (such as, audio frequency letter with vision, audio frequency and/or tactile manner Number, video signal, alarm signal, vibration signal etc.).Output unit 150 can include display unit 151 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 100.Such as, it is in electricity when mobile terminal 100 During words call mode, display unit 151 can show and call or other (such as, text messaging, multimedia file that communicate Download etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern Or during image capture mode, display unit 151 can show image and/or the image of reception of capture, illustrate video or figure UI or GUI of picture and correlation function etc..
Meanwhile, when display unit 151 and touch pad the most superposed on one another with formed touch screen time, display unit 151 can serve as input equipment and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least A kind of.Some in these display may be constructed such that transparence is watched from outside with permission user, and this is properly termed as transparent Display, typical transparent display can for example, TOLED (transparent organic light emitting diode) display etc..According to specific The embodiment wanted, mobile terminal 100 can include two or more display units (or other display device), such as, move Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detection and touches Input pressure and touch input position and touch input area.
Memorizer 160 can store the process performed by controller 180 and the software program controlling operation etc., or can Temporarily to store the data (such as, telephone directory, message, still image, video etc.) that oneself maybe will export through output.And And, memorizer 160 can with storage about when touch be applied to touch screen time the vibration of various modes of output and audio signal Data.
Memorizer 160 can include that the storage medium of at least one type, described storage medium include flash memory, hard disk, many Media card, card-type memorizer (such as, SD or DX memorizer etc.), random access storage device (RAM), static random-access store Device (SRAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 100 can be connected execution memorizer with by network The network storage device cooperation of the storage function of 160.
Controller 180 generally controls the overall operation of mobile terminal.Such as, controller 180 performs and voice call, data Control that communication, video calling etc. are relevant and process.It addition, controller 180 can include for reproducing (or playback) many matchmakers The multi-media module 181 of volume data, multi-media module 181 can construct in controller 180, or it is so structured that with control Device 180 separates.Controller 180 can perform pattern recognition process, with the handwriting input that will perform on the touchscreen or picture Draw input and be identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit Suitable electric power needed for part and assembly.
Various embodiment described herein can be to use such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implemented.Implementing for hardware, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Program gate array (FPGA), processor, controller, microcontroller, microprocessor, be designed to perform function described herein At least one in electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180. Software is implemented, the embodiment of such as process or function can with allow to perform the single of at least one function or operation Software module is implemented.Software code can be come by the software application (or program) write with any suitable programming language Implementing, software code can be stored in memorizer 160 and be performed by controller 180.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, will describe such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is as showing Example.Therefore, the present invention can be applied to any kind of mobile terminal, and is not limited to slide type mobile terminal.
With reference now to Fig. 2, to for illustrating that the network structure application scenarios of embodiment of the present invention technical scheme illustrates. In the network structure shown in Fig. 2, it is fixed to carry out including terminal 100, multiple WIFI access points 200 and multiple help terminal 100 The position location satellite 300 of position.It is understood that any number of satellite can be utilized to obtain the location useful for terminal 100 Information.GPS module 115 is generally configured to coordinate the location information wanted with acquisition with satellite 300 as shown in Figure 1.Replace For GPS tracking technique or outside GPS tracking technique, it is possible to use other technology of the position of mobile terminal can be followed the tracks of. It addition, at least one position location satellite 300 can optionally or additionally process satellite dmb transmission.
Based on above-mentioned mobile terminal hardware configuration and network structure, each embodiment of the inventive method is proposed.
Embodiment one
Seeing Fig. 3, it illustrates a kind of method opening terminal WIFI function that the embodiment of the present invention provides, the method can To include:
S310: terminal obtains the positional information being currently located;
It should be noted that the technical scheme of the embodiment of the present invention is during implementing, terminal can be every fixing Time period the positional information being currently located is obtained.Intelligent terminal is provided with GPS locating module at present, therefore, eventually End can be opened GPS locating module by section at every fixed time and position present terminal location.Can manage Xie Di, illustrates implementing of embodiment of the present invention technical scheme, this area to the being merely cited for property of locating module of support GPS Technical staff can will support other alignment systems without creative work, and the locating module such as BEI-DOU position system is applied to In the technical scheme of the embodiment of the present invention, this is not limited by the embodiment of the present invention.
The positional information being currently located is mated by S320: terminal with the positional information prestored;
It should be noted that in embodiments of the present invention, the positional information prestored is that terminal is at secure accessing WIFI before The positional information preserved during network, is used for representing that the WIFI network accessed at this positional information belongs to safe WIFI network, Such as user is in or the WIFI network that accessed by terminal during office space is safe, then terminal by user family or The positional information at place, person office space saves as default positional information.
Exemplarily, in order to obtain above-mentioned default positional information, see Fig. 4, obtain the position being currently located in terminal Before information, described method also includes S301 to S303:
S301: terminal is when being linked into WIFI network, and receiving position preserves instruction;
S302: terminal preserves instruction according to position and is marked by positional information when accessing WIFI;
Positional information after labelling is preserved by S303: terminal.
During implementing, WIFI can be accessed by the access point at interface by terminal when being linked into WIFI network While be correspondingly arranged confirmation frame control, as shown in the confirmation frame of Fig. 5, when user carries out selection operation to confirmation frame control, terminal After receiving selection operation, generate position and preserve instruction;Positional information corresponding for the control being selected is marked by terminal subsequently Note, the concrete mark pattern hook number confirmed in frame control as shown in Figure 6, and the positional information after labelling is preserved, Thus obtain the positional information prestored.
Further, when positional information after default positional information is labelling, correspondingly, terminal is by described current institute Positional information mate with the positional information prestored, specifically include:
Terminal travels through the positional information after described labelling, obtains the positional information traversed and work as with described in ergodic process Distance between the positional information at front place;
And, the distance between the positional information traversed and the positional information being currently located is less than the distance threshold preset During value, determine that the positional information being currently located mates with the positional information prestored.
It should be noted that mating between the positional information being currently located and the positional information traversed, the most all can go out Existing error, two positional informationes generally do not have identical, and therefore, the distance threshold preset just is used for characterizing matching process Error, in the present embodiment, distance threshold can be set to 10 meters, the error of the most above-mentioned matching process is 10 meters.
S330: when the positional information that terminal is currently located mates with the positional information prestored, terminal opens self WIFI function.
It is to be appreciated that after terminal opens the WIFI function of self, terminal can search for the most attachable WIFI net automatically Network, and connect the WIFI network searched, this is not repeated by the present embodiment.
Exemplarily, for the matching process of step S320, the position letter being currently located except the terminal described in S330 Beyond breath mates this matching result with the positional information prestored, it is also possible to including: the positional information that is currently located when terminal and When the positional information prestored does not mates, it is closed mode that terminal arranges self WIFI function.
It should be noted that owing to the embodiment of the present invention is for the technical scheme opening terminal WIFI function, therefore, eventually Holding before performing the technical scheme of the embodiment of the present invention, WIFI function is belonging to closed mode.If terminal is currently located Positional information does not mates with the positional information prestored, and that just illustrates that terminal, on the position being currently located, does not exist safety Access the history of WIFI network, therefore, it can assert that terminal present position is not that terminal security accesses WIFI network Position, so it is closed mode that terminal arranges self WIFI function;Further, when terminal is from the position mated with the positional information prestored The when of putting the positional information moving to and prestoring unmatched position, it can be assumed that terminal is by the position of secure accessing WIFI network Putting the position being moved to dangerous access WIFI network, now the WIFI function having turned on is closed by terminal, thus protects Demonstrate,prove terminal and access the safety of WIFI network.
Exemplarily, represent that terminal has going through of secure accessing WIFI network on this position due to default positional information History, but there will be this position current due to situations such as the WIFI access point of safety are not turned on, cause this position currently without WIFI access network, now, even if the positional information that terminal is currently located mates with the positional information preset, terminal still cannot It is linked into safe WIFI network.Carrying out in limited time so needing the WIFI network to terminal to access, therefore, this method can also be wrapped Include: when terminal is not linked into WIFI network within the default time period, and described terminal closes the WIFI function of self.In this reality Executing in example, the time period preset could be arranged to 10 minutes.
It should be noted that even if terminal closes the WIFI function of self by technique scheme, user is the most permissible The form being manually operated opens the WIFI function of terminal, and this is not repeated by the present embodiment.
Present embodiments providing a kind of method opening terminal WIFI function, the geographical position being presently in by terminal is come Determine whether terminal opens WIFI function, thus avoiding user to be manually operated so that terminal accesses the same of WIFI network Time, improve terminal and access the safety of WIFI network.
Embodiment two
Based on the technology design that previous embodiment is identical, seeing Fig. 7, the one that it illustrates the embodiment of the present invention provides is opened Open terminal WIFI function method implement flow process, this flow process may include that
S701: terminal connects each WIFI network connection entry in the page at the WLAN at operation interface and arranges correspondence really Recognize frame control;
Specifically, frame control is confirmed as shown in Figure 5.
S702: terminal, after being linked into WIFI network, receives user for the WIFI network connection strap purpose accessed Select operation;
Terminal, after receiving selection operation, is accessed by S703: terminal by calling set_gps_area_info function During WIFI network, the GPS information of position preserves, and the GPS letter of the WIFI that is masked as this GPS information being certainly dynamically connected Breath;
S704: when terminal turns again to this position, terminal obtains terminal present position by GPS module GPS information;
S705: terminal calls gps_compare_area_info function by GPS module, by terminal present position GPS information compare with the GPS information preserved: if both are inconsistent, then go to S706;If both are consistent, then go to S707;
Specifically, can be by the distance value between two GPS information be compared with the distance threshold preset;When two When distance value between individual GPS information is less than or equal to the distance threshold preset, determine that both are consistent;Otherwise, it determines both differ Cause.
The value of flag bit gps_area_flag is set to FLASE by S706: terminal, and calls gps_ by GPS module Send_area_flag interface function is by the WIFI module of flag bit gps_area_flag transmission to terminal;
The value of flag bit gps_area_flag is set to TRUE by S707: terminal, and calls gps_send_ by GPS module Area_flag interface function is by the WIFI module of flag bit gps_area_flag transmission to terminal;
It should be noted that the value of flag bit gps_area_flag is for controlling whether WIFI module opens terminal WIFI function.If the value of flag bit gps_area_flag is set to FLASE, represent that terminal present position is not step Position when terminal described in S703 accesses WIFI network, therefore, WIFI module is not turned on the WIFI function of terminal;If mark The value of will position gps_area_flag is set to TRUE and then represents that terminal present position is exactly that the terminal described in step S703 connects Position when entering WIFI network, therefore, WIFI module opens the WIFI function of terminal.
The value of the WIFI module determination flag position gps_area_flag of S708: terminal;If flag bit gps_area_flag Value be FALSE, then perform step S709;The value of institute flag bit gps_area_flag is TRUE, then perform step S710;
S709:WIFI module is not turned on the WIFI function of terminal;
S710:WIFI module open terminal WIFI function and WIFI module is carried out WIFI network connect carry out timing;
S711: when cannot connect to WIFI network in 10 minutes, then the WIFI function that WIFI module is closed a terminal;
S712: when being connected to WIFI network in 10 minutes, then terminal continues to obtain the GPS information of present position, and returns Step S705;
It should be noted that return step S705 so that when user leaves current location, GPS module compares now GPS information the most inconsistent with the GPS information preserved before, then can be to the flag bit gps_ that WLAN module sending value is FLASE area_flag.After WLAN module receives connection flag bit that GPS module sends over and is judged as FALSE, then can be by WIFI Function is closed, and from manually going closedown WIFI function without user, and avoids unnecessary power consumption.
Below by way of concrete application example, technique scheme is illustrated:
The GPS information in family is preserved for the GPS information automatically connecting WIFI before user.When user goes back home In, the GPS information of terminal judges current location is consistent with the GPS information of preservation, and terminal automatically opens up WIFI function.General and Speech, the WIFI access point of family always opens, and terminal can be from the upper WIFI network that is dynamically connected, and user can be convenient to use WIFI Online.But it is also possible that, the WIFI access point of family is not turned on, even if so that terminal opens WIFI function, also Cannot connect WIFI network, then terminal will have attempted to connect WIFI network within 10min.In the meantime, user Being entirely possible to open WIFI access point, if 10min goes over, user is not turned on WIFI access point, then may represent and use Family is not intended to use WIFI network, and therefore after 10min, terminal is no longer attempt to connect WIFI network.When user goes out from family, eventually End judges that GPS information changes, and inconsistent with the GPS information preserved before, and now terminal closes WIFI function.So user Just without manual-lock WIFI function, also will not be because of having forgotten closedown WIFI function, it is not intended in be connected to public WIFI network, draw Play information security to reveal and unnecessary power consumption.
Present embodiments provide a kind of method opening terminal WIFI function and implement flow process, be presently in by terminal Geographical position determine whether terminal opens WIFI function, thus avoiding user to be manually operated so that terminal accesses While WIFI network, improve terminal and access the safety of WIFI network.
Embodiment three
Based on the technology design that previous embodiment is identical, see Fig. 8, a kind of whole of embodiment of the present invention offer is provided The structure of end 80, terminal 80 may include that positioning unit 801, matching unit 802 and WIFI control unit 803;Wherein,
Described positioning unit 801, for obtaining the positional information that described terminal 80 is currently located;
Described matching unit 802, for mating the described positional information being currently located with the positional information prestored; And by matching result transmission to described WIFI control unit 803;
Described WIFI control unit 803, for the positional information and the described position prestored that are currently located when described terminal 80 When putting information matches, open the WIFI function of self.
In such scheme, seeing Fig. 9, terminal 80 also includes: receive unit 804, indexing unit 805 and storage unit 806;Wherein,
Described reception unit 804, for when being linked into WIFI network, receiving position preserves instruction;
Described indexing unit 805, is marked positional information when accessing WIFI for preserving instruction according to position;
Described storage unit 806, for preserving the positional information after labelling.
In such scheme, described matching unit 802, the positional information after traveling through described labelling, in ergodic process Distance between positional information and the described positional information being currently located that middle acquisition traverses;
Distance between the described positional information traversed and the described positional information being currently located less than preset away from When threshold value, determine described in the positional information that is currently located mate with the positional information prestored.
In such scheme, described WIFI control unit 803, it is additionally operable to the positional information when described terminal 80 is currently located When not mating with the described positional information prestored, arranging self WIFI function is closed mode.
In such scheme, see terminal 80 described in Fig. 9 and also include timing unit 807, for described WIFI control unit Carry out timing after 803 unlatching WIFI functions, and within the default time period, be not linked into WIFI network, close WIFI function.
Present embodiments providing a kind of terminal 80, the geographical position being presently in by terminal determines whether terminal opens WIFI function, thus while avoiding user to be manually operated so that terminal access WIFI network, improve terminal and access The safety of WIFI network.
It should be noted that in this article, term " includes ", " comprising " or its any other variant are intended to non-row Comprising of his property, so that include that the process of a series of key element, method, article or device not only include those key elements, and And also include other key elements being not expressly set out, or also include intrinsic for this process, method, article or device Key element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that including this The process of key element, method, article or device there is also other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive above-described embodiment side Method can add the mode of required general hardware platform by software and realize, naturally it is also possible to by hardware, but a lot of in the case of The former is more preferably embodiment.Based on such understanding, prior art is done by technical scheme the most in other words The part going out contribution can embody with the form of software product, and this computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions with so that station terminal 80 equipment (can be mobile phone, computer, Server, air-conditioner, or the network equipment etc.) perform the method described by each embodiment of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every utilize this Equivalent structure or equivalence flow process that bright description and accompanying drawing content are made convert, or are directly or indirectly used in other relevant skills Art field, is the most in like manner included in the scope of patent protection of the present invention.

Claims (10)

1. the method opening terminal wireless fidelity WIFI function, it is characterised in that described method includes:
Terminal obtains the positional information being currently located;
The described positional information being currently located is mated by described terminal with the positional information prestored;
When the positional information that described terminal is currently located mates with the described positional information prestored, described terminal opens self WIFI function.
Method the most according to claim 1, it is characterised in that before described terminal obtains the positional information being currently located, Described method also includes:
Described terminal is when being linked into WIFI network, and receiving position preserves instruction;
Described terminal preserves instruction according to position and is marked by positional information when accessing WIFI;
Positional information after labelling is preserved by described terminal.
Method the most according to claim 2, it is characterised in that described terminal by the described positional information being currently located with pre- The positional information deposited mates, and specifically includes:
Described terminal travels through the positional information after described labelling, obtains the positional information traversed and work as with described in ergodic process Distance between the positional information at front place;
Distance between the described positional information traversed and the described positional information being currently located is less than the distance threshold preset During value, determine described in the positional information that is currently located mate with the positional information prestored.
Method the most according to claim 1, it is characterised in that described method also includes:
When the positional information that described terminal is currently located does not mates with the described positional information prestored, described terminal arranges self WIFI function is closed mode.
Method the most according to claim 1, it is characterised in that after described terminal opens the WIFI function of self, described Method also includes:
When terminal is not linked into WIFI network within the default time period, and described terminal closes the WIFI function of self.
6. a terminal, it is characterised in that described terminal includes: positioning unit, matching unit and WIFI control unit;Wherein,
Described positioning unit, for obtaining the positional information that described terminal is currently located;
Described matching unit, for mating the described positional information being currently located with the positional information prestored;And general Join result transmission to described WIFI control unit;
Described WIFI control unit, mates with the described positional information prestored for the positional information being currently located when described terminal Time, open the WIFI function of self.
Terminal the most according to claim 6, it is characterised in that described terminal also includes: receive unit, indexing unit and guarantor Memory cell;Wherein,
Described reception unit, for when being linked into WIFI network, receiving position preserves instruction;
Described indexing unit, is marked positional information when accessing WIFI for preserving instruction according to position;
Described storage unit, for preserving the positional information after labelling.
Terminal the most according to claim 7, it is characterised in that described matching unit, the position after traveling through described labelling Confidence ceases, and obtains the distance between the positional information traversed and the described positional information being currently located in ergodic process;
Distance between the described positional information traversed and the described positional information being currently located is less than the distance threshold preset During value, determine described in the positional information that is currently located mate with the positional information prestored.
Terminal the most according to claim 6, it is characterised in that described WIFI control unit, is additionally operable to when described terminal is worked as When the positional information at front place does not mates with the described positional information prestored, arranging self WIFI function is closed mode.
Terminal the most according to claim 6, it is characterised in that described terminal also includes timing unit, for described WIFI Control unit carries out timing after opening WIFI function, and is not linked into WIFI network within the default time period, closes WIFI Function.
CN201610365577.1A 2016-05-26 2016-05-26 A kind of terminal and the method opening terminal wireless fidelity WIFI function Pending CN106101998A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610365577.1A CN106101998A (en) 2016-05-26 2016-05-26 A kind of terminal and the method opening terminal wireless fidelity WIFI function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610365577.1A CN106101998A (en) 2016-05-26 2016-05-26 A kind of terminal and the method opening terminal wireless fidelity WIFI function

Publications (1)

Publication Number Publication Date
CN106101998A true CN106101998A (en) 2016-11-09

Family

ID=57230194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610365577.1A Pending CN106101998A (en) 2016-05-26 2016-05-26 A kind of terminal and the method opening terminal wireless fidelity WIFI function

Country Status (1)

Country Link
CN (1) CN106101998A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108076501A (en) * 2018-01-24 2018-05-25 维沃移动通信有限公司 A kind of Wi-Fi network connection management method and mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102448187A (en) * 2011-10-29 2012-05-09 华为终端有限公司 Method and terminal capable of automatically accessing Wi-Fi (Wireless Fidelity) network
CN102907121A (en) * 2010-05-20 2013-01-30 At&T移动第二有限责任公司 WI-FI intelligent selection engine
CN105517142A (en) * 2014-09-24 2016-04-20 中兴通讯股份有限公司 WLAN positioning method, terminal, and WLAN access server
CN108476466A (en) * 2015-12-23 2018-08-31 三星电子株式会社 Scheme for executing data session via Wi-Fi accesses in a wireless communication system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102907121A (en) * 2010-05-20 2013-01-30 At&T移动第二有限责任公司 WI-FI intelligent selection engine
CN102448187A (en) * 2011-10-29 2012-05-09 华为终端有限公司 Method and terminal capable of automatically accessing Wi-Fi (Wireless Fidelity) network
CN105517142A (en) * 2014-09-24 2016-04-20 中兴通讯股份有限公司 WLAN positioning method, terminal, and WLAN access server
CN108476466A (en) * 2015-12-23 2018-08-31 三星电子株式会社 Scheme for executing data session via Wi-Fi accesses in a wireless communication system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108076501A (en) * 2018-01-24 2018-05-25 维沃移动通信有限公司 A kind of Wi-Fi network connection management method and mobile terminal

Similar Documents

Publication Publication Date Title
CN105100476A (en) Device and method for unlocking mobile terminal
CN105046131A (en) Fingerprint identification apparatus and method
CN106033570A (en) Mobile payment device and method
CN104793849A (en) Application icon display method and device
CN106304037A (en) The management method of virtual SIM card and device
CN104618605A (en) Mobile terminal positioning method and device
CN105208211A (en) Privacy protection device and method and mobile terminal
CN105095790A (en) Hidden object view method and device
CN105100475B (en) Information push-delivery apparatus and method
CN105892803A (en) Quick setting method for setting items and mobile terminal
CN105100428A (en) Linkman display method and system
CN105095708A (en) Unlocking method and device for mobile terminal
CN109033263A (en) A kind of application recommended method and terminal
CN104661095A (en) Audio and video data recommendation method and system
CN104780278B (en) Route generation method based on communication data and device
CN106028382A (en) NV (Nonvolatile Random Access Memory) parameter reading-writing device and method
CN105516471A (en) Display apparatus and display method for automatically-received information
CN104731508A (en) Audio playing method and device
CN104699805A (en) Music search method and music search device
CN105898736A (en) Mobile terminal and control method
CN105791588A (en) Mobile terminal desktop setting device and mobile terminal desktop setting method
CN105141825A (en) Heavenly body shooting method and device
CN105302441A (en) Screen size adjustment method and terminal device
CN107194243A (en) A kind of mobile terminal and the method for installing application program
CN105847515A (en) Visiting card obtaining method and system, and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161109