CN107493565A - Wi Fi connection methods, mobile terminal and computer-readable recording medium - Google Patents

Wi Fi connection methods, mobile terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107493565A
CN107493565A CN201710850412.8A CN201710850412A CN107493565A CN 107493565 A CN107493565 A CN 107493565A CN 201710850412 A CN201710850412 A CN 201710850412A CN 107493565 A CN107493565 A CN 107493565A
Authority
CN
China
Prior art keywords
connection
mac address
equipment
communication
configuration informations
Prior art date
Application number
CN201710850412.8A
Other languages
Chinese (zh)
Inventor
刘姜
Original Assignee
深圳天珑无线科技有限公司
深圳市天珑移动技术有限公司
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 深圳天珑无线科技有限公司, 深圳市天珑移动技术有限公司 filed Critical 深圳天珑无线科技有限公司
Priority to CN201710850412.8A priority Critical patent/CN107493565A/en
Publication of CN107493565A publication Critical patent/CN107493565A/en

Links

Classifications

    • 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

Abstract

The invention discloses a kind of Wi Fi connection methods.The Wi Fi connection methods include:Equipment is launched by near-field communication NFC technique and Wireless Fidelity Wi Fi and establishes communication connection;The Wi Fi configuration informations of the Wi Fi transmittings equipment are obtained by the communication connection;The Wi Fi networks of the Wi Fi transmittings equipment offer are provided according to the Wi Fi configuration informations.The invention also discloses a kind of mobile terminal and computer-readable recording medium.The present invention has the characteristics that exchange Information Security height and convenient quickly based on NFC technique, can simplify Wi Fi attended operations, while improve the security of Wi Fi connections.

Description

Wi-Fi connection method, mobile terminal and computer-readable recording medium

Technical field

The present invention relates to communication technical field, more particularly to a kind of Wi-Fi connection method, mobile terminal and computer-readable Storage medium.

Background technology

With the continuous development of mobile communication technology, wireless communication technology also occurs and developed, especially Wi-Fi therewith (Wireless Fidelity, Wireless Fidelity) technology is more and more common, and user can connect Wi-Fi by terminal device Network, so as to carry out internet access.

At present, the connected mode of Wi-Fi network mainly has following three kinds:1) Wi-Fi network is directly connected to, in successful connection Can is surfed the Net after log-on webpage activation afterwards;2) can is surfed the Net after being directly connected to Wi-Fi network;3) in connection Wi-Fi network When input the password of the Wi-Fi, authentication pass through after can successful connection, then can surf the Net.Wherein, the second way connection compared with To be quick and convenient, but security is poor;And the first is safer with the third mode, but operate cumbersome.

The content of the invention

It is a primary object of the present invention to provide a kind of Wi-Fi connection method, mobile terminal and computer-readable storage medium Matter, it is intended to realize and simplify Wi-Fi connection operation, while improve the security of Wi-Fi connection.

To achieve the above object, the present invention provides a kind of Wi-Fi connection method, and the Wi-Fi connection method includes following Step:

Equipment is launched by near-field communication NFC technique and Wireless Fidelity Wi-Fi and establishes communication connection;

The Wi-Fi configuration informations of the Wi-Fi transmittings equipment are obtained by the communication connection;

The Wi-Fi network of the Wi-Fi transmittings equipment offer is provided according to the Wi-Fi configuration informations.

Alternatively, the step that equipment foundation communication connection is launched by near-field communication NFC technique and Wireless Fidelity Wi-Fi After rapid, including:

The medium access control MAC Address of the Wi-Fi transmittings equipment is obtained by the communication connection, and described in detection Whether MAC Address is in default mac address table;

When the MAC Address is in default mac address table, step is performed:The Wi- is obtained by the communication connection Fi launches the Wi-Fi configuration informations of equipment.

Alternatively, it is described to detect the MAC Address whether after the step in mac address table is preset, in addition to:

When the MAC Address is not in default mac address table, detect whether to receive the Wi-Fi connection of user's triggering Instruction;

When receiving the Wi-Fi connection instruction, step is performed:The Wi-Fi hairs are obtained by the communication connection The Wi-Fi configuration informations of jet device.

Alternatively, it is described when receiving the Wi-Fi connection instruction, perform step:Obtained by the communication connection After the step of Wi-Fi configuration informations of the Wi-Fi transmittings equipment, including:

MAC Address not in the default mac address table is stored to the default mac address table.

Alternatively, the step that equipment foundation communication connection is launched by near-field communication NFC technique and Wireless Fidelity Wi-Fi Before rapid, including:

