CN106603748A - Terminal networking method and terminal - Google Patents

Terminal networking method and terminal Download PDF

Info

Publication number
CN106603748A
CN106603748A CN201611259323.8A CN201611259323A CN106603748A CN 106603748 A CN106603748 A CN 106603748A CN 201611259323 A CN201611259323 A CN 201611259323A CN 106603748 A CN106603748 A CN 106603748A
Authority
CN
China
Prior art keywords
dns
address
dns address
preset
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611259323.8A
Other languages
Chinese (zh)
Inventor
周汉心
彭弘毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oneplus Technology Shenzhen Co Ltd
Original Assignee
Oneplus Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN201611259323.8A priority Critical patent/CN106603748A/en
Publication of CN106603748A publication Critical patent/CN106603748A/en
Pending legal-status Critical Current

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/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
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4547Network directories; Name-to-address mapping for personal communications, i.e. using a personal identifier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the mobile communication technical field, and specifically relates to a terminal networking method and a terminal; the method comprises the following steps: the terminal determines the first and second DNS addresses in a DNS list are not valid, wherein the first and second DNS addresses refer to distributed DNS addresses when the terminal is registered on the data network; the terminal sends an access request to a DNS server corresponding to a preset DNS address in the DNS list, thus allowing the DNS server corresponding to the preset DNS address to parse the domain name carried by the access request. The method can receive two DNS addresses returned by the data network, can add the returned DNS addresses into the DNS list, and can pre-store the preset DNS address in the DNS list; when the two DNS addresses returned by the data network cannot be used when the network is blocked or the DNS request has no response, the preset DNS address in the DNS list can be employed for networking.

Description

A kind of terminal internet access method and terminal
Technical field
The present invention relates to mobile communication technology field, and in particular to a kind of terminal internet access method and terminal.
Background technology
The premise that current mobile terminal can surf the Net is to have registered and be attached to data network, while also completing number According to dialing process, in the flow process, data network side can distribute Internet protocol (IP, Internet to mobile terminal Protocol) address and name server (DNS, Domain Name Server) address.
During the actual online of terminal, such as when browser is input into domain name access website of a website, meeting An access request is sent, the domain name can be carried in the request, the request can first be sent to the DNS ground returned by data network The corresponding dns server in location carries out domain name mapping, by the domain name mapping into IP address, then enable transmission control protocol (TCP, Transmission Control Protocol) stack carries out data transmission, and will show that the website is returned on the browser of terminal The content returned.
However, in a practical situation, the dns address returned by data network is not always available, even if data network The dns address that side returns has two, but in some cases, it can be possible to can be because network congestion or DNS request are without response Phenomenon causes two dns address all unavailable, and so as to terminal cannot surf the Net, such as Jing does not often open webpage, and based on data network The application of network also cannot be used normally, cause poor user experience.
The content of the invention
Embodiments provide a kind of terminal internet access method and terminal to solve the DNS of available data network side return In the case of address is disabled, it is impossible to the problem of online.
In view of this, first aspect present invention provides a kind of terminal internet access method, it is characterised in that methods described includes:
Terminal determines that the first dns address and the second dns address in the DNS lists are unavailable, first dns address It is endpoint registration to dns address allocated during data network with second dns address;
Access request is sent into the DNS lists the corresponding dns server of preset dns address by terminal, so that institute State the corresponding dns server of preset dns address and parse the domain name that the access request is carried.
In certain embodiments, the preset dns address be endpoint registration to data network when be preset in DNS lists Dns address.
In certain embodiments, the preset dns address is ad initio to be arranged in DNS lists.
In certain embodiments, the preset dns address is the dns address in correctly configuring last time.
In certain embodiments, the preset dns address is the dns address in the most configuration of accumulative access times.
In certain embodiments, dns server connects the corresponding webserver of domain name and carries out by tcp protocol stack Access.
In certain embodiments, the preset dns address be endpoint registration to data network when be preset in DNS lists Dns address.
In certain embodiments, the terminal determine the first dns address in the DNS lists it is unavailable including:
The terminal to the first dns address in the DNS lists sends access request;
If the terminal does not receive the corresponding dns server of first dns address in default time threshold Response, it is determined that first dns address is unavailable.
In certain embodiments, the terminal determine the second dns address in the DNS lists it is unavailable including:
When the terminal determines first dns address is unavailable when, the terminal is to second in the DNS lists Dns address sends access request;
If the terminal does not receive the corresponding dns server of second dns address in default time threshold Response, it is determined that second dns address is unavailable.
In certain embodiments, methods described also includes:
Endpoint registration to data network and receive data network return two dns address after, the terminal passes through Update link and described two dns address are added into DNS lists;
The terminal obtains preset dns address, and the preset dns address is added into the DNS row by updating link Table.
In certain embodiments, the preset dns address includes more than one dns address, the preset preset DNS ground Location includes:
The terminal definitions are used to record the character object of the preset dns address;
The character object is converted into the terminal InetAddress types for indicating IP address;
The terminal obtains the routing object for processing new link paths;
For the routing object, the terminal is by increasing dns server method by the InetAddress types Preset dns address is added in the DNS lists of the routing object.
Embodiment of the present invention second aspect also provides a kind of terminal, and the terminal includes:
Processing module, for determining the DNS lists in the first dns address and the second dns address it is unavailable, described One dns address and second dns address are endpoint registration to the dns address being allocated during data network;
Transceiver module, for access request to be sent into the DNS lists into the corresponding dns server of preset dns address, So that the corresponding dns server of the preset dns address parses the domain name that the access request is carried.
In certain embodiments, the preset dns address be endpoint registration to data network when be preset in DNS lists Dns address.
In certain embodiments, the preset dns address is ad initio to be arranged in DNS lists.
In certain embodiments, the preset dns address is the dns address in correctly configuring last time.
In certain embodiments, the preset dns address is the dns address in the most configuration of accumulative access times.
In certain embodiments, the processing module specifically for:
Access request is sent to the first dns address in the DNS lists;
If the response of the corresponding dns server of first dns address is not received in default time threshold, really Fixed first dns address is unavailable.
In certain embodiments, the processing module specifically for:
When it is determined that first dns address is unavailable, sends to access to the second dns address in the DNS lists and ask Ask;
If the response of the corresponding dns server of second dns address is not received in default time threshold, really Fixed second dns address is unavailable.
In certain embodiments, the processing module is additionally operable to:
After being registered to data network and receiving two dns address that data network is returned, by updating link by institute State two dns address and add DNS lists;
Preset dns address is obtained, and the preset dns address is added into the DNS lists by updating link.
In certain embodiments, the preset dns address includes more than one dns address, and the processing module is concrete For:
Define the character object for recording the preset dns address;
The character object is converted into into the InetAddress types for indicating IP address;
Obtain the routing object for processing link paths;
For the routing object, by increasing dns server method by the preset DNS of the InetAddress types Address is added in the DNS lists of the routing object.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:In the embodiment of the present invention, except connecing Receive two dns address that data network returns simultaneously to add outside DNS lists, can also a preset preset DNS ground in DNS lists again Location such that it is able to cause two dns address that data network returns not in the phenomenon of network congestion or DNS request without response In the case of available, additionally it is possible to surfed the Net using the preset dns address in DNS lists.
Description of the drawings
Fig. 1 is the schematic diagram by domain name access website;
Fig. 2 is the schematic diagram by application online.
Fig. 3 is one embodiment figure of the terminal internet access method of the embodiment of the present invention;
Fig. 4 is one embodiment figure of the terminal of the embodiment of the present invention.
Specific embodiment
A kind of terminal internet access method and terminal are embodiments provided, by the preset DNS ground in DNS lists Location so that when the dns address of data network side return is unavailable, can be surfed the Net using preset dns address.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only The embodiment of a part of the invention, rather than the embodiment of whole.
It is described in detail individually below.
Term " first ", " second ", " the 3rd " " in description and claims of this specification and above-mentioned accompanying drawing Four " etc. (if present) is the object for distinguishing similar, without for describing specific order or precedence.Should manage The data that solution is so used can be exchanged in the appropriate case, so that the embodiments described herein can be with except illustrating here Or the order beyond the content of description is implemented.
Illustrate to accessing website by way of input website domain name below, refer to Fig. 1, Fig. 1 is by domain name Access the schematic diagram of website, it can be seen that after the address input field inputs domain name or network address of browser, should comprising domain name or The request of person's network address can send to the corresponding dns server of dns address that data network is returned, by dns server to the domain name Parsed, obtained corresponding IP address, and the corresponding webserver of the IP address is accessed by tcp protocol stack, by the net Network server is returned and responds to terminal, and the domain name or the corresponding page of network address will be shown on the browser interface of terminal. Wherein, IP address refers to Internet protocol address, is a kind of unified address format that IP agreement is provided, on network One numbering of computer or mobile phone.The PC (PC, Personal Computer) networked per platform has been required on mobile phone IP address, could proper communication.Domain name is by a certain computer or calculating on the network that constitutes of name for being separated with point for a string The title of unit;When the information on the webserver corresponding to the domain name is stored in the way of page, per one page one can be corresponded to Network address.
It is also a kind of by way of application connection network except the mode surfed the Net above by browser, refer to figure 2, Fig. 2 is the schematic diagram by application online, and in this application, the content in the page needs to be taken using corresponding network by this Business device is obtained, and its acquisition process needs also exist for carrying out domain name by dns server with to browse webpage mentioned by browser similar Parsing, dns server congestion or without response when, just cannot use.
To solve the above problems, the embodiment of the present invention adopts a kind of terminal internet access method, refers to Fig. 3, and Fig. 3 is the present invention One embodiment figure of the terminal internet access method of embodiment, the method may include:
301st, terminal determines that the first dns address and the second dns address in the DNS lists are unavailable.
Wherein, the first dns address and second dns address are endpoint registration to the DNS ground being allocated during data network Location, for the terminal that each to be surfed the Net, it is necessary first to be registered to mobile data network, is then attached to the network, that is, connect Be connected to the data network, then the data network can return to terminal be its distribution IP address and two dns address, two Dns address can add into DNS lists.
By taking priority of the priority of the first dns address more than the second dns address as an example, when access request is sent, meeting Dns server corresponding to the first dns address is first sent, only when the corresponding dns server of the first dns address is unavailable, Access request is just sent to the corresponding dns server of the second dns address, specifically, terminal determines that the first dns address can not apparatus Body can be:
Terminal to the first dns address in the DNS lists sends access request;
If the terminal does not receive the corresponding dns server of first dns address in default time threshold Response, it is determined that first dns address is unavailable.
Terminal determines that the second dns address is unavailable:
When the terminal determines first dns address is unavailable when, the terminal is to second in the DNS lists Dns address sends access request;
If the terminal does not receive the corresponding dns server of second dns address in default time threshold Response, it is determined that second dns address is unavailable.
As can be seen that the consecutive reaction of dns address accesses the order of dns server in actual DNS lists, by right The sequential control of dns address in DNS lists can control the order for accessing dns server.
302nd, access request is sent into the DNS lists the corresponding dns server of preset dns address by terminal.
Wherein, the corresponding dns server of the preset dns address can parse the domain name carried in the access request for receiving, and Connect the corresponding webserver of domain name by tcp protocol stack to conduct interviews, the access request carries domain to be visited Name, first dns address and second dns address are endpoint registration to the dns address being allocated during data network.
Wherein, the preset dns address has various preset modes, is illustrated below:
The dns address being preset in DNS lists when the first is preset dns address for endpoint registration to data network, Specific preset DNS it is preset enter DNS lists mode can be:Endpoint registration is to data network and receives data network and returns After two dns address for returning, described two dns address are added DNS lists by the terminal by updating link;Adding two After dns address, terminal obtains preset dns address, and the preset dns address is counted into the DNS lists by updating link.
It is ad initio to be arranged in DNS lists that second is preset dns address, and in the manner, preset dns address is in terminal Just by default configuration in DNS lists before dispatching from the factory, even if receiving data network return when subsequent registration is to data network Dns address simultaneously adds DNS lists, and the preset dns address is still located in DNS lists.
First two is that preset dns address adds the mode just no longer changed after DNS lists, and preset dns address meeting is presented herein below The mode for changing.
The third is that preset dns address is the dns address in last time correctly configuration.In this mode, preset dns address is no longer It is unalterable, but the DNS successfully surfed the Net with reference to last time is configured, and the dns address in the configuration is taken out as preset DNS Address, the opportunity that the preset dns address refreshes can be after there is situation about once cannot surf the Net, or every fixation Time cycle property refreshing.
4th kind is the dns address added up in preset time period in the most configuration of access times.Using every in this mode Just the configuration of used dns address is counted every a period of time, finds the most dns address configuration of access times, and taken Go out dns address therein as preset dns address.
It should be noted that position of the preset dns address in DNS lists is the two DNS ground returned in data network After location, the mode that the mode of addition is added with two dns address that data network is returned is identical, by the side of renewal link Formula is added, such that it is able to ensure in the case of two DNS that data network is returned are disabled, can just use the preset DNS.
It should be noted that preset dns address includes more than one dns address, the preset preset dns address process Can be:
Terminal definitions are used to record the character object of the preset dns address;Dns address is entered by way of character Row typing;Then, the character object is converted into into the InetAddress types for indicating IP address;The InetAddress Type has two kinds according to the difference of IP agreement, and a kind of is to meet the Inet4Address types of IPv4 agreements, and meets IPv6 Inet6Address types, only meeting the InetAddress types of both agreements could correctly use in DNS flow processs In;Then, terminal obtains the routing object for processing new link paths, i.e., the reason object is used for link paths Reason, that is, determine that access request is forwarded with which kind of path, and DNS lists, IP address of terminal etc. can be included in the routing object Information.Finally, for the routing object, terminal is by increasing dns server method (addDnsServer) by InetAddress The preset dns address of type is added in the DNS lists of the routing object, completes the adition process of preset dns address.
The terminal internet access method of the embodiment of the present invention is described above, the terminal of the embodiment of the present invention is entered below Row is introduced, and refers to Fig. 4, and Fig. 4 is one embodiment figure of the terminal of the embodiment of the present invention, and the terminal may include:
Processing module 401, for determining the DNS lists in the first dns address and the second dns address it is unavailable, institute It is endpoint registration to dns address allocated during data network to state the first dns address and second dns address;
Transceiver module 402, for access request to be sent into the DNS lists into the corresponding DNS service of preset dns address Device, so that the corresponding dns server of the preset dns address parses the domain name that the access request is carried.
As can be seen that processing module 401 can perform step 301 in embodiment illustrated in fig. 3, transceiver module 402 can perform Fig. 3 The concrete implementation procedure of step 302 in illustrated embodiment, processing module 401 and transceiver module 402 can be found in and implement shown in Fig. 3 Example, here is omitted.
Optionally, the preset dns address be endpoint registration to data network when with being preset at DNS in DNS lists Location.
Wherein, the concrete implementation procedure of processing module 401 can be found in for the explanation of step 302 in embodiment illustrated in fig. 3, Here is omitted.
Optionally, the preset dns address is ad initio to be arranged in DNS lists.
Wherein, the concrete implementation procedure of processing module 401 can be found in for the explanation of step 302 in embodiment illustrated in fig. 3, Here is omitted.
Optionally, the preset dns address is the dns address in correctly configuring last time.
Wherein, the concrete implementation procedure of processing module 401 can be found in for the explanation of step 302 in embodiment illustrated in fig. 3, Here is omitted.
Optionally, the preset dns address is the DNS ground added up in preset time period in the most configuration of access times Location.
Wherein, the concrete implementation procedure of processing module 401 can be found in for the explanation of step 302 in embodiment illustrated in fig. 3, Here is omitted.
Optionally, the transceiver module 402 is additionally operable to:
Access request is sent to the first dns address in the DNS lists;
Processing module 401 specifically for
If the response of the corresponding dns server of first dns address is not received in default time threshold, really Fixed first dns address is unavailable.
Wherein, the concrete implementation procedure of processing module 401 and transceiver module 402 can be found in the explanation of embodiment illustrated in fig. 3, Here is omitted.
Optionally, the transceiver module 402 is additionally operable to:
When it is determined that first dns address is unavailable, sends to access to the second dns address in the DNS lists and ask Ask;
Processing module 401 specifically for:
If the response of the corresponding dns server of second dns address is not received in default time threshold, really Fixed second dns address is unavailable.
Wherein, the concrete implementation procedure of processing module 401 and transceiver module 402 can be found in the explanation of embodiment illustrated in fig. 3, Here is omitted.
Optionally, the processing module 401 is additionally operable to:
After being registered to data network and receiving two dns address that data network is returned, by updating link by institute State two dns address and add DNS lists;
Preset dns address is obtained, and the preset dns address is added into the DNS lists by updating link.
Wherein, the concrete implementation procedure of processing module 401 can be found in the explanation of embodiment illustrated in fig. 3, and here is omitted.
Optionally, the preset dns address include more than one dns address, the processing module 401 specifically for:
Define the character object for recording the preset dns address;
The character object is converted into into the InetAddress types for indicating IP address;
Obtain the routing object for processing link paths;
For the routing object, by increasing dns server method by the preset DNS of the InetAddress types Address is added in the DNS lists of the routing object.
Wherein, the concrete implementation procedure of processing module 401 can be found in the explanation of embodiment illustrated in fig. 3, and here is omitted.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematic, for example, the unit Divide, only a kind of division of logic function can have other dividing mode, such as multiple units or component when actually realizing Can with reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or The coupling each other for discussing or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit Close or communicate to connect, can be electrical, mechanical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can according to the actual needs be selected to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used When, during a computer read/write memory medium can be stored in.Based on such understanding, technical scheme is substantially The part for contributing to prior art in other words or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention Portion or part steps.And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The above, above example only to illustrate technical scheme, rather than a limitation;It still can be with Technical scheme described in foregoing embodiments is modified, or which part technical characteristic is replaced;And these Modification is replaced, and does not make appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (18)

1. a kind of terminal internet access method, it is characterised in that methods described includes:
Terminal determines that the first dns address and the second dns address in the DNS lists are unavailable, first dns address and institute To state the second dns address be endpoint registration to dns address allocated during data network;
Access request is sent into the DNS lists the corresponding dns server of preset dns address by the terminal, so that institute State the corresponding dns server of preset dns address and parse the domain name that the access request is carried.
2. terminal internet access method according to claim 1, it is characterised in that the preset dns address is arrived for endpoint registration The dns address being preset at during data network in DNS lists.
3. terminal internet access method according to claim 1, it is characterised in that the preset dns address is to be ad initio arranged at In DNS lists.
4. terminal internet access method according to claim 1, it is characterised in that the preset dns address was correctly matched somebody with somebody for last time Dns address in putting.
5. terminal internet access method according to claim 1, it is characterised in that the preset dns address is preset time period Dns address in the most configuration of interior accumulative access times.
6. terminal internet access method according to claim 1, it is characterised in that the terminal is determined in the DNS lists First dns address it is unavailable including:
The terminal to the first dns address in the DNS lists sends access request;
If the terminal does not receive the response of the corresponding dns server of first dns address in default time threshold, Then determine that first dns address is unavailable.
7. terminal internet access method according to claim 6, it is characterised in that the terminal is determined in the DNS lists Second dns address it is unavailable including:
When the terminal determines first dns address is unavailable when, the terminal in the DNS lists the 2nd DNS ground Location sends access request;
If the terminal does not receive the response of the corresponding dns server of second dns address in default time threshold, Then determine that second dns address is unavailable.
8. terminal internet access method according to any one of claim 1 to 7, it is characterised in that methods described also includes:
Endpoint registration to data network and receive data network return two dns address after, the terminal by update Described two dns address are added DNS lists by link;
The terminal obtains preset dns address, and the preset dns address is added into the DNS lists by updating link.
9. terminal internet access method according to claim 8, it is characterised in that the preset dns address includes more than one Dns address, the preset preset dns address includes:
The terminal definitions are used to record the character object of the preset dns address;
The character object is converted into the terminal InetAddress types for indicating IP address;
The terminal obtains the routing object for processing link paths;
For the routing object, the terminal is by increasing dns server method by the preset of the InetAddress types Dns address is added in the DNS lists of the routing object.
10. a kind of terminal, it is characterised in that include:
Processing module, for determining the DNS lists in the first dns address and the second dns address it is unavailable, described first Dns address and second dns address are endpoint registration to the dns address being allocated during data network;
Transceiver module, for access request to be sent into the DNS lists into the corresponding dns server of preset dns address, so that Obtain the corresponding dns server of the preset dns address and parse the domain name that the access request is carried.
11. terminals according to claim 10, it is characterised in that the preset dns address is endpoint registration to data network The dns address being preset at during network in DNS lists.
12. terminals according to claim 10, it is characterised in that the preset dns address is ad initio to be arranged at DNS lists It is interior.
13. terminals according to claim 10, it is characterised in that the preset dns address is in last time correct configuration Dns address.
14. terminals according to claim 10, it is characterised in that the preset dns address is most for accumulative access times Configuration in dns address.
15. terminals according to claim 10, it is characterised in that the transceiver module is additionally operable to:
Access request is sent to the first dns address in the DNS lists;
The processing module specifically for:
If the response of the corresponding dns server of first dns address is not received in default time threshold, it is determined that institute State the first dns address unavailable.
16. terminals according to claim 15, it is characterised in that the transceiver module is additionally operable to:
When it is determined that first dns address is unavailable, to the second dns address in the DNS lists access request is sent;
The processing module specifically for:
If the response of the corresponding dns server of second dns address is not received in default time threshold, it is determined that institute State the second dns address unavailable.
17. terminals according to any one of claim 10 to 16, it is characterised in that the processing module is additionally operable to:
After being registered to data network and receiving two dns address that data network is returned, by updating link by described two Individual dns address adds DNS lists;
Preset dns address is obtained, and the preset dns address is added into the DNS lists by updating link.
18. terminal internet access methods according to claim 17, it is characterised in that the preset dns address comprising one with On dns address, the processing module specifically for:
Define the character object for recording the preset dns address;
The character object is converted into into the InetAddress types for indicating IP address;
Obtain the routing object for processing link paths;
For the routing object, by increasing dns server method by the preset dns address of the InetAddress types In adding the DNS lists of the routing object.
CN201611259323.8A 2016-12-30 2016-12-30 Terminal networking method and terminal Pending CN106603748A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611259323.8A CN106603748A (en) 2016-12-30 2016-12-30 Terminal networking method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611259323.8A CN106603748A (en) 2016-12-30 2016-12-30 Terminal networking method and terminal

Publications (1)

Publication Number Publication Date
CN106603748A true CN106603748A (en) 2017-04-26

Family

ID=58582717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611259323.8A Pending CN106603748A (en) 2016-12-30 2016-12-30 Terminal networking method and terminal

Country Status (1)

Country Link
CN (1) CN106603748A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107343059A (en) * 2017-07-17 2017-11-10 环球智达科技(北京)有限公司 The method for obtaining server address
CN111092963A (en) * 2019-12-02 2020-05-01 珠海市魅族科技有限公司 Domain name service response method
CN112153168A (en) * 2020-08-14 2020-12-29 深圳市广和通无线股份有限公司 Network access method, device, computer equipment and storage medium
CN113347284A (en) * 2021-06-09 2021-09-03 上海移远通信技术股份有限公司 Resource access method, resource access device, electronic device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167055A (en) * 2011-12-14 2013-06-19 三星电子株式会社 Domain name server address configuration method and apparatus
CN103561121A (en) * 2013-10-11 2014-02-05 北京奇虎科技有限公司 Method and device for analyzing DNS and browser
CN103701957A (en) * 2014-01-14 2014-04-02 互联网域名系统北京市工程研究中心有限公司 Domain name server (DNS) recursive method and system thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167055A (en) * 2011-12-14 2013-06-19 三星电子株式会社 Domain name server address configuration method and apparatus
CN103561121A (en) * 2013-10-11 2014-02-05 北京奇虎科技有限公司 Method and device for analyzing DNS and browser
CN103701957A (en) * 2014-01-14 2014-04-02 互联网域名系统北京市工程研究中心有限公司 Domain name server (DNS) recursive method and system thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
GOLDENSUN: "Java中的IP地址和InetAddress类使用详解", 《HTTPS://WWW.JB51.NET/ARTICLE/73189.HTM》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107343059A (en) * 2017-07-17 2017-11-10 环球智达科技(北京)有限公司 The method for obtaining server address
CN111092963A (en) * 2019-12-02 2020-05-01 珠海市魅族科技有限公司 Domain name service response method
CN111092963B (en) * 2019-12-02 2024-03-22 珠海市魅族科技有限公司 Domain name service response method
CN112153168A (en) * 2020-08-14 2020-12-29 深圳市广和通无线股份有限公司 Network access method, device, computer equipment and storage medium
CN112153168B (en) * 2020-08-14 2023-03-10 深圳市广和通无线股份有限公司 Network access method, device, computer equipment and storage medium
CN113347284A (en) * 2021-06-09 2021-09-03 上海移远通信技术股份有限公司 Resource access method, resource access device, electronic device and storage medium
CN113347284B (en) * 2021-06-09 2023-08-15 上海移远通信技术股份有限公司 Resource access method, resource access device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106603748A (en) Terminal networking method and terminal
CN103339887B (en) For the method for optimized network prefix list search
CN104468363B (en) Page reorientation method, routing device, terminal device and system
CN103475577B (en) Method, device and network equipment for obtaining characteristic information
US9141957B2 (en) System and method for filtering advertising in a networking device
WO2020062582A1 (en) Methods for information drainage, requesting transmission and communication acceleration, and drainage and node server
CN106933871A (en) Short linking processing method, device and short linked server
CN102387125B (en) Method and system for accessing microblog, and picture sending method and system of microblog website
CN107342952A (en) Service link selects control method and equipment
CN107404481B (en) User information recognition methods and device
CN109947795A (en) The acquisition methods and device of target data
JP2003058412A (en) Portable storage medium and method for utilizing remote storage unit on network as auxiliary memory of local computer by using the same
CN107786621A (en) A kind of user information management method, access processing method and device and system
CN101216834A (en) File downloading method, system, device and server
CN101087255A (en) Information processing device, server, communication system, address decision method, and address modification method
CN102907073B (en) DNS Server, gateways and methods for managing an identifier of a port range in the transmission of data
CN108141481A (en) The enhanced neighbours of communication network have found
CN106470251A (en) Domain name analytic method and virtual DNS authority server
CN107231445A (en) A kind of dynamic domain name system DNS reorientation methods, apparatus and system
CN107426746A (en) The method and apparatus for identifying WIFI types
CN110392123A (en) The methods, devices and systems of detection outlet IP address
CN106604075A (en) Set top box configuration method and system
CN108234685A (en) Method, apparatus, equipment and the medium of user terminal gateway equipment DNS scheduling
CN108243265A (en) A kind of dns resolution processing method and processing device
CN103973753B (en) A kind of method and apparatus of data processing

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170426

RJ01 Rejection of invention patent application after publication