Background technology
Fig. 1 is the structural representation of existing DDNS system, and as shown in Figure 1, typical DDNS system is made up of two parts, and a part is the client 1 that operates on the user terminal; Another part is the application program of server end, operates on the main frame of server end 2.Server end 2 comprises response server 21 and name server (Domain Name Server; Hereinafter to be referred as: dns server), wherein response server 21 is responsible for response user's dynamic domain name update request, and dns server 22 is responsible for the operation of user domain name analysis.In RFC2136, formulated the DDNS consensus standard: by on user terminal, transplanting and move the client 1 of DDNS, user profile is registered on the dns server 22, and the domain name of report of user terminal and IP address, in order to DNS to be provided inquiry service.
The handling process of DDNS system comprises: the client 1 of DDNS when user terminal IP address changes to the IP address of this user's domain name correspondence of response server 21 update notifications, with registration updating information; After response server 21 is received more new data, nslookup registration database 24.Whether the domain name of checking client 1 is legal; If not rule abandons, promptly illegal domain name is landed and will be refused by response server 21; If legal, then response server 21 is stored in domain name to corresponding dynamic domain name updating message more in the new database 25 in the mode of order; Then by synchronized process 23 with domain name more the order in the new database 25 realized, be updated to dns server 22, finish user profile transmission of 22 from client 1 to dns server, realize dynamically updating.Dns server 22 according to the domain name registration address, resolves to up-to-date client ip address with access request when receiving the access request that the domain name access user sends, finish visit with guiding domain name calling party.
The DDNS handling process requires the equipment in the network to satisfy several conditions: the one, need for example transplant the application program of client at user terminal on home gateway, application apparatus such as set-top box, the monitor terminal etc., and these user terminals needed the test authentication and authorization through DDNS service provider before large-scale application; The 2nd, need set up complete DDNS system, comprise response server, dns server, domain name registration database, domain name more new database, synchronized process etc.
Because DDNS service provider need transplant client on user terminal, and user terminal is tested authentication and authorization, has increased the user terminal development difficulty; Because the structure of complete DDNS system is comparatively complicated, and DDNS system and other network services and uncorrelated, concerning the link service provider, set up the DDNS system separately and also have defect of high cost.
Summary of the invention
The objective of the invention is: a kind of dynamic domain name management system and method are provided,, realize simplifying the structure of DDNS system, the development cost of reduction DDNS system in order to solve defectives such as existing DDNS system configuration complexity, cost height.
The invention provides a kind of dynamic domain name management system, comprising:
The telemanagement subsystem is used to receive the domain name update request that user terminal sends, and the domain name update request comprises the domain name supervising information and the IP address of described user terminal, and domain name management information comprises the domain-name information and the device identification of described user terminal;
The DDNS subsystem, be used for domain name management information being verified according to the log-on message of domain name supervising subsystem user terminals stored, and domain name management information and the described IP address of storage by verifying, described log-on message comprises the device identification and the corresponding domain-name information of described user terminal;
The domain name supervising subsystem is used to store described log-on message.
The present invention also provides a kind of DDNS management method, comprising:
The telemanagement subsystem receives the domain name update request that user terminal sends, and the domain name update request comprises the domain name supervising information and the IP address of described user terminal, and domain name management information comprises the domain-name information and the device identification of described user terminal;
The DDNS subsystem is verified domain name management information according to the log-on message of user terminals stored in the domain name supervising subsystem, and domain name management information and the described IP address of storage by verifying, described log-on message comprises the device identification and the corresponding domain-name information of described user terminal.
The invention provides a kind of dynamic domain name management system and method, utilize central database and Automatic Configuration Server in the existing long-distance management system to make up complete DDNS system, simplified the structure that the DDNS system sets up, reduced and developed the complete required development cost of DDNS system, need not on user terminal, to transplant client, reduced the development difficulty of user terminal.
Embodiment
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Long-distance management system is the important support system of intelligent terminal operation, the many TR069 (CPE wide area network management agreement) that formulate based on DSL forum of current long-distance management system.Fig. 2 is the structural representation of existing TR069 long-distance management system, and as shown in Figure 2, this TR069 long-distance management system comprises Automatic Configuration Server 3 (Auto-Configuration Server; Hereinafter to be referred as: ACS) with central database 4.Wherein Automatic Configuration Server 3 is used to provide the interface support with user terminal.The remote management interface of user terminal is connected to Automatic Configuration Server 3.The connection first of user terminal is disposed automatically, apparatus remote configuration, state information searching, failure diagnosis etc. are that interface is handled with Automatic Configuration Server 3 all.Central database 4 is data storage centers of long-distance management system, is used for recording equipment management information, SOT state of termination reporting information etc.The long-distance management system interaction flow of TR069 regulation is: user terminal can report Automatic Configuration Server 3 with the end message that customizes according to predetermined strategy, and is stored in the central database 4.Other application systems can be visited central database 4 or be obtained terminal information alternately with the self defined interface of Automatic Configuration Server 3.
Main thought of the present invention is to utilize the long-distance management system that has laid in the service network, for the service provider provides complete DDNS system, to realize dynamically updating and configuration automatically the user terminal domain name.
Fig. 3 is the structural representation of dynamic domain name management system first embodiment of the present invention, and as shown in Figure 3, this dynamic domain name management system comprises telemanagement subsystem 5, DDNS subsystem 6 and domain name supervising subsystem 7.Wherein telemanagement subsystem 5 is used to receive the domain name update request that user terminal sends, the domain name update request comprises the domain name supervising information and the IP address of described user terminal, and domain name management information comprises the domain-name information and the device identification of described user terminal; DDNS subsystem 6 is used for according to the log-on message of domain name supervising subsystem 7 user terminals stored domain name management information being verified, and domain name management information and the described IP address of storage by verifying, described log-on message comprises the device identification and the corresponding domain-name information of described user terminal; Domain name supervising subsystem 7 is used to store described log-on message.
Need apply for a domain name when particularly, user terminal uses the DDNS service.Wherein user terminal comprises home gateway, application apparatus such as set-top box, monitor terminal etc.The user terminal application after domain name, can manual configuration to user terminal, also can be configured on the user terminal automatically by telemanagement subsystem 5.Wherein telemanagement subsystem 5 adopts Automatic Configuration Server and the central database in the existing long-distance management system, when user terminal generation electrifying startup or configuration change when for example IP address etc. changes, user terminal can use domain-name information after the TR069 remote configuration interface will change and IP address notification to give the Automatic Configuration Server of telemanagement subsystem 5, and telemanagement subsystem 5 upgrades the domain name supervising information of the user terminal correspondence that changes and IP address and stores in the central database.When DDNS subsystem 6 the information in the central database of telemanagement subsystem 5 of monitoring takes place to upgrade, obtain the domain name supervising information and the IP address of the user terminal correspondence that renewal takes place, wherein this domain name supervising information comprises the domain name supervising information and the IP address of the user terminal that this generation is upgraded.DDNS subsystem 6 verifies to this domain name supervising information that according to the log-on message of user terminals stored in the domain name supervising subsystem 7 this log-on message comprises by the device identification of the user terminal of domain name registration and corresponding domain-name information.If the device identification of the log-on message of domain name supervising subsystem 7 storages is consistent with device identification and domain-name information in the domain name supervising information with corresponding domain-name information, then this domain name supervising information is registered legal information effectively.Passed through checking if the domain name supervising information of the user terminal of renewal takes place, then the name server that will store in the DDNS subsystem 6 by the domain name supervising information and the IP address of checking is in the dns server.When the domain name access user sends the domain name access request to dns server, just can access request be resolved to the information such as IP address of up-to-date user terminal by dns server, and pass through the IP address and set up effectively visit according to the domain name registration address.
Present embodiment is by adopting domain name supervising information and the IP address of telemanagement subsystem as the response server of DDNS system, user terminal correspondence that storage changes, simplified the structure that the DDNS system sets up, reduced and developed the complete required development cost of DDNS system; Owing to need not on user terminal, to transplant client, reduced the development difficulty of user terminal.
Fig. 4 is the structural representation of dynamic domain name management system second embodiment of the present invention, and as shown in Figure 4, on the basis of dynamic domain name management system first embodiment of the present invention, telemanagement subsystem 5 comprises Automatic Configuration Server 3 and central database 4.Wherein Automatic Configuration Server 3 is used to receive the domain name update request, according to domain name management information and the described IP address in the domain name update request renewal central database; Central database 4 is used to store domain name management information and described IP address.DDNS subsystem 6 comprises DDNS synchronized process 61 and name server 62.Wherein DDNS synchronized process 61 is used for when monitoring central database 4 generation renewals, obtain domain name management information and described IP address, according to described log-on message domain name management information is verified, and will be sent to name server 62 by the domain name management information and the described IP address of checking.Name server 62 is used to store domain name management information and the described IP address that described DDNS synchronized process sends.Domain name supervising subsystem 7 comprises domain name supervising platform 71 and domain name supervising database 72.Wherein domain name supervising platform 71 is used to receive the domain name register requirement, and described log-on message is stored to the domain name management database; Domain name supervising database 72 is used to store described log-on message.Further, domain name supervising platform 71 also is used for sending configuration indication automatically according to the domain name register requirement to Automatic Configuration Server 3; Automatic Configuration Server 3 also is used for being designated as described user terminal according to described automatic configuration and disposes domain name information automatically.
Particularly, when user terminal need use the DDNS service, can be by for example professional website of third party's platform to domain name of domain name supervising platform 71 application, when promptly carrying out domain name registration for user terminal on professional website, professional website sends the domain name registration request to the domain name supervising platform.Domain name supervising platform 71 receives the domain name registration request, if the domain name registration request of this user terminal success, can be that this user terminal distributes a suitable domain name according to the device identification of this user terminal, and be that ac server sends configuration indication automatically to Automatic Configuration Server 3.Automatic Configuration Server 3 is designated as this user terminal according to this automatic configuration and disposes domain name automatically after receiving this automatic configuration indication.The log-on message of this user terminal then can be stored in the domain name supervising database 72.When user terminal restarts or configuration change for example during state variation such as IP address change, user terminal uses the TR069 remote configuration interface, information such as domain name supervising information and IP address are reported to Automatic Configuration Server, the device identification and the domain-name information that comprise this user terminal in the domain name supervising information, Automatic Configuration Server 3 is stored to this domain name supervising information and IP address in the central database 4 of telemanagement subsystem 5.DDNS synchronized process 61 database of National Center 4, when the content in the central database 4 takes place to upgrade, DDNS synchronized process 61 can obtain domain name supervising information and the IP address that the user terminal of renewal takes place in the central database 4, search the log-on message of storage in the domain name supervising database 72 then, this domain name supervising information is verified.If in the domain name supervising database 72 log-on message consistent with the domain name supervising information of this user terminal arranged, then domain name supervising information is by checking.DDNS synchronized process 61 will be by checking domain name supervising information and to send to name server 62 be dns server in the IP address, finish the process of user terminal dynamic territory analyzing.For not by the domain name supervising information of checking, then do not send to name server 62.Wherein log-on message comprises the device identification and the corresponding domain-name information of the user terminal that succeeds in registration, and the corresponding relation of device identification and domain-name information can pass through device identification and user account number binding with user terminal, and methods such as user account number and domain-name information binding are realized.Other domain name access user is when name server 62 sends the domain name access request, name server 62 can be according to information such as this domain name access request and domain name registration addresses, access request is resolved to the IP address of up-to-date user terminal, and the domain name access user just can set up effective visit by the IP address that receives.
Present embodiment uses the Automatic Configuration Server ACS of telemanagement subsystem and central database as the response server of DDNS system and domain name new database more, has simplified the structure of DDNS system, has reduced the development cost of DDNS system; Need not on user terminal, to transplant client, reduced the development difficulty of user terminal; And adopt ACS can also realize the remote auto of user terminal domain name is disposed, improve the consistency of DDNS service; Adopt the domain name supervising platform to combine, help providing on a large scale DDNS service, and domain name is carried out holistic management with the integral body of DDNS.
Fig. 5 is the flow chart of DDNS management method embodiment of the present invention, and as shown in Figure 5, this DDNS management method may further comprise the steps:
Step 101, telemanagement subsystem receive the domain name update request that user terminal sends, the domain name update request comprises the domain name supervising information and the IP address of described user terminal, and domain name management information comprises the domain-name information and the device identification of described user terminal;
User terminal is home gateway, application apparatus such as set-top box, monitor terminal etc. for example, by the application of DDNS system after domain name, can with this domain name manual configuration to this user terminal, also can dispose domain name automatically for user terminal by the Automatic Configuration Server ACS of telemanagement subsystem by domain name registration.When user terminal generation electrifying startup or configuration change when for example IP address etc. changes, the domain name supervising information of the user terminal correspondence after user terminal can use the TR069 remote configuration interface to change and IP address notification are given the Automatic Configuration Server of telemanagement subsystem, and upgrade the domain name supervising information and the IP address of user terminal in the central database of telemanagement subsystem; Wherein can comprise information such as the domain-name information of user terminal and device identification in the domain name supervising information.
Step 102, DDNS subsystem are verified domain name supervising information according to the log-on message of user terminals stored in the domain name supervising subsystem, and domain name supervising information and the IP address of storage by verifying, described log-on message comprises the device identification and the corresponding domain-name information of described user terminal.
DDNS synchronized process in the DDNS subsystem is the central database of DDNS synchronized process monitoring telemanagement subsystem, when central database takes place to upgrade, the DDNS synchronized process obtains the domain name supervising information and the IP address of the user terminal that renewal takes place, the log-on message of user terminals stored in this domain name supervising information and the domain name supervising subsystem is compared checking, if consistent, then domain name supervising information is legal; The name server that the DDNS synchronized process can send to the DDNS subsystem with domain name supervising information and the IP address by checking, name server is preserved domain name supervising information and the IP address after user terminal upgrades.
This DDNS management method can also comprise: the domain name supervising platform of domain name supervising subsystem receives the domain name register requirement, described log-on message is stored to the domain name supervising database of domain name ADMINISTRATION SUBSYSTEM, sends configuration indication automatically to the Automatic Configuration Server of described telemanagement subsystem according to the domain name register requirement.Automatic Configuration Server is designated as described user terminal according to described automatic configuration and disposes domain name information automatically.The i.e. application for domain names that comes managing user terminal by a domain name supervising platform, the log-on message of user terminal of application domain name registration is saved to the domain name supervising database, and the domain name supervising platform can adopt form indication Automatic Configuration Server from configuration indication automatically to Automatic Configuration Server that send that the domain-name information of user terminal is carried out the remote auto configuration.When the state of user terminal changed, user terminal can use the TR069 remote configuration interface that the domain name update request is sent to Automatic Configuration Server, comprised information such as domain name supervising information after the change and IP address in this domain name update request.Automatic Configuration Server is updated to central database with this domain name supervising information and IP address.When the domain name supervising information of the user terminal in the central database of telemanagement subsystem and IP address took place to upgrade, the DDNS synchronized process can be searched the log-on message of the user terminal of the application domain name registration in the domain name supervising database this domain name supervising information is verified.If the domain name supervising information of the user terminal that generation is upgraded is consistent with storage log-on message in the domain name supervising database of domain name supervising subsystem, then the checking of this domain name supervising information is passed through.Wherein log-on message comprises the device identification of the user terminal that succeeds in registration and corresponding domain-name information etc.For example: the domain-name information of the device identification X correspondence of user terminal is xx.com in the log-on message, and the domain-name information of the device identification X correspondence of user terminal is xx1.com in the domain name supervising information, and then this domain name supervising information can not be by checking.The DDNS synchronized process will send to dns server by the domain name supervising information and the IP address of user terminal of checking, to finish the process of user terminal dynamic territory analyzing.For domain name supervising information and the IP address of not passing through the user terminal of checking, the DDNS synchronized process does not then send to dns server.Other domain name access user is when mentioning the domain name access application, and dns server receives access request, and access request is resolved to the IP address of up-to-date user terminal, and the domain name access user just can set up effective visit by the IP address of returning.
The ACS and the central database of the shared telemanagement subsystem of present embodiment have reduced the development cost and the complexity of DDNS system; Adopt the domain name registration request of domain name supervising platform processes user terminal, help providing on a large scale DDNS service, and domain-name information is carried out holistic management; Need not on user terminal, to transplant client, reduced the development difficulty of user terminal; Adopt the response server of Automatic Configuration Server ACS, can also realize remote auto configuration, upgrade the information of the user terminal that changes, improve the consistency of DDNS service the user terminal domain-name information as the DDNS system.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.