CN107231446A - Synchronous IP collocation methods and device - Google Patents
Synchronous IP collocation methods and device Download PDFInfo
- Publication number
- CN107231446A CN107231446A CN201610170210.4A CN201610170210A CN107231446A CN 107231446 A CN107231446 A CN 107231446A CN 201610170210 A CN201610170210 A CN 201610170210A CN 107231446 A CN107231446 A CN 107231446A
- Authority
- CN
- China
- Prior art keywords
- domain name
- database
- subset
- success rate
- terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5076—Update or notification mechanisms, e.g. DynDNS
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
This application discloses the method and apparatus of synchronous IP configurations.One embodiment of methods described includes:Test request is sent for the corresponding IP of domain name in database, test result is recorded, wherein, the corresponding IP of domain name in the database includes at least one of following:The corresponding IP of domain name after renewal, the IP after the corresponding renewal of domain name, the IP corresponding to domain name that the feedback information for the domain name transmission that there is failure is directed to based on user and is identified, trigger the IP of IP alarm signals;Based on the test result, the corresponding IP of domain name in the database is sorted, optimal IP is chosen;The synchronous optimal IP calls for terminal.
Description
Technical field
The application is related to field of computer technology, and in particular to domain name mapping IP fields, especially relates to
And synchronization IP collocation methods and device.
Background technology
The system architecture of shopping mall class website is complicated, when user is browsing commodity, purchase commodity
During with payment for merchandise order, web station system is by domain name mapping in search subsystem, ledger system
Complete call between system and the interface for paying subsystem.But due to originals such as mechanical disorder and network fluctuations
Because domain name mapping IP success rate can be caused low, for this problem, existing solution is led to
It is often to receive customer complaint or receive after alarm signal, is determined by exploitation or operation and maintenance personnel
Position, and in the corresponding IP lists of configuration center more new domain name or extract the machine that there is failure.This
Kind of method make it that to repair that flow is cumbersome, elapsed time is long due to being positioned manually, while presence is developed
The risk that the reasons such as the not timely handling failure of personnel are brought, the hand occurred during developer's configuration of IP
The success rate that work mistake also results in website visiting declines.
The content of the invention
The purpose of the application is to propose a kind of improved synchronous IP collocation methods and device, to solve
The technical problem that certainly background section above is mentioned.
In a first aspect, this application provides a kind of synchronous IP collocation methods, methods described includes:
Test request is sent for the corresponding IP of domain name in database, test result is recorded, wherein,
The corresponding IP of domain name in the database includes at least one of following:Domain name correspondence after renewal
IP, the IP after the corresponding renewal of domain name, based on user be directed to exist failure domain name send
Feedback information and the IP corresponding to the domain name that identifies, trigger the IP of IP alarm signals;It is based on
The test result, sorts to the corresponding IP of domain name in the database, chooses optimal IP;
The synchronous optimal IP calls for terminal.
In certain embodiments, the IP includes:Real IP and virtual IP address.
In certain embodiments, the test result includes:Response time, based on the total of test
Number of times is with having successfully received the success rate that the number of times of test returns is determined.
In certain embodiments, it is described to be based on the test result, to the domain in the database
The corresponding IP sequences of name, including:Judge the success of the corresponding IP of domain name in the database
Whether rate is identical;If so, being sorted according to the response time to the IP;If it is not, according to institute
Success rate is stated to sort to the IP.
In certain embodiments, after the optimal IP of selection, methods described also includes:
Success rate is chosen in the corresponding IP of domain name in the database to be put into less than the IP of predetermined threshold value
During first IP subset is closed, the domain name of each IP correspondences domain name during first IP subset is closed is obtained
Set;The domain name that the corresponding IP quantity of domain name in set of domains is more than 1 is chosen, is obtained and institute
Corresponding second IP subset of domain name of the IP quantity more than 1 is stated to close;For second IP subset
Each IP in conjunction, generation returns to IP status messages, sends the message to terminal, wherein, institute
Stating return IP status messages includes:Delete or pending.
In certain embodiments, each IP in the conjunction for second IP subset, generation is returned
IP status messages are returned, the message are sent to terminal, wherein, the return IP status messages
Including:Delete or pending, including:Judge whether second IP subset has success rate in closing
Higher than the IP of predetermined threshold value;Preset if so, deleting success rate during second IP subset is closed and being less than
The IP of threshold value, and the return IP status messages are set to deletion;If it is not, being returned described
IP status messages are set to pending;Send the message to terminal so that terminal is shown the IP
Status message.
Second aspect, this application provides a kind of synchronous IP configuration devices, described device includes:
Recording unit, the corresponding IP of domain name for being configured to be directed in database sends test request, note
Test result is recorded, wherein, the corresponding IP of domain name in the database includes at least one of following:
The corresponding IP of domain name after renewal, the IP after the corresponding renewal of domain name, based on user for existing
Feedback information that the domain name of failure is sent and the IP corresponding to the domain name that identifies, triggering IP alarms
The IP of signal;Sequencing unit, is configured to be based on the test result, in the database
Domain name corresponding IP sequences, choose optimal IP;Synchronization unit, is configured to described in synchronization most
Excellent IP calls for terminal.
In certain embodiments, the IP includes:Real IP and virtual IP address.
In certain embodiments, the test result includes:Response time, based on the total of test
Number of times is with having successfully received the success rate that the number of times of test returns is determined.
In certain embodiments, the sequencing unit is further configured to:Judge the data
Whether the success rate of the corresponding IP of domain name in storehouse is identical;If so, according to the response time pair
The IP sequences;If it is not, being sorted according to the success rate to the IP.
In certain embodiments, described device also includes:Set of domains acquiring unit, configuration is used
The IP that success rate is less than predetermined threshold value is chosen in the corresponding IP of domain name in the database
It is put into the conjunction of the first IP subset, obtains each IP correspondences domain name during first IP subset is closed
Set of domains;Second IP subset closes acquiring unit, is configured to choose the domain name in set of domains
Corresponding IP quantity is more than 1 domain name, obtains corresponding with the domain name that the IP quantity is more than 1
The second IP subset close;Message sending unit, is configured to close for second IP subset
In each IP, generation returns to IP status messages, sends the message to terminal, wherein, it is described
Returning to IP status messages includes:Delete or pending.
In certain embodiments, the message sending unit includes:Judgment sub-unit, configuration is used
Whether there is success rate to be higher than the IP of predetermined threshold value in judging that second IP subset is closed;If so,
The IP that success rate during second IP subset is closed is less than predetermined threshold value is deleted, and is returned described
IP status messages are set to delete;If it is not, the return IP status messages are set to pending;
Information transmission sub-unit, be configured to send the message to terminal so that terminal is shown the IP
Status message.
Synchronous IP collocation methods and device that the application is provided, by the domain name pair in database
The IP answered is tested, and then the corresponding IP of domain name in database is arranged based on test parameter
Sequence, obtains optimal IP so that terminal is called, so as to improve the success rate of website visiting.
Brief description of the drawings
Retouched by reading with reference to the detailed of being made to non-limiting example of being made of the following drawings
State, other features, objects and advantages will become more apparent upon:
Fig. 1 is that the application can apply to exemplary system architecture figure therein;
Fig. 2 is the flow chart of one embodiment of the synchronous IP collocation methods according to the application;
Fig. 3 is the flow chart of another embodiment of the synchronous IP collocation methods according to the application;
Fig. 4 is the structural representation of one embodiment of the synchronous IP configuration devices according to the application
Figure;
Fig. 5 is adapted for the structure of the computer system of the server for realizing the embodiment of the present application
Schematic diagram.
Embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is appreciated that
, specific embodiment described herein is used only for explaining related invention, rather than to the hair
Bright restriction.It also should be noted that, illustrate only for the ease of description, in accompanying drawing with
About the related part of invention.
It should be noted that in the case where not conflicting, embodiment and embodiment in the application
In feature can be mutually combined.Describe this in detail below with reference to the accompanying drawings and in conjunction with the embodiments
Application.
Fig. 1, which is shown, to be filled using synchronous IP collocation methods or synchronization the IP configuration of the application
The exemplary system architecture 100 for the embodiment put.
As shown in figure 1, system architecture 100 can include terminal device 101,102,103,
Network 104 and server 105.Network 104 is used in the and of terminal device 101,102,103
The medium of communication link is provided between server 105.Network 104 can include various connection classes
Type, such as wired, wireless communication link or fiber optic cables etc..
User can pass through network 104 and server 105 with using terminal equipment 101,102,103
Interaction, to receive or send message etc..It can be provided with terminal device 101,102,103
Various client applications, the class application of for example doing shopping, web browser applications, searching class apply,
JICQ, mailbox client, the application of online payment class etc..
Terminal device 101,102,103 can be with display screen and support instant messaging
Various electronic equipments, including but not limited to smart mobile phone, tablet personal computer, E-book reader,
(Moving Picture Experts Group Audio Layer III, dynamic image is special for MP3 player
Family's compression standard audio aspect 3), MP4 (Moving Picture Experts Group Audio
Layer IV, dynamic image expert's compression standard audio aspect 4) player, portable meter on knee
Calculation machine and desktop computer etc..
Server 105 can be to provide the server of various services, for example to terminal device 101,
102nd, 103 webpages linked provide the background server supported.Background server can be with logarithm
It is ranked up according to the corresponding IP of domain name in storehouse, generates the corresponding optimal IP of above-mentioned domain name, and will
The optimal IP of generation is synchronized to database so that terminal device is called.
It should be noted that the synchronous IP collocation methods that the embodiment of the present application is provided are general by taking
Business device 105 is performed, and correspondingly, synchronous IP configuration devices are generally positioned in server 105.
It should be understood that the number of the terminal device, network and server in Fig. 1 is only signal
Property.According to needs are realized, can have any number of terminal device, network and server.
With continued reference to Fig. 2, an implementation of the synchronous IP collocation methods according to the application is shown
The flow 200 of example.Described synchronous IP collocation methods, comprise the following steps:
Step 201, test request is sent for the corresponding IP of domain name in database, record is surveyed
Test result.
In the present embodiment, the corresponding IP of domain name in database can include at least one of following:
The corresponding IP of domain name after renewal, the IP after the corresponding renewal of domain name, based on user for existing
Feedback information that the domain name of failure is sent and the IP corresponding to the domain name that identifies, triggering IP alarms
The IP of signal.
In the present embodiment, the electronic equipment of synchronous IP collocation methods operation thereon (is for example schemed
Server shown in 1) can be by the test request page to the corresponding IP of domain name in database
Tested, generally, the number of times of test is more, and the accuracy rate of test result is higher.Test please
Page info is asked to include but is not limited to domain name, address test (URL, Uniform Resource
Locator), required parameter (for example, time started, end time, list of types), description
(for example, obtaining order, goods browse), unsuccessful verification mark, virtual IP address and real IP.
As an example, above-mentioned electronic equipment can search for the searching request page of " air-conditioning " for user
The corresponding IP of corresponding domain name sends above-mentioned test request;It can also will be chosen for user
The corresponding IP of domain name that commodity add corresponding to the page of shopping cart sends above-mentioned test request;Also
Can for user check purchase commodity logistics information the page corresponding to domain name it is corresponding
IP sends above-mentioned test request.
In some optional implementations of the present embodiment, test result can be included below extremely
One item missing:Response time, the total degree of test has successfully received the number of times of test returns and is based on
The total degree of test is with having successfully received the success rate that the number of times of test returns is determined.As an example,
Response time can be that above-mentioned electronic equipment (such as the server shown in Fig. 1) please by test
Ask the page to test the corresponding IP of domain name in database to include in the page returned afterwards
Information or tester by timer when obtained information.Total time of test
The number of times for counting and having successfully received test returns can be the information included in the page of above-mentioned return,
Can also be the information obtained by tester's manual count.Success rate can be above-mentioned return
The page in the information that includes or by total degree of the tester based on test with into
Work(receives the information that the number of times manual calculation of test returns is obtained.
As an example, success rate can be calculated using equation below.
Wherein, the total degree of information is tested in number of times/transmission of success rate=have successfully received test response.
In the present embodiment, the corresponding IP of domain name in above-mentioned database can be the domain after updating
The corresponding IP of name.Above-mentioned electronic equipment obtains the domain name in domain name system, and with database
Domain name is contrasted, according to comparing result delete database in, with being differed in domain name system
Domain name, and store in database in the domain name system, domain name that is not present in database.
In the present embodiment, the corresponding IP of domain name in above-mentioned database can be that domain name is corresponding
IP after renewal.Above-mentioned electronic equipment obtains the corresponding IP of existing domain name in domain name system, and
IP corresponding with the domain name in database is contrasted, and is deleted according to comparing result in database
, with the IP that differs in domain name system, and store in database in domain name system, no
It is present in the IP in database.
In the present embodiment, the corresponding IP of domain name in above-mentioned database can also be based on user
For there is the feedback information of the domain name of failure transmission and the IP corresponding to the domain name that identifies.On
Stating electronic equipment can be entered by wired connection mode or radio connection from user using it
The terminal (client) of row webpage connection receives user for there is the anti-of the domain name of failure transmission
Feedforward information, and identify in database the IP corresponding to the domain name that above-mentioned feedback information is directed to.
Generally, user is clicked on after the webpage to be browsed, and webpage can not be linked or user waits webpage
Time of buffering is oversize etc., and factor can all promote user's send feedback information, and feedback approach can be wrapped
Include but be not limited to phone, short message, mail, webpage online customer service and website be in instant communication software
Official's account of upper registration.
In the present embodiment, the corresponding IP of domain name in above-mentioned database can also be triggering IP
The IP of alarm signal, the above-mentioned electronic equipment when domain name mapping IP success rate is less than predetermined threshold value
Alarm signal can be sent.Above-mentioned electronic equipment can set threshold for domain name mapping IP success rate
Value, above-mentioned threshold value can be above-mentioned electronic equipment, and obtained by big data statistical analysis one faces
Dividing value, when domain name mapping IP success rate is less than this critical value, above-mentioned electronic equipment will
Receive user and be directed to and there is the feedback information that the domain name of failure is sent, generally, threshold value can be more than
Or equal to above-mentioned critical value;It is generally greater than and is directed to for the threshold value set by the webpage of payment transaction
Threshold value set by the webpage of other business.As an example, above-mentioned electronic equipment sets threshold value
For 99.6%, when user's requested webpage is linked, now domain name mapping IP success rate is less than
99.6% IP will trigger above-mentioned electronic equipment and send alarm signal.
In some optional implementations of the present embodiment, above-mentioned IP includes virtual IP address and true
Real IP.Wherein, virtual ip address be one not with the net in certain computer or a computer
The connected IP address of network interface card.Packet is sent to this virtual ip address, but institute
Some data still pass through real network interface.It is superfluous that virtual ip address is mostly used in connection
It is remaining;One virtual ip address may also can when a computer or NIC break down
With transferring to another optional computer or NIC response connection.Real IP just refers to public affairs
Net IP address.Because public network IP address is cannot uniquely to repeat, real IP is,
It is by IANA (The Internet Assigned Numbers Authority, interconnection network data point
Fitting mechanism) operator is assigned to, operator is reallocated to individual.
Step 202, based on test result, the corresponding IP of domain name in database is sorted, choosing
Take optimal IP.
In the present embodiment, it is above-mentioned based on the success rate and response time obtained in step 201
Electronic equipment can be according to success rate or the size of response time to the domain name pair in above-mentioned database
The IP answered is ranked up, and success rate highest or response time most short IP are chosen in ranking results
It is used as the corresponding optimal IP of domain name.
In some optional implementations of the present embodiment, above-mentioned electronic equipment can judge above-mentioned
Whether the size of success rate is identical, if it is different, descending or ascending according to success rate
Order the corresponding IP of domain name in database is ranked up;If identical, according to response
Time ascending or descending order is ranked up to above-mentioned IP.
As an example, when user's search " refrigerator ", above-mentioned electronic equipment, which is obtained, is directed to " ice
Domain name corresponding to the searching request of case ", five IP of above-mentioned domain name correspondence, wherein, the first IP
Domain name mapping IP success rate and the response time be respectively 99.81% and 0.74 second, the 2nd IP
Domain name mapping IP success rate and the response time be respectively 99.75% and 1.42 seconds, the 3rd IP
Domain name mapping IP success rate and the response time be respectively 99.75% and 1.04 seconds, the 4th IP
Domain name mapping IP success rate and the response time be respectively 99.57% and 2.45 seconds, the 5th IP
Domain name mapping IP success rate and the response time be respectively 99.67% and 0.53 second.Above-mentioned electricity
Sub- equipment can judge whether the size of above-mentioned success rate is identical first, judge above-mentioned 2nd IP's
Success rate and the 3rd IP success rate are identicals, now ascending to according to the response time
Two IP and the 3rd IP are ranked up, and ranking results are:3rd IP, the 2nd IP;Judge again
First IP, the 4th IP, the 5th IP and the 2nd IP be from the 3rd IP success rate it is different, this
When this five IP are ranked up according to success rate is descending, draw final ranking results
For:First IP, the 3rd IP, the 2nd IP, the 5th IP, the 4th IP, finally, above-mentioned electronics
Equipment choose the first IP as the domain name corresponding to the above-mentioned searching request for " refrigerator " most
Excellent IP.
Step 203, synchronous optimal IP is called for terminal.
In the present embodiment, the corresponding optimal IP deposits database of domain name step 202 obtained
In.When terminal user is by directly inputting network address or clicking in the page presented in terminal applies
Link when, find in the corresponding optimal IP of domain name that above-mentioned electronic equipment is stored in database
The corresponding optimal IP of above-mentioned network address preferentially calls for terminal.
The method that above-described embodiment of the application is provided passes through to the corresponding IP of domain name in database
Sort to provide the optimal IP corresponding to the network address of end-user request, terminal user passes through preferential
Above-mentioned optimal IP is called, so as to improve the success rate of website visiting.
With further reference to Fig. 3, it illustrates the stream of another embodiment of synchronous IP collocation methods
Journey 300.This method comprises the following steps:
Step 301, test request is sent for the corresponding IP of domain name in database, record is surveyed
Test result.
In the present embodiment, the electronic equipment of synchronous IP collocation methods operation thereon can pass through
The test request page is tested the corresponding IP of domain name in database.Wherein, in database
The corresponding IP of domain name can include it is at least one of following:The corresponding IP of domain name after renewal, domain
IP after the corresponding renewal of name, is directed to based on user and there is the feedback information that the domain name of failure is sent
And the IP corresponding to the domain name identified, trigger the IP of IP alarm signals.
Step 302, based on test result, the corresponding IP of domain name in database is sorted, choosing
Take optimal IP.
In the present embodiment, it is above-mentioned based on the success rate and response time obtained in step 301
Electronic equipment can be according to success rate or the size of response time to the domain name pair in above-mentioned database
The IP answered is ranked up, and success rate highest or response time most short IP are chosen in ranking results
It is used as the corresponding optimal IP of domain name.
Step 303, success rate is chosen in the corresponding IP of domain name in database and is less than default threshold
The IP of value is put into the conjunction of the first IP subset, obtains each IP correspondences domain name during the first IP subset is closed
Set of domains.
In the present embodiment, above-mentioned electronic equipment is by the success rate obtained in step 302 and presets
Threshold value is contrasted, and success rate is put into the conjunction of the first IP subset less than the IP of predetermined threshold value,
Then, each corresponding domain names of IP are put into set of domains during above-mentioned first IP subset is closed.
Step 304, the domain name that the corresponding IP quantity of domain name in set of domains is more than 1 is chosen,
Second IP subset corresponding with the domain name that IP quantity is more than 1 is obtained to close.
In the present embodiment, above-mentioned electronic equipment can be with the set of domains in query steps 303
The corresponding IP quantity of each domain name, and by IP quantity be more than 1 domain name corresponding to IP put
Enter in the conjunction of the second IP subset.
Step 305, whether the second IP subset has success rate to be higher than predetermined threshold value IP in closing is judged.
In the present embodiment, above-mentioned electronic equipment judges whether the second IP subset has success rate in closing
Higher than the IP of predetermined threshold value, if the second IP subset has success rate higher than the IP of predetermined threshold value in closing,
Step 306 is then performed, the IP that success rate during the second IP subset is closed is less than predetermined threshold value, pin is deleted
Deletion is set to the IP of deletion, and by the IP status messages of return;If the second IP subset is closed
The middle IP for being higher than predetermined threshold value without success rate, performs step 307, in above-mentioned subclass
All IP, and the IP status messages of return are set to pending.
As shown in table 1, first row represents the domain name that the IP quantity chosen is more than 1;Second list
Show the IP that IP quantity is more than during corresponding second IP subset of 1 domain name is closed;3rd row represent IP
Success rate whether be higher than predetermined threshold value judged result;4th row are the return IP states set
Message.
Table 1 returns to the setting of IP status messages
Step 308, terminal is sent a message to so that terminal shows IP status messages.
In the present embodiment, above-mentioned electronic equipment is by the IP returned in step 306 and step 307
Status message is sent to terminal by wired connection mode or radio connection.The IP received
Status message represents above-mentioned IP for deletion and deleted by above-mentioned electronic equipment;The IP states received
Message is that the pending IP that represents needs terminal to be handled.Sending the mode of information includes but does not limit
In:Mail, short message.If above-mentioned electronic equipment sends information using mail, need to obtain
The addresses of items of mail of terminal, and information is sent in the form of mail to above-mentioned addresses of items of mail;If
Above-mentioned electronic equipment is pushed using short message, then needs to obtain the phone number of terminal, then up
The form for stating phone number short message sends information.
Step 309, synchronous optimal IP is called for terminal.
In the present embodiment, the corresponding optimal IP of the domain name in database is stored in database.
When terminal user is by directly inputting the chain in the page presented in network address or click terminal applies
When connecing, found in the corresponding optimal IP of domain name that above-mentioned electronic equipment is stored in database above-mentioned
The corresponding optimal IP of network address preferentially calls for terminal.
From figure 3, it can be seen that compared with the corresponding embodiments of Fig. 2, it is same in the present embodiment
The flow 300 of step IP collocation methods adds step of the processing success rate less than the IP of predetermined threshold value
Suddenly, and by IP status messages it is sent to terminal.Thus, the scheme of the present embodiment description can be entered
One step improves the success rate of website visiting.
With further reference to Fig. 4, as the realization to method shown in above-mentioned each figure, the application is provided
A kind of one embodiment of synchronous IP configuration devices, the device embodiment and the side shown in Fig. 2
Method embodiment is corresponding, and the device specifically can apply in server.
As shown in figure 4, the synchronous IP configuration devices 400 described in the present embodiment include:Record
Member 401, sequencing unit 402 and synchronization unit 403.Wherein, recording unit 401 is configured to
Test request is sent for the corresponding IP of domain name in database, test result is recorded, wherein,
The corresponding IP of domain name in above-mentioned database includes at least one of following:Domain name correspondence after renewal
IP, the IP after the corresponding renewal of domain name, based on user be directed to exist failure domain name send
Feedback information and the IP corresponding to the domain name that identifies, trigger the IP of IP alarm signals;Sequence
Unit 402 is configured to be based on above-mentioned test result, corresponding to the domain name in above-mentioned database
IP sorts, and chooses optimal IP;And synchronization unit 403 be configured to synchronous above-mentioned optimal IP with
Called for terminal.
In the present embodiment, recording unit 401, sequencing unit 402 and synchronization unit 403
Specific processing can respectively refer to the corresponding embodiments of Fig. 2 in step 201, step 202 with
And the related description of step 203, it will not be repeated here.
In some optional implementations of the present embodiment, sequencing unit 402 is further configured
For:Judge whether the success rate of the corresponding IP of domain name in above-mentioned database is identical;If so,
Above-mentioned IP is sorted according to the response time;If it is not, being sorted according to success rate to above-mentioned IP.
In some optional embodiments of the present embodiment, synchronous IP configuration devices 400 also include:
Set of domains acquiring unit (not shown), the second IP subset close acquiring unit (in figure not
Show) and message sending unit (not shown).Wherein, set of domains acquiring unit is used for
Success rate is chosen in the corresponding IP of domain name in above-mentioned database to put less than the IP of predetermined threshold value
Enter in the conjunction of the first IP subset, obtain the domain name collection of each IP correspondences domain name during the first IP subset is closed
Close;Second IP subset, which closes acquiring unit, to be used to choose the corresponding IP numbers of domain name in set of domains
Domain name of the amount more than 1, obtains twoth IP corresponding with the domain name that above-mentioned IP quantity is more than 1
Set;Message sending unit is used for each IP in being closed for the second IP subset, and generation returns to IP
Status message, sends above-mentioned message to terminal, wherein, above-mentioned return IP status messages include:
Delete or pending.
In some optional embodiments of the present embodiment, message sending unit (not shown)
Including:Judgment sub-unit (not shown) and information transmission sub-unit (not shown).
Wherein, judgment sub-unit is used to judge whether the second IP subset has success rate to be higher than default threshold in closing
The IP of value;If so, the IP that success rate during the second IP subset is closed is less than predetermined threshold value is deleted, and
Above-mentioned return IP status messages are set to delete;If it is not, by above-mentioned return IP status messages
It is set to pending;Information transmission sub-unit is used to send above-mentioned message to terminal so that terminal is aobvious
Show above-mentioned IP status messages.
Below with reference to Fig. 5, it illustrates suitable for for realizing the terminal device of the embodiment of the present application
Or the structural representation of the computer system 500 of server.
As shown in figure 5, computer system 500 includes CPU (CPU) 501, its
Can according to the program being stored in read-only storage (ROM) 502 or from storage part 508
The program that is loaded into random access storage device (RAM) 503 and perform various appropriate actions
And processing.In RAM 503, the system that is also stored with 500 operates required various program sums
According to.CPU 501, ROM 502 and RAM 503 are connected with each other by bus 504.Input
/ output (I/O) interface 505 is also connected to bus 504.
I/O interfaces 505 are connected to lower component:Importation 505 including keyboard, mouse etc.;
Including cathode-ray tube (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.
Output par, c 507;Storage part 508 including hard disk etc.;And including such as LAN card,
The communications portion 509 of the NIC of modem etc..Communications portion 509 is via such as
The network of internet performs communication process.Driver 510 is also according to needing to be connected to I/O interfaces
505.Detachable media 511, such as disk, CD, magneto-optic disk, semiconductor memory etc.,
Be arranged on as needed on driver 510, in order to the computer program that reads from it according to
Need to be mounted into storage part 508.
Especially, in accordance with an embodiment of the present disclosure, the process described above with reference to flow chart can be with
It is implemented as computer software programs.For example, embodiment of the disclosure includes a kind of computer journey
Sequence product, it includes being tangibly embodied in the computer program on machine readable media, the meter
Calculation machine program bag, which contains, is used for the program code of the method shown in execution flow chart.Implement such
In example, the computer program can be downloaded and installed by communications portion 509 from network,
And/or be mounted from detachable media 511.In the computer program by CPU
(CPU) during 501 execution, the above-mentioned functions limited in the present processes are performed.
Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of the various embodiments of the application,
Architectural framework in the cards, function and the operation of method and computer program product.This point
On, each square frame in flow chart or block diagram can represent a module, program segment or code
A part, the part of the module, program segment or code is used for comprising one or more
The executable instruction of logic function as defined in realizing.It should also be noted that being used as replacement at some
In realization, the function of being marked in square frame can also be with different from the order marked in accompanying drawing hair
It is raw.For example, two square frames succeedingly represented can essentially be performed substantially in parallel, they
Sometimes it can also perform in the opposite order, this is depending on involved function.It is also noted that
It is, each square frame in block diagram and/or flow chart and the square frame in block diagram and/or flow chart
Combination, can be realized with the special hardware based system of defined function or operation is performed,
Or can be realized with the combination of specialized hardware and computer instruction.
Being described in unit involved in the embodiment of the present application can be real by way of software
It is existing, it can also be realized by way of hardware.Described unit can also be arranged on processing
In device, for example, can be described as:A kind of processor includes recording unit, sequencing unit and same
Walk unit.Wherein, the title of these units is not constituted to the unit in itself under certain conditions
Restriction, for example, synchronization unit is also described as " synchronous optimal IP units ".
As on the other hand, present invention also provides a kind of nonvolatile computer storage media,
The nonvolatile computer storage media can be described in above-described embodiment included in device
Nonvolatile computer storage media;Can also be individualism, without non-in supplying terminal
Volatile computer storage medium.Above-mentioned nonvolatile computer storage media be stored with one or
The multiple programs of person, when one or more of programs are performed by an equipment so that described
Equipment:Test request is sent for the corresponding IP of domain name in database, test result is recorded,
Wherein, the corresponding IP of domain name in the database includes at least one of following:Domain after renewal
Name corresponding IP, the IP after the corresponding renewal of domain name, the domain name that there is failure is directed to based on user
The feedback information of transmission and the IP corresponding to the domain name that identifies, trigger the IP of IP alarm signals;
Based on the test result, the corresponding IP of domain name in the database is sorted, chosen optimal
IP;The synchronous optimal IP calls for terminal.
Above description is only the preferred embodiment of the application and saying to institute's application technology principle
It is bright.It will be appreciated by those skilled in the art that invention scope involved in the application, is not limited
In the technical scheme of the particular combination of above-mentioned technical characteristic, do not departed from while should cover yet
In the case of the inventive concept, it is combined by above-mentioned technical characteristic or its equivalent feature
Formed by other technical schemes.Such as features described above and (but not limited to) disclosed herein
Technical characteristic with similar functions carries out technical scheme formed by replacement mutually.
Claims (12)
1. a kind of synchronous IP collocation methods, it is characterised in that methods described includes:
Test request is sent for the corresponding IP of domain name in database, test result is recorded, its
In, the corresponding IP of domain name in the database includes at least one of following:Domain name after renewal
Corresponding IP, the IP after the corresponding renewal of domain name, the domain name hair that there is failure is directed to based on user
The feedback information that send and the IP corresponding to the domain name that identifies, trigger the IP of IP alarm signals;
Based on the test result, the corresponding IP of domain name in the database is sorted, chosen
Optimal IP;
The synchronous optimal IP calls for terminal.
2. according to the method described in claim 1, it is characterised in that the IP includes:Very
Real IP and virtual IP address.
3. according to the method described in claim 1, it is characterised in that the test result includes:
Response time, the total degree based on test is with having successfully received the success that the number of times of test returns is determined
Rate.
4. according to the method described in claim 1, it is characterised in that described to be based on the test
As a result, the corresponding IP of domain name in the database is sorted, including:
Judge whether the success rate of the corresponding IP of domain name in the database is identical;
If so, being sorted according to the response time to the IP;
If it is not, being sorted according to the success rate to the IP.
5. the method according to one of claim 1-4, it is characterised in that chosen described
After optimal IP, methods described also includes:
Success rate is chosen in the corresponding IP of domain name in the database less than predetermined threshold value
IP is put into the conjunction of the first IP subset, obtains each IP correspondences domain name during first IP subset is closed
Set of domains;
Choose set of domains in the corresponding IP quantity of domain name be more than 1 domain name, obtain with it is described
Corresponding second IP subset of domain name that IP quantity is more than 1 is closed;
Each IP in being closed for second IP subset, generation returns to IP status messages, sent
The message to terminal, wherein, the return IP status messages include:Delete or pending.
6. method according to claim 5, it is characterised in that described for described second
IP subset each IP in closing, generation returns to IP status messages, sends the message to terminal,
Wherein, the return IP status messages include:Delete or pending, including:
Judge whether second IP subset has success rate to be higher than predetermined threshold value IP in closing;
If so, the IP that success rate during second IP subset is closed is less than predetermined threshold value is deleted, and will
The return IP status messages are set to delete;
If it is not, the return IP status messages are set to pending;
Send the message to terminal so that terminal is shown the IP status messages.
7. a kind of synchronous IP configuration devices, it is characterised in that described device includes:
Recording unit, the corresponding IP of domain name for being configured to be directed in database sends test request,
Test result is recorded, wherein, the corresponding IP of domain name in the database includes following at least one
:The corresponding IP of domain name after renewal, the IP after the corresponding renewal of domain name, are directed to based on user
The IP corresponding to domain name that there is the feedback information of the domain name transmission of failure and identify, triggers IP
The IP of alarm signal;
Sequencing unit, is configured to be based on the test result, to the domain name in the database
Corresponding IP sequences, choose optimal IP;
Synchronization unit, is configured to the synchronous optimal IP so that terminal is called.
8. device according to claim 7, it is characterised in that the IP includes:Very
Real IP and virtual IP address.
9. device according to claim 7, it is characterised in that the test result includes:
Response time, the total degree based on test is with having successfully received the success that the number of times of test returns is determined
Rate.
10. device according to claim 7, it is characterised in that the sequencing unit enters
One step is configured to:
Judge whether the success rate of the corresponding IP of domain name in the database is identical;
If so, being sorted according to the response time to the IP;
If it is not, being sorted according to the success rate to the IP.
11. the device according to one of claim 7-10, it is characterised in that described device
Also include:
Set of domains acquiring unit, is configured in the corresponding IP of domain name in the database
Choose success rate to be put into the conjunction of the first IP subset less than the IP of predetermined threshold value, obtain described first
The set of domains of IP subset each IP correspondences domain name in closing;
Second IP subset closes acquiring unit, and the domain name for being configured to choose in set of domains is corresponding
IP quantity is more than 1 domain name, obtains the domain name corresponding second more than 1 with the IP quantity
IP subset is closed;
Message sending unit, is configured to each IP, generation in being closed for second IP subset
IP status messages are returned, the message are sent to terminal, wherein, the return IP states disappear
Breath includes:Delete or pending.
12. device according to claim 11, it is characterised in that the message sends single
Member includes:
Judgment sub-unit, is configured to judge whether second IP subset has success rate high in closing
In the IP of predetermined threshold value;
If so, the IP that success rate during second IP subset is closed is less than predetermined threshold value is deleted, and will
The return IP status messages are set to delete;
If it is not, the return IP status messages are set to pending;
Information transmission sub-unit, is configured to send the message to terminal so that terminal shows institute
State IP status messages.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610170210.4A CN107231446A (en) | 2016-03-23 | 2016-03-23 | Synchronous IP collocation methods and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610170210.4A CN107231446A (en) | 2016-03-23 | 2016-03-23 | Synchronous IP collocation methods and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107231446A true CN107231446A (en) | 2017-10-03 |
Family
ID=59931478
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610170210.4A Pending CN107231446A (en) | 2016-03-23 | 2016-03-23 | Synchronous IP collocation methods and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107231446A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114513736A (en) * | 2020-10-27 | 2022-05-17 | 深圳市豪恩声学股份有限公司 | Acoustic testing method, device, terminal and storage medium for earphone |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020087722A1 (en) * | 2000-12-29 | 2002-07-04 | Ragula Systems D/B/A/ Fatpipe Networks | Domain name resolution making IP address selections in response to connection status when multiple connections are present |
CN102196060A (en) * | 2011-06-15 | 2011-09-21 | 北京蓝汛通信技术有限责任公司 | Method and system for selecting source station by Cache server |
CN102457440A (en) * | 2012-01-13 | 2012-05-16 | 华为软件技术有限公司 | Method for realizing load balance, DNS server and client |
CN102546854A (en) * | 2012-01-10 | 2012-07-04 | 上海西默通信技术有限公司 | Domain name analysis method for building hyper text transport protocol (HTTP) connection for domain name and server |
CN103780714A (en) * | 2012-10-25 | 2014-05-07 | 中国移动通信集团北京有限公司 | Method and apparatus for probing DNS server |
-
2016
- 2016-03-23 CN CN201610170210.4A patent/CN107231446A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020087722A1 (en) * | 2000-12-29 | 2002-07-04 | Ragula Systems D/B/A/ Fatpipe Networks | Domain name resolution making IP address selections in response to connection status when multiple connections are present |
CN102196060A (en) * | 2011-06-15 | 2011-09-21 | 北京蓝汛通信技术有限责任公司 | Method and system for selecting source station by Cache server |
CN102546854A (en) * | 2012-01-10 | 2012-07-04 | 上海西默通信技术有限公司 | Domain name analysis method for building hyper text transport protocol (HTTP) connection for domain name and server |
CN102457440A (en) * | 2012-01-13 | 2012-05-16 | 华为软件技术有限公司 | Method for realizing load balance, DNS server and client |
CN103780714A (en) * | 2012-10-25 | 2014-05-07 | 中国移动通信集团北京有限公司 | Method and apparatus for probing DNS server |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114513736A (en) * | 2020-10-27 | 2022-05-17 | 深圳市豪恩声学股份有限公司 | Acoustic testing method, device, terminal and storage medium for earphone |
CN114513736B (en) * | 2020-10-27 | 2024-03-29 | 深圳市豪恩声学股份有限公司 | Acoustic testing method, equipment, terminal and storage medium for earphone |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11245718B2 (en) | Method and system for tracking fraudulent activity | |
USRE48681E1 (en) | System and method for tracking web interactions with real time analytics | |
CN102647462B (en) | Application acquisition and sending method and device | |
CN109388548B (en) | Method and apparatus for generating information | |
CN107105031A (en) | Information-pushing method and device | |
US10235694B2 (en) | Rules-based targeted content message serving systems and methods | |
CN107203894A (en) | Information-pushing method and device | |
US10438270B2 (en) | Apparatus and method for information processing and recording | |
CN103984552A (en) | iTV Android application store system and achieving method thereof | |
CN108369709A (en) | Network-based ad data service delay reduces | |
JP2009193465A (en) | Information processor, information providing system, information processing method, and program | |
CN102301732A (en) | Communication system, server device, display device, information processing method, and program | |
WO2008033454A2 (en) | System and method for assessing marketing data | |
CN107426328A (en) | Information-pushing method and device | |
CN107944956A (en) | Method and apparatus for generating information | |
CN107977678A (en) | Method and apparatus for output information | |
CN107315753A (en) | Across the paging method and device of multiple database | |
CN107632971A (en) | Method and apparatus for generating multidimensional form | |
CN108932594B (en) | Information pushing method and device | |
CN107368407A (en) | Information processing method and device | |
JP2002032492A (en) | Method and device for encounter assistance and recording medium with encounter assisting program recorded thereon | |
CN107231446A (en) | Synchronous IP collocation methods and device | |
CN104111997B (en) | Based on the method for information display of browser client, device and system | |
CN107346505A (en) | Information-pushing method and device | |
CN105338091A (en) | High-transmission-efficiency personalized information interface display method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171003 |
|
RJ01 | Rejection of invention patent application after publication |