CN113301180A - Object identifier analysis method, device, equipment and storage medium - Google Patents

Object identifier analysis method, device, equipment and storage medium Download PDF

Info

Publication number
CN113301180A
CN113301180A CN202110492774.0A CN202110492774A CN113301180A CN 113301180 A CN113301180 A CN 113301180A CN 202110492774 A CN202110492774 A CN 202110492774A CN 113301180 A CN113301180 A CN 113301180A
Authority
CN
China
Prior art keywords
oid
node
dns
identified
object identifier
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.)
Pending
Application number
CN202110492774.0A
Other languages
Chinese (zh)
Inventor
濮灿
陈松
吴诗伟
马华强
秦文聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
China Academy of Information and Communications Technology CAICT
Original Assignee
Beijing Qihoo Technology Co Ltd
China Academy of Information and Communications Technology CAICT
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 Beijing Qihoo Technology Co Ltd, China Academy of Information and Communications Technology CAICT filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN202110492774.0A priority Critical patent/CN113301180A/en
Publication of CN113301180A publication Critical patent/CN113301180A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1034Reaction to server failures by a load balancer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1036Load balancing of requests to servers for services different from user content provisioning, e.g. load balancing across domain name servers

Abstract

The invention relates to the technical field of block chains, and discloses an object identifier analysis method, an object identifier analysis device, object identifier analysis equipment and a storage medium, wherein the method comprises the following steps: resolving the OID to be identified to determine a father node corresponding to the OID to be identified; and searching a DNS block chain client corresponding to the parent node, sending a query request to the DNS block chain client, so that the DNS block chain client determines analysis feedback information of the OID to be identified in the DNS block chain network based on the query request, and determining an OID analysis result according to the analysis feedback information. In the invention, a traditional DNS system is not used, but a DNS system based on a block chain technology is used, the problems of single-point failure, single-point invalidation and the like do not exist when OID analysis is carried out through a DNS block chain network, and the problem of data tampering caused by illegal control of a DNS root node is also avoided, so that the accuracy of OID analysis is improved.

Description

Object identifier analysis method, device, equipment and storage medium
Technical Field
The present invention relates to the field of block chain technologies, and in particular, to a method, an apparatus, a device, and a storage medium for analyzing an object identifier.
Background
The OID (Object Identifier) is an identification mechanism proposed jointly by ISO/IEC and ITU international standardization organizations, and adopts a hierarchical tree structure to globally and uniquely name any type of Object. The OID has the advantages of flexible layering, strong expansibility, clear management mechanism and the like, can be compatible with the existing identification mechanism, and is widely applied to the fields of information security, medical treatment and health, network management and the like.
The OID coding system is a hierarchical symbolic system, and correspondingly, the same query problem of the information of the object corresponding to the OID is solved. Meanwhile, in the prior art, an OID analysis system (ORS) is also defined, and global OIDs are organized into a hierarchical database system through the internet by using a DNS technology; and authorization linkage is carried out between the upper level DNS and the lower level DNS through NS resource records. Each DNS stores service configuration information of a corresponding OID object through a NAPTR type resource record.
However, OID resolution inherits the problems of single point of failure, heavy load, easy illegal control and the like of the DNS.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide an object identifier analyzing method, an object identifier analyzing device, object identifier analyzing equipment and a storage medium, and aims to solve the technical problem that in the prior art, OID analysis is inaccurate due to the fact that single-point faults, single-point failures, heavy load, illegal control and the like easily occur in OID analysis.
In order to achieve the above object, the present invention provides an object identifier resolution method, including the steps of:
resolving an Object Identifier (OID) to be identified to determine a father node corresponding to the OID to be identified;
searching a DNS blockchain client corresponding to the parent node, and sending a query request to the DNS blockchain client, so that the DNS blockchain client determines analysis feedback information of the OID to be identified in a DNS blockchain network based on the query request;
and receiving the analysis feedback information fed back by the DNS block chain client, and determining an OID analysis result according to the analysis feedback information.
Optionally, the analyzing the OID of the object to be identified to determine a parent node corresponding to the OID of the object to be identified includes:
analyzing the OID to be identified to determine an OID node corresponding to the OID to be identified;
and searching a father node to be selected corresponding to the OID node, and taking the father node to be selected as the father node corresponding to the OID to be identified.
Optionally, the searching for the parent node to be selected corresponding to the OID node includes:
searching a hierarchical block chain corresponding to the OID node;
and determining a parent node to be selected corresponding to the OID node according to the hierarchical block chain.
Optionally, before searching for the DNS blockchain client corresponding to the parent node and sending the query request to the DNS blockchain client, the method further includes:
searching a node type corresponding to the father node, and judging whether the father node is a light node or not according to the node type;
accordingly, the query request comprises a first query request;
the sending a query request to the DNS blockchain client to enable the DNS blockchain client to determine, based on the query request, analysis feedback information of the OID to be identified in the DNS blockchain network includes:
and when the father node is a light node, sending the first query request to the DNS blockchain client, so that the DNS blockchain client acquires analysis feedback information of the OID to be identified in the DNS blockchain network from a DNS server based on the first query request.
Optionally, before the determining, according to the node type, whether the parent node is a light node, the method further includes:
judging whether the father node is a full node or not according to the node type;
and when the father node is not the full node, executing the step of judging whether the father node is a light node according to the node type.
Optionally, the query request comprises a second query request;
after the determining whether the father node is a full node according to the node type, the method further includes:
and when the parent node is a full node, sending the second query request to the DNS blockchain client, so that the DNS blockchain client searches the analysis feedback information of the OID to be identified in the DNS blockchain network in a local database based on the second query request.
Optionally, the receiving the analysis feedback information fed back by the DNS blockchain client, and determining an OID analysis result according to the analysis feedback information includes:
receiving the analysis feedback information fed back by the DNS block chain client;
extracting OID analysis resources corresponding to the OID to be identified from the analysis feedback information;
and determining service configuration information corresponding to the OID to be identified according to the OID analysis resources, and taking the service configuration information as an OID analysis result.
Optionally, after receiving the analysis feedback information fed back by the DNS blockchain client and determining an OID analysis result according to the analysis feedback information, the method further includes:
when an operation instruction corresponding to the OID to be identified is received, adjusting the service configuration information according to the operation instruction to generate service configuration information to be processed;
searching for a super node in the DNS blockchain network;
and sending the service configuration information to be processed to the super node so that the super node writes the service configuration information to be processed into the DNS block chain network.
Optionally, the adjusting the service configuration information according to the operation instruction includes:
determining operation information according to the operation instruction, and determining an operation type according to the operation information;
and when the operation type is modification operation, adjusting the service configuration information according to the operation information.
Optionally, the searching for a super node in the DNS blockchain network includes:
searching block chain network information corresponding to the DNS block chain network;
and extracting super node information from the block chain network information, and determining the super node according to the super node information.
Optionally, before the analyzing the OID of the object identifier to be identified to determine the parent node corresponding to the OID of the object identifier to be identified, the method further includes:
when the OID sent by the application program is received, taking the received OID as the OID to be identified;
correspondingly, after the OID analysis result is determined according to the analysis feedback information, the method further includes:
and sending the OID analysis result to the application program.
In order to achieve the above object, the present invention further provides an object identifier resolution device, including:
the node determining module is used for analyzing the object identifier OID to be identified so as to determine a father node corresponding to the OID to be identified;
the query request module is used for searching a DNS blockchain client corresponding to the parent node and sending a query request to the DNS blockchain client so that the DNS blockchain client determines analysis feedback information of the OID to be identified in a DNS blockchain network based on the query request;
and the analysis result module is used for receiving the analysis feedback information fed back by the DNS block chain client and determining an OID analysis result according to the analysis feedback information.
Optionally, the node determining module is further configured to analyze the OID to be identified to determine an OID node corresponding to the OID to be identified; and searching a father node to be selected corresponding to the OID node, and taking the father node to be selected as the father node corresponding to the OID to be identified.
Optionally, the node determining module is further configured to search a hierarchical block chain corresponding to the OID node; and determining a parent node to be selected corresponding to the OID node according to the hierarchical block chain.
Optionally, the node determining module is further configured to search for a node type corresponding to the parent node, and determine whether the parent node is a light node according to the node type; and when the father node is a light node, sending the first query request to the DNS blockchain client, so that the DNS blockchain client acquires analysis feedback information of the OID to be identified in the DNS blockchain network from a DNS server based on the first query request.
Optionally, the node determining module is further configured to determine whether the parent node is a full node according to the node type; and when the father node is not the full node, executing the step of judging whether the father node is a light node according to the node type.
Optionally, the node determining module is further configured to send the second query request to the DNS blockchain client when the parent node is a full node, so that the DNS blockchain client searches for the analysis feedback information of the OID to be identified in the DNS blockchain network in a local database based on the second query request.
Optionally, the resolution result module is further configured to receive the resolution feedback information fed back by the DNS blockchain client; extracting OID analysis resources corresponding to the OID to be identified from the analysis feedback information; and determining service configuration information corresponding to the OID to be identified according to the OID analysis resources, and taking the service configuration information as an OID analysis result.
Further, to achieve the above object, the present invention also provides an object identifier resolution device, including: a memory, a processor, and an object identifier resolution program stored on the memory and executable on the processor, the object identifier resolution program configured with steps to implement the object identifier resolution method as described above.
Furthermore, to achieve the above object, the present invention further proposes a storage medium having stored thereon an object identifier resolution program, which when executed by a processor, implements the steps of the object identifier resolution method as described above.
According to the object identifier analysis method provided by the invention, the OID to be identified is analyzed to determine the father node corresponding to the OID to be identified; searching a DNS blockchain client corresponding to the parent node, and sending a query request to the DNS blockchain client, so that the DNS blockchain client determines analysis feedback information of the OID to be identified in a DNS blockchain network based on the query request; and receiving the analysis feedback information fed back by the DNS block chain client, and determining an OID analysis result according to the analysis feedback information. In the invention, a traditional DNS system is not used, but a DNS system based on a block chain technology is used, the problems of single-point failure, single-point invalidation and the like do not exist when OID analysis is carried out through a DNS block chain network, and the problem of data tampering caused by illegal control of a DNS root node is also avoided, so that the accuracy of OID analysis is improved.
Drawings
FIG. 1 is a schematic diagram of an object identifier resolution device of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating an object identifier resolution method according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating an object identifier resolution method according to a second embodiment of the present invention;
FIG. 4 is a block chain diagram of OID nodes according to an embodiment of the object identifier resolution method of the present invention;
fig. 5 is a schematic diagram of data transmission of OID resolution according to an embodiment of the object identifier resolution method of the present invention;
FIG. 6 is a flowchart illustrating an object identifier resolution method according to a third embodiment of the present invention;
FIG. 7 is a functional block diagram of an object identifier resolution apparatus according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an object identifier resolution device of a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the object identifier resolution device may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may comprise a Display screen (Display), an input unit such as keys, and the optional user interface 1003 may also comprise a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The Memory 1005 may be a Random Access Memory (RAM) Memory or a non-volatile Memory (e.g., a magnetic disk Memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the device architecture shown in fig. 1 does not constitute a definition of an object identifier resolution device, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and an object identifier resolution program.
In the object identifier resolution device shown in fig. 1, the network interface 1004 is mainly used for connecting to an external network and performing data communication with other network devices; the user interface 1003 is mainly used for connecting to a user equipment and performing data communication with the user equipment; the apparatus of the present invention calls an object identifier resolution program stored in the memory 1005 through the processor 1001 and executes the object identifier resolution method provided by the embodiment of the present invention.
Based on the above hardware structure, an embodiment of the object identifier parsing method of the present invention is provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating an object identifier parsing method according to a first embodiment of the present invention.
In a first embodiment, the object identifier resolution method includes the steps of:
step S10, parsing the object identifier OID to be identified to determine a parent node corresponding to the OID to be identified.
It should be noted that, the execution subject in this embodiment may be an object identifier Resolution device, where the object identifier Resolution device may be an ORS client, the ORS client is a client of an OID Resolution System (Resolution System), and may also be another device that can implement the same or similar functions.
It should be appreciated that the OID resolution method according to the present embodiment provides a solution to avoid the problems caused by relying on the DNS system, and the OID resolution method according to the present embodiment does not use the conventional DNS system, but instead uses the DNS authoritative domain name service based on the block chain. Because of the use of the DNS system based on the block chain technique, the OID resolution service will inherit the specifics that can be prevented from being illegally controlled due to the absence of the central part control.
It is to be understood that, after the OID to be identified is determined, the OID to be identified may be analyzed to determine the OID node corresponding to the OID to be identified, and then the parent node corresponding to the OID node is searched.
Step S20, searching for the DNS blockchain client corresponding to the parent node, and sending an inquiry request to the DNS blockchain client, so that the DNS blockchain client determines, based on the inquiry request, analysis feedback information of the OID to be identified in the DNS blockchain network.
It should be understood that each parent node may have a corresponding DNS blockchain client, and therefore, the DNS blockchain client corresponding to the parent node may be searched and send a query request to the DNS blockchain client, and after receiving the query request sent by the ORS client, the DNS blockchain client may return the analysis feedback information of the OID in the DNS blockchain network.
Step S30, receiving the analysis feedback information fed back by the DNS blockchain client, and determining an OID analysis result according to the analysis feedback information.
It can be understood that the ORS client may receive analysis feedback information fed back by the DNS blockchain client, extract an OID analysis resource corresponding to the OID to be identified from the analysis feedback information, determine service configuration information corresponding to the OID to be identified according to the OID analysis resource, and use the service configuration information as an OID analysis result.
Further, in order to make the OID analysis more specific and improve the effect of the OID analysis, before analyzing the object identifier OID to be identified to determine the parent node corresponding to the OID to be identified, the method further includes:
when the OID sent by the application program is received, taking the received OID as the OID to be identified;
correspondingly, after the OID analysis result is determined according to the analysis feedback information, the method further includes:
and sending the OID analysis result to the application program.
It should be understood that the OID may be sent by the application or the user to the ORS client, and in this embodiment, the OID is sent by the application to the ORS client as an example.
It can be understood that, when receiving the OID sent by the application, the ORS client may use the received OID as the OID to be identified, and after determining the OID analysis result of the OID to be identified, send the OID analysis result to the application.
In the embodiment, the OID to be identified is analyzed to determine a parent node corresponding to the OID to be identified; searching a DNS blockchain client corresponding to the parent node, and sending a query request to the DNS blockchain client, so that the DNS blockchain client determines analysis feedback information of the OID to be identified in a DNS blockchain network based on the query request; and receiving the analysis feedback information fed back by the DNS block chain client, and determining an OID analysis result according to the analysis feedback information. In the embodiment, a traditional DNS system is not used, but a DNS system based on a block chain technology is used, and the problems of single point failure, single point invalidation and the like do not exist when OID analysis is performed through a DNS block chain network, and the problem of data tampering caused by illegal operation of a DNS root node is also avoided, so that the accuracy of OID analysis is improved.
In an embodiment, as shown in fig. 3, a second embodiment of the object identifier parsing method according to the present invention is proposed based on the first embodiment, where the step S10 includes:
step S101, resolving the OID to be identified so as to determine an OID node corresponding to the OID to be identified.
It should be understood that, since the OID parsing method in this embodiment is based on a block chain, each OID has its corresponding node, so that the OID to be identified may be parsed to determine the OID node corresponding to the OID to be identified.
It should be noted that OID nodes in the same hierarchy form an OID analysis block chain network, and all nodes may be divided into two types: one type is a full node, stores all OID resolution resources of the current hierarchy, can directly provide the service of OID recursive resolution, and participates in block generation and verification. The other is a light node, which is accessed to the block chain network but does not store all OID analysis resources, and needs to pull resources to all nodes when needed, and the light node does not participate in block verification and generation. During OID analysis, any node in the hierarchical block chain can be selected at will to acquire analysis service.
And step S102, searching a father node to be selected corresponding to the OID node, and taking the father node to be selected as the father node corresponding to the OID to be identified.
It should be understood that, after the OID node is determined, a node in the same level as the OID node may be searched, the node in the same level as the OID node is used as a parent node to be selected, and then a node is randomly selected from the parent node to be selected as a parent node corresponding to the OID to be identified.
In a specific implementation, as shown in fig. 4, fig. 4 is a block chain diagram of an OID node.
Further, in order to accurately determine a parent node to be selected and avoid an analysis fault caused by a data error, the finding of the parent node to be selected corresponding to the OID node includes:
searching a hierarchical block chain corresponding to the OID node; and determining a parent node to be selected corresponding to the OID node according to the hierarchical block chain.
It is understood that, the OID nodes of the same hierarchy level form one OID resolution blockchain network, and there may be multiple hierarchies, and therefore, each hierarchy level has a corresponding blockchain network. After the OID node is determined, the hierarchy to which the OID node belongs can be determined, and then the blockchain network corresponding to the hierarchy is used as the hierarchical blockchain corresponding to the OID node.
In a specific implementation, for example, there are three levels, level a, level B and level C, where level a corresponds to blockchain network a, level B corresponds to blockchain network B and level C corresponds to blockchain network C. After the OID node is determined, if the OID node belongs to the level B, the block chain network B corresponding to the level B may be used as the level block chain corresponding to the OID node.
It can be understood that nodes in the hierarchical block chain may be traversed, all traversed nodes are used as parent nodes to be selected, and then one or more nodes are selected from the parent nodes to be selected as parent nodes corresponding to the OIDs to be identified.
Further, since the nodes are respectively of the full node type and the light node type, and the resources stored by the two nodes are different, in order to achieve a better resolution effect, different query strategies may be determined according to different node types, and before the searching for the DNS blockchain client corresponding to the parent node and sending a query request to the DNS blockchain client, the method further includes:
searching a node type corresponding to the father node, and judging whether the father node is a light node or not according to the node type;
correspondingly, the sending the query request to the DNS blockchain client to enable the DNS blockchain client to determine the resolution feedback information of the OID to be identified in the DNS blockchain network based on the query request includes:
and when the father node is a light node, sending the first query request to the DNS blockchain client, so that the DNS blockchain client acquires analysis feedback information of the OID to be identified in the DNS blockchain network from a DNS server based on the first query request.
It should be understood that, after determining the parent node, the node type corresponding to the parent node may be searched, and then it is determined whether the parent node is a light node according to the node type, and when the parent node is a light node, the first query request is sent to the DNS blockchain client.
It can be understood that, since the light node accesses the blockchain network but does not store all OID resolution resources, and needs to pull resources to all nodes if necessary, the DNS blockchain client may obtain resolution feedback information of the OID to be identified in the DNS blockchain network from the DNS server based on the first query request after receiving the first query request.
Further, since all the nodes store all the OID analysis resources of the current hierarchy, the manner of obtaining the analysis resources is more convenient, and therefore, it can be preferentially determined whether a parent node is a full node, and before determining whether the parent node is a light node according to the node type, the method further includes:
judging whether the father node is a full node or not according to the node type; and when the father node is not the full node, executing the step of judging whether the father node is a light node according to the node type.
It should be understood that whether the father node is a full node or not can be judged according to the node type, whether the father node is a light node or not can be further judged when the father node is not a full node, if the father node can be directly judged to be a full node, the subsequent judgment step can be omitted, and the processing efficiency can be improved.
Further, because of the difference between the full node and the light node, the query modes and the corresponding query requests for the full node and the light node are also different, where the query request includes a second query request, and after determining whether the parent node is the full node according to the node type, the method further includes:
and when the parent node is a full node, sending the second query request to the DNS blockchain client, so that the DNS blockchain client searches the analysis feedback information of the OID to be identified in the DNS blockchain network in a local database based on the second query request.
It should be noted that, in this embodiment, the query request includes a first query request and a second query request, where the first query request corresponds to the light node, and the second query request corresponds to the full node.
It will be appreciated that a second query request may be sent to the DNS blockchain client when the parent node is a full node. Since all the OID analysis resources of the current hierarchy are stored in all the nodes, the OID recursive analysis service can be directly provided, and therefore, after the DNS blockchain client receives the second query request, analysis feedback information of the OID to be identified in the DNS blockchain network can be directly searched in the local database.
In a specific implementation, as shown in fig. 5, fig. 5 shows a data transmission diagram of OID resolution.
In the embodiment, the OID to be identified is analyzed to determine the OID node corresponding to the OID to be identified; and searching a father node to be selected corresponding to the OID node, taking the father node to be selected as the father node corresponding to the OID to be identified, further acquiring the node type of the father node, and determining different query strategies according to different node types, thereby achieving better analysis effect.
In an embodiment, as shown in fig. 6, a third embodiment of the object identifier parsing method according to the present invention is proposed based on the first embodiment or the second embodiment, and in this embodiment, the description is made based on the first embodiment, and the step S30 includes:
step S301, receiving the analysis feedback information fed back by the DNS blockchain client.
It should be understood that, after determining, according to the query request, the analysis feedback information of the OID to be identified in the DNS blockchain network, the DNS blockchain client feeds back the analysis feedback information to the ORS client, so that the ORS client can receive the analysis feedback information fed back by the DNS blockchain client.
Step S302, extracting OID analysis resources corresponding to the OID to be identified from the analysis feedback information.
It can be understood that, because the analysis feedback information includes OID analysis resources, the ORS client may extract, from the analysis feedback information, OID analysis resources corresponding to the OID to be identified.
Step S303, determining service configuration information corresponding to the OID to be identified according to the OID analysis resource, and taking the service configuration information as an OID analysis result.
It can be understood that after the OID analysis resource corresponding to the OID to be identified is determined, the service configuration information corresponding to the OID to be identified may be determined according to the OID analysis team member, and since a plurality of parent nodes may exist in order to improve the accuracy of data and prevent the data of a certain node from being tampered, a plurality of service configuration information may be determined according to analysis feedback information fed back by a plurality of DNS block chain clients, and these service configuration information may be compared to determine whether they are consistent. If it is normal, these service configuration information should be consistent, and therefore, the service configuration information may be used as the OID parsing result. However, in some specific cases, for example, data in a blockchain node is tampered, and at this time, when these pieces of service configuration information are compared, an inconsistency may occur, and in this case, a higher piece of service configuration information is used as an OID analysis result.
In a specific implementation, for example, three pieces of service configuration information are determined, the three pieces of service configuration information are fed back by the DNS blockchain client corresponding to the three nodes, and the three pieces of service configuration information are compared, and if the three pieces of service configuration information are consistent, any one of the three pieces of service configuration information can be used as an OID analysis result. If the three pieces of service configuration information are not consistent, there are two pieces of information, for example, the three pieces of service configuration information are service configuration information a, service configuration information B, and service configuration information C, respectively, and if the service configuration information a is the same as the service configuration information B, the service configuration information C is different from the other two pieces of service configuration information, therefore, any one of the service configuration information a and the service configuration information B may be used as the OID analysis result.
In this embodiment, the OID analysis result is determined by obtaining the analysis resource through the blockchain, so as to achieve an effect of performing OID analysis on the OID to be identified, and since a plurality of nodes exist in the blockchain, even if one or more blockchain nodes are damaged or break down, the analysis resource can still be obtained through other nodes, so that the problem that the OID analysis cannot be performed due to single-point damage is avoided, and since the resources in the blockchain network are publicly and transparently, the information fed back by the plurality of nodes can be compared, so as to check the authenticity and accuracy of the information, and improve the accuracy and safety of the OID analysis.
Further, in addition to performing OID analysis through the blockchain network, the method may further perform various operations on service configuration information of OIDs in the blockchain network, where after receiving the analysis feedback information fed back by the DNS blockchain client and determining an OID analysis result according to the analysis feedback information, the method further includes:
when an operation instruction corresponding to the OID to be identified is received, adjusting the service configuration information according to the operation instruction to generate service configuration information to be processed; searching for a super node in the DNS blockchain network; and sending the service configuration information to be processed to the super node so that the super node writes the service configuration information to be processed into the DNS block chain network.
It should be understood that there are super nodes in the blockchain network, and all the operations of registering, modifying, deleting, etc. of OIDs depend on the super nodes in the DNS blockchain network. And writing the service configuration information of the applied OID and the OID node tree into the block chain by the super node. The service configuration information and OID node tree will direct the ORS client to fetch the recursive resolution request.
It can be understood that, when receiving an operation instruction corresponding to the OID to be identified sent by the application program or the user, the ORS client may adjust the service configuration information according to the operation instruction to generate the service configuration information to be processed. And searching for a super node in the DNS blockchain network, sending the service configuration information to be processed to the super node, and writing the service configuration information to be processed into the DNS blockchain network by the super node.
Further, since there are multiple operations corresponding to different operation instructions, in order to improve the adjustment efficiency, the adjusting the service configuration information according to the operation instructions includes:
determining operation information according to the operation instruction, and determining an operation type according to the operation information; and when the operation type is modification operation, adjusting the service configuration information according to the operation information.
It should be understood that after the operation instruction is determined, the operation information may be determined according to the operation instruction, and then the operation type may be determined according to the operation information, where the operation type may include a registration operation, a modification operation, a deletion operation, and the like, and when the operation type is a modification operation, the service configuration information may be adjusted according to the operation information. When the operation type is a registration operation or a deletion operation, the operation information is directly sent to the super node without adjusting the service configuration information and is processed by the super node.
Further, since there are multiple super nodes in the blockchain, and some operations only have permission to the super node, the searching for the super node in the DNS blockchain network includes:
searching block chain network information corresponding to the DNS block chain network; and extracting super node information from the block chain network information, and determining the super node according to the super node information.
It should be understood that the blockchain network information corresponding to the DNS blockchain network may be searched, and the blockchain network information is various information corresponding to the DNS blockchain network, so as to extract the super node information from the blockchain network information, and thus the super node in the DNS blockchain network may be determined according to the super node information.
In this embodiment, the analysis feedback information fed back by the DNS blockchain client is received; extracting OID analysis resources corresponding to the OID to be identified from the analysis feedback information; and determining service configuration information corresponding to the OID to be identified according to the OID analysis resources, and taking the service configuration information as an OID analysis result, wherein due to the fact that a plurality of nodes exist in the block chain, even if one or more block chain nodes are damaged or break down, analysis resources can still be obtained through other nodes, so that the problem that OID analysis cannot be carried out due to single-point damage is avoided, meanwhile, the situation of data tampering can be effectively avoided, and the accuracy and the safety of the OID analysis are improved.
Furthermore, an embodiment of the present invention further provides a storage medium, on which an object identifier resolution program is stored, where the object identifier resolution program, when executed by a processor, implements the steps of the object identifier resolution method as described above.
Since the storage medium adopts all technical solutions of all the embodiments, at least all the beneficial effects brought by the technical solutions of the embodiments are achieved, and no further description is given here.
Further, referring to fig. 7, an embodiment of the present invention further provides an object identifier resolution apparatus, where the object identifier resolution apparatus includes:
the node determining module 10 is configured to analyze an object identifier to be identified OID to determine a parent node corresponding to the OID to be identified.
And the query request module 20 is configured to search for a DNS blockchain client corresponding to the parent node, and send a query request to the DNS blockchain client, so that the DNS blockchain client determines, based on the query request, analysis feedback information of the OID to be identified in the DNS blockchain network.
And an analysis result module 30, configured to receive the analysis feedback information fed back by the DNS blockchain client, and determine an OID analysis result according to the analysis feedback information.
In the embodiment, the OID to be identified is analyzed to determine a parent node corresponding to the OID to be identified; searching a DNS blockchain client corresponding to the parent node, and sending a query request to the DNS blockchain client, so that the DNS blockchain client determines analysis feedback information of the OID to be identified in a DNS blockchain network based on the query request; and receiving the analysis feedback information fed back by the DNS block chain client, and determining an OID analysis result according to the analysis feedback information. In the embodiment, a traditional DNS system is not used, but a DNS system based on a block chain technology is used, and the problems of single point failure, single point invalidation and the like do not exist when OID analysis is performed through a DNS block chain network, and the problem of data tampering caused by illegal operation of a DNS root node is also avoided, so that the accuracy of OID analysis is improved.
In an embodiment, the object identifier resolution apparatus further includes an information adjusting module, configured to, when receiving an operation instruction corresponding to the OID to be identified, adjust the service configuration information according to the operation instruction to generate service configuration information to be processed; searching for a super node in the DNS blockchain network; and sending the service configuration information to be processed to the super node so that the super node writes the service configuration information to be processed into the DNS block chain network.
In an embodiment, the information adjusting module is further configured to determine operation information according to the operation instruction, and determine an operation type according to the operation information; and when the operation type is modification operation, adjusting the service configuration information according to the operation information.
In an embodiment, the information adjusting module is further configured to search blockchain network information corresponding to the DNS blockchain network; and extracting super node information from the block chain network information, and determining the super node according to the super node information.
In an embodiment, the node determining module 10 is further configured to, when an OID sent by an application is received, take the received OID as an OID to be identified; the analysis result module 30 is further configured to send the OID analysis result to the application program.
For other embodiments or specific implementation methods of the object identifier resolution apparatus according to the present invention, reference may be made to the above method embodiments, and details are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) readable by an estimator as described above and includes instructions for enabling a smart device (e.g. a mobile phone, an estimator, an object identifier resolution device, an air conditioner, or a network object identifier resolution device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
The invention discloses A1 and an object identifier analysis method, which comprises the following steps:
resolving an Object Identifier (OID) to be identified to determine a father node corresponding to the OID to be identified;
searching a DNS blockchain client corresponding to the parent node, and sending a query request to the DNS blockchain client, so that the DNS blockchain client determines analysis feedback information of the OID to be identified in a DNS blockchain network based on the query request;
and receiving the analysis feedback information fed back by the DNS block chain client, and determining an OID analysis result according to the analysis feedback information.
A2, the object identifier parsing method as in a1, where the parsing the to-be-identified object identifier OID to determine a parent node corresponding to the to-be-identified OID includes:
analyzing the OID to be identified to determine an OID node corresponding to the OID to be identified;
and searching a father node to be selected corresponding to the OID node, and taking the father node to be selected as the father node corresponding to the OID to be identified.
A3, the object identifier resolution method according to a2, where the finding of the parent node to be selected corresponding to the OID node includes:
searching a hierarchical block chain corresponding to the OID node;
and determining a parent node to be selected corresponding to the OID node according to the hierarchical block chain.
A4, before the object identifier resolution method as described in a1, the method further includes, before searching for a DNS blockchain client corresponding to the parent node and sending a query request to the DNS blockchain client:
searching a node type corresponding to the father node, and judging whether the father node is a light node or not according to the node type;
accordingly, the query request comprises a first query request;
the sending a query request to the DNS blockchain client to enable the DNS blockchain client to determine, based on the query request, analysis feedback information of the OID to be identified in the DNS blockchain network includes:
and when the father node is a light node, sending the first query request to the DNS blockchain client, so that the DNS blockchain client acquires analysis feedback information of the OID to be identified in the DNS blockchain network from a DNS server based on the first query request.
A5, the object identifier resolution method as in A4, wherein the determining whether the parent node is a light node according to the node type further comprises:
judging whether the father node is a full node or not according to the node type;
and when the father node is not the full node, executing the step of judging whether the father node is a light node according to the node type.
A6, the object identifier resolution method of A5, the query request comprising a second query request;
after the determining whether the father node is a full node according to the node type, the method further includes:
and when the parent node is a full node, sending the second query request to the DNS blockchain client, so that the DNS blockchain client searches the analysis feedback information of the OID to be identified in the DNS blockchain network in a local database based on the second query request.
A7, the object identifier resolution method according to any one of a1 to a6, where the receiving the resolution feedback information fed back by the DNS blockchain client and determining an OID resolution result according to the resolution feedback information, includes:
receiving the analysis feedback information fed back by the DNS block chain client;
extracting OID analysis resources corresponding to the OID to be identified from the analysis feedback information;
and determining service configuration information corresponding to the OID to be identified according to the OID analysis resources, and taking the service configuration information as an OID analysis result.
A8, the object identifier resolution method according to a7, further comprising, after receiving the resolution feedback information fed back by the DNS blockchain client and determining an OID resolution result according to the resolution feedback information:
when an operation instruction corresponding to the OID to be identified is received, adjusting the service configuration information according to the operation instruction to generate service configuration information to be processed;
searching for a super node in the DNS blockchain network;
and sending the service configuration information to be processed to the super node so that the super node writes the service configuration information to be processed into the DNS block chain network.
A9, the object identifier resolution method as in A8, the adjusting the service configuration information according to the operation instruction, comprising:
determining operation information according to the operation instruction, and determining an operation type according to the operation information;
and when the operation type is modification operation, adjusting the service configuration information according to the operation information.
A10, the object identifier resolution method of A8, the finding a super node in the DNS blockchain network, comprising:
searching block chain network information corresponding to the DNS block chain network;
and extracting super node information from the block chain network information, and determining the super node according to the super node information.
A11, as in any one of a1 to a6, before the analyzing the object identifier OID to be recognized to determine a parent node corresponding to the OID to be recognized, the object identifier analyzing method further includes:
when the OID sent by the application program is received, taking the received OID as the OID to be identified;
correspondingly, after the OID analysis result is determined according to the analysis feedback information, the method further includes:
and sending the OID analysis result to the application program.
The invention discloses B12, an object identifier resolving device, the object identifier resolving device includes:
the node determining module is used for analyzing the object identifier OID to be identified so as to determine a father node corresponding to the OID to be identified;
the query request module is used for searching a DNS blockchain client corresponding to the parent node and sending a query request to the DNS blockchain client so that the DNS blockchain client determines analysis feedback information of the OID to be identified in a DNS blockchain network based on the query request;
and the analysis result module is used for receiving the analysis feedback information fed back by the DNS block chain client and determining an OID analysis result according to the analysis feedback information.
B13, the object identifier parsing apparatus as in B12, where the node determining module is further configured to parse the OID to be identified to determine an OID node corresponding to the OID to be identified; and searching a father node to be selected corresponding to the OID node, and taking the father node to be selected as the father node corresponding to the OID to be identified.
B14, the object identifier resolution device as described in B13, the node determination module is further configured to find a hierarchical block chain corresponding to the OID node; and determining a parent node to be selected corresponding to the OID node according to the hierarchical block chain.
B15, the object identifier resolution device as defined in B12, the node determination module being further configured to search for the node type corresponding to the parent node, and determine whether the parent node is a light node according to the node type; and when the father node is a light node, sending the first query request to the DNS blockchain client, so that the DNS blockchain client acquires analysis feedback information of the OID to be identified in the DNS blockchain network from a DNS server based on the first query request.
B16, the object identifier resolution device as defined in B15, the node determination module further configured to determine whether the parent node is a full node according to the node type; and when the father node is not the full node, executing the step of judging whether the father node is a light node according to the node type.
B17, the object identifier resolution device according to B16, wherein the node determination module is further configured to send the second query request to the DNS blockchain client when the parent node is a full node, so that the DNS blockchain client searches a local database for resolution feedback information of the OID to be identified in the DNS blockchain network based on the second query request.
B18, the object identifier resolution device as described in B12, the resolution result module is further configured to receive the resolution feedback information fed back by the DNS blockchain client; extracting OID analysis resources corresponding to the OID to be identified from the analysis feedback information; and determining service configuration information corresponding to the OID to be identified according to the OID analysis resources, and taking the service configuration information as an OID analysis result.
The invention also discloses C19, an object identifier resolving device, comprising: a memory, a processor, and an object identifier resolution program stored on the memory and executable on the processor, the object identifier resolution program configured with steps to implement the object identifier resolution method as described above.
The invention also discloses D20 and a storage medium, wherein the storage medium is stored with an object identifier analysis program, and the object identifier analysis program realizes the steps of the object identifier analysis method when being executed by a processor.

Claims (10)

1. An object identifier resolution method, characterized by comprising the steps of:
resolving an Object Identifier (OID) to be identified to determine a father node corresponding to the OID to be identified;
searching a DNS blockchain client corresponding to the parent node, and sending a query request to the DNS blockchain client, so that the DNS blockchain client determines analysis feedback information of the OID to be identified in a DNS blockchain network based on the query request;
and receiving the analysis feedback information fed back by the DNS block chain client, and determining an OID analysis result according to the analysis feedback information.
2. The object identifier resolution method according to claim 1, wherein the resolving the object identifier to be identified OID to determine a parent node corresponding to the OID includes:
analyzing the OID to be identified to determine an OID node corresponding to the OID to be identified;
and searching a father node to be selected corresponding to the OID node, and taking the father node to be selected as the father node corresponding to the OID to be identified.
3. The object identifier resolution method according to claim 2, wherein the searching for the parent node to be selected corresponding to the OID node comprises:
searching a hierarchical block chain corresponding to the OID node;
and determining a parent node to be selected corresponding to the OID node according to the hierarchical block chain.
4. The object identifier resolution method according to claim 1, wherein before the searching for the DNS blockchain client corresponding to the parent node and sending the query request to the DNS blockchain client, the method further comprises:
searching a node type corresponding to the father node, and judging whether the father node is a light node or not according to the node type;
accordingly, the query request comprises a first query request;
the sending a query request to the DNS blockchain client to enable the DNS blockchain client to determine, based on the query request, analysis feedback information of the OID to be identified in the DNS blockchain network includes:
and when the father node is a light node, sending the first query request to the DNS blockchain client, so that the DNS blockchain client acquires analysis feedback information of the OID to be identified in the DNS blockchain network from a DNS server based on the first query request.
5. The object identifier resolution method according to claim 4, wherein before determining whether the parent node is a light node according to the node type, the method further comprises:
judging whether the father node is a full node or not according to the node type;
and when the father node is not the full node, executing the step of judging whether the father node is a light node according to the node type.
6. The object identifier resolution method according to claim 5, wherein the query request includes a second query request;
after the determining whether the father node is a full node according to the node type, the method further includes:
and when the parent node is a full node, sending the second query request to the DNS blockchain client, so that the DNS blockchain client searches the analysis feedback information of the OID to be identified in the DNS blockchain network in a local database based on the second query request.
7. The object identifier resolution method according to any one of claims 1 to 6, wherein the receiving the resolution feedback information fed back by the DNS blockchain client and determining an OID resolution result according to the resolution feedback information comprises:
receiving the analysis feedback information fed back by the DNS block chain client;
extracting OID analysis resources corresponding to the OID to be identified from the analysis feedback information;
and determining service configuration information corresponding to the OID to be identified according to the OID analysis resources, and taking the service configuration information as an OID analysis result.
8. An object identifier resolution apparatus, comprising:
the node determining module is used for analyzing the object identifier OID to be identified so as to determine a father node corresponding to the OID to be identified;
the query request module is used for searching a DNS blockchain client corresponding to the parent node and sending a query request to the DNS blockchain client so that the DNS blockchain client determines analysis feedback information of the OID to be identified in a DNS blockchain network based on the query request;
and the analysis result module is used for receiving the analysis feedback information fed back by the DNS block chain client and determining an OID analysis result according to the analysis feedback information.
9. An object identifier resolution device, characterized in that the object identifier resolution device comprises: a memory, a processor, and an object identifier resolution program stored on the memory and executable on the processor, the object identifier resolution program being configured with steps to implement the object identifier resolution method of any of claims 1 to 7.
10. A storage medium having stored thereon an object identifier resolution program, which when executed by a processor implements the steps of the object identifier resolution method according to any one of claims 1 to 7.
CN202110492774.0A 2021-05-06 2021-05-06 Object identifier analysis method, device, equipment and storage medium Pending CN113301180A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110492774.0A CN113301180A (en) 2021-05-06 2021-05-06 Object identifier analysis method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110492774.0A CN113301180A (en) 2021-05-06 2021-05-06 Object identifier analysis method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113301180A true CN113301180A (en) 2021-08-24

Family

ID=77320897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110492774.0A Pending CN113301180A (en) 2021-05-06 2021-05-06 Object identifier analysis method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113301180A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114157636A (en) * 2021-12-06 2022-03-08 中国电子技术标准化研究院 Analysis method for OID (object identifier) nodes which do not support ORS (object identifier)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114157636A (en) * 2021-12-06 2022-03-08 中国电子技术标准化研究院 Analysis method for OID (object identifier) nodes which do not support ORS (object identifier)
CN114157636B (en) * 2021-12-06 2023-10-03 中国电子技术标准化研究院 Analysis method for OID node not supporting ORS

Similar Documents

Publication Publication Date Title
KR102514325B1 (en) Model training system and method, storage medium
CN109558748B (en) Data processing method and device, electronic equipment and storage medium
US11150874B2 (en) API specification generation
US10609035B2 (en) Access guards for multi-tenant logging
US11716349B2 (en) Machine learning detection of database injection attacks
US9792374B2 (en) Method and system for facilitating terminal identifiers
US8612466B2 (en) Information processing apparatus, document retrieval system, document retrieval method, and program
CN110598280B (en) Equipment simulation system and method and computer readable storage medium
US8775489B2 (en) Database-based logs exposed via LDAP
US8745088B2 (en) System and method of performing risk analysis using a portal
US8977845B2 (en) Methods and apparatus for access control in service-oriented computing environments
CN107682361B (en) Website vulnerability scanning method and device, computer equipment and storage medium
US20110264767A1 (en) Interactive processing method and apparatus between content-id management servers
US20080162444A1 (en) System and method for monitoring and providing patent information automatically
CN113301180A (en) Object identifier analysis method, device, equipment and storage medium
Abbott et al. Automated recognition of event scenarios for digital forensics
CN114793244B (en) Resource processing method, device, equipment and medium for block chain
US7912965B2 (en) System and method for anomalous directory client activity detection
CN114257436A (en) Access security management method and system suitable for bastion machine, electronic device and readable storage medium
CN116070191A (en) Information processing method and device, storage medium, and program product
US20150206075A1 (en) Efficient Decision Making
US20230333917A1 (en) Methods for providing compliance indicators for api specifications
CN116701185A (en) Code debugging method of real-time task and electronic equipment
CN117271845A (en) Parameter storage method, apparatus, electronic device, and computer-readable storage medium
CN116910053A (en) Data timeout management method and device, electronic equipment and readable storage medium

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