CN108769293A - A kind of IP address analytic method and relevant apparatus - Google Patents

A kind of IP address analytic method and relevant apparatus Download PDF

Info

Publication number
CN108769293A
CN108769293A CN201811012849.5A CN201811012849A CN108769293A CN 108769293 A CN108769293 A CN 108769293A CN 201811012849 A CN201811012849 A CN 201811012849A CN 108769293 A CN108769293 A CN 108769293A
Authority
CN
China
Prior art keywords
address
target
recipient
type
ipv6
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
CN201811012849.5A
Other languages
Chinese (zh)
Other versions
CN108769293B (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811012849.5A priority Critical patent/CN108769293B/en
Publication of CN108769293A publication Critical patent/CN108769293A/en
Application granted granted Critical
Publication of CN108769293B publication Critical patent/CN108769293B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • 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/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/251Translation of Internet protocol [IP] addresses between different IP versions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/659Internet protocol version 6 [IPv6] addresses

Abstract

The invention discloses a kind of IP address analytic methods, after target ip address corresponding with address resolution request is determined, also to further determine that its type, and type and target ip address are returned into recipient, so as to so that recipient distinguishes the IP address of the IP address and IPV4 types of IPV6 types, the problem of avoiding parsing failure, it is compatible with IPV4 to be effectively ensured IPV6.Present invention also provides a kind of IP address resolution system, device, system and computer readable storage mediums, and above-mentioned technique effect equally may be implemented.

Description

A kind of IP address analytic method and relevant apparatus
Technical field
The present invention relates to IP address analytic technique field, more specifically to a kind of IP address analytic method, system, Device and computer readable storage medium.
Background technology
It usually requires to access mutually by IP address between networked information era, physical host, at present there are two types of IP Location form, one is IPV4 types, IPV4 is the fourth edition of Internet protocol (Internet Protocol, IP), the ground of IPV4 Location digit is 32, that is, the computer of be up to 2 32 powers can be connected on network.
But it is prevailing with computer network, the IP address quantity possessed by IPV4 has been unable to meet present computer number The requirement of amount, therefore the IP address of IPV6 is gradually applied, the address size of IPV6 is 128, therefore it almost can be unrestricted The IP address of the offer of system.
Since the IP address of IPV4 and the IP address of IPV6 in form and differ, when carrying out domain name mapping, The IP address of IPV6 cannot be parsed using same method, in existing equipment, the domain name mapping provided takes IPV6 is not supported in business still, causes to limit so as to cause to the use of IPV6.
Therefore, how IPV4 types and the IP address of IPV6 types are parsed, is those skilled in the art's needs It solves the problems, such as.
Invention content
The purpose of the present invention is to provide a kind of IP address analytic method, system, device and computer readable storage medium, To solve the problems, such as how to be parsed to IPV4 types and the IP address of IPV6 types.
To achieve the above object, an embodiment of the present invention provides following technical solutions:
A kind of IP address analytic method, including:
Receive address resolution request;
Determine target ip address corresponding with described address analysis request;
The type of the target ip address is determined, wherein the type is IPV4 types or IPV6 types;
The type of the target ip address and the target ip address is back to recipient so that the recipient according to The type of the target ip address handles the target ip address.
Wherein, the recipient includes PDNS.
Wherein, determination target ip address corresponding with described address analysis request, including:
With determining the minimum destination node IP of connection number using connection number information corresponding with each clustered node IP address Location;Wherein, the connection number information includes clustered node IP address and corresponding connection number, and the connection number is using default The connection number that connection is established with each clustered node IP address that IPV6 interfaces and default IPV4 interfaces listen in real time.
Wherein, described to determine the minimum target section of connection number using the corresponding connection number information of each clustered node IP address Point IP address, including:
Determine the corresponding link information of each clustered node IP address, wherein the link information includes client and collection Group establishes connection IP address information used;
It is object format by the IP address conversion of the IPV6 types in the IP address information;
The quantity of the client of each clustered node IP address connection is counted, as each clustered node IP using the quantity The connection number of location;
The minimum clustered node IP address of number will be connected as target ip address.
Wherein, after the return by the type of the target ip address and the target ip address, further include:
Receive the target ip address that the recipient sends;
When the target ip address is the IP address of IPV6 types, the target ip address is converted into object format;
The domain name of the corresponding target ip address is determined in configuration file using the target ip address of the object format Information;
Domain name information is returned to the recipient.
Present invention also provides a kind of IP address resolution systems, including:
First receiving module, for receiving address resolution request;
First determining module, for determining target ip address corresponding with described address analysis request;
Second determining module, the type for determining the target ip address, wherein the type be IPV4 types or IPV6 types;
First returns to module, for the type of the target ip address and the target ip address to be back to recipient, So that the recipient is handled the target ip address according to the type of the target ip address.
Wherein, the recipient includes PDNS.
Wherein, further include:
Second receiving module, the target ip address sent for receiving the recipient;
Conversion module, for when the target ip address is the IP address of IPV6 types, the target ip address to be turned It is changed to object format;
Third determining module, the target ip address for the utilization object format determine in configuration file described in correspondence The domain-name information of target ip address;
Second returns to module, for returning to domain name information to the recipient.
Present invention also provides a kind of IP address resolvers, including:
Memory, for storing computer program;
Processor is realized when for executing the computer program such as the step of the IP address analytic method.
Present invention also provides a kind of computer readable storage medium, meter is stored on the computer readable storage medium Calculation machine program is realized when the computer program is executed by processor such as the step of the IP address analytic method.
By above scheme it is found that a kind of IP address analytic method provided by the invention, including:Address resolution is received to ask It asks;Determine target ip address corresponding with described address analysis request;The type of the target ip address is determined, wherein the class Type is IPV4 types or IPV6 types;The type of the target ip address and the target ip address is back to recipient, with The recipient is set to be handled the target ip address according to the type of the target ip address.
It can be seen that a kind of IP address analytic method provided by the embodiments of the present application, determining and address resolution request After corresponding target ip address, its type is also further determined that, and type and target ip address are returned into recipient, So as to so that recipient distinguish IPV6 types IP address and IPV4 types IP address, avoid parsing unsuccessfully the problem of, It is compatible with IPV4 that IPV6 has been effectively ensured.
Present invention also provides a kind of IP address resolution system, device, system and computer readable storage mediums, equally may be used To realize above-mentioned technique effect.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of IP address analytic method flow chart disclosed by the embodiments of the present invention;
Fig. 2 is a kind of specific IP address analytic method flow chart disclosed by the embodiments of the present invention;
Fig. 3 is a kind of specific IP address analytic method flow chart disclosed by the embodiments of the present invention;
Fig. 4 is a kind of IP address resolution system structural schematic diagram disclosed by the embodiments of the present invention;
Fig. 5 is a kind of IP address resolver structural schematic diagram disclosed by the embodiments of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of IP address analytic method, system, device and computer readable storage medium, with Solve the problems, such as how to be parsed to IPV4 types and the IP address of IPV6 types.
Referring to Fig. 1, a kind of IP address analytic method provided in an embodiment of the present invention specifically includes:
S101 receives address resolution request.
Address resolution request is received first, address resolution request is to need to translate domain names into the request for IP address, In include want parsing domain name.The address resolution request can be by DNS (Domain Name System, domain name system) To ask analysis request, dns resolution serviced component include PDNS for the address that analysis service component is sent, i.e. PowerDNS, be one across The DNS service component of increasing income of platform.
It should be noted that when client request and cluster server are established and connected, client input is usually domain Name, an address resolution request is determined by dns resolution service using the domain name, is then sent to the address resolution request and is System, parses domain name by system.
S102 determines target ip address corresponding with described address analysis request.
IP address corresponding with the domain name is found according to the domain-name information in address resolution request, using the IP address as mesh Mark IP address.
It should be noted that for the same service cluster, what it is to client embodiment is the same domain name, but cluster In include again multiple nodes, the IP address of each node but differs, and when user's inputs domain name, request is established with cluster and connected When, system can determine an IP address as target ip address in the cluster when to domain name mapping.
It is same if it is the target ip address that all clients determine when there is a large number of users client to access the cluster It is a, then it will appear a clustered node and singly establish the case where connecting with a large amount of clients, to cause the load imbalance of cluster Problem.Therefore it when determining target ip address for an address resolution request, then needs to distribute different IP for different requests , to avoid a node from connecting a large amount of client, cluster is caused so that different clients connects different nodes in address The unbalanced situation of node load.
Therefore in the present solution, the mode of two kinds of determining target ip address may be used, you can in a manner of by poll It determines, can also be determined by connecting counting method.
The mode of poll, when being to determine out that the last time receives analysis request, then determining target ip address determines again The next IP address for going out last target ip address, using this IP address as target ip address, then when receiving request, i.e., Cyclically determine target ip address down successively.
Connection counting method is then to determine out the quantity for the client that current each clustered node has connected, minimum by number is connected A node IP address as target ip address so that this time the corresponding client of address resolution request connect number with this Minimum node establishes connection.
About poll, the corresponding method of connection number, particular content can refer to the prior art, will not be excessive Jie herein It continues.But in the present solution, parsing due to being compatible with IPV6 type IP address, and the IP address of IPV6 types usually has Multiple format, that is, a variety of representation methods, for example, colon representation:2001:0250:3000:1000:0000:0000: 0005;0 compression expression method:2001:250:3000:1000::5;Embedded IPV4 representations:::FFFF:192.168.0.1.
In connecting counting method, if the corresponding IP address of clustered node is IPV6 types, and the expression lattice of IPV6 types Formula again there are many, therefore client clustered node corresponding with the same IPV6 types IP address establish connect when, Mei Geke The presentation format for the IP address that family end uses may be different, but its substantially corresponding or same IP address, Therefore it in order to preferably count connection number, needs first to determine IP address used in each client, that is, first determine client The IP address of connection is established at end, if this IP address is IPV6 types, needs this IP address conversion to be target lattice Then formula is counted again.It therefore, all can be on format for the same IP address of the IPV6 types of different presentation formats It is converted into the same IP address, therefore, is more convenient the corresponding connection number of one IP address of statistics.
In relation to the specific introduction that connection counting method is applied in this programme, will specifically describe in the following embodiments, this Place will no longer repeat.
S103 determines the type of the target ip address, wherein the type is IPV4 types or IPV6 types.
Specifically, in order to make analysis service compatibility IPV4 and the two kinds of IP address of IPV6, Target IP is determined Behind location, it is also necessary to determine IP address type, that is, determine that target ip address is IPV4 types or IPV6 types.IPV4 types For A, IPV6 types are AAAA.
The type of the target ip address and the target ip address is back to recipient, so that the reception by S104 Root is handled the target ip address according to the type of the target ip address.
It should be noted that if not sending the corresponding type of target ip address, returned in the address of IPV6 types When returning to dns resolution server, then the server can then be handled according to the IP address of IPV4 types, at this point, just will appear Mistake, the problem of causing to parse failure.Surpass for example, PDNS will appear communication when being communicated with loadbalance (load balancing) When, and then PDNS will restart loadbalance.
Therefore, in order to be compatible with the IP address of IPV6 types, in the present solution, needing the corresponding type of target ip address It is jointly sent to recipient, so as to so that recipient distinguishes the IP address of the IP address and IPV4 types of IPV6 types, in turn Avoid the problem that parsing failure.
It can be seen that a kind of IP address analytic method provided by the embodiments of the present application, determining and address resolution request After corresponding target ip address, its type is also further determined that, and type and target ip address are returned into recipient, So as to so that recipient distinguish IPV6 types IP address and IPV4 types IP address, avoid parsing unsuccessfully the problem of, It is compatible with IPV4 that IPV6 has been effectively ensured.
A kind of specific IP address analytic method provided by the embodiments of the present application is introduced below, described below one Kind specific IP address analytic method, further restrictions really customized to target ip address in above-described embodiment illustrate, His step content is roughly the same with above-described embodiment, can specifically refer to above-described embodiment, will no longer repeat herein.
Referring to Fig. 2, a kind of specific IP address analytic method provided by the embodiments of the present application specifically includes:
S201 receives address resolution request.
S202 determines the minimum destination node of connection number using connection number information corresponding with each clustered node IP address IP address;Wherein, the connection number information includes clustered node IP address and corresponding connection number, and the connection number is using pre- If the connection number for establishing connection with each clustered node IP address that IPV6 interfaces and default IPV4 interfaces listen in real time.
In the present solution, being added to IPV6 interfaces and IPV4 interfaces in advance, the two interfaces are respectively intended to monitor inhomogeneity The corresponding connection number of clustered node IP address of type, IPV4 are used for monitoring the corresponding connection of clustered node IP address of IPV4 types Number, IPV6 are used for monitoring the corresponding connection number of clustered node IP address of IPV6 types.Wherein IPV4 interfaces can refer to existing Technology, IPV6 interfaces can pass through addition " udp6:[::]:1662 " realize.
It should be noted that monitoring and preserving the corresponding connection number of current various types IP address to carry out in real time, It can be spaced preset time progress, but determine minimum target ip address this behaviour of connection number in all clustered nodes It makees, is carried out after receiving address resolution request, that is, after receiving address resolution request, in the letter listened to The minimum destination node IP address of connection number is determined in breath.
It should be noted that if the corresponding IP address of clustered node is IPV6 types, and the presentation format of IPV6 types Again there are many, therefore client clustered node corresponding with the same IPV6 types IP address establish connect when, each client Hold the presentation format of the IP address used may be different, but its substantially corresponding or same IP address, because This needs first to determine IP address used in each client, that is, determine that client is built to preferably count connection number The IP address of vertical connection needs this IP address conversion to be the same target if this IP address is IPV6 types Then format is counted again.It therefore, all can be in format for the same IP address of the IPV6 types of different identification format On be converted into the same IP address, therefore, be more convenient the corresponding connection number of one IP address of statistics.
Therefore, in a specific embodiment, it is first determined each corresponding link information of clustered node IP address, Wherein, the link information includes that client establishes connection IP address information used with cluster;
It is object format by the IP address conversion of the IPV6 types in the IP address information;
The quantity of the client of each clustered node IP address connection is counted, as each clustered node IP using the quantity The connection number of location;
The minimum clustered node IP address of number will be connected as target ip address.
S203 determines the type of the target ip address, wherein the type is IPV4 types or IPV6 types.
The type of the target ip address and the target ip address is back to recipient, so that the reception by S204 Root is handled the target ip address according to the type of the target ip address.
A kind of specific IP address analytic method provided by the embodiments of the present application is introduced below, described below one The specific IP address analytic method of kind can be cross-referenced with above-described embodiment.
Referring to Fig. 3, a kind of specific IP address analytic method provided by the embodiments of the present application specifically includes:
S301 receives address resolution request.
S302 determines target ip address corresponding with described address analysis request.
S303 determines the type of the target ip address, wherein the type is IPV4 types or IPV6 types.
The type of the target ip address and the target ip address is back to recipient, so that the reception by S304 Root is handled the target ip address according to the type of the target ip address.
S305 receives the target ip address that the recipient sends.
It should be noted that in the practical application of domain name mapping, in addition to the resolution that above-described embodiment is mentioned, also It is that domain name is determined by IP address the case where determining IP address, also resolving inversely according to domain name.
In the present solution, the IP address that resolution obtains is returned to recipient, that is, dns resolution service by system Device, and then the IP address received can also be sent back to system by recipient again, verify the corresponding domain name of the IP address whether be The domain name that client request accesses.
Specifically, the target ip address that above-mentioned recipient sends, target ip address i.e. system are received first to reception The target ip address that the resolution just returned obtains.
The target ip address is converted to target by S306 when the target ip address is the IP address of IPV6 types Format.
Since the IP address of IPV6 types has multiple format, for the ease of the matching of IP address and domain name, need It is object format by the IP address conversion of IPV6 types.
S307 determines the corresponding target ip address using the target ip address of the object format in configuration file Domain-name information.
Specifically, corresponding domain-name information can be determined in configuration file using the target ip address of object format.It needs It is noted that in configuration file, it is provided with the correspondence of domain name and IP address, can complete to parse according to configuration file Operation.
S308 returns to domain name information to the recipient.
Specifically, the domain-name information that resolving inversely obtains is returned into recipient.
A kind of IP address resolution system provided by the embodiments of the present application is introduced below, a kind of IP described below A kind of IP address analytic method that location resolution system is provided with above-described embodiment can be cross-referenced.
Referring to Fig. 4, a kind of IP address resolution system provided by the embodiments of the present application specifically includes:
First receiving module 401, for receiving address resolution request.
First determining module 402, for determining target ip address corresponding with described address analysis request.
Second determining module 403, the type for determining the target ip address, wherein the type be IPV4 types or IPV6 types.
First returns to module 404, for the type of the target ip address and the target ip address to be back to reception Side, so that the recipient is handled the target ip address according to the type of the target ip address.
The IP address resolution system of the present embodiment is for realizing IP address analytic method above-mentioned, therefore IP address parsing is The embodiment part of the visible IP address analytic method hereinbefore of specific implementation mode in system, for example, the first receiving module 401, the first determining module 402, the second determining module 403, first returns to module 404, is respectively used to realize above-mentioned IP address solution Step S101, S102, S103 and S104 in analysis method, so, it is real that specific implementation mode is referred to corresponding various pieces The description of example is applied, details are not described herein.
A kind of specific IP address resolution system provided by the embodiments of the present application is introduced below, described below one The specific IP address resolution system of kind is on the basis of the above embodiments to increasing the correlation module for resolving inversely, other moulds Block content can be cross-referenced with above-described embodiment, and details are not described herein again.
A kind of specific IP address resolution system provided by the embodiments of the present application also wraps on the basis of the above embodiments It includes:
Second receiving module, the target ip address sent for receiving the recipient;
Conversion module, for when the target ip address is the IP address of IPV6 types, the target ip address to be turned It is changed to object format;
Third determining module, the target ip address for the utilization object format determine in configuration file described in correspondence The domain-name information of target ip address;
Second returns to module, for returning to domain name information to the recipient.
The IP address resolution system of the present embodiment is for realizing IP address analytic method above-mentioned, therefore IP address parsing is The embodiment part of the visible IP address analytic method hereinbefore of specific implementation mode in system, for example, the second receiving module, turns Block is changed the mold, third determining module, second returns to module, is respectively used to realize step S305 in above-mentioned IP address analytic method, S306, S307 and S308, so, specific implementation mode is referred to the description of corresponding various pieces embodiment, herein not It repeats again.
A kind of IP address resolver provided by the embodiments of the present application is introduced below, a kind of IP described below Location resolver can be cross-referenced with above-described embodiment.
Referring to a kind of Fig. 5 IP address resolvers provided by the embodiments of the present application, specifically include:
Memory 100, for storing computer program;
Processor 200, may be implemented the step of above-described embodiment is provided when for executing the computer program.
Specifically, memory 100 includes non-volatile memory medium, built-in storage.The non-volatile memory medium stores Have operating system and computer-readable instruction, the built-in storage be non-volatile memory medium in operating system and computer can The operation of reading instruction provides environment.Processor 200 provides calculating and control ability for IP address resolver, may be implemented above-mentioned The step of any IP address analytic method embodiment is provided.
On the basis of the above embodiments, preferably, the data acquisition equipment further includes:
Input interface 300, computer program, parameter and instruction for obtaining external importing, controls through processor and preserves Into memory.The input interface 300 can be connected with input unit, receive parameter or instruction that user is manually entered.This is defeated It can be the touch layer covered on display screen to enter device, can also be the button being arranged in terminal enclosure, trace ball or Trackpad, Can also be keyboard, Trackpad or mouse etc..Specifically, in the present embodiment, can be configured to parse by input unit The configuration file of domain name or IP address.
Display unit 400, the data sent for video-stream processor.The display unit 400 can be the display in PC machine Screen, liquid crystal display or electric ink display screen etc..Specifically, in this example it is shown that unit 400 can be shown over the ground The disposition of location analysis request.
The network port 500, for being communicatively coupled with external each terminal device.Skill is communicated used by the communication connection Art can be cable communicating technology or wireless communication technique, as mobile high definition chained technology (MHL), universal serial bus (USB), High-definition media interface (HDMI), Bluetooth Communication Technology, the low-power consumption bluetooth communication technology, is based on adopting wireless fidelity technology (WiFi) The communication technology etc. of IEEE802.11s.In the present embodiment, IP address resolver can pass through network-side oral instructions with recipient The data such as defeated address resolution request, analysis result.
Present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the computer The step of above-described embodiment is provided may be implemented when program is executed by processor.The storage medium may include:USB flash disk, movement Hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), the various media that can store program code such as magnetic disc or CD.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with other The difference of embodiment, just to refer each other for identical similar portion between each embodiment.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest range caused.

