WO2017088690A1 - Method and device for retrieving domain name - Google Patents

Method and device for retrieving domain name Download PDF

Info

Publication number
WO2017088690A1
WO2017088690A1 PCT/CN2016/106018 CN2016106018W WO2017088690A1 WO 2017088690 A1 WO2017088690 A1 WO 2017088690A1 CN 2016106018 W CN2016106018 W CN 2016106018W WO 2017088690 A1 WO2017088690 A1 WO 2017088690A1
Authority
WO
WIPO (PCT)
Prior art keywords
domain name
retrieved
string
character
reversed
Prior art date
Application number
PCT/CN2016/106018
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 WO2017088690A1 publication Critical patent/WO2017088690A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a domain name retrieval method.
  • the application also relates to a domain name retrieval device.
  • Domain Name is the name of a computer or group of computers on the Internet consisting of a series of dot-separated names used to identify the computer's electronic location (sometimes referred to as geographic location) during data transmission.
  • a geographical domain name refers to a local area with administrative autonomy).
  • the purpose of a domain name is to facilitate the memorization and communication of the addresses of a group of servers (website, email, FTP, etc.). In the case where the IP address changes, the domain name can remain unchanged by changing the resolution correspondence. Therefore, the name of a company, government, non-governmental organization, or other entity registered with a domain name registration inquiries is the network address of the enterprise or organization on the Internet.
  • the Domain Name System is a core service of the Internet. It acts as a distributed database that can map domain names and IP addresses to each other, making it easier for people to access the Internet without having to remember to be able to be machined.
  • the number of IP strings read directly.
  • the labels in the domain name are composed of English letters and numbers, each of which does not exceed 63 characters, and does not distinguish between uppercase and lowercase letters. No other punctuation marks can be used in the label except the hyphen (-).
  • the lowest level domain name is written on the far left, and the highest level domain name is written on the far right.
  • the sub-domain is the next level of the top-level domain (first-level domain).
  • the domain name includes two ".” or a ".” and a "/".
  • the URL is composed of two parts.
  • the label "img.cms.topdomainsample” is the body of the domain name, and the last label "com” is The suffix of the domain name, which represents a com international domain name, is a top-level domain name.
  • the present application provides a domain name retrieval method for quickly searching for a matching domain name or sub-domain name in a massive domain name, and improving retrieval efficiency on the basis of saving resource consumption.
  • the method pre-sets a domain name library, where the domain name library includes a currently existing domain name, an inverted character string generated by the character domain after character addition processing after adding the specified prefix, and the domain name and the inverted character string.
  • the correspondence between the two also includes:
  • the domain name corresponding to the inverted string to be retrieved is obtained according to the correspondence.
  • the domain name to be retrieved to which the specified prefix is added is processed by character inversion into a reversed character string to be retrieved, specifically:
  • the method further comprises:
  • the sender of the domain name retrieval request returns a retrieval failure response.
  • the method before receiving the domain name retrieval request carrying the domain name to be retrieved, the method further includes:
  • the specified prefix is a connector between each character in the domain name.
  • the present application also proposes a domain name retrieval device, which pre-sets a domain name library, in the domain name library And the reversed character string generated by the character inversion process after the domain name is added to the domain name, and the correspondence between the domain name and the reversed character string, and the following:
  • Receiving a module receiving a domain name retrieval request carrying a domain name to be retrieved
  • the query module queries, in the domain name database, whether there is a corresponding relationship that matches the inverted string to be retrieved;
  • the inversion module is specifically configured to:
  • the method further comprises:
  • the returning module returns a retrieval failure response to the sender of the domain name retrieval request when there is no correspondence relationship with the inverted string to be retrieved in the domain name database.
  • the method further comprises:
  • Adding a module receiving a domain name adding request that carries the domain name, adding the specified prefix to the header of the domain name, and processing the domain name that adds the specified prefix into a reversed string by using a character inversion to generate the domain name. And corresponding to the reversed string, adding the domain name, the reversed string, and the corresponding relationship to the domain name library.
  • the specified prefix is a connector between each character in the domain name.
  • the domain name database is set in advance, and after receiving the domain name retrieval request carrying the domain name to be retrieved, the domain name to be retrieved to which the specified prefix is added is processed by the character inversion into the inverted string to be retrieved, and Querying in the domain name database whether there is a corresponding relationship matching the inverted string to be retrieved, and obtaining a domain name corresponding to the inverted string to be retrieved according to the corresponding relationship in the case that the corresponding relationship exists, because the domain name library includes the currently existing domain name
  • the reversed string generated by the character inversion after the specified prefix is added, and the correspondence between the domain name and the inverted string, so that the domain name required for the relevant domain name can be quickly and easily retrieved in the massive domain name. , greatly improving the efficiency of domain name retrieval.
  • FIG. 1 is a schematic flowchart diagram of a domain name retrieval method according to the present application
  • FIG. 2 is a schematic diagram of a data pre-processing procedure according to a specific embodiment of the present application.
  • FIG. 3 is a schematic diagram of a data retrieval process according to a specific embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a domain name retrieval device according to the present application.
  • the present application proposes a domain name retrieval method by adding a specified prefix (for example, ".") to a domain name, and then performing a character reverse on a character string to which the domain name of the specified prefix is added.
  • Transfer processing which is used as a search index to search in the preset domain name database.
  • the domain name library not only contains the currently existing domain name, but also contains the reversed string generated by the character inversion after the specified prefix is added, and the correspondence between the domain name and the inverted string. Quickly query the corresponding domain name through the corresponding relationship. Thereby, the fast retrieval of the domain name is realized, so that the domain name query efficiency can be significantly improved in the face of a large number of domain names.
  • the present application processes the domain name to be retrieved in combination with the specified prefix, and also performs special reverse processing on the existing domain name in combination with the specified prefix. Therefore, before implementing the various steps of the technical solution of the present application, the domain name library is pre-set, and the domain name library includes, in addition to the currently existing domain name, the domain name generated by the character inversion processing after adding the specified prefix. Reverses the string and the correspondence between the domain name and the inverted string.
  • a schematic flowchart of a domain name retrieval method proposed by the present application includes the following steps:
  • the domain name to be retrieved to which the specified prefix is added is processed by character inversion into an inverted character string to be retrieved.
  • the present application sets a special domain name library to facilitate the retrieval of a domain name, which includes a domain name, a reversed character string, and a correspondence between the two.
  • a domain name which includes a domain name, a reversed character string, and a correspondence between the two.
  • the preferred embodiment of the present application also proposes a corresponding processing flow to ensure that the domain name library can cover all current domain names. Specific steps are as follows:
  • Step a) receiving a domain name addition request carrying the domain name
  • Step c) generating a correspondence between the domain name and the inverted character string
  • Step d) adding the domain name, the inverted character string, and the corresponding relationship to the domain name library.
  • the process of generating the inverted character string is involved. Since the domain name is composed of individual characters, the inverted character string is generated by the reverse ordering of the characters after the domain name is added with the specified prefix. In a preferred embodiment of the present application, a corresponding scheme is proposed for the generation of the inverted character string to be retrieved:
  • Step b) generating, according to the respective characters in the to-be-reversed character string, the reversed characters to be retrieved by reverse ordering string.
  • the domain name library also contains the reversed string obtained by the current domain name combined with the specified prefix for character inversion processing, and also stores the original domain name and the corresponding inverted string. Correspondence between the two, so the present application can be retrieved based on the string with the prefix and the character inversion added to the column, thereby obtaining a normal and correct domain name.
  • the corresponding domain name may be obtained according to the queried correspondence, and the domain name is provided to the sender of the domain name retrieval request. Accordingly, if there is no correspondence matching the inverted character string to be searched, the search failure response is returned to the sender of the domain name search request.
  • Step a) Add a prefix ".” before the domain name to get a new domainTmp, which is ".topdomainsample.com”;
  • Step b) Perform the character inversion processing on "topdomainsample.com” in the previous step to obtain the domain name prefix (domainPreQuery) "moc.elpmasniamodpot.”
  • Step c) querying a correspondence relationship including "moc.elpmasniamodpot.” in the domain name database, and obtaining a domain name to be retrieved based on the domain name corresponding to the corresponding relationship.
  • the present application further provides a domain name retrieval device, which pre-sets a domain name library, where the domain name library includes a currently existing domain name, and the domain name is generated by character inversion processing after adding a specified prefix. Inverting the string, and the correspondence between the domain name and the reversed string, as shown in FIG. 4, the device further includes:
  • the receiving module 410 receives a domain name retrieval request carrying a domain name to be retrieved
  • the inversion module 420 is configured to process the domain name to be retrieved by adding the specified prefix into a reversed character string to be retrieved by using a character inversion;
  • the querying module 430 is configured to query, in the domain name database, whether there is a corresponding relationship that matches the inverted string to be retrieved;
  • the obtaining module 440 is configured to acquire a domain name corresponding to the inverted string to be retrieved according to the correspondence relationship when the corresponding relationship between the domain name and the reversed character string to be searched is obtained.
  • the inversion module is specifically configured to:
  • the returning module returns a retrieval failure response to the sender of the domain name retrieval request when there is no correspondence relationship with the inverted string to be retrieved in the domain name database.
  • Adding a module receiving a domain name adding request that carries the domain name, adding the specified prefix to the header of the domain name, and processing the domain name that adds the specified prefix into a reversed string by using a character inversion to generate the domain name. And corresponding to the reversed string, adding the domain name, the reversed string, and the corresponding relationship to the domain name library.
  • the specified prefix is a connector between each character in the domain name.
  • the domain name database is set in advance, and after receiving the domain name retrieval request carrying the domain name to be retrieved, the domain name to be retrieved to which the specified prefix is added is processed by the character inversion as the inverse to be retrieved.
  • the present application can be implemented by hardware, or by software plus a necessary general hardware platform.
  • the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including several The instructions are for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various implementation scenarios of the present application.
  • modules in the apparatus in the implementation scenario may be distributed in the apparatus for implementing the scenario according to the implementation scenario description, or may be correspondingly changed in one or more devices different from the implementation scenario.
  • the modules of the above implementation scenarios may be combined into one module, or may be further split into multiple sub-modules.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Disclosed is a method for retrieving a domain name. The method comprises: pre-setting a domain name library; after a domain name retrieval request carrying a domain name to be retrieved is received, processing, by means of character reversal, the domain name to be retrieved, to which a designated prefix is added, into an reversed character string to be retrieved, and querying, in the domain name library, whether there is a correlation indicating the matching with the reversed character string to be retrieved; and acquiring a domain name corresponding to the reversed character string to be retrieved according to the correlation in the case where there is the correlation. Since a domain name library includes a currently existing domain name, a reversed character string generated by means of performing character reversal processing on the domain name, to which a designated prefix is added, and a correlation between the domain name and the reversed character string, a relevant required domain name can be retrieved easily and quickly from very long domain names, so that the domain name retrieval efficiency is greatly improved.

