CN107508931A - Wireless network communication method, device, storage medium and computer equipment - Google Patents

Wireless network communication method, device, storage medium and computer equipment Download PDF

Info

Publication number
CN107508931A
CN107508931A CN201710912386.7A CN201710912386A CN107508931A CN 107508931 A CN107508931 A CN 107508931A CN 201710912386 A CN201710912386 A CN 201710912386A CN 107508931 A CN107508931 A CN 107508931A
Authority
CN
China
Prior art keywords
mac address
gateway mac
gateway
computer equipment
arp request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710912386.7A
Other languages
Chinese (zh)
Other versions
CN107508931B (en
Inventor
王伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201710912386.7A priority Critical patent/CN107508931B/en
Publication of CN107508931A publication Critical patent/CN107508931A/en
Application granted granted Critical
Publication of CN107508931B publication Critical patent/CN107508931B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Abstract

The application is related to a kind of wireless network communication method, device, storage medium and computer equipment.The wireless network communication method includes:Receive the first ARP request of the first AP transmissions;Whether can proper communication according to the current gateway MAC Address that first ARP request detection computer equipment uses;When the current gateway MAC Address energy proper communication used in computer equipment, it is continuing with the current gateway MAC Address and carries out wireless communication.Above-mentioned wireless network communication method, device, storage medium and computer equipment can improve stability when computer equipment carries out wireless communication.

Description

Wireless network communication method, device, storage medium and computer equipment
Technical field
The application is related to technical field of information processing, is situated between more particularly to a kind of wireless network communication method, device, storage Matter and computer equipment.
Background technology
Computer equipment is when carrying out wireless communication, it is necessary to gets the MAC (Media of gateway (Gateway) Access Control or Medium Access Control, media access control) address could carry out network service.Tradition Wireless network communication method in, computer equipment is getting a certain AP (Wireless Access Point, accessing wirelessly Access point) in gateway MAC address after, can directly carry out wireless communication using the gateway MAC address.
However, in traditional wireless network communication method, there is the unstable situation of network service.
The content of the invention
The embodiment of the present application provides a kind of wireless network communication method, device, storage medium and computer equipment, Ke Yiti The stability of high wireless communication.
A kind of wireless network communication method, methods described include:Receive the first ARP request of the first AP transmissions;According to institute Whether state the current gateway MAC Address that uses of the first ARP request detection computer equipment can proper communication;When in computer equipment During the current gateway MAC Address energy proper communication used, it is continuing with the current gateway MAC Address progress wireless network and leads to Letter.
In one of the embodiments, methods described also includes:When being unable to proper communication, extracting the first ARP please Gateway MAC address in asking;By the current gateway MAC Address used with being substituted for the gateway MAC in first ARP request Location, and carry out wireless communication using the gateway MAC address after replacing.
In one of the embodiments, methods described also includes:Gateway MAC address after using the replacement can be normal During communication, solidify the gateway MAC address after the replacement.
In one of the embodiments, before the first ARP request that the first AP is sent is received, methods described also includes: Obtain the gateway ip address for the 2nd AP being connected with computer equipment;Second ARP request is initiated according to the gateway ip address, connect Receive each AP and be directed to the first arp response that second ARP request is made;When detecting the presence of gateway conflict, extraction is wherein Gateway MAC address in one the first arp response, using the gateway MAC address of extraction as carrying out wireless communication Gateway MAC address;When detecting the gateway MAC address energy proper communication using the extraction, solidify the gateway of the extraction MAC Address.
In one of the embodiments, methods described also includes:When detect using the extraction gateway MAC address not During energy proper communication, the gateway MAC address in another first arp response is extracted;The current gateway MAC Address used is replaced Gateway MAC address into another first arp response of extraction;As another gateway MAC for detecting the use extraction During the energy proper communication of address, solidify another gateway MAC address of the extraction.
In one of the embodiments, the current net used according to first ARP request detection computer equipment Close MAC Address whether can proper communication, including:The current gateway used according to first ARP request detection computer equipment Whether MAC Address is cured;Judge whether the current gateway MAC Address can proper communication according to whether being cured.
In one of the embodiments, methods described also includes:To dns server send DNS query, when DNS query into During work(, the current gateway MAC Address energy proper communication used in the computer equipment is judged.
A kind of wireless network communication apparatus, described device include:ARP processing modules, the sent for receiving the first AP One ARP request;Communication check module, for the current gateway MAC used according to first ARP request detection computer equipment Address whether can proper communication;Gateway MAC address processing module, for as the current gateway MAC used in computer equipment During the energy proper communication of location, it is continuing with the current gateway MAC Address and carries out wireless communication.
A kind of computer-readable recording medium, is stored thereon with computer program, and the computer program is held by processor The step of wireless network communication method in the various embodiments described above is realized during row.
A kind of computer equipment, including memory, processor and storage can be run on a memory and on a processor Computer program, the wireless network communication method in the various embodiments described above is realized described in the computing device during computer program The step of.
Above-mentioned wireless network communication method, device, storage medium and computer equipment, when computer equipment receives first During the first ARP request that AP is sent, and when gateway MAC address energy proper communication currently used in computer equipment, it can neglect Gateway MAC address slightly in first ARP request, is not changed to currently used gateway MAC address, to keep current net Close the stability of MAC Address.So that after can avoiding updating gateway MAC address as the gateway MAC address in the first ARP, nothing be present Method carries out the risk of wireless communication by the first AP, improves the stability of wireless communication.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of application, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the application environment schematic diagram of wireless network communication method in one embodiment
Fig. 2 is the cut-away view of one embodiment Computer equipment;
Fig. 3 is the flow chart of wireless network communication method in one embodiment;
Fig. 4 is the flow chart of wireless network communication method in another embodiment;
Fig. 5 is the selection and the flow chart of the process of solidification in one embodiment to gateway MAC address;
Fig. 6 is the flow chart of wireless network communication method in another embodiment;
Fig. 7 is the structured flowchart of wireless network communication apparatus in one embodiment;
Fig. 8 is the structured flowchart of wireless network communication apparatus in another embodiment;
Fig. 9 is the cut-away view of mobile phone in one embodiment.
Embodiment
In order that the object, technical solution and advantage of the application are more clearly understood, it is right below in conjunction with drawings and Examples The application is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the application, and It is not used in restriction the application.
It is appreciated that term " first " used in this application, " second " etc. can be used to describe various elements herein, But these elements should not be limited by these terms.These terms are only used for distinguishing first element and another element.Citing comes Say, in the case where not departing from scope of the present application, the first ARP request can be referred to as the second ARP request, and similarly, can Second ARP request is referred to as the first ARP request.First ARP request and the second ARP request both ARP requests, but it is not Same ARP request.
Fig. 1 is the application environment schematic diagram of wireless network communication method in one embodiment.As shown in figure 1, this applies ring Border includes computer equipment 110 and AP120.Wherein, AP120 may include multiple, and computer equipment 110 can enter with multiple AP120 Row communication, and wireless communication can be carried out by connecting one of AP120 or other AP.In one embodiment, count Calculation machine equipment can obtain the gateway MAC address in the one of AP120 being connected to, to use acquired gateway MAC address Wireless communication is carried out, for example carries out WiFi (WIreless Fidelity, Wireless Fidelity) communications.
Fig. 2 is the internal structure schematic diagram of one embodiment Computer equipment.As shown in Fig. 2 the computer equipment bag Include processor, memory and the network interface connected by system bus.Wherein, the processor, which is used to provide, calculates and controls energy Power, support the operation of whole computer equipment.Memory is used for data storage, program, and/or instruction code etc., on memory At least one computer program is stored, the computer program can be executed by processor, to realize what is provided in the embodiment of the present application Suitable for the wireless network communication method of computer equipment.Memory may include magnetic disc, CD, read-only memory (Read- Only Memory, ROM) etc. non-volatile memory medium, or random access memory (Random-Access-Memory, RAM) Deng.For example, in one embodiment, memory includes non-volatile memory medium and built-in storage.Non-volatile memory medium It is stored with operating system and computer program.The computer program can be performed by processor, for realizing following each reality Apply a kind of wireless network communication method that example is provided.Built-in storage is the operating system computer in non-volatile memory medium Program provides the running environment of cache.Network interface can be Ethernet card or wireless network card etc., by with based on outside Machine equipment is calculated to be communicated.The computer equipment can be mobile phone, tablet personal computer or personal digital assistant or Wearable Deng.
It will be understood by those skilled in the art that the structure shown in Fig. 2, the only part related to application scheme knot The block diagram of structure, the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment are not formed It can include, than more or less parts shown in figure, either combining some parts or arranging with different parts.Such as The computer equipment may also include display screen and input unit.Display screen can be LCDs or electric ink display screen Deng input unit can be button, the track set on the touch layer or computer equipment shell covered on display screen Ball or Trackpad or external keyboard, Trackpad or mouse etc..
In one embodiment, as shown in Figure 3, there is provided a kind of wireless network communication method.The present embodiment is mainly with this Method is applied to illustrate exemplified by computer equipment 110 as shown in Figure 1, and this method includes:
Step 302, the first ARP request that the first AP is sent is received.
In the present embodiment, the first AP is the wireless aps that ARP request is sent to computer equipment, and the first AP can be computer The current connected AP of equipment (the 2nd AP i.e. hereinafter), can also not connected by computer equipment, but actively to meter Calculate the wireless aps that machine equipment sends ARP request.First ARP (Address Resolution Protocol, address resolution protocol) Ask as the ARP request (ARP Request) transmitted by AP to computer equipment.In one embodiment, also it is integrated with AP Corresponding gateway device so that terminal can realize radio communication when being connected to the AP by the AP.
First AP can send the first ARP request according to default frequency to computer equipment, be included in first ARP request Gateway IP (Internet Protocol, internet protocol) address, gateway MAC address and computer equipment IP address.By with First ARP request can be received by having put the computer equipment of the computer equipment IP address.Wherein, default frequency can be to appoint Anticipate suitable frequency, for example can be to send once for 5 seconds.
Computer equipment can obtain gateway MAC address information therein when receiving first ARP request.At one In embodiment, computer equipment can also send the second arp response (ARP Response) to the first AP, to cause the first AP Know that computer equipment have received the first ARP request.Wherein, the second arp response is that computer equipment rings to the ARP that AP is sent Should.
Step 304, whether the current gateway MAC Address used according to the first ARP request detection computer equipment can be normal Communication.
In the present embodiment, computer equipment triggers the current gateway MAC to using after first ARP request is received Address whether can proper communication detection.The current gateway MAC Address used in computer equipment is computer equipment setting For carrying out the gateway MAC address of wireless communication, represent that computer is used to carry out wireless network using the gateway MAC address Communication.Wherein, proper communication represents that computer equipment is able to access that outer net, that is, represents that computer equipment can surf the Net.
Such as when the computer equipment uses the outer net of current gateway MAC Address input field entitled " m.baidu.com " On data, or under the situation such as outer online data of input field entitled " m.sina.cn ", that is, represent that computer equipment makes Current gateway MAC Address energy proper communication.Conversely, if outer network data can not be accessed, then it represents that what computer equipment used Current gateway MAC Address is unable to proper communication.
Step 306, when the current gateway MAC Address energy proper communication used in computer equipment, it is continuing with current Gateway MAC address carries out wireless communication.
In the present embodiment, when computer equipment judges that using current gateway MAC Address network service can be normally carried out, it can neglect Slightly first ARP request, that is, ignore the gateway MAC address information included in the first ARP, gateway not currently used to this MAC Address is changed, and is continuing with current gateway MAC Address and is carried out wireless communication, keeps currently used gateway MAC Address is constant.
The wireless network communication method that the present embodiment is provided, when computer equipment receives the first of the first AP transmissions During ARP request, and when gateway MAC address energy proper communication currently used in computer equipment, the first ARP can be neglected please Gateway MAC address in asking, currently used gateway MAC address is not changed, to keep the steady of current gateway MAC Address It is qualitative.So that can avoid update gateway MAC address be the first ARP in gateway MAC address after, exist can not by the first AP come The risk of wireless communication is carried out, improves the stability of wireless communication.
In one embodiment, as shown in Figure 4, there is provided another wireless network communication method, this method also include pair The current gateway MAC Address used is unable to the processing procedure of proper communication.This method includes:
Step 402, the first ARP request that the first AP is sent is received.
Step 404, whether the current gateway MAC Address used according to the first ARP request detection computer equipment can be normal Communication, if so, then performing step 406, otherwise, perform step 408.
Step 406, it is continuing with current gateway MAC Address and carries out wireless communication.
Step 408, the gateway MAC address in the first ARP request is extracted.
In the present embodiment, computer equipment is detecting that it is normal wireless that the current gateway MAC Address used can not be carried out During network service, such as when showing as surfing the Net, the gateway MAC address included in first ARP request can extract.
In one embodiment, computer equipment can in the following ways in one or more combinations realize to net Close the acquisition of MAC Address:
Computer equipment can be directed to the first received ARP request, identify in first ARP request be used for deposit net The information of the fixed position of MAC Address is closed, extracts the information of the fixed position, to obtain the gateway in the first ARP request MAC Address.Or the information that corresponding gateway MAC address mark is carried in first ARP request is can recognize that, extract this and fix The information of opening position, to realize the acquisition to the gateway MAC address in the first ARP request.Or also recognizable first ARP request In the information format of all information that includes, that identifies meets the information of gateway MAC address form, to realize to gateway MAC The acquisition of address information.
Step 410, the gateway MAC address current gateway MAC Address used being substituted in the first ARP request, and make Wireless communication is carried out with the gateway MAC address after replacement.
In the present embodiment, the gateway MAC address included in the first ARP request of acquisition can be arranged to by computer equipment New gateway MAC address used in computer equipment, the replacement to used gateway MAC address is realized, and use replacement Gateway MAC address afterwards carries out wireless communication.By detecting that currently used gateway MAC address can not proper communication When, the gateway MAC address used is updated in time, can improve computer equipment can recover normal wireless network service and Shi Xing.
In one embodiment, after above-mentioned steps 410, this method also includes:When using gateway MAC after replacement During the energy proper communication of location, the gateway MAC address after solidification replacement.
In the present embodiment, computer equipment can detect using the net after replacing after the gateway MAC address that substituted for using Whether close MAC Address can proper communication.When detect can proper communication when, further to the gateway MAC used after renewal Location is solidified, i.e., the gateway MAC address used in holding computer equipment is constant.Such as can be to the net after used replacement Close MAC Address and permanent is set.So that when keeping connection status with above-mentioned first AP, keep using in the first AP Gateway MAC address carries out radio communication, not as other AP ARP requests sent and/or arp response are currently used to change Gateway MAC address, to keep the stability of wireless communication.
In one embodiment, the above method also includes the process of the selection and solidification to gateway MAC address, and the process can Performed before above-mentioned steps 302, as shown in figure 5, the process includes:
Step 502, the gateway ip address for the 2nd AP being connected with computer equipment is obtained.
In the present embodiment, AP that the 2nd AP is connected by computer equipment, when computer equipment and a certain AP are successfully connected When, the gateway ip address of the AP can be obtained.I.e. when computer equipment connects upper a certain WiFi, respective wireless AP gateway is obtained IP address.
Step 504, the second ARP request is initiated according to gateway ip address, receives what each AP made for the second ARP request First arp response.
Second ARP request is the ARP request initiated from computer equipment to wireless aps, and computer equipment is by sending ARP Request, to search workable gateway MAC address.IP address comprising computer equipment itself, computer in second ARP request Gateway MAC address that equipment uses and the gateway ip address used so that the AP with the gateway ip address can be received Second ARP request, and send the first arp response to computer equipment.Wherein, the gateway IP included in second ARP request Address is the gateway ip address obtained in above-mentioned steps 502.Step 502 can be included by receiving in the AP of second ARP request In the 2nd AP.
It is to be appreciated that the AP for receiving second ARP request there may be it is multiple, each receive the 2nd ARP please The AP asked can make the first arp response to the computer equipment.Wherein, the first arp response is to be sent from AP to computer equipment Arp response.The gateway ip address in the AP for sending the arp response, in addition to gateway MAC are contained in first arp response Location.Computer equipment can receive the first arp response that each AP is sent.
Step 506, when detecting the presence of gateway conflict, with extracting gateway MAC in one of them first arp response Location, using the gateway MAC address of extraction as the gateway MAC address for carrying out wireless communication.
In the present embodiment, when computer equipment receives the first arp response that multiple AP are sent, there is gateway punching in judgement It is prominent.I.e. when the gateway ip address for detecting other AP is identical with the 2nd AP gateway ip address, there is gateway conflict in judgement.This When, computer equipment can extract the gateway MAC address in one of them first arp response.
The gateway MAC address of extraction with being provided for carrying out the gateway MAC of wireless communication by computer equipment Location, i.e., the fixed gateway MAC address used.When needing to carry out wireless communication, entered using the gateway MAC address of the fixation Row wireless communication.
Step 508, when detecting the gateway MAC address energy proper communication using extraction, with solidifying the gateway MAC of extraction Location.
In the present embodiment, computer equipment it is detectable using the gateway MAC address currently extracted whether can proper communication, Whether can normally surf the Net, if so, then solidifying the gateway MAC address currently extracted, that is, keep using in computer equipment Gateway MAC address it is constant, not as currently used gateway is changed in other AP ARP requests sent and/or arp response MAC Address, to keep the stability of wireless communication.
In one embodiment, the above method also includes being directed to that using the gateway MAC address of extraction positive normal open can not be carried out The processing procedure of letter.The process includes:When detecting that the gateway MAC address using extraction is unable to proper communication, extraction is another Gateway MAC address in individual first arp response;The current gateway MAC Address used is substituted for another the first ARP of extraction Gateway MAC address in response;When detecting another gateway MAC address energy proper communication using extraction, solidification extraction Another gateway MAC address.
It is replaceable when detecting that the gateway MAC address currently extracted can not carry out wireless communication in the present embodiment Used gateway MAC address.Computer equipment can continue in multiple first arp responses of acquisition, again selection one, and Extract the gateway MAC address in the first arp response chosen again.Wherein, the gateway MAC address extracted again with choosing before Gateway MAC address differ.
Computer equipment can fix the gateway MAC address extracted again, and detection is using the gateway MAC address extracted again It is no to carry out proper communication, if so, then solidifying the gateway MAC address extracted again.
In one embodiment, computer equipment is when detecting that currently fixed gateway MAC address can not recommunicate, The sustainable gateway MAC address extracted in another first different arp response, is updated to for carrying out wireless communication Gateway MAC address, until when detecting the gateway MAC address energy proper communication after using renewal, the gateway MAC after solidification renewal Address, or all gateway MAC address are detected and finished.To realize that computer equipment can successfully carry out wireless communication. And after wireless communication is realized, currently used gateway MAC address is no longer changed, keep the stability of radio communication.
In one embodiment, step 304 includes:The current net used according to the first ARP request detection computer equipment Close whether MAC Address is cured;Judge whether current gateway MAC Address can proper communication according to whether being cured.
In the present embodiment, when computer equipment receives the first ARP request of the first AP transmissions, and/or the is received During one arp response, the state of gateway MAC address used in computer equipment is can detect, when the state is in solid state When, then judge the current gateway MAC Address energy proper communication used in computer equipment, the first ARP request can be neglected, to continue Wireless communication is carried out using current gateway MAC Address, so as to improve the stability of wireless communication.Meanwhile protecting When holding solid state, ignore first ARP request, can also reduce processing of the computer equipment to unnecessary data, save The resource of itself.
In one embodiment, the above method also includes:DNS query is sent to dns server, when DNS query success, Judge the current gateway MAC Address energy proper communication used in computer equipment.
In the present embodiment, the usable current gateway MAC Address initiation DNS of computer equipment (Domain Name System, Domain name system) server initiation DNS query.Wherein, it may include that the IP inquiries of the website to presetting domain name please in the DNS query Ask, the default domain name can be the domain name of any setting.As the IP that domain name website is preset to this for receiving dns server return During location, then DNS query success is judged.Wherein, in the case of only network is normal, DNS query could succeed, when detecting During DNS query success, the current gateway MAC Address energy proper communication used in computer equipment is judged.
In the various embodiments described above need to detect the gateway MAC address that uses of computer equipment whether can proper communication mistake Journey, it can be judged by DNS query.
In one embodiment, as shown in Figure 6, there is provided another wireless network communication method, this method include:
Step 602, the gateway ip address for the 2nd AP being connected with computer equipment is obtained.
In the present embodiment, computer equipment can connect a certain AP, and when being connected to a certain AP, the AP of the connection is second AP.The gateway ip address can be the gateway IP that is included in the ARP requests that are sent to computer equipment of the 2nd AP or arp response Location.For example the gateway ip address is 192.168.0.1.
Wherein, the first ARP request, the first arp response represent ARP request, the arp response sent by AP respectively;2nd ARP Request, the second arp response represent ARP request, the arp response sent by computer equipment respectively.
Step 604, the second ARP request is initiated according to gateway ip address, receives what each AP made for the second ARP request First arp response.
In the present embodiment, in the ARP request that computer equipment is sent, the IP address comprising computer equipment itself, calculate The gateway MAC address and gateway ip address of machine equipment.The gateway ip address is the gateway IP that is obtained in above-mentioned steps 602 Location.In the arp response that AP is sent, gateway IP address in itself and gateway gateway MAC address are included.Gateway in a certain AP When IP address is identical with the gateway ip address carried in the second ARP request, the first arp response can be sent to computer equipment.
Computer equipment is to find the gateway MAC address of gateway to the AP purposes for sending ARP request.Computer equipment It is in same LAN with gateway, if the equipment in same LAN is communicated, uses gateway MAC address.Meter Calculate and use IP address between machine equipment and outer net.For computer equipment in order to access outer net, all packets will carry net The gateway MAC address of pass.
For example, when exist AP1 and AP2 two AP, AP1 pass through WAN (Wide Area Network, wide area network) even Outer net is connect, and AP2 connects the gateway of AP1 LAN mouths, AP1 and AP2 by LAN (Local Area Network, LAN) mouth IP address is identical, is such as 192.168.1.1.For such a situation, gateway MAC address that computer equipment will only have AP1 Gateway MAC address as gateway could surf the Net., should when the second ARP request that computer equipment is initiated for such a situation Second ARP request carries gateway ip address 192.168.1.1, then above-mentioned AP1 and AP2 can send first to computer equipment Arp response.
Step 606, detect whether gateway conflict be present, if so, then performing step 608, otherwise, perform step 620.
In the present embodiment, computer equipment can detect whether to receive the first arp response that multiple AP are sent, and work as computer When equipment receives the first arp response that more than one AP is sent, there is gateway conflict in judgement.Other AP net ought be detected When pass IP address is identical with the 2nd AP gateway ip address, there is gateway conflict in judgement.Such as when for above-mentioned two gateway IP During the identical AP1 and AP2 of location, there is gateway conflict in judgement.
In one embodiment, before step 604, in addition to:Detect whether the gateway ip address can use, if so, then Perform step 604.
In the present embodiment, whether the detectable gateway ip address currently connected of computer equipment is workable gateway IP Location, if so, then initiating the second ARP request according to gateway ip address, otherwise, it can generate and show that gateway ip address is disabled and carry Show information, choose whether to continue to connect the 2nd AP so as to obtain user, and respond according to the operation of the user received and trigger Instruction.
Step 608, the gateway MAC address in one of them first arp response is extracted, the gateway MAC address of extraction is made For the gateway MAC address for carrying out wireless communication.
In one embodiment, gateway MAC in extractable the first arp response being firstly received of computer equipment Location, to improve the efficiency for realizing radio communication.The gateway MAC address of extraction can be provided for carrying out wirelessly by computer equipment The gateway MAC address of network service, i.e., the fixed gateway MAC address used so that carried out using the gateway MAC address of the fixation Wireless communication.
In one embodiment, computer equipment can deposit the gateway MAC address in each first arp response received Enter in corresponding ARP lists, and one of gateway MAC address is extracted from the ARP lists.Wherein, can be rung according to the first ARP The reception time sequencing answered stores, by the gateway MAC address sequence in the first arp response of rear reception formerly receive it Afterwards.So as to extract a gateway MAC address in ARP lists every time.
In one embodiment, computer equipment can be directed to each detected whether can proper communication gateway MAC Location, corresponding testing result is stored, form communication check record.The gateway that history uses is contained in communication check record The newest testing result of MAC Address, i.e., whether can proper communication result.
After the first arp response that multiple AP make for the second ARP request is received, obtain in each arp response Gateway MAC address.Detection knot of the inquiry with the presence or absence of one or more gateway MAC address obtained from communication check record Fruit.If so, the gateway MAC address of the energy proper communication of state-of-the-art record is then chosen, for carrying out the gateway MAC of wireless communication Address., can be preferential if inquiring the testing result in the presence of one or more gateway MAC address obtained to be unable to proper communication Other gateway MAC address are chosen, for carrying out the gateway MAC address of wireless communication.Recorded by forming communication check, Recorded according to the communication check to choose gateway MAC address, the effect for selecting the gateway MAC address for being capable of proper communication can be improved Rate.
Step 610, detection using extraction gateway MAC address whether can proper communication, if so, then perform step 612, it is no Then, return and re-execute step 608.
In one embodiment, detecting that renewal is logical when being unable to proper communication using the gateway MAC address of this extraction Letter detection record, and choose again and detect gateway MAC address to be used.Wherein, if not including in communication check record The gateway MAC address of this extraction, then the gateway MAC address of this extraction and testing result are remembered added to the communication check In record.If comprising during communication check is recorded, this inspection is substituted for the testing result of gateway MAC address of this extraction Survey result.
In one embodiment, after it have chosen the gateway MAC address for carrying out wireless communication, can trigger automatically DNS query, whether successfully judge whether fixed gateway MAC address can proper communication according to DNS query.When detecting DNS During successful inquiring, fixed gateway MAC address energy proper communication is judged.
The gateway MAC address chosen can be used in computer equipment, and the IP that the website of default domain name is sent to dns server is looked into Request is ask, when receiving when presetting the IP address of domain name website to this of dns server return, then judges DNS query success.
Computer equipment is required for knowing the targeted website IP address of access to access outer net.But generally just know that mesh Mark the domain name of website, the IP address without knowing targeted website.Therefore, it is necessary to get IP address by DNS processes.Treat as When work(gets the IP address of targeted website, DNS query success is judged, i.e., whether fixed gateway MAC address can proper communication.
For example, the domain name of the targeted website of default access is " m.baidu.com ", and computer equipment can be to dns Server:192.168.0.1 the DNS query of inquiry " m.baidu.com " IP address is sent.Dns servers:192.168.0.1 IP address corresponding to " m.baidu.com " can be replied to computer equipment, for example the IP address has:14.215.178.37 and 14.215.178.36.During this, DNS query success, judge whether fixed gateway MAC address can proper communication.
Step 612, gateway MAC address is solidified.
In the present embodiment, computer equipment is set after DNS query success to currently used gateway MAC address Permanent, solidified, to carry out wireless communication using current gateway MAC Address.So that it is above-mentioned exist AP1 and In the case of AP2, the gateway MAC address after solidification will not be changed.
Step 614, the first ARP request that the first AP is sent is received.
In the present embodiment, the first AP includes the 2nd above-mentioned AP, is the AP that ARP request is sent to computer equipment.This In one ARP request, the IP address of the IP address of gateway itself, gateway MAC address and computer equipment is included.
Step 616, whether the current gateway MAC Address used according to the first ARP request detection computer equipment is cured, If so, then performing step 618, otherwise, step 620 is performed.
In the present embodiment, when the current gateway MAC Address used is cured, the IP address of current gateway can be set and rung The solidification mark answered.So that after subsequently receiving the first ARP request again, the gateway ip address in the request is extracted, detection calculates Whether machine equipment is provided with solidification to the gateway ip address marks, if so, then judge the current gateway MAC Address that uses whether by Solidification.The solidification mark of setting can mark for NO_ARP and NUD_NOARP recording status.
Step 618, it is continuing with current gateway MAC Address and carries out wireless communication.
Step 620, the gateway MAC address used in computer equipment is updated, is carried out using the gateway MAC address after renewal Wireless communication.
Above-mentioned wireless network communication method, may be such that detect it is multiple there is identical gateway IP when, solidification wherein One gateway MAC address that can carry out normal wireless network service, to avoid the gateway MAC address used in computer equipment not Convert disconnectedly, cause wireless communication unstable.
In one embodiment, as shown in Figure 7, there is provided a kind of wireless network communication apparatus, the device include:
ARP processing modules 702, the first ARP request sent for receiving the first AP.
Communication check module 704, for according to the first ARP request with detecting the current gateway MAC that uses of computer equipment Location whether can proper communication.
Gateway MAC address processing module 706, for can be normal when the current gateway MAC Address that is used in computer equipment During communication, it is continuing with current gateway MAC Address and carries out wireless communication.
In one embodiment, gateway MAC address processing module 706 is additionally operable to when being unable to proper communication, extraction first Gateway MAC address in ARP request;The gateway MAC current gateway MAC Address used being substituted in the first ARP request Location, and carry out wireless communication using the gateway MAC address after replacing.
In one embodiment, gateway MAC address processing module 604 is additionally operable to when using gateway MAC address after replacement During energy proper communication, the gateway MAC address after solidification replacement.
In one embodiment, as shown in Figure 8, there is provided another wireless network communication apparatus, the device also include:
Gateway ip address acquisition module 708, for obtaining the gateway ip address for the 2nd AP being connected with computer equipment.
ARP processing modules 702 are additionally operable to initiate the second ARP request according to gateway ip address, receive each AP for second The first arp response that ARP request is made.
Gateway MAC address processing module 706 be additionally operable to when detect the presence of gateway conflict when, extract one of them first Gateway MAC address in arp response, using the gateway MAC address of extraction as the gateway MAC for carrying out wireless communication Location;When detecting the gateway MAC address energy proper communication using extraction, solidify the gateway MAC address of extraction.
In one embodiment, gateway MAC address processing module 706 is additionally operable to work as the gateway MAC detected using extraction When address is unable to proper communication, the gateway MAC address in another first arp response is extracted;By the current gateway MAC used Location is substituted for the gateway MAC address in another first arp response of extraction;When another gateway for detecting use extraction During MAC Address energy proper communication, solidify another gateway MAC address of extraction.
In one embodiment, communication check module 704 is additionally operable to detect computer equipment use according to the first ARP request Current gateway MAC Address whether be cured;Judge whether current gateway MAC Address can proper communication according to whether being cured.
In one embodiment, communication check module 704 is additionally operable to send DNS query to dns server, works as DNS query During success, the current gateway MAC Address energy proper communication used in computer equipment is judged.
The division of modules is only used for for example, in other embodiments in said apparatus, can by the device according to Need to be divided into different modules, to complete all or part of function of said apparatus.Modules in said apparatus can be complete Portion or part are realized by software, hardware and combinations thereof.Above-mentioned each module can be embedded in or independently of calculating in the form of hardware In processor in machine equipment, it can also be stored in a software form in the memory in computer equipment, in order to processor Call to perform and operated corresponding to above modules.The processor can be CPU (CPU), microprocessor, monolithic Machine etc..
In one embodiment, there is provided a kind of computer-readable recording medium, be stored thereon with computer program, calculate Machine program realizes the step of wireless network communication method in the various embodiments described above when being executed by processor.
In one embodiment, following steps are realized when computer program is executed by processor:Receive the first AP transmissions First ARP request;Whether can proper communication according to the current gateway MAC Address that the first ARP request detection computer equipment uses; When the current gateway MAC Address energy proper communication used in computer equipment, it is continuing with current gateway MAC Address and carries out nothing Line network service.
In one embodiment, following steps are also realized when computer program is executed by processor:When being unable to proper communication When, extract the gateway MAC address in the first ARP request;The current gateway MAC Address used is substituted in the first ARP request Gateway MAC address, and using replace after gateway MAC address carry out wireless communication.
In one embodiment, following steps are also realized when computer program is executed by processor:After using replacement During gateway MAC address energy proper communication, the gateway MAC address after solidification replacement.
In one embodiment, following steps are also realized when computer program is executed by processor:Acquisition is set with computer 2nd AP of standby connection gateway ip address;Second ARP request is initiated according to gateway ip address, receives each AP for second The first arp response that ARP request is made;When detecting the presence of gateway conflict, the net in one of them first arp response is extracted MAC Address is closed, using the gateway MAC address of extraction as the gateway MAC address for carrying out wireless communication;Make when detecting During with the gateway MAC address energy proper communication of extraction, solidify the gateway MAC address of extraction.
In one embodiment, following steps are also realized when computer program is executed by processor:When detecting that use carries When the gateway MAC address taken is unable to proper communication, the gateway MAC address in another first arp response is extracted;Work as what is used Preceding gateway MAC address is substituted for the gateway MAC address in another first arp response of extraction;Extraction is used when detecting During another gateway MAC address energy proper communication, solidify another gateway MAC address of extraction.
In one embodiment, following steps are also realized when computer program is executed by processor:According to the first ARP request Whether the current gateway MAC Address that detection computer equipment uses is cured;According to whether it is cured with judging current gateway MAC Location whether can proper communication.
In one embodiment, following steps are also realized when computer program is executed by processor:Sent to dns server DNS query, when DNS query success, judge the current gateway MAC Address energy proper communication used in computer equipment.
In one embodiment, there is provided a kind of computer equipment, including memory, processor and storage are on a memory And the computer program that can be run on a processor, realize during computing device computer program wireless in the various embodiments described above The step of network communication method.
The embodiment of the present application additionally provides a kind of computer equipment.As shown in figure 9, for convenience of description, illustrate only with The related part of the embodiment of the present application, particular technique details do not disclose, refer to the embodiment of the present application method part.The calculating Machine equipment can be include mobile phone, tablet personal computer, PDA (Personal Digital Assistant, personal digital assistant), Any terminal devices such as POS (Point of Sales, point-of-sale terminal), vehicle-mounted computer, Wearable, using computer equipment as Exemplified by mobile phone:
Fig. 9 is the block diagram of the part-structure of the mobile phone related to the computer equipment of the embodiment of the present application offer.Reference chart 9, mobile phone 900 includes:Radio frequency (Radio Frequency, RF) circuit 910, memory 920, input block 930, display unit 940th, sensor 950, voicefrequency circuit 960, Wireless Fidelity (wireless fidelity, WiFi) module 970, processor 980, And the grade part of power supply 990.It will be understood by those skilled in the art that the handset structure shown in Fig. 9 does not form the limit to mobile phone It is fixed, it can include than illustrating more or less parts, either combine some parts or different parts arrangement.
Wherein, RF circuits 910 can be used for receive and send messages or communication process in, the reception and transmission of signal can be by base stations After downlink information receives, handled to processor 980;Up data can also be sent to base station.Generally, RF circuits include but Be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuits 910 can also be communicated by radio communication with network and other equipment.Above-mentioned channel radio Letter can use any communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division MultIPle Access, CDMA), WCDMA (Wideband Code Division MultIPle Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE)), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 920 can be used for storage software program and module, and processor 980 is stored in memory 920 by operation Software program and module, so as to perform the various function application of mobile phone and data processing.Memory 920 can mainly include Program storage area and data storage area, wherein, program storage area can storage program area, the application journey needed at least one function Sequence (such as the application program of sound-playing function, application program of image player function etc.) etc.;Data storage area can store root Created data (such as the IP address of mobile phone, gateway MAC address are used according to mobile phone;The IP address of gateway, gateway MAC Location etc.) etc..In addition, memory 920 can include high-speed random access memory, nonvolatile memory, example can also be included Such as at least one disk memory, flush memory device or other volatile solid-state parts.
Input block 930 can be used for the numeral or character information for receiving input, and produce with the user of mobile phone set with And the key signals input that function control is relevant.Specifically, input block 930 may include that contact panel 931 and other inputs are set Standby 932.Contact panel 931, alternatively referred to as touch-screen, collecting touch operation of the user on or near it, (for example user makes With the operation of any suitable object such as finger, stylus or annex on contact panel 931 or near contact panel 931), and Corresponding attachment means are driven according to formula set in advance.In one embodiment, contact panel 931 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 980, and the order sent of reception processing device 980 and can be performed.In addition, can To realize contact panel 931 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 931, input block 930 can also include other input equipments 932.Specifically, other input equipments 932 can include but unlimited One or more in physical keyboard, function key (such as volume control button, switch key etc.) etc..
Display unit 940 can be used for display by user input information or be supplied to user information and mobile phone it is various Menu.Display unit 940 may include display panel 941.In one embodiment, liquid crystal display (Liquid can be used Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) To configure display panel 941.In one embodiment, contact panel 931 can cover display panel 941, when contact panel 931 is examined After measuring the touch operation on or near it, processor 980 is sent to determine the type of touch event, is followed by subsequent processing device 980 provide corresponding visual output according to the type of touch event on display panel 941.Although in fig.9, contact panel 931 and display panel 941 are the parts independent as two to realize the input of mobile phone and input function, but in some implementations In example, contact panel 931 and display panel 941 can be integrated and realize input and the output function of mobile phone.
Mobile phone 900 may also include at least one sensor 950, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 941, and proximity transducer can close display panel when mobile phone is moved in one's ear 941 and/or backlight.Motion sensor may include acceleration transducer, can detect by acceleration transducer and adds in all directions The size of speed, size and the direction of gravity are can detect that when static, application (such as the horizontal/vertical screen available for identification mobile phone posture Switching), Vibration identification correlation function (such as pedometer, tap) etc.;In addition, mobile phone can also configure gyroscope, barometer, humidity Other sensors such as meter, thermometer, infrared ray sensor etc..
Voicefrequency circuit 960, loudspeaker 961 and microphone 962 can provide the COBBAIF between user and mobile phone.Audio-frequency electric Electric signal after the voice data received conversion can be transferred to loudspeaker 961, sound is converted to by loudspeaker 961 by road 960 Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, is turned after being received by voicefrequency circuit 960 Voice data is changed to, then after voice data output processor 980 is handled, another mobile phone can be sent to through RF circuits 910, or Person exports voice data to memory 920 so as to subsequent treatment.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 970 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 9 is shown WiFi module 970, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can omit as needed.
Processor 980 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to Cross operation or perform the software program and/or module being stored in memory 920, and call and be stored in memory 920 Data, the various functions and processing data of mobile phone are performed, so as to carry out integral monitoring to mobile phone.In one embodiment, handle Device 980 may include one or more processing units.In one embodiment, processor 980 can integrate application processor and modulation Demodulation processor, wherein, application processor mainly handles operating system, user interface and application program etc.;Modulation /demodulation is handled Device mainly handles radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 980.
Mobile phone 900 also includes the power supply 990 (such as battery) to all parts power supply, it is preferred that power supply can pass through electricity Management system and processor 980 are logically contiguous, so as to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.
In one embodiment, mobile phone 900 can also include camera, bluetooth module etc..
In one embodiment, following steps are realized during computing device computer program:Receive the of the first AP transmissions One ARP request;Whether can proper communication according to the current gateway MAC Address that the first ARP request detection computer equipment uses;When During the current gateway MAC Address energy proper communication used in computer equipment, it is continuing with current gateway MAC Address and carries out wirelessly Network service.
In one embodiment, following steps are also realized during computing device computer program:When being unable to proper communication, Extract the gateway MAC address in the first ARP request;The net current gateway MAC Address used being substituted in the first ARP request MAC Address is closed, and wireless communication is carried out using the gateway MAC address after replacing.
In one embodiment, following steps are also realized during computing device computer program:Net after using replacement When closing MAC Address energy proper communication, the gateway MAC address after solidification replacement.
In one embodiment, following steps are also realized during computing device computer program:Acquisition and computer equipment 2nd AP of connection gateway ip address;Second ARP request is initiated according to gateway ip address, each AP is received and is directed to the 2nd ARP Ask the first arp response made;When detecting the presence of gateway conflict, the gateway in one of them first arp response is extracted MAC Address, using the gateway MAC address of extraction as the gateway MAC address for carrying out wireless communication;Used when detecting During the gateway MAC address energy proper communication of extraction, solidify the gateway MAC address of extraction.
In one embodiment, following steps are also realized during computing device computer program:Extraction is used when detecting Gateway MAC address when being unable to proper communication, extract the gateway MAC address in another first arp response;It is current by what is used Gateway MAC address is substituted for the gateway MAC address in another first arp response of extraction;It is another using what is extracted when detecting During one gateway MAC address energy proper communication, solidify another gateway MAC address of extraction.
In one embodiment, following steps are also realized during computing device computer program:Examined according to the first ARP request Survey whether the current gateway MAC Address that computer equipment uses is cured;Judge current gateway MAC Address according to whether being cured Whether can proper communication.
In one embodiment, following steps are also realized during computing device computer program:Sent to dns server DNS query, when DNS query success, judge the current gateway MAC Address energy proper communication used in computer equipment.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program.The computer program is storable on memory, for example is stored in In one non-volatile computer read/write memory medium.When the program is performed, it can be achieved to include the implementation such as above-mentioned each method The flow of example.
Any reference to memory, storage, database or other media used in this application may include non-volatile And/or volatile memory.Suitable nonvolatile memory may include read-only storage (ROM), programming ROM (PROM), Electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include arbitrary access Memory (RAM), it is used as external cache.By way of illustration and not limitation, RAM is available in many forms, such as It is static RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM).
Embodiment described above only expresses the several embodiments of the application, and its description is more specific and detailed, but simultaneously Therefore the limitation to the application the scope of the claims can not be interpreted as.It should be pointed out that for one of ordinary skill in the art For, on the premise of the application design is not departed from, various modifications and improvements can be made, these belong to the guarantor of the application Protect scope.Therefore, the protection domain of the application patent should be determined by the appended claims.

Claims (10)

1. a kind of wireless network communication method, methods described include:
Receive the first ARP request of the first AP transmissions;
Whether can proper communication according to the current gateway MAC Address that first ARP request detection computer equipment uses;
When the current gateway MAC Address energy proper communication used in computer equipment, with being continuing with the current gateway MAC Location carries out wireless communication.
2. according to the method for claim 1, it is characterised in that methods described also includes:
When being unable to proper communication, the gateway MAC address in first ARP request is extracted;
The current gateway MAC Address used is substituted for the gateway MAC address in first ARP request, and after use replacement Gateway MAC address carry out wireless communication.
3. according to the method for claim 2, it is characterised in that methods described also includes:
When the gateway MAC address energy proper communication after using the replacement, solidify the gateway MAC address after the replacement.
4. according to the method for claim 1, it is characterised in that before the first ARP request that the first AP is sent is received, institute Stating method also includes:
Obtain the gateway ip address for the 2nd AP being connected with computer equipment;
Second ARP request is initiated according to the gateway ip address, each AP is received and is directed to second ARP request is made first Arp response;
When detecting the presence of gateway conflict, the gateway MAC address in one of them first arp response is extracted, by the net of extraction MAC Address is closed as the gateway MAC address for carrying out wireless communication;
When detecting the gateway MAC address energy proper communication using the extraction, solidify the gateway MAC address of the extraction.
5. according to the method for claim 4, it is characterised in that methods described also includes:
When detect be unable to proper communication using the gateway MAC address of the extraction when, extract in another first arp response Gateway MAC address;
The current gateway MAC Address used is substituted for the gateway MAC address in another first arp response of extraction;
When detecting another gateway MAC address energy proper communication using the extraction, solidify the extraction another Gateway MAC address.
6. according to the method for claim 1, it is characterised in that described to be set according to first ARP request detection computer The standby current gateway MAC Address used whether can proper communication, including:
Whether it is cured according to the current gateway MAC Address that first ARP request detection computer equipment uses;
Judge whether the current gateway MAC Address can proper communication according to whether being cured.
7. method according to any one of claim 1 to 6, it is characterised in that methods described also includes:
DNS query is sent to dns server, when DNS query success, judges the current gateway used in the computer equipment MAC Address energy proper communication.
8. a kind of wireless network communication apparatus, it is characterised in that described device includes:
ARP processing modules, the first ARP request sent for receiving the first AP;
Communication check module, the current gateway MAC Address for being used according to first ARP request detection computer equipment are No energy proper communication;
Gateway MAC address processing module, for when the current gateway MAC Address energy proper communication used in computer equipment, It is continuing with the current gateway MAC Address and carries out wireless communication.
9. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program quilt The step of method any one of claim 1 to 7 is realized during computing device.
10. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, it is characterised in that realize any one of claim 1 to 7 institute described in the computing device during computer program The step of stating method.
CN201710912386.7A 2017-09-29 2017-09-29 Wireless network communication method, device, storage medium and computer equipment Active CN107508931B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710912386.7A CN107508931B (en) 2017-09-29 2017-09-29 Wireless network communication method, device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710912386.7A CN107508931B (en) 2017-09-29 2017-09-29 Wireless network communication method, device, storage medium and computer equipment