Claims (10)

1. a kind of IP address analytic method, which is characterized in that including:
Receive address resolution request;
Determine target ip address corresponding with described address analysis request;
The type of the target ip address is determined, wherein the type is IPV4 types or IPV6 types;
The type of the target ip address and the target ip address is back to recipient, so that the recipient is according to described The type of target ip address handles the target ip address.
2. according to the method described in claim 1, it is characterized in that, the recipient includes PDNS.
3. according to the method described in claim 1, it is characterized in that, determination target corresponding with described address analysis request IP address, including:
The minimum destination node IP address of connection number is determined using connection number information corresponding with each clustered node IP address;Its In, the connection number information includes clustered node IP address and corresponding connection number, and the connection number is to be connect using default IPV6 The connection number that connection is established with each clustered node IP address that mouth and default IPV4 interfaces listen in real time.
4. according to the method described in claim 3, it is characterized in that, described utilize the corresponding connection of each clustered node IP address Number information determines the minimum destination node IP address of connection number, including:
Determine the corresponding link information of each clustered node IP address, wherein the link information includes that client is built with cluster Vertical connection IP address information used;
It is object format by the IP address conversion of the IPV6 types in the IP address information;
The quantity for counting the client of each clustered node IP address connection, using the quantity as each clustered node IP address Connect number;
The minimum clustered node IP address of number will be connected as target ip address.
5. method according to any one of claims 1 to 4, which is characterized in that described by the target ip address and institute After the type return for stating target ip address, further include:
Receive the target ip address that the recipient sends;
When the target ip address is the IP address of IPV6 types, the target ip address is converted into object format;
The domain-name information of the corresponding target ip address is determined in configuration file using the target ip address of the object format;
Domain name information is returned to the recipient.
6. a kind of IP address resolution system, which is characterized in that including:
First receiving module, for receiving address resolution request;
First determining module, for determining target ip address corresponding with described address analysis request;
Second determining module, the type for determining the target ip address, wherein the type is IPV4 types or IPV6 classes Type;
First returns to module, for the type of the target ip address and the target ip address to be back to recipient, so that The recipient is handled the target ip address according to the type of the target ip address.
7. system according to claim 6, which is characterized in that the recipient includes PDNS.
8. the system described according to claim 6 or 7, which is characterized in that further include:
Second receiving module, the target ip address sent for receiving the recipient;
Conversion module, for when the target ip address is the IP address of IPV6 types, the target ip address to be converted to Object format;
Third determining module determines the corresponding target for the target ip address using the object format in configuration file The domain-name information of IP address;
Second returns to module, for returning to domain name information to the recipient.
9. a kind of IP address resolver, which is characterized in that including:
Memory, for storing computer program;
Processor realizes the IP address analytic method as described in any one of claim 1 to 5 when for executing the computer program The step of.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program, realizing the IP address analytic method as described in any one of claim 1 to 5 when the computer program is executed by processor Step.
CN201811012849.5A 2018-08-31 2018-08-31 IP address resolution method and related device Active CN108769293B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811012849.5A CN108769293B (en) 2018-08-31 2018-08-31 IP address resolution method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811012849.5A CN108769293B (en) 2018-08-31 2018-08-31 IP address resolution method and related device

Publications (2)

Publication Number Publication Date
CN108769293A true CN108769293A (en) 2018-11-06
CN108769293B CN108769293B (en) 2022-02-25

Family

ID=63967894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811012849.5A Active CN108769293B (en) 2018-08-31 2018-08-31 IP address resolution method and related device

Country Status (1)

Country Link
CN (1) CN108769293B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111031148A (en) * 2019-12-11 2020-04-17 中天通信技术有限公司 Address resolution method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110827A (en) * 2007-08-24 2008-01-23 张建中 Method, device and system for multidimensional address domain name analysis
CN101115016A (en) * 2007-08-23 2008-01-30 创新科存储技术(深圳)有限公司 Method and system for implementing application server load balancing
CN101340327A (en) * 2008-08-21 2009-01-07 腾讯科技(深圳)有限公司 Method, system and domain name parsing server implementing load balance of network server
CN101815104A (en) * 2010-03-19 2010-08-25 中兴通讯股份有限公司 Network protocol address feedback method and domain name resolution server
CN102196051A (en) * 2010-03-03 2011-09-21 中国移动通信集团公司 Terminal communication method, system and device
US20140258491A1 (en) * 2013-03-11 2014-09-11 Bluebox Security Inc. Methods and apparatus for hostname selective routing in dual-stack hosts
CN104144123A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Method and system for having access to internet and routing type gateway device
CN104506665A (en) * 2014-12-03 2015-04-08 中国联合网络通信集团有限公司 Method and system for distinguishing IPv4 address from IPv6 address

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101115016A (en) * 2007-08-23 2008-01-30 创新科存储技术(深圳)有限公司 Method and system for implementing application server load balancing
CN101110827A (en) * 2007-08-24 2008-01-23 张建中 Method, device and system for multidimensional address domain name analysis
CN101340327A (en) * 2008-08-21 2009-01-07 腾讯科技(深圳)有限公司 Method, system and domain name parsing server implementing load balance of network server
CN102196051A (en) * 2010-03-03 2011-09-21 中国移动通信集团公司 Terminal communication method, system and device
CN101815104A (en) * 2010-03-19 2010-08-25 中兴通讯股份有限公司 Network protocol address feedback method and domain name resolution server
US20140258491A1 (en) * 2013-03-11 2014-09-11 Bluebox Security Inc. Methods and apparatus for hostname selective routing in dual-stack hosts
CN104144123A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Method and system for having access to internet and routing type gateway device
CN104506665A (en) * 2014-12-03 2015-04-08 中国联合网络通信集团有限公司 Method and system for distinguishing IPv4 address from IPv6 address

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111031148A (en) * 2019-12-11 2020-04-17 中天通信技术有限公司 Address resolution method and device, electronic equipment and storage medium
CN111031148B (en) * 2019-12-11 2022-05-24 中天通信技术有限公司 Address resolution method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN108769293B (en) 2022-02-25