Description

一种域名检索方法及设备Domain name retrieval method and device
本申请要求2015年11月25日递交的申请号为201510830515.9、发明名称为“一种域名检索方法及设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims the priority of the Chinese Patent Application Serial No. No. No. No. No. No. No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No
技术领域Technical field
本申请涉及通信技术领域,特别涉及一种域名检索方法。本申请还涉及一种域名检索设备。The present application relates to the field of communications technologies, and in particular, to a domain name retrieval method. The application also relates to a domain name retrieval device.
背景技术Background technique
域名(Domain Name)是由一串用点分隔的名字所组成的Internet(因特网)上某一台计算机或计算机组的名称,用于在数据传输时标识计算机的电子方位(有时也指地理位置,地理上的域名,指代有行政自主权的一个地方区域)。一个域名的目的是便于记忆和沟通的一组服务器的地址(网站,电子邮件,FTP等)。在IP地址发生变化的情况下,通过改变解析对应关系,域名仍可保持不变。因此,企业、政府、非政府组织等机构或者个人在域名注册查询商上注册的名称即为互联网上企业或机构间相互联络的网络地址。Domain Name is the name of a computer or group of computers on the Internet consisting of a series of dot-separated names used to identify the computer's electronic location (sometimes referred to as geographic location) during data transmission. A geographical domain name refers to a local area with administrative autonomy). The purpose of a domain name is to facilitate the memorization and communication of the addresses of a group of servers (website, email, FTP, etc.). In the case where the IP address changes, the domain name can remain unchanged by changing the resolution correspondence. Therefore, the name of a company, government, non-governmental organization, or other entity registered with a domain name registration inquiries is the network address of the enterprise or organization on the Internet.
域名系统(DNS,Domain Name System)是因特网的一项核心服务,它作为可以将域名和IP地址相互映射的一个分布式数据库,能够使人更方便的访问互联网,而不用去记住能够被机器直接读取的IP数串。域名中的标号都由英文字母和数字组成,每一个标号不超过63个字符,也不区分大小写字母。标号中除连字符(-)外不能使用其他的标点符号。级别最低的域名写在最左边,而级别最高的域名写在最右边。子域名(Sub-domain)是顶级域名(一级域名)的下一级,域名整体包括两个“.”或包括一个“.”和一个“/”。The Domain Name System (DNS) is a core service of the Internet. It acts as a distributed database that can map domain names and IP addresses to each other, making it easier for people to access the Internet without having to remember to be able to be machined. The number of IP strings read directly. The labels in the domain name are composed of English letters and numbers, each of which does not exceed 63 characters, and does not distinguish between uppercase and lowercase letters. No other punctuation marks can be used in the label except the hyphen (-). The lowest level domain name is written on the far left, and the highest level domain name is written on the far right. The sub-domain is the next level of the top-level domain (first-level domain). The domain name includes two "." or a "." and a "/".
以一个普通的子域名“img.cms.topdomainsample.com”为例说明,该网址是由二部分组成,标号“img.cms.topdomainsample”是这个域名的主体,而最后的标号“com”则是该域名的后缀,代表的这是一个com国际域名,是顶级域名。Take an ordinary subdomain "img.cms.topdomainsample.com" as an example. The URL is composed of two parts. The label "img.cms.topdomainsample" is the body of the domain name, and the last label "com" is The suffix of the domain name, which represents a com international domain name, is a top-level domain name.
发明人在实现本申请的过程中发现,由于当现有的网络设备中存储了大量用户实际使用的域名之后,针对域名的检索将会变得十分的缓慢以及效率低下。这是由于现有技术在检索域名时均需要在当前可用于检索的域名的开头均添加“.”作为前缀,而后在添加了“.”的所有域名中检索以待检索域名为结尾的域名,因为只有这样检索才能保证检索结果的正确度以及准确性。The inventor found in the process of implementing the present application that since the existing network devices store a large number of domain names actually used by users, the retrieval of domain names will become very slow and inefficient. This is because the prior art needs to add a "." as a prefix to the beginning of the domain name currently available for retrieval, and then retrieve the domain name ending with the domain to be retrieved in all domain names to which "." is added. Because only such a search can guarantee the accuracy and accuracy of the search results.
以上述“img.cms.topdomainsample.com”域名为例,当技术人员需要在网络设备中检索“topdomainsample.com”该域名或者与其相关的子域名时,需要在当前所有可用于检索的域 名之前均加一个“.”作为前缀,再针对以“.topdomainsample.com”为结尾的域名进行查询以及检索,这样导致了每一次的域名查询都需要涉及到对所有域名的处理,耗费了大量的处理以及计算资源。Take the above "img.cms.topdomainsample.com" domain name as an example. When the technician needs to search for the domain name of "topdomainsample.com" or its related subdomain name in the network device, all the currently available domains need to be retrieved. The name is preceded by a "." as a prefix, and then the domain name ending with ".topdomainsample.com" is queried and retrieved. This causes each domain name query to involve the processing of all domain names, which consumes a lot of Processing and computing resources.
由此可见,如何在海量域名中针对特定的域名快速地进行检索,成为本领域技术人员亟待解决的技术问题。It can be seen that how to quickly search for a specific domain name in a large number of domain names has become a technical problem to be solved by those skilled in the art.
发明内容Summary of the invention
本申请提供了一种域名检索方法,用于在海量域名中快速检索匹配的域名或子域名,在节省资源消耗的基础上提高检索效率。该方法预先设置域名库,所述域名库中包含当前存在的域名、所述域名在添加指定前缀后经过字符反转处理所生成的反转字符串、以及所述域名与所述反转字符串之间的对应关系,还包括:The present application provides a domain name retrieval method for quickly searching for a matching domain name or sub-domain name in a massive domain name, and improving retrieval efficiency on the basis of saving resource consumption. The method pre-sets a domain name library, where the domain name library includes a currently existing domain name, an inverted character string generated by the character domain after character addition processing after adding the specified prefix, and the domain name and the inverted character string. The correspondence between the two also includes:
接收携带待检索域名的域名检索请求;Receiving a domain name retrieval request carrying a domain name to be retrieved;
将添加所述指定前缀的待检索域名通过字符反转处理为待检索反转字符串;Transmitting the domain name to be retrieved with the specified prefix into a reversed character string to be retrieved by character inversion;
在所述域名库中查询是否存在与所述待检索反转字符串匹配的对应关系;Querying, in the domain name database, whether there is a correspondence corresponding to the inverted string to be retrieved;
若存在,根据所述对应关系获取与所述待检索反转字符串对应的域名。If yes, the domain name corresponding to the inverted string to be retrieved is obtained according to the correspondence.
优选地,将添加所述指定前缀的待检索域名通过字符反转处理为待检索反转字符串,具体为:Preferably, the domain name to be retrieved to which the specified prefix is added is processed by character inversion into a reversed character string to be retrieved, specifically:
在所述待检索域名的头部添加所述指定前缀,并将添加了所述指定前缀的待检索域名作为待反转字符串;Adding the specified prefix to the header of the domain name to be retrieved, and using the domain name to be retrieved with the specified prefix as the string to be reversed;
根据所述待反转字符串中的各个字符通过倒序排列生成所述待检索反转字符串。And generating, according to each character in the to-be-reversed character string, the reversed character string to be retrieved by reverse ordering.
优选地,还包括:Preferably, the method further comprises:
若所述域名库中不存在与所述待检索反转字符串匹配的对应关系,向所述域名检索请求的发送方返回检索失败响应。If there is no corresponding relationship in the domain name library that matches the inverted string to be searched, the sender of the domain name retrieval request returns a retrieval failure response.
优选地,在接收携带待检索域名的域名检索请求之前,还包括:Preferably, before receiving the domain name retrieval request carrying the domain name to be retrieved, the method further includes:
接收携带所述域名的域名添加请求;Receiving a domain name addition request carrying the domain name;
在所述域名的头部添加所述指定前缀,并将添加所述指定前缀的域名通过字符反转处理为反转字符串;Adding the specified prefix to the header of the domain name, and processing the domain name adding the specified prefix into a reversed character string by character inversion;
生成所述域名与所述反转字符串的对应关系;Generating a correspondence between the domain name and the inverted character string;
将所述域名、所述反转字符串以及所述对应关系添加至所述域名库。Adding the domain name, the inverted string, and the corresponding relationship to the domain name library.
优选地,所述指定前缀为所述域名中各个字符之间的连接符。Preferably, the specified prefix is a connector between each character in the domain name.
相应地,本申请还提出了一种域名检索设备,该设备预先设置域名库,所述域名库中 包含当前存在的域名、所述域名在添加指定前缀后经过字符反转处理所生成的反转字符串、以及所述域名与所述反转字符串之间的对应关系,还包括:Correspondingly, the present application also proposes a domain name retrieval device, which pre-sets a domain name library, in the domain name library And the reversed character string generated by the character inversion process after the domain name is added to the domain name, and the correspondence between the domain name and the reversed character string, and the following:
接收模块,接收携带待检索域名的域名检索请求;Receiving a module, receiving a domain name retrieval request carrying a domain name to be retrieved;
反转模块,将添加所述指定前缀的待检索域名通过字符反转处理为待检索反转字符串;Inverting the module, and adding the domain name to be retrieved with the specified prefix to the inverted string to be retrieved by character inversion;
查询模块,在所述域名库中查询是否存在与所述待检索反转字符串匹配的对应关系;The query module queries, in the domain name database, whether there is a corresponding relationship that matches the inverted string to be retrieved;
获取模块,在所述域名库中存在与所述待检索反转字符串匹配的对应关系时根据所述对应关系获取与所述待检索反转字符串对应的域名。And obtaining, by the obtaining module, a domain name corresponding to the inverted character string to be retrieved according to the correspondence relationship when a correspondence relationship between the domain name and the reversed character string to be searched is obtained.
优选地,所述反转模块具体用于:Preferably, the inversion module is specifically configured to:
在所述待检索域名的头部添加所述指定前缀,并将添加了所述指定前缀的待检索域名作为待反转字符串;Adding the specified prefix to the header of the domain name to be retrieved, and using the domain name to be retrieved with the specified prefix as the string to be reversed;
根据所述待反转字符串中的各个字符通过倒序排列生成所述待检索反转字符串。And generating, according to each character in the to-be-reversed character string, the reversed character string to be retrieved by reverse ordering.
优选地,还包括:Preferably, the method further comprises:
返回模块,在所述域名库中不存在与所述待检索反转字符串匹配的对应关系时向所述域名检索请求的发送方返回检索失败响应。The returning module returns a retrieval failure response to the sender of the domain name retrieval request when there is no correspondence relationship with the inverted string to be retrieved in the domain name database.
优选地,还包括:Preferably, the method further comprises:
添加模块,接收携带所述域名的域名添加请求,在所述域名的头部添加所述指定前缀,并将添加所述指定前缀的域名通过字符反转处理为反转字符串,生成所述域名与所述反转字符串的对应关系,将所述域名、所述反转字符串以及所述对应关系添加至所述域名库。Adding a module, receiving a domain name adding request that carries the domain name, adding the specified prefix to the header of the domain name, and processing the domain name that adds the specified prefix into a reversed string by using a character inversion to generate the domain name. And corresponding to the reversed string, adding the domain name, the reversed string, and the corresponding relationship to the domain name library.
优选地,所述指定前缀为所述域名中各个字符之间的连接符。Preferably, the specified prefix is a connector between each character in the domain name.
通过应用本发明的技术方案,预先设置域名库,在接收到携带待检索域名的域名检索请求后,将添加所述指定前缀的待检索域名通过字符反转处理为待检索反转字符串,并在域名库中查询是否存在与待检索反转字符串匹配的对应关系,以及在存在对应关系的情况下根据对应关系获取与待检索反转字符串对应的域名,由于域名库包含当前存在的域名、域名在添加指定前缀后经过字符反转处理所生成的反转字符串、以及域名与反转字符串之间的对应关系,因此可以快速地在海量域名中简单快捷的检索相关所需要的域名,极大地提高了域名检索效率。By applying the technical solution of the present invention, the domain name database is set in advance, and after receiving the domain name retrieval request carrying the domain name to be retrieved, the domain name to be retrieved to which the specified prefix is added is processed by the character inversion into the inverted string to be retrieved, and Querying in the domain name database whether there is a corresponding relationship matching the inverted string to be retrieved, and obtaining a domain name corresponding to the inverted string to be retrieved according to the corresponding relationship in the case that the corresponding relationship exists, because the domain name library includes the currently existing domain name The reversed string generated by the character inversion after the specified prefix is added, and the correspondence between the domain name and the inverted string, so that the domain name required for the relevant domain name can be quickly and easily retrieved in the massive domain name. , greatly improving the efficiency of domain name retrieval.
附图说明DRAWINGS
图1为本申请提出的一种域名检索方法的流程示意图;FIG. 1 is a schematic flowchart diagram of a domain name retrieval method according to the present application;
图2为本申请具体实施例提出的数据预处理流程的示意图; 2 is a schematic diagram of a data pre-processing procedure according to a specific embodiment of the present application;
图3为本申请具体实施例提出的数据检索流程的示意图;3 is a schematic diagram of a data retrieval process according to a specific embodiment of the present application;
图4为本申请提出的一种域名检索设备的结构示意图。FIG. 4 is a schematic structural diagram of a domain name retrieval device according to the present application.
具体实施方式detailed description
为解决背景技术中所涉及的问题,本申请提出了一种域名检索方法,通过对域名加一个指定的前缀(例如“.”),再将添加了指定前缀后的域名的字符串进行字符反转处理,以此作为检索的索引在预设的域名库中进行检索。由于域名库中不仅包含了当前存在的域名,而且还包含了域名在添加指定前缀后经过字符反转处理所生成的反转字符串、以及域名与反转字符串之间的对应关系,因此可通过对应关系快速查询到相应的域名。从而实现了域名的快速检索,从而在面对海量的域名时可显著地提高域名查询效率。In order to solve the problems involved in the background art, the present application proposes a domain name retrieval method by adding a specified prefix (for example, ".") to a domain name, and then performing a character reverse on a character string to which the domain name of the specified prefix is added. Transfer processing, which is used as a search index to search in the preset domain name database. The domain name library not only contains the currently existing domain name, but also contains the reversed string generated by the character inversion after the specified prefix is added, and the correspondence between the domain name and the inverted string. Quickly query the corresponding domain name through the corresponding relationship. Thereby, the fast retrieval of the domain name is realized, so that the domain name query efficiency can be significantly improved in the face of a large number of domain names.
为了实现域名的快速检索,本申请一方面会针对待检索域名结合指定前缀进行处理,另一方面也会针对现有存在的域名结合指定前缀进行特殊的反转处理后进行保存。因此在实施本申请技术方案的各个步骤之前,预先设置域名库,该域名库中除了包含了当前存在的域名之外,而且还包含了这些域名在添加指定前缀后经过字符反转处理所生成的反转字符串、以及域名与反转字符串之间的对应关系。In order to realize the fast retrieval of the domain name, the present application processes the domain name to be retrieved in combination with the specified prefix, and also performs special reverse processing on the existing domain name in combination with the specified prefix. Therefore, before implementing the various steps of the technical solution of the present application, the domain name library is pre-set, and the domain name library includes, in addition to the currently existing domain name, the domain name generated by the character inversion processing after adding the specified prefix. Reverses the string and the correspondence between the domain name and the inverted string.
如图1所示,为本申请提出的一种域名检索方法的流程示意图,包括下述步骤:As shown in FIG. 1 , a schematic flowchart of a domain name retrieval method proposed by the present application includes the following steps:
S101,接收携带待检索域名的域名检索请求。S101. Receive a domain name retrieval request that carries a domain name to be retrieved.
S102,将添加所述指定前缀的待检索域名通过字符反转处理为待检索反转字符串。S102. The domain name to be retrieved to which the specified prefix is added is processed by character inversion into an inverted character string to be retrieved.
如上所述,本申请设置了一个特殊的域名库便于域名的检索,其中包含了域名、反转字符串以及上述二者的对应关系。在面对新添加的域名时,本申请的优选实施例也提出了相应的处理流程,保证域名库能够覆盖当前所有的域名。具体步骤如下:As described above, the present application sets a special domain name library to facilitate the retrieval of a domain name, which includes a domain name, a reversed character string, and a correspondence between the two. In the face of the newly added domain name, the preferred embodiment of the present application also proposes a corresponding processing flow to ensure that the domain name library can cover all current domain names. Specific steps are as follows:
步骤a)接收携带所述域名的域名添加请求;Step a) receiving a domain name addition request carrying the domain name;
步骤b)在所述域名的头部添加所述指定前缀,并将添加所述指定前缀的域名通过字符反转处理为反转字符串;Step b) adding the specified prefix to the header of the domain name, and processing the domain name adding the specified prefix into a reversed character string by character inversion;
步骤c)生成所述域名与所述反转字符串的对应关系;Step c) generating a correspondence between the domain name and the inverted character string;
步骤d)将所述域名、所述反转字符串以及所述对应关系添加至所述域名库。Step d) adding the domain name, the inverted character string, and the corresponding relationship to the domain name library.
在上述过程以及S102中都涉及到反转字符串的生成过程,由于域名都是由各个字符组成的,因此反转字符串为域名在添加了指定前缀后的各个字符通过倒序排列所生成。在本申请的优选实施例中,针对待检索反转字符串的生成提出了相应的方案:In the above process and S102, the process of generating the inverted character string is involved. Since the domain name is composed of individual characters, the inverted character string is generated by the reverse ordering of the characters after the domain name is added with the specified prefix. In a preferred embodiment of the present application, a corresponding scheme is proposed for the generation of the inverted character string to be retrieved:
步骤a)在所述待检索域名的头部添加所述指定前缀,并将添加了所述指定前缀的待检索域名作为待反转字符串;Step a) adding the specified prefix to the header of the domain name to be retrieved, and using the domain name to be retrieved with the specified prefix as the string to be reversed;
步骤b)根据所述待反转字符串中的各个字符通过倒序排列生成所述待检索反转字符 串。Step b) generating, according to the respective characters in the to-be-reversed character string, the reversed characters to be retrieved by reverse ordering string.
需要说明的是,上述方案仅为本申请为了生成反转字符串所提出的优选实施方案,在此基础上技术人员可以进行改进或是优化,并且将其同样应用于“将添加指定前缀的域名通过字符反转处理为反转字符串”的过程,这些都属于本申请的保护范围。It should be noted that the above solution is only a preferred embodiment proposed by the present application for generating a reversed string. On this basis, the technician can perform improvement or optimization, and apply the same to the domain name that will add the specified prefix. The process of inverting a character string by character inversion processing is all within the scope of protection of the present application.
在图2所示的本申请具体实施例中的数据预处理流程示意图中,基于预设的域名库,在需要添加新的域名时,首先针对所有需要添加的域名加一个“.”作为前缀,举例来说,当前需要添加“img.cms.topdomainsample.com”以及“img.cms.2topdomainsample.com”这两个新的域名时,该具体实施例分别在其中添加指定的前缀“.”,随后将添加了指定前缀的.img.cms.topdomainsample.com”以及“.img.cms.2topdomainsample.com”进行字符反转处理,最终所得到的结果分别为“moc.elpmasniamodpot.smc.gmi.”以及“moc.elpmasniamodpot2.smc.gmi.”最终该具体实施例将“img.cms.topdomainsample.com”对应“moc.elpmasniamodpot.smc.gmi.”、“img.cms.2topdomainsample.com”对应“moc.elpmasniamodpot2.smc.gmi.”存储于域名库中。In the data pre-processing flow diagram in the specific embodiment of the present application shown in FIG. 2, based on the preset domain name database, when a new domain name needs to be added, first add a “.” as a prefix for all domain names to be added. For example, when it is necessary to add two new domain names "img.cms.topdomainsample.com" and "img.cms.2topdomainsample.com", the specific embodiment adds the specified prefix "." to it, respectively. The .img.cms.topdomainsample.com with the specified prefix and ".img.cms.2topdomainsample.com" are added to perform character inversion processing, and the final result is "moc.elpmasniamodpot.smc.gmi." "moc.elpmasniamodpot2.smc.gmi." Finally, the specific embodiment corresponds to "moc.elpmasniamodpot.smc.gmi." and "img.cms.2topdomainsample.com" corresponding to "moc.cms.topdomainsample.com". Elpmasniamodpot2.smc.gmi." is stored in the domain name repository.
需要说明的是,本申请中所涉及的反转处理最终目的是得到各个字符与原输入内容相反的字段,因此上述处理方式只是优选的处理方式,在此基础上本领域技术人员可以提出其他的处理方式,这些都属于本发明的保护范围。It should be noted that the final purpose of the inversion processing involved in the present application is to obtain a field in which each character is opposite to the original input content. Therefore, the above processing manner is only a preferred processing manner, and those skilled in the art may propose other The manner of treatment is all within the scope of protection of the present invention.
S103,在所述域名库中查询是否存在与所述待检索反转字符串匹配的对应关系。S103. Query, in the domain name database, whether there is a correspondence that matches the inverted string to be searched.
由于域名库除了包含当前所有的域名之外,还包含了当前的域名结合指定前缀进行字符反转处理后所得到的反转字符串,而且还存储了原始的域名以及与其对应的反转字符串之间的对应关系,因此本申请可基于该列添加了前缀并字符反转的字符串进行检索,进而得到正常且正确的域名。In addition to the current domain name, the domain name library also contains the reversed string obtained by the current domain name combined with the specified prefix for character inversion processing, and also stores the original domain name and the corresponding inverted string. Correspondence between the two, so the present application can be retrieved based on the string with the prefix and the character inversion added to the column, thereby obtaining a normal and correct domain name.
S104,若存在,根据所述对应关系获取与所述待检索反转字符串对应的域名。S104. If yes, obtain a domain name corresponding to the inverted string to be retrieved according to the correspondence.
在查询到与反转字符串对应的域名后,即可根据所查询到的对应关系获取到对应的域名,并将该域名提供给域名检索请求的发送方。相应地,若是不存在与待检索反转字符串匹配的对应关系,则向域名检索请求的发送方返回检索失败响应。After the domain name corresponding to the reversed string is queried, the corresponding domain name may be obtained according to the queried correspondence, and the domain name is provided to the sender of the domain name retrieval request. Accordingly, if there is no correspondence matching the inverted character string to be searched, the search failure response is returned to the sender of the domain name search request.
以上述具体实施例中出现的域名为例,在图3所示的数据检索流程示意图中,当需要 查询“topdomainsample.com”该域名的子域名时(查询表达式domain=“topdomainsample.com”),将通过以下流程完成域名的检索:Taking the domain name appearing in the above specific embodiment as an example, in the data retrieval process diagram shown in FIG. 3, when needed When querying the subdomain of the domain name "topdomainsample.com" (query expression domain=“topdomainsample.com”), the domain name retrieval will be completed through the following process:
步骤a)在该域名之前添加加一个前缀”.”得到新的domainTmp,即“.topdomainsample.com”;Step a) Add a prefix "." before the domain name to get a new domainTmp, which is ".topdomainsample.com";
步骤b)将上一步骤中的“topdomainsample.com”进行字符反转处理,得到查询域名前缀(domainPreQuery)“moc.elpmasniamodpot.”Step b) Perform the character inversion processing on "topdomainsample.com" in the previous step to obtain the domain name prefix (domainPreQuery) "moc.elpmasniamodpot."
步骤c)在域名库中查询包含”moc.elpmasniamodpot.”的对应关系,并基于与该对应关系对应的域名得到需要检索的域名。Step c) querying a correspondence relationship including "moc.elpmasniamodpot." in the domain name database, and obtaining a domain name to be retrieved based on the domain name corresponding to the corresponding relationship.
为达到以上目的,本申请还提出了一种域名检索设备,该设备预先设置域名库,所述域名库中包含当前存在的域名、所述域名在添加指定前缀后经过字符反转处理所生成的反转字符串、以及所述域名与所述反转字符串之间的对应关系,如图4所示,该设备还包括:In order to achieve the above objective, the present application further provides a domain name retrieval device, which pre-sets a domain name library, where the domain name library includes a currently existing domain name, and the domain name is generated by character inversion processing after adding a specified prefix. Inverting the string, and the correspondence between the domain name and the reversed string, as shown in FIG. 4, the device further includes:
接收模块410,接收携带待检索域名的域名检索请求;The receiving module 410 receives a domain name retrieval request carrying a domain name to be retrieved;
反转模块420,将添加所述指定前缀的待检索域名通过字符反转处理为待检索反转字符串;The inversion module 420 is configured to process the domain name to be retrieved by adding the specified prefix into a reversed character string to be retrieved by using a character inversion;
查询模块430,在所述域名库中查询是否存在与所述待检索反转字符串匹配的对应关系;The querying module 430 is configured to query, in the domain name database, whether there is a corresponding relationship that matches the inverted string to be retrieved;
获取模块440,在所述域名库中存在与所述待检索反转字符串匹配的对应关系时根据所述对应关系获取与所述待检索反转字符串对应的域名。The obtaining module 440 is configured to acquire a domain name corresponding to the inverted string to be retrieved according to the correspondence relationship when the corresponding relationship between the domain name and the reversed character string to be searched is obtained.
在具体的应用场景中,所述反转模块具体用于:In a specific application scenario, the inversion module is specifically configured to:
在所述待检索域名的头部添加所述指定前缀,并将添加了所述指定前缀的待检索域名作为待反转字符串;Adding the specified prefix to the header of the domain name to be retrieved, and using the domain name to be retrieved with the specified prefix as the string to be reversed;
根据所述待反转字符串中的各个字符通过倒序排列生成所述待检索反转字符串。And generating, according to each character in the to-be-reversed character string, the reversed character string to be retrieved by reverse ordering.
在具体的应用场景中,还包括:In specific application scenarios, it also includes:
返回模块,在所述域名库中不存在与所述待检索反转字符串匹配的对应关系时向所述域名检索请求的发送方返回检索失败响应。The returning module returns a retrieval failure response to the sender of the domain name retrieval request when there is no correspondence relationship with the inverted string to be retrieved in the domain name database.
在具体的应用场景中,还包括:In specific application scenarios, it also includes:
添加模块,接收携带所述域名的域名添加请求,在所述域名的头部添加所述指定前缀,并将添加所述指定前缀的域名通过字符反转处理为反转字符串,生成所述域名与所述反转字符串的对应关系,将所述域名、所述反转字符串以及所述对应关系添加至所述域名库。Adding a module, receiving a domain name adding request that carries the domain name, adding the specified prefix to the header of the domain name, and processing the domain name that adds the specified prefix into a reversed string by using a character inversion to generate the domain name. And corresponding to the reversed string, adding the domain name, the reversed string, and the corresponding relationship to the domain name library.
在具体的应用场景中,所述指定前缀为所述域名中各个字符之间的连接符。 In a specific application scenario, the specified prefix is a connector between each character in the domain name.
由此可见,通过应用本申请的技术方案,预先设置域名库,在接收到接收携带待检索域名的域名检索请求后,将添加所述指定前缀的待检索域名通过字符反转处理为待检索反转字符串,并在域名库中查询是否存在与待检索反转字符串匹配的对应关系,以及在存在对应关系的情况下根据对应关系获取与待检索反转字符串对应的域名,由于域名库包含当前存在的域名、域名在添加指定前缀后经过字符反转处理所生成的反转字符串、以及域名与反转字符串之间的对应关系,因此可以快速地在海量域名中简单快捷的检索相关所需要的域名,极大地提高了域名检索效率。It can be seen that, by applying the technical solution of the present application, the domain name database is set in advance, and after receiving the domain name retrieval request carrying the domain name to be retrieved, the domain name to be retrieved to which the specified prefix is added is processed by the character inversion as the inverse to be retrieved. Transfer the character string, and query in the domain name database whether there is a correspondence matching the inverted string to be retrieved, and if there is a corresponding relationship, obtain the domain name corresponding to the inverted string to be retrieved according to the corresponding relationship, because the domain name database Contains the existing domain name, the reversed string generated by the character inversion process after adding the specified prefix, and the correspondence between the domain name and the reversed string, so it can be quickly and easily retrieved in the massive domain name. The related domain names are required to greatly improve the efficiency of domain name retrieval.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本申请可以通过硬件实现,也可以借助软件加必要的通用硬件平台的方式来实现。基于这样的理解,本申请的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施场景所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by hardware, or by software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including several The instructions are for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various implementation scenarios of the present application.
本领域技术人员可以理解附图只是一个优选实施场景的示意图,附图中的模块或流程并不一定是实施本申请所必须的。A person skilled in the art can understand that the drawings are only a schematic diagram of a preferred implementation scenario, and the modules or processes in the drawings are not necessarily required to implement the application.
本领域技术人员可以理解实施场景中的装置中的模块可以按照实施场景描述进行分布于实施场景的装置中,也可以进行相应变化位于不同于本实施场景的一个或多个装置中。上述实施场景的模块可以合并为一个模块,也可以进一步拆分成多个子模块。A person skilled in the art may understand that the modules in the apparatus in the implementation scenario may be distributed in the apparatus for implementing the scenario according to the implementation scenario description, or may be correspondingly changed in one or more devices different from the implementation scenario. The modules of the above implementation scenarios may be combined into one module, or may be further split into multiple sub-modules.
上述本申请序号仅仅为了描述,不代表实施场景的优劣。The above serial numbers are only for the description, and do not represent the advantages and disadvantages of the implementation scenario.
以上公开的仅为本申请的几个具体实施场景,但是,本申请并非局限于此,任何本领域的技术人员能思之的变化都应落入本申请的保护范围。 The above disclosure is only a few specific implementation scenarios of the present application, but the present application is not limited thereto, and any changes that can be made by those skilled in the art should fall within the protection scope of the present application.

Claims (10)

  1. 一种域名检索方法,其特征在于,预先设置域名库,所述域名库中包含当前存在的域名、所述域名在添加指定前缀后经过字符反转处理所生成的反转字符串、以及所述域名与所述反转字符串之间的对应关系,该方法包括:A domain name retrieval method, characterized in that a domain name library is set in advance, and the domain name library includes a currently existing domain name, an inverted character string generated by the character domain after character addition processing after adding a specified prefix, and the The correspondence between the domain name and the inverted string, the method includes:
    接收携带待检索域名的域名检索请求;Receiving a domain name retrieval request carrying a domain name to be retrieved;
    将添加所述指定前缀的待检索域名通过字符反转处理为待检索反转字符串;Transmitting the domain name to be retrieved with the specified prefix into a reversed character string to be retrieved by character inversion;
    在所述域名库中查询是否存在与所述待检索反转字符串匹配的对应关系;Querying, in the domain name database, whether there is a correspondence corresponding to the inverted string to be retrieved;
    若存在,根据所述对应关系获取与所述待检索反转字符串对应的域名。If yes, the domain name corresponding to the inverted string to be retrieved is obtained according to the correspondence.
  2. 如权利要求1所述的方法,其特征在于,将添加所述指定前缀的待检索域名通过字符反转处理为待检索反转字符串,具体为:The method according to claim 1, wherein the domain name to be retrieved to which the specified prefix is added is processed by character inversion into a reversed character string to be retrieved, specifically:
    在所述待检索域名的头部添加所述指定前缀,并将添加了所述指定前缀的待检索域名作为待反转字符串;Adding the specified prefix to the header of the domain name to be retrieved, and using the domain name to be retrieved with the specified prefix as the string to be reversed;
    根据所述待反转字符串中的各个字符通过倒序排列生成所述待检索反转字符串。And generating, according to each character in the to-be-reversed character string, the reversed character string to be retrieved by reverse ordering.
  3. 如权利要求1所述的方法,其特征在于,还包括:The method of claim 1 further comprising:
    若所述域名库中不存在与所述待检索反转字符串匹配的对应关系,向所述域名检索请求的发送方返回检索失败响应。If there is no corresponding relationship in the domain name library that matches the inverted string to be searched, the sender of the domain name retrieval request returns a retrieval failure response.
  4. 如权利要求1所述的方法,其特征在于,在接收携带待检索域名的域名检索请求之前,还包括:The method according to claim 1, wherein before receiving the domain name retrieval request carrying the domain name to be retrieved, the method further comprises:
    接收携带所述域名的域名添加请求;Receiving a domain name addition request carrying the domain name;
    在所述域名的头部添加所述指定前缀,并将添加所述指定前缀的域名通过字符反转处理为反转字符串;Adding the specified prefix to the header of the domain name, and processing the domain name adding the specified prefix into a reversed character string by character inversion;
    生成所述待添加域名与所述待添加反转字符串的对应关系;Generating a correspondence between the domain name to be added and the inverted character string to be added;
    将所述域名、所述反转字符串以及所述对应关系添加至所述域名库。Adding the domain name, the inverted string, and the corresponding relationship to the domain name library.
  5. 如权利要求1-4任一项所述的方法,其特征在于,A method according to any one of claims 1 to 4, wherein
    所述指定前缀为所述域名中各个字符之间的连接符。The specified prefix is a connector between each character in the domain name.
  6. 一种域名检索设备,其特征在于,所述设备预先设置域名库,所述域名库中包含当前存在的域名、所述域名在添加指定前缀后经过字符反转处理所生成的反转字符串、以及所述域名与所述反转字符串之间的对应关系,该设备还包括:A domain name retrieving device, wherein the device pre-sets a domain name library, where the domain name library includes a currently existing domain name, and the reversed character string generated by the character inversion process after adding the specified prefix, And the correspondence between the domain name and the reversed string, the device further includes:
    接收模块,接收携带待检索域名的域名检索请求; Receiving a module, receiving a domain name retrieval request carrying a domain name to be retrieved;
    反转模块,将添加所述指定前缀的待检索域名通过字符反转处理为待检索反转字符串;Inverting the module, and adding the domain name to be retrieved with the specified prefix to the inverted string to be retrieved by character inversion;
    查询模块,在所述域名库中查询是否存在与所述待检索反转字符串匹配的对应关系;The query module queries, in the domain name database, whether there is a corresponding relationship that matches the inverted string to be retrieved;
    获取模块,在所述域名库中存在与所述待检索反转字符串匹配的对应关系时根据所述对应关系获取与所述待检索反转字符串对应的域名。And obtaining, by the obtaining module, a domain name corresponding to the inverted character string to be retrieved according to the correspondence relationship when a correspondence relationship between the domain name and the reversed character string to be searched is obtained.
  7. 如权利要求6所述的设备,其特征在于,所述反转模块具体用于:The device according to claim 6, wherein the inversion module is specifically configured to:
    在所述待检索域名的头部添加所述指定前缀,并将添加了所述指定前缀的待检索域名作为待反转字符串;Adding the specified prefix to the header of the domain name to be retrieved, and using the domain name to be retrieved with the specified prefix as the string to be reversed;
    根据所述待反转字符串中的各个字符通过倒序排列生成所述待检索反转字符串。And generating, according to each character in the to-be-reversed character string, the reversed character string to be retrieved by reverse ordering.
  8. 如权利要求6所述的设备,其特征在于,还包括:The device of claim 6 further comprising:
    返回模块,在所述域名库中不存在与所述待检索反转字符串匹配的对应关系时向所述域名检索请求的发送方返回检索失败响应。The returning module returns a retrieval failure response to the sender of the domain name retrieval request when there is no correspondence relationship with the inverted string to be retrieved in the domain name database.
  9. 如权利要求6所述的设备,其特征在于,还包括:The device of claim 6 further comprising:
    添加模块,接收携带所述域名的域名添加请求,在所述域名的头部添加所述指定前缀,并将添加所述指定前缀的域名通过字符反转处理为反转字符串,生成所述域名与所述反转字符串的对应关系,将所述域名、所述反转字符串以及所述对应关系添加至所述域名库。Adding a module, receiving a domain name adding request that carries the domain name, adding the specified prefix to the header of the domain name, and processing the domain name that adds the specified prefix into a reversed string by using a character inversion to generate the domain name. And corresponding to the reversed string, adding the domain name, the reversed string, and the corresponding relationship to the domain name library.
  10. 如权利要求6-9任一项所述的设备,其特征在于,A device according to any of claims 6-9, characterized in that
    所述指定前缀为所述域名中各个字符之间的连接符。 The specified prefix is a connector between each character in the domain name.
PCT/CN2016/106018 2015-11-25 2016-11-16 Method and device for retrieving domain name WO2017088690A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510830515.9 2015-11-25
CN201510830515.9A CN106776657B (en) 2015-11-25 2015-11-25 Domain name retrieval method and device

Publications (1)

Publication Number Publication Date
WO2017088690A1 true WO2017088690A1 (en) 2017-06-01

Family

ID=58762921

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/106018 WO2017088690A1 (en) 2015-11-25 2016-11-16 Method and device for retrieving domain name

Country Status (2)

Country Link
CN (1) CN106776657B (en)
WO (1) WO2017088690A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170126723A1 (en) * 2015-10-30 2017-05-04 Baidu Online Network Technology (Beijing) Co., Ltd. Method and device for identifying url legitimacy

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113312549B (en) * 2021-05-25 2024-01-26 北京天空卫士网络安全技术有限公司 Domain name processing method and device
CN116980234B (en) * 2023-09-25 2024-01-05 北京源堡科技有限公司 Domain name imitation detection method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102129437A (en) * 2010-01-12 2011-07-20 腾讯科技(北京)有限公司 Domain name matching method and browser
CN102882987A (en) * 2011-07-12 2013-01-16 阿里巴巴集团控股有限公司 Domain filter list storing and matching method and device
CN103605704A (en) * 2013-11-08 2014-02-26 深圳大学 Mass url (uniform resource locator) data any field indexing and retrieving method
US20140089344A1 (en) * 2012-09-25 2014-03-27 Samsung Electronics Co., Ltd Method and apparatus for url address search in url list
CN104537107A (en) * 2015-01-15 2015-04-22 中国联合网络通信集团有限公司 URL storage matching method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7114177B2 (en) * 2001-03-28 2006-09-26 Geotrust, Inc. Web site identity assurance
CN100511229C (en) * 2006-04-13 2009-07-08 华为技术有限公司 Domain name information storage and inquiring method and system
US8411670B2 (en) * 2007-07-03 2013-04-02 Motorola Mobility Llc Reverse ENUM based routing for communication networks
CN101110871A (en) * 2007-08-20 2008-01-23 中兴通讯股份有限公司 E.164 domain name analyzing method and DNS server
CN103002061B (en) * 2011-09-16 2015-06-24 阿里巴巴集团控股有限公司 Method and device for mutual conversion of long domain names and short domain names

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102129437A (en) * 2010-01-12 2011-07-20 腾讯科技(北京)有限公司 Domain name matching method and browser
CN102882987A (en) * 2011-07-12 2013-01-16 阿里巴巴集团控股有限公司 Domain filter list storing and matching method and device
US20140089344A1 (en) * 2012-09-25 2014-03-27 Samsung Electronics Co., Ltd Method and apparatus for url address search in url list
CN103605704A (en) * 2013-11-08 2014-02-26 深圳大学 Mass url (uniform resource locator) data any field indexing and retrieving method
CN104537107A (en) * 2015-01-15 2015-04-22 中国联合网络通信集团有限公司 URL storage matching method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170126723A1 (en) * 2015-10-30 2017-05-04 Baidu Online Network Technology (Beijing) Co., Ltd. Method and device for identifying url legitimacy

