Movatterモバイル変換


[0]ホーム

URL:


CN109561167A - A kind of domain name analytic method and device - Google Patents

A kind of domain name analytic method and device
Download PDF

Info

Publication number
CN109561167A
CN109561167ACN201811423493.4ACN201811423493ACN109561167ACN 109561167 ACN109561167 ACN 109561167ACN 201811423493 ACN201811423493 ACN 201811423493ACN 109561167 ACN109561167 ACN 109561167A
Authority
CN
China
Prior art keywords
dns
domain name
response message
result
query
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
CN201811423493.4A
Other languages
Chinese (zh)
Other versions
CN109561167B (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.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech Technologies 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 Hangzhou DPTech Technologies Co LtdfiledCriticalHangzhou DPTech Technologies Co Ltd
Priority to CN201811423493.4ApriorityCriticalpatent/CN109561167B/en
Publication of CN109561167ApublicationCriticalpatent/CN109561167A/en
Application grantedgrantedCritical
Publication of CN109561167BpublicationCriticalpatent/CN109561167B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Disclose a kind of domain name analytic method and device.A kind of domain name analytic method, it is characterized in that, 1 multicast group is added at least two target UE and dns server by the method, this method comprises: any target UE is in the case where determination needs to carry out domain name mapping, in local pre-stored domain name mapping result, whether inquiry has stored the domain name for needing to parse;For the either objective user equipment in the case where inquiring not stored, Xiang Suoshu dns server sends DNS request message;Dns server replys DNS response message in the case where receiving DNS request message, with multicast mode;Any target UE obtains the DNS response message in the case where listening to multicast DNS response message, and the domain name mapping result being locally stored is updated according to the DNS response message.

Description

A kind of domain name analytic method and device
Technical field
This specification embodiment is related to network communication technology field more particularly to a kind of domain name analytic method and device.
Background technique
DNS (Domain Name System, domain name system) is one the domain name of host in network and IP address is mutualThe distributed data base of mapping, by the domain name convenient for people's memory, input and convenient for the mapping between the IP address of computer disposalRelationship makes people more easily access network.
Domain name to IP address mapping storage in the dns server, in the prior art, when user needs to pass through user equipmentWhen accessing certain domain name, user equipment will send request message to dns server, and dns server is closed according to the mapping storedSystem, returning to user equipment includes the response message for corresponding to IP address or upstream dns server.
But exist in the network environment of a large amount of similar domain name mapping demands, each user equipment may be in the short timeIt is interior, the analysis request of a large amount of same domain names is sent to dns server, dns server carries out response by the scheme of the prior art,It may result in low, waste network bandwidth of reply efficiency etc..
Summary of the invention
In view of this, this specification embodiment provides a kind of domain name analytic method and device, technical solution are as follows:
A kind of domain name analytic method, which is characterized in that the method is by least two target UE and dns server1 multicast group is added, this method comprises:
Any target UE is in the case where determination needs to carry out domain name mapping, in local pre-stored domainIn name parsing result, whether inquiry has stored the domain name for needing to parse;
For the either objective user equipment in the case where inquiring not stored, Xiang Suoshu dns server sends DNS requestMessage;
The dns server replys DNS response message in the case where receiving DNS request message, with multicast mode;
Any target UE obtains the DNS response report in the case where listening to multicast DNS response messageText, and the domain name mapping result being locally stored is updated according to the DNS response message.
A kind of domain name analysis system, which is characterized in that the system comprises at least two target UE and DNS servicesDevice, and 1 multicast group is added in the target UE and dns server:
Any target UE is in the case where determination needs to carry out domain name mapping, in local pre-stored domainIn name parsing result, whether inquiry has stored the domain name for needing to parse;
For the either objective user equipment in the case where inquiring not stored, Xiang Suoshu dns server sends DNS requestMessage;
The dns server replys DNS response message in the case where receiving DNS request message, with multicast mode;
Any target UE obtains the DNS response report in the case where listening to multicast DNS response messageText, and the domain name mapping result being locally stored is updated according to the DNS response message.
Technical solution provided by this specification embodiment, by the user equipment with similar domain name analysis request, andDns server is added in same multicast group, and dns server returns to DNS response message by multicast mode, so that multicast groupIn each user equipment less can request identical domain name mapping to dns server as a result, to save network bandwidthWith the time of user equipment access webpage.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, notThis specification embodiment can be limited.
In addition, any embodiment in this specification embodiment does not need to reach above-mentioned whole effects.
Detailed description of the invention
In order to illustrate more clearly of this specification embodiment or technical solution in the prior art, below will to embodiment orAttached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is onlyThe some embodiments recorded in this specification embodiment for those of ordinary skill in the art can also be attached according to theseFigure obtains other attached drawings.
Fig. 1 is the structural schematic diagram of the domain name analysis system of this specification embodiment;
Fig. 2 is the flow diagram of this specification embodiment domain name analytic method;
Fig. 3 is a kind of structural schematic diagram of this specification embodiment domain name mapping device;
Fig. 4 is another structural schematic diagram of this specification embodiment domain name mapping device;
Fig. 5 is the structural schematic diagram for configuring a kind of equipment of this specification embodiment device.
Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification embodiment, below in conjunction with thisAttached drawing in specification embodiment is described in detail the technical solution in this specification embodiment, it is clear that describedEmbodiment is only a part of the embodiment of this specification, instead of all the embodiments.The embodiment of base in this manual,Those of ordinary skill in the art's every other embodiment obtained, all should belong to the range of protection.
In view of the problems of the existing technology, this specification provides a kind of domain name mapping scheme.
In the embodiment of this specification, domain name mapping process is related at least 2 target UEs and DNS serviceDevice, corresponding system architecture schematic diagram as shown in Figure 1, include user equipment 11,12 ... 1n and dns server 20.It canWith understanding, so-called user equipment in this specification embodiment, can for mobile phone, tablet computer, laptop, etc.A specific server or clothes can be can be by the electronic equipment of domain name access website, the concrete form of dns serverThe forms such as business device cluster.
The domain name mapping scheme of this specification embodiment can be applied to the network that there are a large amount of similar domain name mapping demandsIt, can at least 2 users set by this for 2 with similar domain name mapping demand or more platform user equipmenies in environmentStandby and dns server is added in a multicast group, and dns server sends DNS response message using multicasting technology, owns simultaneouslyUser equipment monitors the DNS response message of multicast, to save massive band width by multicast.
In addition, determining the target UE that same multicast group is added (i.e. with the user of similar domain name mapping demandEquipment) when, similar regions can be judged whether there is by operation personnel according to each user and the domain name mapping demand of individual deviceName parsing demand and same multicast group whether is added etc.;It can also be as usual to access by the feature of extraction domain name mapping demandNetwork address or frequentation ask type of webpage, etc., relative user equipment is determined by certain and its algorithm (such as training pattern)With the presence or absence of similar domain name mapping demand and same multicast group whether is added etc.;This specification embodiment does not limit this.
Fig. 2 is the interaction diagrams for the domain name analytic method that this specification embodiment provides, and can specifically include following stepIt is rapid:
S201, any target UE are deposited in the case where determination needs to carry out domain name mapping locally in advanceIn the domain name mapping result of storage, whether inquiry has stored the domain name for needing to parse;
The user equipment of multicast group is added, the common domain name mapping in part can locally be stored in advance as a result, user setsThere are many standby determination needs the case where carrying out domain name mapping, for example, user equipment is laptop, when user opens in computerThe browser of installation, when inputting domain name in address field and accessing, user equipment can determine the domain name for needing to input to userIt is parsed;For another example, user equipment is smart phone, when user clicks some web page interlinkage (domain by certain application softwareName), then user equipment, which can determine, needs the domain name clicked to user to parse, to access the webpage;Etc..
It, can be first in local pre-stored domain name mapping result when user equipment, which determines, needs to carry out domain name mappingIn searched, whether inquiry, which has stored, needs the domain name that parses that can not need if stored to DNS serviceDevice sends domain name analysis request, and directly may have access to corresponding website using pre-stored parsing result.
S202, in the case where inquiring not stored, Xiang Suoshu dns server is sent the either objective user equipmentDNS request message;
If user equipment does not inquire the domain name parsed in local pre-stored domain name mapping resultCorresponding IP address, then can send DNS request message to the dns server in same multicast group, and request dns server returnsThe parsing result of the domain name.
S203, the dns server reply DNS response report in the case where receiving DNS request message, with multicast modeText;
Dns server, specifically can be by a variety of in the case where receiving DNS request message in this specification embodimentMode replys DNS response message with multicast mode.
In a kind of specific embodiment of this specification embodiment, can first according to the DNS request message that receives,Determine the domain name for needing to parse, then in the local domain name mapping result with existing storage of dns server, whether inquiry has been storedThe parsing result of the domain name for needing to parse and the domain name, has stored if inquired, and dns server can be returned with multicast modeDNS response message is answered, includes the domain name mapping result inquired in the response message.
And stored if do not inquired, it is possible to further determine the DNS query mode of this dns server system,Then according to identified DNS query mode, the query result information returned to user equipment is obtained, and reply with multicast modeQuery result information.
It, specifically, can be first according to receiving for example, in the case where determining DNS query result is recursive queryDNS request message, upstream dns server sends dns resolution request, then in the DNS for receiving the return of upstream dns serverIn the case where parsing result, according to the dns resolution as a result, replying DNS response message with multicast mode, wrapped in the response messageInclude the domain name mapping result of the return.
For another example, in the case where determining DNS query result is iterative query, specifically, upstream DNS clothes can be obtained firstThe address of business device, then returns to upstream dns server obtained to the target UE for sending the DNS request messageAddress, so that the target UE is according to the address upstream dns server nslookup parsing result.
S204, any target UE obtain the DNS in the case where listening to multicast DNS response messageResponse message, and the domain name mapping result being locally stored is updated according to the DNS response message.
As previously described, in this specification embodiment, each user equipment of same multicast group is added, all has similar domainName parsing demand, therefore dns server returns to DNS response message in the form of multicast, and each target user in multicast groupEquipment monitors the DNS response message of multicast.
Any user equipment in multicast group can obtain the message in the case where listening to multicast DNS response message,And the domain name mapping being locally stored is updated as a result, for example, if preparatory not stored domain name and its solution according to the DNS response messageAnalysis as a result, can then be added to and be locally stored in;For another example, if the corresponding parsing result of pre-stored domain name is answered with the DNSInconsistent in message, then can be locally stored by the update of the parsing result in message parsing result is answered, so that it is guaranteed thatIt is accessible to arrive correct IP address when accessing the domain name again, avoid waste flow access errors again.
As it can be seen that can be deposited by multicast DNS response message, the local that timely updates using the scheme of this specification embodimentThe modes such as storage save user equipment and obtain domain name mapping result, the bandwidth for accessing webpage and time.
Corresponding to above method embodiment, this specification embodiment also provides a kind of domain name mapping device, is applied to targetUser equipment, it is shown in Figure 3, the apparatus may include:
Inquiry of the domain name module 110, for determine need to carry out domain name mapping in the case where, in local pre-stored domainIn name parsing result, whether inquiry has stored the domain name for needing to parse;
Message sending module 120, in the case where inquiring not stored, Xiang Suoshu dns server to send DNS requestMessage, so that dns server replys DNS response message in the case where receiving DNS request message with multicast mode;
Message monitoring module 130 for monitoring the DNS response message of multicast, and is listening to multicast DNS response messageIn the case of, the DNS response message is obtained, and the domain name mapping result being locally stored is updated according to the DNS response message.
This specification embodiment also provides a kind of domain name mapping device, is applied to dns server, shown in Figure 4, the dressIt sets and may include:
Request message receiving module 210, for receiving the DNS request message of target UE transmission;The DNS requestMessage is any target UE in the case where inquiring local not stored domain name mapping result, Xiang Suoshu DNS clothesThe message that business device is sent;
Response message group broadcasting module 220, for replying DNS response message with multicast mode, so that either objective user setsIt is standby to obtain the DNS response message in the case where listening to multicast DNS response message and this is updated according to the DNS response messageThe domain name mapping result of ground storage.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatusRealization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method realityApply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unitThe unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be withIt is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actualThe purpose for needing to select some or all of the modules therein to realize this specification example scheme.Ordinary skill peopleMember can understand and implement without creative efforts.
Fig. 5 shows one kind provided by this specification embodiment and more specifically calculates device hardware structural schematic diagram,The equipment may include: processor 1010, memory 1020, input/output interface 1030, communication interface 1040 and bus1050.Wherein processor 1010, memory 1020, input/output interface 1030 and communication interface 1040 are real by bus 1050The now communication connection inside equipment each other.
Processor 1010 can use general CPU (Central Processing Unit, central processing unit), micro- placeReason device, application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or oneOr the modes such as multiple integrated circuits are realized, for executing relative program, to realize technical side provided by this specification embodimentCase.
Memory 1020 can use ROM (Read Only Memory, read-only memory), RAM (Random AccessMemory, random access memory), static storage device, the forms such as dynamic memory realize.Memory 1020 can storeOperating system and other applications are realizing technical solution provided by this specification embodiment by software or firmwareWhen, relevant program code is stored in memory 1020, and execution is called by processor 1010.
Input/output interface 1030 is for connecting input/output module, to realize information input and output.Input and output/Module can be used as component Configuration (not shown) in a device, can also be external in equipment to provide corresponding function.WhereinInput equipment may include keyboard, mouse, touch screen, microphone, various kinds of sensors etc., output equipment may include display,Loudspeaker, vibrator, indicator light etc..
Communication interface 1040 is used for connection communication module (not shown), to realize the communication of this equipment and other equipmentInteraction.Wherein communication module can be realized by wired mode (such as USB, cable etc.) and be communicated, can also be wirelessly(such as mobile network, WIFI, bluetooth etc.) realizes communication.
Bus 1050 include an access, equipment various components (such as processor 1010, memory 1020, input/it is defeatedOutgoing interface 1030 and communication interface 1040) between transmit information.
It should be noted that although above equipment illustrates only processor 1010, memory 1020, input/output interface1030, communication interface 1040 and bus 1050, but in the specific implementation process, which can also include realizing normal fortuneOther assemblies necessary to row.In addition, it will be appreciated by those skilled in the art that, it can also be only comprising real in above equipmentComponent necessary to existing this specification example scheme, without including all components shown in figure.
Although this specification includes many specific implementation details, these are not necessarily to be construed as the model for limiting any inventionIt encloses or range claimed, and is primarily used for describing the feature of the specific embodiment of specific invention.In this specificationCertain features described in multiple embodiments can also be combined implementation in a single embodiment.On the other hand, individually implementingVarious features described in example can also be performed separately in various embodiments or be implemented with any suitable sub-portfolio.ThisOutside, although feature can work in certain combinations as described above and even initially so be claimed, institute is come fromOne or more features in claimed combination can be removed from the combination in some cases, and claimedCombination can be directed toward the modification of sub-portfolio or sub-portfolio.
Similarly, although depicting operation in the accompanying drawings with particular order, this is understood not to require these behaviourMake the particular order shown in execute or sequentially carry out or require the operation of all illustrations to be performed, to realize desired knotFruit.In some cases, multitask and parallel processing may be advantageous.In addition, the various system modules in above-described embodimentSeparation with component is understood not to be required to such separation in all embodiments, and it is to be understood that describedProgram assembly and system can be usually integrated in together in single software product, or be packaged into multiple software product.
The specific embodiment of theme has been described as a result,.Other embodiments are within the scope of the appended claims.?In some cases, the movement recorded in claims can be executed in different order and still realize desired result.ThisOutside, the processing described in attached drawing and it is nonessential shown in particular order or sequential order, to realize desired result.In certain realitiesIn existing, multitask and parallel processing be may be advantageous.
The foregoing is merely the preferred embodiments of this specification embodiment, do not implement to limit this specificationExample, all within the spirit and principle of this specification embodiment, any modification, equivalent substitution, improvement and etc. done should all includeWithin the scope of the protection of this specification embodiment.

Claims (10)

CN201811423493.4A2018-11-272018-11-27Domain name resolution method and deviceActiveCN109561167B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201811423493.4ACN109561167B (en)2018-11-272018-11-27Domain name resolution method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201811423493.4ACN109561167B (en)2018-11-272018-11-27Domain name resolution method and device

Publications (2)

Publication NumberPublication Date
CN109561167Atrue CN109561167A (en)2019-04-02
CN109561167B CN109561167B (en)2021-09-24

Family

ID=65867528

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201811423493.4AActiveCN109561167B (en)2018-11-272018-11-27Domain name resolution method and device

Country Status (1)

CountryLink
CN (1)CN109561167B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112671866A (en)*2020-12-152021-04-16上海牙木通讯技术有限公司DNS (Domain name Server) shunt analysis method, DNS server and computer readable storage medium
CN112822309A (en)*2021-04-192021-05-18北京视界云天科技有限公司Domain name resolution method and device
CN113206785A (en)*2021-05-282021-08-03深圳市中科明望通信软件有限公司Network request method and device, terminal equipment and storage medium
CN114465791A (en)*2022-01-252022-05-10杭州盈高科技有限公司Method and device for establishing white list in network management equipment, storage medium and processor

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101272407A (en)*2008-04-282008-09-24杭州华三通信技术有限公司Caching detecting method, caching detecting device and detection responding device for domain name system
CN101483648A (en)*2009-02-202009-07-15杭州华三通信技术有限公司Method, system, apparatus and DNS server for DNS buffer probe
CN103905572A (en)*2012-12-262014-07-02中国移动通信集团公司Domain name resolution request processing method and device
CN107872544A (en)*2016-09-282018-04-03中兴通讯股份有限公司A kind of domain name analytic method, device, gateway and system
CN108156274A (en)*2017-12-182018-06-12杭州迪普科技股份有限公司Equipment is made to obtain the method and device of domain name mapping result in a kind of VPN network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101272407A (en)*2008-04-282008-09-24杭州华三通信技术有限公司Caching detecting method, caching detecting device and detection responding device for domain name system
CN101483648A (en)*2009-02-202009-07-15杭州华三通信技术有限公司Method, system, apparatus and DNS server for DNS buffer probe
CN103905572A (en)*2012-12-262014-07-02中国移动通信集团公司Domain name resolution request processing method and device
CN107872544A (en)*2016-09-282018-04-03中兴通讯股份有限公司A kind of domain name analytic method, device, gateway and system
CN108156274A (en)*2017-12-182018-06-12杭州迪普科技股份有限公司Equipment is made to obtain the method and device of domain name mapping result in a kind of VPN network

Cited By (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112671866A (en)*2020-12-152021-04-16上海牙木通讯技术有限公司DNS (Domain name Server) shunt analysis method, DNS server and computer readable storage medium
CN112822309A (en)*2021-04-192021-05-18北京视界云天科技有限公司Domain name resolution method and device
CN112822309B (en)*2021-04-192021-07-16北京视界云天科技有限公司Domain name resolution method and device
CN113206785A (en)*2021-05-282021-08-03深圳市中科明望通信软件有限公司Network request method and device, terminal equipment and storage medium
CN113206785B (en)*2021-05-282023-01-10深圳市中科明望通信软件有限公司 Network request method and device, terminal equipment, storage medium
CN114465791A (en)*2022-01-252022-05-10杭州盈高科技有限公司Method and device for establishing white list in network management equipment, storage medium and processor
CN114465791B (en)*2022-01-252024-04-30杭州盈高科技有限公司Method and device for establishing white list in network management equipment, storage medium and processor

Also Published As

Publication numberPublication date
CN109561167B (en)2021-09-24

Similar Documents

PublicationPublication DateTitle
CN105391811A (en)DNS (domain name resolution) method, access method for application server, and terminal
CN111399756B (en)Data storage method, data downloading method and device
CN111092877B (en)Data processing method and device, electronic equipment and storage medium
CN109561167A (en)A kind of domain name analytic method and device
CN109408132A (en)A kind of configuration file processing method and server, user terminal, storage medium
CN104092792A (en) Method, system, and client for traffic optimization based on domain name resolution request
CN104754073A (en)Resource access method and device
CN105791344A (en)Grayscale release service processing method, system, load balancer and service bus device
CN103095783A (en)Method and device for web application debugging
CN104038510A (en)IOS system transparent agent realization method and system
CN113132293B (en)Attack detection method and device and public honeypot system
CN109981745A (en)A kind of journal file processing method and server
CN113366815A (en)Network resource request method, device, electronic equipment and storage medium
CN106603593A (en)HTTP calling method and device based on adaption
CN106713684A (en)Method and equipment for binding unified communication client account number with phone number
CN106412000A (en)Domain name query processing method
CN110647634B (en)Method and device for searching media resources, storage medium and electronic device
CN115951923B (en)Subscription event management method, display system, device and storage medium
CN107577712B (en)A kind of method, apparatus and computer equipment of loading page
CN107479985B (en)Remote procedure call method and device and computer equipment
CN108282455A (en)Web-page requests method, apparatus and domain-name information analysis result processing method, device
CN108345508A (en)Interface calls test method and device
CN103973819A (en)Method, related device and system for responding to request for community domain name
CN107105004B (en)Cross-platform service calling method and device
CN108076165A (en)A kind of method, equipment and the system of domain name mapping information management

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp