CN103166928B - A kind of provide the method for information service, system and DNS authorization server - Google Patents

A kind of provide the method for information service, system and DNS authorization server Download PDF

Info

Publication number
CN103166928B
CN103166928B CN201110420266.8A CN201110420266A CN103166928B CN 103166928 B CN103166928 B CN 103166928B CN 201110420266 A CN201110420266 A CN 201110420266A CN 103166928 B CN103166928 B CN 103166928B
Authority
CN
China
Prior art keywords
information service
content
domain name
authorization server
dns
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.)
Active
Application number
CN201110420266.8A
Other languages
Chinese (zh)
Other versions
CN103166928A (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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201110420266.8A priority Critical patent/CN103166928B/en
Publication of CN103166928A publication Critical patent/CN103166928A/en
Application granted granted Critical
Publication of CN103166928B publication Critical patent/CN103166928B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

Disclosing a kind of provides the method for information service, system and DNS authorization server in internet.The method includes the content of information service being stored in the DNS authorization server of correspondence;The domain name of described information service is provided to home server, domain name comprises the information indicating described information service;And described home server obtains the content of described information service according to domain name from described DNS authorization server.

Description

A kind of provide the method for information service, system and DNS authorization server
Technical field
The application relates to Intemet data traffic, is specifically related to a kind of offer information in internet Method, system and the DNS authorization server of service.
Background technology
Domain name system (Domain Name System, DNS) is the basis of internet, main frame Need to be parsed the IP address of server by DNS, then when accessing Internet resources Could be communicated by the IP address obtained.It is to say, before user's acquisition information, To find the address of corresponding informance server through DNS query, initiate request of data the most again. This mode is by separated to control information (DNS) and data message (WEB).User obtains The delay of the information of obtaining is made up of following components: the response of DNS query delay+data server+ The header of transmission additional control information.
For the information service of lightweight, actual significant data content is the least, actual obtains Fetching data expense own should be the least, but (such as HTTP reports to transmit extra header Head) and control information (DNS) become offer lightweight service major cost, pass through It is too high that WEB server provides this information necessarily to cause DNS to control signaling consumption ratio, and And the length of http header also makes the bulk information transmitted be redundancy, thus cause net The problems such as network resource utilization is low, poor user experience.
Therefore, for lightweight information service, it is provided that easy information service flow process be user and The common expectation of ISP.
Summary of the invention
The application aim to solve the problem that the problems referred to above at least one.
An aspect according to the application, it is provided that a kind of method that information service is provided, including: The content of information service is stored in the DNS authorization server of correspondence;Carry to home server For the domain name of described information service, domain name comprises the information indicating described information service; And described home server obtains described according to domain name from described DNS authorization server The content of information service.
Another aspect according to the application, it is provided that a kind of method that information service is provided, including: The form storage that the content of information service is recorded with the TXT of in domain name system No. TYPE=16 In corresponding DNS authorization server;The territory of described information service is provided to home server Name, the prefix in domain name comprises the information indicating described information service;And described this locality Server obtains bag described TXT record according to domain name from described DNS authorization server The content of the described information service contained.
Another aspect according to the application, it is provided that a kind of DNS providing information service authorizes clothes Business device, including: memory module, storage has the content of information service;Enquiry module, according to this The domain name that ground server sends inquires about the content of the information service of correspondence in described memory module, Domain name comprises the information of instruction information service;And sending module, the institute that will inquire The content stating information service provides to described home server.
Another aspect according to the application, it is provided that a kind of DNS providing information service authorizes clothes Business device, including: memory module, the shape recorded with the TXT of in domain name system No. TYPE=16 The content of formula storage information service;Enquiry module, according to home server send domain name in institute Stating the content of the information service inquiring about correspondence in memory module, the prefix in domain name comprises finger Show the information of described information service;And sending module, by the described information service that inquires Content provides to described home server.
Another aspect according to the application, it is provided that a kind of system that information service is provided, including Above-mentioned DNS authorization server and home server.
According to the application, storing information in DNS resource record, user is looked into by DNS Inquiry directly obtains information needed, efficiently reduces user in lightweight information service and obtains information The time delay of service, reaches quickly to promote the purpose of lightweight information.
Accompanying drawing explanation
Fig. 1 shows that the illustrative embodiments according to the application is for providing the side of information service The flow chart of method.
Fig. 2 shows that the illustrative embodiments according to the application for provide information service is System block diagram.
Detailed description of the invention
Fig. 1 and Fig. 2 respectively illustrates according to one illustrative embodiments of the application for providing The method 100 of information service and the system of implementation method 100.As shown in Figure 2, it is achieved The system of method 100 includes DNS authorization server 20 and home server 30.
As it is shown in figure 1, according to presently filed embodiment, in step S101, by information service Content be stored in correspondence DNS authorization server on.When needing to obtain a certain information service During content, user terminal sends the territory comprising this information service in step S102 to home server The DNS query request of name.According to presently filed embodiment, the domain name of information service comprises Indicate the information of this information service.Then, in step S103, home server is according to this domain name In relevant information obtain the content of information service from DNS authorization server.
In one embodiment, in the prefix of domain name, the title of information service is comprised to indicate phase The information service answered.For example, it is assumed that the information service needed is to provide temperature and humidity information, So, can to these two service build respectively domain name _ temp.userA.notify.10086.cn and _ hum.userA.notify.10086.cn, wherein prefix _ temp and _ hum represent respectively temperature and Humidity.Owing to, in DNS system, domain name is according to stratification tissue, class-of-service, therefore temperature Degree and humidity information both correspond to domain name userA.notify.10086.cn of server A.According to this Planting naming method, home server will access domain name corresponding to temperature and humidity to obtain server Corresponding informance on A.
According to an embodiment, the particular content of information service is with TYPE=16 in DNS system Number TXT record form be stored in DNS authorization server.Due in DNS system In some record type, the TXT record type of TYPE=16 is prone to extension, therefore information on services By TXT record storage, specifically, the form that TXT record can be packaged into TLV is next Record information.Under indicate the TLV value that comprises information service in TXT resource record One example, wherein, TYPE represents the type of information service, and LENGTH represents the type The length of content of information service, VALUE represent the information service of the type concrete in Hold.
It is to say, according to presently filed embodiment, the territory that user couple is corresponding with information service Name initiates DNS SRV querying flow, and query messages is sent to and this domain name pair by home server The authorization server answered, authorization server response DNS SRV inquiry, and at TXT record The middle value returning correspondence.After home server returns to user the response of this inquiry, user Just have been obtained for the information of response.Therefore, in this fashion, user need not again and WEB server sets up connection to obtain data message.
As in figure 2 it is shown, DNS authorization server 20 includes memory module 201, enquiry module 202 and sending module 203.Memory module 201 is for storing the content of information service.Inquiry mould Block 202 inquires about the letter of correspondence according to the domain name that home server 30 provides in memory module 201 The content of breath service, wherein, comprises the information of instruction information service in this domain name.Sending module The content of the information service inquired is provided to home server 30 by 203.
DNS authorization server can be ISP build in this locality for providing information The server of service.In this case, this server superior DNS authorization server registration Relevant information, oneself builds the dns server in this territory.Such as, server A to The mandate of notify.10086.cn territory registration userA.notify.10086.cn, it is provided that The authorization service of all subdomain names of userA.notify.10086.cn, the most then can respond user about The inquiry of information service also returns the value of correspondence.This mode is applicable to the real-time letter frequently changed Breath, the local data obtained are the most promptly and accurately.In this fashion, carry out according to business Demand, is preferably set to other less values by the ttl value of corresponding DNS resource record so that Local dns server will not be cached for a long time, keeps the freshness of information, also makes simultaneously Repetitive requests for the same time, it is possible to use cache information to respond.
DNS authorization server can also be to register with the information on services that ISP provides Server.In this case, ISP can give response corresponding information trustship DNS authorization server (is probably third party), and this mode needs the clothes ISP Information is carried out mutual between business device and the DNS authorization server corresponding with its domain name, the most this Mode is suitable for the information service that real-time is the highest, such as text message.Such as, in this case, The server of ISP can be to authorization server renewal _ temp.userA.notify.10086.cn Or the DNS TXT record value corresponding to _ hum.userA.notify.10086.cn so that authorize clothes Business device can push the value of correspondence to user.
For above two DNS authorization server, all need not build outside support DNS The data server of other agreements.User and server are also all without other outside support DNS Other access protocols outside message or exploitation DNS, greatly reduce the complexity of server Degree.
In one embodiment, memory module 201 is with the TXT of in domain name system No. TYPE=16 The content of the form storage information service of record.Enquiry module 202 sends according to home server Domain name in memory module 201, inquire about the content of information service of correspondence, wherein, this domain name In prefix comprise instruction information service information.The information clothes that sending module 203 will inquire The content of business provides to home server.Selecting as one, TXT record can be packaged into The form of TLV records the content of information service.The form of TLV such as can include Type word Section, Length field and Value field, wherein, the type field represents the type of information service, Length field represents that the length of the particular content of information service, Value field represent that information takes The particular content of business.
Combine exemplary embodiment above by reference to accompanying drawing the application is described.Should Understanding, the application is not limited to the embodiment of above-mentioned specific descriptions.Those skilled in the art's energy Enough on the premise of without departing from the application spirit, above-mentioned embodiment is carried out suitable amendment and change Shape, these amendments and deformation both fall within the protection domain of the application being defined by the claims.

Claims (13)

1. the method that information service is provided, including:
The content of information service is stored in the DNS authorization server of correspondence;
The domain name of described information service is provided to home server, domain name comprises instruction institute State the information of information service;And
Described home server obtains described according to domain name from described DNS authorization server The content of information service;
Wherein, the information of described information service is indicated to be included in the prefix of domain name.
The content of the most described information service is with domain name In system, the form of the TXT record of No. TYPE=16 is stored in described DNS authorization server In.
3. method as claimed in claim 2, wherein, described TXT record is packaged into TLV Form record the content of described information service.
4. the method that information service is provided, including:
The form that the content of information service is recorded with the TXT of in domain name system No. TYPE=16 It is stored in the DNS authorization server of correspondence;
There is provided the domain name of described information service to home server, the prefix in domain name comprises Indicate the information of described information service;And
Described home server obtains described according to domain name from described DNS authorization server The content of the described information service comprised in TXT record.
5. method as claimed in claim 4, wherein, described TXT record is packaged into TLV Form record the content of described information service.
6. method as claimed in claim 5, wherein, the form of described TLV includes Type Field, Length field and Value field, described the type field represents described information service Type, described Length field represents the length of the particular content of described information service, described Value field represents the described particular content of described information service.
7. a DNS authorization server for information service is provided, including:
Memory module, storage has the content of information service;
Enquiry module, it is right that the domain name sent according to home server is inquired about in described memory module The content of the information service answered, comprises the information of instruction information service in domain name;And
Sending module, provides the content of the described information service inquired to described local service Device;
Wherein, the information of described information service is indicated to be included in the prefix of domain name.
8. DNS authorization server as claimed in claim 7, wherein, described information service The form that records with the TXT of in domain name system No. TYPE=16 of content be stored in described storage In module.
9. DNS authorization server as claimed in claim 8, wherein, described TXT record It is packaged into the form of TLV to record the content of described information service.
10. a DNS authorization server for information service is provided, including:
Memory module, the form storage letter recorded with the TXT of in domain name system No. TYPE=16 The content of breath service;
Enquiry module, it is right that the domain name sent according to home server is inquired about in described memory module The content of the information service answered, the prefix in domain name comprises the letter indicating described information service Breath;And
Sending module, provides the content of the described information service inquired to described local service Device.
11. DNS authorization server as claimed in claim 10, wherein, described TXT remembers Record is packaged into the form of TLV to record the content of described information service.
12. DNS authorization server as claimed in claim 11, wherein, described TLV's Form includes the type field, Length field and Value field, and described the type field represents The type of described information service, described Length field represents the particular content of described information service Length, described Value field represents the described particular content of described information service.
13. 1 kinds of systems providing information service, including as any one of claim 7 to 12 Described DNS authorization server and described home server.
CN201110420266.8A 2011-12-15 2011-12-15 A kind of provide the method for information service, system and DNS authorization server Active CN103166928B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110420266.8A CN103166928B (en) 2011-12-15 2011-12-15 A kind of provide the method for information service, system and DNS authorization server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110420266.8A CN103166928B (en) 2011-12-15 2011-12-15 A kind of provide the method for information service, system and DNS authorization server

Publications (2)

Publication Number Publication Date
CN103166928A CN103166928A (en) 2013-06-19
CN103166928B true CN103166928B (en) 2016-09-07

Family

ID=48589674

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110420266.8A Active CN103166928B (en) 2011-12-15 2011-12-15 A kind of provide the method for information service, system and DNS authorization server

Country Status (1)

Country Link
CN (1) CN103166928B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306621B (en) * 2015-11-24 2018-05-29 北京天地互连信息技术有限公司 A kind of DNS bag extended methods based on the segmentation of application layer DNS message

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101292252A (en) * 2005-10-18 2008-10-22 松下电器产业株式会社 Information processing device, and method therefor
CN101640684A (en) * 2009-08-21 2010-02-03 中国电信股份有限公司 Content delivering method, network system, GSLB device and domain name server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7730187B2 (en) * 2006-10-05 2010-06-01 Limelight Networks, Inc. Remote domain name service

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101292252A (en) * 2005-10-18 2008-10-22 松下电器产业株式会社 Information processing device, and method therefor
CN101640684A (en) * 2009-08-21 2010-02-03 中国电信股份有限公司 Content delivering method, network system, GSLB device and domain name server

Also Published As

Publication number Publication date
CN103166928A (en) 2013-06-19

Similar Documents

Publication Publication Date Title
US9794216B2 (en) Request routing in a networked environment
EP2266064B1 (en) Request routing
US9608957B2 (en) Request routing using network computing components
US8577992B1 (en) Request routing management based on network components
US8938526B1 (en) Request routing management based on network components
KR101047875B1 (en) Object directory system with ip-based usn
Blanchet Finding the Authoritative Registration Data (RDAP) Service
CN103581361A (en) Domain name resolution proxy method, device and system
CN106534390B (en) The storage and management method and system of authoritative domain name system server data
CN103166928B (en) A kind of provide the method for information service, system and DNS authorization server
CN103380607A (en) DNS client address and RR TTL updating method, device and system
US11070513B2 (en) DNS-based method of transmitting data
CN109831542B (en) Flat fixed-length name processing method and system
Herrero et al. Resource Identification and Management
KR101088023B1 (en) System and Method for contents delivery using object redirection, and GSLB switch thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant