CN106211051A - A kind of from being dynamically connected the method for WIFI hot spot, device and mobile terminal - Google Patents

A kind of from being dynamically connected the method for WIFI hot spot, device and mobile terminal Download PDF

Info

Publication number
CN106211051A
CN106211051A CN201610820937.2A CN201610820937A CN106211051A CN 106211051 A CN106211051 A CN 106211051A CN 201610820937 A CN201610820937 A CN 201610820937A CN 106211051 A CN106211051 A CN 106211051A
Authority
CN
China
Prior art keywords
wifi
hot spot
wifi hot
mac address
dynamically connected
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
CN201610820937.2A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610820937.2A priority Critical patent/CN106211051A/en
Publication of CN106211051A publication Critical patent/CN106211051A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Toxicology (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • General Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a kind of from being dynamically connected the method for WIFI hot spot, device and mobile terminal, by the MAC Address of WIFI hot spot and WIFI password are produced in NFC bar code, when mobile phone users needs to connect WIFI network, as long as by mobile scanning terminal this NFC bar code once with NFC function, just MAC Address and the WIFI password of WIFI hot spot can automatically be obtained, and the WIFI hot spot that the described MAC Address that can certainly be dynamically connected is corresponding, so that described WIFI password is verified and accesses WIFI network by described WIFI hot spot.Therefore, the present invention need not mobile phone users and is manually entered WIFI password and manually searches WIFI hot spot, just can certainly be dynamically connected WIFI network as long as scanning NFC bar code, thus brings great convenience to mobile phone users networking.

Description

A kind of from being dynamically connected the method for WIFI hot spot, device and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, particularly relate to a kind of from be dynamically connected the method for WIFI hot spot, device and Mobile terminal.
Background technology
In the prior art, the most a lot of StoreFront clients for convenience surf the Net in shop, are the most all provided with WIFI hot spot, And businessman can write WIFI password and the WIFI hot spot title connecting WIFI hot spot in obvious place.But, connect WIFI hot spot needs user manually add WIFI hot spot and be manually entered WIFI password to verify, this brings pole to client Big inconvenience.
Therefore, it is necessary to a kind of new technical scheme is proposed, to solve above-mentioned technical problem.
Summary of the invention
In view of this, it is an object of the invention to provide a kind of be certainly the dynamically connected method of WIFI hot spot, device and movement whole End, it is intended to solve the connection WIFI hot spot that prior art exists, need user manually add WIFI hot spot and be manually entered WIFI password is to verify, this brings the most inconvenient problem to client.
For solving above-mentioned technical problem, embodiments provide techniques below scheme:
Embodiments provide a kind of method from the WIFI hot spot that is dynamically connected, the described side from the WIFI hot spot that is dynamically connected Method, comprises the following steps:
Open mobile terminal NFC function;
Scanning NFC bar code, to obtain MAC Address and the WIFI password of WIFI hot spot;Wherein, described NFC bar code includes The MAC Address of WIFI hot spot and WIFI password;
MAC Address according to described WIFI hot spot and WIFI password, generate WIFI link order;Wherein, described WIFI Link order carries MAC Address and the WIFI password of described WIFI hot spot;
Certainly the WIFI hot spot that the described MAC Address that is dynamically connected according to described WIFI link order is corresponding, so that described WIFI is warm Described WIFI password is verified and accesses WIFI network by point.
For solving above-mentioned technical problem, the embodiment of the present invention additionally provides techniques below scheme:
The embodiment of the present invention additionally provides a kind of device from the WIFI hot spot that is dynamically connected, described from being dynamically connected WIFI hot spot Device, including:
NFC opening module, is used for opening mobile terminal NFC function;
NFC read module, is used for scanning NFC bar code, to obtain MAC Address and the WIFI password of WIFI hot spot;Wherein, Described NFC bar code includes MAC Address and the WIFI password of WIFI hot spot;
Link order generation module, for the MAC Address according to described WIFI hot spot and WIFI password, generates WIFI even Connect instruction;Wherein, described WIFI link order carries MAC Address and the WIFI password of described WIFI hot spot;
WIFI link block, for hot from the WIFI that the described MAC Address that is dynamically connected is corresponding according to described WIFI link order Point, so that described WIFI password is verified and accesses WIFI network by described WIFI hot spot.
For solving above-mentioned technical problem, the embodiment of the present invention additionally provides techniques below scheme:
The embodiment of the present invention additionally provides a kind of mobile terminal, and described mobile terminal includes memorizer and processor, described Memorizer storage has the executable instruction of processor, and described processor is for performing the instruction in described memorizer, described instruction Operate as follows for performing:
Open mobile terminal NFC function;
Scanning NFC bar code, to obtain MAC Address and the WIFI password of WIFI hot spot;Wherein, described NFC bar code includes The MAC Address of WIFI hot spot and WIFI password;
MAC Address according to described WIFI hot spot and WIFI password, generate WIFI link order;Wherein, described WIFI Link order carries MAC Address and the WIFI password of described WIFI hot spot;
Certainly the WIFI hot spot that the described MAC Address that is dynamically connected according to described WIFI link order is corresponding, so that described WIFI is warm Described WIFI password is verified and accesses WIFI network by point.
Relative to prior art, the method for the WIFI hot spot that is certainly dynamically connected, device and the mobile terminal that the present invention provides, pass through MAC Address and the WIFI password of WIFI hot spot are produced in NFC bar code, when mobile phone users needs to connect WIFI network Time, as long as by mobile scanning terminal this NFC bar code once with NFC function, just can automatically obtain the MAC ground of WIFI hot spot Location and WIFI password, and the WIFI hot spot that the described MAC Address that can certainly be dynamically connected is corresponding, so that described WIFI hot spot is to described WIFI password carries out verifying and accessing WIFI network.Therefore, the present invention need not mobile phone users and is manually entered WIFI password And manually search WIFI hot spot, just can certainly be dynamically connected WIFI network as long as scanning NFC bar code, thus give used for mobile terminal Family networking brings great convenience.
Accompanying drawing explanation
Fig. 1 be the embodiment of the present invention one provide the WIFI hot spot that is certainly dynamically connected method realize schematic flow sheet.
Fig. 2 be the embodiment of the present invention two provide the WIFI hot spot that is certainly dynamically connected method realize schematic flow sheet.
Fig. 3 is the applied environment schematic diagram that the embodiment of the present invention provides.
Fig. 4 is the module diagram of the device of the WIFI hot spot that is certainly dynamically connected that the embodiment of the present invention three provides.
Fig. 5 is the detailed module diagram of the device of the WIFI hot spot that is certainly dynamically connected that the embodiment of the present invention provides.
Fig. 6 is the structural representation of the mobile terminal that the embodiment of the present invention provides.
Detailed description of the invention
Refer in accompanying drawing is graphic, and the most identical element numbers represents identical assembly, the principle of the present invention be with It is implemented in a suitable computing environment illustrating.The following description is based on the exemplified present invention being embodied as Example, it is not construed as limiting other specific embodiment that the present invention is the most detailed herein.
The principle of the invention illustrates with above-mentioned word, and it is not represented as a kind of restriction, and those skilled in the art can The plurality of step and the operation that solve the following stated also may be implemented in the middle of hardware.The principle of the present invention uses other wide usages many Or specific purpose computing, communication environment or configuration operate.
Embodiment one
Refer to Fig. 1, the method showing the WIFI hot spot that is certainly dynamically connected that the embodiment of the present invention provides.
Described it is applied in mobile terminal from being dynamically connected the method for WIFI hot spot, specifically includes following steps:
In step S101, open mobile terminal NFC function;
In embodiments of the present invention, in advance MAC Address and the WIFI password of WIFI hot spot are produced in NFC bar code. When mobile phone users needs to connect WIFI network, as long as opening mobile terminal NFC function, by having the shifting of NFC function Dynamic terminal scanning this NFC bar code once, the WIFI hot spot that the described MAC Address that just can certainly be dynamically connected is corresponding, so that described WIFI is warm Described WIFI password is verified and accesses WIFI network by point.
It is understood, however, that user can be with manually opened mobile terminal NFC function, or mobile terminal is automatic Open mobile terminal NFC function.The specific implementation that mobile terminal automatically turns on mobile terminal NFC function is as follows:
1, whether detection current environment has WIFI signal.
2 if be detected that current environment has WIFI signal, then generate NFC function open command.Without detecting WIFI signal, then be not turned on mobile terminal NFC function.
3, according to described NFC function open command, mobile terminal NFC function is opened.
As one embodiment of the present invention, whether detection current environment has WIFI signal, if be detected that current environment There is WIFI signal, and (illustrate that this WIFI signal intensity is suitable for logical when this WIFI signal intensity is more than the signal strength values preset Letter), then just trigger and generate NFC function open command, according to described NFC function open command, open mobile terminal NFC merit Energy.Otherwise, mobile terminal NFC function it is not turned on.
As another preferred embodiment of the present invention, after the step of described unlatching mobile terminal NFC function, also include: Prompting mobile terminal scanning input NFC bar code.Prompting mobile terminal scanning input NFC bar can be carried out by the form of voice broadcast Code.Or, eject prompting frame and carry out prompting mobile terminal scanning input NFC bar code.However it is not limited to such scheme.
In step s 102, NFC bar code is scanned, to obtain MAC Address and the WIFI password of WIFI hot spot;Wherein, institute State NFC bar code and include MAC Address and the WIFI password of WIFI hot spot;
In embodiments of the present invention, scan NFC bar code by having the NFC module for reading and writing of the mobile terminal of NFC function, To obtain MAC Address and the WIFI password of WIFI hot spot.
In step s 103, according to MAC Address and the WIFI password of described WIFI hot spot, generate WIFI link order; Wherein, described WIFI link order carries MAC Address and the WIFI password of described WIFI hot spot;
In embodiments of the present invention, according to MAC Address and the WIFI password of described WIFI hot spot, generate WIFI connection and refer to The step of order, specifically includes:
MAC Address according to described WIFI hot spot and WIFI password, the parameter that configuration WIFI hot spot is corresponding;According to WIFI The parameter that focus is corresponding, generates WIFI link order.
In step S104, the WIFI hot spot that the described MAC Address that is certainly dynamically connected according to described WIFI link order is corresponding, with Make described WIFI hot spot that described WIFI password to be verified and to access WIFI network.
As another preferred embodiment of the present invention, it is transmitted data to not affect mobile phone users, i.e. works as WIFI When network is not enough to support transmission data, then switch to WIFI network be transmitted data under data network.According to institute State WIFI link order after the step of WIFI hot spot corresponding to described MAC Address that be dynamically connected, also include:
A, detection mobile terminal are currently the need of transmission data;
B if be detected that need to transmit data, then obtains the signal intensity of described WIFI hot spot;
C, described signal intensity is compared with predetermined threshold value;
D, when described signal intensity less than predetermined threshold value time, then current WIFI network is switched to data network.
From the foregoing, it will be observed that the method for the WIFI hot spot that is certainly dynamically connected of the present embodiment one offer, by by the MAC ground of WIFI hot spot Location and WIFI password are produced in NFC bar code, when mobile phone users needs to connect WIFI network, as long as by having The mobile scanning terminal of NFC function this NFC bar code once, just can obtain MAC Address and the WIFI password of WIFI hot spot automatically, And the WIFI hot spot that the described MAC Address that can certainly be dynamically connected is corresponding, so that described WIFI password is tested by described WIFI hot spot Demonstrate,prove and access WIFI network.Therefore, the present embodiment one need not mobile phone users and is manually entered WIFI password and manually looks into Looking for WIFI hot spot, just can certainly be dynamically connected WIFI network as long as scanning NFC bar code, thus bring to mobile phone users networking Greatly facilitate.
Embodiment two
See also Fig. 2 and Fig. 3, the method showing the WIFI hot spot that is certainly dynamically connected that the embodiment of the present invention two provides, It is implemented as follows:
In step s 201, in advance MAC Address and the WIFI password of WIFI hot spot are produced in NFC bar code.
In step S202, whether mobile phone detection current environment has WIFI signal.
Wherein, for scanning the class of Wi-Fi hotspot in calling mobile phone, to obtain attachable Wi-Fi hotspot, implement as Under:
WIFI_STATE_ will be received to Android registration when that WifiSettings and WifiEnabler creating CHANGED_ACTION, therefore they can receive this Intent of WIFI_STATE_CHANGED_ACTION, WifiEnabler is responsible for so that icon highlights, and WifiSettings is responsible for so that opening scanning Wi-Fi hotspot.Via The startScan of WifiService, then pass through JNI by android_net_wifi_scanCommand function to wpa_ Supplicant sends scan command. and after wpa_supplicant has processed SCAN order, it can send thing to controlling passage Part notice scanning completes, thus wifi_wait_for_event function can receive this event, thus in WifiMonitor MonitorThread can be executed to process and connect scanning result event.This thread broadcasts SCAN_ by WifiStateTracker This Intent of RESULTS_AVAILABLE_ACTION.And WifiSettings have registered this Intent of reception, finally by it Respective function updateAccessPoints is by Wi-Fi hotspot list, with GUI (Graphical User Interface, figure User interface) form list.
In step S203, if be detected that current environment has WIFI signal, then generate NFC function open command.
In step S204, according to described NFC function open command, starting hand-set NFC function.
In step S205, mobile phone passes through voice broadcast form prompting mobile telephone set scanning input NFC bar code.
In step S206, communicated with NFC bar code by mobile phone NFC antenna coil, to obtain the MAC of WIFI hot spot Address and WIFI password.
In step S207, mobile phone according to the MAC Address of described WIFI hot spot and WIFI password, configurating mobile end The parameter that WIFI hot spot is corresponding.
In step S208, according to the parameter that WIFI hot spot is corresponding, generate WIFI link order.
After having configured the parameter that WIFI hot spot is corresponding, onClick function can be called.
In step S209, the WIFI hot spot that the described MAC Address that is certainly dynamically connected according to described WIFI link order is corresponding.
Wherein, the connect function response of Settings connects, and updates network and preserves configuration, updates and arranges current selection Priority the highest, and preserve.Then other networks are made to should not be used to be attached by enableNetwork.Finally adjust The network currently selected with the reconnect functional link of WifiManager.The reconnect function of WifiManager passes through The Binder mechanism of AIDL, calls the reconnect function of WifiService.Then WifiStateTracker can be called ReconnectCommand function, by the android_net_wifi_ of JNI (android_net_wifi_Wifi) ReconnectCommand function sends RECONNECT order to WPA_WPASUPPLICANT.android_net_wifi_ Wifi calls the wifi_command function in wifi.c by doCommand (command name, response buffering, response buffer size) Send order.Wpa_ctrl_request function finally by wpa_ctrl sends bind command to controlling passage.
In step S210, after described WIFI hot spot receives WIFI link order, described WIFI password is verified, If be proved to be successful, then mobile phone is set up with WIFI hot spot and be connected, so that mobile phone accesses WIFI network.
From the foregoing, it will be observed that the method for the WIFI hot spot that is certainly dynamically connected of the present embodiment two offer, by by the MAC ground of WIFI hot spot Location and WIFI password are produced in NFC bar code, when mobile phone detects that current environment has WIFI signal, then trigger starting hand-set NFC function, then prompting this NFC bar code of scanning input.As long as user once should by having the mobile scanning terminal of NFC function NFC bar code, just can obtain MAC Address and the WIFI password of WIFI hot spot, and the described MAC Address pair that can certainly be dynamically connected automatically The WIFI hot spot answered, so that described WIFI password is verified and accesses WIFI network by described WIFI hot spot.Therefore, this enforcement Example two need not mobile phone users and is manually entered WIFI password and manually searches WIFI hot spot, as long as scanning NFC bar Code just can be dynamically connected WIFI network certainly, thus brings great convenience to mobile phone users networking.
Embodiment three
See also Fig. 4 and Fig. 5, for the module of device of the WIFI hot spot that is certainly dynamically connected that the embodiment of the present invention three provides Schematic diagram;For convenience of description, illustrate only the part relevant to the embodiment of the present invention.The described dress from the WIFI hot spot that is dynamically connected Put and include: NFC opening module 101, NFC read module 102, link order generation module 103, WIFI link block 104.Described Can be software unit, hardware cell or the software and hardware knot being built in mobile terminal from the device of the WIFI hot spot that is dynamically connected The unit closed.
NFC opening module 101, is used for opening mobile terminal NFC function;
NFC read module 102, is used for scanning NFC bar code, to obtain MAC Address and the WIFI password of WIFI hot spot;Its In, described NFC bar code includes MAC Address and the WIFI password of WIFI hot spot;
Link order generation module 103, for the MAC Address according to described WIFI hot spot and WIFI password, generates WIFI link order;Wherein, described WIFI link order carries MAC Address and the WIFI password of described WIFI hot spot;
WIFI link block 104, for the WIFI that the described MAC Address that is certainly dynamically connected according to described WIFI link order is corresponding Focus, so that described WIFI password is verified and accesses WIFI network by described WIFI hot spot.
As one embodiment of the present invention, the described device from the WIFI hot spot that is dynamically connected, also include: WIFI signal detects Module 105, open command generation module 106.
Described WIFI signal detection module 105, is used for detecting whether current environment has WIFI signal.
Described open command generation module 106, for if be detected that current environment has WIFI signal, then generates NFC merit Can open command.
Described NFC opening module 101, specifically for according to described NFC function open command, opens mobile terminal NFC merit Energy.
Further, as another preferred embodiment of the present invention, the described device from the WIFI hot spot that is dynamically connected, also include: Reminding module 107.
Reminding module 107, is used for after opening mobile terminal NFC function, prompting mobile terminal scanning input NFC bar Code.
In embodiments of the present invention, described link order generation module 103, specifically include: parameter configuration module 1031, WIFI link order generation module 1032.
Described parameter configuration module 1031, for the MAC Address according to described WIFI hot spot and WIFI password, configuration The parameter that WIFI hot spot is corresponding.
Described WIFI link order generation module 1032, for the parameter corresponding according to WIFI hot spot, generates WIFI and connects Instruction.
As another preferred embodiment of the present invention, the described device from the WIFI hot spot that is dynamically connected, also include: data transmission inspection Survey module 108, signal intensity acquisition module 109, signal intensity compare module 111, network handover module 112.
Data transmission detection module 108, is used for detecting mobile terminal currently the need of transmission data;
Signal intensity acquisition module 109, for if be detected that need to transmit data, then obtaining the letter of described WIFI hot spot Number intensity;
Signal intensity compares module 111, for being compared with predetermined threshold value by described signal intensity;
Network handover module 112, for when described signal intensity is less than predetermined threshold value, then switching current WIFI network To data network.
From the foregoing, it will be observed that the device of the WIFI hot spot that is certainly dynamically connected of the present embodiment three offer, by by the MAC ground of WIFI hot spot Location and WIFI password are produced in NFC bar code, when mobile phone users needs to connect WIFI network, as long as by having The mobile scanning terminal of NFC function this NFC bar code once, just can obtain MAC Address and the WIFI password of WIFI hot spot automatically, And the WIFI hot spot that the described MAC Address that can certainly be dynamically connected is corresponding, so that described WIFI password is tested by described WIFI hot spot Demonstrate,prove and access WIFI network.Therefore, the present embodiment three need not mobile phone users and is manually entered WIFI password and manually looks into Looking for WIFI hot spot, just can certainly be dynamically connected WIFI network as long as scanning NFC bar code, thus bring to mobile phone users networking Greatly facilitate.
The method and device of the WIFI hot spot that is certainly dynamically connected that the embodiment of the present invention provides belongs to same design, and it implements Process refers to description in full, and here is omitted.
Embodiment four
Fig. 6 shows the concrete structure block diagram of the mobile terminal that the embodiment of the present invention five provides, and this mobile terminal can be used In the method, device implementing the WIFI hot spot that is certainly dynamically connected provided in above-described embodiment.This mobile terminal 1200 can be intelligence Mobile phone or panel computer.
As shown in Figure 6, mobile terminal 1200 can include RF (Radio Frequency, radio frequency) circuit 110, include One or more (only illustrating one in figure) memorizeies 120 of computer-readable recording medium, input block 130, display Unit 140, sensor 150, voicefrequency circuit 160, transport module 170, include one or more than one (only illustrates one in figure Individual) process the parts such as the processor 180 of core and power supply 190.It will be understood by those skilled in the art that the shifting shown in Fig. 6 Dynamic terminal 1200 structure is not intended that the restriction to mobile terminal 1200, can include that ratio illustrates more or less of parts, or Person combines some parts, or different parts are arranged.Wherein:
RF circuit 110 is used for receiving and sending electromagnetic wave, it is achieved electromagnetic wave is changed with the mutual of the signal of telecommunication, thus with logical News network or other equipment carry out communication.RF circuit 110 can include the various existing circuit elements for performing these functions Part, such as, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module (SIM) block, store Device etc..RF circuit 110 can carry out communication or by wireless with various networks such as the Internet, intranet, wireless network Network and other equipment carry out communication.Above-mentioned wireless network can include cellular telephone networks, WLAN or Metropolitan Area Network (MAN). Above-mentioned wireless network can use various communication standard, agreement and technology, includes, but are not limited to global system for mobile communications (Global System for Mobile Communication, GSM), enhancement mode mobile communication technology (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (Wideband Code Division Multiple Access, WCDMA), CDMA (Code Division Access, CDMA), tdma (Time Division Multiple Access, TDMA), adopting wireless fidelity technology (Wireless Fidelity, Wi-Fi) is (such as U.S.'s electricity Gas and Electronic Engineering Association's standard IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n), The networking telephone (Voice over Internet Protocol, VoIP), worldwide interoperability for microwave access (Worldwide Interoperability for Microwave Access, Wi-Max), other are for mail, instant messaging and short message Agreement, and any other suitable communications protocol, even can include those agreements being developed the most not yet.
Memorizer 120 can be used for storing software program and module, such as the WIFI hot spot that is certainly dynamically connected in above-described embodiment Programmed instruction/module that method, device is corresponding, processor 180 by operation be stored in the software program in memorizer 120 and Module, thus perform the application of various function and data process, i.e. realize the function from the WIFI hot spot that is dynamically connected.Memorizer 120 High speed random access memory can be included, may also include nonvolatile memory, as one or more magnetic storage device, flash memory, Or other non-volatile solid state memories.In some instances, memorizer 120 can farther include relative to processor 180 Remotely located memorizer, these remote memories can be connected to mobile terminal 1200 by network.The example of above-mentioned network Include but not limited to the Internet, intranet, LAN, mobile radio communication and combinations thereof.
Input block 130 can be used for receiving numeral or the character information of input, and produces and user setup and function Control relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Specifically, input block 130 can include touching Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touches display screen or Trackpad, can collect use Family thereon or neighbouring touch operation (such as user uses any applicable object such as finger, stylus or adnexa at touch-sensitive table Operation on face 131 or near Touch sensitive surface 131), and drive corresponding attachment means according to formula set in advance.Optional , Touch sensitive surface 131 can include touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch controller is from touch Receive touch information on detection device, and be converted into contact coordinate, then give processor 180, and processor 180 can be received The order sent also is performed.Furthermore, it is possible to use the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave Realize Touch sensitive surface 131.Except Touch sensitive surface 131, input block 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but not limited to physical keyboard, function key (such as volume control button, switch key etc.), One or more in trace ball, mouse, action bars etc..
Display unit 140 can be used for showing the information inputted by user or the information being supplied to user and mobile terminal The various graphical user interface of 1200, these graphical user interface can be by figure, text, icon, video and its combination in any Constitute.Display unit 140 can include display floater 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal display), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) comes Configuration display floater 141.Further, Touch sensitive surface 131 can cover display floater 141, when Touch sensitive surface 131 detects at it On or near touch operation after, send processor 180 to determine the type of touch event, with preprocessor 180 according to touching The type touching event provides corresponding visual output on display floater 141.Although in figure 6, Touch sensitive surface 131 and display surface Plate 141 is to realize input and input function as two independent parts, but in some embodiments it is possible to by touch-sensitive table Face 131 is integrated with display floater 141 and realizes input and output function.
Mobile terminal 1200 may also include at least one sensor 150, such as optical sensor, motion sensor and other Sensor.Specifically, optical sensor can include ambient light sensor and proximity transducer, and wherein, ambient light sensor can basis The light and shade of ambient light regulates the brightness of display floater 141, proximity transducer can when mobile terminal 1200 moves in one's ear, Close display floater 141 and/or backlight.As the one of motion sensor, Gravity accelerometer can detect all directions The size of upper (generally three axles) acceleration, can detect that size and the direction of gravity time static, can be used for identifying mobile phone attitude Application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, strikes Hit) etc.;The gyroscope that can also configure as mobile terminal 1200, barometer, drimeter, thermometer, infrared ray sensor etc. its His sensor, does not repeats them here.
Voicefrequency circuit 160, speaker 161, microphone 162 can provide the audio frequency between user and mobile terminal 1200 to connect Mouthful.The signal of telecommunication after the voice data conversion that voicefrequency circuit 160 can will receive, is transferred to speaker 161, by speaker 161 Be converted to acoustical signal output;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone 162, by voicefrequency circuit 160 receive after be converted to voice data, then after being processed by voice data output processor 180, through RF circuit 110 to be sent to ratio Such as another terminal, or voice data is exported to memorizer 120 to process further.Voicefrequency circuit 160 is also possible that Earphone jack, to provide the communication of peripheral hardware earphone and mobile terminal 1200.
Mobile terminal 1200 can help user to send and receive e-mail by transport module 170 (such as Wi-Fi module), clear Looking at webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 6 shows transmission mould Block 170, but it is understood that, it is also not belonging to must be configured into of mobile terminal 1200, completely can be as required not Omit in the scope of the essence changing invention.
Processor 180 is the control centre of mobile terminal 1200, utilizes each of various interface and the whole mobile phone of connection Individual part, is stored in the software program in memorizer 120 and/or module by running or performing, and calls and be stored in storage Data in device 120, perform the various functions of mobile terminal 1200 and process data, thus mobile phone is carried out integral monitoring.Can Choosing, processor 180 can include one or more process core;Preferably, processor 180 can integrated application processor and modulation Demodulation processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modulation /demodulation processes Device mainly processes radio communication.It is understood that above-mentioned modem processor can not also be integrated in processor 180.
Mobile terminal 1200 also includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can lead to Cross power-supply management system logically contiguous with processor 180, thus by power-supply management system realize management charging, electric discharge and The functions such as power managed.Power supply 190 can also include one or more direct current or alternating current power supply, recharging system, electricity Source failure detector circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, mobile terminal 1200 can also include photographic head, bluetooth module etc., does not repeats them here.Specifically In the present embodiment, the display unit of mobile terminal is touch-screen display, and mobile terminal also includes memorizer, and one Or more than one program, one of them or more than one program is stored in memorizer, and be configured to by one or More than one processor of person performs to state one or more than one program comprises the instruction for carrying out following operation:
Open mobile terminal NFC function;
Scanning NFC bar code, to obtain MAC Address and the WIFI password of WIFI hot spot;Wherein, described NFC bar code includes The MAC Address of WIFI hot spot and WIFI password;
MAC Address according to described WIFI hot spot and WIFI password, generate WIFI link order;Wherein, described WIFI Link order carries MAC Address and the WIFI password of described WIFI hot spot;
Certainly the WIFI hot spot that the described MAC Address that is dynamically connected according to described WIFI link order is corresponding, so that described WIFI is warm Described WIFI password is verified and accesses WIFI network by point.
The mobile terminal that the embodiment of the present invention provides can be applied in the embodiment of the method one of aforementioned correspondence, and details see The description of above-described embodiment one, does not repeats them here.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completing instructing relevant hardware by program, this program can be stored in a computer-readable recording medium, storage Medium may include that read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
In sum, although the present invention is disclosed above with preferred embodiment, but above preferred embodiment and be not used to limit The present invention processed, those of ordinary skill in the art, without departing from the spirit and scope of the present invention, all can make various change and profit Decorations, therefore protection scope of the present invention defines in the range of standard with claim.

Claims (11)

1. one kind from being dynamically connected the method for WIFI hot spot, it is characterised in that the described method from the WIFI hot spot that is dynamically connected, including with Lower step:
Open mobile terminal NFC function;
Scanning NFC bar code, to obtain MAC Address and the WIFI password of WIFI hot spot;Wherein, described NFC bar code includes WIFI The MAC Address of focus and WIFI password;
MAC Address according to described WIFI hot spot and WIFI password, generate WIFI link order;Wherein, described WIFI connects Instruction carries MAC Address and the WIFI password of described WIFI hot spot;
Certainly the WIFI hot spot that the described MAC Address that is dynamically connected according to described WIFI link order is corresponding, so that described WIFI hot spot pair Described WIFI password carries out verifying and accessing WIFI network.
2. the method from the WIFI hot spot that is dynamically connected as claimed in claim 1, it is characterised in that at described unlatching mobile terminal Before the step of NFC function, also include:
Whether detection current environment has WIFI signal;
If be detected that current environment has WIFI signal, then generate NFC function open command;
Open the step of mobile terminal NFC function, specifically include:
According to described NFC function open command, open mobile terminal NFC function.
3. the method from the WIFI hot spot that is dynamically connected as claimed in claim 1, it is characterised in that at described unlatching mobile terminal After the step of NFC function, also include:
Prompting mobile terminal scanning input NFC bar code.
4. the method from the WIFI hot spot that is dynamically connected as claimed in claim 1, it is characterised in that according to described WIFI hot spot MAC Address and WIFI password, generate the step of WIFI link order, specifically include:
MAC Address according to described WIFI hot spot and WIFI password, the parameter that configuration WIFI hot spot is corresponding;
According to the parameter that WIFI hot spot is corresponding, generate WIFI link order.
5. the method from the WIFI hot spot that is dynamically connected as claimed in claim 1, it is characterised in that refer to connecting according to described WIFI After making the step of the WIFI hot spot that the described MAC Address that is certainly dynamically connected is corresponding, also include:
Detection mobile terminal is currently the need of transmission data;
If be detected that need to transmit data, then obtain the signal intensity of described WIFI hot spot;
Described signal intensity is compared with predetermined threshold value;
When described signal intensity is less than predetermined threshold value, then current WIFI network is switched to data network.
6. the device from the WIFI hot spot that is dynamically connected, it is characterised in that the described device from the WIFI hot spot that is dynamically connected, including:
NFC opening module, is used for opening mobile terminal NFC function;
NFC read module, is used for scanning NFC bar code, to obtain MAC Address and the WIFI password of WIFI hot spot;Wherein, described NFC bar code includes MAC Address and the WIFI password of WIFI hot spot;
Link order generation module, for the MAC Address according to described WIFI hot spot and WIFI password, generates WIFI connection and refers to Order;Wherein, described WIFI link order carries MAC Address and the WIFI password of described WIFI hot spot;
WIFI link block, for according to described WIFI link order from WIFI hot spot corresponding to described MAC Address that be dynamically connected, with Make described WIFI hot spot that described WIFI password to be verified and to access WIFI network.
7. the device from the WIFI hot spot that is dynamically connected as claimed in claim 6, it is characterised in that described from being dynamically connected WIFI hot spot Device, also include: WIFI signal detection module, open command generation module;
Described WIFI signal detection module, is used for detecting whether current environment has WIFI signal;
Described open command generation module, for if be detected that current environment has WIFI signal, then generates the unlatching of NFC function and refers to Order;
Described NFC opening module, specifically for according to described NFC function open command, opens mobile terminal NFC function.
8. the device from the WIFI hot spot that is dynamically connected as claimed in claim 6, it is characterised in that described from being dynamically connected WIFI hot spot Device, also include:
Reminding module, is used for after opening mobile terminal NFC function, prompting mobile terminal scanning input NFC bar code.
9. the device from the WIFI hot spot that is dynamically connected as claimed in claim 6, it is characterised in that described link order generates mould Block, specifically includes: parameter configuration module, WIFI link order generation module;
Described parameter configuration module, for the MAC Address according to described WIFI hot spot and WIFI password, configures WIFI hot spot pair The parameter answered;
Described WIFI link order generation module, for the parameter corresponding according to WIFI hot spot, generates WIFI link order.
10. the device from the WIFI hot spot that is dynamically connected as claimed in claim 6, it is characterised in that described from the WIFI heat that is dynamically connected The device of point, also includes:
Data transmission detection module, is used for detecting mobile terminal currently the need of transmission data;
Signal intensity acquisition module, for if be detected that need to transmit data, then obtaining the signal intensity of described WIFI hot spot;
Signal intensity compares module, for being compared with predetermined threshold value by described signal intensity;
Network handover module, for when described signal intensity is less than predetermined threshold value, then switching to data by current WIFI network Network.
11. 1 kinds of mobile terminals, it is characterised in that described mobile terminal includes memorizer and processor, described memorizer stores Having the executable instruction of processor, described processor is for performing the instruction in described memorizer, and described instruction is for performing such as Lower operation:
Open mobile terminal NFC function;
Scanning NFC bar code, to obtain MAC Address and the WIFI password of WIFI hot spot;Wherein, described NFC bar code includes WIFI The MAC Address of focus and WIFI password;
MAC Address according to described WIFI hot spot and WIFI password, generate WIFI link order;Wherein, described WIFI connects Instruction carries MAC Address and the WIFI password of described WIFI hot spot;
Certainly the WIFI hot spot that the described MAC Address that is dynamically connected according to described WIFI link order is corresponding, so that described WIFI hot spot pair Described WIFI password carries out verifying and accessing WIFI network.
CN201610820937.2A 2016-09-13 2016-09-13 A kind of from being dynamically connected the method for WIFI hot spot, device and mobile terminal Pending CN106211051A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610820937.2A CN106211051A (en) 2016-09-13 2016-09-13 A kind of from being dynamically connected the method for WIFI hot spot, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610820937.2A CN106211051A (en) 2016-09-13 2016-09-13 A kind of from being dynamically connected the method for WIFI hot spot, device and mobile terminal

