CN112929464B - Identification analysis method, device, system, dynamic adapter and readable storage medium - Google Patents

Identification analysis method, device, system, dynamic adapter and readable storage medium Download PDF

Info

Publication number
CN112929464B
CN112929464B CN202110198909.2A CN202110198909A CN112929464B CN 112929464 B CN112929464 B CN 112929464B CN 202110198909 A CN202110198909 A CN 202110198909A CN 112929464 B CN112929464 B CN 112929464B
Authority
CN
China
Prior art keywords
analysis
identification
identifier
server
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110198909.2A
Other languages
Chinese (zh)
Other versions
CN112929464A (en
Inventor
张尼
吴云峰
薛继东
雷坤鹏
李末军
韩庆敏
魏利卓
柴处处
许彦彬
彭思瑀
马瑞瑞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
6th Research Institute of China Electronics Corp
Original Assignee
6th Research Institute of China Electronics Corp
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 6th Research Institute of China Electronics Corp filed Critical 6th Research Institute of China Electronics Corp
Priority to CN202110198909.2A priority Critical patent/CN112929464B/en
Publication of CN112929464A publication Critical patent/CN112929464A/en
Application granted granted Critical
Publication of CN112929464B publication Critical patent/CN112929464B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • 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
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Abstract

The application provides an identification analysis method, a device, a system, a dynamic adapter and a readable storage medium, wherein the method comprises the following steps: when an identification analysis request is received, identifying the identification type of the identification requested to be analyzed by the identification analysis request according to the coding rule or the keyword of the identification requested to be analyzed by the identification analysis request; determining a target analysis server corresponding to the identification type according to the corresponding relation between the preset identification type and the analysis server; and sending the identification analysis request to a target analysis server for analysis by the target analysis server. Therefore, the user does not need to distinguish the type of the identifier any more, so that the user logs in different analysis systems, cooperative management of different analysis servers is realized, the problem of compatibility among the analysis servers is solved to a certain extent, the user only needs to send the identifier analysis request to the dynamic adapter, the complexity of user operation and the workload of the user are effectively reduced, and the user experience is improved.

Description

Identification analysis method, device, system, dynamic adapter and readable storage medium
Technical Field
The present application relates to the field of information processing technologies, and in particular, to an identifier resolution method, apparatus, system, dynamic adapter, and readable storage medium.
Background
Most of the existing network analysis systems are single-purpose and cannot simultaneously analyze information of different identifications (such as internet domain names, industrial internet identifications and the like). For example, the domain name resolution system can only resolve internet domain names, and the Handle identifier resolution system can only resolve Handle identifiers. That is, the single-function parsing system cannot simultaneously parse different identifiers, and if a user needs different parsing services, the user needs to log in different parsing systems, which increases the complexity of user operation, and further increases the workload of the user and reduces the user experience.
Disclosure of Invention
An object of the embodiments of the present application is to provide an identifier parsing method, an identifier parsing apparatus, an identifier parsing system, a dynamic adapter, and a readable storage medium, so as to solve the technical problems that different parsing systems are difficult to be compatible and the user operation complexity is high in the prior art.
The embodiment of the application provides an identifier resolution method, which is applied to a dynamic adapter and comprises the following steps: when an identification analysis request is received, identifying the identification type of the identification requested to be analyzed by the identification analysis request according to the coding rule or the keyword of the identification requested to be analyzed by the identification analysis request; determining a target analysis server corresponding to the identifier type according to the corresponding relation between the preset identifier type and the analysis server; and sending the identification analysis request to the target analysis server for analysis by the target analysis server.
In the implementation process, the dynamic adapter is arranged to receive the identifier analysis request, so that after the identifier type of the identifier required to be analyzed is identified, the identifier analysis request is sent to the analysis server corresponding to the identifier type for analysis. Therefore, the identification analysis request firstly reaches the dynamic adapter, the identification type is determined by the dynamic adapter, and then the identification analysis request is sent to the corresponding analysis server according to the corresponding relation between the preset identification type and the analysis server, so that a user does not need to distinguish the identification type any more, and logs in different analysis systems, and cooperative management of different analysis servers is realized, thereby solving the compatibility problem among the analysis servers to a certain extent, ensuring that the user only needs to send the identification analysis request to the dynamic adapter, effectively reducing the complexity of user operation and the workload of the user, and improving the user experience.
In addition, in the practical application process, different identifiers have different encoding standards, so that different identifiers have different encoding rules and different keywords. Therefore, in the method, the type of the identifier is identified according to the encoding rule or the keyword of the identifier, so that the identification type can be rapidly and accurately determined, and the smooth execution of the scheme of the method is guaranteed.
Further, identifying the identifier type of the identifier requested to be parsed by the identifier parsing request according to the encoding rule of the identifier requested to be parsed by the identifier parsing request includes: identifying a coding rule of the identity; matching the coding rule with a standard coding rule in a preset identification list, and determining a target standard coding rule matched with the coding rule; acquiring an identification type corresponding to the target standard coding rule; and the identification type corresponding to the target standard coding rule is the identification type of the identification.
In the implementation process, the coding rule of the identifier requested to be analyzed is compared with the standard coding rule in a mode of constructing an identifier list with the standard coding rule in advance, so that the identifier type can be determined quickly and accurately.
Further, identifying the identifier type of the identifier requested to be parsed by the identifier parsing request according to the keyword of the identifier requested to be parsed by the identifier parsing request includes: matching keywords corresponding to each preset identification type with the identification respectively; and when the keyword corresponding to any identifier type has a matched keyword in the identifiers, determining the identifiers as the identifier types.
In the implementation process, the keywords corresponding to the identification types are preset, so that the keywords corresponding to the identification types are matched with the identifications, and the identification types are determined quickly and accurately.
Further, the preset correspondence between the identifier type and the resolution server includes at least two of the following types: the corresponding relation between the domain name type and a preset domain name resolution server; the corresponding relation between the type of the Handle identification and a preset Handle identification analysis server; the corresponding relation between the object identifier type and a preset object identifier analysis server; and the corresponding relation between the type of the product electronic code and a preset product electronic code analysis server.
In the implementation process, the compatibility of various types of identifiers can be realized, so that a user only needs to send an identifier analysis request to the dynamic adapter, the complexity of user operation and the workload of the user are effectively reduced, and the user experience is improved.
Further, before sending the identifier resolution request to the target resolution server, the method further comprises: sending a query request of the identifier analysis request to a preset log cache server; receiving a message which is returned by the log cache server and indicates that no analysis log corresponding to the identification analysis request exists; correspondingly, after receiving the analysis result returned by the target analysis server, the method further comprises: and storing the analysis result into the log cache server in a log form.
In the implementation process, before the identifier analysis request is sent to the target analysis server, the log cache server is queried, and when there is no analysis log corresponding to the identifier analysis request in the log cache server, the identifier analysis request is sent to the target analysis server, and after the target analysis server returns an analysis result, the analysis result is stored in the log cache server in a log form. Therefore, the mark analysis request which is analyzed before and the corresponding log file exists in the log cache server can quickly obtain the corresponding analysis result from the log file without the analysis server, so that the load of the analysis server can be reduced, and the analysis efficiency can be improved.
Further, when receiving a message that the analysis log corresponding to the identifier analysis request does not exist in the representation returned by the log cache server, the method further includes: requesting the log cache server to perform log dotting; the storing the analysis result in a log form to the log cache server includes: and sending the analysis result to the log cache server so that the log cache server writes the analysis result into a log file from a log dotting point.
In the implementation process, the analysis result can be rapidly and effectively recorded in the log file by a log dotting mode, and the query is ensured, so that the reliability of the scheme provided by the embodiment of the application is ensured.
An embodiment of the present application further provides an identifier resolution system, including: the system comprises a central control node, a dynamic adapter and at least two analysis servers, wherein the central control node, the dynamic adapter and each analysis server form a block chain; the configuration information of the dynamic adapter and each analysis server is used as a block chain file and is stored on the block chain; the central control node is used for modifying the block chain file when receiving a modification instruction and synchronizing the modified block chain file to a block chain; the dynamic adapter and each analysis server are used for identifying the modified block chain file, and updating the configuration of the block chain file according to the modified content when the modified content in the modified block chain file is determined to belong to the content of the block chain file.
In the implementation process, a block chain is formed by the central control node, the dynamic adapter and at least two analysis servers, the configuration information of the dynamic adapter and each analysis server is used as a block chain file and is stored in the block chain, and the block chain file is managed through the central control node. Therefore, when the configuration file needs to be modified, the configuration file needs to be modified from the central control node, so that the authority management is convenient to realize, and the data security is ensured. And the mechanism based on the block chain can effectively prevent the data on the node from being maliciously tampered, thereby further ensuring the security of the data.
Further, the dynamic adapter is further configured to: when an identification analysis request is received, identifying the identification type of the identification requested to be analyzed by the identification analysis request according to the coding rule or the keyword of the identification requested to be analyzed by the identification analysis request; determining a target analysis server corresponding to the identifier type from each analysis server according to a preset identifier type and analysis server corresponding relation; sending the identifier analysis request to the target analysis server; each of the parsing servers is further configured to: when receiving an identifier analysis request sent by the dynamic adapter, analyzing the identifier requested to be analyzed by the identifier analysis request.
Through the implementation process, the identification analysis system can realize cooperative management of different analysis servers, so that a user does not need to distinguish the types of the identifications any more, and only needs to send the identification analysis request to the dynamic adapter, thereby effectively reducing the complexity of user operation and the workload of the user, and improving the user experience.
In addition, the dynamic adapter identifies the type of the identifier according to the encoding rule or the keyword of the identifier, so that the identification type can be quickly and accurately determined, and the smooth execution of the scheme of the application is guaranteed.
An embodiment of the present application further provides an identifier parsing apparatus, including: the device comprises an identification module, a determination module and a sending module; the identification module is used for identifying the identification type of the identification requested to be analyzed by the identification analysis request when the identification analysis request is received; the determining module is used for determining a target analysis server corresponding to the identifier type according to the corresponding relation between the preset identifier type and the analysis server; and the sending module is used for sending the identification analysis request to the target analysis server so as to be analyzed by the target analysis server.
The embodiment of the application also provides a dynamic adapter, which comprises a processor, a memory and a communication bus; the communication bus is used for realizing connection communication between the processor and the memory; the processor is configured to execute one or more programs stored in the memory to implement any of the above-described identity resolution methods.
Also provided in an embodiment of the present application is a computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement any of the identity resolution methods described above.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic flowchart of an identifier resolution method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a basic structure of an identifier resolution system according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an identifier resolution system with a log cache server according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an identifier resolution system having a block chain structure of a central control node according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an exemplary identifier resolution system according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an identifier resolution apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
The first embodiment is as follows:
in order to improve user experience and reduce user operation complexity, the embodiment of the application provides an identifier resolution method. Referring to fig. 1, fig. 1 is a schematic flow chart of an identifier resolution method provided in an embodiment of the present application, including:
s101: when an identifier analysis request is received, the identifier type of the identifier requested to be analyzed by the identifier analysis request is identified according to the encoding rule or the keyword of the identifier requested to be analyzed by the identifier analysis request.
Referring to fig. 2, in an embodiment of the present application, an identifier resolution system is further provided, which includes a dynamic adapter, and resolution servers connected to the dynamic adapter and corresponding to various identifier types.
It should be noted that the identifier resolution method provided in the embodiment of the present application is applied to a dynamic adapter.
In this embodiment of the present application, the dynamic adapter may serve as an entry device of the identifier resolution system, and receive an identifier resolution request.
In the embodiment of the application, a user can send an identifier resolution request to a dynamic adapter through terminal equipment and the like. In addition, an input device may also be configured on the dynamic adapter so that a user may directly input an identification resolution request into the dynamic adapter.
It should be noted that the Identifier in the embodiment of the present application may be one or more of a domain name, a Handle Identifier, an OID Identifier, an EPC (Electronic Product Code), and the like.
In the embodiment of the application, an identifier list can be preset in the dynamic adapter, and standard coding rules corresponding to each identifier type are configured in the identifier list. For example, for domain names, the standard encoding rule is www.XXX.com, www.XXX.cn (where "XXX" represents arbitrary web site content), and so on. For the Handle identification, a two-segment naming mechanism is adopted, the standard coding rule is 'prefix/suffix', the prefix is an authoritative domain, the suffix is a local domain, and the authoritative domain and the local domain are named separately by '/'. For OID identification, a hierarchical tree coding structure is adopted, different layers are separated by ". times", the standard coding rule is xx.xx.xx.xx.xx …, and the length of each layer is not limited, and the number of layers is not limited. For example, 1.2.156.326, each numeral indicates 1(ISO (International Organization for Standardization)), 2 (country), 156 (china), and 326 (department of agriculture). For EPC tag, which is a group of numbers consisting of data fields such as header, manufacturer identification code, object classification code, serial number, etc., there are 3 structures of 64 bits, 96 bits and 256 bits, and the encoding rules of different structures are slightly different, such as EPC-96 as an example, and the standard encoding rule is 8 bits header (version number) +28 bits manufacturer identification code +36 bits sequence number +24 bits object classification code.
In the embodiment of the present application, a standard encoding rule corresponding to each identifier type may be defined in the identifier list in advance according to the encoding specification of each type identifier.
When an identifier analysis request is received, the encoding rule of the identifier can be identified and matched with the standard encoding rule in the preset identifier list, so that the target standard encoding rule matched with the encoding rule is determined. And then, the identification type corresponding to the target standard coding rule can be obtained, and the identification type is the identification type of the identification required to be analyzed.
For example, if an identifier resolution request is received, and the identifier requested to be resolved is www.12345.com, the encoding rule is identified as www.XXX.com, the identifier is matched with the standard encoding rule, and the standard encoding rule of the domain name can be matched, so that the identifier type of the identifier can be determined as the domain name, and the identifier resolution request can be sent to a domain name resolution server connected to the dynamic adapter for resolution.
In addition, in the embodiment of the present application, since the encoding rules corresponding to different identifiers are different, different keywords may exist between different identifiers. For example, for domain names, it has the keywords "www", "com", "cn", etc., for Handle identities it has the keyword "/" and for OID identities it has the keyword ".
Therefore, in the embodiment of the application, after receiving the identifier parsing request, the preset keywords corresponding to each identifier type may be respectively matched with the identifier; when the keyword corresponding to any identifier type has a matched keyword in the identifier, the identifier can be determined to be the identifier type.
It should be noted that in an actual application process, a "/" and "-" may often exist in a domain name, and therefore, when a domain name resolution system has a domain name resolution capability (that is, a dynamic adapter is connected to a domain name resolution server and stores keywords of a domain name), a case where one identifier has multiple identifier types may be identified in the above manner (for example, the domain name www.12345.com, and the identifier types are identified as a domain name and an OID identifier according to the foregoing keywords), resulting in inaccurate type identification.
In the embodiment of the present application, one solution at this time is that an identifier parsing request of the identifier may be sent to target parsing servers corresponding to all identifier types. Therefore, the wrong identifier analysis server returns the information which cannot be processed, and the correct identifier analysis server can carry out analysis normally and return an analysis result, so that the correct analysis of the identifier can be ensured.
In addition, in another solution of the embodiment of the present application, after the problem occurs, it may be determined that the identification type is a domain name. This is because, when the identity resolution system has a domain name resolution capability and also has a resolution capability of one or both of the OID identity and the Handle identity, the keywords of the OID identity and the Handle identity do not repeatedly appear in the OID identity and the Handle identity, and thus there is no case where the OID identity and the Handle identity are recognized at the same time. Since the key of the domain name is unique to the domain name, there is no case where the OID identifier or the Handle identifier is recognized as the domain name. It may only be the case that a domain name is recognized simultaneously for a plurality of identification types. Thus, when this occurs, the identity may be determined to be a domain name.
It should be noted that, in the embodiment of the present application, an engineer may configure the identification type recognition capability of the dynamic adapter according to actual needs. For example, when the dynamic adapter is connected to only the domain name resolution server and the Handle identifier resolution server, only the standard encoding rules or keywords of the two identifier types, namely, the domain name and the Handle identifier, may be configured.
S102: and determining a target analysis server corresponding to the identifier type according to the corresponding relation between the preset identifier type and the analysis server.
It should be noted that, in the embodiment of the present application, the correspondence between the identifier type and the resolution server may be configured by an engineer according to an actual connection condition between the dynamic adapter and the resolution server, and the correspondence may be adapted to the resolution capability of the identifier resolution system.
For example, the dynamic adapter is only connected with the domain name resolution server and the Handle identifier resolution server, so that when configuring, only the corresponding relationship between the domain name type and the preset domain name resolution server and the corresponding relationship between the Handle identifier type and the preset Handle identifier resolution server may be configured.
In this embodiment of the present application, the configured corresponding relationship may include a communication address of an analysis server corresponding to an identifier type, so that the dynamic adapter may send an identifier analysis request to a corresponding target analysis server.
S103: and sending the identification analysis request to a target analysis server for analysis by the target analysis server.
In the embodiment of the application, after the target analysis server completes analysis, the analysis result can be returned to the dynamic adapter. And after receiving the analysis result of the target server, the dynamic adapter can return the analysis result to the user.
It should be noted that in practical applications, there are often many identity resolution requests for the same identity. In addition, in the practical application process, in order to facilitate data backtracking and fault location, a log technology is often adopted in the identification analysis system, so that when a system fails, the system can be rapidly located through tracing in a log recording mode.
In the embodiment of the present application, in order to improve the resolution efficiency of the identifier and not to increase the system load, a method of recording the resolved resolution result in a log may be adopted, so that the resolution efficiency is improved by using the log.
For example, as shown in fig. 3, in the embodiment of the present application, a log cache server may be disposed in the identifier resolution system, so that after receiving the identifier resolution request, the dynamic adapter may first send a query request of the identifier resolution request to the log cache server.
After receiving the query request sent by the dynamic adapter, the log cache server can search the analysis log corresponding to the identifier analysis request in the cached log.
If the analysis log is found, the analysis log can be returned, so that the dynamic adapter can take out the analysis result from the analysis log and return the analysis result to the user. Or the analysis result can be taken out and then directly returned for the dynamic adapter to return to the user.
If not, a message indicating that the analysis log corresponding to the identifier analysis request does not exist can be returned to the dynamic adapter.
And after receiving a message which is returned by the log cache server and indicates that the analysis log corresponding to the identification analysis request does not exist, the dynamic adapter can send the identification analysis request to the target analysis server.
It should be noted that, in this embodiment of the present application, after receiving a message that indicates that there is no analysis log corresponding to the identifier analysis request and returned by the log cache server, the dynamic adapter may also perform log dotting on the request of the log cache server, and then after receiving an analysis result returned by the target analysis server, send the analysis result to the log cache server, so that the log cache server writes the analysis result into the log file from the log dotting point.
Illustratively, in this embodiment of the application, after receiving a message that indicates that there is no analysis log corresponding to the identifier analysis request, the dynamic adapter may perform log dotting on the request of the log cache server, where the log cache server constructs a log file including the identifier when the log is dotted. When the dynamic adapter sends the analysis result to the log cache server, the dynamic adapter can carry the identifier corresponding to the analysis result, so that the log cache server can write the analysis result into the corresponding log file when receiving the analysis result sent by the dynamic adapter.
It should be noted that, in the embodiment of the present application, the conventional log caching server may be added with the capability of writing an identifier and parsing a result in a log file through an AOP (Aspect Oriented Programming) technology without modifying the source code of the log caching server, so as to ensure the implementability of the foregoing scheme.
It should be understood that, in the embodiment of the present application, in order to ensure the reliability of data, the dynamic adapter and each resolution server may form a blockchain, and important information (such as configuration information) of each device may be put on the blockchain for storage. Therefore, important information is effectively prevented from being tampered by using a block chain mechanism.
For example, a preset identifier list of the dynamic adapter or a keyword corresponding to each identifier type (in this embodiment, the foregoing information may be used as configuration information of the dynamic adapter), and the configuration information of each parsing server may be placed on the blockchain as a blockchain file to be saved.
It should be noted that, in order to improve the security of data on the blockchain, in the embodiment of the present application, a central control node may also be set in the identifier resolution system, for example, as shown in fig. 4, the central control node is connected into the blockchain and is limited to have a modification authority for the blockchain file, and the remaining nodes in the blockchain do not have the modification authority for the blockchain file.
Therefore, when a certain configuration information needs to be modified, an engineer can issue a modification instruction to the central control node, so that the central control node modifies the blockchain file according to the modification instruction, and synchronizes the modified blockchain file to the blockchain.
At this time, the other nodes in the blockchain can identify the modified blockchain file, and determine whether the modified content in the modified blockchain file belongs to the content of the modified blockchain file. If so, the configuration of the user can be updated according to the modification content.
For example, in the embodiment of the present application, when a certain node in a blockchain determines that a modified configuration file in a modified blockchain file belongs to its own configuration file, the modified configuration file may be overwritten on the original configuration file, and then the bind function is restarted, so that the modified configuration file is ensured to be valid.
In addition, when the log cache server is arranged, the log cache server can also be accessed to the block chain, and the configuration information of the log cache server is placed on the block chain for storage, so that the addition of the capability of writing the identification and the analysis result in the log file in the log cache server is realized under a safe and reliable environment.
In the embodiment of the present application, the central control node may be a new application independent of the dynamic adapter, each resolution server, and the log cache server, but may also be a single central control node among the dynamic adapter, each resolution server, and the log cache server. It should be noted that, after the modification of the block chain file is performed at this time, the central control node itself also needs to determine whether the modified content belongs to its own content.
According to the identification analysis method and the identification analysis system provided by the embodiment of the application, the identification analysis request is received by arranging the dynamic adapter, so that after the identification type of the identification required to be analyzed is identified, the identification analysis request is sent to the analysis server corresponding to the identification type for analysis. Therefore, the identification analysis request firstly reaches the dynamic adapter, the identification type is determined by the dynamic adapter, and then the identification analysis request is sent to the corresponding analysis server according to the corresponding relation between the preset identification type and the analysis server, so that a user does not need to distinguish the identification type any more, and logs in different analysis systems, and cooperative management of different analysis servers is realized, thereby solving the compatibility problem among the analysis servers to a certain extent, ensuring that the user only needs to send the identification analysis request to the dynamic adapter, effectively reducing the complexity of user operation and the workload of the user, and improving the user experience.
In addition, in the embodiment of the application, the type of the identifier is identified according to the encoding rule or the keyword of the identifier, so that the identification type can be quickly and accurately determined, and the smooth execution of the scheme of the application is guaranteed.
In addition, in the embodiment of the application, the analysis result of the identifier is recorded by adopting the log file, so that the analysis efficiency can be effectively improved.
In addition, by combining the central control node and the block chain technology, high-security management and control over the data are achieved, and reliability of the data in the scheme of the embodiment of the application is guaranteed.
Example two:
the present embodiment further illustrates the present application with a specific example case on the basis of the first embodiment.
It is assumed that the identifier resolution system is as shown in fig. 5, the dynamic adapter is connected to a domain name resolution server and a Handle identifier resolution server, and standard coding rules of the domain name resolution server and the Handle identifier resolution server are preset in the dynamic adapter.
At this time, when the domain name is used as input, the system enters an identification resolution system. The dynamic adapter matches the input content with the standard coding rules of the domain name resolution server and the Handle identification resolution server, determines that the input content is an internet domain name, and sends a query request of the domain name to the log cache server.
If the log cache server stores the analysis log of the domain name, the analysis log is returned, and the dynamic adapter takes out the analysis result in the analysis day and returns the analysis result to the user.
And if the log cache server does not store the resolution log of the domain name, returning a message for representing that the corresponding resolution log does not exist. The dynamic adapter sends the domain name to the corresponding domain name resolver and performs log dotting on the request of the log cache server. The log cache server builds a log file with the domain name.
The domain name resolution server inquires whether the resolution record of the domain name is stored in the domain name resolution server, and if the resolution record of the domain name is stored in the domain name resolution server, the resolution is carried out and a resolution result is returned. If not, carrying out recursion and iterative query according to the traditional domain name resolution method, and returning a resolution result to the dynamic adapter after successful resolution.
And the dynamic adapter sends a dotting request to the log cache server again, and sends the analysis result to the log cache server so that the log cache server writes the analysis result into a log file from the log dotting point.
By the scheme, the dilemma that the current analysis system can only realize single identification is solved.
Example three:
based on the same inventive concept, the embodiment of the present application further provides an identifier parsing apparatus 100. Referring to fig. 6, fig. 6 illustrates an identifier resolution apparatus using the method shown in fig. 1. It should be understood that the specific functions of the apparatus 100 can be referred to the above description, and the detailed description is omitted here as appropriate to avoid redundancy. The device 100 includes at least one software functional module that can be stored in memory in the form of software or firmware or solidified in the operating system of the device 100. Specifically, the method comprises the following steps:
referring to fig. 6, the apparatus 100 is applied to a dynamic adapter, and includes: an identification module 101, a determination module 102 and a sending module 103. Wherein:
the identification module 101 is configured to, when receiving an identifier resolution request, identify an identifier type of an identifier requested to be resolved by the identifier resolution request according to an encoding rule or a keyword of the identifier requested to be resolved by the identifier resolution request;
the determining module 102 is configured to determine, according to a preset correspondence between an identifier type and an analysis server, a target analysis server corresponding to the identifier type;
the sending module 103 is configured to send the identifier parsing request to the target parsing server, so that the target parsing server parses the identifier.
In a feasible implementation manner of the embodiment of the present application, the identification module 101 is specifically configured to identify a coding rule of the identifier, match the coding rule with a standard coding rule in a preset identifier list, determine a target standard coding rule matched with the coding rule, and obtain an identifier type corresponding to the target standard coding rule; and the identification type corresponding to the target standard coding rule is the identification type of the identification.
In another possible implementation manner of the embodiment of the present application, the identification module 101 is specifically configured to match keywords corresponding to preset identifier types with the identifiers respectively; and when the keyword corresponding to any identifier type has a matched keyword in the identifiers, determining the identifiers as the identifier types.
In this embodiment of the present application, the preset correspondence between the identifier type and the resolution server includes at least two of the following types: the corresponding relation between the domain name type and a preset domain name resolution server; the corresponding relation between the type of the Handle identification and a preset Handle identification analysis server; the corresponding relation between the object identifier type and a preset object identifier analysis server; and the corresponding relation between the type of the product electronic code and a preset product electronic code analysis server.
In a feasible implementation manner of the embodiment of the present application, the apparatus 100 further includes a processing module, configured to send an inquiry request of the identifier resolution request to a preset log cache server before sending the identifier resolution request to the target resolution server, receive a message that indicates that there is no resolution log corresponding to the identifier resolution request and returned by the log cache server, and request the log cache server to perform log dotting; and after receiving the analysis result returned by the target analysis server, sending the analysis result to the log cache server so that the log cache server writes the analysis result into a log file from a log printing point.
It should be understood that, for the sake of brevity, the contents described in some embodiments are not repeated in this embodiment.
Example four:
the present embodiment provides a dynamic adapter, which is shown in FIG. 7 and includes a processor 701, a memory 702, and a communication bus 703. Wherein:
the communication bus 703 is used for connecting communication between the processor 701 and the memory 702.
The processor 701 is configured to execute one or more programs stored in the memory 702 to implement the identifier resolution method in the first embodiment and/or the second embodiment.
It will be appreciated that the configuration shown in FIG. 7 is merely illustrative and that the dynamic adapter may include more or fewer components than shown in FIG. 7 or have a different configuration than shown in FIG. 7. In the embodiment of the present application, the dynamic adapter may be implemented by using various existing electronic devices having information processing capability, communication capability, and information storage capability.
The present embodiment further provides a readable storage medium, such as a floppy disk, an optical disk, a hard disk, a flash Memory, a usb (Secure Digital Memory Card), an MMC (Multimedia Card), etc., in which one or more programs for implementing the above steps are stored, and the one or more programs can be executed by one or more processors to implement the identifier parsing method in the first embodiment and/or the second embodiment. And will not be described in detail herein.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed coupling or direct coupling or communication connection between each other may be through some communication interfaces, indirect coupling or communication connection between devices or units, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
In this context, a plurality means two or more.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (8)

1. The identification analysis method is characterized by being applied to a dynamic adapter of an identification analysis system, wherein the identification analysis system comprises the dynamic adapter and analysis servers which are connected with the dynamic adapter and correspond to various identification types; the dynamic adapter is an inlet device of the identification analysis system; the identification analysis method comprises the following steps:
when an identification analysis request is received, identifying the identification type of the identification requested to be analyzed by the identification analysis request according to the coding rule or the keyword of the identification requested to be analyzed by the identification analysis request;
determining a target analysis server corresponding to the identifier type according to the corresponding relation between the preset identifier type and the analysis server;
sending the identification analysis request to the target analysis server for analysis by the target analysis server;
before sending the identifier resolution request to the target resolution server, the method further comprises:
sending a query request of the identifier analysis request to a preset log cache server;
receiving a message which is returned by the log cache server and indicates that no analysis log corresponding to the identification analysis request exists, and requesting the log cache server to perform log dotting;
correspondingly, after receiving the analysis result returned by the target analysis server, the method further comprises:
sending the analysis result to the log cache server, so that the log cache server writes the analysis result into a log file from a log dotting position;
the method further comprises the following steps:
receiving an analysis log corresponding to the identification analysis request returned by the log cache server, taking an analysis result from the analysis log and returning the analysis result to a user;
or, receiving the analysis result corresponding to the identifier analysis request returned by the log cache server and returning the analysis result to the user; and the analysis result is taken out from the analysis log corresponding to the identification analysis request by the log cache server.
2. The identity resolution method of claim 1, wherein identifying the identity type of the identity requested to be resolved by the identity resolution request according to an encoding rule of the identity requested to be resolved by the identity resolution request comprises:
identifying a coding rule of the identity;
matching the coding rule with a standard coding rule in a preset identification list, and determining a target standard coding rule matched with the coding rule;
acquiring an identification type corresponding to the target standard coding rule; and the identification type corresponding to the target standard coding rule is the identification type of the identification.
3. The identity resolution method of claim 1, wherein identifying the identity type of the identity requested to be resolved by the identity resolution request according to the keyword of the identity requested to be resolved by the identity resolution request comprises:
matching keywords corresponding to each preset identification type with the identification respectively;
and when the keyword corresponding to any identifier type has a matched keyword in the identifiers, determining the identifiers as the identifier types.
4. The identifier resolution method according to claim 1, wherein the preset identifier type and resolution server mapping relationship includes at least two of the following:
the corresponding relation between the domain name type and a preset domain name resolution server;
the corresponding relation between the type of the Handle identification and a preset Handle identification analysis server;
the corresponding relation between the object identifier type and a preset object identifier analysis server;
and the corresponding relation between the type of the product electronic code and a preset product electronic code analysis server.
5. An identity resolution system, comprising: the system comprises a central control node, a dynamic adapter and at least two analysis servers, wherein the central control node, the dynamic adapter and each analysis server form a block chain;
the configuration information of the dynamic adapter and each analysis server is used as a block chain file and is stored on the block chain;
the central control node is used for modifying the block chain file when receiving a modification instruction and synchronizing the modified block chain file to a block chain;
the dynamic adapter and each analysis server are used for identifying the modified block chain file, and updating the configuration of the block chain file according to the modified content when the modified content in the modified block chain file is determined to belong to the content of the block chain file;
the dynamic adapter is further configured to:
when an identification analysis request is received, identifying the identification type of the identification requested to be analyzed by the identification analysis request according to the coding rule or the keyword of the identification requested to be analyzed by the identification analysis request;
determining a target analysis server corresponding to the identifier type from each analysis server according to a preset identifier type and analysis server corresponding relation;
sending the identifier analysis request to the target analysis server;
each of the parsing servers is further configured to: when receiving the identification analysis request sent by the dynamic adapter, analyzing the identification requested to be analyzed by the identification analysis request.
6. An identification analysis device is applied to a dynamic adapter of an identification analysis system, wherein the identification analysis system comprises the dynamic adapter and analysis servers which are connected with the dynamic adapter and correspond to various identification types; the dynamic adapter is an entrance device of the identification analysis system; the identifier resolution device comprises: the device comprises an identification module, a determination module, a sending module and a processing module;
the identification module is used for identifying the identification type of the identification requested to be analyzed by the identification analysis request according to the coding rule or the keyword of the identification requested to be analyzed by the identification analysis request when the identification analysis request is received;
the determining module is used for determining a target analysis server corresponding to the identifier type according to the corresponding relation between the preset identifier type and the analysis server;
the sending module is used for sending the identifier analysis request to the target analysis server for analysis by the target analysis server;
the processing module is used for sending a query request of the identifier analysis request to a preset log cache server before sending the identifier analysis request to the target analysis server, receiving a message which is returned by the log cache server and indicates that no analysis log corresponding to the identifier analysis request exists, and requesting the log cache server to perform log dotting; after receiving an analysis result returned by the target analysis server, sending the analysis result to the log cache server so that the log cache server can write the analysis result into a log file from a log dotting position;
the processing module is further configured to:
receiving an analysis log corresponding to the identification analysis request returned by the log cache server, taking an analysis result from the analysis log and returning the analysis result to a user;
or, receiving the analysis result corresponding to the identifier analysis request returned by the log cache server and returning the analysis result to the user; and the analysis result is taken out from the analysis log corresponding to the identification analysis request by the log cache server.
7. A dynamic adapter, comprising: a processor, a memory, and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the identity resolution method of any of claims 1 to 4.
8. A computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the identity resolution method of any one of claims 1 to 4.
CN202110198909.2A 2021-02-22 2021-02-22 Identification analysis method, device, system, dynamic adapter and readable storage medium Active CN112929464B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110198909.2A CN112929464B (en) 2021-02-22 2021-02-22 Identification analysis method, device, system, dynamic adapter and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110198909.2A CN112929464B (en) 2021-02-22 2021-02-22 Identification analysis method, device, system, dynamic adapter and readable storage medium

Publications (2)

Publication Number Publication Date
CN112929464A CN112929464A (en) 2021-06-08
CN112929464B true CN112929464B (en) 2022-06-24

Family

ID=76170192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110198909.2A Active CN112929464B (en) 2021-02-22 2021-02-22 Identification analysis method, device, system, dynamic adapter and readable storage medium

Country Status (1)

Country Link
CN (1) CN112929464B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113572844A (en) * 2021-07-27 2021-10-29 中国电子技术标准化研究院 Industrial internet identification analysis method
CN113810376B (en) * 2021-08-17 2023-04-07 航天云网数据研究院(广东)有限公司 Credible analysis method, system, electronic equipment and medium for industrial internet identification
CN113726781B (en) * 2021-08-31 2023-05-16 平安养老保险股份有限公司 Message information processing method, device, computer equipment and storage medium
CN113468113B (en) * 2021-09-06 2021-11-23 武汉华工安鼎信息技术有限责任公司 File label management method and device, storage medium and terminal equipment
CN114390025B (en) * 2021-12-09 2024-03-01 湖北省信产通信服务有限公司数字科技分公司 Industrial Internet identification analysis method, system, storage medium and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107360197A (en) * 2017-09-08 2017-11-17 杭州安恒信息技术有限公司 A kind of phishing analysis method and device based on DNS daily records
CN110135194A (en) * 2019-05-20 2019-08-16 北京邮电大学 A kind of management method of the industry internet digital object based on block chain
CN111221569A (en) * 2020-01-07 2020-06-02 中国联合网络通信集团有限公司 Document updating method and server
CN111291043A (en) * 2020-01-09 2020-06-16 中国信息通信研究院 Identification value query method, identification resolution server and storage medium
CN111611613A (en) * 2020-04-28 2020-09-01 网络通信与安全紫金山实验室 ICN-based industrial internet identification analysis system and data access method
CN112163870A (en) * 2020-09-30 2021-01-01 中国联合网络通信集团有限公司 Block chain-based information management method, analysis node and rework platform
CN112187967A (en) * 2020-09-28 2021-01-05 中国互联网络信息中心 Identification analysis method and device for whole networking
CN112260872A (en) * 2020-10-22 2021-01-22 北京理工大学 Identification heterogeneous recognition method and system based on character string matching

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678338A (en) * 2012-09-07 2014-03-26 中国科学院计算机网络信息中心 Internet of things identification analytic method with intelligent cache module
CN111245944B (en) * 2020-01-14 2022-10-04 广州虎牙科技有限公司 Domain name resolution method and device, electronic equipment and storage medium
CN112153048B (en) * 2020-09-24 2021-11-30 珠海格力电器股份有限公司 Information analysis method, information analysis device, information analysis system, storage medium, and electronic device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107360197A (en) * 2017-09-08 2017-11-17 杭州安恒信息技术有限公司 A kind of phishing analysis method and device based on DNS daily records
CN110135194A (en) * 2019-05-20 2019-08-16 北京邮电大学 A kind of management method of the industry internet digital object based on block chain
CN111221569A (en) * 2020-01-07 2020-06-02 中国联合网络通信集团有限公司 Document updating method and server
CN111291043A (en) * 2020-01-09 2020-06-16 中国信息通信研究院 Identification value query method, identification resolution server and storage medium
CN111611613A (en) * 2020-04-28 2020-09-01 网络通信与安全紫金山实验室 ICN-based industrial internet identification analysis system and data access method
CN112187967A (en) * 2020-09-28 2021-01-05 中国互联网络信息中心 Identification analysis method and device for whole networking
CN112163870A (en) * 2020-09-30 2021-01-01 中国联合网络通信集团有限公司 Block chain-based information management method, analysis node and rework platform
CN112260872A (en) * 2020-10-22 2021-01-22 北京理工大学 Identification heterogeneous recognition method and system based on character string matching

Also Published As

Publication number Publication date
CN112929464A (en) 2021-06-08

Similar Documents

Publication Publication Date Title
CN112929464B (en) Identification analysis method, device, system, dynamic adapter and readable storage medium
CN100392650C (en) Enhancement of database performance in a domain name system
CN110601880B (en) Cloud platform, service processing method, command interface and computer equipment
US20050027731A1 (en) Compression dictionaries
CN109710190B (en) Data storage method, device, equipment and storage medium
US20110047292A1 (en) Method and system for intelligent routing of requests over epp
WO2017044180A1 (en) Identifying software components in a software codebase
CN109617647B (en) Message conversion method and device, computer equipment and computer readable storage medium
US7761552B2 (en) Root node for integrating NAS of different user name spaces
CN113225407B (en) Equipment identification information management method and device, electronic equipment and storage medium
CN112989313A (en) Identification registration method and device, electronic equipment and storage medium
CN111427613B (en) Application program interface API management method and device
WO2021184580A1 (en) Intelligent domain name resolution method and apparatus, electronic device and computer-readable storage medium
JP2015076892A (en) Characterization of domain names based on changes of authoritative name servers
Kempf et al. An api for service location
US20070255738A1 (en) System, Method, and Computer-Readable Medium for Performing Data Structure Updates in a Multi-Processor System
US10205679B2 (en) Resource object resolution management
CN106959975B (en) Transcoding resource cache processing method, device and equipment
CN110049133B (en) Method and device for issuing full amount of DNS zone files
CN111405079A (en) Domain name resolution method and device, storage medium and electronic equipment
CN116204540A (en) Operation log recording method, device, equipment and storage medium
CN112783909B (en) Data updating method, device, terminal equipment and storage medium
CN106686152B (en) Identity authentication information issuing method
CN112738175B (en) Request processing method and related equipment
CN111478984B (en) Server IP address obtaining method and device and computer 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
GR01 Patent grant
GR01 Patent grant