WO2016177284A1 - Domain name resolution method and device - Google Patents

Domain name resolution method and device Download PDF

Info

Publication number
WO2016177284A1
WO2016177284A1 PCT/CN2016/079819 CN2016079819W WO2016177284A1 WO 2016177284 A1 WO2016177284 A1 WO 2016177284A1 CN 2016079819 W CN2016079819 W CN 2016079819W WO 2016177284 A1 WO2016177284 A1 WO 2016177284A1
Authority
WO
WIPO (PCT)
Prior art keywords
domain name
parsing
processed
record
locking operation
Prior art date
Application number
PCT/CN2016/079819
Other languages
French (fr)
Chinese (zh)
Inventor
刘岩
Original Assignee
阿里巴巴集团控股有限公司
刘岩
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 阿里巴巴集团控股有限公司, 刘岩 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2016177284A1 publication Critical patent/WO2016177284A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a domain name resolution method and device.
  • IP Internet Protocol
  • the IP address is not easily remembered by people, it is proposed to replace the IP address with a domain name.
  • the domain name cannot be directly accessed by the domain name corresponding to the computer corresponding to the IP address. Therefore, when obtaining a domain name, the domain name resolution process is required to convert the obtained domain name into an IP address; and the obtained IP address is used to access the computer corresponding to the IP address.
  • Domain name resolution generally relies on the domain name service (English: Domain Name Service; abbreviation: DNS) system to complete.
  • DNS Domain Name Service
  • the DNS system When performing DNS domain name resolution, the DNS system generates at least one parsing record for each valid domain name.
  • Each parsing record includes a domain name, a lifetime, a record type, and an IP address corresponding to the domain name.
  • the general domain name parsing process includes: first sorting the acquired domain names according to the time and/or the set domain name processing order; secondly, parsing the obtained domain names according to the sort order of the domain names, and obtaining each domain name correspondingly Analytic record.
  • the embodiment of the present application provides a domain name resolution method and device, which are used to solve the problem of low domain name resolution efficiency in the prior art.
  • a method for domain name resolution comprising:
  • the object to be processed is a domain name, and it is determined that the object to be processed does not exist in the distributed cache database, the object to be processed is parsed according to the manner in which the domain name is processed in parallel;
  • the object to be processed is performed according to the generation time sequence of the parsing records corresponding to the domain name. produce.
  • a domain name resolution device including:
  • a receiving unit configured to receive a domain name resolution request sent by an external server, where the domain name resolution request includes a to-be-processed object;
  • a parsing unit configured to: when the object to be processed is a domain name, and determine that the object to be processed does not exist in the distributed cache database, parse the object to be processed according to a method of processing a domain name in parallel;
  • the object to be processed is performed according to the generation time sequence of the parsing records corresponding to the domain name. produce.
  • the embodiment of the present application receives a domain name resolution request sent by an external server, where the domain name resolution request includes an object to be processed; when the object to be processed is a domain name, and determines that the object to be processed does not exist in the distributed cache database, The object to be processed is parsed according to the manner in which the domain name is processed in parallel; when the object to be processed is a parsing record corresponding to the domain name, and the domain name corresponding to the object to be processed exists in the distributed cache database, The generation time of the corresponding analysis record is generated, and the object to be processed is produced.
  • FIG. 1 is a schematic flowchart of a domain name resolution method according to an embodiment of the present disclosure
  • 3 is a schematic flowchart of parsing an object to be processed in the parsing queue again;
  • FIG. 4 is a schematic structural diagram of a domain name resolution device according to an embodiment of the present disclosure.
  • the embodiment of the present application provides a domain name resolution method and device, and receives a domain name resolution request sent by an external server, where the domain name resolution request includes a to-be-processed object; If the object is a domain name, and the object to be processed is not in the distributed cache database, the object to be processed is parsed according to the way in which the domain name is processed in parallel; And determining that the domain name corresponding to the object to be processed exists in the distributed cache database, and the object to be processed is produced according to the generation time sequence of the parsing records corresponding to the domain name.
  • FIG. 1 is a schematic flowchart diagram of a domain name resolution method according to an embodiment of the present disclosure. The method can be as follows.
  • Step 101 Receive a domain name resolution request sent by an external server.
  • the domain name resolution request includes a to-be-processed object.
  • the object to be processed includes a resolution record corresponding to the domain name and/or the domain name.
  • the external server can be tc_server.
  • the parsing record corresponding to the domain name may be a parsing record that the tc_server parses the domain name.
  • Step 102 Determine whether the object to be processed is a domain name. If the object to be processed is a domain name, go to step 103. If the object to be processed is a resolution record corresponding to the domain name, go to step 106.
  • Step 103 It is further determined whether the to-be-processed object exists in the distributed cache database. If it is determined that the object to be processed exists in the distributed database, step 104 is performed; if it is determined that the object is not present in the distributed database, step 105 is performed.
  • Step 104 Add a parsing record related to the object to be processed in a cache queue corresponding to the object to be processed in the distributed database, and perform a locking operation on the parsing record.
  • the locking operation includes at least one of an adding operation, a deleting operation, and a modifying operation.
  • step 105 the object to be processed is parsed according to the manner in which the domain name is processed in parallel, and the process proceeds to step 109.
  • the locking operation includes at least one of an adding operation, a deleting operation, and a modifying operation.
  • a cache queue is created for the object to be processed, and the cache queue is configured to store a parsed record corresponding to the to-be-processed object that is subsequently received.
  • adding a parsing record related to the scheduled object to be processed may be adding a parsing record with the object to be processed as a key value.
  • the recorded record status of the added parsed record is marked as a locked state.
  • Step 106 further determining whether there is a locked parsing record in the parsing record related to the domain name corresponding to the object to be processed in the distributed cache database, and if there is a locked parsing record, executing step 107; otherwise, performing steps 108.
  • Step 107 When it is determined that there is a locked parsing record, the object to be processed is added after the locked parsing record in the distributed cache database, and waiting for the locked parsing record to be sent to the domain name service
  • the system DNS application interface API performs production, and when the production is successful, instructs the DNS API to directly schedule the to-be-processed object.
  • step 107 the object to be processed is added after the locked parsing record, and the production operation is sequentially performed on the parsed parsed record according to the generation time of the parsing record.
  • the object to be processed is added after the locked parsing record is directly called.
  • the object to be processed is added after the locked parsing record, and the method includes:
  • a new parsing record is added, and the new parsing record takes a domain name corresponding to the object to be processed and a cache (for example, the domain name _Cache) as a key value.
  • a cache for example, the domain name _Cache
  • the manner in which the DNS invokes the locked parsing record may include:
  • FIG. 2 a schematic diagram of a process of calling the locked parsing record for DNS is shown.
  • the production success here may mean that the locked analytical record is an analytical record that meets the record type requirement, and the subsequent successful use of the analytical record.
  • the record type generally includes the A record type, the CNAME record type, the MX record type, the NS record type, etc., and will not be described in detail here.
  • the DNS API determines, according to the domain name included in the locked parsing record, that the domain name included in the locked parsing record further includes other parsing records (ie, pending) when determining that the locked parsing record is successfully produced.
  • Object directly call the object to be processed.
  • the object to be processed is marked as a locked state.
  • S25 The DNS API performs a locking operation on the object to be processed.
  • the analysis record is sent to the analysis failure queue.
  • the result of the locking operation includes the successful execution of the locking operation and the failure of the locking operation; if the locking operation is successful, the jump proceeds to step 111; if the locking operation fails, the jump proceeds to step 110.
  • the method may further include: triggering the repeatedly performing the locking operation, when the number of times the locking operation is repeatedly executed reaches a set value, at this time, if the locking operation is successful, the jump is performed. Step 111 is performed; if the locking operation fails, the process proceeds to step 110.
  • the set value may be determined according to actual needs, or may be determined according to experimental data.
  • the set value is 3, and the size of the set value is not limited herein.
  • Step 108 Add a parsing record related to the domain name corresponding to the object to be processed in the distributed cache database, and perform a locking operation on the parsing record, and execute the jump 109.
  • the locking operation includes at least one of an adding operation, a deleting operation, and a modifying operation.
  • Step 109 Determine whether the locking operation is successful. When the locking operation fails, step 110 is performed. When the locking operation is successful, step 111 is performed.
  • Step 110 Send the parsing record before performing the locking operation to the parsing failure queue, so as to parse the parsing record in the parsing failure queue again within the set time.
  • the parsing failure queue is used to store the parsing record of the parsing failure.
  • step 110 the parsed record in the parsing failure queue is parsed again, including:
  • the parsing record obtained after the performing the locking operation is sent to the parsing record queue, so that the domain name service system DNS invokes the parsing record in the parsing record queue;
  • the parsing record before the lock operation is executed is sent to the parsing failure queue, so that the parsing record in the parsing failure queue is parsed again within the set time.
  • the method may further include: triggering the repeatedly performing the locking operation, when the number of times the locking operation is repeatedly executed reaches a set value, at this time, if the locking operation is successful, the jump is performed. Step 111 is performed; if the locking operation fails, the process proceeds to step 110.
  • the set value may be determined according to actual needs, or may be determined according to experimental data.
  • the set value is 3, and the size of the set value is not limited herein.
  • the manner in which the object to be processed in the parsing queue is parsed again within a set time may be as follows:
  • FIG. 3 it is a schematic flowchart of parsing an object to be processed in the parsing queue again.
  • S31 Schedule the to-be-processed object in sequence from the parsing failure queue according to the set domain name scheduling sequence.
  • parsing the to-be-processed object to be scheduled may include:
  • a new parsing record is obtained according to the domain name corresponding to the object to be processed.
  • the new parsing record is obtained by using the domain name corresponding to the to-be-processed object as a key value, and the key value corresponding to the to-be-processed object is obtained by replacing the key value of the domain name and the cached parsing record, and the object to be processed is The corresponding key value is the key value of the domain name and the cached parsing record.
  • Performing a locking operation on the parsed parsed record may include:
  • the locking operation includes at least one of an adding operation, a deleting operation, and a modifying operation.
  • the result of performing the locking operation on the obtained new parsing record includes the successful execution of the locking operation and the execution failure of the locking operation; if the locking operation is successful, the jump proceeds to step 111; if the locking operation fails, the jump Go to step 110.
  • the method may further include: triggering the repeated execution of the lock In the operation, when the number of times the lock operation is repeatedly executed reaches the set value, at this time, if the lock operation is successful, the jump proceeds to step 111; if the lock operation fails, the jump proceeds to step 110.
  • the set value may be determined according to actual needs, or may be determined according to experimental data.
  • the set value is 3, and the size of the set value is not limited herein.
  • Step 111 Send a lock operation result to the production queue, so that the DNS API calls the lock operation result in the production queue.
  • step 111 upon successfully parsing the object to be processed, the result of the locking operation is sent to the production queue, so that the DNS API calls the locking operation result in the production queue.
  • a domain name resolution request sent by an external server where the domain name resolution request includes an object to be processed; when the object to be processed is a domain name, and determining that the object to be processed does not exist in the distributed cache
  • the object to be processed is parsed according to the way in which the domain name is processed in parallel; when the object to be processed is a parsing record corresponding to the domain name, and the domain name corresponding to the object to be processed is determined to exist in the distributed cache database.
  • the object to be processed is produced according to the generation time sequence of the parsing records corresponding to the domain name.
  • FIG. 4 is a schematic structural diagram of a domain name resolution device according to an embodiment of the present disclosure.
  • the domain name resolution device includes: a receiving unit 41 and a parsing unit 42, wherein:
  • the receiving unit 41 is configured to receive a domain name resolution request sent by an external server, where the domain name resolution request includes an object to be processed;
  • the parsing unit 42 is configured to: when the object to be processed is a domain name, and determine that the object to be processed does not exist in the distributed cache database, parse the object to be processed according to a method of processing a domain name in parallel;
  • the generation time of the parsing record corresponding to the domain name is The production of the object to be processed is performed.
  • the parsing unit 42 parses the object to be processed according to the manner in which the domain name is processed in parallel, and is specifically used to:
  • the parsing unit 42 performs the production of the object to be processed according to the generation time sequence of the parsing records corresponding to the domain name, specifically for:
  • the object to be processed is added after the locked parsing record in the distributed cache database, and waiting for the locked parsing record to be sent to the domain name service system DNS application
  • the interface API performs production, and when the production is successful, instructing the DNS API to directly schedule the to-be-processed object;
  • a parsing record related to the domain name corresponding to the object to be processed is added to the distributed cache database, and a locking operation is performed on the parsing record, wherein the locking operation is at least Contains at least one of an increase operation, a delete operation, and a modification operation.
  • the domain name resolution device further includes: a sending unit 43, where:
  • the sending unit 43 is configured to send a lock operation result to a production queue when the locking operation is performed successfully, so that the DNS API invokes the locking operation result in the production queue;
  • the parsing record that fails the lock execution operation is sent to the parsing failure queue, so that the parsing record in the parsing failure queue is parsed again within a set time, wherein the parsing failure queue Used to store parsing records for parsing failures.
  • the parsing unit 42 parses the parsed record in the parsing failure queue again, specifically for:
  • the parsing record obtained after the performing the locking operation is sent to the parsing record queue, so that the domain name service system DNS invokes the parsing record in the parsing record queue;
  • the parsing record before the lock operation is executed is sent to the parsing failure queue, so that the parsing record in the parsing failure queue is parsed again within the set time.
  • the domain name resolution device may be implemented by using a hardware, or may be implemented by using a software, which is not limited herein.
  • the domain name resolution device receives the domain name resolution request sent by the external server, where the domain name resolution request includes the object to be processed; when the object to be processed is a domain name, and determines that the object to be processed does not exist in the distributed cache database, The method of processing the domain name in parallel, parsing the object to be processed; when the object to be processed is a parsing record corresponding to the domain name, and determining that the domain name corresponding to the object to be processed exists in the distributed cache database, corresponding to the domain name The generation time sequence of the analysis records is performed, and the object to be processed is produced.
  • embodiments of the present application can be provided as a method, apparatus (device), or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can be employed in one or more of its A computer program product embodied on a computer usable storage medium (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Disclosed in the present application are a domain name resolution method and device, including: receiving a domain name resolution request sent from an external server, wherein the domain name resolution request comprises an object to be processed; when the object to be processed is the domain name and it is confirmed that the object to be processed does not exist in a distributed cache database, resolving the object to be processed according to a mode to process domain name in parallel; when the object to be processed is a resolution record corresponding to the domain and it is confirmed that the domain name corresponding to the object to be processed exist in the distributed cache database, producing the object to be processed according to a producing time sequence of the resolution record corresponding to the domain name. So, when resolving the domain name, processing different domain names using the parallel processing mode in a particle size of domain name can effectively avoid the problem of domain name resolution processing flow stagnation caused by problems of domain name resolution failure or by the problem that the domain name cannot be resolved etc., and greatly improve the processing efficiency of the domain name processing flow.

Description

一种域名解析方法和设备Domain name resolution method and device 技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种域名解析方法和设备。The present application relates to the field of communications technologies, and in particular, to a domain name resolution method and device.
背景技术Background technique
随着互联网技术的发展,人们对于互联网中的计算机可以通过网络之间互连的协议(英文:Internet Protocol;缩写:IP)地址进行定位,即在得到一个IP地址时,通过该IP地址可以确定互联网中与该IP地址对应的计算机。With the development of Internet technology, people can locate a computer in the Internet through an Internet Protocol (English: Internet Protocol; abbreviation: IP) address, that is, when an IP address is obtained, it can be determined by the IP address. A computer on the Internet that corresponds to the IP address.
然而,由于IP地址不容易被人们记住,于是提出由域名来代替IP地址。但是,通过域名无法直接访问该域名替代的IP地址对应的计算机。因此,在获取到一个域名时,需要通过域名解析流程,将获取的域名转换为IP地址;利用得到的IP地址访问该IP地址对应的计算机。However, since the IP address is not easily remembered by people, it is proposed to replace the IP address with a domain name. However, the domain name cannot be directly accessed by the domain name corresponding to the computer corresponding to the IP address. Therefore, when obtaining a domain name, the domain name resolution process is required to convert the obtained domain name into an IP address; and the obtained IP address is used to access the computer corresponding to the IP address.
域名解析一般依靠域名服务(英文:Domain Name Service;缩写:DNS)系统来完成。DNS系统在进行域名解析时,为每一个有效地域名产生至少一条解析记录,每一条解析记录中包含域名、生存时间、记录类型以及该域名对应的IP地址。Domain name resolution generally relies on the domain name service (English: Domain Name Service; abbreviation: DNS) system to complete. When performing DNS domain name resolution, the DNS system generates at least one parsing record for each valid domain name. Each parsing record includes a domain name, a lifetime, a record type, and an IP address corresponding to the domain name.
然而,域名解析的时序性要求比较高。具体地,一般的域名解析处理流程包括:首先按照时间和/或设定的域名处理顺序,将获取的域名进行排序;其次按照域名的排序顺序依次对获取的域名进行解析,得到每一个域名对应的解析记录。However, the timing requirements for domain name resolution are relatively high. Specifically, the general domain name parsing process includes: first sorting the acquired domain names according to the time and/or the set domain name processing order; secondly, parsing the obtained domain names according to the sort order of the domain names, and obtaining each domain name correspondingly Analytic record.
但是,在目前的域名解析处理过程中,一旦出现一条域名无法解析或者解析出现问题,将导致域名解析处理流程发生停滞,或者出现该域名之后的大量域名无法进行解析,大大降低域名解析效率。However, in the current domain name resolution process, once a domain name cannot be resolved or parsed, the domain name resolution process will be stagnant, or a large number of domain names after the domain name cannot be parsed, which greatly reduces the efficiency of domain name resolution.
发明内容Summary of the invention
有鉴于此,本申请实施例提供了一种域名解析方法和设备,用于解决现有技术中存在的域名解析效率低的问题。 In view of this, the embodiment of the present application provides a domain name resolution method and device, which are used to solve the problem of low domain name resolution efficiency in the prior art.
一种域名解析方法,包括:A method for domain name resolution, comprising:
接收外部服务器发送的域名解析请求,其中,所述域名解析请求中包含待处理对象;Receiving a domain name resolution request sent by an external server, where the domain name resolution request includes a to-be-processed object;
当所述待处理对象为域名,并确定所述待处理对象不存在于分布式缓存数据库中时,按照并行处理域名的方式,对所述待处理对象进行解析;When the object to be processed is a domain name, and it is determined that the object to be processed does not exist in the distributed cache database, the object to be processed is parsed according to the manner in which the domain name is processed in parallel;
当所述待处理对象为域名对应的解析记录,并确定所述待处理对象对应的域名存在于分布式缓存数据库中时,按照域名对应的解析记录的生成时间顺序,对所述待处理对象进行生产。When the to-be-processed object is a parsing record corresponding to the domain name, and determining that the domain name corresponding to the object to be processed exists in the distributed cache database, the object to be processed is performed according to the generation time sequence of the parsing records corresponding to the domain name. produce.
一种域名解析设备,包括:A domain name resolution device, including:
接收单元,用于接收外部服务器发送的域名解析请求,其中,所述域名解析请求中包含待处理对象;a receiving unit, configured to receive a domain name resolution request sent by an external server, where the domain name resolution request includes a to-be-processed object;
解析单元,用于当所述待处理对象为域名,并确定所述待处理对象不存在于分布式缓存数据库中时,按照并行处理域名的方式,对所述待处理对象进行解析;a parsing unit, configured to: when the object to be processed is a domain name, and determine that the object to be processed does not exist in the distributed cache database, parse the object to be processed according to a method of processing a domain name in parallel;
当所述待处理对象为域名对应的解析记录,并确定所述待处理对象对应的域名存在于分布式缓存数据库中时,按照域名对应的解析记录的生成时间顺序,对所述待处理对象进行生产。When the to-be-processed object is a parsing record corresponding to the domain name, and determining that the domain name corresponding to the object to be processed exists in the distributed cache database, the object to be processed is performed according to the generation time sequence of the parsing records corresponding to the domain name. produce.
本申请有益效果如下:The beneficial effects of the application are as follows:
本申请实施例接收外部服务器发送的域名解析请求,所述域名解析请求中包含待处理对象;当所述待处理对象为域名,并确定所述待处理对象不存在于分布式缓存数据库中时,按照并行处理域名的方式,对所述待处理对象进行解析;当所述待处理对象为域名对应的解析记录,并确定所述待处理对象对应的域名存在于分布式缓存数据库中时,按照域名对应的解析记录的生成时间顺序,对所述待处理对象进行生产。这样,在对域名进行解析时,以域名为粒度,对于不同的域名采用并行处理方式,有效地避免由于出现域名解析失败或者无法解析等问题引发域名解析处理流程停滞的问题,有效提升域名解析处理流程 的处理效率。The embodiment of the present application receives a domain name resolution request sent by an external server, where the domain name resolution request includes an object to be processed; when the object to be processed is a domain name, and determines that the object to be processed does not exist in the distributed cache database, The object to be processed is parsed according to the manner in which the domain name is processed in parallel; when the object to be processed is a parsing record corresponding to the domain name, and the domain name corresponding to the object to be processed exists in the distributed cache database, The generation time of the corresponding analysis record is generated, and the object to be processed is produced. In this way, when the domain name is parsed, the domain name is used as the granularity, and the parallel processing is adopted for different domain names, thereby effectively avoiding the problem that the domain name parsing process is stagnated due to the failure of domain name resolution or the inability to resolve, and effectively improving the domain name resolution processing. Process Processing efficiency.
附图说明DRAWINGS
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following drawings will be briefly described in the description of the embodiments. It is obvious that the drawings in the following description are only some embodiments of the present application, Those skilled in the art can also obtain other drawings based on these drawings without paying for inventive labor.
图1为本申请实施例提供的一种域名解析方法的流程示意图;FIG. 1 is a schematic flowchart of a domain name resolution method according to an embodiment of the present disclosure;
图2为DNS调用所述被锁定的解析记录的流程示意图;2 is a schematic flowchart of a DNS calling the locked parsing record;
图3为对所述解析队列中的待处理对象再次进行解析的流程示意图;3 is a schematic flowchart of parsing an object to be processed in the parsing queue again;
图4为本申请实施例提供的一种域名解析设备的结构示意图。FIG. 4 is a schematic structural diagram of a domain name resolution device according to an embodiment of the present disclosure.
具体实施方式detailed description
为了实现本申请提高域名解析效率的目的,本申请实施例提供了一种域名解析方法和设备,接收外部服务器发送的域名解析请求,所述域名解析请求中包含待处理对象;当所述待处理对象为域名,并确定所述待处理对象不存在于分布式缓存数据库中时,按照并行处理域名的方式,对所述待处理对象进行解析;当所述待处理对象为域名对应的解析记录,并确定所述待处理对象对应的域名存在于分布式缓存数据库中时,按照域名对应的解析记录的生成时间顺序,对所述待处理对象进行生产。这样,在对域名进行解析时,以域名为粒度,对于不同的域名采用并行处理方式,有效地避免由于出现域名解析失败或者无法解析等问题引发域名解析处理流程停滞的问题,有效提升域名解析处理流程的处理效率。For the purpose of improving the efficiency of the domain name resolution in the present application, the embodiment of the present application provides a domain name resolution method and device, and receives a domain name resolution request sent by an external server, where the domain name resolution request includes a to-be-processed object; If the object is a domain name, and the object to be processed is not in the distributed cache database, the object to be processed is parsed according to the way in which the domain name is processed in parallel; And determining that the domain name corresponding to the object to be processed exists in the distributed cache database, and the object to be processed is produced according to the generation time sequence of the parsing records corresponding to the domain name. In this way, when the domain name is parsed, the domain name is used as the granularity, and the parallel processing is adopted for different domain names, thereby effectively avoiding the problem that the domain name parsing process is stagnated due to the failure of domain name resolution or the inability to resolve, and effectively improving the domain name resolution processing. Process efficiency.
下面结合说明书附图对本申请各个实施例作进一步地详细描述。显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有 其它实施例,都属于本发明保护的范围。The various embodiments of the present application are further described in detail below with reference to the accompanying drawings. It is apparent that the described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. Based on the embodiments of the present invention, all of those obtained by those of ordinary skill in the art without creative efforts Other embodiments are within the scope of the invention.
图1为本申请实施例提供的一种域名解析方法的流程示意图。所述方法可以如下所述。FIG. 1 is a schematic flowchart diagram of a domain name resolution method according to an embodiment of the present disclosure. The method can be as follows.
步骤101:接收外部服务器发送的域名解析请求。Step 101: Receive a domain name resolution request sent by an external server.
其中,所述域名解析请求中包含待处理对象。The domain name resolution request includes a to-be-processed object.
所述待处理对象中包含域名和/或域名对应的解析记录。The object to be processed includes a resolution record corresponding to the domain name and/or the domain name.
需要说明的是,外部服务器可以是tc_server。It should be noted that the external server can be tc_server.
在步骤101中,域名对应的解析记录可以是tc_server对域名进行解析的解析记录。In step 101, the parsing record corresponding to the domain name may be a parsing record that the tc_server parses the domain name.
步骤102:判断待处理对象是否为域名,若待处理对象为域名,则执行步骤103;若待处理对象为域名对应的解析记录,则执行步骤106。Step 102: Determine whether the object to be processed is a domain name. If the object to be processed is a domain name, go to step 103. If the object to be processed is a resolution record corresponding to the domain name, go to step 106.
步骤103:进一步确定所述待处理对象是否存在于分布式缓存数据库中,若确定存在于分布式数据库中,则执行步骤104;若确定不存在于分布式数据库中,则执行步骤105。Step 103: It is further determined whether the to-be-processed object exists in the distributed cache database. If it is determined that the object to be processed exists in the distributed database, step 104 is performed; if it is determined that the object is not present in the distributed database, step 105 is performed.
步骤104:在分布式数据库与所述待处理对象对应的缓存队列中,增加一条与所述待处理对象相关的解析记录,并对所述解析记录执行锁定操作。Step 104: Add a parsing record related to the object to be processed in a cache queue corresponding to the object to be processed in the distributed database, and perform a locking operation on the parsing record.
其中,所述锁定操作至少包含增加操作、删除操作、修改操作中的至少一种操作。The locking operation includes at least one of an adding operation, a deleting operation, and a modifying operation.
步骤105:按照并行处理域名的方式,对所述待处理对象进行解析,跳转执行步骤109。In step 105, the object to be processed is parsed according to the manner in which the domain name is processed in parallel, and the process proceeds to step 109.
在步骤105中,按照并行处理域名的方式,在所述分布式缓存数据库中增加一条与所述待处理对象相关的解析记录,并对所述解析记录执行锁定操作。In step 105, a parsing record related to the object to be processed is added to the distributed cache database in a manner of processing the domain name in parallel, and a locking operation is performed on the parsed record.
其中,所述锁定操作至少包含增加操作、删除操作、修改操作中的至少一种操作。The locking operation includes at least one of an adding operation, a deleting operation, and a modifying operation.
具体地,在所述分布式缓存数据库中,为所述待处理对象创建缓存队列,该缓存队列用于存放后续接收到的所述待处理对象对应的解析记录。 Specifically, in the distributed cache database, a cache queue is created for the object to be processed, and the cache queue is configured to store a parsed record corresponding to the to-be-processed object that is subsequently received.
具体地,增加一条与被调度的所述待处理对象相关的解析记录可以是增加一条以所述待处理对象为关键值的解析记录。Specifically, adding a parsing record related to the scheduled object to be processed may be adding a parsing record with the object to be processed as a key value.
可选地,将增加的该条解析记录的记录状态标注为锁定状态。Optionally, the recorded record status of the added parsed record is marked as a locked state.
步骤106:进一步确定在分布式缓存数据库中与所述待处理对象对应的域名相关的解析记录中是否存在被锁定的解析记录,若存在被锁定的解析记录,则执行步骤107;否则,执行步骤108。Step 106: further determining whether there is a locked parsing record in the parsing record related to the domain name corresponding to the object to be processed in the distributed cache database, and if there is a locked parsing record, executing step 107; otherwise, performing steps 108.
步骤107:当确定存在被锁定的解析记录时,在所述分布式缓存数据库中所述被锁定的解析记录之后增加所述待处理对象,并等待所述被锁定的解析记录被发送至域名服务系统DNS应用接口API进行生产,且在生产成功时,指示所述DNS API直接调度所述待处理对象。Step 107: When it is determined that there is a locked parsing record, the object to be processed is added after the locked parsing record in the distributed cache database, and waiting for the locked parsing record to be sent to the domain name service The system DNS application interface API performs production, and when the production is successful, instructs the DNS API to directly schedule the to-be-processed object.
在步骤107中,在所述被锁定的解析记录之后增加所述待处理对象,按照解析记录的生成时间,依次对锁定的解析记录执行生产操作。In step 107, the object to be processed is added after the locked parsing record, and the production operation is sequentially performed on the parsed parsed record according to the generation time of the parsing record.
在被锁定的解析记录处理完毕之后,直接调用所述被锁定的解析记录之后增加所述待处理对象。After the locked parsing record is processed, the object to be processed is added after the locked parsing record is directly called.
具体地,在所述被锁定的解析记录之后增加所述待处理对象,方式包括:Specifically, the object to be processed is added after the locked parsing record, and the method includes:
在所述被锁定的解析记录中,增加一条新的解析记录,该新的解析记录以所述待处理对象对应的域名和缓存(例如:形式为域名_Cache)为关键值。In the locked parsing record, a new parsing record is added, and the new parsing record takes a domain name corresponding to the object to be processed and a cache (for example, the domain name _Cache) as a key value.
具体地,DNS调用所述被锁定的解析记录的方式可以包括:Specifically, the manner in which the DNS invokes the locked parsing record may include:
如图2所示,为DNS调用所述被锁定的解析记录的流程示意图。As shown in FIG. 2, a schematic diagram of a process of calling the locked parsing record for DNS is shown.
S21:监听生产队列中包含被锁定的解析记录。S21: The interception production queue contains the locked parsing record.
S22:将监听到的所述被锁定的解析记录发送至DNS应用程序编程接口(英文:Application Programming Interface;缩写:API)。S22: Send the intercepted parsed record to the DNS application programming interface (English: Application Programming Interface; abbreviation: API).
S23:DNS API在接收到被锁定的解析记录时,判断该被锁定的解析记录是否生产成功,若生产成功,则执行S24;否则,执行S27。S23: When receiving the locked parsing record, the DNS API determines whether the locked parsing record is successfully produced. If the production is successful, executing S24; otherwise, executing S27.
在S23中,这里的生产成功可以是指该被锁定的解析记录是符合记录类型要求的解析记录,后续能够比较成功的使用该解析记录。 In S23, the production success here may mean that the locked analytical record is an analytical record that meets the record type requirement, and the subsequent successful use of the analytical record.
记录类型一般包含A记录类型、CNAME记录类型、MX记录类型、NS记录类型等,这里不做详细描述。The record type generally includes the A record type, the CNAME record type, the MX record type, the NS record type, etc., and will not be described in detail here.
S24:DNS API在确定该被锁定的解析记录生产成功时,根据该被锁定的解析记录中包含的域名,确定在该被锁定的解析记录中包含的域名中还包含其他解析记录(即待处理对象),直接调用该待处理对象。S24: The DNS API determines, according to the domain name included in the locked parsing record, that the domain name included in the locked parsing record further includes other parsing records (ie, pending) when determining that the locked parsing record is successfully produced. Object), directly call the object to be processed.
需要说明的是,将该待处理对象标注为锁定状态。It should be noted that the object to be processed is marked as a locked state.
S25:DNS API对该待处理对象执行锁定操作。S25: The DNS API performs a locking operation on the object to be processed.
S26:DNS API在确定锁定操作执行成功时,将锁定操作结果发送至生产队列中,跳转执行步骤111;在确定锁定操作执行失败时,将所述待处理对象再次发送至解析失败队列中,跳转执行步骤110。S26: The DNS API sends the result of the lock operation to the production queue when the lock operation is successful, and the process proceeds to step 111. When it is determined that the lock operation fails, the object to be processed is sent to the parsing failure queue again. The jump proceeds to step 110.
S27:DNS API在确定该被锁定的解析记录生产失败时,将所述被锁定的解析记录发送至生产队列中,跳转执行S21。S27: The DNS API sends the locked parsing record to the production queue when it is determined that the locked parsing record production fails, and the jump proceeds to S21.
若在S23中,第二次的判断结果为生产失败,将该解析记录发送至解析失败队列中。If the result of the second determination is a production failure in S23, the analysis record is sent to the analysis failure queue.
需要说明的是,锁定操作的结果包含锁定操作执行成功和锁定操作执行失败;若锁定操作执行成功,则跳转执行步骤111;若锁定操作执行失败,则跳转执行步骤110。It should be noted that the result of the locking operation includes the successful execution of the locking operation and the failure of the locking operation; if the locking operation is successful, the jump proceeds to step 111; if the locking operation fails, the jump proceeds to step 110.
可选地,若锁定操作执行失败,所述方法还可以包括:触发重复执行该锁定操作,在重复执行该锁定操作的次数达到设定数值时,此时,若锁定操作执行成功,则跳转执行步骤111;若锁定操作执行失败,则跳转执行步骤110。Optionally, if the locking operation fails, the method may further include: triggering the repeatedly performing the locking operation, when the number of times the locking operation is repeatedly executed reaches a set value, at this time, if the locking operation is successful, the jump is performed. Step 111 is performed; if the locking operation fails, the process proceeds to step 110.
需要说明的是,设定数值可以根据实际需要确定,也可以根据实验数据确定,例如:设定数值为3,这里对于设定数值的大小不做限定。It should be noted that the set value may be determined according to actual needs, or may be determined according to experimental data. For example, the set value is 3, and the size of the set value is not limited herein.
步骤108:在分布式缓存数据库中增加一条与所述待处理对象对应的域名相关的解析记录,并对所述解析记录执行锁定操作,跳转执行109。Step 108: Add a parsing record related to the domain name corresponding to the object to be processed in the distributed cache database, and perform a locking operation on the parsing record, and execute the jump 109.
其中,所述锁定操作至少包含增加操作、删除操作、修改操作中的至少一种操作。 The locking operation includes at least one of an adding operation, a deleting operation, and a modifying operation.
步骤109:判断锁定操作是否执行成功,在锁定操作执行失败时,执行步骤110,在锁定操作执行成功时,执行步骤111。Step 109: Determine whether the locking operation is successful. When the locking operation fails, step 110 is performed. When the locking operation is successful, step 111 is performed.
步骤110:将执行锁定操作之前的解析记录发送至解析失败队列中,以便于在设定时间内对所述解析失败队列中的解析记录再次进行解析。Step 110: Send the parsing record before performing the locking operation to the parsing failure queue, so as to parse the parsing record in the parsing failure queue again within the set time.
其中,所述解析失败队列用于存储解析失败的解析记录。The parsing failure queue is used to store the parsing record of the parsing failure.
在步骤110中,对解析失败队列中的解析记录再次进行解析,包括:In step 110, the parsed record in the parsing failure queue is parsed again, including:
根据设定的域名调度顺序和所述解析失败队列中每一个解析记录对应的域名,确定所述解析失败队列中的解析记录被调度的顺序;And determining, according to the set domain name scheduling sequence and the domain name corresponding to each parsing record in the parsing failure queue, an order in which the parsing records in the parsing failure queue are scheduled;
针对当前调度的解析记录,确定分布式缓存数据库中是否存在所述解析记录对应的域名;Determining, by the parsing record of the current schedule, whether the domain name corresponding to the parsing record exists in the distributed cache database;
若分布式缓存数据库中不存在所述解析记录对应的域名,则向所述外部服务器返回域名错误消息;If the domain name corresponding to the parsing record does not exist in the distributed cache database, returning a domain name error message to the external server;
若分布式缓存数据库中存在所述解析记录对应的域名,则对被调度的所述解析记录执行锁定操作;If the domain name corresponding to the parsing record exists in the distributed cache database, performing a locking operation on the parsed record that is scheduled;
当锁定操作执行成功时,将执行锁定操作后得到的解析记录发送至解析记录队列中,以便于域名服务系统DNS调用所述解析记录队列中的解析记录;When the locking operation is successful, the parsing record obtained after the performing the locking operation is sent to the parsing record queue, so that the domain name service system DNS invokes the parsing record in the parsing record queue;
当锁定操作执行失败时,将执行锁定操作之前的解析记录发送至解析失败队列中,以便于在设定时间内对所述解析失败队列中的解析记录再次进行解析。When the locking operation fails, the parsing record before the lock operation is executed is sent to the parsing failure queue, so that the parsing record in the parsing failure queue is parsed again within the set time.
可选地,若锁定操作执行失败,所述方法还可以包括:触发重复执行该锁定操作,在重复执行该锁定操作的次数达到设定数值时,此时,若锁定操作执行成功,则跳转执行步骤111;若锁定操作执行失败,则跳转执行步骤110。Optionally, if the locking operation fails, the method may further include: triggering the repeatedly performing the locking operation, when the number of times the locking operation is repeatedly executed reaches a set value, at this time, if the locking operation is successful, the jump is performed. Step 111 is performed; if the locking operation fails, the process proceeds to step 110.
需要说明的是,设定数值可以根据实际需要确定,也可以根据实验数据确定,例如:设定数值为3,这里对于设定数值的大小不做限定。It should be noted that the set value may be determined according to actual needs, or may be determined according to experimental data. For example, the set value is 3, and the size of the set value is not limited herein.
具体地,在设定时间内对所述解析队列中的待处理对象再次进行解析的方式可以如下所述: Specifically, the manner in which the object to be processed in the parsing queue is parsed again within a set time may be as follows:
如图3所示,为对所述解析队列中的待处理对象再次进行解析的流程示意图。As shown in FIG. 3, it is a schematic flowchart of parsing an object to be processed in the parsing queue again.
S31:根据设定的域名调度顺序,从解析失败队列中依次调度待处理对象。S31: Schedule the to-be-processed object in sequence from the parsing failure queue according to the set domain name scheduling sequence.
S32:针对当前调度的所述待处理对象,判断分布式缓存数据库中是否存在所述待处理对象对应的域名,若不存在,则执行S33;否则,执行S34。S32: Determine, for the currently scheduled object to be processed, whether the domain name corresponding to the object to be processed exists in the distributed cache database, if not, execute S33; otherwise, execute S34.
S33:若分布式缓存数据库中不存在所述待处理对象对应的域名,则向所述外部服务器返回域名错误消息。S33: If the domain name corresponding to the object to be processed does not exist in the distributed cache database, return a domain name error message to the external server.
S34:若分布式缓存数据库中存在所述待处理对象对应的域名,则对被调度的所述待处理对象进行解析,并对解析得到的解析记录执行锁定操作。S34: If the domain name corresponding to the object to be processed exists in the distributed cache database, parse the scheduled object to be processed, and perform a locking operation on the parsed record.
具体地,对被调度的所述待处理对象进行解析,可以包括:Specifically, parsing the to-be-processed object to be scheduled may include:
若分布式缓存数据库中存在所述待处理对象对应的域名,则根据所述待处理对象对应的域名,修改得到一条新的解析记录。其中,该新的解析记录以所述待处理对象对应的域名为关键值,可以通过替换所述待处理对象对应的关键值为域名和缓存的解析记录的关键值得到,同时所述待处理对象对应的关键值为域名和缓存的解析记录的关键值清零。If the domain name corresponding to the object to be processed exists in the distributed cache database, a new parsing record is obtained according to the domain name corresponding to the object to be processed. The new parsing record is obtained by using the domain name corresponding to the to-be-processed object as a key value, and the key value corresponding to the to-be-processed object is obtained by replacing the key value of the domain name and the cached parsing record, and the object to be processed is The corresponding key value is the key value of the domain name and the cached parsing record.
对解析得到的解析记录执行锁定操作,可以包括:Performing a locking operation on the parsed parsed record may include:
对得到的新的解析记录执行锁定操作。Perform a lock operation on the resulting new parsed record.
其中,所述锁定操作至少包含增加操作、删除操作、修改操作中的至少一种操作。The locking operation includes at least one of an adding operation, a deleting operation, and a modifying operation.
当锁定操作执行成功时,将锁定操作后的解析记录发送至解析记录队列中;When the locking operation is successful, the parsing record after the locking operation is sent to the parsing record queue;
当锁定操作执行失败时,将所述待处理对象再次发送至解析失败队列中。When the locking operation fails, the pending object is sent again to the parsing failure queue.
需要说明的是,对得到的新的解析记录执行锁定操作的结果包含锁定操作执行成功和锁定操作执行失败;若锁定操作执行成功,则跳转执行步骤111;若锁定操作执行失败,则跳转执行步骤110。It should be noted that the result of performing the locking operation on the obtained new parsing record includes the successful execution of the locking operation and the execution failure of the locking operation; if the locking operation is successful, the jump proceeds to step 111; if the locking operation fails, the jump Go to step 110.
可选地,若锁定操作执行失败,所述方法还可以包括:触发重复执行该锁 定操作,在重复执行该锁定操作的次数达到设定数值时,此时,若锁定操作执行成功,则跳转执行步骤111;若锁定操作执行失败,则跳转执行步骤110。Optionally, if the locking operation fails to be performed, the method may further include: triggering the repeated execution of the lock In the operation, when the number of times the lock operation is repeatedly executed reaches the set value, at this time, if the lock operation is successful, the jump proceeds to step 111; if the lock operation fails, the jump proceeds to step 110.
需要说明的是,设定数值可以根据实际需要确定,也可以根据实验数据确定,例如:设定数值为3,这里对于设定数值的大小不做限定。It should be noted that the set value may be determined according to actual needs, or may be determined according to experimental data. For example, the set value is 3, and the size of the set value is not limited herein.
步骤111:将锁定操作结果发送至生产队列中,以便于所述DNSAPI调用所述生产队列中的所述锁定操作结果。Step 111: Send a lock operation result to the production queue, so that the DNS API calls the lock operation result in the production queue.
在步骤111中,在成功解析所述待处理对象时,将锁定操作结果发送至生产队列中,以便于所述DNSAPI调用所述生产队列中的所述锁定操作结果。In step 111, upon successfully parsing the object to be processed, the result of the locking operation is sent to the production queue, so that the DNS API calls the locking operation result in the production queue.
通过本申请所述的方案,接收外部服务器发送的域名解析请求,所述域名解析请求中包含待处理对象;当所述待处理对象为域名,并确定所述待处理对象不存在于分布式缓存数据库中时,按照并行处理域名的方式,对所述待处理对象进行解析;当所述待处理对象为域名对应的解析记录,并确定所述待处理对象对应的域名存在于分布式缓存数据库中时,按照域名对应的解析记录的生成时间顺序,对所述待处理对象进行生产。这样,在对域名进行解析时,以域名为粒度,对于不同的域名采用并行处理方式,有效地避免由于出现域名解析失败或者无法解析等问题引发域名解析处理流程停滞的问题,有效提升域名解析处理流程的处理效率。Receiving, by the solution described in the present application, a domain name resolution request sent by an external server, where the domain name resolution request includes an object to be processed; when the object to be processed is a domain name, and determining that the object to be processed does not exist in the distributed cache In the database, the object to be processed is parsed according to the way in which the domain name is processed in parallel; when the object to be processed is a parsing record corresponding to the domain name, and the domain name corresponding to the object to be processed is determined to exist in the distributed cache database. The object to be processed is produced according to the generation time sequence of the parsing records corresponding to the domain name. In this way, when the domain name is parsed, the domain name is used as the granularity, and the parallel processing is adopted for different domain names, thereby effectively avoiding the problem that the domain name parsing process is stagnated due to the failure of domain name resolution or the inability to resolve, and effectively improving the domain name resolution processing. Process efficiency.
图4为本申请实施例提供的一种域名解析设备的结构示意图。所述域名解析设备包括:接收单元41和解析单元42,其中:FIG. 4 is a schematic structural diagram of a domain name resolution device according to an embodiment of the present disclosure. The domain name resolution device includes: a receiving unit 41 and a parsing unit 42, wherein:
接收单元41,用于接收外部服务器发送的域名解析请求,其中,所述域名解析请求中包含待处理对象;The receiving unit 41 is configured to receive a domain name resolution request sent by an external server, where the domain name resolution request includes an object to be processed;
解析单元42,用于当所述待处理对象为域名,并确定所述待处理对象不存在于分布式缓存数据库中时,按照并行处理域名的方式,对所述待处理对象进行解析;The parsing unit 42 is configured to: when the object to be processed is a domain name, and determine that the object to be processed does not exist in the distributed cache database, parse the object to be processed according to a method of processing a domain name in parallel;
当所述待处理对象为域名对应的解析记录,并确定所述待处理对象对应的域名存在于分布式缓存数据库中时,按照域名对应的解析记录的生成时间顺 序,对所述待处理对象进行生产。When the to-be-processed object is a parsing record corresponding to the domain name, and determining that the domain name corresponding to the object to be processed exists in the distributed cache database, the generation time of the parsing record corresponding to the domain name is The production of the object to be processed is performed.
具体地,所述解析单元42按照并行处理域名的方式,对所述待处理对象进行解析,具体用于:Specifically, the parsing unit 42 parses the object to be processed according to the manner in which the domain name is processed in parallel, and is specifically used to:
按照并行处理域名的方式,在所述分布式缓存数据库中增加一条与所述待处理对象相关的解析记录,并对所述解析记录执行锁定操作,其中,所述锁定操作至少包含增加操作、删除操作、修改操作中的至少一种操作。Adding a parsing record related to the object to be processed in the distributed cache database, and performing a locking operation on the parsing record, wherein the locking operation includes at least an adding operation and deleting Operate, modify at least one of the operations.
具体地,所述解析单元42按照域名对应的解析记录的生成时间顺序,对所述待处理对象进行生产,具体用于:Specifically, the parsing unit 42 performs the production of the object to be processed according to the generation time sequence of the parsing records corresponding to the domain name, specifically for:
确定在分布式缓存数据库中与所述待处理对象对应的域名相关的解析记录中是否存在被锁定的解析记录;Determining whether there is a locked parsing record in the parsing record related to the domain name corresponding to the object to be processed in the distributed cache database;
当确定存在被锁定的解析记录时,在所述分布式缓存数据库中所述被锁定的解析记录之后增加所述待处理对象,并等待所述被锁定的解析记录被发送至域名服务系统DNS应用接口API进行生产,且在生产成功时,指示所述DNSAPI直接调度所述待处理对象;When it is determined that there is a locked parsing record, the object to be processed is added after the locked parsing record in the distributed cache database, and waiting for the locked parsing record to be sent to the domain name service system DNS application The interface API performs production, and when the production is successful, instructing the DNS API to directly schedule the to-be-processed object;
当确定不存在被锁定的解析记录时,在分布式缓存数据库中增加一条与所述待处理对象对应的域名相关的解析记录,并对所述解析记录执行锁定操作,其中,所述锁定操作至少包含增加操作、删除操作、修改操作中的至少一种操作。When it is determined that there is no locked parsing record, a parsing record related to the domain name corresponding to the object to be processed is added to the distributed cache database, and a locking operation is performed on the parsing record, wherein the locking operation is at least Contains at least one of an increase operation, a delete operation, and a modification operation.
可选地,所述域名解析设备还包括:发送单元43,其中:Optionally, the domain name resolution device further includes: a sending unit 43, where:
所述发送单元43,用于在锁定操作执行成功时,将锁定操作结果发送至生产队列中,以便于所述DNSAPI调用所述生产队列中的所述锁定操作结果;The sending unit 43 is configured to send a lock operation result to a production queue when the locking operation is performed successfully, so that the DNS API invokes the locking operation result in the production queue;
在锁定操作执行失败时,将锁定执行操作失败的解析记录发送至解析失败队列中,以便于在设定时间内对所述解析失败队列中的解析记录再次进行解析,其中,所述解析失败队列用于存储解析失败的解析记录。When the execution of the lock operation fails, the parsing record that fails the lock execution operation is sent to the parsing failure queue, so that the parsing record in the parsing failure queue is parsed again within a set time, wherein the parsing failure queue Used to store parsing records for parsing failures.
具体地,所述解析单元42对解析失败队列中的解析记录再次进行解析,具体用于: Specifically, the parsing unit 42 parses the parsed record in the parsing failure queue again, specifically for:
根据设定的域名调度顺序和所述解析失败队列中每一个解析记录对应的域名,确定所述解析失败队列中的解析记录被调度的顺序;And determining, according to the set domain name scheduling sequence and the domain name corresponding to each parsing record in the parsing failure queue, an order in which the parsing records in the parsing failure queue are scheduled;
针对当前调度的解析记录,确定分布式缓存数据库中是否存在所述解析记录对应的域名;Determining, by the parsing record of the current schedule, whether the domain name corresponding to the parsing record exists in the distributed cache database;
若分布式缓存数据库中不存在所述解析记录对应的域名,则向所述外部服务器返回域名错误消息;If the domain name corresponding to the parsing record does not exist in the distributed cache database, returning a domain name error message to the external server;
若分布式缓存数据库中存在所述解析记录对应的域名,则对被调度的所述解析记录执行锁定操作;If the domain name corresponding to the parsing record exists in the distributed cache database, performing a locking operation on the parsed record that is scheduled;
当锁定操作执行成功时,将执行锁定操作后得到的解析记录发送至解析记录队列中,以便于域名服务系统DNS调用所述解析记录队列中的解析记录;When the locking operation is successful, the parsing record obtained after the performing the locking operation is sent to the parsing record queue, so that the domain name service system DNS invokes the parsing record in the parsing record queue;
当锁定操作执行失败时,将执行锁定操作之前的解析记录发送至解析失败队列中,以便于在设定时间内对所述解析失败队列中的解析记录再次进行解析。When the locking operation fails, the parsing record before the lock operation is executed is sent to the parsing failure queue, so that the parsing record in the parsing failure queue is parsed again within the set time.
需要说明的是,本申请实施例提供的域名解析设备可以通过硬件方式实现,也可以通过软件方式实现,这里不做限定。域名解析设备接收外部服务器发送的域名解析请求,所述域名解析请求中包含待处理对象;当所述待处理对象为域名,并确定所述待处理对象不存在于分布式缓存数据库中时,按照并行处理域名的方式,对所述待处理对象进行解析;当所述待处理对象为域名对应的解析记录,并确定所述待处理对象对应的域名存在于分布式缓存数据库中时,按照域名对应的解析记录的生成时间顺序,对所述待处理对象进行生产。这样,在对域名进行解析时,以域名为粒度,对于不同的域名采用并行处理方式,有效地避免由于出现域名解析失败或者无法解析等问题引发域名解析处理流程停滞的问题,有效提升域名解析处理流程的处理效率。It should be noted that the domain name resolution device provided by the embodiment of the present disclosure may be implemented by using a hardware, or may be implemented by using a software, which is not limited herein. The domain name resolution device receives the domain name resolution request sent by the external server, where the domain name resolution request includes the object to be processed; when the object to be processed is a domain name, and determines that the object to be processed does not exist in the distributed cache database, The method of processing the domain name in parallel, parsing the object to be processed; when the object to be processed is a parsing record corresponding to the domain name, and determining that the domain name corresponding to the object to be processed exists in the distributed cache database, corresponding to the domain name The generation time sequence of the analysis records is performed, and the object to be processed is produced. In this way, when the domain name is parsed, the domain name is used as the granularity, and the parallel processing is adopted for different domain names, thereby effectively avoiding the problem that the domain name parsing process is stagnated due to the failure of domain name resolution or the inability to resolve, and effectively improving the domain name resolution processing. Process efficiency.
本领域的技术人员应明白,本申请的实施例可提供为方法、装置(设备)、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其 中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, apparatus (device), or computer program product. Thus, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware. Moreover, the application can be employed in one or more of its A computer program product embodied on a computer usable storage medium (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.
本申请是参照根据本发明实施例的方法、装置(设备)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。While the preferred embodiment of the present application has been described, it will be apparent that those skilled in the art can make further changes and modifications to the embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。 It will be apparent to those skilled in the art that various modifications and changes can be made in the present application without departing from the scope of the application. Thus, it is intended that the present invention cover the modifications and variations of the present invention.

Claims (10)

  1. 一种域名解析方法,其特征在于,包括:A domain name resolution method, comprising:
    接收外部服务器发送的域名解析请求,其中,所述域名解析请求中包含待处理对象;Receiving a domain name resolution request sent by an external server, where the domain name resolution request includes a to-be-processed object;
    当所述待处理对象为域名,并确定所述待处理对象不存在于分布式缓存数据库中时,按照并行处理域名的方式,对所述待处理对象进行解析;When the object to be processed is a domain name, and it is determined that the object to be processed does not exist in the distributed cache database, the object to be processed is parsed according to the manner in which the domain name is processed in parallel;
    当所述待处理对象为域名对应的解析记录,并确定所述待处理对象对应的域名存在于分布式缓存数据库中时,按照域名对应的解析记录的生成时间顺序,对所述待处理对象进行生产。When the to-be-processed object is a parsing record corresponding to the domain name, and determining that the domain name corresponding to the object to be processed exists in the distributed cache database, the object to be processed is performed according to the generation time sequence of the parsing records corresponding to the domain name. produce.
  2. 如权利要求1所述的域名解析方法,其特征在于,按照并行处理域名的方式,对所述待处理对象进行解析,包括:The domain name resolution method according to claim 1, wherein the parsing of the object to be processed according to the way of processing the domain name in parallel comprises:
    按照并行处理域名的方式,在所述分布式缓存数据库中增加一条与所述待处理对象相关的解析记录,并对所述解析记录执行锁定操作,其中,所述锁定操作至少包含增加操作、删除操作、修改操作中的至少一种操作。Adding a parsing record related to the object to be processed in the distributed cache database, and performing a locking operation on the parsing record, wherein the locking operation includes at least an adding operation and deleting Operate, modify at least one of the operations.
  3. 如权利要求1所述的域名解析方法,其特征在于,按照域名对应的解析记录的生成时间顺序,对所述待处理对象进行生产,包括:The domain name resolution method according to claim 1, wherein the production of the object to be processed is performed according to a generation time sequence of the analysis records corresponding to the domain name, including:
    确定在分布式缓存数据库中与所述待处理对象对应的域名相关的解析记录中是否存在被锁定的解析记录;Determining whether there is a locked parsing record in the parsing record related to the domain name corresponding to the object to be processed in the distributed cache database;
    当确定存在被锁定的解析记录时,在所述分布式缓存数据库中所述被锁定的解析记录之后增加所述待处理对象,并等待所述被锁定的解析记录被发送至域名服务系统DNS应用接口API进行生产,且在生产成功时,指示所述DNS API直接调度所述待处理对象;When it is determined that there is a locked parsing record, the object to be processed is added after the locked parsing record in the distributed cache database, and waiting for the locked parsing record to be sent to the domain name service system DNS application The interface API performs production, and when the production is successful, instructing the DNS API to directly schedule the to-be-processed object;
    当确定不存在被锁定的解析记录时,在分布式缓存数据库中增加一条与所述待处理对象对应的域名相关的解析记录,并对所述解析记录执行锁定操作,其中,所述锁定操作至少包含增加操作、删除操作、修改操作中的至少一种操作。 When it is determined that there is no locked parsing record, a parsing record related to the domain name corresponding to the object to be processed is added to the distributed cache database, and a locking operation is performed on the parsing record, wherein the locking operation is at least Contains at least one of an increase operation, a delete operation, and a modification operation.
  4. 如权利要求2或3所述的域名解析方法,其特征在于,在对所述解析记录执行锁定操作后,所述方法还包括:The domain name resolution method according to claim 2 or 3, wherein after performing the locking operation on the parsing record, the method further comprises:
    在锁定操作执行成功时,将锁定操作结果发送至生产队列中,以便于所述DNSAPI调用所述生产队列中的所述锁定操作结果;When the locking operation is successful, the result of the locking operation is sent to the production queue, so that the DNS API calls the locking operation result in the production queue;
    在锁定操作执行失败时,将锁定执行操作失败的解析记录发送至解析失败队列中,以便于在设定时间内对所述解析失败队列中的解析记录再次进行解析,其中,所述解析失败队列用于存储解析失败的解析记录。When the execution of the lock operation fails, the parsing record that fails the lock execution operation is sent to the parsing failure queue, so that the parsing record in the parsing failure queue is parsed again within a set time, wherein the parsing failure queue Used to store parsing records for parsing failures.
  5. 如权利要求1所述的域名解析方法,其特征在于,对解析失败队列中的解析记录再次进行解析,包括:The domain name resolution method according to claim 1, wherein the parsing record in the parsing failure queue is parsed again, including:
    根据设定的域名调度顺序和所述解析失败队列中每一个解析记录对应的域名,确定所述解析失败队列中的解析记录被调度的顺序;And determining, according to the set domain name scheduling sequence and the domain name corresponding to each parsing record in the parsing failure queue, an order in which the parsing records in the parsing failure queue are scheduled;
    针对当前调度的解析记录,确定分布式缓存数据库中是否存在所述解析记录对应的域名;Determining, by the parsing record of the current schedule, whether the domain name corresponding to the parsing record exists in the distributed cache database;
    若分布式缓存数据库中不存在所述解析记录对应的域名,则向所述外部服务器返回域名错误消息;If the domain name corresponding to the parsing record does not exist in the distributed cache database, returning a domain name error message to the external server;
    若分布式缓存数据库中存在所述解析记录对应的域名,则对被调度的所述解析记录执行锁定操作;If the domain name corresponding to the parsing record exists in the distributed cache database, performing a locking operation on the parsed record that is scheduled;
    当锁定操作执行成功时,将执行锁定操作后得到的解析记录发送至解析记录队列中,以便于域名服务系统DNS调用所述解析记录队列中的解析记录;When the locking operation is successful, the parsing record obtained after the performing the locking operation is sent to the parsing record queue, so that the domain name service system DNS invokes the parsing record in the parsing record queue;
    当锁定操作执行失败时,将执行锁定操作之前的解析记录发送至解析失败队列中,以便于在设定时间内对所述解析失败队列中的解析记录再次进行解析。When the locking operation fails, the parsing record before the lock operation is executed is sent to the parsing failure queue, so that the parsing record in the parsing failure queue is parsed again within the set time.
  6. 一种域名解析设备,其特征在于,包括:A domain name resolution device, comprising:
    接收单元,用于接收外部服务器发送的域名解析请求,其中,所述域名解析请求中包含待处理对象;a receiving unit, configured to receive a domain name resolution request sent by an external server, where the domain name resolution request includes a to-be-processed object;
    解析单元,用于当所述待处理对象为域名,并确定所述待处理对象不存在 于分布式缓存数据库中时,按照并行处理域名的方式,对所述待处理对象进行解析;a parsing unit, configured to: when the object to be processed is a domain name, and determine that the object to be processed does not exist When the domain name is processed in parallel, the object to be processed is parsed;
    当所述待处理对象为域名对应的解析记录,并确定所述待处理对象对应的域名存在于分布式缓存数据库中时,按照域名对应的解析记录的生成时间顺序,对所述待处理对象进行生产。When the to-be-processed object is a parsing record corresponding to the domain name, and determining that the domain name corresponding to the object to be processed exists in the distributed cache database, the object to be processed is performed according to the generation time sequence of the parsing records corresponding to the domain name. produce.
  7. 如权利要求6所述的域名解析设备,其特征在于,所述解析单元按照并行处理域名的方式,对所述待处理对象进行解析,具体用于:The domain name resolution device according to claim 6, wherein the parsing unit parses the object to be processed in a manner of processing a domain name in parallel, and is specifically configured to:
    按照并行处理域名的方式,在所述分布式缓存数据库中增加一条与所述待处理对象相关的解析记录,并对所述解析记录执行锁定操作,其中,所述锁定操作至少包含增加操作、删除操作、修改操作中的至少一种操作。Adding a parsing record related to the object to be processed in the distributed cache database, and performing a locking operation on the parsing record, wherein the locking operation includes at least an adding operation and deleting Operate, modify at least one of the operations.
  8. 如权利要求6所述的域名解析设备,其特征在于,所述解析单元按照域名对应的解析记录的生成时间顺序,对所述待处理对象进行生产,具体用于:The domain name resolution device according to claim 6, wherein the parsing unit performs the production of the object to be processed according to the generation time sequence of the parsing records corresponding to the domain name, specifically for:
    确定在分布式缓存数据库中与所述待处理对象对应的域名相关的解析记录中是否存在被锁定的解析记录;Determining whether there is a locked parsing record in the parsing record related to the domain name corresponding to the object to be processed in the distributed cache database;
    当确定存在被锁定的解析记录时,在所述分布式缓存数据库中所述被锁定的解析记录之后增加所述待处理对象,并等待所述被锁定的解析记录被发送至域名服务系统DNS应用接口API进行生产,且在生产成功时,指示所述DNS API直接调度所述待处理对象;When it is determined that there is a locked parsing record, the object to be processed is added after the locked parsing record in the distributed cache database, and waiting for the locked parsing record to be sent to the domain name service system DNS application The interface API performs production, and when the production is successful, instructing the DNS API to directly schedule the to-be-processed object;
    当确定不存在被锁定的解析记录时,在分布式缓存数据库中增加一条与所述待处理对象对应的域名相关的解析记录,并对所述解析记录执行锁定操作,其中,所述锁定操作至少包含增加操作、删除操作、修改操作中的至少一种操作。When it is determined that there is no locked parsing record, a parsing record related to the domain name corresponding to the object to be processed is added to the distributed cache database, and a locking operation is performed on the parsing record, wherein the locking operation is at least Contains at least one of an increase operation, a delete operation, and a modification operation.
  9. 如权利要求7或8所述的域名解析设备,其特征在于,所述域名解析设备还包括:发送单元,其中:The domain name resolution device according to claim 7 or 8, wherein the domain name resolution device further comprises: a sending unit, wherein:
    所述发送单元,用于在锁定操作执行成功时,将锁定操作结果发送至生产队列中,以便于所述DNSAPI调用所述生产队列中的所述锁定操作结果; The sending unit is configured to send a lock operation result to a production queue when the locking operation is performed successfully, so that the DNS API invokes the locking operation result in the production queue;
    在锁定操作执行失败时,将锁定执行操作失败的解析记录发送至解析失败队列中,以便于在设定时间内对所述解析失败队列中的解析记录再次进行解析,其中,所述解析失败队列用于存储解析失败的解析记录。When the execution of the lock operation fails, the parsing record that fails the lock execution operation is sent to the parsing failure queue, so that the parsing record in the parsing failure queue is parsed again within a set time, wherein the parsing failure queue Used to store parsing records for parsing failures.
  10. 如权利要求6所述的域名解析设备,其特征在于,所述解析单元对解析失败队列中的解析记录再次进行解析,具体用于:The domain name resolution device according to claim 6, wherein the parsing unit parses the parsing record in the parsing failure queue again, specifically for:
    根据设定的域名调度顺序和所述解析失败队列中每一个解析记录对应的域名,确定所述解析失败队列中的解析记录被调度的顺序;And determining, according to the set domain name scheduling sequence and the domain name corresponding to each parsing record in the parsing failure queue, an order in which the parsing records in the parsing failure queue are scheduled;
    针对当前调度的解析记录,确定分布式缓存数据库中是否存在所述解析记录对应的域名;Determining, by the parsing record of the current schedule, whether the domain name corresponding to the parsing record exists in the distributed cache database;
    若分布式缓存数据库中不存在所述解析记录对应的域名,则向所述外部服务器返回域名错误消息;If the domain name corresponding to the parsing record does not exist in the distributed cache database, returning a domain name error message to the external server;
    若分布式缓存数据库中存在所述解析记录对应的域名,则对被调度的所述解析记录执行锁定操作;If the domain name corresponding to the parsing record exists in the distributed cache database, performing a locking operation on the parsed record that is scheduled;
    当锁定操作执行成功时,将执行锁定操作后得到的解析记录发送至解析记录队列中,以便于域名服务系统DNS调用所述解析记录队列中的解析记录;When the locking operation is successful, the parsing record obtained after the performing the locking operation is sent to the parsing record queue, so that the domain name service system DNS invokes the parsing record in the parsing record queue;
    当锁定操作执行失败时,将执行锁定操作之前的解析记录发送至解析失败队列中,以便于在设定时间内对所述解析失败队列中的解析记录再次进行解析。 When the locking operation fails, the parsing record before the lock operation is executed is sent to the parsing failure queue, so that the parsing record in the parsing failure queue is parsed again within the set time.
PCT/CN2016/079819 2015-05-07 2016-04-21 Domain name resolution method and device WO2016177284A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510229585.9A CN106210159B (en) 2015-05-07 2015-05-07 Domain name resolution method and device
CN201510229585.9 2015-05-07

Publications (1)

Publication Number Publication Date
WO2016177284A1 true WO2016177284A1 (en) 2016-11-10

Family

ID=57218081

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/079819 WO2016177284A1 (en) 2015-05-07 2016-04-21 Domain name resolution method and device

Country Status (2)

Country Link
CN (1) CN106210159B (en)
WO (1) WO2016177284A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114513487A (en) * 2020-10-28 2022-05-17 武汉斗鱼网络科技有限公司 Method and device for accelerating domain name resolution, electronic equipment and computer readable storage medium
CN115277636A (en) * 2022-09-14 2022-11-01 中国科学院大学 Method and system for analyzing extensive domain name
CN115378907A (en) * 2022-08-18 2022-11-22 北京视界云天科技有限公司 MSP domain name resolution configuration management method, system, device and medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115842803A (en) * 2022-10-27 2023-03-24 新浪技术(中国)有限公司 File processing method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103002069A (en) * 2012-12-25 2013-03-27 北京小米科技有限责任公司 Domain name resolution method, device and system
CN103581349A (en) * 2012-07-24 2014-02-12 腾讯科技(深圳)有限公司 Domain name resolution method and device
CN103957285A (en) * 2014-04-18 2014-07-30 上海聚流软件科技有限公司 Method and system for providing root domain name analysis services
US20140282887A1 (en) * 2012-03-14 2014-09-18 Daniel Kaminsky Method and system for user authentication using dnssec

Family Cites Families (4)

* Cited by examiner, † Cited by third party
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
US7827280B2 (en) * 2006-02-28 2010-11-02 Red Hat, Inc. System and method for domain name filtering through the domain name system
CN101170585B (en) * 2007-11-13 2011-08-24 中兴通讯股份有限公司 A domain name inquiry method
CN103327135A (en) * 2013-06-27 2013-09-25 贝壳网际(北京)安全技术有限公司 Domain name resolution method, device and client

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140282887A1 (en) * 2012-03-14 2014-09-18 Daniel Kaminsky Method and system for user authentication using dnssec
CN103581349A (en) * 2012-07-24 2014-02-12 腾讯科技(深圳)有限公司 Domain name resolution method and device
CN103002069A (en) * 2012-12-25 2013-03-27 北京小米科技有限责任公司 Domain name resolution method, device and system
CN103957285A (en) * 2014-04-18 2014-07-30 上海聚流软件科技有限公司 Method and system for providing root domain name analysis services

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114513487A (en) * 2020-10-28 2022-05-17 武汉斗鱼网络科技有限公司 Method and device for accelerating domain name resolution, electronic equipment and computer readable storage medium
CN115378907A (en) * 2022-08-18 2022-11-22 北京视界云天科技有限公司 MSP domain name resolution configuration management method, system, device and medium
CN115378907B (en) * 2022-08-18 2024-03-15 北京视界云天科技有限公司 MSP domain name resolution configuration management method, system, equipment and medium
CN115277636A (en) * 2022-09-14 2022-11-01 中国科学院大学 Method and system for analyzing extensive domain name

Also Published As

Publication number Publication date
CN106210159B (en) 2019-12-13
CN106210159A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
US11755371B1 (en) Data intake and query system with distributed data acquisition, indexing and search
JP6385336B2 (en) Telemetry system for cloud synchronization system
US10506043B2 (en) Rapid client-side component processing based on component relationships
WO2016177284A1 (en) Domain name resolution method and device
US8171346B2 (en) Client session based debugging
WO2017041649A1 (en) Application deployment method and device
US10069942B2 (en) Method and apparatus for changing configurations
CN108718347B (en) Domain name resolution method, system, device and storage medium
US11196728B1 (en) Caching login sessions to access a software testing environment
WO2019174523A1 (en) Method and apparatus for transmitting application programming interface (api) request
WO2016155492A1 (en) Remote data synchronization method and apparatus for database
CN102082800A (en) User request processing method and server
US11588874B2 (en) Web-based content recording and adaptive streaming
CN107370832B (en) Refreshing method for extensible non-restarting dynamic configuration parameters of application server
CN107071017B (en) Network request agent tool and agent method for android system
CN108874825B (en) Abnormal data verification method and device
CN108650093A (en) A kind of interface realizing method based on idempotence
CN111294377B (en) Dependency network request sending method, terminal device and storage medium
WO2016095644A1 (en) High availability solution method and device for database
KR101846778B1 (en) Method for ID Resolution Service and M2M System applying the same
US11381630B2 (en) Transmitting data over a network in representational state transfer (REST) applications
CN113127335B (en) System testing method and device
JP2018536247A (en) Cloud-based session management system
CN109389271B (en) Application performance management method and system
US20120173658A1 (en) Schema Validation Proxy

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16789278

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16789278

Country of ref document: EP

Kind code of ref document: A1