CN112016015B - Data processing method and device based on distributed identification analysis - Google Patents
Data processing method and device based on distributed identification analysis Download PDFInfo
- Publication number
- CN112016015B CN112016015B CN202010898773.1A CN202010898773A CN112016015B CN 112016015 B CN112016015 B CN 112016015B CN 202010898773 A CN202010898773 A CN 202010898773A CN 112016015 B CN112016015 B CN 112016015B
- Authority
- CN
- China
- Prior art keywords
- enterprise
- identification
- node
- target
- query 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a data processing method and a data processing device based on distributed identification analysis, wherein a target enterprise is determined based on an enterprise association system of an enterprise to be registered; based on the industry chain of the enterprise to be registered, the target enterprise carries out identification registration on the enterprise to be registered; sending an identification analysis request to a target node through a recursion node; and responding the identification query request through the target node to obtain enterprise identification information corresponding to the identification query request. The recursion node is used as an important facility for analyzing the identification to obtain information, the registration of each enterprise by using a uniform identification is ensured in a registration link, and identification data distributed in different enterprises are obtained by the recursion node through an enterprise list to which the identification stored by the target node belongs during analysis. The method and the system realize the service scene value of using the uniform identification for the same object and also realize the final purpose of interconnection and intercommunication of different-place different-host data.
Description
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a data processing method and apparatus based on distributed identifier resolution.
Background
The industrial internet identification resolution system is a basic system of the industrial internet and is also an important facility for constructing man-machine-object comprehensive interconnection, and the function of the industrial internet identification resolution system is similar to a Domain Name System (DNS) which can inquire website addresses and mailbox addresses in the internet. The industrial internet identification analysis system mainly comprises an identification distribution management system and an identification analysis system, wherein the identification is an 'identity card' of a machine and an article, has uniqueness, and is managed in a layered mode of step-by-step distribution. The identification analysis system utilizes the identification to position and inquire information of the machine and the article, which is the premise and the basis for realizing the accurate butt joint of the global supply chain system and the enterprise production system, the full life cycle management of the product and the intelligent service. By building a set of perfect identification system, powerful support can be provided for industrial system interconnection and industrial data transmission and exchange, interconnection and intercommunication of industrial elements such as design, research, development, production, sales and service of industrial products are really realized, and the cooperation efficiency is improved.
In the current industrial internet identification analysis system, in the application scene of identification registration and analysis, different identifications are registered by enterprises in an industrial chain based on prefixes of the enterprises, and reference relations are established among the identifications.
Disclosure of Invention
In view of the above problems, the present invention provides a data processing method and apparatus based on distributed identifier resolution, so as to achieve the purpose of truly interconnecting and intercommunicating different-place different-host data.
In order to achieve the purpose, the invention provides the following technical scheme:
a data processing method based on distributed identification analysis comprises the following steps:
determining an enterprise association system of the enterprise to be registered, wherein the enterprise association system comprises the hierarchical relationship of each enterprise;
determining a target enterprise based on the enterprise association system, wherein the target enterprise has enterprise identification registration authority;
based on an industrial chain of an enterprise to be registered, a target enterprise performs identification registration on the enterprise to be registered, and target information of which the identification registration is completed is sent to a superior node corresponding to the enterprise of which the identification registration is completed, wherein the target information comprises an identification name, an enterprise prefix of which the identification belongs to and an enterprise type of which the identification belongs to;
in response to receiving the identifier query request, sending an identifier resolution request to the target node through the recursion node;
and responding the identification query request through the target node to obtain enterprise identification information corresponding to the identification query request.
Optionally, the method further comprises:
and caching the site information for identifying the prefix and the data for identifying the belonged relationship at the recursive node, so that the routing address information of the required enterprise node can be acquired from the cache information of the recursive node.
Optionally, the method further comprises:
responding to the identification query request including enterprise information corresponding to the identification, and acquiring identification data corresponding to the identification query request through the recursive node, wherein the identification data includes contents stored by enterprise nodes of enterprise prefixes to be queried or enterprise types;
or responding to the identification query request, and acquiring identification data corresponding to the identification query request through the recursion node, wherein the identification data is to-be-returned data generated according to the data creation time in the enterprise relation report record of the to-be-queried enterprise.
Optionally, the target enterprise is an upstream enterprise of an enterprise to be registered, and the enterprise identification information of the enterprise to be registered, which completes registration, includes identification prefix information determined by the target enterprise and identification detail information determined by the enterprise to be registered.
Optionally, the obtaining, by the target node, enterprise identification information corresponding to the identifier query request in response to the identifier query request includes:
and returning the enterprise relation and the routing address of the superior node of the enterprise to be queried corresponding to the identification query request to the recursive node through the target node, so that the recursive node sends the query request to the superior node through the routing to obtain enterprise identification information corresponding to the identification query request.
A data processing apparatus based on distributed identity resolution, comprising:
the system comprises a first determining unit, a second determining unit and a third determining unit, wherein the first determining unit is used for determining an enterprise association system of enterprises to be registered, and the enterprise association system comprises the hierarchical relationship of each enterprise;
a second determining unit, configured to determine a target enterprise based on the enterprise association system, where the target enterprise has an enterprise identifier registration authority;
the system comprises an identification registration unit, a registration unit and a registration unit, wherein the identification registration unit is used for carrying out identification registration on an enterprise to be registered by a target enterprise based on an industrial chain of the enterprise to be registered, and sending target information for completing the identification registration to a superior node corresponding to the enterprise for completing the identification registration, and the target information comprises an identification name, an enterprise prefix of the identification and an enterprise type of the identification;
a sending unit, configured to send an identifier resolution request to a target node through a recursive node in response to receiving an identifier query request;
and the query unit is used for responding to the identification query request through the target node and acquiring enterprise identification information corresponding to the identification query request.
Optionally, the apparatus further comprises:
and the cache unit is used for caching the site information for identifying the prefix and the data for identifying the affiliated relationship in the recursive node, so that the routing address information of the needed enterprise node can be acquired from the cache information of the recursive node.
Optionally, the apparatus further comprises:
a data obtaining unit, configured to, in response to the identifier query request including enterprise information corresponding to an identifier, obtain, by using the recursive node, identifier data corresponding to the identifier query request, where the identifier data includes content stored in an enterprise node of an enterprise prefix or an enterprise type to be queried;
or responding to the identification query request, and acquiring identification data corresponding to the identification query request through the recursion node, wherein the identification data is to-be-returned data generated according to the data creation time in the enterprise relation report record of the to-be-queried enterprise.
Optionally, the target enterprise is an upstream enterprise of the enterprise to be registered, and the enterprise identification information of the enterprise to be registered, which completes registration, includes identification prefix information determined by the target enterprise and identification detailed information determined by the enterprise to be registered.
Optionally, the query unit is specifically configured to:
and returning the enterprise relation and the routing address of the superior node of the enterprise to be queried corresponding to the identification query request to the recursive node through the target node, so that the recursive node sends the query request to the superior node through the routing to obtain enterprise identification information corresponding to the identification query request.
Compared with the prior art, the invention provides a data processing method and device based on distributed identification analysis, which is characterized in that a target enterprise is determined based on an enterprise association system of the enterprise to be registered, and the target enterprise has enterprise identification registration authority; based on an industrial chain of the enterprise to be registered, the target enterprise performs identification registration on the enterprise to be registered, and target information of which the identification registration is completed is sent to a superior node corresponding to the enterprise of which the identification registration is completed; and sending an identification analysis request to a target node through a recursion node, and responding to the identification query request through the target node to obtain enterprise identification information corresponding to the identification query request. And the recursive node is used as an important facility for analyzing the identifier to obtain information, the registration of each enterprise by using a uniform identifier is ensured in a registration link, the identifier data distributed in different enterprises are obtained by the recursive node through an enterprise list to which the identifier stored by the target node belongs during analysis, and the complete information is returned to the client after the summary. The invention realizes the service scene value of using the uniform identification for the same object and also realizes the final purpose of interconnection and intercommunication of different-place different-host data.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a logical framework diagram of an industrial internet identity resolution system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a data processing method based on distributed identifier parsing according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a registration process of nodes at different levels according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of identifier resolution according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a data processing apparatus based on distributed identity resolution according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first" and "second," and the like in the description and claims of the present invention and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not set forth for a listed step or element but may include steps or elements not listed.
Referring to fig. 1, a logical framework diagram of an industrial internet identity resolution system provided in an embodiment of the present invention is shown, where the industrial internet identity resolution system includes:
and (3) international root node: the system is a highest-level service node for identifying system management, is not limited to a specific country or region, and provides public root zone data management and root analysis service for the global scope.
National top node: the key of the industrial Internet identification analysis system in China is an international gateway for external interconnection and a core hub for internal planning. The system can provide top-level identification code registration and identification analysis service, and management capabilities such as identification filing and identification authentication for the nationwide. The national top level node is communicated with international root nodes of various identification systems and is also communicated with various second-level and other identification analysis service nodes below the national top level node.
Secondary identification resolving node: the system is an identification analysis public service node in an industry or region, and can provide identification code registration and identification analysis services for the industry or region, complete relevant identification service management, identification application docking and the like. Each secondary node is assigned a unique secondary node identification prefix by the national top level node.
Enterprise nodes: the method is an identification analysis service node in an enterprise, and can provide identification code registration and identification analysis service for a specific enterprise. The system can be independently deployed and can also be used as a component element of an enterprise information system. Each enterprise node is allocated with a unique enterprise node identification prefix by a secondary node, the content of the identification suffix is defined and allocated by an enterprise, and the enterprise node identification prefix and the identification suffix form a complete industrial internet identification.
Common recursive resolution node: the system is a key entry facility for providing an identifier analysis service for the outside by an identifier analysis system, receives an identifier query request of an external client, finds enterprise nodes in the identifier analysis system in a step-by-step recursion mode, and acquires detailed information of identifiers.
And others: the method refers to an industrial internet APP and an industrial internet platform which are widely used in an industrial scene by means of identification capability of an industrial internet identification analysis system, processing data and business logic.
The specific scenes of the industrial internet identification analysis are as follows: in a series of enterprises in an industrial chain, an initial enterprise registers an identifier based on the prefix of an enterprise node of the initial enterprise, the identifier with the same name is registered in the next enterprise after the attribute of the identifier is maintained, and the enterprise relationship to which the identifier belongs is reported to a second-level node and a national top-level node, and so on until the last enterprise. When the distributed identification analysis is realized, the recursive node initiates identification analysis requests to the top-level node of the country, the second-level node and the enterprise node step by step. And when the state top level node is requested, acquiring the identifier affiliation relation and the site information of all the secondary nodes corresponding to the identifier. And when the secondary node is requested, acquiring site information of all enterprise nodes corresponding to the identifier. And when the enterprise node is requested, all detailed information corresponding to the identification is obtained. And finally, integrating the identification data of the different-place different owner by the recursion node and returning the result to the client.
In the whole process, the method mainly comprises three aspects: the first is the creation of the identifier, and except for the initial enterprise in the chain, other enterprises create the identifier by direct upstream enterprises, so that misuse and abuse of the identifier are avoided. And secondly, reporting the enterprise relationship to which the identifier belongs, namely reporting to a national top level node in addition to a directly-subordinate secondary node, providing guarantee for quick response of subsequent distributed identifier analysis, and dynamically adjusting the number of tasks required to the secondary node according to the return condition of the top level node after the recursive node requests the national top level node. And thirdly, the integration of the analysis results requires that the service type of the information stored in each enterprise is clearly defined, the analysis results are returned to the client according to the classification, or only certain types of identification data are returned based on the specified type conditions during the query of the client.
In the invention, the site information of the second level node and the enterprise relation information of the identifier are added into the cache of the recursion node, the cache has updating time, and the default configuration is that the cache is updated once in 24 hours. Based on a cache mechanism, when an external client requests a recursion node, the recursion node does not need to pass through a complete recursion process of a national top level node and a national second level node every time, and therefore the resolution efficiency is improved.
The data processing method based on the distributed identification analysis provided by the embodiment of the invention realizes interconnection and intercommunication of different-place different-master data based on the distributed identification analysis, and needs to be carried out from two dimensions of identification registration and identification analysis. The identification registration mainly refers to the creation and maintenance of identification data, and records the enterprise relationship information to which the identification belongs on a superior node. And the identification analysis refers to reversely searching all data information corresponding to the identification through the identification.
Referring to fig. 2, a flow chart of a data processing method based on distributed identity resolution is shown, wherein the method comprises the following steps:
s101, determining an enterprise association system of the enterprise to be registered.
The enterprise association system comprises the hierarchical relationship of each enterprise, namely the upstream enterprise and the downstream enterprise of each enterprise.
S102, determining a target enterprise based on the enterprise association system, wherein the target enterprise has enterprise identification registration authority.
S103, based on the industry chain of the enterprise to be registered, the target enterprise performs identification registration on the enterprise to be registered, and target information of which the identification registration is completed is sent to a superior node corresponding to the enterprise of which the identification registration is completed.
The target information comprises an identification name, an enterprise prefix of the identification and an enterprise type of the identification. At the upstream and downstream enterprise of same industry chain, need before the business takes place, establish the cooperative relation earlier, set up the upstream enterprise as the sign administrator of this enterprise, distribute sign registration authority, allow the upstream enterprise to register the sign at this enterprise, can realize:
the upstream enterprise can register the identification in the downstream enterprise, but the identification prefix can only be the prefix owned by the upstream enterprise itself, and other prefixes cannot be used. The identification detailed information of the upstream enterprise registered in the downstream enterprise needs to be null, namely, the upstream enterprise only has the authority of establishing an initial default identification; the upstream enterprise has only the right to register the identity and has no right to modify and delete the identity at the downstream enterprise. If the modification and deletion are needed, the corresponding operation can be carried out only through downstream enterprises.
The current industrial internet identification resolution system supports other enterprise users to become the identification administrator of the enterprise, but the identification registered in each enterprise is limited by the identification prefix of the current enterprise. Therefore, the control of the enterprise identity registration authority mentioned above realizes one-object-one-code.
Specifically, in the aspect of identifier registration, an identifier is created by an upstream enterprise and a downstream enterprise according to the sequence of different enterprises in a chain around a certain industrial chain, and the specific content under the identifier is updated by the downstream enterprise based on the actual business occurrence condition, so that the continuity of identifier data is guaranteed layer by layer. The identification name is named by the initial production enterprise, and the subsequent enterprises can only edit the identification value under the identification but cannot change the identification name. The upstream enterprise, as an identity administrator for the downstream enterprise, has the authority to create the identity. In the process of creating, the enterprise relation to which the identifier belongs is sequentially reported to the second-level node and the national top-level node based on the positions of the upstream and downstream enterprises in the whole system.
Referring to fig. 3, a registration process of each level of nodes is shown, which specifically includes:
the administrator of the enterprise node 1 creates an identifier and maintains part of the identifier information.
The administrator of the enterprise node 1 creates the same identifier in the enterprise node 2.
And thirdly, the enterprise node 1 reports the event of creating the identification at the enterprise node 2 to the secondary node 1 for recording.
And fourthly, the second level node 1 reports the event of the enterprise node 1 creating the identification on the enterprise node 2 to the top level node for recording.
And fifthly, maintaining identification part information by the administrator of the enterprise node 2.
Sixthly, the administrator of the enterprise node 2 creates the same identifier at the enterprise node 3.
And the enterprise node 2 reports the event of creating the identifier at the enterprise node 3 to the secondary node 1 for recording.
And the second level node 1 reports the event of the enterprise node 2 creating the mark in the enterprise node 3 to the top level node for recording.
And ninthly, maintaining identification part information by the administrator of the enterprise node 3.
In the above-mentioned process, the upstream enterprise node creates the "same" identifier at the downstream enterprise node, and reports the created identifier event to the secondary node and the top node, which facilitates the management of data.
When reporting the enterprise relationship to which the identifier belongs for recording, the enterprise node reports the enterprise relationship step by step according to the service level of the industrial internet identifier analysis system, firstly reports the enterprise node to the second-level node to which the enterprise node belongs, and then reports the enterprise node to the top-level node of the country by the second-level node. Reporting content needs to be detailed to the identification dimension, and the service type of each enterprise node needs to be clearly defined so as to meet different application scenarios of identification analysis. Because the number of enterprise nodes on each industry chain is not fixed, data are stored in a vertical table form, and the data table is designed to mainly contain fields in a table 1:
TABLE 1
The enterprise relationship to which the identification belongs is reported to the secondary node and the enterprise node, and simultaneously the types of each enterprise are also reported for record, so that the invention can support various typical application scenarios. For example, if a user wants to query production information through the identifier, the detailed identifier information of a production enterprise can be accurately located through the enterprise type when the identifier is analyzed. Meanwhile, the cooperation relationship between the enterprises is reported to the top node, and big data support is provided for the top node to master the cooperation relationship and business traffic of subordinate enterprises, so that the problem that the top node lacks business data under the current identification analysis system can be solved.
And S104, responding to the received identification query request, and sending an identification analysis request to the target node through the recursion node.
S105, responding to the identification query request through the target node, and obtaining enterprise identification information corresponding to the identification query request.
In the identification analysis process, mainly aiming at an identification query request of an external client, recursive nodes respectively send analysis requests to a national top level node and a national second level node, and data of the same identification dispersed in different enterprise nodes are gathered and integrated based on storage addresses of identification data recorded by the nodes at all levels and finally fed back to the client. The target node stores an enterprise list to which the identifier belongs, and can be a superior node corresponding to an enterprise to be queried.
Referring to fig. 4, a schematic flow chart of identity resolution is shown, which comprises the following steps:
firstly, a client side sends a query request to a recursion node of an industrial internet identification and analysis system.
And secondly, after receiving the request, the recursion node initiates an identification analysis query request to a national top node system.
And thirdly, returning the enterprise relation to which the identifier belongs and the routing addresses of the secondary node 1 and the secondary node 2 to the recursive node by the top-level node of the country.
And fourthly, the recursion node continues to send query requests to the second-level node 1 and the second-level node 2 according to the result returned by the national top-level node.
And fifthly, the second level node 1 returns the routing addresses of the enterprise node 1 and the enterprise node 2 to the recursion node, and the second level node 2 returns the routing address of the enterprise node 3 to the recursion node.
Sixthly, the recursive node respectively sends inquiry requests to the enterprise node 1, the enterprise node 2 and the enterprise node 3.
And seventhly, returning the stored identification data to the recursion node by each enterprise node.
And allowing the recursion node to integrate the acquired identification data and return the integrated identification data to an external client, thereby completing interconnection and intercommunication of different-place different-main data.
In the identifier analysis flow of the current industrial internet identifier analysis system, when a recursive node analyzes a certain identifier, only one enterprise node is pointed at finally, and the detailed identifier information is obtained from the enterprise node. However, in the identifier parsing process designed in the present invention, for a certain identifier, the recursive node acquires data from multiple enterprise nodes, and in order to shorten response time and improve parsing performance, it is also necessary to distribute the number of enterprises according to the identifier information, and initiate query requests to different secondary nodes and enterprise nodes simultaneously through multiple threads.
Correspondingly, the invention also comprises the following steps:
and caching the site information for identifying the prefix and the data for identifying the belonged relationship at the recursive node, so that the routing address information of the required enterprise node can be acquired from the cache information of the recursive node.
Compared with the existing industrial internet identification analysis caching function, the method and the device have the advantages that the site information of the identification prefixes is cached in the recursion nodes, and the data of the identification belonged relation is cached, so that the identification analysis performance and efficiency are improved. In the effective period of the cache, when the same identification is analyzed, the recursive node does not need to initiate a request to the top level node and the second level node of the country, but directly obtains the routing address of the required enterprise node from the cache, and according to the number of the enterprise nodes, multi-task parallel is realized through multi-threading, optimal resources are allocated, and the query request of the client is quickly responded.
Correspondingly, the embodiment of the invention also comprises the following steps:
responding to the identification query request including enterprise information corresponding to the identification, and acquiring identification data corresponding to the identification query request through the recursive node, wherein the identification data includes content stored by an enterprise prefix or enterprise node of an enterprise type to be queried;
or responding to the identification query request, and acquiring identification data corresponding to the identification query request through the recursion node, wherein the identification data is to-be-returned data generated according to the data creation time in the enterprise relation report record of the to-be-queried enterprise.
That is, the analysis result of the current industrial internet identifier analysis is returned, only all data is returned or partial data is returned according to the index value 'index', and the screening condition based on certain service attributes is not provided. The device supports to return all data and part of specified data according to the identification query condition of the client. When a client initiates an identification query request to a recursive node, an enterprise prefix or an enterprise type to which an identification belongs can be specified, and at the moment, identification data acquired through the recursive node only comprises content stored in the enterprise node corresponding to the enterprise prefix or the enterprise type. If the client side does not specify any condition when initiating the identification query request to the recursion node, the recursion node will sequence and return to the client side from large to small according to the data creation time in the reporting record of the enterprise relationship to which the identification belongs.
The present invention will be described below with reference to specific application examples.
Taking the beverage industry as an example, the beverage industry relates to a production enterprise A, a transportation enterprise B and a sales enterprise C, and the beverage industry is sold to a common consumer D by the C. Enterprises A, B and C have set the upstream enterprise as the identity administrator of the enterprise because of long-term partnerships, i.e., A can register the identity at B and B can register the identity at C.
After the enterprise A produces a certain can of beverage, the assigned identification code is X, and production element information such as production date, quality guarantee period, storage condition, raw materials and the like of the beverage corresponding to X is maintained.
When A distributes the beverage to enterprise B for transportation, an identifier X is registered in the server of enterprise B, and the registration event is reported to the top node. Information related to the logistics transportation is maintained by enterprise B, including shipping address, shipping time, shipping method, shipping route, etc.
And after the beverage is transported to the enterprise C by the server B, registering an identifier X in the server of the enterprise C, and reporting a registration event to the top-level node. Sales information for the beverage, including price, promotional activities, time of sale, etc., is maintained by enterprise C.
After a consumer D purchases a beverage, when wanting to inquire the full-flow information of the beverage from production to sale, an inquiry request is sent to the industrial internet identification analysis system through the identification X attached to the beverage, and then the identification analysis system collects and sorts different information of the identification X distributed in an enterprise A, an enterprise B and an enterprise C and feeds the information back to the consumer D.
The invention is based on the distributed identification analysis technology, uses the recursion node as an important facility for analyzing the identification to obtain information, ensures that each enterprise uses a uniform identification to register in a registration link, obtains identification data distributed in different enterprises by the recursion node through an enterprise list to which the identification stored by a national top level node belongs during analysis, and returns complete information to a client after summarizing. The invention not only realizes the service scene value of using the uniform identification for the same article, but also protects the ownership of each enterprise to the self operation data to the maximum extent, and achieves the final purpose of interconnection and intercommunication of different-place different-main data.
Referring to fig. 5, in an embodiment of the present invention, a data processing apparatus based on distributed identity resolution is provided, including:
a first determining unit 10, configured to determine an enterprise association system of an enterprise to be registered, where the enterprise association system includes a hierarchical relationship of each enterprise;
a second determining unit 20, configured to determine a target enterprise based on the enterprise association system, where the target enterprise has an enterprise identifier registration authority;
the identification registration unit 30 is used for performing identification registration on the enterprise to be registered by the target enterprise based on the industrial chain of the enterprise to be registered, and sending target information of which the identification registration is completed to a superior node corresponding to the enterprise of which the identification registration is completed;
a sending unit 40, configured to send an identifier resolution request to the target node through the recursive node in response to receiving the identifier query request;
and the query unit 50 is configured to respond to the identifier query request through the target node, and obtain enterprise identifier information corresponding to the identifier query request.
On the basis of the above embodiment, the apparatus further includes:
and the caching unit is used for caching the site information for identifying the prefix and the data for identifying the affiliated relationship in the recursive node so as to obtain the routing address information of the required enterprise node in the caching information of the recursive node.
On the basis of the above embodiment, the apparatus further includes:
the data acquisition unit is used for responding to the enterprise information corresponding to the identifier inquiry request, and acquiring the identifier data corresponding to the identifier inquiry request through the recursive node, wherein the identifier data comprises the content stored by the enterprise node of the enterprise prefix or enterprise type to be inquired;
or responding to the identification query request, and acquiring identification data corresponding to the identification query request through the recursive node, wherein the identification data is to-be-returned data generated according to the data creation time in the enterprise relation report record to which the to-be-queried enterprise belongs.
On the basis of the above embodiment, the target enterprise is an upstream enterprise of the enterprise to be registered, and the enterprise identification information of the enterprise to be registered, which completes registration, includes identification prefix information determined by the target enterprise and identification detailed information determined by the enterprise to be registered.
On the basis of the foregoing embodiment, the query unit is specifically configured to:
and returning the enterprise relation and the routing address of the superior node of the enterprise to be queried corresponding to the identification query request to the recursive node through the target node, so that the recursive node sends the query request to the superior node through the routing to obtain enterprise identification information corresponding to the identification query request.
The invention provides a data processing device based on distributed identification analysis, which is used for determining a target enterprise based on an enterprise association system of an enterprise to be registered, wherein the target enterprise has enterprise identification registration authority; based on an industrial chain of the enterprise to be registered, the target enterprise performs identification registration on the enterprise to be registered, and target information of which the identification registration is completed is sent to a superior node corresponding to the enterprise of which the identification registration is completed; sending an identification analysis request to a target node through a recursion node; and responding the identification query request through the target node to obtain enterprise identification information corresponding to the identification query request. And the recursive node is used as an important facility for analyzing the identifier to obtain information, the registration of each enterprise by using a uniform identifier is ensured in a registration link, the identifier data distributed in different enterprises are obtained by the recursive node through an enterprise list to which the identifier stored by the target node belongs during analysis, and the complete information is returned to the client after the summary. The invention realizes the service scene value of using the uniform identification for the same object and also realizes the final purpose of interconnection and intercommunication of different-place different-host data.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A data processing method based on distributed identification analysis is characterized by comprising the following steps:
determining an enterprise association system of the enterprise to be registered, wherein the enterprise association system comprises the hierarchical relationship of each enterprise;
determining a target enterprise based on the enterprise association system, wherein the target enterprise has enterprise identification registration authority;
based on an industrial chain of an enterprise to be registered, a target enterprise performs identification registration on the enterprise to be registered, and target information of which the identification registration is completed is sent to a superior node corresponding to the enterprise to which the identification registration is completed, wherein the target information comprises an identification name, an identification enterprise prefix and an identification enterprise type;
in response to receiving the identifier query request, sending an identifier resolution request to the target node through the recursion node;
and responding the identification query request through the target node to obtain enterprise identification information corresponding to the identification query request.
2. The method of claim 1, further comprising:
and caching the site information for identifying the prefix and the data for identifying the belonged relationship at the recursive node, so that the routing address information of the required enterprise node can be acquired from the cache information of the recursive node.
3. The method of claim 1, further comprising:
responding to the identification query request including enterprise information corresponding to the identification, and acquiring identification data corresponding to the identification query request through the recursive node, wherein the identification data includes content stored by an enterprise prefix or enterprise node of an enterprise type to be queried;
or responding to the identification query request, and acquiring identification data corresponding to the identification query request through the recursion node, wherein the identification data is to-be-returned data generated according to the data creation time in the enterprise relation report record of the to-be-queried enterprise.
4. The method of claim 1, wherein the target enterprise is an upstream enterprise of the enterprise to be registered, and the enterprise identification information of the enterprise to be registered, which is completely registered, comprises identification prefix information determined by the target enterprise and identification detail information determined by the enterprise to be registered.
5. The method of claim 1, wherein the obtaining, by the target node in response to the identification query request, enterprise identification information corresponding to the identification query request comprises:
and returning the enterprise relation and the routing address of the superior node of the enterprise to be queried corresponding to the identification query request to the recursive node through the target node, so that the recursive node sends the query request to the superior node through the routing to obtain enterprise identification information corresponding to the identification query request.
6. A data processing apparatus based on distributed identity resolution, comprising:
the system comprises a first determining unit, a second determining unit and a third determining unit, wherein the first determining unit is used for determining an enterprise association system of enterprises to be registered, and the enterprise association system comprises the hierarchical relationship of each enterprise;
a second determining unit, configured to determine a target enterprise based on the enterprise correlation system, where the target enterprise has an enterprise identifier registration authority;
the system comprises an identification registration unit, a registration unit and a registration unit, wherein the identification registration unit is used for carrying out identification registration on an enterprise to be registered by a target enterprise based on an industrial chain of the enterprise to be registered, and sending target information for completing the identification registration to a superior node corresponding to the enterprise for completing the identification registration, and the target information comprises an identification name, an enterprise prefix of the identification and an enterprise type of the identification;
a sending unit, configured to send an identifier resolution request to a target node through a recursive node in response to receiving an identifier query request;
and the query unit is used for responding to the identification query request through the target node and acquiring enterprise identification information corresponding to the identification query request.
7. The apparatus of claim 6, further comprising:
and the cache unit is used for caching the site information for identifying the prefix and the data for identifying the affiliated relationship in the recursive node, so that the routing address information of the needed enterprise node can be acquired from the cache information of the recursive node.
8. The apparatus of claim 6, further comprising:
a data obtaining unit, configured to, in response to the identifier query request including enterprise information corresponding to an identifier, obtain, by using the recursive node, identifier data corresponding to the identifier query request, where the identifier data includes content stored in an enterprise node of an enterprise prefix or an enterprise type to be queried;
or responding to the identification query request, and acquiring identification data corresponding to the identification query request through the recursion node, wherein the identification data is to-be-returned data generated according to the data creation time in the enterprise relation report record of the to-be-queried enterprise.
9. The apparatus of claim 6, wherein the target enterprise is an upstream enterprise of the enterprise to be registered, and the enterprise identification information of the enterprise to be registered, which is used for completing registration, comprises identification prefix information determined by the target enterprise and identification detail information determined by the enterprise to be registered.
10. The apparatus according to claim 6, wherein the query unit is specifically configured to:
and returning the mark enterprise relation and the routing address of the superior node of the enterprise to be inquired corresponding to the mark inquiry request to the recursive node through the target node, so that the recursive node sends the inquiry request to the superior node through the routing to obtain the enterprise mark information corresponding to the mark inquiry request.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010898773.1A CN112016015B (en) | 2020-08-31 | 2020-08-31 | Data processing method and device based on distributed identification analysis |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010898773.1A CN112016015B (en) | 2020-08-31 | 2020-08-31 | Data processing method and device based on distributed identification analysis |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112016015A CN112016015A (en) | 2020-12-01 |
CN112016015B true CN112016015B (en) | 2022-08-30 |
Family
ID=73502499
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010898773.1A Active CN112016015B (en) | 2020-08-31 | 2020-08-31 | Data processing method and device based on distributed identification analysis |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112016015B (en) |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112468613B (en) * | 2020-12-07 | 2022-07-15 | 重庆忽米网络科技有限公司 | Industrial Internet identification analysis method and system based on Handle identification analysis system |
CN112653774A (en) * | 2020-12-16 | 2021-04-13 | 北京航天智造科技发展有限公司 | Industrial internet identification coding method and device |
CN112686676A (en) * | 2020-12-29 | 2021-04-20 | 深圳市思贝克工业智联有限公司 | Industrial Internet identification chain processing method, device and equipment |
CN112989313B (en) * | 2021-01-14 | 2024-05-14 | 国网上海市电力公司 | Identification registration method and device, electronic equipment and storage medium |
CN112785275B (en) * | 2021-01-29 | 2024-02-23 | 北京索为***技术股份有限公司 | Identification method and device of industrial APP |
CN112785186A (en) * | 2021-02-02 | 2021-05-11 | 上海数设科技有限公司 | Product model, and method and device for analyzing product model identification |
CN112819467A (en) * | 2021-02-23 | 2021-05-18 | 中国信息通信研究院 | Privacy transaction method, device and system |
CN113759846B (en) * | 2021-09-08 | 2022-09-30 | 武汉亚为电子科技有限公司 | On-site active identification analysis method and system |
CN113779090B (en) * | 2021-09-14 | 2024-05-03 | 码客工场工业科技(北京)有限公司 | Intelligent prediction caching method for Handle identification analysis |
CN113806411A (en) * | 2021-09-18 | 2021-12-17 | 王剑 | Query method and storage method of medical product information and related devices |
CN113806406A (en) * | 2021-09-18 | 2021-12-17 | 王剑 | Diagnosis and treatment data storage method, query method and related device |
CN113743833B (en) * | 2021-11-05 | 2022-02-08 | 中国信息通信研究院 | Production control method and system based on identification analysis |
CN114662629B (en) * | 2022-03-23 | 2022-09-16 | 中国邮电器材集团有限公司 | Method and device for identifying industrial code in multi-level node structure |
CN114465945B (en) * | 2022-03-25 | 2023-12-08 | 江苏省未来网络创新研究院 | SDN-based identification analysis network construction method |
CN115086277A (en) * | 2022-05-25 | 2022-09-20 | 广东传感时代科技有限公司 | Identification management method, system, terminal equipment and storage medium |
CN116431104A (en) * | 2022-12-02 | 2023-07-14 | 东莞盟大集团有限公司 | Low code development method based on block chain technology identification analysis application |
CN115658700B (en) * | 2022-12-26 | 2023-04-07 | 中汽智联技术有限公司 | Data determination method, device and storage medium for vehicle identification |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2189916A1 (en) * | 2008-11-20 | 2010-05-26 | Sap Ag | Federating business event data within an enterprise network |
CN109861975A (en) * | 2018-12-26 | 2019-06-07 | 中国科学院计算机网络信息中心 | Identifier register information query method and system towards industry internet |
CN110348765A (en) * | 2019-07-24 | 2019-10-18 | 重庆忽米网络科技有限公司 | A kind of auto and motorcycle industry two-level node based on identification (RNC-ID) analytic |
CN111459985A (en) * | 2020-03-31 | 2020-07-28 | 美的集团股份有限公司 | Identification information processing method and device |
-
2020
- 2020-08-31 CN CN202010898773.1A patent/CN112016015B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2189916A1 (en) * | 2008-11-20 | 2010-05-26 | Sap Ag | Federating business event data within an enterprise network |
CN109861975A (en) * | 2018-12-26 | 2019-06-07 | 中国科学院计算机网络信息中心 | Identifier register information query method and system towards industry internet |
CN110348765A (en) * | 2019-07-24 | 2019-10-18 | 重庆忽米网络科技有限公司 | A kind of auto and motorcycle industry two-level node based on identification (RNC-ID) analytic |
CN111459985A (en) * | 2020-03-31 | 2020-07-28 | 美的集团股份有限公司 | Identification information processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN112016015A (en) | 2020-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112016015B (en) | Data processing method and device based on distributed identification analysis | |
CN109861975B (en) | Industrial Internet-oriented identification registration information query method and system | |
CN111935328B (en) | Cross-region and cross-industry industrial Internet entity identification method | |
US7694016B2 (en) | Composite DNS zones | |
US8015317B2 (en) | Method, system and computer-readable medium for conducting domain name service | |
CN112950229A (en) | Block chain composite tracing method and tracing and identification analysis system | |
CN101464894B (en) | Data query method and system | |
US20070050331A1 (en) | Priority based LDAP service publication mechanism | |
CN113486051B (en) | Industrial Internet identification analysis method, system, node and storage medium | |
WO2018188423A1 (en) | Dns server and configuration loading method, network system, and domain name resolution method and system | |
CN106790530A (en) | The tracking of domain name service and polymerization | |
CN111459985A (en) | Identification information processing method and device | |
CN102882990A (en) | Wireless sensor network identifier analysis method | |
CN107438111B (en) | Method, server and the system of method and the domain name agency of inquiry of the domain name | |
CN105760380A (en) | Database query method, device and system | |
CN105208090A (en) | Zookeeper-based Leader selection method | |
CN112995273B (en) | Network call-through scheme generation method and device, computer equipment and storage medium | |
CN103501357A (en) | Domain name resolution system and domain name resolution method | |
Yoon et al. | BlockONS: Blockchain based object name service | |
US10171415B2 (en) | Characterization of domain names based on changes of authoritative name servers | |
CN112699160B (en) | Metadata template upgrading method and device and readable storage medium | |
CN112989255B (en) | Identification analysis system | |
Lorenz et al. | Discovery services in the EPC network | |
KR102054595B1 (en) | Wireless access point using gs1 id as identification information and smartcity platform including the same as service point | |
CN101662510A (en) | Network naming mechanism and name analytic mapping system |
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 |