Publications (1)

Publication Number Publication Date
CN106211051A true CN106211051A (en) 2016-12-07

Family

ID=58066547

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610820937.2A Pending CN106211051A (en) 2016-09-13 2016-09-13 A kind of from being dynamically connected the method for WIFI hot spot, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN106211051A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106686528A (en) * 2016-12-21 2017-05-17 上海斐讯数据通信技术有限公司 Data transmission method and system as well as master device and slave device
CN107493565A (en) * 2017-09-19 2017-12-19 深圳天珑无线科技有限公司 Wi Fi connection methods, mobile terminal and computer-readable recording medium
CN111954164A (en) * 2020-07-24 2020-11-17 深圳创维数字技术有限公司 Equipment network distribution method and device and computer readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951652A (en) * 2010-08-13 2011-01-19 北京携远天成技术有限公司 Method for automatically switching WiFi and 3G in video transmission
CN102144421A (en) * 2008-09-15 2011-08-03 索尼爱立信移动通讯有限公司 WLAN connection facilitated via near field communication
CN103200567A (en) * 2012-01-05 2013-07-10 中兴通讯股份有限公司 Method and system of wireless fidelity (WiFi) access
CN103298144A (en) * 2012-03-02 2013-09-11 中兴通讯股份有限公司 Method, system and terminal for Wi-Fi connection through NFC
CN103428823A (en) * 2012-05-22 2013-12-04 中兴通讯股份有限公司 Internet-surfing method and device combining 3G network and WLAN
CN103546933A (en) * 2013-10-22 2014-01-29 惠州Tcl移动通信有限公司 Method and system for intelligently switching network connection
CN103874164A (en) * 2014-02-28 2014-06-18 齐文钊 Method and system for connecting to WIFI (Wireless Fidelity) by NFC (Near Field Communication) and mobile terminal equipment
CN104410963A (en) * 2014-11-24 2015-03-11 中国联合网络通信集团有限公司 WiFi (wireless fidelity) connection method, WiFi agency and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102144421A (en) * 2008-09-15 2011-08-03 索尼爱立信移动通讯有限公司 WLAN connection facilitated via near field communication
CN101951652A (en) * 2010-08-13 2011-01-19 北京携远天成技术有限公司 Method for automatically switching WiFi and 3G in video transmission
CN103200567A (en) * 2012-01-05 2013-07-10 中兴通讯股份有限公司 Method and system of wireless fidelity (WiFi) access
CN103298144A (en) * 2012-03-02 2013-09-11 中兴通讯股份有限公司 Method, system and terminal for Wi-Fi connection through NFC
CN103428823A (en) * 2012-05-22 2013-12-04 中兴通讯股份有限公司 Internet-surfing method and device combining 3G network and WLAN
CN103546933A (en) * 2013-10-22 2014-01-29 惠州Tcl移动通信有限公司 Method and system for intelligently switching network connection
CN103874164A (en) * 2014-02-28 2014-06-18 齐文钊 Method and system for connecting to WIFI (Wireless Fidelity) by NFC (Near Field Communication) and mobile terminal equipment
CN104410963A (en) * 2014-11-24 2015-03-11 中国联合网络通信集团有限公司 WiFi (wireless fidelity) connection method, WiFi agency and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106686528A (en) * 2016-12-21 2017-05-17 上海斐讯数据通信技术有限公司 Data transmission method and system as well as master device and slave device
CN106686528B (en) * 2016-12-21 2021-01-01 杭州新中大科技股份有限公司 Data transmission method and system, master device and slave device
CN107493565A (en) * 2017-09-19 2017-12-19 深圳天珑无线科技有限公司 Wi Fi connection methods, mobile terminal and computer-readable recording medium
CN111954164A (en) * 2020-07-24 2020-11-17 深圳创维数字技术有限公司 Equipment network distribution method and device and computer readable storage medium
WO2022016670A1 (en) * 2020-07-24 2022-01-27 深圳创维数字技术有限公司 Network configuration method and apparatus for device, and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN103458408A (en) Network connection method and network sharing method and device
CN103475996A (en) Network connecting method, network sharing method and devices
CN106686626B (en) The setting method and terminal device of WiFi roaming
CN103929796B (en) The method and device of shared access point
CN103458409A (en) Network connection method and network sharing method and device
CN103501482A (en) Network access method, network access device and terminal
KR102305807B1 (en) Communication method and device
CN103310004A (en) Method, device and equipment for displaying number of unread messages
WO2018121086A1 (en) Method for connecting to hidden ap, and terminal device
CN104093189A (en) Multimedia playing device network initialization method, system, device and terminal
CN104135728B (en) Method for connecting network and device
CN106912048A (en) Access-in point information sharing method and device
CN104519197A (en) User login method, user login device and terminal devices
CN103338193B (en) Method, system and device for initial media equipment
CN106454810A (en) Hotspot establishing method and terminal equipment
CN103501388A (en) Terminal equipment prompting control method, device and terminal equipment
CN106658623A (en) Hotspot network switching method and terminal equipment
CN107071773A (en) A kind of internetwork connection establishing method and device
CN106454975A (en) Hotspot network switching method and terminal equipment
CN105357657B (en) The construction method and device of Mesh network
CN106302603A (en) The method and apparatus remotely deleting information
CN106161147B (en) Establish the method and device of network connection
CN106211051A (en) A kind of from being dynamically connected the method for WIFI hot spot, device and mobile terminal
CN106453908A (en) Double-card network switching method and apparatus based on call and mobile terminal
CN103227832B (en) Share method for processing resource and device

Legal Events

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

Application publication date: 20161207

RJ01 Rejection of invention patent application after publication