A system integration method, device, storage medium, and electronic device
Through the Internet industrial identification code analysis system, the high integration cost, high complexity and data security problems of heterogeneous systems are solved, and flexible and secure data integration is achieved.
Patent Information
- Application Number
- CN202111275765.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-29
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2041-10-29
AI Technical Summary
The existing heterogeneous system integration methods are costly, complex and risky, and data security is difficult to ensure, especially when multi-party systems are integrated.
Using the Internet industrial identification code analysis system, by generating and sharing an integrated information code containing identification code rules and flow number information, the data provider updates the flow number without notifying the data demander, and the data demander analyzes and obtains the integrated data according to the identification code rules.
It reduces the complexity and difficulty of system integration, improves the flexibility of system integration, ensures data security, and is more flexible and reliable especially when integrating multiple systems.
Smart Images

Figure CN114091412B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data sharing, and in particular, to a system integration method, device, storage medium, and electronic device. Background Art
[0002] Enterprise management systems are used for enterprise management and usually include ERP, WMS, CRM, and MES, etc. Different enterprises or even within the same enterprise, one or more different enterprise management systems are usually adopted. However, since different systems are independent of each other, in order to achieve information sharing and data interaction within an enterprise or between different enterprises, these heterogeneous systems need to be integrated.
[0003] The existing common integration methods between heterogeneous systems are usually as follows: First, directly call the system interfaces of both parties to achieve data interaction; Second, directly access the databases of each other to achieve data interaction. For the existing technology using the first method, technical personnel need to transform the system itself according to specific requirements, with high costs and great risks. Especially if it involves the integration of multiple different systems, the costs are even higher, the operations are more complex, and the risks are greater. For the existing technology using the second method, it is necessary to ensure that both systems can be accessed mutually, which is more difficult to ensure data security. And in practical applications, different systems are usually not in the same network segment. Some are restricted to run within the enterprise due to confidentiality, and some run on the cloud, which further increases the resistance to the integration between different systems.
[0004] In view of the above disadvantages and deficiencies, the technical solution of the present application is proposed. Summary of the Invention
[0005] In order to ensure the security of system integration, reduce the cost of system integration, and improve the flexibility of system integration, the present application provides a system integration method, device, storage medium, and electronic device.
[0006] In a first aspect, the present application provides a system integration method, adopting the following technical solution:
[0007] A system integration method, based on an Internet industrial identification code parsing system, includes the following steps:
[0008] Share the integration information code with the data requester, and the information associated with the integration information code includes an identification code rule and serial number information;
[0009] Generate an identification code according to the identification code rule and write the data to be integrated into the identification code for the data requester to obtain;
[0010] Update the serial number information associated with the integrated information code for the data requester to assemble the identification code according to the identification code rule and parse the identification code to obtain the integrated data.
[0011] By adopting the above technical solution, when the data provider creates new integrated data, it does not need to notify and push it to the data requester. When the data requester needs to obtain new integrated data, it also does not need to access the data provider, maintaining the independence between heterogeneous systems, reducing the complexity and difficulty of system integration, being beneficial to reducing the system integration cost, and at the same time improving the risk problems that may occur in the data integration process. Especially in the case of multi-party system integration, the data requester can obtain new integrated data according to its own actual situation, further improving the flexibility of system integration.
[0012] Optionally, the information associated with the integrated information code further includes the data format. The specific steps of generating the identification code according to the identification code rule and writing the data to be integrated into the identification code are as follows:
[0013] Generate the identification code according to the identification code rule and write the data to be integrated into the identification code in the data format.
[0014] By adopting the above technical solution, the data requester and the data provider can negotiate and determine the data format for writing the integrated data, so as to select the optimal data format for writing, which is beneficial to ensuring the efficiency of system integration and the reliability of the system integration method.
[0015] Optionally, the identification code rule and the data format are written into the integrated information code only in a manner known to the data provider and the data requester.
[0016] By adopting the above technical solution, even if others outside the data provider and the data requester obtain the integrated information code and successfully assemble the corresponding identification code by parsing the integrated information code, since they do not know the way in which the integrated data in the identification code is written, they cannot obtain the integrated data by parsing the identification code, which can effectively prevent the situation of internal data being stolen and is beneficial to ensuring the security of system integration.
[0017] In a second aspect, the present application provides another system integration method, adopting the following technical solution:
[0018] A system integration method based on an Internet industrial identification code parsing system includes the following steps:
[0019] Obtain the integrated information code, where the information associated with the integrated information code includes the identification code rule and the serial number information;
[0020] Parse the integrated information code and obtain the serial number information;
[0021] Compare the serial number information obtained this time with the locally saved serial number information to generate a comparison result;
[0022] If the serial number information obtained this time is inconsistent with the locally saved serial number information, then based on the comparison result, assemble and analyze the identification code according to the identification code rule to obtain integrated data, and update the locally saved serial number information to the serial number information obtained this time; The locally saved serial number information is the serial number information obtained and updated locally last time.
[0023] By adopting the above technical solution, when the data provider creates new integrated data, it does not need to notify and push it to the data requester, and when the data requester needs to obtain new integrated data, it does not need to access the data provider either. This maintains the independence between heterogeneous systems, reduces the complexity and difficulty of system integration, is beneficial to reducing the system integration cost, and at the same time improves the risk problems that may occur in the data integration process. Especially when multiple systems are integrated, the data requester can obtain new integrated data according to its own actual situation, further improving the flexibility of system integration.
[0024] Optionally, the information associated with the integrated information code further includes a data format, and the assembling and analyzing the identification code according to the identification code rule to obtain integrated data specifically includes: analyzing the identification code to obtain the integrated data written in the data format.
[0025] Optionally, the identification code rule and the data format are written into the integrated information code only in a manner known to both the data provider and the data requester.
[0026] In a third aspect, the present application provides a system integration device, adopting the following technical solution:
[0027] A system integration device, based on an Internet industrial identification code parsing system, includes:
[0028] A sharing module, configured to share the integrated information code with the data requester, where the information associated with the integrated information code includes an identification code rule and serial number information;
[0029] An integrated data generation module, configured to generate an identification code according to the identification code rule and write the data to be integrated into the identification code for the data requester to obtain;
[0030] An integrated information code update module, configured to update the serial number information associated with the integrated information code for the data requester to assemble the identification code according to the identification code rule and analyze the identification code to obtain integrated data.
[0031] Fourth aspect, the present application provides another system integration device, adopting the following technical solution:
[0032] A system integration device, based on an Internet industrial identification code parsing system, includes:
[0033] An acquisition module, configured to acquire an integration information code, where the information associated with the integration information code includes an identification code rule and serial number information;
[0034] An analysis module, configured to analyze the integration information code and acquire the serial number information;
[0035] A comparison module, configured to compare the serial number information acquired this time with the serial number information saved locally to generate a comparison result;
[0036] An assembly module, configured to, if the serial number information acquired this time is inconsistent with the serial number information saved locally, based on the comparison result, assemble and analyze the identification code according to the identification code rule to acquire integration data, and update the serial number information saved locally to the serial number information acquired this time; the serial number information saved locally is the serial number information acquired and updated locally last time.
[0037] Fifth aspect, the present application provides an electronic device, including a processor and a memory: the memory is used to store a program, and the processor is used to run the program to implement the method described in the first aspect or the second aspect above.
[0038] Sixth aspect, an embodiment of the present application provides a storage medium, on which a computer program is stored, and when the computer program runs on a computer, it implements the method described in the first aspect or the second aspect above.
[0039] As can be seen from the above, the beneficial technical effects of the present application include: when a data provider creates new integration data, it does not need to notify and push it to the data requirer, and when the data requirer needs to acquire new integration data, it does not need to access the data provider either, maintaining the independence between heterogeneous systems, reducing the complexity and difficulty of system integration, being beneficial to reducing the system integration cost, and at the same time improving the risk problems that may occur in the data integration process. Especially in the case of multi-party system integration, the data requirer can acquire new integration data according to its own actual situation, further improving the flexibility of system integration.
[0040] Other features and advantages of the present application will be described in the subsequent description, and part of them will become obvious from the description, or be understood by implementing the embodiments of the present application. The objectives and other advantages of the present application can be achieved and obtained through the structures specifically pointed out in the written description, claims, and drawings. Description of the Drawings
[0041] Figure 1 It is a schematic flowchart of a system integration method disclosed in an embodiment of the present application.
[0042] Figure 2 It is a schematic flowchart of another system integration method disclosed in an embodiment of the present application.
[0043] Figure 3 It is a schematic structural diagram of a system integration device disclosed in an embodiment of the present application.
[0044] Figure 4 It is a schematic structural diagram of another system integration device disclosed in an embodiment of the present application.
[0045] Figure 5 It is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
[0046] Explanation of reference numerals: 101, processor; 102, memory; 103, communication bus; 110, sharing module; 120, integrated data generation module; 130, integrated information code update module; 210, acquisition module; 220, parsing module; 230, comparison module; 240, assembly module. Detailed implementation manners
[0047] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Components of the embodiments of the present application usually described and illustrated in the accompanying drawings here can be arranged and designed in various different configurations. Therefore, the detailed description of the embodiments of the present application provided in the accompanying drawings below is not intended to limit the scope of the present application claimed, but merely represents selected embodiments of the present application. All other embodiments obtained by those skilled in the art based on the embodiments of the present application without creative efforts fall within the scope of protection of the present application.
[0048] It should be noted that: Similar reference numerals and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of the present application, terms such as "first", "second", etc. are only used for distinguishing descriptions and cannot be understood as indicating or implying relative importance.
[0049] The Industrial Internet Identification Code Resolution System is an important part of the Industrial Internet network system and the nerve center supporting the interconnection of the Industrial Internet. Its function is similar to the domain name resolution system in the Internet field. Through the Industrial Internet Identification Code Resolution System, users can generate a unique Industrial Internet identification code, write relevant data or content into the Industrial Internet identification code by calling the interface provided by the Industrial Internet Identification Code Resolution System, and query the Industrial Internet identification code through the Industrial Internet Identification Code Resolution System to obtain relevant data or content.
[0050] Refer to Figure 1 , which is a schematic flowchart of a system integration method disclosed in an embodiment of the present application. This method is based on the Internet Industrial Identification Code Resolution System and is applied to a data provider. The method includes the following steps:
[0051] S1: Share the integration information code with the data requester. The information associated with the integration information code includes the identification code rule and the serial number information.
[0052] Specifically, the data provider generates an integration information code associated with relevant information in advance through the industrial identification code resolution system. The information associated with the integration information code can be determined through prior negotiation between the data provider and the data requester, and specifically can include the identification code rule, the serial number information, and the data format, etc. Among them, the identification code rule includes the method of generating the identification code agreed in advance by the data provider and the data requester. For example, it is agreed that the character segment obtained by appending the latest serial number to the product code is used as the identification code. The serial number information includes the length of the serial number and the serial number agreed in advance by the data provider and the data requester. The data format is the data format used by the data provider when writing integrated data. For example, it can be written in JSON language or C language.
[0053] S2: Generate an identification code according to the identification code rule and write the data to be integrated into the identification code for the data requester to obtain.
[0054] Specifically, the data provider generates a new identification code according to the above-defined identification code rule through the Industrial Internet Identification Code Resolution System, and writes the data to be integrated into the identification code in a predetermined data format. The data requester can obtain the integrated data by parsing the identification code.
[0055] S3: Update the serial number information associated with the integration information code for the data requester to assemble an identification code according to the identification code rule, and parse the identification code to obtain the integrated data.
[0056] Specifically, every time the data provider generates a new identification code, that is, every time the integrated data is updated, it is necessary to correspondingly update the serial number information associated in the above integrated information code. For example, if the initial serial number is 0, after the data provider updates the integrated data once and generates a new identification code, the initial serial number needs to be updated to the new serial number 1. If the data provider updates the integrated data again and generates a new identification code, the new serial number 1 is updated to the new serial number 2. The data requester assembles the new identification code generated by the data provider based on the above identification code rule and the new serial number. The data provider can obtain the integrated data by parsing this identification code.
[0057] Further, if the information associated with the above integrated information code includes a data format, then the step of generating an identification code according to the identification code rule and writing the data to be integrated into this identification code in step S2 specifically includes: generating an identification code according to the identification code rule and writing the data to be integrated in the data format associated in the integrated information code into the identification code. Thus, the integrated data obtained by the data requester parsing this identification code is written in the data format associated in the integrated information code.
[0058] Further, the information associated with the above integrated information code includes a data format, and this data format is written into the integrated information code in a manner known only to the data provider and the data requester. Specifically, the data provider and the data requester can negotiate in advance what data format can be used to write the integrated data and how each data format is defined respectively. For example, it is agreed to write the integrated data in JSON language and define JSON as data format A. Then, the content associated with the data format in the integrated information code is shown as "data format A" instead of "JSON". Thus, even if someone other than the data provider and the data requester parses the integrated information code and successfully assembles the corresponding identification code, since they do not know in what way the integrated data in the identification code is written, they cannot obtain the integrated data by parsing the identification code.
[0059] The following takes the integration of product information between the ERP system and the MES system as an example to further illustrate the above technical solution. Among them, the ERP system is used as the data provider, and the MES system is used as the data requester:
[0060] First, the ERP system generates an integrated information code P001 and shares the integrated information code P001 with the MES system. The information associated with the integrated information code P001 includes a data format (JSON), an identification code rule (T001 + the latest serial number), and serial number information (the serial number length is 5 digits, and the initial serial number is 00000). The MES system parses the integrated information code P001 and saves the initial serial number 00000 locally.
[0061] When the ERP system creates new integrated data, i.e., product information, it generates the identification code T00100001 according to the above identification code rules, writes the newly created integrated data, i.e., product information, into the identification code T00100001 in JSON format, and updates the initial serial number 00000 in the integrated information code P001 to the serial number 00001.
[0062] The MES system regularly queries the integrated information code P001 and parses the information associated with the integrated information code P001. It compares the initially saved local serial number (00000) with the serial number (00001) in the latest parsed integrated information code P001. After finding the inconsistency, it assembles the identification code T00100001 according to the identification code rules associated with the integrated information code P001, queries the relevant information of T00100001 through the industrial Internet identification code parsing system, and parses it according to the data format associated with P001 to obtain the newly created integrated data of the ERP system, i.e., product information. Then, the MES system updates the initially saved local serial number (00000) to the latest serial number (00001).
[0063] Thus, the data requester only needs to regularly query the integrated information code and compare the locally saved serial number with the serial number in the latest parsed integrated information code to determine whether there is new integrated data. When it is determined that there is new integrated data, it assembles the identification code according to the identification code rules associated in the integrated information code and queries and parses the identification code.
[0064] Throughout the process, the data provider does not need to notify and push to the data requester when creating new integrated data, and the data requester does not need to access the data provider when obtaining new integrated data. While meeting the data integration requirements, it also maintains the independence between heterogeneous systems, reduces the complexity and difficulty of system integration, and improves the risk problems that may occur in the data integration process. Especially when multiple systems are integrated, the data requester can obtain new integrated data according to its actual situation, further improving the flexibility of system integration.
[0065] Refer to Figure 2 , which is a schematic flowchart of another system integration method disclosed in the embodiment of this application. This method is based on the Internet industrial identification code parsing system and is applied to the data requester. This method includes the following steps:
[0066] S4: Obtain the integrated information code, and the information associated with the integrated information code includes identification code rules and serial number information.
[0067] Specifically, the integrated information code is pre-generated by the data provider through the industrial identification code parsing system and associated with relevant information. The information associated with the integrated information code can be determined in advance through negotiation between the data provider and the data requester, and can specifically include identification code rules, serial number information, and data formats, etc. Among them, the identification code rules include the method of generating the identification code agreed in advance by the data provider and the data requester. For example, it is agreed that the character segment obtained by appending the latest serial number to the product code is used as the identification code. The serial number information includes the length of the serial number and the serial number agreed in advance by the data provider and the data requester. The data format is the data format used by the data provider when writing integrated data. For example, it can be written in JSON language or C language.
[0068] S5: Parse the integrated information code and obtain the serial number information.
[0069] Specifically, the data requester queries the integrated information code through the industrial Internet identification code parsing system to obtain relevant information, and saves the serial number information locally.
[0070] S6: Compare the serial number information obtained this time with the serial number information saved locally to generate a comparison result.
[0071] Specifically, if the data provider creates new integrated data, the serial number information in the integrated information code will be updated. Therefore, when the data requester needs to obtain new integrated data, it needs to query the integrated information code again to obtain the latest serial number information, compare the latest serial number information with the serial number information saved locally, and generate a comparison result. The comparison result is usually that the latest serial number information is the same as the serial number information saved locally or the latest serial number information is different from the serial number information saved locally. Specifically, the serial number in the latest serial number information is different from the serial number in the serial number information saved locally.
[0072] S7: If the serial number information obtained this time is different from the serial number information saved locally, then based on the comparison result, assemble and parse the identification code according to the identification code rules to obtain the integrated data, and update the serial number information saved locally to the serial number information obtained this time; the serial number information saved locally is the serial number information obtained and updated locally last time.
[0073] Specifically, if the serial number information obtained this time is different from the serial number information saved locally, specifically, the serial number in the latest serial number information is different from the serial number in the serial number information saved locally, then assemble the identification code according to the above agreed identification code rules, query and parse the identification code through the industrial Internet identification code parsing system to obtain new integrated data, and at the same time update the serial number information saved locally to the latest serial number information.
[0074] Further, if the information associated with the above integration information code includes a data format, then the specific steps of assembling and parsing the identification code according to the identification code rule in step S7 above to obtain the integrated data are as follows: parsing the identification code to obtain the integrated data written in the data format associated with the integration information code. Specifically, what the data requester obtains through the industrial Internet identification code parsing system is written in a predetermined data format, and it is necessary to further parse it according to the predetermined data format to obtain the new integrated data.
[0075] Further, the information associated with the above integration information code includes a data format, and this data format is written into the integration information code in a manner known only to the data provider and the data requester. Specifically, the data provider and the data requester can negotiate in advance what data format can be used to write the integrated data and how each data format is defined respectively. For example, it is agreed to write the integrated data in JSON (JavaScript Object Notation, a lightweight data exchange format), and JSON is defined as data format A. Then, the content associated with the data format in the integration information code is shown as "data format A" instead of "JSON". Thus, even if someone other than the data provider and the data requester parses the integration information code and successfully assembles the corresponding identification code, since they do not know how the integrated data in the identification code is written, they cannot obtain the integrated data by parsing the identification code.
[0076] The following takes the integration of product information between the ERP system and the MES system as an example to further illustrate the above technical solution. Among them, the ERP system is used as the data provider, and the MES system is used as the data requester:
[0077] First, the ERP system generates an integration information code P001 and shares the integration information code P001 with the MES system. The information associated with the integration information code P001 includes a data format (such as: JSON), an identification code rule (such as: T001 + the latest serial number), and serial number information (such as: the serial number length is 5 digits, and the initial serial number is 00000). The MES system parses the integration information code P001 and saves the initial serial number 00000 locally.
[0078] When the ERP system creates new integrated data, that is, product information, it generates an identification code T00100001 according to the above identification code rule, writes the newly created integrated data, that is, product information, into the identification code T00100001 in JSON format, and updates the initial serial number 00000 in the integration information code P001 to the serial number 00001.
[0079] The MES system periodically queries the integration information code P001 and parses the information associated with the integration information code P001. It compares the initial serial number (00000) saved locally with the serial number (00001) in the latest parsed integration information code P001. After finding the inconsistency, it assembles the identification code T00100001 according to the identification code rule associated with the integration information code P001, queries the relevant information of T00100001 through the industrial Internet identification code parsing system and parses it according to the data format associated with P001 to obtain the integrated data newly created by the ERP system. Then the MES system can update the initial serial number (00000) saved locally to the latest serial number (00001).
[0080] Further, if the MES system queries again and the latest parsed serial number is 00005 while the locally saved serial number is 00000, the MES system needs to assemble five identification codes: 00001, 00002, 00003, 00004, and 00005, and parse them respectively through the industrial Internet identification code system to obtain the integrated data in these five identification codes. Then it updates the locally saved serial number 00000 to 00005.
[0081] Thus, the data requester only needs to periodically query the integration information code and compare the locally saved serial number with the serial number in the latest parsed integration information code to determine whether there is new integrated data. When it is determined that there is new integrated data, assemble the identification code according to the identification code rule associated with the integration information code and query and parse the identification code.
[0082] Throughout the process, the data provider does not need to notify and push the newly created integrated data to the data requester, and the data requester does not need to access the data provider when obtaining new integrated data. While meeting the data integration requirements, it also maintains the independence between heterogeneous systems, reduces the complexity and difficulty of system integration, and improves the risk problems that may occur in the data integration process. Especially when multiple systems are integrated, the data requester can obtain new integrated data according to its actual situation, further improving the flexibility of system integration.
[0083] Refer to Figure 3 , which is a schematic structural diagram of a system integration device disclosed in an embodiment of the present application. The device is based on the industrial Internet identification code parsing system and is applied to the data provider. The device includes a shared module 110, an integrated data generation module 120, and an integrated information code update module 130 that are electrically connected, where:
[0084] The shared module 110 is used to share the integration information code with the data requester. The information associated with the integration information code includes the identification code rule and the serial number information.
[0085] Specifically, the data provider generates an integrated information code associated with relevant information in advance through the industrial identification code parsing system. The information associated with the integrated information code can be determined in advance through consultation between the data provider and the data requester, and can specifically include identification code rules, serial number information, integrated annotations, and data formats, etc. Among them, the identification code rules include the method of generating the identification code agreed in advance by the data provider and the data requester. For example, it is agreed that a character segment obtained by appending the latest serial number to the product code is used as the identification code. The serial number information includes the length of the serial number and the serial number agreed in advance by the data provider and the data requester. The data format is the data format used by the data provider when writing integrated data. For example, it can be written in JSON language or C language.
[0086] The integrated data generation module 120 is used to generate an identification code according to the identification code rules and write the data to be integrated into the identification code for the data requester to obtain.
[0087] Specifically, the data provider generates a new identification code through the industrial Internet identification code parsing system according to the above-defined identification code rules, and writes the data to be integrated into the identification code in a predetermined data format. The data requester can obtain the integrated data by parsing the identification code.
[0088] The integrated information code update module 130 is used to update the serial number information associated with the integrated information code for the data requester to assemble an identification code according to the identification code rules and parse the identification code to obtain the integrated data.
[0089] Specifically, every time the data provider generates a new identification code, that is, every time the integrated data is updated, it is necessary to correspondingly update the initial serial number associated with the above integrated information code. For example, if the initial serial number is 0, after the data provider updates the integrated data once and generates a new identification code, the initial serial number needs to be updated to a new serial number 1. If the data provider updates the integrated data again and generates a new identification code, the above new serial number 1 is updated to a new serial number 2. The data requester assembles the new identification code generated by the data provider according to the above identification code rules and the new serial number, and the data requester can obtain the integrated data by parsing the identification code.
[0090] Refer to Figure 4 , which is a schematic structural diagram of another system integration device disclosed in the embodiment of the present application. The device is based on the Internet industrial identification code parsing system and is applied to the data requester. The device includes an acquisition module 210, an analysis module 220, a comparison module 230, and an assembly module 240 that are electrically connected, where:
[0091] The acquisition module 210 is used to acquire the integrated information code. The information associated with the integrated information code includes identification code rules and serial number information.
[0092] Specifically, the integrated information code is pre-generated by the data provider through the industrial identification code parsing system and associated with relevant information. The information associated with the integrated information code can be determined in advance through negotiation between the data provider and the data requester, and may specifically include identification code rules, serial number information, and data formats, etc. Among them, the identification code rules include the method of generating the identification code agreed in advance by the data provider and the data requester. For example, it is agreed that a character segment obtained by appending the latest serial number to the product code is used as the identification code. The serial number information includes the length of the serial number and the serial number agreed in advance by the data provider and the data requester. The data format is the data format used by the data provider when compiling the integrated data. For example, it can be written in JSON language or C language.
[0093] The parsing module 220 is used to parse the integrated information code and obtain the serial number information.
[0094] Specifically, the data requester queries the integrated information code through the industrial Internet identification code parsing system to obtain relevant information, and saves the serial number information locally.
[0095] The comparison module 230 is used to compare the serial number information obtained this time with the serial number information saved locally to generate a comparison result.
[0096] Specifically, if the data provider creates new integrated data, the serial number information in the integrated information code will be updated. Therefore, when the data requester needs to obtain new integrated data, it needs to query the integrated information code again to obtain the latest serial number information, compare the latest serial number information with the serial number information saved locally, and generate a comparison result. The comparison result is usually that the latest serial number information is the same as the serial number information saved locally or the latest serial number information is different from the serial number information saved locally. Specifically, the serial number in the latest serial number information is different from the serial number in the serial number information saved locally.
[0097] The assembly module 240 is used to, if the serial number information obtained this time is different from the serial number information saved locally, assemble and parse the identification code based on the comparison result according to the identification code rules to obtain the integrated data, and update the serial number information saved locally to the serial number information obtained this time; the serial number information saved locally is the serial number information obtained and updated locally last time.
[0098] Specifically, the serial number information obtained again is inconsistent with the locally saved serial number information. Specifically, if the serial number in the latest serial number information is inconsistent with the serial number in the locally saved serial number information, the identification code is assembled according to the above-mentioned agreed identification code rules, and the new integrated data is obtained by querying and parsing the identification code through the industrial Internet identification code parsing system. At the same time, the locally saved serial number information is updated to the latest serial number information.
[0099] Refer to Figure 5 , this embodiment of the present application further provides an electronic device, which includes: a processor 101 and a memory 102. The processor 101 and the memory 102 are interconnected and communicate with each other through a communication bus 103 and / or other forms of connection mechanisms (not marked). The memory 102 stores a computer program executable by the processor 101. When the computing device runs, the processor 101 executes the computer program to perform the method in any optional implementation manner of the above embodiment.
[0100] This embodiment of the present application further provides a storage medium, on which a computer program is stored. When the computer program is executed, the method in any optional implementation manner of the above embodiment is executed.
[0101] Among them, the storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, abbreviated as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, abbreviated as EEPROM), erasable programmable read-only memory (Erasable Programmable Read Only Memory, abbreviated as EPROM), programmable read-only memory (Programmable Red-Only Memory, abbreviated as PROM), read-only memory (Read-OnlyMemory, abbreviated as ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0102] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For another example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some communication interfaces. The indirect coupling or communication connection of the devices or units can be in electrical, mechanical or other forms.
[0103] In addition, the units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0104] Furthermore, in each embodiment of the present application, the functional modules can be integrated together to form an independent part, or each module can exist alone, or two or more modules can be integrated to form an independent part.
[0105] In this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations.
[0106] The above are only the embodiments of the present application and are not used to limit the protection scope of the present application. For those skilled in the art, the present application can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A system integration method, based on an Internet industrial identification code parsing system, characterized in that Including the following steps: The data provider executes the steps: Share the integrated information code with the data requester, and the information associated with the integrated information code includes the identification code rule and the serial number information; Generate an identification code according to the identification code rule and write the data to be integrated into the identification code for the data requester to obtain; Update the serial number information associated with the integrated information code for the data requester to assemble the identification code according to the identification code rule and parse the identification code to obtain the integrated data; The information associated with the integrated information code further includes the data format. The specific operation of generating an identification code according to the identification code rule and writing the data to be integrated into the identification code includes: Generate an identification code according to the identification code rule and write the data to be integrated into the identification code in the data format; The data requester executes the steps: Obtain the integrated information code; Parse the integrated information code and obtain the serial number information; Compare the currently obtained serial number information with the locally saved serial number information to generate a comparison result; If the currently obtained serial number information is inconsistent with the locally saved serial number information, then based on the comparison result, assemble and parse the identification code according to the identification code rule to obtain the integrated data, and update the locally saved serial number information to the currently obtained serial number information; the locally saved serial number information is the serial number information obtained and updated locally last time.
2. The system integration method according to claim 1, wherein: The information associated with the integrated information code further includes the data format. The specific operation of assembling and parsing the identification code according to the identification code rule to obtain the integrated data includes: parsing the identification code to obtain the integrated data written in the data format.
3. The system integration method according to claim 2, characterized in that: The identification code rule and the data format are written into the integrated information code only in a manner known to the data provider and the data requester.
4. A system integration device, based on an Internet industrial identification code parsing system, is characterized in that Including: The data provider device includes: A sharing module, configured to share the integrated information code with the data requester, and the information associated with the integrated information code includes the identification code rule and the serial number information; An integrated data generation module, configured to generate an identification code according to the identification code rule and write the data to be integrated into the identification code for the data requester to obtain; An integrated information code update module, configured to update the serial number information associated with the integrated information code for the data requester to assemble the identification code according to the identification code rule and parse the identification code to obtain the integrated data; The information associated with the integrated information code further includes the data format. The specific operation of generating an identification code according to the identification code rule and writing the data to be integrated into the identification code includes: Generate an identification code according to the identification code rule and write the data to be integrated into the identification code in the data format; The data requester device includes: An obtaining module, configured to obtain the integrated information code, and the information associated with the integrated information code includes the identification code rule and the serial number information; A parsing module, configured to parse the integrated information code and obtain the serial number information; A comparison module, configured to compare the currently obtained serial number information with the locally saved serial number information to generate a comparison result; An assembly module, which is used to, if the serial number information obtained this time is inconsistent with the locally saved serial number information, based on the comparison result, assemble and analyze the identification code according to the identification code rule to obtain integrated data, and update the locally saved serial number information to the serial number information obtained this time; the locally saved serial number information is the serial number information obtained and updated locally last time.
5. An electronic device, characterized in that, It includes a processor and a memory: the memory is used to store programs, and the processor is used to run the programs to implement the method according to any one of claims 1-3.
6. A storage medium having a computer program stored thereon, characterized in that, When the computer program runs on a computer, it implements the method according to any one of claims 1-3.
Citation Information
Patent Citations
Socialized management method and ecological system for enterprise material information
CN112749928A
System for cooperative control of equipment based on industrial internet identification
CN113495544A