CN112422706B - Method and system for analyzing name space of digital object - Google Patents
Method and system for analyzing name space of digital object Download PDFInfo
- Publication number
- CN112422706B CN112422706B CN202011086275.3A CN202011086275A CN112422706B CN 112422706 B CN112422706 B CN 112422706B CN 202011086275 A CN202011086275 A CN 202011086275A CN 112422706 B CN112422706 B CN 112422706B
- Authority
- CN
- China
- Prior art keywords
- domain name
- digital object
- digital
- authoritative dns
- dns server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/951—Indexing; Web crawling techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method and a system for analyzing a name space of a digital object, wherein the method comprises the following steps: initiating a query to access a digital object through a resource identification of the digital object; determining a first domain name of a digital warehouse operator where the digital object is located according to the resource identifier, and forming a second domain name for accessing the digital object according to the first domain name, wherein the second domain name at least also comprises the resource identifier information of the digital object; and determining the access IP address of the digital object corresponding to the second domain name through a local cache or a recursive resolver. The invention expands the addressing mode of the digital object and improves the manageability of the digital object on the basis of being compatible with the prior network architecture.
Description
Technical Field
The invention relates to the technical field of computer network communication, in particular to a method and a system for analyzing a digital object name space.
Background
In a traditional computer network, an Internet Protocol (IP) is used to standardize the switching and routing of packet information messages in the Internet, and IPv6 is used as a next generation version of IPv4, which upgrades an address from the original 32 bits to 128 bits, the total number of addresses is 128 powers of 2, the space is too large to be imagined, and the number can be called as an address for each sand all over the world, which also provides a possibility for addressing upper-layer applications and information contents carried by equipment.
As described above, although it is possible to address digital objects such as upper layer applications and information contents by using independent IPv6 addresses, the IP addresses themselves lack semantics, and even if contents representing digital objects are embedded in part of address bits, the above problems cannot be completely solved, and the purpose of network addressing itself is also confused. Therefore, it is imperative to design a set of Name spaces for digital objects, and although the Domain Name System (DNS) bridges the human Name world and the underlying binary protocol address world, DNS serves the traditional Domain Name System and cannot implement Name space extension for digital objects.
In the prior art, digital objects represented by videos, audios and the like mainly depend on devices such as servers and the like existing in a network space, and the digital objects are not independent of the devices on the basis of communication between physical devices. The digital object has the characteristics of diversified storage forms and unfixed storage position, and if direct addressing is needed, a name space and a corresponding query system are needed to meet the requirements of flexibility and refinement. Therefore, how to establish a namespace suitable for digital objects, how to introduce a DNS mechanism to establish contact with IP addresses, and the like are in urgent need to be solved.
Disclosure of Invention
The invention aims to provide a method and a system for analyzing a name space of a digital object, which solve the technical problems that the digital object cannot be independent of a network space and cannot be managed finely by means of a traditional network architecture in the prior art.
In order to solve the above technical problem, the method for resolving a name space of a digital object of the present invention comprises the following steps:
initiating a query to access a digital object through a resource identification of the digital object;
determining a first domain name of a digital warehouse operator where the digital object is located according to the resource identifier, and forming a second domain name for accessing the digital object according to the first domain name, wherein the second domain name at least also comprises the resource identifier information of the digital object;
and determining the access IP address of the digital object corresponding to the second domain name through a local cache or a recursive resolver.
As a further improvement of the above method for resolving a name space of a digital object, when a query of a resource record of a second domain name in a local cache fails, a recursive query is initiated to authoritative DNS servers of each level through the recursive resolver according to hierarchical information of the second domain name, and each level of authoritative DNS servers further includes a hierarchical authoritative DNS server corresponding to a resource identifier in a domain name resolution system.
As a further improvement of the above method for analyzing a namespace of a digital object of the present invention, a last-stage authoritative DNS server corresponding to the digital warehouse is determined according to the resource identifier classification information in the second domain name, and an access IP address of a final digital object returned by the last-stage authoritative DNS server is queried and received, where the last-stage authoritative DNS server is responsible for registration update of new creation, modification, and deletion of each digital object in the digital warehouse.
As a further improvement of the above-mentioned method for namespace resolution of digital objects of the present invention, the last-level authoritative DNS server corresponding to the digital warehouse determines the digital object condition within the management scope according to the specified inventory period.
As a further improvement of the above-mentioned method for namespace resolution of digital objects of the present invention, the time-to-live value recorded in the local cache is consistent with the inventory period of the digital warehouse.
As a further improvement of the above method for resolving a namespace of a digital object, the resource identifier has hierarchical information, and when the local cache does not have the first domain name information corresponding to the resource identifier, the second domain name is finally obtained by the recursive resolver according to the authoritative DNS server corresponding to the resource identifier in a hierarchical manner.
In order to solve the above technical problem, a digital object namespace parsing system of the present invention includes:
the trigger unit is used for initiating inquiry for accessing the digital object through the resource identifier of the digital object;
a processing unit, configured to determine, according to the resource identifier, a first domain name of a digital warehouse operator where the digital object is located, and form, according to the first domain name, a second domain name that accesses the digital object, where the second domain name at least further includes resource identifier information of the digital object;
and the query unit is used for determining the access IP address of the digital object corresponding to the second domain name through a local cache or a recursive resolver.
As a further improvement of the above digital object namespace resolution system of the present invention, when the query unit fails to query the resource record of the second domain name in the local cache, the query unit initiates a recursive query to authoritative DNS servers of each level through the recursive resolver according to the hierarchical information of the second domain name, and each authoritative DNS server of each level further includes a hierarchical authoritative DNS server corresponding to the resource identifier in the domain name resolution system.
As a further improvement of the above system for resolving name spaces of digital objects of the present invention, the querying unit determines a last-stage authoritative DNS server corresponding to the digital repository according to the resource identifier classification information in the second domain name, queries and receives an access IP address of a final digital object returned by the last-stage authoritative DNS server, and the last-stage authoritative DNS server is responsible for registration and update of new creation, modification, and deletion of each digital object in the digital repository.
As a further improvement of the above-mentioned system for namespace resolution of digital objects of the present invention, the last-level authoritative DNS server corresponding to the digital warehouse determines the status of digital objects within the management scope according to the specified inventory period.
Compared with the prior art, the invention improves the hierarchical resolution architecture by establishing the name space for the digital object and combining the name space with the traditional domain name system, thereby realizing the mapping relation between the name space and the IP address. The invention expands the addressing mode of the digital object and improves the manageability of the digital object on the basis of being compatible with the prior network architecture.
Other features and advantages of the present invention will become more apparent from the detailed description of the embodiments of the present invention when taken in conjunction with the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart illustrating a method for namespace resolution of digital objects according to an embodiment of the invention.
Fig. 2 is a diagram of a digital warehouse according to an embodiment of the invention.
FIG. 3 is a diagram illustrating a namespace resolution architecture of digital objects according to an embodiment of the invention.
FIG. 4 is a diagram illustrating a system for namespace resolution of digital objects according to an embodiment of the invention.
Detailed Description
The present invention will be described in detail below with reference to embodiments shown in the drawings. These embodiments are not intended to limit the present invention, and variations in structure, method, or function that may be affected by one of ordinary skill in the art based on these embodiments are within the scope of the present invention.
It should be noted that the same reference numbers or labels may be used in different embodiments, but these do not represent an absolute relationship in structure or function. Further, the references to "first" and "second" in the embodiments do not represent an absolutely distinct relationship in structure or function, and these are merely for convenience of description.
In the existing domain name resolution architecture, an authoritative DNS server is a DNS server actually holding a DNS resource record, which is the most source server on a DNS lookup chain, and it responds with the resource record of the query, and finally feeds back to the requester through a recursive resolver to obtain an IP address and the like required for accessing a website or other Web resources. The authoritative DNS server can comprise a root domain name server, a top level domain name server, a second level domain name server and the like, a hierarchical structure with upper and lower levels is formed, the top level domain name server for realizing corresponding analysis can be inquired through the root domain name server, the second level domain name server for realizing corresponding analysis can be inquired through the top level domain name server, and the like. In the embodiment of the present invention, an authoritative DNS server supporting resource identifier resolution may be set at a lower level of an existing authoritative DNS server architecture, and seamlessly interface with the existing authoritative DNS server, and a last level of the authoritative DNS server in the existing architecture may query an access manner of the authoritative DNS server supporting resource identifier resolution, which will be described in detail below.
As shown in fig. 1, a flowchart of a method for namespace resolution of digital objects according to an embodiment of the present invention is shown. The method for analyzing the name space of the digital object specifically comprises the following steps:
step S1, initiating inquiry for accessing the digital object through the resource identification of the digital object. The digital objects can be video, audio, text and other storage files existing in an application layer, and in the IPv4 era, the digital objects cannot exist in a network alone, and usually implement corresponding communication with a stored server, a terminal and other computer carriers, so that the digital objects have the characteristic of being inflexible to access and have certain limitations. With the coming of the IPv6 era, the IPv6 address is upgraded to 128 bits from the original 32 bits, thereby greatly expanding the address space and providing possibility for addressing digital objects. However, the nature of the IP address is always used for addressing and positioning, and the digital object itself lacks semantic characteristics, so that in order to enable the digital object to be independently and freely applied in a network space, the digital object not only needs to be allocated with an IP address for access, but also can be configured with a set of resource identification system, each digital object can have a fixed resource identification, and corresponding access can be realized by using the resource identification of the corresponding digital object. The resource identifier here is named in hierarchical levels, each hierarchical level reflects a different digital object type, for example, the first hierarchical level may display a file format of a digital object, and so on, different hierarchical levels may be separated by a ". Lamda" symbol similar to a domain name or a Handle identifier, and so on, and the symbol is c2.C1, c2 to identify different types of features corresponding to the digital object, and c1, c2 may be a simple digital code, or may use a more intuitive character string, and in further embodiments, a "/", "may also be used between different hierarchical levels: "etc. to function as a partition. Therefore, the type characteristics of the digital object can be directly reflected from the resource identification, and the searching can be carried out layer by layer through a structure similar to a tree shape, so that the positioning speed is improved.
As described above, when the corresponding digital object has the corresponding resource identifier, if the corresponding digital object needs to be accessed, the corresponding resource identifier may be directly used to implement the corresponding access. The target mark of the digital object is set as the corresponding resource mark, and the process of initiating the access firstly initiates the inquiry of the fixed resource mark, obtains the IP address of the digital object actually accessed, and then accesses by the determined IP address. It should be noted that, in order to implement the query, an implementable query system needs to be based on a set of system, and since the existing domain name resolution system has a certain basis, the system can be used compatibly, which not only reduces the application cost, but also can be perfectly interfaced with the traditional network architecture, however, the existing domain name resolution system cannot be completely unified with the implementation of the digital object resource identifier, for example, the structure of the resource identifier is an independent format, and meanwhile, the storage of the digital object is not relatively fixed as a server in the network, and the management of the digital object needs to have a more flexible characteristic. Therefore, when initiating the query for the resource identifier, it is first necessary to determine the related management information of the digital object according to the resource identifier of the digital object, so as to establish a connection with the conventional domain name system, which will be described in detail in step S2.
S2, determining a first domain name of a digital warehouse operator where the digital object is located according to the resource identifier, and forming a second domain name for accessing the digital object according to the first domain name, wherein the second domain name at least also comprises the resource identifier information of the digital object. In step S1, after triggering the corresponding query, a second domain name of the digital object is determined in step S2 according to the resource identifier, and the second domain name can be further queried by using the existing domain name resolution system. In order to accurately query the IP address corresponding to the digital object, the second domain name needs to include the first domain name information and the resource identification information of the operator of the digital warehouse, where the digital warehouse refers to a corresponding device carrier that actually carries the digital object, such as a specific server cluster. The digital warehouse operator is an operator who engages in the service of the relevant data center or manages digital objects by themselves, and the digital warehouse operator applies for locating itself by using the first domain name in order to identify on the network. As shown in fig. 2, for an operator of a digital warehouse, different digital warehouses may be set according to different network locations, and specifically, the digital warehouse may include a plurality of first servers, digital objects may be stored in the corresponding first servers as needed, for the digital warehouse, a second server may be further configured to manage digital object information in the first servers, and in further embodiments, the second server may be shared among the plurality of digital warehouses. It should be noted that the digital object IP address obtained by the final query may be an IP address directly allocated to the digital object or an IP address of the first server where the digital object is located, and corresponding access may be implemented as long as the corresponding IP address is obtained. Therefore, the second domain name is formed based on the first domain name, and the query can be finally initiated to the second server of the digital warehouse by analyzing the query, taking the resource identifier c2.C1 and the first domain name wartehouse 1.Com of the digital warehouse operator as examples, so that the corresponding second domain name may be c2.C1. Wartehouse 1.Com, and since the second domain name is compatible with the existing domain name format, the domain name resolution can be further performed as follows.
Determining that the second domain name can be queried through a corresponding resource record in the local cache, specifically, querying by using the resource identifier of the digital object as an index, where the resource record in the local cache may be a cache stored in advance or obtained through external query. When the resource record of the corresponding resource identifier is not queried in the local cache, the query can be performed on the external query source, and in a preferred embodiment, the external query source adopts a recursive query architecture similar to domain name resolution, so that not only can the fast query be realized, but also the docking with the existing domain name resolution system is supported.
As shown in fig. 3, when the access terminal 10 needs to access the corresponding digital object, the corresponding resource record is not found in the local cache, and at this time, the external query may be implemented by a recursive resolver, in this embodiment, the recursive resolver may be a recursive DNS server 20 supporting resource identifier resolution, in further embodiments, the recursive DNS server 20 also has a corresponding cache, and the process is similar. The recursive DNS server 20 initiates a query to an authoritative DNS server 30 having a recursive hierarchy architecture when there is no corresponding cache information, the authoritative DNS server 30 includes a first hierarchy of authoritative DNS servers 31, a second hierarchy of authoritative DNS servers 32, and the like, the hierarchy of the authoritative DNS server 30 is determined by the hierarchy of resource identifiers, the more the types of the hierarchies are, the deeper the hierarchy of the corresponding authoritative DNS server 30 is, and the recursive DNS server 20 may first initiate the query from the authoritative DNS server 31. As mentioned above, if the resource identifier has hierarchical information, such as the resource identifier c2.C1, the authoritative DNS server 31 is first queried about the authoritative DNS server 32 responsible for c1, and so on, and finally the corresponding second domain name is queried. In further embodiments, the first domain name of the digital warehouse operator is queried by the authoritative DNS server 30, and when further query is made, the first domain name and the corresponding resource identifier need to be synthesized into a second domain name.
And S3, determining the access IP address of the digital object corresponding to the second domain name through a local cache or a recursive resolver. When a second domain name is obtained, such as c2.C1. Warthouse 1.Com, a query may be made to the existing domain name resolution hierarchy to obtain the access IP address of the corresponding digital object. In order to support further recursive query of resource identification in the existing domain name resolution system, as shown in fig. 3, an authoritative DNS server 30 is deployed below an authoritative DNS server 40, where the authoritative DNS server 30 may belong to a device of the same system as the authoritative DNS server 30 that determines the second domain name, or may be a device independent of a different system. When a second domain name further needs to be queried, after a local cache miss, a query may be initiated to the root domain name server 41 through the recursive DNS server 20, and for c2.C1. Warteuuse 1.Com, the root domain name server returns the top level domain name server 42 of com, and so on, and if there is deeper hierarchical information, the second level domain name server 43 further performs the recursive query. The existing domain name resolution system is expanded by deploying the authoritative DNS server 30 at the lower layer of the authoritative DNS server 40, when the last stage of the authoritative DNS server is queried according to the second domain name, the first-stage authoritative DNS server 31 coupled to the authoritative DNS server 30 can be referred to, and so on, and recursive query is realized in the hierarchical authoritative DNS server until the last-stage authoritative DNS server 52 is found. It should be noted that, regardless of whether the recursive query is performed in the authoritative DNS server 40 or the authoritative DNS server 30, the query is performed one by one according to the hierarchical information divided by ". Multidot.. In further embodiments, in order to simplify the deployment, the authoritative DNS server 43 serves as the last-stage server of the authoritative DNS server 40 architecture, and the authoritative DNS server 32 serves as the last-stage server of the authoritative DNS server 30 architecture, both of which may be the same server or server cluster, when the query reaches the authoritative DNS server 43, that is, when the authoritative DNS server reaches the last-stage server supporting domain name resolution, the response of the authoritative DNS server 32 is directly returned, that is, the access mode of the last-stage authoritative DNS server 52 returned by the last-stage server supporting resource identifier resolution is directly responded, and there is no need to perform recursive query on the entire architecture of the authoritative DNS server 30, so that the query speed is increased, and the length of the query chain is simplified.
The last-level authoritative DNS server 52 is a second server corresponding to the digital warehouse 50, as described above, and is used for registration update of new creation, modification and deletion of each digital object in the digital warehouse, as described above, a plurality of first servers 51 are included in the digital warehouse 50, and these first servers 51 may be deployed at the same location or may be deployed at different locations. When a specific digital object is stored in a specific first server 51, a corresponding IP address is obtained, and further, registration is performed on a corresponding last-level authority DNS server 52 according to a corresponding resource identifier, so that the last-level authority DNS server 52 can know resolution information of the corresponding digital object, and when a recursive DNS server 20 initiates a query to the last-level authority DNS server 52, a corresponding response operation can be performed. In order to improve the manageability of the digital object, the modification and deletion of the digital object also initiates an update to the last-level authoritative DNS server 52, which may respond accurately according to the real-time update. Thus, the recursive DNS server 20 may determine the last-stage authoritative DNS server 52 corresponding to the digital warehouse based on the resource identifier ranking information in the second domain name, issue a query message in response, and receive feedback from the last-stage authoritative DNS server 52 that is the access IP address of the corresponding digital object.
In order to improve the management accuracy, in a preferred embodiment, the last-level authoritative DNS server determines the condition of the digital object within the management range according to a specified inventory period, for example, a heartbeat connection is initiated to the first server 51 of the digital warehouse 50 or directly to the digital object within a specific period, and if there is no feedback of the response, the last-level authoritative DNS server 52 is updated when the corresponding digital object is determined to have been removed from the digital warehouse. Corresponding authentication information may further be sent to determine if a change has occurred to the corresponding digital object, such as if the IP address of the digital object has been reassigned. As described above, in both the local cache of the access terminal 10 and the local cache of the recursive DNS server 20, the corresponding resolution result is cached based on the result of the query, so as to implement direct reference for the later query, but if the corresponding information of the digital object is frequently updated, the resolution result stored in the local cache is not up-to-date, if the direct reference causes an access error, at this time, the time-to-live value recorded in the local cache is consistent with the inventory period of the digital warehouse, so that the consistency with the update of the last-level authoritative DNS server can be basically satisfied, and the latest resource record is always used for access.
In further embodiments, multiple copies of the same digital object may be stored on multiple first servers 51 in the digital warehouse, each copy may be assigned an independent IP address, and in this case, if a second domain name resolution requirement of the corresponding digital object is involved, the last-level authoritative DNS server 52 may return an access IP address of the specific digital object copy to the querying party based on its own policy. Further, the last-level authoritative DNS server 52 may also automatically perform reasonable backup and storage on a specific digital object according to its own management situation of the digital warehouse, such as the remaining storage space, the requirement of redundancy level, the service quality status, and the like, and respond to a corresponding query based on its own policy. Meanwhile, the last-stage authoritative DNS server 52 may also perform a corresponding response according to a direct request of the querying party, for example, when the querying party knows a corresponding copy or directly accesses the original of the digital object, when forming the second domain name, the corresponding storage type information is directly embedded in the second domain name, taking c2.C1. Warte as an example, if the querying party needs to directly query the original, the second domain name of the query may be defined as primary 2.C1. Warte 1.Com, if the digital object of the first copy needs to be queried, the second domain name of the query may be defined as copy1.C2.C1. Warte, and the authoritative last-stage DNS server 52 may determine the IP access address of the digital object returning to the specific storage type according to the primary or copy1 equal-level information similar to the above in the second domain name. The last-level authoritative DNS server 52 in the present invention not only plays the final answer role for the entire namespace resolution system, but also acts as the manager for implementing the digital warehouse, and the flexibility and accuracy of the entire system are ensured by the play of the last-level authoritative DNS server.
FIG. 4 is a diagram illustrating a system for namespace resolution of digital objects according to an embodiment of the invention. The digital object name space analysis system comprises a triggering unit U1, a processing unit U2 and a query unit U3. In the embodiment, the domain name resolution system can be basically expanded on the existing domain name resolution architecture, the domain name resolution system and the identification resolution system are perfectly fused, and meanwhile, the existing domain name resolution system architecture does not need to be changed. The relation between the resource identifier of the digital object and the network topology is not large relative to the IP address, and the relation is not large unlike the situation that the IP address needs to be changed according to the network position where the digital object is located, meanwhile, for the resource identifier with the format of c2.C1, a large number of corresponding types of the digital object can be embedded, authoritative DNS servers with different layers are deployed according to different hierarchical information to support recursive query, and the method can specifically refer to the related description of the digital object name space resolution method. Meanwhile, other reference information, such as c2.C1: new, can be embedded in the corresponding resource identifier through other separators, so that the corresponding digital object can be correspondingly known to be the most recently updated digital object, and the resource identifier can reflect semantic information of a large number of digital objects. Further, in forming the second domain name, reference information following a separator such as a colon may be removed as needed, since such reference information only serves as interpretation in certain cases.
And the triggering unit U1 is used for initiating inquiry for accessing the digital object through the resource identifier of the digital object. The triggering unit U1 mainly plays a role of resource identifier query, is often triggered along with the requirement of accessing a corresponding digital object, and specifically can be interfaced with a corresponding browser or a software program related interface of a querying party.
And the processing unit U2 is configured to determine a first domain name of a digital warehouse operator where the digital object is located according to the resource identifier, and form a second domain name for accessing the digital object according to the first domain name, where the second domain name at least further includes resource identifier information of the digital object. The processing unit U2 mainly converts the resource identifier into a second domain name that can be supported by the existing domain name system, so as to implement a corresponding access IP address query. As described above, the resource identifier of a digital object is an independent set of namespaces that reflect information such as the type of the digital object, unlike the domain name system, which is a location identifier around a conventional computer or group of computers. And determining a second domain name by querying the resource identifier, wherein the second domain name comprises the first domain name of the digital warehouse operator and the resource identifier information of the digital object, and the format of the second domain name is limited according to the format of the domain name, namely the second domain name consists of a string of names separated by points. The corresponding query is based on a set of database about the mapping relationship between the resource identifier and the second domain name, and can be stored in a local cache or obtained from an external query source. Further, the external query source may be a set of recursive hierarchical distributed database, the resource identifier has hierarchical information, and when the local cache does not have the first domain name information corresponding to the resource identifier, the second domain name is finally obtained by the recursive resolver according to the authoritative DNS server corresponding to the resource identifier in a hierarchical manner.
And the query unit U3 is configured to determine, through a local cache or a recursive resolver, an access IP address of the digital object corresponding to the second domain name. The query unit U3 preferentially queries the resource records of the local cache, and initiates recursive query to authoritative DNS servers of each level through the recursive resolver according to the hierarchical information of the second domain when the query of the resource records of the second domain in the local cache fails, wherein each authoritative DNS server also comprises a hierarchical authoritative DNS server corresponding to the resource identifier under the domain name resolution system. Specifically, according to different levels of information of the second domain name separated by points, progressive recursive query is realized among authoritative DNS servers of the hierarchical structure.
The query unit U3 determines the last-stage authoritative DNS server corresponding to the digital warehouse according to the resource identifier hierarchical information in the second domain name, and queries and receives an access IP address of a final digital object returned by the last-stage authoritative DNS server, where at least one last-stage authoritative DNS server exists in each digital warehouse for managing the digital object in the digital warehouse, and the last-stage authoritative DNS server is responsible for registration update of new creation, modification, and deletion of each digital object in the digital warehouse. When the inquiring party inquires the corresponding last-stage authoritative DNS server, the corresponding authoritative DNS server is required to feed back the most real-time digital object information. And in order to ensure the accuracy of the digital information, the last-stage authoritative DNS server also determines the digital object condition in the management range according to the specified inventory period. Accordingly, the time-to-live value recorded in the local cache is consistent with the inventory cycle of the digital warehouse, so as to ensure the accuracy of the digital object information in the local cache. It should be noted that embodiments of the digital object namespace resolution system may also refer to embodiments of the digital object namespace resolution method.
In connection with the technical solutions disclosed in the present Application, the present invention may be directly embodied as hardware, a software module executed by a control unit, or a combination of the two, that is, one or more steps and/or one or more combinations of steps, and may correspond to each software module of a computer program flow, or may correspond to each hardware module, for example, an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other Programmable logic device, a discrete Gate or crystal logic device, a discrete hardware component, or any suitable combination thereof. For convenience of description, the above-mentioned apparatuses are described as being divided into various modules by functions, and of course, the functions of the modules may be implemented in one or more software and/or hardware when implementing the present application.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can also be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application, which essentially or contributes to the prior art, can also be embodied in the form of software products. The software may be executed by a micro-control unit, and may include one or more micro-control units of any type, depending on the desired configuration, including but not limited to a microcontroller, a DSP (Digital Signal Processor), or any combination thereof. The software is stored in a memory, such as a volatile memory (e.g., random access memory, etc.), a non-volatile memory (e.g., read-only memory, flash memory, etc.), or any combination thereof.
In summary, the present invention improves the hierarchical resolution architecture by establishing a namespace for the digital object and combining with the traditional domain name system, thereby realizing the mapping relationship between the namespace and the IP address. The invention expands the addressing mode of the digital object and improves the manageability of the digital object on the basis of being compatible with the prior network architecture.
It should be understood that although the present description refers to embodiments, not every embodiment contains only a single technical solution, and such description is for clarity only, and those skilled in the art should make the description as a whole, and the technical solutions in the embodiments can be appropriately combined to form other embodiments understood by those skilled in the art.
The above-listed detailed description is only a specific description of a possible embodiment of the present invention, and they are not intended to limit the scope of the present invention, and equivalent embodiments or modifications made without departing from the technical spirit of the present invention should be included in the scope of the present invention.
Claims (7)
1. A method for namespace resolution of digital objects, comprising the steps of:
initiating a query to access a digital object through a resource identification of the digital object;
determining a first domain name of a digital warehouse operator where the digital object is located according to the resource identifier, and forming a second domain name for accessing the digital object according to the first domain name, wherein the second domain name at least also comprises the resource identifier information of the digital object;
determining an access IP address of the digital object corresponding to the second domain name through a local cache or a recursive resolver;
when the query of the resource record of the second domain name in the local cache fails, according to the hierarchical information of the second domain name, the recursive query is initiated to each level of authoritative DNS servers through the recursive analyzer, and each level of authoritative DNS servers also comprise hierarchical authoritative DNS servers corresponding to the resource identifiers under the domain name resolution system;
the resource identification has hierarchical information, and when the local cache does not have the first domain name information corresponding to the resource identification, the second domain name is finally obtained through the recursive resolver according to the authoritative DNS server corresponding to the hierarchical information of the resource identification.
2. The method according to claim 1, wherein a last-level authoritative DNS server corresponding to the digital repository is determined according to the resource identifier classification information in the second domain name, and an access IP address of a final digital object returned by the last-level authoritative DNS server is queried and received, and the last-level authoritative DNS server is responsible for registration update of new creation, modification and deletion of each digital object in the digital repository.
3. The method according to claim 1, wherein a last-level authoritative DNS server corresponding to the digital repository determines a digital object instance within a management scope according to a specified inventory cycle.
4. The digital object namespace resolution method of claim 3, wherein the time-to-live value recorded in the local cache is consistent with an inventory cycle of the digital vault.
5. A digital object namespace resolution system comprising:
the trigger unit is used for initiating inquiry for accessing the digital object through the resource identifier of the digital object;
a processing unit, configured to determine, according to the resource identifier, a first domain name of a digital warehouse operator where the digital object is located, and form, according to the first domain name, a second domain name for accessing the digital object, where the second domain name at least further includes resource identifier information of the digital object;
the query unit is used for determining an access IP address of the digital object corresponding to the second domain name through a local cache or a recursive resolver;
when the query unit fails to query the resource record of the second domain name in the local cache, according to the hierarchical information of the second domain name, the query unit initiates recursive query to each level of authoritative DNS servers through the recursive resolver, wherein each level of authoritative DNS servers also comprises hierarchical authoritative DNS servers corresponding to the resource identifiers under the domain name resolution system;
the resource identification has hierarchical information, and when the local cache does not have the first domain name information corresponding to the resource identification, the second domain name is finally obtained through the recursive resolver according to the authoritative DNS server corresponding to the hierarchical information of the resource identification.
6. The system according to claim 5, wherein the querying unit determines a last-level authoritative DNS server corresponding to the digital repository according to the resource identifier classification information in the second domain name, and queries and receives an access IP address of a final digital object returned by the last-level authoritative DNS server, where the last-level authoritative DNS server is responsible for registration update of new creation, modification, and deletion of each digital object in the digital repository.
7. The system according to claim 5, wherein a last-level authoritative DNS server associated with the digital warehouse determines a condition of the digital object within a management scope according to a specified inventory cycle.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011086275.3A CN112422706B (en) | 2020-10-12 | 2020-10-12 | Method and system for analyzing name space of digital object |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011086275.3A CN112422706B (en) | 2020-10-12 | 2020-10-12 | Method and system for analyzing name space of digital object |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112422706A CN112422706A (en) | 2021-02-26 |
CN112422706B true CN112422706B (en) | 2023-02-03 |
Family
ID=74853993
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011086275.3A Active CN112422706B (en) | 2020-10-12 | 2020-10-12 | Method and system for analyzing name space of digital object |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112422706B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117082106B (en) * | 2023-10-16 | 2024-01-16 | 北京大学 | Multi-level data networking method, system, device and equipment oriented to government cloud environment |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102185935A (en) * | 2011-04-27 | 2011-09-14 | 北京交通大学 | Resource-oriented hierarchical name resolution system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008031459A1 (en) * | 2006-09-14 | 2008-03-20 | Telefonaktiebolaget Lm Ericsson (Publ) | Address resolution in a communication system |
-
2020
- 2020-10-12 CN CN202011086275.3A patent/CN112422706B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102185935A (en) * | 2011-04-27 | 2011-09-14 | 北京交通大学 | Resource-oriented hierarchical name resolution system |
Also Published As
Publication number | Publication date |
---|---|
CN112422706A (en) | 2021-02-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6553368B2 (en) | Network directory access mechanism | |
US7467230B2 (en) | Global names zone | |
US6453350B1 (en) | System and method for locating resources in a distributed network | |
US7747682B2 (en) | Multiple storage class distributed nametags for locating items in a distributed computing system | |
US6721880B1 (en) | Method and apparatus for maintaining configuration information in a computing environment | |
CN100568872C (en) | Content management device and content management system | |
US7640247B2 (en) | Distributed namespace aggregation | |
US7657543B1 (en) | Method and system for creating and using shadow roots | |
US20070112812A1 (en) | System and method for writing data to a directory | |
US8572201B2 (en) | System and method for providing a directory service network | |
US20040117410A1 (en) | Dynamic directory service | |
US8478898B2 (en) | System and method for routing directory service operations in a directory service network | |
US20100306410A1 (en) | Creating a tree to facilitate efficient access to information | |
CN112422706B (en) | Method and system for analyzing name space of digital object | |
US8171066B2 (en) | Techniques for accessing remote files | |
Baggio et al. | Efficient tracking of mobile objects in Globe | |
US9922031B2 (en) | System and method for efficient directory performance using non-persistent storage | |
Kuz et al. | The globe infrastructure directory service | |
CN112437166A (en) | Automatic switching method for MySQL database domain names | |
US20120079077A1 (en) | Just-in-time wrapper synchronization | |
WO2007056769A2 (en) | System and method for providing a directory service network | |
CN118827620A (en) | Domain name query request scheduling method, electronic device, storage medium and program product | |
CN118488034A (en) | Domain name resolution method, device, server and storage medium | |
WO2017191495A1 (en) | New domain name system and usage thereof | |
WO2002100071A2 (en) | Improvements in and relating to a distributed network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |