Smart ship information optimization management method based on digital twin
Through digital twin technology, the diffraction array and differential array optimization process of ship information is solved, and the problems of high key maintenance costs and data in existing encryption technologies are solved, efficient and secure processing and storage of information are realized, and information security is significantly improved. sex.
Patent Information
- Application Number
- CN202411171112.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-26
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2044-08-26
AI Technical Summary
In the transmission of ship information, existing encryption technologies have problems such as high maintenance costs for keys and loss of keys, resulting in data insecurity, and the risk of information being intercepted and tampered is high, affecting the security and economic interests of shipping companies.
Adopt smart ship information optimization management method based on digital twins, and optimize the operation data through the ship information processing module to optimize the diffraction array and differential array, and use diffraction optimization strings to replace the key, so as to realize the secure processing and storage of information and reduce the key Maintenance costs and improve information security.
It significantly improves the security of ship information, prevents illegal theft and tampering, reduces the cost of key maintenance, and ensures the security and flexibility of real-time optimization of data.
Smart Images

Figure CN118674131B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of ship information optimization, and in particular to a smart ship information optimization management method based on digital twins. Background Art
[0002] With the booming development of the modern shipping industry, digital twin technology is gradually being integrated into the field of smart ships, providing strong support for the efficient operation and intelligent management of ships;
[0003] During the operation of a ship, a large amount of rich and critical information is generated, such as the real-time location of the ship, which is directly related to the ship's navigation route planning and safety; accurate data on navigation speed is crucial for reaching the destination on time and controlling fuel consumption; real-time monitoring of cargo status is related to the quality of cargo and the timeliness of delivery; equipment operating parameters are the key basis for ensuring the normal operation of various systems on the ship. This information is indispensable for the normal operation of the ship and is also closely related to the safety and economic interests of the ship.
[0004] However, as the frequency and complexity of information exchange continue to increase, information security encryption has gradually become a major issue of life and death. In the process of information transmission, there is a potential risk of information being intercepted and tampered with. For example, when a ship communicates with a port, if key information such as the ship's berthing time and loading and unloading arrangements are maliciously tampered with, it is very likely to cause chaos in port operations, resulting in immeasurable economic losses and serious safety hazards.
[0005] Although the existing encryption technology uses keys to encrypt ship information, this method has obvious defects. The maintenance of the key requires a lot of cost, including manpower, material and financial resources. Moreover, once the key is lost, the ship data will be in an extremely unsafe state and may be obtained and used by criminals, causing irreparable losses to shipping companies.
[0006] In order to solve the above problems, the present invention proposes a solution. Summary of the invention
[0007] The purpose of the present invention is to provide a smart ship information optimization management method based on digital twins, in order to solve the problems raised in the above background technology;
[0008] The purpose of the present invention can be achieved through the following technical solutions:
[0009] The intelligent ship information optimization management method based on digital twin includes the following steps:
[0010] Step 1: The ship information processing module obtains 16 groups of diffraction arrays based on the characters filled in all cells in each row of the template architecture table pre-stored therein;
[0011] Step 2: Filling characters into all remaining cells in the template architecture table that are not filled with characters according to a preset selected filling rule based on 16 groups of diffraction arrays;
[0012] Step 3: Based on the characters filled into each row of the template architecture table after the filling is completed, determine whether each group of diffraction arrays has a diffraction optimization string, and recalibrate the diffraction arrays that are determined to have no diffraction optimization string as differential arrays;
[0013] Step 4: Select corresponding diffraction optimization strings for all differential arrays according to the binary numbers from 0 to 15;
[0014] Step 5: converting the current target ship's operating data into the current ship's optimized data according to the diffraction optimization strings of the plurality of diffraction arrays or difference arrays;
[0015] Step 6: Update the template architecture table stored in the ship information collection table according to the obtained diffraction optimization arrays of all diffraction arrays or difference arrays.
[0016] Preferably, the template architecture table is a 19*16 table, wherein 19 indicates that the number of columns in the table is 19, and 16 indicates that the number of rows in the table is 16;
[0017] The 1st, 2nd, 3rd, 4th cells in the 1st row of the table, the 2nd, 3rd, 4th, 5th, ... cells in the 2nd row of the table, the 16th, 17th, 18th, 19th cells in the 16th row of the table are filled with one of the characters 1 or 0 in sequence.
[0018] Preferably, before completing step 1, the following steps need to be completed:
[0019] At the current moment, the ship information collection module collects the operation data of the target ship during operation, wherein the operation data includes the position, navigation speed, cargo status and target equipment operation parameters of the target ship.
[0020] Preferably, the steps of obtaining a plurality of diffraction arrays and difference arrays are as follows:
[0021] S19: After all cells in the template architecture table are filled, all characters are extracted from the cells in the first row of the template architecture table in order from left to right, and every 4 characters are used as a group of optimized strings, so that 4 groups of optimized strings can be obtained;
[0022] According to the obtained order, the four groups of optimized word strings are added into an empty list in turn to obtain the first optimized list of the template architecture table, and several optimized word strings consistent with the diffraction array Z1 are removed from the first optimized list, and after removal, the optimized word string with the subscript 0 is selected as the diffraction optimized word string of the first optimized list, and the diffraction optimized word string and the diffraction array Z1 are associated and mapped;
[0023] S110: According to S19, after the optimization strings in the second optimization list of the template architecture table are eliminated, the first optimization string that has not been used as the diffraction optimization string of the other optimization arrays is selected in descending order of the subscripts as the diffraction optimization string of the second optimization list; if all the strings in the second optimization list have been used as the diffraction optimization strings of several optimization arrays, the diffraction array Z2 is recalibrated as a differential array;
[0024] S111: According to S19 to S110, select the corresponding diffraction optimization string from the 3rd, 4th, ..., 16th optimization list of the template architecture table in turn, and establish an association mapping with the corresponding diffraction array, and after the establishment is completed, obtain all remaining difference arrays;
[0025] The diffraction arrays Z1 and Z2 in S19 to S110 refer to the diffraction array in step S12, which is the most original diffraction array without any character being removed or spliced.
[0026] Preferably, the steps of obtaining the ship optimization data at the current moment are as follows:
[0027] SS21: Convert the transport data of the target ship at the current moment into binary form, and recalibrate the sequence obtained after the conversion into the data to be optimized at the current moment;
[0028] SS22: Specify a cutting step of 4, cut the data to be optimized, and obtain several groups of strings to be optimized after cutting. Mark all groups of strings to be optimized as E1, E2, ..., Ee from left to right in the order of each group of strings to be optimized in the data to be optimized before cutting.
[0029] SS23: According to the word string to be optimized E1, a diffraction-optimized word string of a differential array or a diffraction array that is consistent therewith is obtained, and the diffraction-optimized word string is used as an optimized array of the word string to be optimized E1;
[0030] SS24: According to S23, the optimization arrays of the strings to be optimized E2, E3, ..., Ee are obtained in sequence, and according to the sequence of the strings to be optimized E1, E2, ..., Ee, their optimization arrays are concatenated to obtain the ship optimization data at the current moment.
[0031] Beneficial effects of the present invention:
[0032] The present invention collects the operation data of the target ship in the operation process in real time through the ship information collection module, and the ship information processing module optimizes the operation data of the real-time target ship based on the template architecture table pre-stored therein to obtain the real-time ship optimization data, and the cloud interaction module restores and stores the real-time ship optimization data, wherein each row in the template architecture table corresponds to 4 cells that have been filled with characters, and the filling characters of one row of cells are determined based on the consistency comparison result of the characters filled in the adjacent rows, and in this way, the character filling of all cells in the template architecture table is completed, and then the diffraction optimization string of each row of diffraction array or differential array is determined for each row of filled characters, and in this way, the mapping logic of the diffraction optimization string corresponding to each row of diffraction array is complicated. On the one hand, this complex mapping logic can significantly improve the security of ship information processing. Since the mapping logic of the diffraction optimization string is not intuitive and simple, it is difficult for unauthorized visitors to understand and crack the rules therein, thereby effectively preventing the ship information from being illegally stolen and tampered with. On the other hand, using encryption logic to replace the key reduces the maintenance cost of the key and avoids the occurrence of ship data insecurity caused by the loss of the key;
[0033] After optimizing the operating data of the real-time target ship, the present invention updates the template architecture table stored in the ship information processing module. In this way, the optimization process of the real-time ship optimization data is made more flexible, and the security of the real-time ship optimization data is further guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The present invention will be further described below in conjunction with the accompanying drawings.
[0035] Figure 1 It is a flow chart of the method of the present invention. DETAILED DESCRIPTION
[0036] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0037] like Figure 1 As shown, the method for optimizing and managing smart ship information based on digital twins is implemented by a smart ship information optimization management system based on digital twins, which includes:
[0038] The ship information collection module is used to collect the information of the ship in real time during operation. At the current moment, the ship information collection module collects the operation data of the target ship during operation, wherein the operation data includes the position, navigation speed, cargo status and target equipment operation parameters of the target ship;
[0039] The ship information collection module transmits the current operating data of the target ship to the ship information processing module;
[0040] A ship information processing module, used for safely processing the ship's operating data, wherein a template architecture table is pre-stored in the ship information processing module, and the template architecture table is a 19*16 table, wherein 19 indicates that the number of columns in the table is 19, and 16 indicates that the number of rows in the table is 16;
[0041] The 1st, 2nd, 3rd, and 4th cells of the 1st row of the table, the 2nd, 3rd, 4th, and 5th cells of the 2nd row of the table, ..., the 16th, 17th, 18th, and 19th cells of the 16th row of the table are filled with one of the characters 1 and 0 in sequence. It should be noted that the 1st, 2nd, ..., and 16th rows of the table are described in the order from top to bottom of the table;
[0042] It should be noted here that the initial template architecture table fills characters into the corresponding cells of the table according to the binary numbers of the numbers 0, 1, ..., 15;
[0043] The detailed explanation is as follows: the characters filled into the 1st, 2nd, 3rd, and 4th cells of the 1st row of the initial template structure table refer to the four-digit binary number of the number 0, which is 0, 0, 0, 0, respectively; the characters filled into the 2nd, 3rd, 4th, and 5th cells of the 2nd row refer to the four-digit binary number of the number 1, which is 0, 0, 0, 1, respectively; and the characters filled into the corresponding cells of the remaining rows are similar;
[0044] After receiving the operation data of the target ship at the current moment, the ship information processing module optimizes the operation data of the target ship at the current moment according to the preset optimization processing rules. The optimization processing rules are as follows:
[0045] S11: obtaining the template architecture table currently stored in the ship information processing module, and extracting all characters filled in the cells of the first row of the template architecture table in order from left to right, and splicing all the extracted characters in the order of extraction to obtain the diffraction array Z1;
[0046] S12: extracting all characters filled in the cells of the 2nd, 3rd, ..., 16th rows of the template architecture table respectively, and obtaining diffraction arrays Z2, Z3, ..., Z16 accordingly according to S11;
[0047] S13: obtaining cells A1, A2, ..., A15 in the 5th cell of the 1st row, the 6th cell of the 2nd row, ..., the 19th cell of the 15th row in the template architecture table respectively. It should be noted that the 5th cell of the 1st row in the template architecture table is described in order from left to right, and the positions of the cells in other cells are described in the same manner;
[0048] S14: Fill characters into cell A1 according to the preset selected fill rule, and the selected fill rule is as follows:
[0049] S141: in the order of diffraction arrays Z1, Z2, ..., Z16, firstly select the diffraction array Z1 as the original image array of the cell A1, and select the diffraction array Z2 as the diffraction image array of the cell A1;
[0050] S142: compare each character in the original image array and the derived image array bit by bit, select the characters that are consistent and have the largest number based on the comparison result, and obtain the total number B1 of the characters that are consistent in the bit-by-bit comparison;
[0051] S143: Perform an odd / even determination on B1. If B1 is an odd number, character 1 is selected as the fill character of the cell A1. Otherwise, character 0 is selected as the fill character of the cell A1. If there are multiple characters that are consistent and have the largest number, character 0 is selected as the fill character of the cell A1.
[0052] Fill the fill character into cell A1. After filling, remove the first character in the diffraction array Z1 from left to right, and splice the fill character after the last character of the diffraction array. After splicing, obtain a new diffraction array Z1.
[0053] S15: in the order of the 2nd, 3rd, ..., 16th diffraction arrays, select diffraction arrays Z2, Z3, ..., Z15 as original image arrays of cells A2, A3, ..., A15 respectively, and correspondingly select diffraction arrays Z3, Z4, ..., Z16 as derived image arrays of cells A2, A3, ..., A15, and fill cells A2, A3, ..., A15 with corresponding filling characters in accordance with S14, and obtain new diffraction arrays Z2, Z3, ..., Z15 after filling;
[0054] S16: sequentially obtain cells B1, B2, ..., B14 of the 6th cell in the 1st row, the 7th cell in the 2nd row, ..., the 19th cell in the 14th row of the template architecture table;
[0055] Then, a new diffraction array Z1 is selected as the original image array of cell B1, and a new diffraction array Z2 is selected as the derived image array of cell B1. According to S12 to S15, corresponding filling characters are filled into cell B1. After the filling is completed, a new diffraction array Z1 is obtained;
[0056] According to the above, the corresponding filling characters are filled into cells B2, B3, ..., B14 in turn, and after the filling is completed, new diffraction arrays Z2, Z3, ..., Z14 are obtained;
[0057] S17: filling corresponding filling characters into the 7th, 8th, ..., 19th cells of the 1st row, the 8th, 9th, ..., 19th cells of the 2nd row, ..., the 19th cell of the 13th row of the template architecture table respectively according to S16, and obtaining the final diffraction arrays Z1, Z2, ..., Z16 after the filling is completed;
[0058] It should be noted here that rows 1, 2, ..., 16 of the template architecture table described in S11 to S17 are described in order from top to bottom of the template architecture table;
[0059] S18: According to the steps from S12 to S17, all the remaining cells in the template architecture table S17 that have not been filled are filled with characters. It should be noted here that:
[0060] All cells that have not been filled with characters are filled with characters. It should be noted that the order and step descriptions for filling all remaining cells are completely consistent with steps S12 to S17. There are two inconsistencies. First, the diffraction arrays Z1, Z2, ..., Zz used initially when filling all remaining cells that have not been filled with characters are the diffraction arrays Z16, Z15, ..., Z1 in step S16.
[0061] Second: According to steps S13 to S17, rows 1, 2, ..., 16 in the template architecture table are described in order from bottom to top in the template architecture table;
[0062] S19: After all cells in the template architecture table are filled, all characters are extracted from the cells in the first row of the template architecture table in order from left to right, and every 4 characters are used as a group of optimized strings, so that 4 groups of optimized strings can be obtained;
[0063] According to the obtained order, the four groups of optimized word strings are added into an empty list in turn to obtain the first optimized list of the template architecture table, and several optimized word strings consistent with the diffraction array Z1 are removed from the first optimized list, and after removal, the optimized word string with the subscript 0 is selected as the diffraction optimized word string of the first optimized list, and the diffraction optimized word string and the diffraction array Z1 are associated and mapped;
[0064] S110: According to S19, after the optimization strings in the second optimization list of the template architecture table are eliminated, the first optimization string that has not been used as the diffraction optimization string of the other optimization arrays is selected in descending order of the subscripts as the diffraction optimization string of the second optimization list; if all the strings in the second optimization list have been used as the diffraction optimization strings of several optimization arrays, the diffraction array Z2 is recalibrated as a differential array;
[0065] S111: According to S19 to S110, select the corresponding diffraction optimization string from the 3rd, 4th, ..., 16th optimization list of the template architecture table in turn, and establish an association mapping with the corresponding diffraction array, and after the establishment is completed, obtain all remaining difference arrays;
[0066] It should be noted that the diffraction arrays Z1 and Z2 in S19 to S110 refer to the diffraction array in step S12, which is the original diffraction array without any character being removed or spliced;
[0067] S112: Obtaining the diffraction optimized word strings of all difference groups according to the preset selection rule, the steps are as follows:
[0068] SS11: Mark all difference arrays as C1, C2, ..., Cc in the order in which they are obtained, where c ≥ 1;
[0069] SS12: According to all the diffraction optimization strings, all binary numbers from 0 to 15 that are different from any of the diffraction optimization strings are obtained, and all the obtained binary numbers are marked as D1, D2, ..., Dc in order from small to large corresponding to the binary numbers;
[0070] SS13: Use binary number D1 as the difference array C1, D2 as C2, ..., Dc as the diffraction optimization string of Cc;
[0071] S112: Generate ship optimization data at the current moment according to a preset generation rule, the generation rule is as follows:
[0072] SS21: Convert the transport data of the target ship at the current moment into binary form, and recalibrate the sequence obtained after the conversion into the data to be optimized at the current moment;
[0073] SS22: Specify a cutting step of 4, cut the data to be optimized, and obtain several groups of strings to be optimized after cutting. Mark all groups of strings to be optimized as E1, E2, ..., Ee from left to right in the order of each group of strings to be optimized in the data to be optimized before cutting.
[0074] SS23: According to the word string to be optimized E1, a diffraction-optimized word string of a differential array or a diffraction array that is consistent therewith is obtained, and the diffraction-optimized word string is used as an optimized array of the word string to be optimized E1;
[0075] SS24: according to S23, the optimization arrays of the strings to be optimized E2, E3, ..., Ee are obtained in sequence, and according to the sequence of the strings to be optimized E1, E2, ..., Ee, the optimization arrays are concatenated to obtain the ship optimization data at the current moment;
[0076] Then, the template architecture table stored in the ship information collection table is updated according to the obtained diffraction optimization arrays of all diffraction arrays or difference arrays. The updating steps are as follows:
[0077] SS31: Obtain the diffraction optimization string of the diffraction array or the difference array in the first row of the template architecture table and mark all characters in the diffraction optimization string as F1, F2, F3 and F4 in order from left to right;
[0078] SS32: Replace F1, F2, F3, and F4 with the characters filled in cells 1, 2, 3, and 4 of row 1 in the template structure table, from left to right.
[0079] SS33: Replace the characters filled in the 2nd, 3rd, 4th, 5th, ..., cells 16th, 17th, 18th, 19th of the 16th row of the table in order according to S31 to S32;
[0080] The ship information processing module transmits the ship optimization data at the current moment to the cloud interaction module;
[0081] The cloud interaction module is used to receive the ship's operating data in real time. The remote interaction module pre-stores a template architecture table, which is always consistent with the template architecture table stored in the ship information processing module;
[0082] After receiving the transmitted ship optimization data at the current moment, the cloud interaction module obtains the diffraction optimization strings of all diffraction arrays and difference arrays according to the same steps as S11 to S113, and restores the ship optimization data at the current moment according to the strings to obtain the operation data of the ship at the current moment, and stores the operation data of the ship at the current moment;
[0083] In the description of the specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0084] The above contents are merely examples and explanations of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the scope defined by the invention, they shall all fall within the protection scope of the present invention.
[0085] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.
Claims
1. A smart ship information optimization management method based on digital twins, characterized in that: The following steps are involved: Step 1: The ship information processing module obtains 16 sets of diffraction arrays based on the characters filled in all cells in each row of the template architecture table pre-stored therein, and the steps are as follows: S11: obtaining the template architecture table currently stored in the ship information processing module, and extracting all characters filled in the cells of the first row of the template architecture table in order from left to right, and splicing all the extracted characters in the order of extraction to obtain the diffraction array Z1; S12: extracting all characters filled in the cells of the 2nd, 3rd, ..., 16th rows of the template architecture table respectively, and obtaining diffraction arrays Z2, Z3, ..., Z16 accordingly according to S11; Step 2: Fill characters into all remaining cells in the template architecture table that are not filled with characters according to the preset selected filling rules based on the 16 groups of diffraction arrays, the steps are as follows: S13: obtaining cells A1, A2, ..., A15 in the 5th cell of the 1st row, the 6th cell of the 2nd row, ..., the 19th cell of the 15th row in the template architecture table respectively, wherein the 5th cell of the 1st row in the template architecture table is described in order from left to right, and the positions of the cells in other cells are described in the same manner; S14: Fill characters into cell A1 according to the preset selected fill rule, and the selected fill rule is as follows: S141: in the order of diffraction arrays Z1, Z2, ..., Z16, firstly select the diffraction array Z1 as the original image array of the cell A1, and select the diffraction array Z2 as the diffraction image array of the cell A1; S142: compare each character in the original image array and the derived image array bit by bit, select the characters that are consistent and have the largest number based on the comparison result, and obtain the total number B1 of the characters that are consistent in the bit-by-bit comparison; S143: Perform an odd / even determination on B1. If B1 is an odd number, character 1 is selected as the fill character of the cell A1. Otherwise, character 0 is selected as the fill character of the cell A1. If there are multiple characters that are consistent and have the largest number, character 0 is selected as the fill character of the cell A1. Fill the fill character into cell A1. After filling, remove the first character in the diffraction array Z1 from left to right, and splice the fill character after the last character of the diffraction array. After splicing, obtain a new diffraction array Z1. S15: in the order of the 2nd, 3rd, ..., 16th diffraction arrays, select diffraction arrays Z2, Z3, ..., Z15 as original image arrays of cells A2, A3, ..., A15 respectively, and correspondingly select diffraction arrays Z3, Z4, ..., Z16 as derived image arrays of cells A2, A3, ..., A15, and fill cells A2, A3, ..., A15 with corresponding filling characters in accordance with S14, and obtain new diffraction arrays Z2, Z3, ..., Z15 after filling; S16: sequentially obtain cells B1, B2, ..., B14 of the 6th cell in the 1st row, the 7th cell in the 2nd row, ..., the 19th cell in the 14th row of the template architecture table; Then, a new diffraction array Z1 is selected as the original image array of cell B1, and a new diffraction array Z2 is selected as the derived image array of cell B1. According to S12 to S15, corresponding filling characters are filled into cell B1. After the filling is completed, a new diffraction array Z1 is obtained; According to the above, the corresponding filling characters are filled into cells B2, B3, ..., B14 in turn, and after the filling is completed, new diffraction arrays Z2, Z3, ..., Z14 are obtained; S17: filling corresponding filling characters into the 7th, 8th, ..., 19th cells of the 1st row, the 8th, 9th, ..., 19th cells of the 2nd row, ..., the 19th cell of the 13th row of the template architecture table respectively according to S16, and obtaining the final diffraction arrays Z1, Z2, ..., Z16 after the filling is completed; It should be noted here that rows 1, 2, ..., 16 of the template architecture table described in S11 to S17 are described in order from top to bottom of the template architecture table; S18: According to steps S12 to S17, all the remaining cells in the template architecture table S17 that have not been filled are filled with characters, wherein the order and step descriptions for filling all the remaining cells are completely consistent with steps S12 to S17, except for two points: first, when filling all the remaining cells with characters, the diffraction arrays Z1, Z2, ..., Zz initially used are the diffraction arrays Z16, Z15, ..., Z1 in step S16; Second: According to steps S13 to S17, rows 1, 2, ..., 16 in the template architecture table are described in order from bottom to top in the template architecture table; Step 3: Based on the characters filled into each row of the template architecture table after filling, determine whether each group of diffraction arrays has a diffraction optimization string, and recalibrate the diffraction arrays that are determined to have no diffraction optimization string into differential arrays. The steps are as follows: S19: After all cells in the template architecture table are filled, all characters are extracted from the cells in the first row of the template architecture table in order from left to right, and every 4 characters are used as a group of optimized strings, so that 4 groups of optimized strings can be obtained; According to the obtained order, the four groups of optimized word strings are added into an empty list in turn to obtain the first optimized list of the template architecture table, and several optimized word strings consistent with the diffraction array Z1 are removed from the first optimized list, and after removal, the optimized word string with the subscript 0 is selected as the diffraction optimized word string of the first optimized list, and the diffraction optimized word string and the diffraction array Z1 are associated and mapped; S110: According to S19, after the optimization strings in the second optimization list of the template architecture table are eliminated, the first optimization string that has not been used as the diffraction optimization string of the other optimization arrays is selected in descending order of the subscripts as the diffraction optimization string of the second optimization list; if all the strings in the second optimization list have been used as the diffraction optimization strings of several optimization arrays, the diffraction array Z2 is recalibrated as a differential array; S111: According to S19 to S110, select the corresponding diffraction optimization string from the 3rd, 4th, ..., 16th optimization list of the template architecture table in turn, and establish an association mapping with the corresponding diffraction array, and after the establishment is completed, obtain all remaining difference arrays; The diffraction arrays Z1 and Z2 in S19 to S110 refer to the diffraction arrays in step S12, which are the original diffraction arrays without any character being removed or spliced; Step 4: Select the corresponding diffraction optimization string for all difference arrays according to the binary numbers from 0 to 15. The steps are as follows: SS11: Mark all difference arrays as C1, C2, ..., Cc in the order in which they are obtained, where c ≥ 1; SS12: According to all the diffraction optimization strings, all binary numbers from 0 to 15 that are different from any of the diffraction optimization strings are obtained, and all the obtained binary numbers are marked as D1, D2, ..., Dc in order from small to large corresponding to the binary numbers; SS13: Use binary number D1 as the difference array C1, D2 as C2, ..., Dc as the diffraction optimization string of Cc; Step 5: Convert the current target ship's operating data into the current ship's optimized data according to the diffraction optimization strings of the diffraction arrays or difference arrays. The steps are as follows: SS21: Convert the transport data of the target ship at the current moment into binary form, and recalibrate the sequence obtained after the conversion into the data to be optimized at the current moment; SS22: Specify a cutting step of 4, cut the data to be optimized, and obtain several groups of strings to be optimized after cutting. Mark all groups of strings to be optimized as E1, E2, ..., Ee from left to right in the order of each group of strings to be optimized in the data to be optimized before cutting. SS23: According to the word string to be optimized E1, a diffraction-optimized word string of a differential array or a diffraction array that is consistent therewith is obtained, and the diffraction-optimized word string is used as an optimized array of the word string to be optimized E1; SS24: according to S23, the optimization arrays of the strings to be optimized E2, E3, ..., Ee are obtained in sequence, and according to the sequence of the strings to be optimized E1, E2, ..., Ee, the optimization arrays are concatenated to obtain the ship optimization data at the current moment; Step 6: Update the template architecture table stored in the ship information collection table according to the obtained diffraction optimization arrays of all diffraction arrays or differential arrays. The updating steps are as follows: SS31: Obtain the diffraction optimization string of the diffraction array or the difference array in the first row of the template architecture table and mark all characters in the diffraction optimization string as F1, F2, F3 and F4 in order from left to right; SS32: Replace F1, F2, F3, and F4 with the characters filled in cells 1, 2, 3, and 4 of row 1 in the template structure table, from left to right. SS33: Replace the characters filled in the 2nd, 3rd, 4th, 5th, ..., cells 16th, 17th, 18th, 19th of the 16th row of the table in order according to S31 to S32; The template architecture table is a 19*16 table, where 19 means the number of columns in the table is 19, and 16 means the number of rows in the table is 16; The 1st, 2nd, 3rd, 4th cells of the 1st row of the table, the 2nd, 3rd, 4th, 5th, ..., cells of the 2nd row of the table, the 16th, 17th, 18th, 19th cells of the 16th row of the table are filled with one of the characters 1 or 0 in sequence, and the 1st, 2nd, ..., 16th rows of the table are described in order from top to bottom of the table; The initial template structure table fills characters into the corresponding cells of the table according to the binary numbers of the numbers 0, 1, ..., 15; the characters filled into the 1st, 2nd, 3rd, and 4th cells in the 1st row of the initial template structure table are 0, 0, 0, 0, respectively, with reference to the four-digit binary number of the number 0; the characters filled into the 2nd, 3rd, 4th, and 5th cells in the 2nd row are 0, 0, 0, 1, respectively, with reference to the four-digit binary number of the number 1; and the characters filled in the corresponding cells in the remaining rows are similar.
2. The method for optimizing and managing smart ship information based on digital twins according to claim 1 is characterized in that: Before completing step 1, you need to complete the following steps: At the current moment, the ship information collection module collects the operating data of the target ship during operation, wherein the operating data includes the position, navigation speed, cargo status and target equipment operating parameters of the target ship.
Citation Information
Patent Citations
Long-distance power grid equipment communication system
CN117614699A
Electric power report intelligent encryption method based on situation awareness
CN118449724A