Similar Documents

Publication Publication Date Title
CA2832810C (en) Method of distributing information regarding one or more electrical devices and systems for the same
CN100407625C (en) Method for providing business according to its type
CN110677405B (en) Data processing method and device, electronic equipment and storage medium
CN105393600B (en) Method and system for providing multi-service discovery in a wireless environment
CN104969515B (en) Handle the method and gateway of DNS request
CN101986648A (en) Negotiation method, device and network device of TCP option
CN105659689A (en) Method and system for dual role handling in a wireless environment
CN103312708A (en) Lease file based IP (internet protocol) setting method and system
CN110704158A (en) Method, apparatus and storage medium for forwarding access requests within a container cluster
CN109995595B (en) RGW quota determining method, system, equipment and computer medium
CN110880980B (en) Content distribution network service providing method and processing system
CN108769293A (en) A kind of IP address analytic method and relevant apparatus
CN103503421A (en) SCTP association endpoint relocation in a load balancing system
CN109032693A (en) Method and device for loading display information, electronic equipment and readable storage medium
CN105472054B (en) A kind of file transmitting method and access device
CN108462590B (en) Network flow monitoring method and device and computer terminal
CN108809677B (en) System for testing network performance
CN108460044B (en) Data processing method and device
CN113098776B (en) Method, device, equipment and storage medium for determining network topology
CN107479911A (en) Download method, user equipment and the application server of application program
CN115866582A (en) Equipment identification method, device, equipment and storage medium
CN109474683A (en) A kind of node configuration method and relevant apparatus
EP2552050A2 (en) Methods for handling multiple device management (dm) server addresses in a dm account management object (mo)
TWI682647B (en) Method and device for enhancing the throughput between smart meter and server
CN109104637B (en) Network advertisement monitoring method and system based on multiple monitoring platforms

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