Publications (2)

Publication Number Publication Date
CN107508931A true CN107508931A (en) 2017-12-22
CN107508931B CN107508931B (en) 2019-08-30

Family

ID=60699527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710912386.7A Active CN107508931B (en) 2017-09-29 2017-09-29 Wireless network communication method, device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN107508931B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110086685A (en) * 2019-06-13 2019-08-02 深圳市友华通信技术有限公司 Network recovery method based on the network terminal
EP3993509A4 (en) * 2019-08-19 2022-08-31 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Network connection control method and related product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217448A (en) * 2008-01-18 2008-07-09 福建星网锐捷网络有限公司 A method and system to realize gateway dynamic load sharing
CN101827013A (en) * 2009-03-05 2010-09-08 华为技术有限公司 Method, device and system for balancing multi-gateway load
CN102694876A (en) * 2012-05-10 2012-09-26 北京星网锐捷网络技术有限公司 Method and device for determining effectiveness of learned MAC (Media Access Control) address and gateway equipment
CN105282733A (en) * 2014-06-11 2016-01-27 三星电子株式会社 Electronic device and network connection method of electronic device
US9503881B2 (en) * 2011-08-03 2016-11-22 Huawei Technologies Co., Ltd. Method, device, and system for user equipment to access evolved packet core network
CN106376003A (en) * 2015-07-23 2017-02-01 中移(杭州)信息技术有限公司 Method and device for detecting wireless local area network connection and wireless local area network data transmission

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217448A (en) * 2008-01-18 2008-07-09 福建星网锐捷网络有限公司 A method and system to realize gateway dynamic load sharing
CN101827013A (en) * 2009-03-05 2010-09-08 华为技术有限公司 Method, device and system for balancing multi-gateway load
US9503881B2 (en) * 2011-08-03 2016-11-22 Huawei Technologies Co., Ltd. Method, device, and system for user equipment to access evolved packet core network
CN102694876A (en) * 2012-05-10 2012-09-26 北京星网锐捷网络技术有限公司 Method and device for determining effectiveness of learned MAC (Media Access Control) address and gateway equipment
CN105282733A (en) * 2014-06-11 2016-01-27 三星电子株式会社 Electronic device and network connection method of electronic device
CN106376003A (en) * 2015-07-23 2017-02-01 中移(杭州)信息技术有限公司 Method and device for detecting wireless local area network connection and wireless local area network data transmission

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110086685A (en) * 2019-06-13 2019-08-02 深圳市友华通信技术有限公司 Network recovery method based on the network terminal
EP3993509A4 (en) * 2019-08-19 2022-08-31 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Network connection control method and related product