Enable Wi-Fi functions and NFC function.

In addition, to achieve the above object, the present invention also provides a kind of mobile terminal, and the mobile terminal includes:Memory, Processor and it is stored in the Wi-Fi connection program that can be run on the memory and on the processor, the Wi-Fi connection Following steps are realized when program is by the computing device:

Equipment is launched by near-field communication NFC technique and Wireless Fidelity Wi-Fi and establishes communication connection;

The Wi-Fi configuration informations of the Wi-Fi transmittings equipment are obtained by the communication connection;

The Wi-Fi network of the Wi-Fi transmittings equipment offer is provided according to the Wi-Fi configuration informations.

Alternatively, the Wi-Fi connection program by the computing device when also realize following steps:

The medium access control MAC Address of the Wi-Fi transmittings equipment is obtained by the communication connection, and described in detection Whether MAC Address is in default mac address table;

When the MAC Address is in default mac address table, step is performed:The Wi- is obtained by the communication connection Fi launches the Wi-Fi configuration informations of equipment.

Alternatively, the Wi-Fi connection program by the computing device when also realize following steps:

When the MAC Address is not in default mac address table, detect whether to receive the Wi-Fi connection of user's triggering Instruction;

When receiving the Wi-Fi connection instruction, step is performed:The Wi-Fi hairs are obtained by the communication connection The Wi-Fi configuration informations of jet device.

Alternatively, the Wi-Fi connection program by the computing device when also realize following steps:

MAC Address not in the default mac address table is stored to the default mac address table.

In addition, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, described computer-readable Wi-Fi connection program is stored with storage medium, the Wi-Fi connection program realizes following steps when being executed by processor:

Equipment is launched by near-field communication NFC technique and Wireless Fidelity Wi-Fi and establishes communication connection;

The Wi-Fi configuration informations of the Wi-Fi transmittings equipment are obtained by the communication connection;

The Wi-Fi network of the Wi-Fi transmittings equipment offer is provided according to the Wi-Fi configuration informations.

The present invention provides a kind of Wi-Fi connection method, mobile terminal and computer-readable recording medium, passes through near-field communication NFC technique is established with Wireless Fidelity Wi-Fi transmitting equipment and communicated to connect;The Wi-Fi transmittings are obtained by the communication connection The Wi-Fi configuration informations of equipment;The Wi-Fi nets of the Wi-Fi transmittings equipment offer are provided according to the Wi-Fi configuration informations Network.Communicated to connect by the above-mentioned means, launching equipment by near-field communication NFC technique and Wireless Fidelity Wi-Fi first and establishing, by It is a kind of non contact angle measurement and interconnection technique in NFC, wireless near field communication can be carried out between each equipment, has and exchange The features such as Information Security height and convenient quickly, after communication connection is established by NFC technique, it can directly pass through the communication connection Wi-Fi configuration informations are obtained from Wi-Fi transmitting equipment, and the Wi-Fi is connected according to Wi-Fi configuration informations and launches equipment The Wi-Fi network of offer.Therefore, the present invention can simplify Wi-Fi connection operation, while improve the security of Wi-Fi connection.

Brief description of the drawings

Fig. 1 is the terminal structure schematic diagram for the hardware running environment that scheme of the embodiment of the present invention is related to;

Fig. 2 is the schematic flow sheet of Wi-Fi connection method first embodiment of the present invention;

Fig. 3 is the schematic flow sheet of Wi-Fi connection method second embodiment of the present invention;

Fig. 4 is the schematic flow sheet of Wi-Fi connection method 3rd embodiment of the present invention.

The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.

Embodiment

It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.

In the prior art, the connected mode of Wi-Fi network mainly has following three kinds:1) Wi-Fi network is directly connected to, Can is surfed the Net after log-on webpage activation after successful connection;2) can is surfed the Net after being directly connected to Wi-Fi network;3) connecting Input the password of the Wi-Fi during Wi-Fi network, authentication pass through after can successful connection, then can surf the Net.Wherein, second Mode connects more quick and convenient, but security is poor;And the first is safer with the third mode, but operate more numerous It is trivial.

In order to solve the above-mentioned technical problem, the present invention provides a kind of Wi-Fi connection method, passes through near-field communication NFC technique Establish and communicate to connect with Wireless Fidelity Wi-Fi transmitting equipment;The Wi-Fi is obtained by the communication connection and launches equipment Wi-Fi configuration informations;The Wi-Fi network of the Wi-Fi transmittings equipment offer is provided according to the Wi-Fi configuration informations.Pass through Aforesaid way, equipment is launched by near-field communication NFC technique and Wireless Fidelity Wi-Fi first and establishes communication connection, because NFC is A kind of non contact angle measurement and interconnection technique, wireless near field communication can be carried out between each equipment, have and exchange data peace Quan Xinggao and the features such as convenient quickly, can be directly by the communication connection from described after communication connection is established by NFC technique Wi-Fi transmitting equipment obtains Wi-Fi configuration informations, and connects what the Wi-Fi transmittings equipment provided according to Wi-Fi configuration informations Wi-Fi network.Therefore, the present invention can simplify Wi-Fi connection operation, while improve the security of Wi-Fi connection.

Referring to Fig. 1, Fig. 1 is the terminal structure schematic diagram for the hardware running environment that scheme of the embodiment of the present invention is related to.

Terminal of the embodiment of the present invention can be smart mobile phone or PC, tablet personal computer, E-book reader, PDA (Personal Digital Assistant, personal digital assistant), pocket computer etc. have Wi-Fi functions and NFC function Packaged type terminal device.

As shown in figure 1, the terminal can include:Processor 1001, such as CPU, communication bus 1002, user interface 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is used to realize the connection communication between these components. User interface 1003 can include display screen (Display), input block such as keyboard (Keyboard), optional user interface 1003 can also include wireline interface, the wave point of standard.Network interface 1004 can optionally connect including the wired of standard Mouth, wave point (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory or stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.

Alternatively, terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio Circuit, Wi-Fi module etc..Wherein, sensor ratio such as optical sensor, motion sensor and other sensors.Specifically, light Sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can according to the light and shade of ambient light come The brightness of display screen is adjusted, proximity transducer can close display screen and/or backlight when mobile terminal is moved in one's ear.As One kind of motion sensor, gravity accelerometer can detect in all directions the size of (generally three axles) acceleration, quiet Size and the direction of gravity are can detect that when only, the application available for identification mobile terminal posture is (such as horizontal/vertical screen switching, related Game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Certainly, mobile terminal can also match somebody with somebody The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor are put, will not be repeated here.

It will be understood by those skilled in the art that the restriction of the terminal structure shown in Fig. 1 not structure paired terminal, can be wrapped Include than illustrating more or less parts, either combine some parts or different parts arrangement.

As shown in figure 1, it can lead to as in a kind of memory 1005 of computer-readable storage medium including operating system, network Believe module, Subscriber Interface Module SIM and Wi-Fi connection program.

In the terminal shown in Fig. 1, network interface 1004 is mainly used in connecting background server, is carried out with background server Data communicate;User interface 1003 is mainly used in connecting client (user terminal), enters row data communication with client;And processor 1001 can be used for calling the Wi-Fi connection program stored in memory 1005, and perform following operate:

Equipment is launched by near-field communication NFC technique and Wireless Fidelity Wi-Fi and establishes communication connection;

The Wi-Fi configuration informations of the Wi-Fi transmittings equipment are obtained by the communication connection;

The Wi-Fi network of the Wi-Fi transmittings equipment offer is provided according to the Wi-Fi configuration informations.

In embodiments of the present invention, the Wi-Fi connection method is applied to mobile terminal, and the mobile terminal includes Wi-Fi work( Energy and NFC function, the mobile terminal can be smart mobile phone or PC, tablet personal computer, E-book reader, PDA (Personal Digital Assistant, personal digital assistant), pocket computer etc..The embodiment of the present invention is with smart mobile phone Exemplified by illustrate.

In embodiments of the present invention, when user enables the Wi-Fi functions and NFC function of smart mobile phone, in closely model Establish and communicate to connect with the Wireless Fidelity Wi-Fi transmitting equipment with NFC function (generally in 20cm) in enclosing.Wherein, NFC (Near Field Communication, near-field communication) technology is a kind of non contact angle measurement and interconnection technique, can moved Dynamic equipment, consumer electronics product, PC and smart control Tool Room carry out wireless near field communication, have and exchange Information Security The features such as high and convenient quickly.Wi-Fi (Wireless Fidelity, Wireless Fidelity) transmitting equipment is that one kind is mobile terminal Equipment provides the Wi-Fi equipment of access, and in embodiments of the present invention, Wi-Fi transmittings equipment can be included with NFC function Wireless routing, the terminal device with NFC function of various unlatching Wi-Fi sharing functionalities can also be included.It should be noted that Wi-Fi transmittings equipment need to enable Wi-Fi functions and NFC function before communication connection is established.In addition, in a particular embodiment, Other wireless communication technologys such as RFID (Radio Frequency Identification, radio frequency identification) can also be used to establish Communication link, which fetches, obtains Wi-Fi configuration informations.

Then, after establishing communication connection between smart mobile phone and Wi-Fi transmitting equipment, smart mobile phone can directly pass through The communication connection obtains the Wi-Fi configuration informations of the Wi-Fi transmittings equipment, and the Wi-Fi configuration informations can include IP address, Then the Wi-Fi network of Wi-Fi transmitting equipment offers is directly connected according to the IP address, so as to realize wireless networking capabilities. Certainly, in a particular embodiment, Wi-Fi configuration informations can also include SSID (Service Set Identifier, services set Mark) and corresponding Wi-Fi passwords, the Wi-Fi network title that wherein SSID launches for Wi-Fi transmitting equipment, now, mobile phone Terminal can be logged in by SSID and password, so as to realize wireless networking capabilities.Therefore, in embodiments of the present invention, only Need mobile terminal and Wi-Fi to launch equipment and open Wi-Fi functions and NFC function, can directly be built in short range Vertical communication connection, so as to be quickly connected to the Wi-Fi network that Wi-Fi transmitting equipment provides, simplify the operation step of connection focus Suddenly.

The present invention provides a kind of Wi-Fi connection method, is set by near-field communication NFC technique and Wireless Fidelity Wi-Fi transmittings It is standby to establish communication connection;The Wi-Fi configuration informations of the Wi-Fi transmittings equipment are obtained by the communication connection;According to described Wi-Fi configuration informations connect the Wi-Fi network that the Wi-Fi transmittings equipment provides.By the above-mentioned means, led to first by near field Believe that NFC technique is established with Wireless Fidelity Wi-Fi transmitting equipment to communicate to connect, because NFC is a kind of non contact angle measurement and interconnection Technology, wireless near field communication can be carried out between each equipment, have the characteristics that to exchange Information Security height and convenient quickly, After communication connection is established by NFC technique, equipment directly can be launched from the Wi-Fi by the communication connection and obtain Wi-Fi Configuration information, and the Wi-Fi network provided according to the Wi-Fi configuration informations connection Wi-Fi transmittings equipment.Therefore, it is of the invention Wi-Fi connection operation can be simplified, while improve the security of Wi-Fi connection.

Further, processor 1001 can call the Wi-Fi connection program stored in memory 1005, also perform following Operation:

The medium access control MAC Address of the Wi-Fi transmittings equipment is obtained by the communication connection, and described in detection Whether MAC Address is in default mac address table;

When the MAC Address is in default mac address table, step is performed:The Wi- is obtained by the communication connection Fi launches the Wi-Fi configuration informations of equipment.

Further, processor 1001 can call the Wi-Fi connection program stored in memory 1005, also perform following Operation:

When the MAC Address is not in default mac address table, detect whether to receive the Wi-Fi connection of user's triggering Instruction;

When receiving the Wi-Fi connection instruction, step is performed:The Wi-Fi hairs are obtained by the communication connection The Wi-Fi configuration informations of jet device.

Further, processor 1001 can call the Wi-Fi connection program stored in memory 1005, also perform following Operation:

The MAC Address is stored into the default mac address table.

Further, processor 1001 can call the Wi-Fi connection program stored in memory 1005, also perform following Operation:

Enable Wi-Fi functions and NFC function.

Based on above-mentioned mobile terminal hardware configuration, each embodiment of Wi-Fi connection method of the present invention is proposed.

The present invention provides a kind of Wi-Fi connection method.

Referring to Fig. 2, Fig. 2 is the schematic flow sheet of Wi-Fi connection method first embodiment of the present invention.

In embodiments of the present invention, the Wi-Fi connection method includes:

Step S10, equipment is launched by near-field communication NFC technique and Wireless Fidelity Wi-Fi and establishes communication connection;

In embodiments of the present invention, before above-mentioned steps S10, in addition to:

Enable Wi-Fi functions and NFC function.

In embodiments of the present invention, the Wi-Fi connection method is applied to mobile terminal, and the mobile terminal includes Wi-Fi work( Energy and NFC function, the mobile terminal can be smart mobile phone or PC, tablet personal computer, E-book reader, PDA (Personal Digital Assistant, personal digital assistant), pocket computer etc..The embodiment of the present invention is with smart mobile phone Exemplified by illustrate.

In embodiments of the present invention, when user enables the Wi-Fi functions and NFC function of smart mobile phone, in closely model Establish and communicate to connect with the Wireless Fidelity Wi-Fi transmitting equipment with NFC function (generally in 20cm) in enclosing.Wherein, NFC (Near Field Communication, near-field communication) technology is a kind of non contact angle measurement and interconnection technique, can moved Dynamic equipment, consumer electronics product, PC and smart control Tool Room carry out wireless near field communication, have and exchange Information Security The features such as high and convenient quickly.Wi-Fi (Wireless Fidelity, Wireless Fidelity) transmitting equipment is that one kind is mobile terminal Equipment provides the Wi-Fi equipment of access, and in embodiments of the present invention, Wi-Fi transmittings equipment can be included with NFC function Wireless routing, the terminal device with NFC function of various unlatching Wi-Fi sharing functionalities can also be included.It should be noted that Wi-Fi transmittings equipment need to enable Wi-Fi functions and NFC function before communication connection is established.In addition, in a particular embodiment, Other wireless communication technologys such as RFID (Radio Frequency Identification, radio frequency identification) can also be used to establish Communication link, which fetches, obtains Wi-Fi configuration informations.

Step S20, the Wi-Fi configuration informations of the Wi-Fi transmittings equipment are obtained by the communication connection;

Step S30, the Wi-Fi network of the Wi-Fi transmittings equipment offer is connected according to the Wi-Fi configuration informations.

Then, after establishing communication connection between smart mobile phone and Wi-Fi transmitting equipment, smart mobile phone can directly pass through The communication connection obtains the Wi-Fi configuration informations of the Wi-Fi transmittings equipment, and the Wi-Fi configuration informations can include IP address, Then the Wi-Fi network of Wi-Fi transmitting equipment offers is directly connected according to the IP address, so as to realize wireless networking capabilities. Certainly, in a particular embodiment, Wi-Fi configuration informations can also include SSID (Service Set Identifier, services set Mark) and corresponding Wi-Fi passwords, the Wi-Fi network title that wherein SSID launches for Wi-Fi transmitting equipment, now, mobile phone Terminal can be logged in by SSID and password, so as to realize wireless networking capabilities.Therefore, in embodiments of the present invention, only Need mobile terminal and Wi-Fi to launch equipment and open Wi-Fi functions and NFC function, can directly be built in short range Vertical communication connection, so as to be quickly connected to the Wi-Fi network that Wi-Fi transmitting equipment provides, simplify the operation step of connection focus Suddenly.

The present invention provides a kind of Wi-Fi connection method, is set by near-field communication NFC technique and Wireless Fidelity Wi-Fi transmittings It is standby to establish communication connection;The Wi-Fi configuration informations of the Wi-Fi transmittings equipment are obtained by the communication connection;According to described Wi-Fi configuration informations connect the Wi-Fi network that the Wi-Fi transmittings equipment provides.By the above-mentioned means, led to first by near field Believe that NFC technique is established with Wireless Fidelity Wi-Fi transmitting equipment to communicate to connect, because NFC is a kind of non contact angle measurement and interconnection Technology, wireless near field communication can be carried out between each equipment, have the characteristics that to exchange Information Security height and convenient quickly, After communication connection is established by NFC technique, equipment directly can be launched from the Wi-Fi by the communication connection and obtain Wi-Fi Configuration information, and the Wi-Fi network provided according to the Wi-Fi configuration informations connection Wi-Fi transmittings equipment.Therefore, it is of the invention Wi-Fi connection operation can be simplified, while improve the security of Wi-Fi connection.

Referring to Fig. 3, Fig. 3 is the schematic flow sheet of Wi-Fi connection method second embodiment of the present invention.

Based on the first embodiment shown in Fig. 2, between step S10 and step S20, the Wi-Fi connection method also includes:

Step S40, the medium access control MAC Address of the Wi-Fi transmittings equipment is obtained by the communication connection, and The MAC Address is detected whether in default mac address table, when the MAC Address is in default mac address table, performs step Rapid S20:The Wi-Fi configuration informations of the Wi-Fi transmittings equipment are obtained by the communication connection.

In the above-described first embodiment, mobile terminal and Wi-Fi is only needed to launch equipment and open Wi-Fi functions and NFC Function, communication connection can be directly established in short range, so as to be quickly connected to the Wi- that Wi-Fi transmitting equipment provides Fi networks, simplify the operating procedure of connection focus.Therefore, the method for the first embodiment is more suitable for family or small-sized done The safer scene such as public region, to avoid the Wi-Fi network that some securities are poor in user's connection, implement in the present invention Another authentication mode is provided in example, when Wi-Fi launches default MAC of the medium access control MAC Address in terminal of equipment When in address table, just it is attached automatically.

Specifically, when user enables the Wi-Fi functions and NFC function of smart mobile phone, pass through NFC technique and launch with Wi-Fi After equipment establishes communication connection, MAC (the Media Access of the Wi-Fi transmittings equipment are obtained by the communication connection Control, medium access control) address, and the MAC Address is detected whether in default mac address table.When the MAC Address When in default mac address table, then step S20 is performed, i.e., obtaining the Wi-Fi by the communication connection launches equipment Wi-Fi configuration informations, the Wi-Fi network of Wi-Fi transmitting equipment offers is finally connected according to the Wi-Fi configuration informations, so as to Realize wireless networking capabilities.

It should be noted that MAC (Media Access Control, medium access control) address, also known as physically Location, hardware address or link address, for defining the position of the network equipment.MAC Address is that network interface card is set when dispatching from the factory, each whole The MAC Address of end equipment is fixed, not modifiable, while is also unique.Therefore, MAC is selected in the embodiment of the present invention Address is as authentication mode.For user when setting mac address table, each Wi-Fi transmittings equipment checks that mode includes situations below, For example, the MAC Address mode of checking of wireless routing can include:The MAC 1) being directly viewable during router back label illustrates Location information, 2) command prompt window for the computer for being connected with the Wi-Fi is opened, ipconfig is inputted, finds gateway address, such as 192.168.1.1, then in command prompt window input arp-a and find the address after corresponding ip addresses 192.168.1.1 As wireless routing MAC Address.Wi-Fi can be shared, and the MAC Address mode of checking of the smart mobile phone with NFC function can be with Including:" setting " of mobile phone is found, then " general " option is found in selection inside " setting " of opening, and then " on hand I.e. it can be seen that corresponding MAC Address in machine ".Wi-Fi can be shared, and the MAC Address mode of checking of the PC with NFC function can be with Including:1) network and Sharing Center are opened, subsequently into locality connection, clicks on details in network connection attribute afterwards, I.e. it can be seen that the physical address information of the PC, i.e. MAC Address;2) run dialog is recalled in start menu, then keys in cmd Order, you can into cmd command operation frames, then keying in iPconfig/all orders, you can find MAC Address.

Referring to Fig. 4, Fig. 4 is the schematic flow sheet of Wi-Fi connection method 3rd embodiment of the present invention.

Based on the second embodiment shown in Fig. 3, after the step s 40, the Wi-Fi connection method also includes:

Step S60, when the MAC Address is not in default mac address table, detect whether to receive user's triggering Wi-Fi connection instructs, and when receiving the Wi-Fi connection instruction, performs step S20:Institute is obtained by the communication connection State the Wi-Fi configuration informations of Wi-Fi transmitting equipment.

Based on above-mentioned second embodiment, when the Wi-Fi got by communicating to connect launches the MAC Address of equipment not pre- If when in mac address table, whether terminal can remind is attached the Wi-Fi network, specifically, alerting pattern can be in mobile phone Display text prompt message, can also be voice message in screen, then when the Wi-Fi connection instruction for receiving user's triggering When, i.e., user answers connection the Wi-Fi network by clicking on connectivity option, or by voice mode, now, then performs step S20, i.e., the Wi-Fi configuration informations of the Wi-Fi transmittings equipment are obtained by the communication connection, are finally matched somebody with somebody according to the Wi-Fi Confidence breath connects the Wi-Fi network that Wi-Fi transmitting equipment provides, so as to realize wireless networking capabilities.

In addition, after step S60, in addition to:

MAC Address not in the default mac address table is stored to the default mac address table.

When receiving the Wi-Fi connection instruction of user's triggering, that is, show the users to trust Wi-Fi network, now, logical Cross after the Wi-Fi configuration informations that the communication connection obtains the Wi-Fi transmittings equipment, by this not in default mac address table The MAC Address of interior Wi-Fi transmittings equipment is stored into the default mac address table, certainly, in a particular embodiment, when obtaining When the MAC Address got is not in default mac address table, it can also launch obtaining the Wi-Fi by the communication connection , will while the Wi-Fi configuration informations of equipment, or after Wi-Fi network is successfully connected according to the Wi-Fi configuration informations of acquisition This is not stored into the default mac address table in the MAC Address for presetting the transmitting equipment of the Wi-Fi in mac address table so that is moved Dynamic terminal obtains same MAC Address in next time, is attached automatically, more convenient without reminding user again, Consumer's Experience can be lifted.

The present invention also proposes a kind of computer-readable recording medium, is stored with the computer-readable recording medium Wi-Fi connection program, the Wi-Fi connection program realize following steps when being executed by processor:

Equipment is launched by near-field communication NFC technique and Wireless Fidelity Wi-Fi and establishes communication connection;

The Wi-Fi configuration informations of the Wi-Fi transmittings equipment are obtained by the communication connection;

