Data storage and acquisition method and device based on industrial Internet identification
By splitting data packets into sub-data packets and generating corresponding identification codes, the storage and retrieval problem of excessive data volume in the industrial Internet identification parsing node is solved, and effective storage and retrieval of large data packets is achieved.
Patent Information
- Application Number
- CN202310388071.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-12
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2043-04-12
AI Technical Summary
The amount of associated information data in the industrial Internet identification parsing node is too large and cannot be effectively recorded and obtained.
Split the original data packet into multiple sub-data packets, and generate a first Industrial Internet identification code for each sub-data packet, which is recorded in the parsing node; at the same time, a second Industrial Internet identification code is generated, using the first identification code as its One of the related information, solving the problem of excessive data volume.
Effective storage and retrieval of large data packets is realized. The user obtains the sub-identification code through the second identification code and splices it into the original data packet, which solves the storage and retrieval difficulties caused by excessive data volume.
Smart Images

Figure CN116389399B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a method and device for storing and acquiring data based on industrial Internet identification. Background Art
[0002] There is a one-to-one correspondence between the Industrial Internet identifier and the associated information stored in the Industrial Internet identifier resolution node. The public can obtain the corresponding associated information in the corresponding Industrial Internet identifier resolution node through the Industrial Internet identifier. The associated information may be one or more of text information, image information, video information, and audio information. Generally, the storage space for the associated information of an Industrial Internet identifier is limited. When the associated information to be recorded is too large (for example, it contains high-definition video information), it cannot be recorded in the Industrial Internet identifier resolution node. Summary of the invention
[0003] In view of the above-mentioned shortcomings of the prior art, the purpose of the embodiments of the present application is to provide a data storage and acquisition method and device based on the industrial Internet identity, aiming to solve the problem that the amount of associated information data is too large to be recorded in the industrial Internet identity resolution node.
[0004] In a first aspect, an embodiment of the present application provides a data storage method based on an industrial Internet identifier, which is applied to a data upload end, comprising the steps of:
[0005] A1. Split the original data packet to be stored into multiple sub-data packets;
[0006] A2. Generate a first industrial Internet identification code for each sub-packet;
[0007] A3. Record each of the sub-data packets as the associated information of the corresponding first industrial Internet identification code in the industrial Internet identification resolution node;
[0008] A4. Generate a second industrial Internet identification code;
[0009] A5. Generate associated information of the second industrial Internet identification code according to each of the first industrial Internet identification codes;
[0010] A6. Record the associated information of the second Industrial Internet identification code in the Industrial Internet identification resolution node.
[0011] The data storage method based on industrial Internet identification in the embodiment of the present application splits the original data packet into multiple sub-data packets, generates a first industrial Internet identification code for each sub-data packet, and records the associated information of the first industrial Internet identification code corresponding to each sub-data packet in the industrial Internet identification resolution node, and then generates a second industrial Internet identification code, and records each of the first industrial Internet identification codes as one of the contents of the associated information of the second industrial Internet identification code in the industrial Internet identification resolution node; therefore, when the user needs to download the original data packet, it only needs to obtain its associated information in the industrial Internet identification resolution node according to the second industrial Internet identification code, extract the first industrial Internet identification code of each sub-data packet therefrom, and then obtain each sub-data packet in the industrial Internet identification resolution node according to the first industrial Internet identification code, and finally splice the sub-data packets into the original data packet; the problem that the amount of associated information data is too large to be recorded in the industrial Internet identification resolution node is solved.
[0012] Preferably, step A5 comprises:
[0013] A501. Generate a first industrial Internet identification code list according to each of the first industrial Internet identification codes; the first industrial Internet identification code list records all the first industrial Internet identification codes;
[0014] A502. Generate associated information of the second Industrial Internet identification code using the first Industrial Internet identification code list as one of the information contents.
[0015] Preferably, the order of the first industrial Internet identification codes in the first industrial Internet identification code list is the same as the order of the corresponding sub-data packets in the original data packet to be stored.
[0016] Preferably, after step A501 and before step 502, the method further includes:
[0017] A503. Encrypt each first industrial Internet identification code in the first industrial Internet identification code list according to preset encryption rules.
[0018] In a second aspect, an embodiment of the present application provides a data storage device based on an industrial Internet identifier, which is applied to a data upload end, including:
[0019] A splitting module, used for splitting the original data packet to be stored into multiple sub-data packets;
[0020] A first identification code generation module, used to generate a first industrial Internet identification code for each of the sub-data packets;
[0021] A first recording module, used to record each of the sub-data packets as the associated information of the corresponding first industrial Internet identification code in the industrial Internet identification resolution node;
[0022] A second identification code generation module, used to generate a second industrial Internet identification code;
[0023] An associated information generation module, used to generate associated information of the second industrial Internet identification code according to each of the first industrial Internet identification codes;
[0024] The second recording module is used to record the associated information of the second industrial Internet identification code in the industrial Internet identification resolution node.
[0025] In a third aspect, an embodiment of the present application provides a data acquisition method based on an industrial Internet identifier, which is applied to a data download terminal, comprising the steps of:
[0026] B1. Obtain the second industrial Internet identification code;
[0027] B2. Obtaining the associated information of the second Industrial Internet identification code in the Industrial Internet identification resolution node according to the second Industrial Internet identification code;
[0028] B3. Extracting multiple first industrial Internet identification codes from the associated information of the second industrial Internet identification code;
[0029] B4. Obtain corresponding associated information in the industrial Internet identity resolution node according to each of the first industrial Internet identification codes, where the corresponding associated information is a sub-data packet;
[0030] B5. Combine the plurality of sub-data packets into one original data packet.
[0031] Preferably, the associated information of the second industrial Internet identification code includes a first industrial Internet identification code list, and the first industrial Internet identification code list records multiple first industrial Internet identification codes; step B3 includes:
[0032] Extract all of the first industrial Internet identification codes from the first industrial Internet identification code list.
[0033] Preferably, step B5 comprises:
[0034] According to the order of each of the first industrial Internet identification codes in the first industrial Internet identification code list, each of the sub-data packets is spliced into an original data packet in a corresponding order.
[0035] Preferably, the first industrial Internet identification code in the associated information of the second industrial Internet identification code is an industrial Internet identification code encrypted according to a preset encryption rule; after step B3 and before step B4, the method further includes the following steps:
[0036] B6. Decrypt each of the first industrial Internet identification codes according to preset decryption rules.
[0037] In a fourth aspect, an embodiment of the present application provides a data acquisition device based on an industrial Internet identifier, which is applied to a data download terminal, including:
[0038] A first acquisition module, used to acquire a second industrial Internet identification code;
[0039] A second acquisition module, used to acquire the associated information of the second Industrial Internet identification code in the Industrial Internet identification resolution node according to the second Industrial Internet identification code;
[0040] A first extraction module, used to extract multiple first industrial Internet identification codes from the associated information of the second industrial Internet identification code;
[0041] A third acquisition module is used to acquire corresponding associated information in the industrial Internet identity resolution node according to each of the first industrial Internet identification codes, where the corresponding associated information is a sub-data packet;
[0042] The splicing module is used to splice the multiple sub-data packets into one original data packet.
[0043] Beneficial effects:
[0044] The data storage and acquisition method and device based on the industrial Internet identification provided in the embodiment of the present application splits the original data packet into multiple sub-data packets, generates a first industrial Internet identification code for each sub-data packet, and records the associated information of the first industrial Internet identification code corresponding to each sub-data packet in the industrial Internet identification resolution node, and then generates a second industrial Internet identification code, and records each of the first industrial Internet identification codes as one of the contents of the associated information of the second industrial Internet identification code in the industrial Internet identification resolution node; therefore, when the user needs to download the original data packet, it only needs to obtain its associated information in the industrial Internet identification resolution node according to the second industrial Internet identification code, extract the first industrial Internet identification code of each sub-data packet therefrom, and then obtain each sub-data packet in the industrial Internet identification resolution node according to the first industrial Internet identification code, and finally splice the sub-data packets into the original data packet; thus, the problem that the amount of associated information data is too large to be recorded in the industrial Internet identification resolution node is solved. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1A flowchart of a data storage method based on industrial Internet identification provided in an embodiment of the present application.
[0046] Figure 2 A schematic diagram of the structure of a data storage device based on industrial Internet identification provided in an embodiment of the present application.
[0047] Figure 3 A flowchart of a data acquisition method based on industrial Internet identification provided in an embodiment of the present application.
[0048] Figure 4 A schematic diagram of the structure of a data acquisition device based on industrial Internet identification provided in an embodiment of the present application. DETAILED DESCRIPTION
[0049] The embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0050] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0051] The embodiments or examples provided in the disclosure below are used to implement different structures of the present invention. In order to simplify the disclosure of the present invention, the components and settings of specific examples are described below. Of course, they are only examples and are not intended to limit the present invention. In addition, the present invention may repeat reference numbers and / or reference letters in different examples, and this repetition is for the purpose of simplicity and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed. In addition, the present invention provides examples of various specific processes and materials, but a person skilled in the art can be aware of the application of other processes and / or the use of other materials.
[0052] See also Figure 1 , a data storage method based on industrial Internet identification provided in an embodiment of the present application is applied to a data upload end, comprising the steps of:
[0053] A1. Split the original data packet to be stored into multiple sub-data packets;
[0054] A2. Generate a first industrial Internet identification code for each sub-packet;
[0055] A3. Record each of the sub-data packets as the associated information of the corresponding first industrial Internet identification code in the industrial Internet identification resolution node;
[0056] A4. Generate a second industrial Internet identification code;
[0057] A5. Generate associated information of the second industrial Internet identification code according to each of the first industrial Internet identification codes;
[0058] A6. Record the associated information of the second Industrial Internet identification code in the Industrial Internet identification resolution node.
[0059] Among them, the data upload end can be but is not limited to a server, a PC, a mobile terminal, etc., which is used to upload the data to be shared (including but not limited to one or more of text data, image data, video data, and audio data) and record it in the Industrial Internet identity resolution node (any node in the Industrial Internet identity resolution system, such as an enterprise node, a secondary node, or a primary node), and generate a corresponding Industrial Internet identification code.
[0060] The data storage method based on industrial Internet identification splits the original data packet into multiple sub-data packets, generates a first industrial Internet identification code for each sub-data packet, and records the associated information of the first industrial Internet identification code corresponding to each sub-data packet in the industrial Internet identification resolution node, and then generates a second industrial Internet identification code, and records each of the first industrial Internet identification codes as one of the contents of the associated information of the second industrial Internet identification code in the industrial Internet identification resolution node; therefore, when the user needs to download the original data packet, it only needs to obtain its associated information in the industrial Internet identification resolution node according to the second industrial Internet identification code, extract the first industrial Internet identification code of each sub-data packet therefrom, and then obtain each sub-data packet in the industrial Internet identification resolution node according to the first industrial Internet identification code, and finally splice the sub-data packets into the original data packet; thus, the problem that the amount of associated information data is too large to be recorded in the industrial Internet identification resolution node is solved.
[0061] In some embodiments, in step A1, the number of sub-data packets to be split can be calculated according to the storage space size of the associated information of each industrial Internet identification code allocated by the industrial Internet identification resolution node, and then the original data packet to be stored can be evenly split according to the calculation result. For example, assuming that the storage space size of the associated information of each industrial Internet identification code is X, and the size of the original data packet to be stored is Y, if the remainder of Y / X is 0, then the number of sub-data packets K=Y / X, otherwise, the number of sub-data packets K=[Y / X]+1 (i.e., equal to the integer part of Y / X plus 1).
[0062] After step A3, each of the sub-data packets is recorded as the associated information of the corresponding first Industrial Internet identification code in the Industrial Internet identification resolution node. As long as the first Industrial Internet identification code is obtained, anyone can obtain the corresponding sub-data packet in the Industrial Internet identification resolution node based on the first Industrial Internet identification code.
[0063] In some embodiments, step A5 comprises:
[0064] A501. Generate a first industrial Internet identification code list according to each of the first industrial Internet identification codes; the first industrial Internet identification code list records all the first industrial Internet identification codes;
[0065] A502. Generate associated information of the second Industrial Internet identification code using the first Industrial Internet identification code list as one of the information contents.
[0066] Therefore, the first Industrial Internet identification code corresponding to each sub-data packet can be obtained from its associated information based on the second Industrial Internet identification code, and then the corresponding sub-data packet can be obtained based on the first Industrial Internet identification code.
[0067] In some embodiments, the order of each first industrial Internet identification code in the first industrial Internet identification code list is the same as the order of each corresponding sub-data package in the original data package to be stored. Therefore, after the data download end obtains each sub-data package, it only needs to splice each sub-data package in the corresponding order according to the order of the corresponding first industrial Internet identification code to obtain the original data package, thereby realizing the acquisition of the original data package, which is convenient and fast.
[0068] In actual applications, the order of each first Industrial Internet identification code in the first Industrial Internet identification code list may also be different from the order of the corresponding sub-data packets in the original data packet to be stored (for example, randomly arranged), but each first Industrial Internet identification code is assigned a number, and the order of the numbers is the same as the order of the corresponding sub-data packets in the original data packet to be stored; thus, after the data download end obtains each sub-data packet, it can sort the corresponding sub-data packets according to the numbers of each first Industrial Internet identification code, and then splice each sub-data packet in the corresponding order to obtain the original data packet.
[0069] Sometimes, the original data is not to be disclosed to the public, but to specific persons (such as internal personnel of an enterprise, purchasers of data information). Therefore, after step A501 and before step 502, the following steps are also included:
[0070] A503. Encrypt each first industrial Internet identification code in the first industrial Internet identification code list according to preset encryption rules.
[0071] Therefore, the first Industrial Internet identification code obtained directly in the Industrial Internet identification resolution node through the second Industrial Internet identification code is an encrypted identification code. If the decryption rule is not known, the Industrial Internet identification resolution node cannot be accessed according to the identification code to obtain the corresponding associated information. The decryption program of the corresponding decryption rule can be installed in advance on the data download terminal of the specific person, so that after the specific person uses his data download terminal to obtain the encrypted first Industrial Internet identification code from the Industrial Internet identification resolution node, he can decrypt it to obtain the real first Industrial Internet identification code, and then obtain the corresponding sub-data package. It is realized that data is only open to specific personnel.
[0072] Specific encryption rules can be set according to actual needs.
[0073] For example, the last N digits (N is a preset positive integer and N is not less than 3) of the first industrial Internet identification code are Arabic numerals (each digit is a value between 0 and 9), and the preset encryption rule is: according to the order of the first industrial Internet identification code in the first industrial Internet identification code list, from front to back, determine whether the last digit of the next first industrial Internet identification code is an even number or an odd number. If it is an even number, the Mth last digit k of the previous first industrial Internet identification code is replaced by the value of 9-k (assuming 9-k = 1); if it is an odd number, the M+1th last digit q of the previous first industrial Internet identification code is replaced by the value of 9-q (assuming 9-q = r); for the last first industrial Internet identification code, determine whether the last digit is an even number or an odd number. If it is an even number, the Mth last digit k of the previous first industrial Internet identification code is replaced by the value of 9-k (assuming 9-k = 1); if it is an odd number, the M+1th last digit q of the previous first industrial Internet identification code is replaced by the value of 9-q (assuming 9-q = r). = r) replacement; wherein, M is a positive integer greater than 1, and M is less than N. This encryption rule is hereinafter referred to as the first encryption rule.
[0074] Therefore, the corresponding decryption rule is: according to the order of the first industrial Internet identification code in the first industrial Internet identification code list, from front to back, determine whether the last digit of the next first industrial Internet identification code is an even number or an odd number. If it is an even number, replace the Mth last digit l of the previous first industrial Internet identification code with the value of 9-1. If it is an odd number, replace the M+1th last digit r of the previous first industrial Internet identification code with the value of 9-r; for the last first industrial Internet identification code, determine whether the last digit is an even number or an odd number. If it is an even number, replace the Mth last digit l of itself with the value of 9-1. If it is an odd number, replace the M+1th last digit r of itself with the value of 9-r. This decryption rule is hereinafter referred to as the first decryption rule.
[0075] Furthermore, the value M can be randomly generated within the range of 2~N-1, and the data upload end can send the generated M to the data download end of a specific person, so that only the data download end of the specific person who obtains the value M can complete the decryption operation, further ensuring that the data is only disclosed to specific persons.
[0076] Please refer to Figure 2 The embodiment of the present application provides a data storage device based on an industrial Internet identifier, which is applied to a data upload end, including:
[0077] Splitting module 1, used for splitting the original data packet to be stored into multiple sub-data packets;
[0078] A first identification code generating module 2, used to generate a first industrial Internet identification code for each of the sub-data packets;
[0079] A first recording module 3, used to record each of the sub-data packets as the associated information of the corresponding first industrial Internet identification code in the industrial Internet identification resolution node;
[0080] A second identification code generating module 4, used to generate a second industrial Internet identification code;
[0081] An associated information generating module 5, configured to generate associated information of the second industrial Internet identification code according to each of the first industrial Internet identification codes;
[0082] The second recording module 6 is used to record the associated information of the second industrial Internet identification code in the industrial Internet identification resolution node.
[0083] Among them, the data upload end can be but is not limited to a server, a PC, a mobile terminal, etc., which is used to upload the data to be shared (including but not limited to one or more of text data, image data, video data, and audio data) and record it in the Industrial Internet identity resolution node (any node in the Industrial Internet identity resolution system, such as an enterprise node, a secondary node, or a primary node), and generate a corresponding Industrial Internet identification code.
[0084] In some embodiments, when the splitting module 1 splits the original data packet to be stored into multiple sub-data packets: the number of sub-data packets to be split can be calculated according to the storage space size of the associated information of each industrial Internet identification code allocated by the industrial Internet identification resolution node, and then the original data packet to be stored can be evenly split according to the calculation result. For example, assuming that the storage space size of the associated information of each industrial Internet identification code is X, and the size of the original data packet to be stored is Y, if the remainder of Y / X is 0, then the number of sub-data packets K=Y / X, otherwise, the number of sub-data packets K=[Y / X]+1 (i.e., equal to the integer part of Y / X plus 1).
[0085] In some implementations, when the association information generating module 5 generates the association information of the second industrial Internet identification code according to each of the first industrial Internet identification codes:
[0086] Generate a first industrial Internet identification code list according to each of the first industrial Internet identification codes; the first industrial Internet identification code list records all the first industrial Internet identification codes;
[0087] The associated information of the second Industrial Internet identification code is generated using the first Industrial Internet identification code list as one of the information contents.
[0088] Therefore, the first Industrial Internet identification code corresponding to each sub-data packet can be obtained from its associated information based on the second Industrial Internet identification code, and then the corresponding sub-data packet can be obtained based on the first Industrial Internet identification code.
[0089] In some embodiments, the order of each first industrial Internet identification code in the first industrial Internet identification code list is the same as the order of each corresponding sub-data package in the original data package to be stored. Therefore, after the data download end obtains each sub-data package, it only needs to splice each sub-data package in the corresponding order according to the order of the corresponding first industrial Internet identification code to obtain the original data package, thereby realizing the acquisition of the original data package, which is convenient and fast.
[0090] In actual applications, the order of each first Industrial Internet identification code in the first Industrial Internet identification code list may also be different from the order of the corresponding sub-data packets in the original data packet to be stored (for example, randomly arranged), but each first Industrial Internet identification code is assigned a number, and the order of the numbers is the same as the order of the corresponding sub-data packets in the original data packet to be stored; thus, after the data download end obtains each sub-data packet, it can sort the corresponding sub-data packets according to the numbers of each first Industrial Internet identification code, and then splice each sub-data packet in the corresponding order to obtain the original data packet.
[0091] Sometimes, the original data is not to be disclosed to the public, but to specific persons (such as internal personnel of the enterprise, purchasers of data information). Therefore, after executing the step of "generating a first industrial Internet identification code list according to each of the first industrial Internet identification codes" and before executing the step of "generating the associated information of the second industrial Internet identification code using the first industrial Internet identification code list as one of the information contents", the associated information generating module 5 further:
[0092] Each first industrial Internet identification code in the first industrial Internet identification code list is encrypted according to preset encryption rules.
[0093] Therefore, the first Industrial Internet identification code obtained directly in the Industrial Internet identification resolution node through the second Industrial Internet identification code is an encrypted identification code. If the decryption rule is not known, the Industrial Internet identification resolution node cannot be accessed according to the identification code to obtain the corresponding associated information. The decryption program of the corresponding decryption rule can be installed in advance on the data download terminal of the specific person, so that after the specific person uses his data download terminal to obtain the encrypted first Industrial Internet identification code from the Industrial Internet identification resolution node, he can decrypt it to obtain the real first Industrial Internet identification code, and then obtain the corresponding sub-data package. It is realized that data is only open to specific personnel.
[0094] The specific encryption rule can be set according to actual needs. For example, the first encryption rule is used.
[0095] Please refer to Figure 3 The embodiment of the present application provides a data acquisition method based on industrial Internet identification, which is applied to a data download terminal, including the steps of:
[0096] B1. Obtain the second industrial Internet identification code;
[0097] B2. Obtaining the associated information of the second Industrial Internet identification code in the Industrial Internet identification resolution node according to the second Industrial Internet identification code;
[0098] B3. Extracting multiple first industrial Internet identification codes from the associated information of the second industrial Internet identification code;
[0099] B4. Obtain corresponding associated information in the industrial Internet identity resolution node according to each of the first industrial Internet identification codes, where the corresponding associated information is a sub-data packet;
[0100] B5. Combine the plurality of sub-data packets into one original data packet.
[0101] The download end may be, but is not limited to, a PC, a mobile terminal, etc.; the sub-data packets and the original data packets include, but are not limited to, one or more of text data, picture data, video data, and audio data.
[0102] The second industrial Internet identification code is a second industrial Internet identification code generated by the aforementioned data storage method based on industrial Internet identification. The second industrial Internet identification code can be sent from the data upload end to the data download end; or it can be set on the product and scanned and identified by the data download end.
[0103] In some embodiments, the associated information of the second industrial Internet identification code includes a first industrial Internet identification code list, and the first industrial Internet identification code list records multiple first industrial Internet identification codes; step B3 includes:
[0104] Extract all of the first industrial Internet identification codes from the first industrial Internet identification code list.
[0105] Thus, all sub-data packets for splicing into a complete original data packet can be obtained.
[0106] In some embodiments, the order of the first industrial Internet identification codes in the first industrial Internet identification code list is the same as the order of the corresponding sub-data packets in the original data packet; thus, step B5 includes:
[0107] According to the order of each of the first industrial Internet identification codes in the first industrial Internet identification code list, each of the sub-data packets is spliced into an original data packet in a corresponding order.
[0108] Preferably, the first industrial Internet identification code in the associated information of the second industrial Internet identification code is an industrial Internet identification code encrypted according to a preset encryption rule; after step B3 and before step B4, the method further includes the following steps:
[0109] B6. Decrypt each of the first industrial Internet identification codes according to preset decryption rules.
[0110] For example, the preset encryption rule is the first encryption rule, and the preset decryption rule here is the first decryption rule.
[0111] Please refer to Figure 4 , the embodiment of the present application provides a data acquisition device based on industrial Internet identification, which is applied to a data download end, including:
[0112] A first acquisition module 100 is used to acquire a second industrial Internet identification code;
[0113] A second acquisition module 200, configured to acquire, in an industrial Internet identity resolution node, associated information of the second industrial Internet identity code according to the second industrial Internet identity code;
[0114] A first extraction module 300, configured to extract a plurality of first industrial Internet identification codes from the associated information of the second industrial Internet identification code;
[0115] A third acquisition module 400 is used to acquire corresponding associated information in the industrial Internet identity resolution node according to each of the first industrial Internet identification codes, where the corresponding associated information is a sub-data packet;
[0116] The splicing module 500 is used to splice the multiple sub-data packets into one original data packet.
[0117] The download end may be, but is not limited to, a PC, a mobile terminal, etc.; the sub-data packets and the original data packets include, but are not limited to, one or more of text data, picture data, video data, and audio data.
[0118] The second industrial Internet identification code is a second industrial Internet identification code generated by the aforementioned data storage method based on industrial Internet identification. The first acquisition module 100 can receive the second industrial Internet identification code directly sent by the data upload end; or scan and identify the second industrial Internet identification code on the product.
[0119] In some embodiments, the associated information of the second industrial Internet identification code includes a first industrial Internet identification code list, and the first industrial Internet identification code list records multiple first industrial Internet identification codes; when the first extraction module 300 extracts multiple first industrial Internet identification codes from the associated information of the second industrial Internet identification code:
[0120] Extract all of the first industrial Internet identification codes from the first industrial Internet identification code list.
[0121] Thus, all sub-data packets for splicing into a complete original data packet can be obtained.
[0122] In some embodiments, the order of the first industrial Internet identification codes in the first industrial Internet identification code list is the same as the order of the corresponding sub-data packets in the original data packet; thus, when the splicing module 500 splices the plurality of sub-data packets into one original data packet:
[0123] According to the order of each of the first industrial Internet identification codes in the first industrial Internet identification code list, each of the sub-data packets is spliced into an original data packet in a corresponding order.
[0124] Preferably, the first industrial Internet identification code in the associated information of the second industrial Internet identification code is an industrial Internet identification code encrypted according to a preset encryption rule; the data acquisition device based on the industrial Internet identification further includes:
[0125] A decryption module is used to decrypt each of the first industrial Internet identification codes extracted by the first extraction module 300 according to preset decryption rules.
[0126] Therefore, the third acquisition module 400 acquires the corresponding associated information (sub-data packet) according to the decrypted first industrial Internet identification code.
[0127] For example, the preset encryption rule is the first encryption rule, and the preset decryption rule here is the first decryption rule.
[0128] As can be seen from the above, the data storage and acquisition method and device based on the industrial Internet identifier, by splitting the original data packet into multiple sub-data packets, generates a first industrial Internet identification code for each sub-data packet, and records the associated information of the first industrial Internet identification code corresponding to each sub-data packet in the industrial Internet identifier resolution node, and then generates a second industrial Internet identification code, and records each of the first industrial Internet identification codes as one of the contents of the associated information of the second industrial Internet identification code in the industrial Internet identifier resolution node; therefore, when the user needs to download the original data packet, it only needs to obtain its associated information in the industrial Internet identifier resolution node according to the second industrial Internet identification code, extract the first industrial Internet identification code of each sub-data packet therefrom, and then obtain each sub-data packet in the industrial Internet identifier resolution node according to the first industrial Internet identification code, and finally splice the sub-data packets into the original data packet; this solves the problem that the amount of associated information data is too large to be recorded in the industrial Internet identifier resolution node, and ensures that the data download end can obtain a larger data packet from the industrial Internet identifier resolution node according to the industrial Internet identification code.
[0129] In summary, although the present invention has been disclosed as above in terms of preferred embodiments, the above preferred embodiments are not intended to limit the present invention. A person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, and the solutions are substantially the same as the present invention.
Claims
1. A data storage method based on industrial Internet identification, applied to a data upload end, characterized in that: Includes steps: A1. Split the original data packet to be stored into multiple sub-data packets; A2. Generate a first industrial Internet identification code for each sub-packet; A3. Record each of the sub-data packets as the associated information of the corresponding first industrial Internet identification code in the industrial Internet identification resolution node; A4. Generate a second industrial Internet identification code; A5. Generate associated information of the second industrial Internet identification code according to each of the first industrial Internet identification codes; A6. Record the associated information of the second industrial Internet identification code in the industrial Internet identification resolution node; Step A5 includes: A501. Generate a first industrial Internet identification code list according to each of the first industrial Internet identification codes; the first industrial Internet identification code list records all the first industrial Internet identification codes; A502. Generate the associated information of the second industrial Internet identification code using the first industrial Internet identification code list as one of the information contents; After step A501 and before step 502, the method further includes: A503. Encrypt each first industrial Internet identification code in the first industrial Internet identification code list according to a preset encryption rule; The last N digits of the first industrial Internet identification code are Arabic numerals, N is a preset positive integer and N is not less than 3, and the preset encryption rule is: according to the order of the first industrial Internet identification code in the first industrial Internet identification code list, from front to back, determine whether the last digit of the next first industrial Internet identification code is an even number or an odd number. If it is an even number, the Mth last digit k of the previous first industrial Internet identification code is replaced by the value of 9-k; if it is an odd number, the Mth last digit q of the previous first industrial Internet identification code is replaced by the value of 9-q; for the last first industrial Internet identification code, determine whether the last digit is an even number or an odd number. If it is an even number, the Mth last digit k of the previous first industrial Internet identification code is replaced by the value of 9-k; if it is an odd number, the Mth last digit q of the previous first industrial Internet identification code is replaced by the value of 9-q; wherein, M is a positive integer greater than 1, and M is less than N; The value M is randomly generated in the range of 2~N-1 and sent by the data upload end to the data download terminal of a specific person, so that only the data download terminal of the specific person who obtains the value M can complete the decryption operation.
2. The data storage method based on industrial Internet identification according to claim 1 is characterized in that: The order of the first industrial Internet identification codes in the first industrial Internet identification code list is the same as the order of the corresponding sub-data packets in the original data packet to be stored.
3. A data storage device based on industrial Internet identification, applied to a data upload end, characterized in that: include: A splitting module, used for splitting the original data packet to be stored into multiple sub-data packets; A first identification code generation module, used to generate a first industrial Internet identification code for each of the sub-data packets; A first recording module, used to record each of the sub-data packets as the associated information of the corresponding first industrial Internet identification code in the industrial Internet identification resolution node; A second identification code generation module, used to generate a second industrial Internet identification code; An associated information generation module, used to generate associated information of the second industrial Internet identification code according to each of the first industrial Internet identification codes; A second recording module, used to record the associated information of the second industrial Internet identification code in the industrial Internet identification resolution node; The associated information generation module is to generate associated information of the second industrial Internet identification code according to each of the first industrial Internet identification codes, and execute: Generate a first industrial Internet identification code list according to each of the first industrial Internet identification codes; the first industrial Internet identification code list records all the first industrial Internet identification codes; Encrypt each first industrial Internet identification code in the first industrial Internet identification code list according to a preset encryption rule; Generate associated information of the second industrial Internet identification code using the first industrial Internet identification code list as one of the information contents; The last N digits of the first industrial Internet identification code are Arabic numerals, N is a preset positive integer and N is not less than 3, and the preset encryption rule is: according to the order of the first industrial Internet identification code in the first industrial Internet identification code list, from front to back, determine whether the last digit of the next first industrial Internet identification code is an even number or an odd number. If it is an even number, the Mth last digit k of the previous first industrial Internet identification code is replaced by the value of 9-k, and if it is an odd number, the M+1th last digit q of the previous first industrial Internet identification code is replaced by the value of 9-q; for the last first industrial Internet identification code, determine whether the last digit is an even number or an odd number. If it is an even number, the Mth last digit k of the previous first industrial Internet identification code is replaced by the value of 9-k, and if it is an odd number, the M+1th last digit q of the previous first industrial Internet identification code is replaced by the value of 9-q; wherein, M is a positive integer greater than 1, and M is less than N; the value M is randomly generated within the range of 2~N-1, and is sent by the data upload end to the data download terminal of a specific person, so that only the data download terminal of the specific person who obtains the value M can complete the decryption operation.
4. A data acquisition method based on industrial Internet identification, applied to a data download terminal, characterized in that: Includes steps: B1. Obtain the second industrial Internet identification code; B2. Obtaining the associated information of the second Industrial Internet identification code in the Industrial Internet identification resolution node according to the second Industrial Internet identification code; B3. Extracting multiple first industrial Internet identification codes from the associated information of the second industrial Internet identification code; B4. Obtain corresponding associated information in the industrial Internet identity resolution node according to each of the first industrial Internet identification codes, where the corresponding associated information is a sub-data packet; B5. concatenate the plurality of sub-packets into one original packet; The associated information of the second industrial Internet identification code includes a first industrial Internet identification code list, and the first industrial Internet identification code list records multiple first industrial Internet identification codes; Step B3 includes: Extract all the first industrial Internet identification codes from the first industrial Internet identification code list; The first industrial Internet identification code in the associated information of the second industrial Internet identification code is an industrial Internet identification code encrypted according to a preset encryption rule; after step B3 and before step B4, the following steps are also included: B6. Decrypt each of the first industrial Internet identification codes according to the preset decryption rules; The last N digits of the first industrial Internet identification code are Arabic numerals, N is a preset positive integer and N is not less than 3, and the preset encryption rule is: according to the order of the first industrial Internet identification code in the first industrial Internet identification code list, from front to back, determine whether the last digit of the next first industrial Internet identification code is an even number or an odd number. If it is an even number, the Mth last digit k of the previous first industrial Internet identification code is replaced by the value of 9-k, and if it is an odd number, the M+1th last digit q of the previous first industrial Internet identification code is replaced by the value of 9-q; for the last first industrial Internet identification code, determine whether the last digit is an even number or an odd number. If it is an even number, the Mth last digit k of the previous first industrial Internet identification code is replaced by the value of 9-k, and if it is an odd number, the M+1th last digit q of the previous first industrial Internet identification code is replaced by the value of 9-q; wherein M is a positive integer greater than 1, and M is less than N; the value M is randomly generated within the range of 2~N-1, and is sent by the data upload end to the data download terminal of a specific person, so that only the data download terminal of the specific person who obtains the value M can complete the decryption operation; The preset decryption rule is: according to the order of the first industrial Internet identification code in the first industrial Internet identification code list, from front to back, determine whether the last digit of the next first industrial Internet identification code is an even number or an odd number. If it is an even number, the Mth to last digit l of the previous first industrial Internet identification code is replaced by the value of 9-1; if it is an odd number, the M+1th to last digit r of the previous first industrial Internet identification code is replaced by the value of 9-r; for the last first industrial Internet identification code, determine whether its last digit is an even number or an odd number. If it is an even number, the Mth to last digit l of its own is replaced by the value of 9-1; if it is an odd number, the M+1th to last digit r of its own is replaced by the value of 9-r.
5. The data acquisition method based on industrial Internet identification according to claim 4 is characterized in that: Step B5 includes: According to the order of each of the first industrial Internet identification codes in the first industrial Internet identification code list, each of the sub-data packets is spliced into an original data packet in a corresponding order.
6. A data acquisition device based on industrial Internet identification, applied to a data download terminal, characterized in that: include: A first acquisition module is used to acquire a second industrial Internet identification code; A second acquisition module, used to acquire the associated information of the second industrial Internet identification code in the industrial Internet identification resolution node according to the second industrial Internet identification code; A first extraction module, used to extract multiple first industrial Internet identification codes from the associated information of the second industrial Internet identification code; A third acquisition module is used to acquire corresponding associated information in the industrial Internet identity resolution node according to each of the first industrial Internet identification codes, where the corresponding associated information is a sub-data packet; A splicing module, used for splicing a plurality of sub-data packets into an original data packet; The associated information of the second industrial Internet identification code includes a first industrial Internet identification code list, and the first industrial Internet identification code list records multiple first industrial Internet identification codes; when the first extraction module extracts multiple first industrial Internet identification codes from the associated information of the second industrial Internet identification code, it executes: Extract all the first industrial Internet identification codes from the first industrial Internet identification code list; The first industrial Internet identification code in the associated information of the second industrial Internet identification code is an industrial Internet identification code encrypted according to a preset encryption rule; The data acquisition device based on the industrial Internet identification also includes: A decryption module, used to decrypt each of the first industrial Internet identification codes according to a preset decryption rule; The last N digits of the first industrial Internet identification code are Arabic numerals, N is a preset positive integer and N is not less than 3, and the preset encryption rule is: according to the order of the first industrial Internet identification code in the first industrial Internet identification code list, from front to back, determine whether the last digit of the next first industrial Internet identification code is an even number or an odd number. If it is an even number, the Mth last digit k of the previous first industrial Internet identification code is replaced by the value of 9-k, and if it is an odd number, the M+1th last digit q of the previous first industrial Internet identification code is replaced by the value of 9-q; for the last first industrial Internet identification code, determine whether the last digit is an even number or an odd number. If it is an even number, the Mth last digit k of the previous first industrial Internet identification code is replaced by the value of 9-k, and if it is an odd number, the M+1th last digit q of the previous first industrial Internet identification code is replaced by the value of 9-q; wherein M is a positive integer greater than 1, and M is less than N; the value M is randomly generated within the range of 2~N-1, and is sent by the data upload end to the data download terminal of a specific person, so that only the data download terminal of the specific person who obtains the value M can complete the decryption operation; The preset decryption rule is: according to the order of the first industrial Internet identification code in the first industrial Internet identification code list, from front to back, determine whether the last digit of the next first industrial Internet identification code is an even number or an odd number. If it is an even number, the Mth to last digit l of the previous first industrial Internet identification code is replaced by the value of 9-1; if it is an odd number, the M+1th to last digit r of the previous first industrial Internet identification code is replaced by the value of 9-r; for the last first industrial Internet identification code, determine whether its last digit is an even number or an odd number. If it is an even number, the Mth to last digit l of its own is replaced by the value of 9-1; if it is an odd number, the M+1th to last digit r of its own is replaced by the value of 9-r.
