CN108234685A - Method, apparatus, equipment and the medium of user terminal gateway equipment DNS scheduling - Google Patents

Method, apparatus, equipment and the medium of user terminal gateway equipment DNS scheduling Download PDF

Info

Publication number
CN108234685A
CN108234685A CN201711384384.1A CN201711384384A CN108234685A CN 108234685 A CN108234685 A CN 108234685A CN 201711384384 A CN201711384384 A CN 201711384384A CN 108234685 A CN108234685 A CN 108234685A
Authority
CN
China
Prior art keywords
address
user terminal
net
gateway equipment
terminal gateway
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
CN201711384384.1A
Other languages
Chinese (zh)
Other versions
CN108234685B (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.)
China Mobile Communications Group Co Ltd
China Mobile Group Jiangsu Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Jiangsu 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 China Mobile Communications Group Co Ltd, China Mobile Group Jiangsu Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201711384384.1A priority Critical patent/CN108234685B/en
Publication of CN108234685A publication Critical patent/CN108234685A/en
Application granted granted Critical
Publication of CN108234685B publication Critical patent/CN108234685B/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/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/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/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements

Landscapes

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

Abstract

The present invention provides method, apparatus, equipment and the media of a kind of user terminal gateway equipment DNS scheduling.This method includes:Result is translated domain names into be compared with IP address section set in preconfigured net;The IP address that IP address section set in the net is fallen into domain name analysis result is encapsulated in the front end for the address list for replying message, the IP address for not falling within IP address section set in the net is encapsulated in the last of the address list for replying message.According to embodiments of the present invention, DNS cache module is optimized in user terminal gateway equipment, can solves the problems, such as acquiescence unlatching DNS cache " cycle rotation " scheduling error caused by function, be the optimal Internet resources of user configuration, improve user's online quality.

Description

Method, apparatus, equipment and the medium of user terminal gateway equipment DNS scheduling
Technical field
The present invention relates to internet DNS technical fields more particularly to a kind of user terminal gateway equipment to realize DNS scheduling Method, apparatus, equipment and medium.
Background technology
DNS (Domain Name System, domain name analysis system) is most basic, most crucial one in Internet architecture Item service, its effect are to realize that domain name and IP address mutually map, and make net user that can easily access internet, without spending Remember uninteresting cumbersome IP number strings, essence support is provided for numerous network applications.DNS request is happened at user and accesses internet The first link, ICP (Internet Content Provider, internet content provider) content resource, CDN The correct scheduling that (Content Distribute Network, content distributing network) etc. all relies on DNS could flow user Amount is directed to most suitable resource node.
DNS substantially can fraction prestige DNS and recurrence DNS by the classification of function.Authoritative DNS is to domain name by upper level mandate The server parsed, while it can authorize parsing and delegate to other people.Recurrence DNS receives user and arbitrary domain name is looked into It askes, and final analysis result is returned into user.Recurrence DNS is generally by telecom operators and ISP (Internet Service Provider, Internet Service Provider) it sets up, the user of oneself is served, also sometimes referred to as LOCAL DNS are (local DNS).It is divided into inside LOCAL DNS as front end cache module and rear end recurrence module.
The response of one DNS request is made of multiple resource records (Resource Record), they form a money Source record collection.The reason of same domain name is recorded there are a plurality of parsing A (address) is ICP to realize the redundancy of business, allows Business is shared on multiple servers, these servers may be there are multiple and different physical location or multiple and different ISP computer rooms (accessing across ISP resource will cause user's online experience to decline).Because ICP can not grasp ISP, accurately IP address is believed The authoritative DNS that breath or even ICP are responsible for may not support intelligent DNS function, these reasons result in authoritative DNS in response LOCAL During DNS request, it is difficult to which the access request of user is dispatched to optimal node.ISP is in order to improve the experience of the network of user, as far as possible Wish this networking of flow, sorting consistence can be often carried out on LOCAL DNS, user is enabled preferentially to access content source in Home Network to reach Purpose.
In existing scheme, there is scheduling errors for the DNS cache function of user terminal gateway equipment, are because due to user DNS can cache domain name mapping IP inside terminating gateway equipment, and be only capable of with the request of polling mode response user terminal, Lead to the scheduling strategy failure of resource in the preferred net that higher level operator LOCAL DNS are configured, user may be adjusted by mistake From local optimal resource, user's online quality is influenced, reduces user's online experience.
Invention content
An embodiment of the present invention provides method, apparatus, equipment and Jie that a kind of user terminal gateway equipment realizes DNS scheduling Matter optimizes DNS cache module in user terminal gateway equipment, can solve acquiescence and open DNS cache " cycle rotation " Scheduling error problem caused by function is the optimal Internet resources of user configuration, improves user's online quality.
In a first aspect, an embodiment of the present invention provides a kind of method that user terminal gateway equipment realizes DNS scheduling, method Including:
Result is translated domain names into be compared with IP address section set in preconfigured net;
The IP address that IP address section set in the net is fallen into domain name analysis result is encapsulated in and replys message The IP address for not falling within IP address section set in the net is encapsulated in the address column for replying message by the front end of address list Table it is last, wherein, it is described reply message be the domain name mapping result for returning to user's access terminals.
Second aspect, an embodiment of the present invention provides the device that a kind of user terminal gateway equipment realizes DNS scheduling, devices Including:
Comparing unit is compared for translating domain names into result with IP address section set in preconfigured net;
Sequencing unit, for the IP address that IP address section set in the net is fallen into domain name analysis result to be encapsulated In the front end for the address list for replying message, the IP address for not falling within IP address section set in the net is encapsulated in the reply The address list of message it is last, wherein, it is described reply message be the domain name mapping result for returning to user's access terminals.
The third aspect, an embodiment of the present invention provides the equipment that a kind of user terminal gateway equipment realizes DNS scheduling, packets It includes:At least one processor, at least one processor and computer program instructions stored in memory, when computer journey Sequence instruction is realized when being executed by processor such as the method for first aspect in the above embodiment.
Fourth aspect, an embodiment of the present invention provides a kind of computer readable storage mediums, are stored thereon with computer journey Sequence instructs, and is realized when computer program instructions are executed by processor such as the method for first aspect in the above embodiment.
User terminal gateway equipment provided in an embodiment of the present invention realizes method, apparatus, equipment and the medium of DNS scheduling, DNS cache function in user terminal gateway equipment is optimized, it is made to have IP address section set priority ordering function, when When user terminal gateway equipment accesses network, by ISP network identification technology, the ISP fortune that equipment is accessed intelligently is selected Quotient is sought, and the address field set of corresponding ISP is set as optimal, so as to realize resource priority ordering in net in DNS cache module.Separately Outside, it is proposed that " inheriting parent LDNS sequences " directly inherits the IP address priority orders of higher level's LDNS response messages, the method It is simple and effective, it is ensured that operator's LOCAL DNS scheduling strategies perform effectively, and realize the accurate scheduling surfed the Internet to user.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, it will make below to required in the embodiment of the present invention Attached drawing is briefly described, for those of ordinary skill in the art, without creative efforts, also Other attached drawings can be obtained according to these attached drawings.
Fig. 1 shows that a kind of user terminal gateway equipment provided in an embodiment of the present invention realizes the stream of the method for DNS scheduling Cheng Tu;
The excellent of the method for DNS scheduling is realized Fig. 2 shows a kind of user terminal gateway equipment provided in an embodiment of the present invention Select the flow chart of implementation;
Fig. 3 shows that a kind of user terminal gateway equipment provided in an embodiment of the present invention realizes the knot of the device of DNS scheduling Structure block diagram;
Fig. 4 shows that a kind of user terminal gateway equipment provided in an embodiment of the present invention realizes the excellent of the device of DNS scheduling Select the structure diagram of embodiment;
Fig. 5 shows that user terminal gateway equipment provided in an embodiment of the present invention realizes the hardware knot of the equipment of DNS scheduling Structure schematic diagram.
Specific embodiment
The feature and exemplary embodiment of various aspects of the invention is described more fully below, in order to make the mesh of the present invention , technical solution and advantage be more clearly understood, with reference to the accompanying drawings and embodiments, the present invention is further retouched in detail It states.It should be understood that specific embodiment described herein is only configured to explain the present invention, it is not configured as limiting the present invention. To those skilled in the art, the present invention can be real in the case of some details in not needing to these details It applies.The description of embodiment is used for the purpose of by showing that the example of the present invention is better understood from the present invention to provide below.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any this practical relationship or sequence.Moreover, term " comprising ", "comprising" or its any other variant are intended to Non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including those Element, but also including other elements that are not explicitly listed or further include as this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence " including ... ", it is not excluded that including Also there are other identical elements in the process of the element, method, article or equipment.
As shown in Figure 1, an embodiment of the present invention provides a kind of method that user terminal gateway equipment realizes DNS scheduling, side Method includes:
Step S101 translates domain names into result and is compared with IP address section set in preconfigured net;
Step S102, the IP address for translating domain names into IP address section set in result decline networking are encapsulated in reply message The IP address for not falling within IP address section set in net is encapsulated in the address list of reply message most by the front end of address list Afterwards.
Wherein, the reply message is the domain name mapping result for returning to user's access terminals.
Wherein, IP address section set refers to the segment that the IP address of operator is covered in net.Different operators are covered The IP address section of lid is different, and the IP address section of different regions is also different, and therefore, IP address has the function of provincialism mark.
Wherein, if the corresponding IP address of IP address section set for not having and specifying in domain name mapping result, is directly pressed Reply message is sequentially generated in domain name mapping result.
During online, sent out by user's access terminals (such as browser) to user terminal gateway equipment (such as home router) The DNS query of domain name is sent to ask;User terminal gateway equipment initiates inquiry request to LOCAL DNS immediately, and is getting After the analysis result of LOCAL DNS, translate domain names into result and return to user terminal gateway equipment, wherein, a domain name mapping As a result comprising a plurality of parsing A records (Address Record) in, the processing of step S101, S102 is carried out to domain name mapping result After obtain reply message return to user's access terminals;User's access terminals select in the address list for replying message is received The IP address of first is come to connect into corresponding service protocol, it is final to realize online;If connection comes the IP address of first When break down, user's access terminals can then select subsequent IP address to carry out service protocol connection successively in address list.
By the above method, the function that priority ordering is carried out to IP address is realized in user terminal gateway equipment, most Play to big degree the DNS intelligent scheduling functions of user terminal gateway equipment.On the one hand, not all operator (ISP, Internet Service Provider) resource sequence preferred function in net can all be configured in LOCAL DNS, therefore, pass through The method of this implementation can make up the deficiency of LOCAL DNS scheduling features;On the other hand, it sorts for resource in configuration net preferred The LOCAL DNS of function are solved because DNS cache poll causes LOCAL DNS scheduling strategies to lose in existing gateway equipment The problem of effect.
Further, IP address section set in multiple nets can be pre-configured in user terminal gateway equipment, and to each IP address section set assigned priority in net.Fall into the address of the IP address arrangement of IP address section set in the net of highest priority The front end of list, and so on.For being moved by Jiangsu, to reduce the flow across backbone equipment, by Jiangsu Ben Sheng IP address Section is direct-connected by this operator equity by this operator IP address section as the second priority set as the first priority set ICP/ISP address fields as third priority set.Front and rear row can be carried out by the priority of segmentation for IP address in net Sequence still retains for netting outer IP address, only sorts last, i.e., remains source station institute while IP address sequence is adjusted There is domain name mapping result.It, can be by application layer softwares such as terminal browsers when the first preferred address section server failure in net The automatic Backwards selection alternate server address that puts in order is noted down according to dns resolution A to realize (such as the second preferred address section in net) It is fault-tolerant.
The user of different regions accesses different operators, in order to enable user terminal gateway equipment adapts to different regions Operator needs to obtain the operator of access automatically during user terminal gateway equipment accesses network.In the above method On the basis of embodiment, before implementation steps S101, S102, the ISP network of automatic identification access is realized by following steps And the priority of IP address section set in net is configured, to realize priority ordering:
Step S110, the ISP network that identification user terminal gateway equipment is accessed;
Step S111, IP address section set is configured to the first priority set in the net for the ISP network that will identify that.
User terminal gateway equipment constantly detect access ISP network can increase far-end server response load, therefore, Only just understand automatic identification ISP network when user terminal gateway equipment accesses network and carries out initial configuration and IP in net is configured Hereafter the priority of address field set no longer carries out ISP network identification.
After general user's terminating gateway equipment installs, user will not random more switching network, but unavoidably exist The above situation.Further, user terminal gateway equipment inner setting has clock, periodically re-recognizes what equipment was accessed ISP network.Further, intelligent detection button is additionally provided in user terminal gateway equipment, once more switching network, user is only The button need to be pressed, equipment can perform step S110 and step S111, re-recognize the new ISP network of access automatically, and The priority of IP address section set in configuration net.
Preferably, step S110 includes:The ISP nets accessed by special network management path identification user terminal gateway equipment Network.
Preferably, step S110 includes:Obtain the ISP nets that user selects in the administration interface of user terminal gateway equipment Network, the ISP network that as user terminal gateway equipment is accessed.
Preferably, step S110 includes:The LDNS addresses of higher level LDNS are obtained, by LDNS addresses and are previously written in firmware The IP address set of ISP be compared, so as to identify ISP network that user terminal gateway equipment is accessed.Wherein, higher level LDNS is the LOCAL DNS being connect with user terminal gateway equipment.For example, for pppoe dial modes, user terminal gateway The LDNS addresses (rather than user set by hand static dns address) that equipment is got according to pppoe dialing compare the IP of ISP Address set, so as to determine the ISP network currently accessed.
Three kinds of ISP network recognition methods of above-mentioned offer can be applied in combination, and above-mentioned three kinds of ISP network recognition methods are set Determine priority level, ISP network is identified since the high method of priority level, is connect until user terminal gateway equipment can be recognized The ISP network entered.For example, set method of the method for highest priority to be identified by special network management path, priority second Method be by administration interface know method for distinguishing, the method for priority third is the method for being previously written firmware firmware library, if User terminal gateway equipment by operator webmaster remote management (such as passing through tr069 agreements), first choice pass through special network management path Carry out ISP network identification;If it does not identify or not by the webmaster management of operator, obtains user in user terminal gateway equipment Administration interface in the ISP network that selects;If user does not manually select ISP network, by being previously written the ISP's in firmware IP address set identifies ISP network.
If the ISP network accessed by above-mentioned a variety of ISP network recognition methods all None- identifieds selects " to inherit parent LDNS sorts " mechanism, i.e., when message is replied in generation, ignore priority set, directly press the higher level of user terminal gateway equipment The IP address priority orders generation that LDNS is returned replys message and returns to user terminal.
Preferably, in the net of the ISP network in step S111 IP address section set can by following three kinds of methods from It is dynamic to obtain:
(1) IP address section set in the net of ISP network is obtained automatically from the firmware of user terminal gateway equipment, wherein, Firmware has been previously written IP address section set in the net of all operators;
(2) IP address section set in the net of ISP network is obtained by special network management path;
(3) IP address in the net of ISP network is downloaded by the web server that the operator of user terminal gateway equipment sets up Duan Jihe.
Operator can be updated IP address section set in net, and therefore, user terminal gateway equipment also needs to periodically right IP address section set is automatically updated in the net being stored thereon, to ensure the accuracy of ISP network identification.Newer method Including:It (1), can simultaneously more in version updating for the user terminal gateway equipment with operator's related data in firmware IP address section set in the net for the ISP that kainogenesis changes;(2) also can IP in the net of update ISP be downloaded by special network management path Address field set;(3) some user terminal gateway equipment vendors have set up web server, and provide ISP in advance on the internet Address field is downloaded, and later stage user can pass through IP address section set in network online updating net.
As shown in Fig. 2, on the basis of any of the above-described embodiment of the method, before step S101, further include:
Step S10 obtains the domain name mapping result that higher level LDNS is returned;
Step S100, judges whether higher level LDNS has IP address priority ranking function;If having, step is performed Message is replied in S201, the IP address priority orders generation directly returned by higher level LDNS;If not having, perform step S101 and Step S102.That is, when higher level LDNS has priority ranking function, user terminal gateway equipment without carrying out IP address again Identification and sequence directly using " inheriting parent LDNS sequences " mechanism, inherit the IP address priority of higher level's LDNS response messages Sequentially, the delay of DNS request and response is reduced, and can ensure that operator Local DNS dispatch accuracy.
The inventive concept identical based on the method for DNS scheduling is realized with above-mentioned user terminal gateway equipment, the present invention are implemented Example additionally provides the device that a kind of user terminal gateway equipment realizes DNS scheduling, as shown in figure 3, device includes:
Comparing unit 301 is compared for translating domain names into result with IP address section set in preconfigured net;
Sequencing unit 302, the IP address for translating domain names into IP address section set in result decline networking are encapsulated in back The IP address for not falling within IP address section set in net, is encapsulated in the address column for replying message by the front end of the address list of multiple message Table it is last, wherein, it is described reply message be the domain name mapping result for returning to user's access terminals.
Preferably, as shown in figure 4, further including:
ISP network recognition unit 303, for identifying ISP network that user terminal gateway equipment is accessed;
It is excellent to be configured to first for IP address section set in the net for the ISP network that will identify that for priority dispensing unit 304 First grade set.
Preferably, ISP network recognition unit 303 is specifically used for identifying user terminal gateway equipment by special network management path The ISP network accessed.
Preferably, ISP network recognition unit 303 is specifically used for obtaining administration interface of the user in user terminal gateway equipment The ISP network of middle selection, the ISP network that as user terminal gateway equipment is accessed.
Preferably, ISP network recognition unit 303 is specifically used for obtaining the LDNS addresses of higher level LDNS, by LDNS addresses with The IP address set for the ISP being previously written in firmware is compared, so as to identify ISP nets that user terminal gateway equipment is accessed Network.
Preferably, message generation unit 305 is further included, is returned for directly pressing the higher level LDNS of user terminal gateway equipment IP address priority orders generation reply message.In the case of None- identified ISP network, subsequently directly generated by message Message is replied in the generation of unit 305.
Preferably, IP address section set acquiring unit 306 in net is further included, for obtaining IP address section set in net automatically.
Preferably, IP address section set acquiring unit 306 is specifically used in net:From the firmware of user terminal gateway equipment IP address section set in the automatic net for obtaining ISP network, wherein, firmware has been previously written IP address section in the net of all operators Set.
Preferably, IP address section set acquiring unit 306 is specifically used in net:ISP nets are obtained by special network management path IP address section set in the net of network.
Preferably, IP address section set acquiring unit 306 is specifically used in net:Pass through the operation of user terminal gateway equipment The web server that quotient sets up downloads IP address section set in the net of ISP network.
Preferably, IP address section set acquiring unit 306 is additionally operable to IP address section collection in the net of update ISP network in net It closes.
Preferably, judging unit 307 is further included, for judging whether higher level LDNS has IP address priority ranking work( Can, if having, the function of message generation unit 305 is performed, otherwise, performs the work(of comparing unit 301 and sequencing unit 302 Energy.
The device of user terminal gateway equipment realization DNS scheduling provided in this embodiment is with above method embodiment for phase Same inventive concept has identical advantageous effect, and details are not described herein again.
In addition, the user terminal gateway equipment with reference to Fig. 1 embodiment of the present invention described realizes that the method that DNS is dispatched can be with The equipment of DNS scheduling is realized by user terminal gateway equipment to realize.Fig. 5 shows user terminal provided in an embodiment of the present invention Gateway device realizes the hardware architecture diagram of the equipment of DNS scheduling.
The equipment that user terminal gateway equipment realizes DNS scheduling can include processor 401 and be stored with computer journey The memory 402 of sequence instruction.
Specifically, above-mentioned processor 401 can include central processing unit (CPU) or specific integrated circuit It (Application Specific Integrated Circuit, ASIC) or may be configured to implement implementation of the present invention One or more integrated circuits of example.
Memory 402 can include the mass storage for data or instruction.For example it is unrestricted, memory 402 may include hard disk drive (Hard Disk Drive, HDD), floppy disk, flash memory, CD, magneto-optic disk, tape or logical With the combination of universal serial bus (Universal Serial Bus, USB) driver or two or more the above.It is closing In the case of suitable, memory 402 may include can be removed or the medium of non-removable (or fixed).In a suitable case, it stores Device 402 can be inside or outside data processing equipment.In a particular embodiment, memory 402 is nonvolatile solid state storage Device.In a particular embodiment, memory 402 includes read-only memory (ROM).In a suitable case, which can be mask The ROM of programming, programming ROM (PROM), erasable PROM (EPROM), electric erasable PROM (EEPROM), electrically-alterable ROM (EAROM) or the combination of flash memory or two or more the above.
Processor 401 is by reading and performing the computer program instructions stored in memory 402, to realize above-mentioned implementation The method that any one user terminal gateway equipment in example realizes DNS scheduling.
In one example, the equipment that user terminal gateway equipment realizes DNS scheduling may also include communication interface 403 and total Line 410.Wherein, as shown in figure 5, processor 401, memory 402, communication interface 403 are connected by bus 410 and completed mutually Between communication.
Communication interface 403 is mainly used for realizing in the embodiment of the present invention between each module, device, unit and/or equipment Communication.
Bus 410 includes hardware, software or both, and user terminal gateway equipment is realized to the component of the equipment of DNS scheduling It is coupled to each other together.For example unrestricted, bus may include accelerated graphics port (AGP) or other graphics bus, increase Strong Industry Standard Architecture (EISA) bus, Front Side Bus (FSB), super transmission (HT) interconnection, Industry Standard Architecture (ISA) bus, Infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro- channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, Serial Advanced Technology Attachment (SATA) bus, Video Electronics Standards Association The combination of part (VLB) bus or other suitable buses or two or more the above.In a suitable case, always Line 410 may include one or more buses.Although specific bus has been described and illustrated in the embodiment of the present invention, the present invention considers Any suitable bus or interconnection.
In addition, the method for DNS scheduling, the embodiment of the present invention are realized with reference to the user terminal gateway equipment in above-described embodiment A kind of computer readable storage medium can be provided to realize.Computer program is stored on the computer readable storage medium to refer to It enables;The computer program instructions realize that any one user terminal gateway equipment in above-described embodiment is real when being executed by processor The method of existing DNS scheduling.
It should be clear that the invention is not limited in specific configuration described above and shown in figure and processing. For brevity, it is omitted here the detailed description to known method.In the above-described embodiments, several tools have been described and illustrated The step of body, is as example.But procedure of the invention is not limited to described and illustrated specific steps, this field Technical staff can be variously modified, modification and addition or suitable between changing the step after the spirit for understanding the present invention Sequence.
Structures described above frame functional block shown in figure can be implemented as hardware, software, firmware or their group It closes.When realizing in hardware, it may, for example, be electronic circuit, application-specific integrated circuit (ASIC), appropriate firmware, insert Part, function card etc..When being realized with software mode, element of the invention is used to perform program or the generation of required task Code section.Either code segment can be stored in machine readable media program or the data-signal by being carried in carrier wave is passing Defeated medium or communication links are sent." machine readable media " can include being capable of any medium of storage or transmission information. The example of machine readable media includes electronic circuit, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), soft Disk, CD-ROM, CD, hard disk, fiber medium, radio frequency (RF) link, etc..Code segment can be via such as internet, inline The computer network of net etc. is downloaded.
It should also be noted that, the exemplary embodiment referred in the present invention, is retouched based on a series of step or device State certain methods or system.But the present invention is not limited to the sequence of above-mentioned steps, that is to say, that can be according in embodiment The sequence referred to performs step, may also be distinct from that the sequence in embodiment or several steps are performed simultaneously.
The above description is merely a specific embodiment, it is apparent to those skilled in the art that, For convenience of description and succinctly, the specific work process of the system of foregoing description, module and unit can refer to preceding method Corresponding process in embodiment, details are not described herein.It should be understood that protection scope of the present invention is not limited thereto, it is any to be familiar with Those skilled in the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or substitutions, These modifications or substitutions should be covered by the protection scope of the present invention.

Claims (14)

  1. A kind of 1. method of user terminal gateway equipment DNS scheduling, which is characterized in that the method includes:
    Result is translated domain names into be compared with IP address section set in preconfigured net;
    The IP address that IP address section set in the net is fallen into domain name analysis result is encapsulated in the address for replying message The IP address for not falling within IP address section set in the net is encapsulated in the address list for replying message by the front end of list Finally, wherein, the reply message is the domain name mapping result for returning to user's access terminals.
  2. 2. according to the method described in claim 1, it is characterized in that, translating domain names into result with IP in preconfigured net Before location section set is compared, this method further includes:
    Identify the ISP network that the user terminal gateway equipment is accessed;
    IP address section set is configured to the first priority set in the net for the ISP network that will identify that.
  3. 3. according to the method described in claim 2, it is characterized in that, identify the ISP that the user terminal gateway equipment is accessed Network includes:The ISP network accessed by the special network management path identification user terminal gateway equipment.
  4. 4. according to the method described in claim 2, it is characterized in that, identify the ISP that the user terminal gateway equipment is accessed Network includes:Obtain the ISP network that user selects in the administration interface of the user terminal gateway equipment, as described user The ISP network that terminating gateway equipment is accessed.
  5. 5. according to the method described in claim 2, it is characterized in that, identify the ISP that the user terminal gateway equipment is accessed Network includes:The LDNS addresses of higher level LDNS are obtained, by the LDNS addresses and the IP address collection of ISP being previously written in firmware Conjunction is compared, so as to identify ISP network that the user terminal gateway equipment is accessed.
  6. 6. according to the method described in claim 2, it is characterized in that, identify the ISP that the user terminal gateway equipment is accessed After network, this method further includes:If it is unidentified go out ISP network, directly press the user terminal gateway equipment higher level Message is replied in the IP address priority orders generation that LDNS is returned.
  7. 7. according to the method described in claim 2, it is characterized in that, this method further includes:From the user terminal gateway equipment Firmware in obtain IP address section set in the net of the ISP network automatically, wherein, be previously written operator in the firmware Net in IP address section set.
  8. 8. according to the method described in claim 2, it is characterized in that, this method further includes:Institute is obtained by special network management path State IP address section set in the net of ISP network.
  9. 9. according to the method described in claim 2, it is characterized in that, this method further includes:It is set by the user terminal gateway The web server that standby operator sets up downloads IP address section set in the net of the ISP network.
  10. 10. according to the method described in claim 2, it is characterized in that, this method further includes:In the net for updating the ISP network IP address section set.
  11. 11. according to the method described in any one of claim 1-10, which is characterized in that translating domain names into result with matching in advance Before IP address section set is compared in the net put, further include:
    Judge whether higher level LDNS has IP address priority ranking function, if having, directly returned by the higher level LDNS The generation of IP address priority orders reply message, otherwise, execution translates domain names into IP address in result and preconfigured net The step of Duan Jihe is compared.
  12. 12. a kind of device of user terminal gateway equipment DNS scheduling, which is characterized in that described device includes:
    Comparing unit is compared for translating domain names into result with IP address section set in preconfigured net;
    Sequencing unit, for the IP address that IP address section set in the net is fallen into domain name analysis result to be encapsulated in back The front end of the address list of multiple message, the reply message is encapsulated in by the IP address for not falling within IP address section set in the net Address list it is last, wherein, it is described reply message be the domain name mapping result for returning to user's access terminals.
  13. 13. a kind of equipment of user terminal gateway equipment DNS scheduling, which is characterized in that including:At least one processor, at least One memory and the computer program instructions being stored in the memory, when the computer program instructions are by the place Manage the method realized when device performs as described in any one of claim 1-11.
  14. 14. a kind of computer readable storage medium, is stored thereon with computer program instructions, which is characterized in that when the calculating The method as described in any one of claim 1-11 is realized when machine program instruction is executed by processor.
CN201711384384.1A 2017-12-20 2017-12-20 Method, device, equipment and medium for dispatching DNS (Domain name System) of user terminal gateway equipment Active CN108234685B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711384384.1A CN108234685B (en) 2017-12-20 2017-12-20 Method, device, equipment and medium for dispatching DNS (Domain name System) of user terminal gateway equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711384384.1A CN108234685B (en) 2017-12-20 2017-12-20 Method, device, equipment and medium for dispatching DNS (Domain name System) of user terminal gateway equipment

Publications (2)

Publication Number Publication Date
CN108234685A true CN108234685A (en) 2018-06-29
CN108234685B CN108234685B (en) 2021-04-27

Family

ID=62649887

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711384384.1A Active CN108234685B (en) 2017-12-20 2017-12-20 Method, device, equipment and medium for dispatching DNS (Domain name System) of user terminal gateway equipment

Country Status (1)

Country Link
CN (1) CN108234685B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113067907A (en) * 2020-01-02 2021-07-02 ***通信有限公司研究院 Method and related equipment for addressing edge application
CN114244805A (en) * 2021-11-08 2022-03-25 网宿科技股份有限公司 Domain name configuration method and device
CN114338592A (en) * 2021-12-31 2022-04-12 中国电信股份有限公司 Address resolution processing method, system, device, electronic equipment and storage medium
CN114500460A (en) * 2021-12-27 2022-05-13 天翼云科技有限公司 CDN network and automatic scheduling method for node return upper layer request thereof

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316172A (en) * 2010-07-05 2012-01-11 中国电信股份有限公司 Method, system and SAG (service access gateway) equipment for analyzing DNS (domain name system)
CN103002069A (en) * 2012-12-25 2013-03-27 北京小米科技有限责任公司 Domain name resolution method, device and system
CN103051717A (en) * 2012-12-25 2013-04-17 北京小米科技有限责任公司 Method, device and equipment for processing http request
US20130198065A1 (en) * 2011-10-03 2013-08-01 Verisign, Inc. Adaptive name resolution
CN103491201A (en) * 2013-08-27 2014-01-01 北京蓝汛通信技术有限责任公司 Domain name resolution method and domain name server
CN103973834A (en) * 2014-05-12 2014-08-06 重庆邮电大学 Domain name resolution (DNS) acceleration method and device based on home gateway
CN105610993A (en) * 2014-11-20 2016-05-25 ***通信集团河南有限公司 Method, device and system for domain name resolution
CN106657432A (en) * 2016-11-17 2017-05-10 ***通信集团江苏有限公司 Domain name resolution method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316172A (en) * 2010-07-05 2012-01-11 中国电信股份有限公司 Method, system and SAG (service access gateway) equipment for analyzing DNS (domain name system)
US20130198065A1 (en) * 2011-10-03 2013-08-01 Verisign, Inc. Adaptive name resolution
CN103002069A (en) * 2012-12-25 2013-03-27 北京小米科技有限责任公司 Domain name resolution method, device and system
CN103051717A (en) * 2012-12-25 2013-04-17 北京小米科技有限责任公司 Method, device and equipment for processing http request
CN103491201A (en) * 2013-08-27 2014-01-01 北京蓝汛通信技术有限责任公司 Domain name resolution method and domain name server
CN103973834A (en) * 2014-05-12 2014-08-06 重庆邮电大学 Domain name resolution (DNS) acceleration method and device based on home gateway
CN105610993A (en) * 2014-11-20 2016-05-25 ***通信集团河南有限公司 Method, device and system for domain name resolution
CN106657432A (en) * 2016-11-17 2017-05-10 ***通信集团江苏有限公司 Domain name resolution method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113067907A (en) * 2020-01-02 2021-07-02 ***通信有限公司研究院 Method and related equipment for addressing edge application
CN114244805A (en) * 2021-11-08 2022-03-25 网宿科技股份有限公司 Domain name configuration method and device
CN114244805B (en) * 2021-11-08 2023-10-03 网宿科技股份有限公司 Domain name configuration method and device
CN114500460A (en) * 2021-12-27 2022-05-13 天翼云科技有限公司 CDN network and automatic scheduling method for node return upper layer request thereof
CN114500460B (en) * 2021-12-27 2024-04-26 天翼云科技有限公司 CDN (content delivery network) and automatic scheduling method for node return upper layer requests of CDN
CN114338592A (en) * 2021-12-31 2022-04-12 中国电信股份有限公司 Address resolution processing method, system, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN108234685B (en) 2021-04-27

Similar Documents

Publication Publication Date Title
CN108234685A (en) Method, apparatus, equipment and the medium of user terminal gateway equipment DNS scheduling
US9672024B2 (en) Techniques for automatic software provisioning
US10225145B2 (en) Method and device for updating client
EP3664372A1 (en) Network management method and related device
Ammar et al. Network-protocol-based iot device identification
CN108737584A (en) The access method of container service, the analytic method of network address, device and system
CN106341438A (en) Request processing method and device
CN107360269A (en) Domain name analysis system optimization method, device, equipment and storage medium
CN107360261A (en) A kind of HTTP request processing method, device and electronic equipment
CN109657434B (en) Application access method and device
US6560591B1 (en) System, method, and apparatus for managing multiple data providers
US20120317247A1 (en) Configuring multiple network devices in a setup flow
CN104639348A (en) Network device and configuration method thereof
CN106790593B (en) Page processing method and device
CN108647240A (en) A kind of method, apparatus, electronic equipment and the storage medium of statistics visit capacity
CN109561165A (en) Domain name system configuration method and relevant apparatus
CN110213365B (en) User access request processing method based on user partition and electronic equipment
CN106603748A (en) Terminal internet surfing method and terminal
CN109088949B (en) Matching method of Internet of things services and MME
US20190132153A1 (en) System and methods for mapping a network service path
CN109446445A (en) A kind of resource acquiring method and device
KR101700197B1 (en) Method for addressing node address for device management and apparatus therefor
CN114500456A (en) DNS scheduling optimization method and device based on full-network sniffing and computing equipment
CN109981813B (en) Message processing method and device
WO2017149159A1 (en) Counterfeit electronic device detection

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
GR01 Patent grant
GR01 Patent grant