The Wi-Fi network of the Wi-Fi transmittings equipment offer is provided according to the Wi-Fi configuration informations.

Wherein, the method that the Wi-Fi connection program run on the processor is realized when being performed can refer to this hair The bright each embodiment of Wi-Fi connection method, therefore not to repeat here.

It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or system institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or system.

The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.

Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, Computer, server, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.

The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

  1. A kind of 1. Wi-Fi connection method, it is characterised in that the Wi-Fi connection method comprises the following steps:
    Equipment is launched by near-field communication NFC technique and Wireless Fidelity Wi-Fi and establishes communication connection;
    The Wi-Fi configuration informations of the Wi-Fi transmittings equipment are obtained by the communication connection;
    The Wi-Fi network of the Wi-Fi transmittings equipment offer is provided according to the Wi-Fi configuration informations.
  2. 2. Wi-Fi connection method as claimed in claim 1, it is characterised in that described by near-field communication NFC technique and wireless After the step of fidelity Wi-Fi transmitting equipment establishes communication connection, including:
    The Wi-Fi is obtained by the communication connection and launches the medium access control MAC Address of equipment, and detects the MAC Whether address is in default mac address table;
    When the MAC Address is in default mac address table, step is performed:The Wi-Fi hairs are obtained by the communication connection The Wi-Fi configuration informations of jet device.
  3. 3. Wi-Fi connection method as claimed in claim 2, it is characterised in that whether the detection MAC Address is default After step in mac address table, in addition to:
    When the MAC Address is not in default mac address table, detect whether to receive the Wi-Fi connection instruction of user's triggering;
    When receiving the Wi-Fi connection instruction, step is performed:The Wi-Fi transmittings are obtained by the communication connection to set Standby Wi-Fi configuration informations.
  4. 4. Wi-Fi connection method as claimed in claim 3, it is characterised in that described to receive the Wi-Fi connection instruction When, perform step:After the step of Wi-Fi launches the Wi-Fi configuration informations of equipment being obtained by the communication connection, bag Include:
    MAC Address not in the default mac address table is stored to the default mac address table.
  5. 5. Wi-Fi connection method as claimed in claim 1, it is characterised in that described by near-field communication NFC technique and wireless Before the step of fidelity Wi-Fi transmitting equipment establishes communication connection, including:
    Enable Wi-Fi functions and NFC function.
  6. 6. a kind of mobile terminal, it is characterised in that the mobile terminal includes:Memory, processor and it is stored in the storage On device and the Wi-Fi connection program that can run on the processor, when the Wi-Fi connection program is by the computing device Realize following steps:
    Equipment is launched by near-field communication NFC technique and Wireless Fidelity Wi-Fi and establishes communication connection;
    The Wi-Fi configuration informations of the Wi-Fi transmittings equipment are obtained by the communication connection;
    The Wi-Fi network of the Wi-Fi transmittings equipment offer is provided according to the Wi-Fi configuration informations.
  7. 7. mobile terminal as claimed in claim 6, it is characterised in that the Wi-Fi connection program is by the computing device When also realize following steps:
    The Wi-Fi is obtained by the communication connection and launches the medium access control MAC Address of equipment, and detects the MAC Whether address is in default mac address table;
    When the MAC Address is in default mac address table, step is performed:The Wi-Fi hairs are obtained by the communication connection The Wi-Fi configuration informations of jet device.
  8. 8. mobile terminal as claimed in claim 7, it is characterised in that the Wi-Fi connection program is by the computing device When also realize following steps:
    When the MAC Address is not in default mac address table, detect whether to receive the Wi-Fi connection instruction of user's triggering;
    When receiving the Wi-Fi connection instruction, step is performed:The Wi-Fi transmittings are obtained by the communication connection to set Standby Wi-Fi configuration informations.
  9. 9. mobile terminal as claimed in claim 8, it is characterised in that the Wi-Fi connection program is by the computing device When also realize following steps:
    MAC Address not in the default mac address table is stored to the default mac address table.
  10. 10. a kind of computer-readable recording medium, it is characterised in that be stored with Wi-Fi on the computer-readable recording medium Linker, the Wi-Fi connection program realize following steps when being executed by processor:
    Equipment is launched by near-field communication NFC technique and Wireless Fidelity Wi-Fi and establishes communication connection;
    The Wi-Fi configuration informations of the Wi-Fi transmittings equipment are obtained by the communication connection;
    The Wi-Fi network of the Wi-Fi transmittings equipment offer is provided according to the Wi-Fi configuration informations.
CN201710850412.8A 2017-09-19 2017-09-19 Wi Fi connection methods, mobile terminal and computer-readable recording medium CN107493565A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710850412.8A CN107493565A (en) 2017-09-19 2017-09-19 Wi Fi connection methods, mobile terminal and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710850412.8A CN107493565A (en) 2017-09-19 2017-09-19 Wi Fi connection methods, mobile terminal and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107493565A true CN107493565A (en) 2017-12-19

Family

ID=60651726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710850412.8A CN107493565A (en) 2017-09-19 2017-09-19 Wi Fi connection methods, mobile terminal and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107493565A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200567A (en) * 2012-01-05 2013-07-10 中兴通讯股份有限公司 Method and system of wireless fidelity (WiFi) access
CN104640174A (en) * 2015-02-05 2015-05-20 腾讯科技(深圳)有限公司 Method and device for promoting wireless network access points
CN105704716A (en) * 2016-02-29 2016-06-22 宇龙计算机通信科技(深圳)有限公司 VoWi-Fi network access method and device
CN105873034A (en) * 2016-05-19 2016-08-17 徐美琴 Safe hot spot information processing method
CN106211051A (en) * 2016-09-13 2016-12-07 广东欧珀移动通信有限公司 A kind of from being dynamically connected the method for WIFI hot spot, device and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200567A (en) * 2012-01-05 2013-07-10 中兴通讯股份有限公司 Method and system of wireless fidelity (WiFi) access
CN104640174A (en) * 2015-02-05 2015-05-20 腾讯科技(深圳)有限公司 Method and device for promoting wireless network access points
CN105704716A (en) * 2016-02-29 2016-06-22 宇龙计算机通信科技(深圳)有限公司 VoWi-Fi network access method and device
CN105873034A (en) * 2016-05-19 2016-08-17 徐美琴 Safe hot spot information processing method
CN106211051A (en) * 2016-09-13 2016-12-07 广东欧珀移动通信有限公司 A kind of from being dynamically connected the method for WIFI hot spot, device and mobile terminal

Similar Documents

Publication Publication Date Title
CN105282731B (en) Processing configures the method for profile and the electronic device for supporting this method
JP6309540B2 (en) Image processing method, image processing device, terminal device, program, and recording medium
US9678693B2 (en) Method of setting wireless connection via near field communication function and image forming apparatus for performing the method
EP2852201B1 (en) Method, device, system and storage medium for controlling access to a router
US10079826B2 (en) Methods and systems for data entry
US9300706B1 (en) Digital photograph group editing and access
CN104660549B (en) Auth method and device
CN103457951B (en) The method and device of multiple terminals login service device
US8959608B2 (en) Single sign-on for a native application and a web application on a mobile device
US20160302139A1 (en) Selecting a network for a wireless device
US8116679B2 (en) WLAN connection facilitated via near field communication
CN103634294B (en) Information verifying method and device
US9703971B2 (en) Sensitive operation verification method, terminal device, server, and verification system
CN104993981B (en) Control the method and device of equipment access
JP4894826B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, NOTIFICATION METHOD, AND PROGRAM
US20200169495A1 (en) Specifying link layer information in a url
CN106664545A (en) Method and apparatus for installing profile for euicc
CN104933351B (en) The treating method and apparatus of information security
US20170163626A1 (en) Method and device for network access of a smart terminal device
CN104796385B (en) Terminal binding method, apparatus and system
US8806567B1 (en) Using encoded identifiers to provide rapid configuration for network access
US9860738B2 (en) Method for processing multiple pieces of SIM information and electronic device thereof
CN105100415B (en) Login method, mobile terminal
CN104426919B (en) Page sharing method, apparatus and system
US10686602B2 (en) Portable device interface methods and systems

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20171219

WW01 Invention patent application withdrawn after publication