Also Published As

Publication number Publication date
CN107508931B (en) 2019-08-30

Similar Documents

Publication Publication Date Title
CN103874018B (en) Access-in point information sharing method and device
CN103475996B (en) Method for connecting network, network share method and device
CN106506728B (en) A kind of access point name configuration method and mobile terminal
WO2018014745A1 (en) Network search method and device after roaming ends
CN107360193A (en) Orientation obtains method, terminal and the system of configuration information
CN107682910A (en) Floating resources sharing method, device, mobile terminal and storage medium
CN107743305A (en) Load method and apparatus, the computer equipment of configuration information
CN106028316B (en) The network search method and equipment of a kind of international roaming
CN107484154A (en) Data switching method and apparatus, terminal, computer-readable recording medium
CN106341809A (en) Data transmission method and apparatus
CN106658354A (en) Data transmission method and equipment
CN107820301A (en) Control method, device, terminal and the storage medium of WLAN switch
CN110149644A (en) Terminal communication control method, terminal device and computer readable storage medium
CN107094303A (en) Terminal network register method, device and computer-readable recording medium
CN106980654B (en) Road condition updating method, device and computer equipment
CN107770356A (en) A kind of communication establishing method, equipment and computer-readable recording medium
CN107623612A (en) Flow methods of exhibiting and device, computer equipment, computer-readable recording medium
CN107508931B (en) Wireless network communication method, device, storage medium and computer equipment
CN106535188A (en) Access control method and mobile terminal
WO2019062381A1 (en) Information processing method, device and mobile terminal, and computer readable storage medium
CN107529133A (en) Data transmission method, device, storage medium and computer equipment
CN107566366A (en) Selection obtains method, terminal and the system of configuration information
CN107659718A (en) Control method, apparatus, mobile terminal and the storage medium of mobile terminal
CN107743303A (en) Information processing method, device, mobile terminal and computer-readable recording medium
CN106331301B (en) A kind of method and apparatus adding contact person

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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant