Nothing Special   »   [go: up one dir, main page]

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
terminal
position information
wifi
unit
information
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

Terminal and method for starting wireless fidelity (WIFI) function of terminal
Technical Field
The invention relates to the field of mobile communication, in particular to a terminal and a method for starting a WIreless FIdelity (WIFI) function of the terminal.
Background
Currently, all intelligent terminals support Wireless Local Area Network (WLAN) services, and more areas cover WLANs. When the user uses the WIFI function of the intelligent terminal, the WIFI function of the intelligent terminal is manually started through the operation interface, and then the user searches for the WIFI access point to access, so that the user is required to manually operate when accessing the WIFI network every time, and inconvenience in user operation is caused. And some users keep the WIFI function of the intelligent terminal in an open state, so that the intelligent terminal can automatically access to the WIFI network under the WIFI network environment. However, the intelligent terminal automatically accesses the WIFI network, so that the intelligent terminal is easily connected to a public or unsafe WIFI network, which causes an information security problem.
Disclosure of Invention
The invention mainly aims to provide a terminal and a method for starting a WIFI function of the terminal, and aims to improve the safety of the terminal accessing a WIFI network while the terminal is accessed to the WIFI network through manual operation by a user.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for starting a WIFI function of a terminal in a wireless fidelity mode, where the method includes:
the terminal acquires the current position information;
the terminal matches the current position information with prestored position information;
and when the current position information of the terminal is matched with the pre-stored position information, the terminal starts the WIFI function of the terminal.
In the above scheme, before the terminal acquires the current location information, the method further includes:
the method comprises the steps that when the terminal is accessed to a WIFI network, a position storage instruction is received;
the terminal marks the position information when accessing the WIFI according to the position storage instruction;
and the terminal stores the marked position information.
In the above scheme, the matching, by the terminal, the current location information with the pre-stored location information specifically includes:
the terminal traverses the marked position information and acquires the distance between the traversed position information and the current position information in the traversing process;
and when the distance between the traversed position information and the current position information is smaller than a preset distance threshold value, determining that the current position information is matched with the pre-stored position information.
In the above aspect, the method further includes:
and when the current position information of the terminal is not matched with the pre-stored position information, the terminal sets the self WIFI function to be in a closed state.
In the above scheme, after the terminal starts its WIFI function, the method further includes:
and when the terminal does not access the WIFI network within a preset time period, the terminal closes the WIFI function of the terminal.
In a second aspect, an embodiment of the present invention provides a terminal, where the terminal includes: the device comprises a positioning unit, a matching unit and a WIFI control unit; wherein,
the positioning unit is used for acquiring the current position information of the terminal;
the matching unit is used for matching the current position information with pre-stored position information; transmitting the matching result to the WIFI control unit;
and the WIFI control unit is used for starting the WIFI function of the terminal when the current position information of the terminal is matched with the pre-stored position information.
In the above scheme, the terminal further includes: a receiving unit, a marking unit and a saving unit; wherein,
the receiving unit is used for receiving a position storage instruction when accessing to the WIFI network;
the marking unit is used for marking the position information when the WIFI is accessed according to the position storage instruction;
and the storage unit is used for storing the marked position information.
In the above scheme, the matching unit is configured to traverse the marked position information, and obtain a distance between the traversed position information and the current position information in the traversing process;
and when the distance between the traversed position information and the current position information is smaller than a preset distance threshold value, determining that the current position information is matched with the pre-stored position information.
In the above scheme, the WIFI control unit is further configured to set the WIFI function of the terminal to be in an off state when the current location information of the terminal is not matched with the pre-stored location information.
In the above scheme, the terminal further includes a timing unit, which is used for timing after the WIFI control unit starts the WIFI function, and the terminal does not access the WIFI network within a preset time period and closes the WIFI function.
According to the terminal and the method for starting the WIFI function of the terminal, whether the WIFI function is started by the terminal is determined according to the current geographic position of the terminal, so that the safety of the terminal accessing the WIFI network is improved while the terminal is prevented from accessing the WIFI network through manual operation by a user.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an application scenario of a network structure according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a method for starting a WIFI function of a terminal according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a process of acquiring preset location information according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an interface display according to an embodiment of the present invention;
FIG. 6 is a schematic view of another interface display provided by the embodiments of the present invention;
fig. 7 is a schematic view of a specific implementation flow of a method for starting a WIFI function of a terminal according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to fig. 1. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a Personal Digital Assistant (PDA), a tablet computer (PAD), a Portable Multimedia Player (PMP), a navigation device, etc., and a stationary terminal such as a digital TV, a desktop computer, etc. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic hardware configuration of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 100 may include a wireless communication unit 110, a user input unit 130, an output unit 150, a memory 160, a controller 180, and a power supply unit 190, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented, and that more or fewer components may instead be implemented, the elements of the mobile terminal being described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include at least one of the wireless internet module 113 and the location information module 115.
The wireless internet module 113 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet access technology to which the module relates may include WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), and the like.
The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the position information module 115 is a Global Positioning System (GPS). According to the current technology, the GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. In addition, the GPS module 115 can calculate speed information by continuously calculating current position information in real time.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151 and the like.
The display unit 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve as an input device and an output device. The display unit 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. Depending on the particular desired implementation, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The memory 160 may store software programs and the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, and the like) that has been or will be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to this point, mobile terminals have been described in terms of their functionality. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
A network architecture application scenario for illustrating the technical solution of the embodiment of the present invention will now be described with reference to fig. 2. In the network structure shown in fig. 2, the terminal 100, the plurality of WIFI access points 200, and the plurality of positioning satellites 300 for assisting the terminal 100 in positioning are included. It can be appreciated that any number of satellites can be utilized to obtain useful positioning information for the terminal 100. The GPS module 115 as shown in fig. 1 is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one positioning satellite 300 may selectively or additionally process satellite DMB transmissions.
Based on the hardware structure and the network structure of the mobile terminal, the invention provides various embodiments of the method.
Example one
Referring to fig. 3, a method for turning on a WIFI function of a terminal according to an embodiment of the present invention is shown, where the method may include:
s310: the terminal acquires the current position information;
it should be noted that, in the specific implementation process of the technical solution of the embodiment of the present invention, the terminal may acquire the current location information at regular intervals. At present, all intelligent terminals are provided with GPS positioning modules, so that the terminals can position the current positions of the terminals by starting the GPS positioning modules at fixed time intervals. It can be understood that the positioning module supporting the GPS is only used to exemplarily illustrate specific implementations of the technical solutions of the embodiments of the present invention, and those skilled in the art can apply the positioning module supporting other positioning systems, such as the beidou positioning system, to the technical solutions of the embodiments of the present invention without creative efforts, which is not limited by the embodiments of the present invention.
S320: the terminal matches the current position information with the pre-stored position information;
it should be noted that, in the embodiment of the present invention, the pre-stored location information is location information that is stored by the terminal when the terminal accesses the WIFI network safely before, and is used to indicate that the WIFI network accessed by the location information belongs to the secure WIFI network, for example, when the user is at home or in an office, the WIFI network accessed by the terminal is safe, so that the terminal stores the location information of the user's home or in the office as the preset location information.
For example, in order to obtain the preset location information, referring to fig. 4, before the terminal acquires the current location information, the method further includes S301 to S303:
s301: the method comprises the steps that when a terminal is accessed to a WIFI network, a position storage instruction is received;
s302: the terminal marks the position information when accessing the WIFI according to the position storage instruction;
s303: and the terminal stores the marked position information.
In a specific implementation process, when the terminal is connected to the WIFI network, a confirmation box control is correspondingly arranged beside an access point of a WIFI access interface, as shown in a confirmation box of fig. 5, when a user selects the confirmation box control, the terminal generates a position saving instruction after receiving a selection operation; and then the terminal marks the position information corresponding to the selected control, the specific marking form is as the tick mark in the control of the confirmation box shown in fig. 6, and the marked position information is stored, so that the pre-stored position information is obtained.
Further, when the preset position information is the marked position information, correspondingly, the terminal matches the current position information with the pre-stored position information, specifically including:
traversing the marked position information by the terminal, and acquiring the distance between the traversed position information and the current position information in the traversing process;
and when the distance between the traversed position information and the current position information is smaller than a preset distance threshold value, determining that the current position information is matched with the pre-stored position information.
It should be noted that, errors generally occur in matching between the current location information and the traversed location information, and the two location information are generally not identical, so that the preset distance threshold is used to represent the errors in the matching process, in this embodiment, the distance threshold may be set to 10 meters, that is, the errors in the matching process are 10 meters.
S330: when the current position information of the terminal is matched with the pre-stored position information, the terminal starts the WIFI function of the terminal.
Therefore, after the terminal starts the WIFI function of itself, the terminal can automatically search for the connectable WIFI network around and connect to the searched WIFI network, which is not described in detail in this embodiment.
For example, for the matching process of step S320, in addition to the matching result that the location information where the terminal is currently located is matched with the pre-stored location information in S330, the matching process may further include: when the current position information of the terminal is not matched with the pre-stored position information, the terminal sets the self WIFI function to be in a closed state.
It should be noted that, because the embodiment of the present invention is directed to a technical scheme for starting a WIFI function of a terminal, before the terminal executes the technical scheme of the embodiment of the present invention, the WIFI function belongs to an off state. If the current position information of the terminal is not matched with the pre-stored position information, the fact that the terminal does not have a history of safe access to the WIFI network at the current position is indicated, therefore, the current position of the terminal can be determined to be not the position of the terminal which is safely accessed to the WIFI network, and the terminal sets the WIFI function of the terminal to be in a closed state; and when the terminal moves from the position matched with the pre-stored position information to the position unmatched with the pre-stored position information, the terminal can be determined to move from the position safely accessed to the WIFI network to the position unsafe to access to the WIFI network, and the terminal closes the started WIFI function, so that the safety of the terminal accessing to the WIFI network is ensured.
For example, the preset location information indicates that the terminal has a history of safely accessing the WIFI network at the location, but a situation that the current location has no WIFI access network at the current location due to the fact that the safe WIFI access point is not opened or the like may occur, and at this time, even if the current location information of the terminal is matched with the preset location information, the terminal still cannot access the safe WIFI network. Therefore, it is necessary to time-limit the WIFI network access of the terminal, and therefore, the method may further include: and when the terminal does not access the WIFI network within a preset time period, the terminal closes the WIFI function of the terminal. In the present embodiment, the preset time period may be set to 10 minutes.
It should be noted that, even if the terminal closes its WIFI function through the above technical solution, the user can still open the WIFI function of the terminal through a manual operation mode, which is not described in detail in this embodiment.
The embodiment provides a method for starting a WIFI function of a terminal, which determines whether the WIFI function is started by the terminal according to the current geographic position of the terminal, so that the safety of the terminal accessing the WIFI network is improved while the terminal is prevented from accessing the WIFI network through manual operation by a user.
Example two
Based on the same technical concept as that of the foregoing embodiment, referring to fig. 7, a specific implementation flow of the method for starting the WIFI function of the terminal provided by the embodiment of the present invention is shown, and the flow may include:
s701: the terminal sets a corresponding confirmation box control in each WIFI network connection item in a WLAN connection page of an operation interface;
specifically, the confirmation box control is as shown in FIG. 5.
S702: after the terminal is accessed to the WIFI network, receiving selection operation of a user for an accessed WIFI network connection item;
s703: after the terminal receives the selection operation, storing the GPS information of the position of the terminal when the terminal is accessed to the WIFI network by calling a set _ GPS _ area _ info function, and marking the GPS information as the GPS information capable of being automatically connected with the WIFI;
s704: when the terminal returns to the position again, the terminal acquires the GPS information of the current position of the terminal through the GPS module;
s705: the terminal calls a GPS _ compare _ area _ info function through a GPS module, and compares GPS information of the current location of the terminal with stored GPS information: if the two are not consistent, go to S706; if the two are consistent, go to S707;
specifically, the distance value between two pieces of GPS information may be compared with a preset distance threshold; when the distance value between the two pieces of GPS information is smaller than or equal to a preset distance threshold value, determining that the two pieces of GPS information are consistent; otherwise, determining that the two are inconsistent.
S706: the terminal sets the value of a flag GPS _ area _ flag to be FLASE, and calls a GPS _ send _ area _ flag interface function through a GPS module to transmit the flag GPS _ area _ flag to a WIFI module of the terminal;
s707: the terminal sets the value of a flag GPS _ area _ flag to TRUE, and calls a GPS _ send _ area _ flag interface function through a GPS module to transmit the flag GPS _ area _ flag to a WIFI module of the terminal;
it should be noted that the value of the flag gps _ area _ flag is used to control whether the WIFI module starts the WIFI function of the terminal. If the value of the flag gps _ area _ flag is set to FLASE, it indicates that the current location of the terminal is not the location of the terminal accessing the WIFI network in step S703, and therefore, the WIFI module does not start the WIFI function of the terminal; if the value of the flag gps _ area _ flag is set to TRUE, it indicates that the current location of the terminal is the location of the terminal when accessing the WIFI network in step S703, and therefore, the WIFI module starts the WIFI function of the terminal.
S708: a WIFI module of the terminal judges the value of a flag gps _ area _ flag; if the flag gps _ area _ flag is FALSE, step S709 is executed; if the value of the flag gps _ area _ flag is TRUE, go to step S710;
s709: the WIFI module does not start the WIFI function of the terminal;
s710: the WIFI module starts a WIFI function of the terminal and performs WIFI network connection on the WIFI module for timing;
s711: when the terminal cannot be connected to the WIFI network within 10 minutes, the WIFI module closes the WIFI function of the terminal;
s712: when the terminal is connected to the WIFI network within 10 minutes, the terminal continues to acquire the GPS information of the position where the terminal is located, and the step S705 is returned;
it should be noted that returning to step S705 may enable the GPS module to compare that the current GPS information is inconsistent with the previously stored GPS information when the user leaves the current location, and then send flag GPS _ area _ flag with flag value to the WLAN module. After the WLAN module receives the connection flag bit sent by the GPS module and judges the connection flag bit to be FALSE, the WIFI function is closed, so that a user does not need to manually close the WIFI function, and unnecessary power consumption is avoided.
The above technical solution is explained by specific application cases as follows:
the user has saved the GPS information in the home for the GPS information of automatic connection WIFI before. When the user returns home, the terminal judges that the GPS information of the current position is consistent with the stored GPS information, and the terminal automatically opens the WIFI function. Generally speaking, the WIFI access point in the home is always opened, the terminal can be automatically connected with the WIFI network, and a user can conveniently use the WIFI to surf the internet. However, it is also possible that the WIFI access point in the home is not turned on, so that the terminal cannot connect to the WIFI network even if the WIFI function is turned on, and thus the terminal will try to connect to the WIFI network within 10 min. During this period, the user may completely open the WIFI access point, and if the user does not open the WIFI access point in the past 10min, it may indicate that the user does not want to use the WIFI network, so the terminal does not try to connect to the WIFI network after 10 min. When the user goes out from home, the terminal judges that the GPS information changes and is inconsistent with the GPS information stored before, and the terminal closes the WIFI function at the moment. Therefore, a user does not need to manually close the WIFI function, and the user does not forget to close the WIFI function, and the user is not connected to a public WIFI network accidentally, so that information security is leaked and unnecessary power consumption is caused.
The embodiment provides a specific implementation flow of a method for starting a WIFI function of a terminal, which determines whether the WIFI function is started by the terminal according to the current geographic position of the terminal, so that the safety of the terminal accessing the WIFI network is improved while the terminal is prevented from accessing the WIFI network through manual operation by a user.
EXAMPLE III
Based on the same technical concept as the foregoing embodiment, referring to fig. 8, which illustrates a structure of a terminal 80 provided by an embodiment of the present invention, the terminal 80 may include: a positioning unit 801, a matching unit 802, and a WIFI control unit 803; wherein,
the positioning unit 801 is configured to obtain current location information of the terminal 80;
the matching unit 802 is configured to match the current location information with pre-stored location information; and transmits the matching result to the WIFI control unit 803;
the WIFI control unit 803 is configured to start a WIFI function of the terminal 80 when the current location information of the terminal is matched with the pre-stored location information.
In the above scheme, referring to fig. 9, the terminal 80 further includes: a receiving unit 804, a marking unit 805, and a holding unit 806; wherein,
the receiving unit 804 is configured to receive a location saving instruction when accessing to a WIFI network;
the marking unit 805 is configured to mark the location information when the WIFI is accessed according to the location saving instruction;
the storing unit 806 is configured to store the marked position information.
In the above solution, the matching unit 802 is configured to traverse the marked location information, and obtain a distance between the traversed location information and the current location information in the traversing process;
and when the distance between the traversed position information and the current position information is smaller than a preset distance threshold value, determining that the current position information is matched with the pre-stored position information.
In the above scheme, the WIFI control unit 803 is further configured to set the WIFI function of the terminal 80 to be in an off state when the current location information of the terminal is not matched with the pre-stored location information.
In the above scheme, the terminal 80 described with reference to fig. 9 further includes a timing unit 807, which is configured to time after the WIFI control unit 803 starts the WIFI function, and turn off the WIFI function if the WIFI control unit does not access the WIFI network within a preset time period.
The embodiment provides a terminal 80, which determines whether a WIFI function is started by the terminal according to the current geographic position of the terminal, so that when a user is prevented from accessing the WIFI network through manual operation, the security of accessing the terminal to the WIFI network is improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention essentially or contributing to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal 80 (which may be a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for starting a wireless fidelity (WIFI) function of a terminal is characterized by comprising the following steps:
the terminal acquires the current position information;
the terminal matches the current position information with prestored position information;
and when the current position information of the terminal is matched with the pre-stored position information, the terminal starts the WIFI function of the terminal.
2. The method of claim 1, wherein before the terminal acquires the current location information, the method further comprises:
the method comprises the steps that when the terminal is accessed to a WIFI network, a position storage instruction is received;
the terminal marks the position information when accessing the WIFI according to the position storage instruction;
and the terminal stores the marked position information.
3. The method according to claim 2, wherein the terminal matches the current location information with pre-stored location information, specifically comprising:
the terminal traverses the marked position information and acquires the distance between the traversed position information and the current position information in the traversing process;
and when the distance between the traversed position information and the current position information is smaller than a preset distance threshold value, determining that the current position information is matched with the pre-stored position information.
4. The method of claim 1, further comprising:
and when the current position information of the terminal is not matched with the pre-stored position information, the terminal sets the self WIFI function to be in a closed state.
5. The method of claim 1, wherein after the terminal turns on its WIFI function, the method further comprises:
and when the terminal does not access the WIFI network within a preset time period, the terminal closes the WIFI function of the terminal.
6. A terminal, characterized in that the terminal comprises: the device comprises a positioning unit, a matching unit and a WIFI control unit; wherein,
the positioning unit is used for acquiring the current position information of the terminal;
the matching unit is used for matching the current position information with pre-stored position information; transmitting the matching result to the WIFI control unit;
and the WIFI control unit is used for starting the WIFI function of the terminal when the current position information of the terminal is matched with the pre-stored position information.
7. The terminal of claim 6, further comprising: a receiving unit, a marking unit and a saving unit; wherein,
the receiving unit is used for receiving a position storage instruction when accessing to the WIFI network;
the marking unit is used for marking the position information when the WIFI is accessed according to the position storage instruction;
and the storage unit is used for storing the marked position information.
8. The terminal according to claim 7, wherein the matching unit is configured to traverse the marked location information, and obtain a distance between the traversed location information and the current location information in the traversing process;
and when the distance between the traversed position information and the current position information is smaller than a preset distance threshold value, determining that the current position information is matched with the pre-stored position information.
9. The terminal of claim 6, wherein the WIFI control unit is further configured to set a WIFI function of the terminal to be in an off state when the current location information of the terminal is not matched with the pre-stored location information.
10. The terminal of claim 6, further comprising a timing unit, wherein the timing unit is configured to time after the WIFI control unit starts the WIFI function, and turn off the WIFI function if the WIFI control unit does not access the WIFI network within a preset time period.
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
CN106603807B (en) Method for controlling controlled equipment by mobile terminal, mobile terminal and controlled equipment
CN107038074B (en) Memory optimization device and method based on association strategy
CN109388967B (en) Data processing method, terminal and computer readable storage medium
CN106130734A (en) The control method of mobile terminal and control device
CN106789575B (en) Information sending device and method
CN110109528B (en) Application program control method, mobile terminal and computer readable storage medium
CN106778176B (en) Information processing method and mobile terminal
CN106775402A (en) A kind of mobile terminal and its method for realizing control
CN106559789A (en) Focus sharing means, method and system
CN106909851A (en) A kind of secure storage method of data and device
CN104955023A (en) Mobile terminal and method for updating network parameters
US9185518B2 (en) Mobile terminal and controlling method thereof
CN105791541B (en) Screenshot method and mobile terminal
CN107133508B (en) Application management method and mobile terminal
CN106484534B (en) Control method and control device for displayed mobile terminal
CN107861808B (en) Terminal and method for cleaning background application program
CN105704331B (en) Application program recommendation method and system of mobile terminal
CN107220109B (en) Interface display method and equipment
CN106412877B (en) Activation method and activation device for mobile terminal SIM card
CN106534446B (en) Mobile terminal dialing device and method
CN105744508B (en) Game data backup method and mobile terminal
CN106101998A (en) A kind of terminal and the method opening terminal wireless fidelity WIFI function
CN106412831A (en) Positioning device and method for mobile terminal, mobile terminal and server
CN106453854B (en) Application sharing device and method
CN106231140B (en) Mobile terminal fota upgrade fault-tolerant device and method

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