CN109067930A - Domain name cut-in method, domain name analytic method, server, terminal and storage medium - Google Patents

Domain name cut-in method, domain name analytic method, server, terminal and storage medium Download PDF

Info

Publication number
CN109067930A
CN109067930A CN201810670268.4A CN201810670268A CN109067930A CN 109067930 A CN109067930 A CN 109067930A CN 201810670268 A CN201810670268 A CN 201810670268A CN 109067930 A CN109067930 A CN 109067930A
Authority
CN
China
Prior art keywords
domain name
block chain
address
cdn
node
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
CN201810670268.4A
Other languages
Chinese (zh)
Other versions
CN109067930B (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.)
Wangsu Science and Technology Co Ltd
Original Assignee
Wangsu Science and Technology 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 Wangsu Science and Technology Co Ltd filed Critical Wangsu Science and Technology Co Ltd
Priority to CN201810670268.4A priority Critical patent/CN109067930B/en
Publication of CN109067930A publication Critical patent/CN109067930A/en
Application granted granted Critical
Publication of CN109067930B publication Critical patent/CN109067930B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

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

Abstract

The present embodiments relate to internet area, a kind of domain name cut-in method, domain name analytic method, server, terminal and storage medium are disclosed.In the present invention, domain name cut-in method includes: the corresponding informance for obtaining the first domain name and Internet protocol IP library that content distributing network CDN is provided;According to corresponding informance, the block for being stored with corresponding informance is generated;The block for being stored with corresponding informance is distributed to other block chain nodes in block chain network, the block for being stored with corresponding informance is updated to respective block chain by other block chain nodes.In which, the corresponding informance in the first domain name and the library IP is synchronized to user terminal block chain node, allow user terminal block chain node by inquiring block chain, determine access IP address, shorten the time of queried access IP address, influence of the retention time to query result is avoided, and inquiry access IP address corresponding with the first domain name can be continued when authoritative name server is under attack.

Description

Domain name cut-in method, domain name analytic method, server, terminal and storage medium
Technical field
The present embodiments relate to internet area, in particular to domain name cut-in method, domain name analytic method, server, Terminal and storage medium.
Background technique
The basic ideas of content distributing network (Content Delivery Network, abbreviation CDN) are to avoid as far as possible Be possible on internet influence data transmission bauds and stability bottleneck and link, make content transmission faster, it is more stable. CDN is to place one on the existing Internet basic layer intelligent virtual net that node server is constituted everywhere in network Network.CDN can be in real time according to the connection of network flow and each node, load state and distance and response time to user Etc. integrated informations the request of user is re-directed on the service node nearest from user.The purpose is to obtain user can nearby Required content solves the crowded situation of Internet network, improves the response speed that user accesses website.Current CDN is to domain The access and parsing of name rely primarily on existing domain name system (Domain Name System, abbreviation DNS) technology, i.e., by passing Return inquiry to determine most suitable Internet protocol (Internet Protocol, abbreviation IP) address corresponding with domain name, then will IP address returns to user.
However, it is found by the inventors that at least there are the following problems in the prior art: the domain name access of the CDN based on DNS technology It is had the following problems with analytic method:
1. inquiry velocity is slow;In worst case, it needs to undergo recursive operation many times that can just inquire domain name pair The IP information answered.
2. query result is influenced by fringe node cache-time;Sometimes domain name has changed, but due to domain name Retention time (Time To Live, TTL), domain name change can not come into force in real time in the dns server for parsing, lead to query result Error.
3. causing service wide-area failures since authoritative name server is easy to be attacked, seriously affecting CDN system It uses.
Summary of the invention
Embodiment of the present invention is designed to provide a kind of domain name cut-in method, domain name analytic method, server, terminal And storage medium, allow user terminal block chain node by inquiring block chain, determines access IP address, shorten inquiry and visit The time for asking IP address avoids influence of the retention time to query result, and can be attacked in authoritative name server When hitting, continue inquiry access IP address corresponding with the first domain name.
In order to solve the above technical problems, embodiments of the present invention provide a kind of domain name cut-in method, it to be used for super area Block chain node, comprising: obtain the corresponding informance of the first domain name and Internet protocol IP library that content distributing network CDN is provided;Its In, the first domain name is to need to access the domain name of the website of CDN;According to corresponding informance, the block for being stored with corresponding informance is generated;It will The block for being stored with corresponding informance is distributed to other block chain nodes in block chain network, and other block chain nodes will be stored with The block of corresponding informance is updated to respective block chain;Wherein, block chain network includes user terminal block chain node and super area Block chain node.
Embodiments of the present invention additionally provide a kind of domain name analytic method, are used for user terminal block chain node, comprising: obtain The first domain name is taken, the first domain name is to need the domain name of the website of accessing content distribution network CDN;According to user terminal block chain node Block chain in the first domain name for storing and Internet protocol IP library corresponding informance, determine the corresponding library IP of the first domain name;Its In, it include the IP address of CDN service node in the library IP;According to the corresponding library IP of the first domain name, access IP address is determined.
Embodiments of the present invention additionally provide a kind of server, comprising: at least one processor;And at least one The memory of a processor communication connection;Wherein, memory is stored with the instruction that can be executed by least one processor, instructs quilt At least one processor executes, so that at least one processor is able to carry out the domain name cut-in method that above embodiment refers to.
Embodiments of the present invention additionally provide a kind of terminal, comprising: at least one processor;And
The memory being connect at least one processor communication;Wherein, be stored with can be by least one processor for memory The instruction of execution, instruction are executed by least one processor, are mentioned so that at least one processor is able to carry out above embodiment And domain name analytic method.
Embodiments of the present invention additionally provide a kind of computer readable storage medium, are stored with computer program, calculate The domain name cut-in method that above embodiment refers to is realized when machine program is executed by processor.
Embodiments of the present invention additionally provide a kind of computer readable storage medium, are stored with computer program, calculate The domain name analytic method that above embodiment refers to is realized when machine program is executed by processor.
In terms of existing technologies, super block chain node will store the first domain name and the library IP to embodiment of the present invention The block of corresponding informance is distributed to block chain network, and the corresponding informance is enabled to be synchronized to user terminal block chain node.Due to Corresponding informance is stored in the block chain of user terminal block chain node, the user terminal block chain querying node block chain can determine IP address is accessed, inquiry velocity is improved.In addition to this, because the corresponding informance in the first domain name and the library IP uses block chain technology Storage, the case where can not being distorted to the first domain name and the corresponding informance in the library IP, Domain Hijacking can be prevented.Due to block The characteristic of chain enables user terminal block chain node to be synchronized to corresponding informance immediately in networking, avoids retention time pair The influence of query result.Due to being stored with the corresponding informance in the block chain of user terminal block chain node, even if authoritative domain name clothes Business device is attacked, and user terminal block chain node still is able to determine access IP address, obtains the information of the website of user's access.
In addition, obtain content distributing network CDN provide the first domain name and Internet protocol IP library corresponding informance it It is preceding or later, domain name cut-in method further include: obtain the fault message that CDN is provided, wherein fault message includes breaking down The IP address of CDN service node;According to fault message, the block for being stored with fault message is generated;Fault message will be stored with Block is distributed to other block chain nodes in block chain network, other block chain nodes will be stored with the block of fault message more New extremely respective block chain.In which, fault message is updated to user terminal block chain node, avoids user terminal block chain link The CDN service node that point access is broken down.
In addition, corresponding relationship and second domain name and IP library of the corresponding informance by CDN according to the first domain name and the second domain name Corresponding relationship determine.In which, CDN is that after the first domain name distributes the second domain name, that is, can determine that first domain name is corresponding The library IP improves the speed of the first domain name access CDN.
In addition, determining access IP address according to the corresponding library IP of the first domain name, specifically including: determining user terminal block chain The IP address of node;According to the IP address of user terminal block chain node, a CDN clothes are selected from the corresponding library IP of the first domain name The IP address of business node is as access IP address.
In addition, determining the IP address of user terminal block chain node, specifically include: sending for obtaining user terminal block chain link The request of the IP address of point is to IP address detection device, wherein IP address detection device determines user terminal block chain according to request The IP address of node;According to the IP address of user terminal block chain node, the response message to request is determined;Obtain IP address detection Device is to the response message of request, and information, determines the IP address of user terminal block chain node according to response.In which, determine The real IP address of user terminal block chain node, so that user configures the local domain name server of user terminal block chain node to Authoritative name server still is able to most suitable access IP is determined according to the real IP address of user terminal block chain node Location.
In addition, selecting a CDN from the corresponding library IP of the first domain name in the IP address according to user terminal block chain node Before the IP address of service node is as access IP address, domain name analytic method further include: according to the failure stored in block chain Information rejects the IP address of the CDN service node to break down in the corresponding library IP of the first domain name;Wherein, failure information package Include the IP address of the CDN service node to break down.In which, the IP address of the CDN service node to break down is rejected, User terminal block chain node visit is avoided to send the CDN service node of failure.
Detailed description of the invention
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys The bright restriction not constituted to embodiment, the element in attached drawing with same reference numbers label are expressed as similar element, remove Non- to have special statement, composition does not limit the figure in attached drawing.
Fig. 1 is the structural schematic diagram of the domain name analysis system of the CDN of first embodiment of the invention;
Fig. 2 is the structural schematic diagram of the domain-name information management module of first embodiment of the invention;
Fig. 3 is the flow chart of the domain name cut-in method of first embodiment of the invention;
Fig. 4 is the flow chart of the domain name cut-in method of second embodiment of the present invention;
Fig. 5 is the flow chart of the synchronous method of the scheduling information of second embodiment of the present invention;
Fig. 6 is the flow chart of the domain name analytic method of third embodiment of the present invention;
Fig. 7 is the flow chart of the domain name analytic method of the 4th embodiment of the invention;
Fig. 8 is the structural schematic diagram of the server of the 5th embodiment of the invention;
Fig. 9 is the structural schematic diagram of the terminal of sixth embodiment of the invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention Each embodiment be explained in detail.However, it will be understood by those skilled in the art that in each embodiment party of the present invention In formula, in order to make the reader understand this application better, many technical details are proposed.But even if without these technical details And various changes and modifications based on the following respective embodiments, the application technical solution claimed also may be implemented.
Domain name cut-in method and domain name analytic method that embodiments of the present invention provide are applied to the domain name mapping system of CDN System, the structure of the domain name analysis system of CDN is as shown in Figure 1, include domain-name information management module 101, user terminal block chain node 102, super block chain node management module 103 and super block chain node 104.Wherein, domain-name information management module 101 is used for The relevant informations such as the corresponding informance of management, the first domain name of maintenance and the library IP.As shown in Fig. 2, domain-name information management module 101 includes Domain name maintenance module 201, the second domain name chain maintenance module 202 and IP scheduler module 203.Domain name maintenance module 201 is for safeguarding The corresponding relationship of first domain name and the first domain name and the second domain name chain is stored with the second domain name and the library IP in the second domain name chain Corresponding relationship.The domain name maintenance module 201 can be interacted with super block chain node so that CDN can by the first domain name with The corresponding informance in the library IP is sent to super block chain node.Second domain name chain maintenance module 202 is for safeguarding the second domain name and IP The corresponding relationship in library.Failure scheduling etc. of the IP scheduler module 203 for CDN service node.User terminal block chain node 102 is used for First domain name of user's input is parsed, to obtain access IP address.Super block chain node management module 103 is for managing Manage the information of super block chain node.Super block chain node is used for the corresponding informance generation area according to the first domain name and the library IP Block, and be distributed in block chain network.
It should be noted that domain name cut-in method, domain name analytic method and other related sides that present embodiment refers to Method, the intelligent contract that can be made up of automatized script code is realized, which is erected at super block chain link On the block chain of point, super block chain node and user terminal block chain node are executed present embodiment and are mentioned by the intelligence contract And method.
It is noted that it will be understood by those skilled in the art that CDN further includes each CDN service node in practical application Deng other modules.Involved each module is logic module in present embodiment, in practical applications, a logic unit It can be a physical unit, be also possible to a part of a physical unit, it can also be real with the combination of multiple physical units It is existing.In addition, in order to protrude innovative part of the invention, in present embodiment there is no by with solve technology proposed by the invention The less close unit of issue concerns introduces, but this does not indicate that there is no other units in present embodiment.
The first embodiment of the present invention is related to a kind of domain name cut-in methods, are used for super block chain node.Pass through execution First domain name is accessed CDN by the domain name cut-in method, to improve the response speed that user accesses website.The domain name cut-in method Detailed process it is as shown in Figure 3.
Step 301: obtaining the corresponding informance of the first domain name and the library IP that CDN is provided.
Specifically, the first domain name is to need to access the domain name of the website of CDN, the corresponding informance in the first domain name and the library IP can To be the corresponding relationship of the first domain name Yu the library IP, it is also possible to the corresponding relationship of the first domain name Yu the second domain name chain.
Step 302: according to the corresponding informance of the first domain name and the library IP, generating the block for being stored with the corresponding informance.
Specifically, super block chain node is generating the mistake for being stored with the block of corresponding informance of the first domain name and the library IP Cheng Zhong can encrypt the corresponding informance by encryption technology.
It is noted that since the corresponding informance in the first domain name and the library IP is using the storage of block chain technology, it can not be to it The case where being distorted, Domain Hijacking can be prevented.
Step 303: the block for being stored with the corresponding informance of the first domain name and the library IP is distributed to its in block chain network His block chain node.
Specifically, block chain network includes user terminal block chain node and super block chain node.Block chain network Other block chain nodes receive be stored with the block of corresponding informance after, which is updated to respectively Block chain.
In the specific implementation, the data that can preset super block chain node are completely credible, so as in block chain network The block that each node can issue super block chain node is added in respective block chain.
It is noted that since the synchronizing speed of block chain is fast, it can when user terminal block chain node accesses network To complete synchronizing information, influence of the retention time to query result is avoided.
It is noted that corresponding informance is recorded in the block chain of user terminal block chain node, so that authoritative domain name clothes When business device is under attack, the block chain that user terminal block chain node can be local by inquiry determines access IP address, and then acquisition The information of the website of access.
It should be noted that the above is only limit for example, not constituting to technical solution of the present invention.
Compared with prior art, the domain name cut-in method that present embodiment provides, super block chain node will store first The block of the corresponding informance in domain name and the library IP is distributed to block chain network, and the corresponding informance is enabled to be synchronized to user terminal block Chain node.Due to being stored with corresponding informance, the user terminal block chain querying node area in the block chain of user terminal block chain node Block chain can determine access IP address, improve inquiry velocity.In addition to this, due to the characteristic of block chain, so that user's petiolarea Block chain node can be synchronized to corresponding informance in networking immediately, avoid influence of the retention time to query result.Also, by It is stored with the corresponding informance in the block chain of user terminal block chain node, even if authoritative name server is attacked, user terminal Block chain node still is able to determine access IP address, obtains the information of the website of access.
Second embodiment of the present invention is related to a kind of domain name cut-in method.Present embodiment is to first embodiment Further refinement specifically illustrates corresponding relationship and second domain name and IP library of the CDN according to the first domain name and the second domain name Corresponding relationship determines the process of the corresponding informance in the first domain name and the library IP.
Specifically, as shown in figure 4, the domain name cut-in method of present embodiment includes step 401 to step 408, wherein Step 405 is roughly the same to step 303 with the step 301 in first embodiment respectively to step 407, and details are not described herein again. Difference is mainly introduced below:
The domain name access request of step 401:CDN acquisition website.
Specifically, website sends domain name access request when request accesses CDN, to CDN.Include in domain name access request First domain name of website.CDN executes subsequent step after determining that the website meets preset condition.Wherein, preset condition includes net It stands and has put on record, and/or, which has paid service fee.
Step 402:CDN distributes the second domain name according to the type of service of website for website.
Specifically, it is the inside domain name for needing to access the website distribution of the CDN that the second domain name, which is CDN,.
It should be noted that CDN can also be the website distribution for needing to access CDN according to other principles in practical application Second domain name, it is the mode for needing to access the second domain name of website distribution of CDN that present embodiment, which does not limit CDN,.
Step 403:CDN determines the library IP corresponding with second domain name according to the second domain name of distribution.
Specifically, the corresponding relationship of the second domain name Yu the library IP is stored in the second domain name chain of CDN, according to the second domain name Chain determines the corresponding relationship of the second domain name Yu the library IP.
Step 404:CDN is according to the first domain name and the corresponding relationship of the second domain name and the correspondence of the second domain name and the library IP Relationship determines the corresponding informance of the first domain name Yu the library IP, and the corresponding informance is sent to super block chain node.
Step 405: super block chain node obtains the corresponding informance in the first domain name that CDN is provided and the library IP.
Step 406: super block chain node generates according to the corresponding informance of the first domain name and the library IP and is stored with correspondence letter The block of breath.
Step 407: the block for being stored with the corresponding informance of the first domain name and the library IP is distributed to area by super block chain node Other block chain nodes in block chain network.
Step 408: the block for being stored with the corresponding informance of the first domain name and the library IP is updated to respectively by other block chain nodes From block chain.
It should be noted that it will be understood by those skilled in the art that CDN can also believe other scheduling in practical application Breath is sent to super block chain node, and scheduling information, generation are stored with scheduling information to super block chain node based on the received Block, and be sent in block chain, so that the scheduling information is synchronized to user terminal block chain node.
Below in case where the CDN service nodes break down of CDN, illustrate for the scheduling information to be synchronized to block chain Process.As shown in figure 5, the synchronous method of scheduling information includes step 501 to step 506.
After the IP scheduler module of step 501:CDN finds a certain CDN service nodes break down, the CDN service section is marked The IP address of point.
Step 502:CDN determines fault message according to the IP address of tape label.Wherein, fault message includes breaking down CDN service node IP address.
Fault message is sent to super block chain node by step 503:CDN.
Step 504: super block chain node obtains the fault message that CDN is provided, and according to fault message, generation is stored with event Hinder the block of information.
Step 505: the block for being stored with fault message is distributed to other in block chain network by super block chain node Block chain network node.
Step 506: the block for being stored with fault message is updated in respective block chain by other block chain nodes.
It should be noted that the above is only limit for example, not constituting to technical solution of the present invention.
Compared with prior art, scheduling information is sent to super by the domain name cut-in method provided in present embodiment, CDN Block chain node, super block chain node is by the synchronizing information to user terminal block chain node, so that user terminal block chain node The scheduling information of CDN can be obtained in time, and according to the scheduling information, provides effective access IP address for user.
Third embodiment of the invention is related to a kind of domain name analytic method, is used for user terminal block chain node, wherein user Petiolarea block chain node requests access to the terminal of a certain website by browser or browser plug-in etc..As shown in fig. 6, the domain name solution Analysis method includes:
Step 601: obtaining the first domain name.Wherein, the first domain name is to need to access the domain name of the website of CDN.
Specifically, the special browser that user terminal block chain node can be issued by browser plug-in or CDN manufacturer, Or software is kidnapped using some system-level parsings, obtain the first domain name that user terminal block chain node is sent.
It should be noted that before the domain name analytic method and domain name analytic method that are referred to due to embodiment of the present invention are had The advantages of text refers to, so that user is more willing to the domain name cut-in method for selecting to refer to using embodiment of the present invention and domain name mapping The CDN manufacturer of method.And the first CDN manufacturer is in the domain name cut-in method and domain name mapping side referred to using embodiment of the present invention When method, if user wants to meet at the flow of some areas into other CDN manufacturers, need to coordinate with the first CDN manufacturer, to change the use The domain name analytic method of family website, increases operation difficulty and cost, is conducive to safeguard user's viscosity.
Step 602: according to the corresponding informance of the first domain name for being stored in the block chain of user terminal block chain node and the library IP, Determine the corresponding library IP of the first domain name.
Specifically, including the IP address of CDN service node in the library IP.User terminal block chain node passes through inquiry local Data on block chain judge the corresponding informance for the first domain name for whether having user to input on block chain, however, it is determined that have, then basis The data stored on block chain determine the corresponding library IP of the first domain name, however, it is determined that do not have, user terminal block chain node prompts user The website requested access to does not access CDN, parses alternatively, user terminal block chain node is based on DNS technology to the first domain name, really Surely IP address is accessed.Wherein, domain name resolution process of the user terminal block chain node based on DNS technology is as follows: user terminal block chain Node requests the parsing to the first domain name to local dns server, and local dns server will send out the analysis request of the first domain name It send to the authoritative name server of website, authoritative name server determines most suitable CDN service section according to a series of strategy Point, and the IP address of most suitable CDN service node is sent to user terminal block chain node, user terminal block chain node to this The information of CDN service node request website.
It is noted that user terminal block chain node not stored first domain name with user's input on determining block chain After corresponding corresponding informance, the first domain name is parsed based on DNS technology, so that the domain name mapping side that present embodiment provides Method can be with existing dns resolution system globe area.
It is noted that being not necessarily to since user terminal block chain node is to determine corresponding informance by local block chain The corresponding access IP address of the first domain name is inquired to local domain name server, improves the inquiry speed of user terminal block chain node Degree.
Step 603: according to the corresponding library IP of the first domain name, determining access IP address.
Compared with prior art, the domain name analytic method that present embodiment provides, the block chain of user terminal block chain node In be stored with corresponding informance, the user terminal block chain querying node block chain can determine access IP address, improve inquiry speed Degree.In addition to this, due to the characteristic of block chain, user terminal block chain node is enabled to be synchronized to corresponding letter immediately in networking Breath, avoids influence of the retention time to query result.Also, due to being stored with this in the block chain of user terminal block chain node Corresponding informance, even if authoritative name server is attacked, user terminal block chain node still is able to determine access IP address, and leads to The corresponding CDN service node of access IP address is crossed, the information of the website of access is obtained.
4th embodiment of the invention is related to a kind of domain name analytic method, and present embodiment is to third embodiment Further refinement specifically illustrates the process that user terminal block chain node determines access IP address.
Specifically, as shown in fig. 7, present embodiment includes step 701 to step 704, wherein step 701 and step 702 is roughly the same with step 601 and step 602 respectively, and details are not described herein again, and details are not described herein again.It is main below to introduce difference Place:
Execute step 701 and step 702.
Step 703: determining the IP address of user terminal block chain node.
Specifically, user terminal block chain node sends the request of the IP address for obtaining user terminal block chain node extremely IP address detection device.IP address detection device determines the IP address of user terminal block chain node, according to the user according to request The IP address of petiolarea block chain node determines the response message to request, and response message is sent to user terminal block chain node. User terminal block chain node obtains IP address detection device to the response message of request, and information, determines user's petiolarea according to response The IP address of block chain node.
For example, user terminal block chain node to IP address detection device send an envelope mail, IP address detection device according to Mail attribute, determines the IP address of user terminal block chain node, and by include user terminal block chain node IP address response Information is sent to user terminal block chain node, and user terminal block chain node determines the IP address of itself according to the response message.
It should be noted that in practical application, with can also determining the IP of user terminal block chain node by other means Location, present embodiment do not limit the mode of the IP address of determining user terminal block chain node.
It is noted that flow scheduling is carried out according to the IP address of itself of user terminal block chain node, so that inquiry As a result the IP address for the authoritative server not configured by user in user terminal block chain node is influenced, and accuracy is high.
Step 704: according to the IP address of user terminal block chain node, one is selected from the corresponding library IP of the first domain name The IP address of CDN service node is as access IP address.
In the specific implementation, user terminal block chain node is according to other situations such as the IP address of itself and network flow, choosing The IP address of a CDN service node is selected as access IP address, and the information of the website requested access to access IP address.
It should be noted that user terminal block chain node before being selected, can first carry out IP address in the library IP Screening, the corresponding IP address of CDN service node that will be unable to work normally are removed from the library IP.The detailed process of screening are as follows: use Family petiolarea block chain node is according to the fault message stored in block chain, the CDN that will be broken down in the corresponding library IP of the first domain name The IP address of service node is rejected.Wherein, fault message includes the IP address of the CDN service node to break down.
It is noted that the IP address that will be unable to the CDN service node worked normally is rejected from the library IP, user is avoided Petiolarea block chain node initiates to request to the CDN service node of failure.
Compared with prior art, the domain name analytic method that present embodiment provides, the block chain of user terminal block chain node In be stored with corresponding informance, the user terminal block chain querying node block chain can determine access IP address, improve inquiry speed Degree.In addition to this, due to the characteristic of block chain, user terminal block chain node is enabled to be synchronized to corresponding letter immediately in networking Breath, avoids influence of the retention time to query result.Also, due to being stored with this in the block chain of user terminal block chain node Corresponding informance, even if authoritative name server is attacked, user terminal block chain node still is able to determine access IP address, and leads to The corresponding CDN service node of access IP address is crossed, the information of the website of access is obtained.In addition to this, due to user terminal block The IP of chain node is detected, and the real IP address of user terminal block chain node is obtained, and carries out flow scheduling according to the IP address, The IP address for the authoritative server that query result is not configured by user in user terminal block chain node is influenced, and accuracy is high.
The step of various methods divide above, be intended merely to describe it is clear, when realization can be merged into a step or Certain steps are split, multiple steps are decomposed into, as long as including identical logical relation, all in the protection scope of this patent It is interior;To adding inessential modification in algorithm or in process or introducing inessential design, but its algorithm is not changed Core design with process is all in the protection scope of the patent.
5th embodiment of the invention is related to a kind of server, as shown in figure 8, including at least one processor 801;With And the memory 802 with the communication connection of at least one processor 801;Wherein, memory 802, which is stored with, to be handled by least one The instruction that device 801 executes, instruction is executed by least one processor 801, so that at least one processor 801 is able to carry out first The domain name cut-in method that embodiment and second embodiment refer to.
Sixth embodiment of the invention is related to a kind of terminal, as shown in figure 9, including at least one processor 901;And With the memory 902 of at least one processor 901 communication connection;Wherein, be stored with can be by least one processor for memory 902 901 instructions executed, instruction are executed by least one processor 901, so that at least one processor 901 is able to carry out third reality Apply the domain name analytic method that mode and the 4th embodiment refer to.
It should be noted that server and terminal include at least one processor, it is with a processor in Fig. 8 and Fig. 9 Example.Processor, memory can be connected by bus or other modes, Fig. 8 in Fig. 9 for being connected by bus.It deposits Reservoir can be used for storing non-volatile software program, non-volatile meter as a kind of non-volatile computer readable storage medium storing program for executing Calculation machine executable program and module, as corresponding informance is stored in memory in the application embodiment.Processor passes through Non-volatile software program, instruction and module stored in memory are run, thereby executing the various function application of equipment And data processing, that is, realize the above method.
Memory may include storing program area and storage data area, wherein storing program area can storage program area, extremely Application program required for a few function;It storage data area can the Save option list etc..In addition, memory may include high speed Random access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or Other non-volatile solid state memory parts.In some embodiments, it includes remotely located relative to processor that memory is optional Memory, these remote memories can pass through network connection to external equipment.The example of above-mentioned network includes but is not limited to Internet, intranet, local area network, mobile radio communication and combinations thereof.
One or more module stores in memory, when being executed by one or more processor, executes above-mentioned Method in any means embodiment.
The said goods can be performed the application embodiment provided by method, have the corresponding functional module of execution method and Beneficial effect, the not technical detail of detailed description in the present embodiment, reference can be made to method provided by the application embodiment.
7th embodiment of the invention is related to a kind of computer readable storage medium, is stored with computer program.It calculates Machine program realizes above-mentioned domain name cut-in method when being executed by processor.
8th embodiment of the invention is related to a kind of computer readable storage medium, is stored with computer program.It calculates Machine program realizes above-mentioned domain name analytic method when being executed by processor.
That is, it will be understood by those skilled in the art that implement the method for the above embodiments be can be with Relevant hardware is instructed to complete by program, which is stored in a storage medium, including some instructions are to make It obtains an equipment (can be single-chip microcontroller, chip etc.) or processor (processor) executes side described in each embodiment of the application The all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific embodiments of the present invention, And in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.

Claims (11)

1. a kind of domain name cut-in method, which is characterized in that be used for super block chain node, comprising:
Obtain the corresponding informance of the first domain name and Internet protocol IP library that content distributing network CDN is provided;Wherein, described first Domain name is to need to access the domain name of the website of the CDN;
According to the corresponding informance, the block for being stored with the corresponding informance is generated;
The block for being stored with the corresponding informance is distributed to other block chain nodes in block chain network, it is described other The block for being stored with the corresponding informance is updated to respective block chain by block chain node;
Wherein, the block chain network includes user terminal block chain node and the super block chain node.
2. domain name cut-in method according to claim 1, which is characterized in that mentioned in the acquisition content distributing network CDN Before or after the corresponding informance of the first domain name and Internet protocol IP library that supply, domain name cut-in method further include:
Obtain the fault message that the CDN is provided, wherein the fault message includes the IP of the CDN service node to break down Address;
According to the fault message, the block for being stored with the fault message is generated;
The block for being stored with the fault message is distributed to other block chain nodes in the block chain network, it is described The block for being stored with the fault message is updated to respective block chain by other block chain nodes.
3. domain name cut-in method according to claim 1 or 2, which is characterized in that the corresponding informance by the CDN according to The corresponding relationship and second domain name of first domain name and the second domain name and the corresponding relationship in the library IP determine;Its In, second domain name is the inside domain name that the CDN is the website distribution for needing to access the CDN.
4. a kind of domain name analytic method, which is characterized in that be used for user terminal block chain node, comprising:
The first domain name is obtained, first domain name is to need the domain name of the website of accessing content distribution network CDN;
The first domain name stored in the block chain of block chain node according to the user end letter corresponding with Internet protocol IP library Breath, determines the corresponding library IP of first domain name;It wherein, include the IP address of CDN service node in the library IP;
According to the corresponding library IP of first domain name, access IP address is determined.
5. domain name analytic method according to claim 4, which is characterized in that described according to the corresponding IP of first domain name Library determines access IP address, specifically includes:
Determine the IP address of the user terminal block chain node;
The IP address of block chain node according to the user end selects a CDN clothes from the corresponding library IP of first domain name The IP address of business node is as access IP address.
6. domain name analytic method according to claim 5, which is characterized in that the determination user terminal block chain node IP address, specifically include:
The request of the IP address for obtaining user terminal block chain node is sent to IP address detection device, wherein the IP Location detection device determines the IP address of the user terminal block chain node according to the request;Block chain according to the user end The IP address of node determines the response message to the request;
It obtains the IP address detection device and the user is determined according to the response message to the response message of the request The IP address of petiolarea block chain node.
7. domain name analytic method according to claim 5 or 6, which is characterized in that in the block according to the user end The IP address of chain node selects the IP address of a CDN service node as access from the corresponding library IP of first domain name Before IP address, domain name analytic method further include:
According to the fault message stored in the block chain, the CDN to break down in the corresponding library IP of first domain name is taken The IP address of business node is rejected;Wherein, the fault message includes the IP address of the CDN service node to break down.
8. a kind of server characterized by comprising at least one processor;And
The memory being connect at least one described processor communication;Wherein, be stored with can be by described at least one for the memory The instruction that a processor executes, described instruction is executed by least one described processor, so that at least one described processor energy It is enough to execute such as domain name cut-in method as claimed in any one of claims 1-3.
9. a kind of terminal characterized by comprising at least one processor;And
The memory being connect at least one described processor communication;Wherein, be stored with can be by described at least one for the memory The instruction that a processor executes, described instruction is executed by least one described processor, so that at least one described processor energy Enough domain name analytic methods executed as described in any in claim 4-7.
10. a kind of computer readable storage medium, is stored with computer program, which is characterized in that the computer program is located Reason device realizes domain name cut-in method of any of claims 1-3 when executing.
11. a kind of computer readable storage medium, is stored with computer program, which is characterized in that the computer program is located It manages and realizes domain name analytic method described in any one of claim 4-7 when device executes.
CN201810670268.4A 2018-06-26 2018-06-26 Domain name access method, domain name resolution method, server, terminal and storage medium Active CN109067930B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810670268.4A CN109067930B (en) 2018-06-26 2018-06-26 Domain name access method, domain name resolution method, server, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810670268.4A CN109067930B (en) 2018-06-26 2018-06-26 Domain name access method, domain name resolution method, server, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109067930A true CN109067930A (en) 2018-12-21
CN109067930B CN109067930B (en) 2021-09-17

Family

ID=64821619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810670268.4A Active CN109067930B (en) 2018-06-26 2018-06-26 Domain name access method, domain name resolution method, server, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109067930B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109618003A (en) * 2019-01-14 2019-04-12 网宿科技股份有限公司 A kind of servers' layout method, server and storage medium
CN110636072A (en) * 2019-09-26 2019-12-31 腾讯科技(深圳)有限公司 Target domain name scheduling method, device, equipment and storage medium
CN111371914A (en) * 2020-02-25 2020-07-03 网宿科技股份有限公司 IP library generation method, domain name resolution method, electronic device and readable storage medium
CN111797347A (en) * 2019-04-05 2020-10-20 国际商业机器公司 Content distributed over secure channels
CN111901319A (en) * 2020-07-16 2020-11-06 广州大学 Client DNS cache verification method, system, device and medium
CN111901447A (en) * 2020-05-27 2020-11-06 伏羲科技(菏泽)有限公司 Domain name data management method, device, equipment and storage medium
CN111970337A (en) * 2020-07-30 2020-11-20 天翼电子商务有限公司 Method, system, medium and terminal for constructing P2P network communication under cross-cloud environment
CN111966967A (en) * 2020-08-07 2020-11-20 北京网聚云联科技有限公司 Copyright storage method and system based on block chain technology and CDN
WO2021042788A1 (en) * 2019-09-06 2021-03-11 南京瑞祥信息技术有限公司 Blockchain-based domain name query system and method
FR3100634A1 (en) * 2019-09-06 2021-03-12 Aowei Information Technology (jiangsu) Co., Ltd. SYSTEM AND METHOD FOR REGISTRATION OF DECENTRALIZED DOMAIN NAME BASED ON BLOCK CHAIN
CN114629956A (en) * 2021-11-26 2022-06-14 中国银联股份有限公司 Method and blockchain network for implementing edge computing network acceleration
CN114945014A (en) * 2021-02-08 2022-08-26 中国电信股份有限公司 Domain name resolution method and system, micro server cluster node and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160191243A1 (en) * 2014-12-31 2016-06-30 William Manning Out-of-band validation of domain name system records
CN105978697A (en) * 2016-07-25 2016-09-28 宁圣金融信息服务(上海)有限公司 Block chain domain name resolution method
CN107613041A (en) * 2017-09-22 2018-01-19 中国互联网络信息中心 DNS management system, domain name management method and domain name analytic method based on block chain

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160191243A1 (en) * 2014-12-31 2016-06-30 William Manning Out-of-band validation of domain name system records
CN105978697A (en) * 2016-07-25 2016-09-28 宁圣金融信息服务(上海)有限公司 Block chain domain name resolution method
CN107613041A (en) * 2017-09-22 2018-01-19 中国互联网络信息中心 DNS management system, domain name management method and domain name analytic method based on block chain

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109618003A (en) * 2019-01-14 2019-04-12 网宿科技股份有限公司 A kind of servers' layout method, server and storage medium
CN111797347A (en) * 2019-04-05 2020-10-20 国际商业机器公司 Content distributed over secure channels
FR3100634A1 (en) * 2019-09-06 2021-03-12 Aowei Information Technology (jiangsu) Co., Ltd. SYSTEM AND METHOD FOR REGISTRATION OF DECENTRALIZED DOMAIN NAME BASED ON BLOCK CHAIN
FR3100633A1 (en) * 2019-09-06 2021-03-12 Aowei Information Technology (jiangsu) Co., Ltd. Blockchain-based domain name query system and method
WO2021042788A1 (en) * 2019-09-06 2021-03-11 南京瑞祥信息技术有限公司 Blockchain-based domain name query system and method
CN110636072A (en) * 2019-09-26 2019-12-31 腾讯科技(深圳)有限公司 Target domain name scheduling method, device, equipment and storage medium
CN111371914A (en) * 2020-02-25 2020-07-03 网宿科技股份有限公司 IP library generation method, domain name resolution method, electronic device and readable storage medium
CN111901447A (en) * 2020-05-27 2020-11-06 伏羲科技(菏泽)有限公司 Domain name data management method, device, equipment and storage medium
CN111901447B (en) * 2020-05-27 2022-09-20 伏羲科技(菏泽)有限公司 Domain name data management method, device, equipment and storage medium
CN111901319A (en) * 2020-07-16 2020-11-06 广州大学 Client DNS cache verification method, system, device and medium
CN111970337A (en) * 2020-07-30 2020-11-20 天翼电子商务有限公司 Method, system, medium and terminal for constructing P2P network communication under cross-cloud environment
CN111970337B (en) * 2020-07-30 2024-02-20 天翼电子商务有限公司 P2P network communication construction method, system, medium and terminal under cross-cloud environment
CN111966967A (en) * 2020-08-07 2020-11-20 北京网聚云联科技有限公司 Copyright storage method and system based on block chain technology and CDN
CN114945014A (en) * 2021-02-08 2022-08-26 中国电信股份有限公司 Domain name resolution method and system, micro server cluster node and storage medium
CN114629956A (en) * 2021-11-26 2022-06-14 中国银联股份有限公司 Method and blockchain network for implementing edge computing network acceleration
CN114629956B (en) * 2021-11-26 2024-04-16 中国银联股份有限公司 Method and blockchain network for enabling edge computing network acceleration

Also Published As

Publication number Publication date
CN109067930B (en) 2021-09-17

Similar Documents

Publication Publication Date Title
CN109067930A (en) Domain name cut-in method, domain name analytic method, server, terminal and storage medium
CN102647482B (en) Method and system for accessing website
CN113596184B (en) Hybrid cloud system, gatekeeper, network access method and storage medium
CN108494891A (en) A kind of domain name analytic method, server and system
CN105610867B (en) A kind of anti-abduction method and apparatus of DNS
CN107104921B (en) DDoS attack defense method and device
US20160212204A1 (en) Domain Name Resolution Method, DNS Cache Server, and Final DNS Server
CN104040964B (en) Method, device and data center network across service area communication
CN109151009B (en) CDN node distribution method and system based on MEC
CN101895520B (en) Widget system data sharing method, server and data sharing system
US20080288470A1 (en) Method and System for Distributed Dns Resolution
CN110677405A (en) Data processing method and device, electronic equipment and storage medium
CN107222587B (en) A kind of method for remotely accessing private network device
CN107819891A (en) Data processing method, device, computer equipment and storage medium
CN103428302A (en) Domain name resolution method, server and system
CN109729183A (en) Request processing method, device, equipment and storage medium
CN109802919A (en) A kind of web page access interception method and device
CN103607410B (en) A kind of contents access method and equipment
CN112597039A (en) Virtual machine access method, system, device and computer readable storage medium
CN109104368A (en) A kind of request connection method, device, server and computer readable storage medium
CN102572011A (en) Method, device and system for processing data
CN109450768A (en) The method of container interconnection and the system interconnected for container
CN106412144A (en) Network access method and device
CN116389599A (en) Gateway service request processing method and device and cloud native gateway system management method and device
CN105516134A (en) Authentication method and system for system integration

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