Also Published As

Publication number Publication date
CN106776657A (en) 2017-05-31
CN106776657B (en) 2021-05-04

Similar Documents

Publication Publication Date Title
US20230275919A1 (en) Entity ip mapping
CN109299110B (en) Data query method and device, storage medium and electronic equipment
US9734261B2 (en) Context aware query selection
US20240039886A1 (en) Domain name classification systems and methods
JP6599906B2 (en) Login account prompt
US8321503B2 (en) Context-specific network resource addressing model for distributed services
US8447702B2 (en) Domain appraisal algorithm
EP2686783A2 (en) Keyword extraction from uniform resource locators (urls)
US20130332443A1 (en) Adapting content repositories for crawling and serving
US20100169761A1 (en) Computer and method for converting a web page
US10230687B1 (en) Apparatus and method for correlating addresses of different Internet protocol versions
WO2015196983A1 (en) Data submission method and device
CN107423037B (en) Application program interface positioning method and device
WO2017088690A1 (en) Method and device for retrieving domain name
US20150100563A1 (en) Method for retaining search engine optimization in a transferred website
US9767121B2 (en) Location-based mobile search
CN110929185B (en) Website directory detection method and device, computer equipment and computer storage medium
JP7254925B2 (en) Transliteration of data records for improved data matching
JP2015070615A (en) Nxd query monitoring method
CN111010456A (en) Main domain name acquisition and verification method
US20110208731A1 (en) Automated semantic domain spinning tools
US10747827B2 (en) Method and apparatus for pushing information
WO2020024824A1 (en) Method and device for determining user status identifier
CN107733709A (en) Date storage method, device and electronic equipment
WO2019237949A1 (en) Search method and device

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: 16867913

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: 16867913

Country of ref document: EP

Kind code of ref document: A1