Information transmission method for shipborne Internet-of-things terminal

By replacing the key in the secure transmission of ship information, hydrological protection data generated by hydrological transmission units and restored by remote observation platforms, the security risks and management complexity caused by key dependence are solved, and real-time and secure hydrological data are achieved. transmission.

CN119402514APending Publication Date: 2025-02-07TIANJIN SURVEY & DESIGN INST FOR WATER TRANSPORT ENG CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411365984.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-27
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

The prior art relies too much on keys in the secure transmission of ship information, resulting in an increase in the security risk of hydrological data when keys are lost, and key management is complex and costly.

Method used

The hydrological data on site is converted in binary through the hydrological collection unit. The hydrological transmission unit generates hydrological protection data based on the preset protection generation rules, and receives, restores and stores it by the remote observation platform, and replaces the key for data conversion to reduce key dependence .

Benefits of technology

Real-time collection and secure transmission of hydrological data on the ship on-site is realized, avoiding the complexity and high cost of key management, and improving the difficulty of data cracking and ensuring the security of hydrological data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119402514A_ABST
    Figure CN119402514A_ABST
Patent Text Reader

Abstract

The invention, which relates to the technical field of the safe transmission of the ship information, discloses an information transmission method for a shipborne Internet of Things terminal, comprising the following steps: collecting the on-site hydrological data in the operation process of a target ship through hydrological collection data, and converting the hydrological data into corresponding hydrological processing data; a hydrological transmission unit converts real-time hydrological processing data to generate corresponding hydrological protection data, a far-end observation platform receives, restores and stores the hydrological protection data, in the conversion process, a corresponding partition list is delimited based on a decimal system of segmented word strings in a first intercepted partition list, and association mapping is established; according to the method, the conversion logic is used for replacing a secret key to convert the on-site hydrological data, the situation of depending on the secret key is avoided, the unnecessary maintenance and management cost is avoided, meanwhile, the far-end observation platform can grasp the situation of the target ship in the operation process in real time, and assistance is further provided for the operation process of the target ship.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of ship information security transmission, and in particular is a shipborne Internet of Things terminal information transmission method. Background Art

[0002] With the continuous development of the shipping industry and the deepening of the development of marine resources, the importance of information monitoring and management during ship operations has become increasingly prominent. During ship operations, accurately obtaining on-site hydrological data and transmitting it to remote observation platforms has great practical significance and urgent needs.

[0003] However, the current transmission process of field hydrological data mainly uses encrypted transmission in the form of keys. This method is overly dependent on keys. Once the keys are lost, the field hydrological data will face great security risks, and its integrity and confidentiality will be difficult to guarantee. In addition, key management requires a lot of financial and time resources. Not only does it require dedicated manpower to generate, distribute, update and store keys, but it also requires continuous upgrading of the key management system to cope with increasingly complex security challenges, which undoubtedly increases operating costs and management burdens.

[0004] In order to solve the above problems, the present invention proposes a solution. Summary of the invention

[0005] The present invention aims to solve at least one of the technical problems existing in the prior art; to this end, the present invention proposes a method for transmitting information of a shipborne Internet of Things terminal.

[0006] A method for transmitting information of a shipborne Internet of Things terminal comprises the following steps:

[0007] Step 1: The hydrological collection unit performs binary conversion on the collected on-site hydrological data of the target ship at the current moment to obtain the hydrological processing data of the target ship at the current moment;

[0008] Step 2: After receiving the hydrological processing data of the target ship at the current moment, the hydrological transmission unit generates the hydrological protection data of the target ship at the current moment according to the preset protection generation rules;

[0009] Step 3: After receiving the transmitted hydrological protection data of the target ship at the current moment, the remote observation platform restores the on-site hydrological data of the target ship at the current moment according to the preset restoration steps, and displays and stores the on-site hydrological data.

[0010] Preferably, the protection generation rule for generating the hydrological protection data of the target ship at the current moment is as follows:

[0011] S11: from left to right, every 4 characters in the hydrological processing data are taken as a group of segment strings to obtain a plurality of group of segment strings. According to the position of each group of segment strings in the hydrological processing data, all the obtained group of segment strings are marked as A1, A2...Aa from left to right, where a≥1;

[0012] S12: Traverse the segmented strings A1, A2, ...Aa, and extract the first b1 segmented strings, wherein the first b1 segmented strings satisfy the preset extraction partitioning condition:

[0013] According to the four-bit binary numbers of the numbers 0 to 15, a segment string that is consistent with it can be found from the first b1 segment strings that have been intercepted, and the four-bit binary numbers of the numbers 0 to 15 that are consistent with the segment string Ab1 have only the segment string Ab1 consistent with it in the segment strings A1, A2...Ab1;

[0014] S13: Generate a cut partition list C1 according to the first b1 cut segment strings, in which the segment strings A1, A2, ..., Ab1 are arranged in sequence from left to right;

[0015] S14: partitioning the segmented strings in the intercepted partition list C1 according to a preset pre-order partition rule to obtain a first partition list D1, a second partition list D2, a third partition list D3 and a fourth partition list D4 based on the intercepted partition list C1;

[0016] S15: Generate the prefix strings of all the segment strings in the first partition list D1 according to the preset prefix generation steps;

[0017] S16: Generate the prefix strings of all the segment strings in the second partition list D2, the third partition list D3 and the fourth partition list D4 respectively according to S15;

[0018] S17: concatenate the leading strings of the segment strings A1, A2 ... Ab1 to obtain a partition sequence of the intercepted partition list C1;

[0019] S18: Traverse the segmented word strings Ab1+1, Ab1+2...Aa, and extract the first b2 segmented word strings, wherein the first b2 segmented word strings also meet the preset segmentation condition;

[0020] S19: Generate a cut partition list C2 according to the first b2 cut segment strings, in which the segment strings Ab1+1, Ab1+2, ...Ab1+b2 are arranged from left to right;

[0021] S110: partitioning the segmented strings in the intercepted partition list C2 according to a preset standard partitioning rule based on the intercepted partition list C1 to obtain a first partition list I1, a second partition list I2, a third partition list I3 and a fourth partition list I4 based on the intercepted partition list C2;

[0022] S111: Obtaining mapped segmented strings of all segmented strings in the first partition list I1 according to the first partition list D1 and a preset mapping acquisition rule;

[0023] S112: according to S111, the mapped segment strings of all the segment strings in the second partition lists I2, I3, I4 are obtained in turn according to the second partition lists D2, D3 and D4, and the mapped segment strings of all the segment strings in the first, second, third and fourth partition lists I1, I2, I3, I4 are concatenated to obtain the partition sequence of the intercepted partition list C2;

[0024] S113: According to S18, intercept and generate intercepted partition lists C3, C4, ... Cc in sequence, each time an intercepted partition list is generated, and a partition sequence of the intercepted partition list is generated according to S110 to S112 based on the previous intercepted partition list of the intercepted partition list;

[0025] The hydrological transmission unit splices the partition sequences in the order of intercepting the partition lists C1, C2...Cc to obtain the hydrological protection data of the target ship at the current moment.

[0026] Preferably, S110 obtains the following standard partition rules for the first partition list I1, the second partition list I2, the third partition list I3 and the fourth partition list I4 based on the intercepted partition list C2:

[0027] SS31: Create an empty first partition list, a second partition list, a third partition list and a fourth partition list based on the intercepted partition list C2;

[0028] SS32: Get the number of segmented strings that are consistent with numbers 0 to 15 in the intercepted partition list C1, and mark the numbers 0 to 15 in descending order, marking them as H0, H1...H15, and the numbers corresponding to H0, H1...H15 decrease in sequence;

[0029] SS33: Add H0, H1, H2, and H3 to the first partition list in sequence to obtain a first partition list I1 based on the intercepted partition list C2, add H4, H5, H6, and H7 to the second partition list in sequence to obtain a second partition list I2 based on the intercepted partition list C2, add H8, H9, H10, and H11 to the third partition list in sequence to obtain a third partition list I3 based on the intercepted partition list C2, and add H12, H13, H14, and H15 to the second partition list in sequence to obtain a fourth partition list I4 based on the intercepted partition list C4.

[0030] Preferably, in S111, mappings of all segmented strings in the first partitioned list I1 are obtained according to the first partitioned list D1. The segmented string mapping obtaining rule is as follows:

[0031] SS41: De-duplicate the first partition list D1. During the de-duplicate process, for several identical segment strings, only the segment string added first is retained according to the order in which these segment strings are added. After de-duplicate is completed, all segment strings J1, J2, J3, and J4 are extracted in order from left to right.

[0032] SS42: Mark all segment strings in the first partition list I1 as K1, K2, K3, K4 in sequence according to the order in which they were added;

[0033] SS43: Use segment string J1 as the mapping segment string of segment string K1, use segment string J2 as the mapping segment string of segment string K2, use segment string J3 as the mapping segment string of segment string K3, and use segment string J4 as the mapping segment string of segment string K4.

[0034] Compared with the prior art, the present invention has the following beneficial effects:

[0035] (1) The present invention collects the on-site hydrological data of the target ship during the operation process through hydrological data collection and converts it into corresponding hydrological processing data. The hydrological transmission unit converts the real-time hydrological processing data into corresponding hydrological protection data, which is received, restored and stored by the remote observation platform. In this way, the remote observation platform can grasp the situation of the target ship during the operation in real time, and further provide assistance for the operation process of the target ship;

[0036] (2) In the process of converting the real-time hydrological processing data by the hydrological transmission unit of the present invention, the segmented strings obtained by grouping the hydrological processing data are cut and partitioned into lists according to the preset cut and partition conditions. For the first cut and partition list, the first, second, third, and fourth partition lists corresponding to the segmented strings in the first cut and partition list are delineated based on the decimal of the segmented strings therein, and an associated mapping is established to obtain the preamble strings of all the segmented strings in the first cut and partition list. All the subsequently generated cut and partition lists are mapped based on the segmented strings in the corresponding index table in each partition list in the previously generated cut and partition list, thereby The final hydrological protection data is obtained, wherein the preset interception partitioning conditions ensure that the number of segmented strings in each interception partition list changes dynamically, and at the same time, the mapping segmented strings of the segmented strings in each interception partition list are generated based on the previously generated interception partition list. In this way, on the one hand, the conversion logic is used to replace the key to convert the on-site hydrological data, getting rid of the situation of relying on the key and avoiding unnecessary maintenance and management costs. On the other hand, the encryption logic has a certain degree of dynamism and complexity, which ensures the difficulty of cracking the on-site hydrological data and further ensures the security of the on-site hydrological data.

[0037] (3) The present invention introduces a frequency count when obtaining the prefix strings of all segment strings in the first intercepted partition list. Based on the frequency count, even the same segment strings that are assigned to the same partition list have different prefix strings. In this way, the complexity of the partition sequence of the intercepted partition list is guaranteed, and further security is provided for the conversion process of all segment lists in all subsequently generated intercepted partition lists. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 is a system block diagram of the present invention;

[0039] Figure 2 The present invention is a flow chart of the method. DETAILED DESCRIPTION

[0040] The technical scheme of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than 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.

[0041] See also Figure 1 , 2 , the present application provides a method for transmitting information of a shipborne Internet of Things terminal, including a ship control terminal module and a remote observation platform;

[0042] The ship control terminal module is used to collect the on-site hydrological data of the target ship's operation process in real time and transmit it safely to the remote observation terminal. The ship control terminal module includes a hydrological collection unit and a hydrological transmission unit, wherein the operation process refers to the entire process of specifying a specific task or activity;

[0043] During the operation, the hydrological acquisition unit collects the on-site hydrological data of the target ship in real time, performs binary conversion on the real-time on-site hydrological data of the target ship obtained after the collection, calibrates the converted data into the real-time hydrological processing data of the target ship, and transmits the real-time hydrological processing data of the target ship to the hydrological transmission unit, wherein the on-site hydrological data includes water level information, water flow information, water temperature information, water quality information, wave information, etc.;

[0044] Water temperature information includes absolute water level and tidal level changes, water flow information includes flow velocity and direction, water quality information includes salinity, turbidity, chemical content, etc., and wave information includes wave height, wave period and wave direction, etc.;

[0045] After receiving the real-time hydrological processing data of the target ship, the hydrological transmission unit generates the real-time hydrological protection data of the target ship according to the preset protection generation rules, and transmits the real-time hydrological protection data of the target ship to the remote observation platform;

[0046] After receiving the hydrological processing data of the target ship at the current moment, the hydrological transmission unit generates the protection generation rules of the hydrological protection data of the target ship at the current moment as follows:

[0047] S11: from left to right, every 4 characters in the hydrological processing data are taken as a group of segment strings to obtain a plurality of group of segment strings. According to the position of each group of segment strings in the hydrological processing data, all the obtained group of segment strings are marked as A1, A2...Aa from left to right, where a≥1;

[0048] S12: Traverse the segmented strings A1, A2, ...Aa, and extract the first b1 segmented strings, wherein the first b1 segmented strings satisfy the preset extraction partitioning condition:

[0049] According to the four-bit binary numbers of the numbers 0 to 15, a segment string that is consistent with it can be found from the first b1 segment strings that have been intercepted, and the four-bit binary numbers of the numbers 0 to 15 that are consistent with the segment string Ab1 have only the segment string Ab1 consistent with it in the segment strings A1, A2...Ab1;

[0050] It should be noted here that, in the order of the numbers 0, 1...15, the four-digit binary numbers are 0000, 0001, 0010, 0011, 0100, 0101, 0110, 0111, 1000, 1001, 1010, 1011, 1100, 1101, 1110, 1111;

[0051] S13: Generate a cut partition list C1 according to the first b1 cut segment strings, in which the segment strings A1, A2, ..., Ab1 are arranged in sequence from left to right;

[0052] S14: partitioning the segmented strings in the intercepted partition list C1 according to a preset pre-order partitioning rule to obtain a first partition list D1, a second partition list D2, a third partition list D3 and a fourth partition list D4 based on the intercepted partition list C1. The pre-order partitioning rule is as follows:

[0053] S141: creating an empty first partition list, a second partition list, a third partition list and a fourth partition list based on the intercepted partition list C1;

[0054] S142: First, the segment string A1 is determined. If the decimal number of the segment string A1 is within the preset first partition interval [0,3], the segment string A1 is added to the first partition list. If it is within the preset second partition interval [4,7], the segment string A1 is added to the second partition list. If it is within the preset third partition interval [8,11], the segment string A1 is added to the third partition list. If it is within the preset fourth partition interval [12,15], the segment string A1 is added to the fourth partition list.

[0055] S143: according to S143, the segmented strings A2, A3 ... Ab1 are judged in sequence, and added into the corresponding partition list based on the judgment result. When the segmented string Ab1 is added into the corresponding partition list, the first partition list, the second partition list, the third partition list and the fourth partition list are obtained at this time, and marked as D1, D2, D3 and D4 in sequence;

[0056] S15: Generate the preamble strings of all the segment strings in the first partition list D1 according to the preset preamble generation steps. The preamble generation steps are as follows:

[0057] S151: according to the two-digit binary numbers of numbers 0 to 3, establish association mappings between the two-digit binary numbers of numbers 0, 1, 2, 3 and the first partition list D1, the second partition list D2, the third partition list D3 and the fourth partition list D4 in sequence;

[0058] It should be noted here that according to the order of the numbers 0, 1, 2, and 3, the two-digit binary numbers are 00, 01, 10, and 11;

[0059] S152: extract all segmented strings in the first partition list D1, and re-label all extracted segmented strings as E1, E2, ... Ee, 1≤e in the order in which the segmented strings are added to the first partition list D1. <b1;

[0060] S153: Determine the content of the segment string E1. If the segment string E1 is consistent with the four-bit binary number of the number 0, the character string 00 is used as the mapping character string of the segment string E1; if the segment string E1 is consistent with the four-bit binary number of the number 1, the character string 01 is used as the mapping character string of the segment string E1; if the segment string E1 is consistent with the four-bit binary number of the number 2, the character string 10 is used as the mapping character string of the segment string E1; if the segment string E1 is consistent with the four-bit binary number of the number 3, the character string 11 is used as the mapping character string of the segment string E1;

[0061] The two binary digits of the decimal number of the four binary digits that are consistent with the segment string E1 are used as the mapping string of the segment string E1;

[0062] S154: Increment the frequency count of the four-digit number that is currently consistent with the segmented word string E1 by 1, mark the 6-digit binary number of the frequency count after the increment by 1 as the frequency number of the segmented word string E1, and update the frequency count of the four-digit binary number according to the frequency count after the increment by 1;

[0063] S155: concatenate the frequency number of the segment string E1, the mapping string of the segment string E1, and the two-bit binary number associated with the first partition list D1 to obtain a preamble string of the segment string E1, wherein after the concatenation, the two-bit binary number associated with the first partition list D1 is at the leftmost end of the preamble string, and the frequency number of the segment string E1 is at the rightmost end of the preamble string;

[0064] In this embodiment, the four binary digits 0 to 15 each have a frequency count, and the initial frequency count is 0;

[0065] S155: in the order of segmented strings E1, E2, ...Ee, all segmented strings arranged before segmented string E2 are obtained, and the total number F1 of segmented strings consistent with segmented string E2 is obtained from all the obtained segmented strings, and F1 and the number 0 are compared for size, if F1=0, the preceding sequence string of segmented string E2 is calculated according to the preset first calculation rule, and if F1>0, the preceding sequence string of segmented string E2 is calculated according to the preset second calculation rule;

[0066] The first calculation rule for calculating the preceding string of the segment string E2 is as follows:

[0067] SS11: The two binary digits of the decimal number of the four binary digits that are consistent with the segment string E2 are used as the mapping string of the segment string E2;

[0068] SS12: then increment the frequency number of the four-digit number that is consistent with the segment string E2 by 1, mark the 6-digit binary number of the frequency count after the increment by 1 as the frequency number of the segment string E2, and update the frequency count of the four-digit binary number according to the frequency count after the increment by 1;

[0069] SS13: The frequency number of the segment string E2, the mapping string of the segment string E2, and the two-bit binary number associated with the first partition list D1 are concatenated to obtain a preamble string of the segment string E2. After the concatenation, the two-bit binary number associated with the first partition list D1 is located at the leftmost end of the preamble string, and the frequency number of the segment string E2 is located at the rightmost end of the preamble string.

[0070] The second calculation rule for calculating and obtaining the segment string E2 is as follows:

[0071] SS21: Extract the segment string that is closest to the value of the tag subscript of the segment string E2 from all the segment strings obtained, obtain the decimal number F2 of the mapping string of the segment string, use the function formula G1=mod(F1+F2,4) to calculate the mapping string value G1 of the segment string E2, and use the two-digit binary number of the mapping conversion value G1 as the mapping string of the segment string E2, where mod() is a function of taking the remainder;

[0072] SS22: then increment the frequency number of the four-digit number that is consistent with the segment string E2 by 1, mark the 6-digit binary number of the frequency count after the increment by 1 as the frequency number of the segment string E2, and update the frequency count of the four-digit binary number according to the frequency count after the increment by 1;

[0073] SS23: The frequency number of the segment string E2, the mapping string of the segment string E2, and the two-bit binary number associated with the first partition list D1 are concatenated to obtain a preamble string of the segment string E2. After the concatenation, the two-bit binary number associated with the first partition list D1 is located at the leftmost end of the preamble string, and the frequency number of the segment string E2 is located at the rightmost end of the preamble string.

[0074] S156: Calculate and obtain the preceding strings of the segment strings E3, E4, ...Ee in sequence according to S151 to S155;

[0075] S16: Generate the prefix strings of all the segment strings in the second partition list D2, the third partition list D3 and the fourth partition list D4 respectively according to S15, wherein in the process of generating the prefix strings of all the segment strings in the second partition list D2; from left to right, for the first segment string obtained that is consistent with the four-bit binary numbers of the numbers 4, 5, 6, and 7, the process of obtaining its mapping string is as follows:

[0076] The two-digit binary digit of the decimal number obtained by subtracting 4 from the decimal digit of the four-digit binary digit that is consistent with the segment string is used as the mapping string of the segment string;

[0077] Similarly, in the process of generating the preamble strings of all the segment strings in the third partition list D3, from left to right, for the first segment string obtained that is consistent with the four-bit binary numbers of the numbers 8, 9, 10, and 11, the process of obtaining the mapping string of the segment string is as follows: the two-bit binary number of the decimal number obtained by subtracting 8 from the decimal number of the four-bit binary number consistent with the segment string is used as the mapping string of the segment string;

[0078] In the process of generating the preamble strings of all the segment strings in the fourth partition list D4; from left to right, for the first segment string obtained that is consistent with the four-bit binary numbers of the numbers 12, 13, 14, and 15, the process of obtaining the mapping string of the segment string is as follows: the two-bit binary number of the decimal number obtained by subtracting 12 from the decimal number of the four-bit binary number consistent with the segment string is used as the mapping string of the segment string;

[0079] S17: concatenate the leading strings of the segment strings A1, A2 ... Ab1 to obtain a partition sequence of the intercepted partition list C1;

[0080] S18: Traverse the segmented word strings Ab1+1, Ab1+2...Aa, and extract the first b2 segmented word strings, wherein the first b2 segmented word strings also meet the preset segmentation condition;

[0081] S19: Generate a cut partition list C2 according to the first b2 cut segment strings, in which the segment strings Ab1+1, Ab1+2, ...Ab1+b2 are arranged from left to right;

[0082] S110: Based on the intercepted partition list C1, the segmented strings in the intercepted partition list C2 are partitioned according to a preset standard partition rule to obtain a first partition list I1, a second partition list I2, a third partition list I3 and a fourth partition list I4 based on the intercepted partition list C2. The standard partition rule is as follows:

[0083] SS31: Create an empty first partition list, a second partition list, a third partition list and a fourth partition list based on the intercepted partition list C2;

[0084] SS32: Get the number of segmented strings that are consistent with numbers 0 to 15 in the intercepted partition list C1, and mark the numbers 0 to 15 in descending order, marking them as H0, H1...H15, and the numbers corresponding to H0, H1...H15 decrease in sequence;

[0085] SS33: Add H0, H1, H2, and H3 to the first partition list in sequence to obtain a first partition list I1 based on the intercepted partition list C2, add H4, H5, H6, and H7 to the second partition list in sequence to obtain a second partition list I2 based on the intercepted partition list C2, add H8, H9, H10, and H11 to the third partition list in sequence to obtain a third partition list I3 based on the intercepted partition list C2, and add H12, H13, H14, and H15 to the second partition list in sequence to obtain a fourth partition list I4 based on the intercepted partition list C4;

[0086] S111: According to the first partition list D1, the mapped segmented strings of all segmented strings in the first partition list I1 are obtained according to the preset mapping acquisition rule. The mapping acquisition rule is as follows:

[0087] SS41: De-duplicate the first partition list D1. During the de-duplicate process, for several identical segment strings, only the segment string added first is retained according to the order in which these segment strings are added. After de-duplicate is completed, all segment strings J1, J2, J3, and J4 are extracted in order from left to right.

[0088] SS42: Mark all segment strings in the first partition list I1 as K1, K2, K3, K4 in sequence according to the order in which they were added;

[0089] SS43: Use segment string J1 as the mapping segment string of segment string K1, use segment string J2 as the mapping segment string of segment string K2, use segment string J3 as the mapping segment string of segment string K3, and use segment string J4 as the mapping segment string of segment string K4;

[0090] S112: according to S111, the mapped segmented strings of all the segmented strings in the second partition lists I2, I3, and I4 are obtained in turn according to the second partition lists D2, D3, and D4;

[0091] The mapped segmented strings of all the segmented strings in the first, second, third, and fourth partition lists I1, I2, I3, and I4 are spliced ​​to obtain the partition sequence of the intercepted partition list C2. During the splicing process, the mapped segmented strings of all the segmented strings in the first partition list are spliced ​​preferentially in the order of the first, second, third, and fourth partition lists. During the splicing process, for all the segmented strings belonging to the same partition list, the mapped segmented strings of the corresponding segmented strings are spliced ​​in order from left to right according to their positions in the partition list;

[0092] S113: According to S18, intercept and generate intercepted partition lists C3, C4, ... Cc in sequence, each time an intercepted partition list is generated, and a partition sequence of the intercepted partition list is generated according to S110 to S112 based on the previous intercepted partition list of the intercepted partition list;

[0093] It should be noted here that

[0094] The hydrological transmission unit splices the partition sequences in the order of intercepting the partition lists C1, C2...Cc to obtain the hydrological protection data of the target ship at the current moment;

[0095] The hydrological transmission unit transmits the hydrological protection data of the target ship at the current moment to the remote observation platform;

[0096] The remote observation platform is used to receive the on-site hydrological data of the target ship in real time and display it to the observers for viewing and sharing data. After receiving the transmitted hydrological protection data of the target ship at the current moment, the remote observation platform restores it according to the preset restoration steps to obtain the on-site hydrological data of the target ship at the current moment. The restoration steps are as follows:

[0097] SS51: intercepting the hydrological protection data of the target ship at the current moment in order from left to right to obtain the leading string of the segment string A1;

[0098] SS53: For the preceding string of segment string A1, characters 2, 2, and 6 are successively cut out from the leftmost end thereof to obtain a two-digit binary number, a mapping string, and a frequency number mapped to the segment list to which segment string A1 belongs, and the segment string A1 can be restored by the inverse operation of S15;

[0099] SS54: Then, every 10 characters are used as a truncation length, and segmented strings A2, A3, ..., Ab1 are successively truncated from the hydrological protection data of the target ship at the current moment, and each truncation of a segmented string is restored according to SS3 to obtain a corresponding segmented string;

[0100] Until the segmented strings that have been cut out meet the preset cutout partitioning conditions, the cutout is temporarily stopped, and a cutout partition list C1 is generated based on all the restored segmented strings;

[0101] SS55: According to the generated interception partition list C1, the hydrological protection data of the target ship at the current moment remaining after interception is restored to obtain the segmented strings Ab1+1, Ab1+2...Ab1+b2;

[0102] SS56: Restore the segmented strings Ab1+b2+1, Ab1+b2+2...Aa according to SS54 to SS55, splice the restored segmented strings A1, A2...Aa, convert the spliced ​​data to obtain the on-site hydrological data of the target ship at the current moment, and display and store the on-site hydrological data;

[0103] In this embodiment, during the process of intercepting the segmented strings A1, A2 ... Aa, if all the remaining segmented strings do not meet the preset interception partitioning conditions, then all the remaining segmented strings also generate an interception partitioning list;

[0104] For the mapping segment strings of all segment strings in the intercepted partition list, refer to the mapping segment strings of the segment strings with the same content in the previously generated intercepted partition list. For example, if there is a segment list L1 in the intercepted partition list, the steps for obtaining the mapping segment string of the segment list L1 are as follows: find a segment list consistent with the segment list L1 in the previously generated intercepted partition list, and use the mapping segment string of the segment list as the mapping segment string of the segment list L1;

[0105] In this application, the segmented word string and the four-bit binary number are consistent, which means that the character content, character sequence and total number of characters constituting the segmented word string are exactly the same as the character content, character sequence and total number of characters constituting the four-bit binary number;

[0106] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, a person skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the scope of the technical method of the present invention.

Claims

1. A method for transmitting information of a shipborne Internet of Things terminal, characterized in that: including, including the following steps: Step 1: The hydrological collection unit performs binary conversion on the collected on-site hydrological data of the target ship at the current moment to obtain the hydrological processing data of the target ship at the current moment; Step 2: After receiving the hydrological processing data of the target ship at the current moment, the hydrological transmission unit generates the hydrological protection data of the target ship at the current moment according to the preset protection generation rules; Step 3: After receiving the transmitted hydrological protection data of the target ship at the current moment, the remote observation platform restores the on-site hydrological data of the target ship at the current moment according to the preset restoration steps, and displays and stores the on-site hydrological data.

2. A method for transmitting information of a shipborne Internet of Things terminal according to claim 1, characterized in that: The protection generation rules for generating the hydrological protection data of the target ship at the current moment are as follows: S11: from left to right, every 4 characters in the hydrological processing data are taken as a group of segment strings to obtain a plurality of group of segment strings. According to the position of each group of segment strings in the hydrological processing data, all the obtained group of segment strings are marked as A1, A2...Aa from left to right, where a≥1; S12: Traverse the segmented strings A1, A2, ...Aa, and extract the first b1 segmented strings, wherein the first b1 segmented strings satisfy the preset extraction partitioning condition: According to the four-bit binary numbers of the numbers 0 to 15, a segment string that is consistent with it can be found from the first b1 segment strings that have been intercepted, and the four-bit binary numbers of the numbers 0 to 15 that are consistent with the segment string Ab1 have only the segment string Ab1 consistent with it in the segment strings A1, A2...Ab1; S13: Generate a cut partition list C1 according to the first b1 cut segment strings, in which the segment strings A1, A2, ..., Ab1 are arranged in sequence from left to right; S14: partitioning the segmented strings in the intercepted partition list C1 according to a preset pre-order partition rule to obtain a first partition list D1, a second partition list D2, a third partition list D3 and a fourth partition list D4 based on the intercepted partition list C1; S15: Generate the prefix strings of all the segment strings in the first partition list D1 according to the preset prefix generation steps; S16: Generate the prefix strings of all the segment strings in the second partition list D2, the third partition list D3 and the fourth partition list D4 respectively according to S15; S17: concatenate the leading strings of the segment strings A1, A2 ... Ab1 to obtain a partition sequence of the intercepted partition list C1; S18: Traverse the segmented word strings Ab1+1, Ab1+2...Aa, and extract the first b2 segmented word strings, wherein the first b2 segmented word strings also meet the preset segmentation condition; S19: Generate a cut partition list C2 according to the first b2 cut segment strings, in which the segment strings Ab1+1, Ab1+2, ...Ab1+b2 are arranged from left to right; S110: partitioning the segmented strings in the intercepted partition list C2 according to a preset standard partitioning rule based on the intercepted partition list C1 to obtain a first partition list I1, a second partition list I2, a third partition list I3 and a fourth partition list I4 based on the intercepted partition list C2; S111: Obtaining mapped segmented strings of all segmented strings in the first partition list I1 according to the first partition list D1 and a preset mapping acquisition rule; S112: according to S111, the mapped segment strings of all the segment strings in the second partition lists I2, I3, I4 are obtained in turn according to the second partition lists D2, D3 and D4, and the mapped segment strings of all the segment strings in the first, second, third and fourth partition lists I1, I2, I3, I4 are concatenated to obtain the partition sequence of the intercepted partition list C2; S113: According to S18, intercept and generate intercepted partition lists C3, C4, ... Cc in sequence, each time an intercepted partition list is generated, and a partition sequence of the intercepted partition list is generated according to S110 to S112 based on the previous intercepted partition list of the intercepted partition list; The hydrological transmission unit splices the partition sequences in the order of intercepting the partition lists C1, C2...Cc to obtain the hydrological protection data of the target ship at the current moment.

3. A method for transmitting information of a shipborne Internet of Things terminal according to claim 2, characterized in that: S14, obtaining the pre-order partitioning rules of the first partition list D1, the second partition list D2, the third partition list D3 and the fourth partition list D4 based on the intercepted partition list C1 as follows: S141: creating an empty first partition list, a second partition list, a third partition list and a fourth partition list based on the intercepted partition list C1; S142: First, the segment string A1 is determined. If the decimal number of the segment string A1 is within the preset first partition interval [0,3], the segment string A1 is added to the first partition list. If it is within the preset second partition interval [4,7], the segment string A1 is added to the second partition list. If it is within the preset third partition interval [8,11], the segment string A1 is added to the third partition list. If it is within the preset fourth partition interval [12,15], the segment string A1 is added to the fourth partition list. S143: According to S143, the segmented strings A2, A3...Ab1 are judged in turn, and added to the corresponding partition lists based on the judgment results. After the segmented string Ab1 is added to the corresponding partition list, the first partition list, the second partition list, the third partition list and the fourth partition list are obtained at this time, and are marked as D1, D2, D3 and D4 respectively.

4. A method for transmitting information of a shipborne Internet of Things terminal according to claim 2, characterized in that: S15, the steps of generating the pre-order strings of all the segment strings in the first partition list D1 are as follows: S151: according to the two-digit binary numbers of the numbers 0 to 3, establish association mappings between the two-digit binary numbers of the numbers 0, 1, 2, and 3 and the first partition list D1, the second partition list D2, the third partition list D3, and the fourth partition list D4 in sequence; in the order of the numbers 0, 1, 2, and 3, the two-digit binary numbers are 00, 01, 10, and 11 in sequence; S152: extract all segmented strings in the first partition list D1, and re-label all extracted segmented strings as E1, E2, ... Ee, 1≤e in the order in which the segmented strings are added to the first partition list D1. <b1; S153: Determine the content of the segment string E1, and use the two binary digits of the decimal number of the four binary digits that are consistent with the segment string E1 as the mapping string of the segment string E1; S154: Increment the frequency count of the four-digit number that is currently consistent with the segmented word string E1 by 1, mark the 6-digit binary number of the frequency count after the increment by 1 as the frequency number of the segmented word string E1, and update the frequency count of the four-digit binary number according to the frequency count after the increment by 1; The frequency base number of the segment string E1, the mapping string of the segment string E1 and the two-bit binary number associated with the first partition list D1 are concatenated to obtain the preamble string of the segment string E1; the four-bit binary numbers of the numbers 0 to 15 all have a frequency count, and the initial frequency counts are all 0; S155: in the order of segmented strings E1, E2, ...Ee, all segmented strings arranged before segmented string E2 are obtained, and the total number F1 of segmented strings consistent with segmented string E2 is obtained from all the obtained segmented strings, and F1 and the number 0 are compared for size, if F1=0, the preceding sequence string of segmented string E2 is calculated according to the preset first calculation rule, and if F1>0, the preceding sequence string of segmented string E2 is calculated according to the preset second calculation rule; S156: Calculate and obtain the preceding strings of the segmented strings E3, E4, ...Ee in sequence according to S151 to S155.

5. A method for transmitting information of a shipborne Internet of Things terminal according to claim 4, characterized in that: In S155, the first calculation rule for calculating the preceding string of the segment string E2 is as follows: SS11: The two binary digits of the decimal number of the four binary digits that are consistent with the segment string E2 are used as the mapping string of the segment string E2; SS12: then increment the frequency number of the four-digit number that is consistent with the segment string E2 by 1, mark the 6-digit binary number of the frequency count after the increment by 1 as the frequency number of the segment string E2, and update the frequency count of the four-digit binary number according to the frequency count after the increment by 1; SS13: The frequency base number of the segment string E2, the mapping string of the segment string E2 and the two-digit binary number associated with the first partition list D1 are concatenated to obtain the prefix string of the segment string E2.

6. A method for transmitting information of a shipborne Internet of Things terminal according to claim 4, characterized in that: In S155, the second calculation rule for calculating and obtaining the segment string E2 is as follows: SS21: Extract the segment string that is closest to the value of the tag subscript of the segment string E2 from all the segment strings obtained, obtain the decimal number F2 of the mapping string of the segment string, use the function formula G1=mod(F1+F2,4) to calculate the mapping string value G1 of the segment string E2, and use the two-digit binary number of the mapping conversion value G1 as the mapping string of the segment string E2, where mod() is a function of taking the remainder; SS22: then increment the frequency number of the four-digit number that is consistent with the segment string E2 by 1, mark the 6-digit binary number of the frequency count after the increment by 1 as the frequency number of the segment string E2, and update the frequency count of the four-digit binary number according to the frequency count after the increment by 1; SS23: concatenate the frequency number of the segment string E2, the mapping string of the segment string E2, and the two-digit binary number associated with the first partition list D1 to obtain the prefix string of the segment string E2.

7. A method for transmitting information of a shipborne Internet of Things terminal according to claim 2, characterized in that: S110 obtains the standard partitioning rules of the first partition list I1, the second partition list I2, the third partition list I3 and the fourth partition list I4 based on the intercepted partition list C2 as follows: SS31: Create an empty first partition list, a second partition list, a third partition list and a fourth partition list based on the intercepted partition list C2; SS32: Get the number of segmented strings that are consistent with numbers 0 to 15 in the intercepted partition list C1, and mark the numbers 0 to 15 in descending order, marking them as H0, H1...H15, and the numbers corresponding to H0, H1...H15 decrease in sequence; SS33: Add H0, H1, H2, and H3 to the first partition list in sequence to obtain a first partition list I1 based on the intercepted partition list C2, add H4, H5, H6, and H7 to the second partition list in sequence to obtain a second partition list I2 based on the intercepted partition list C2, add H8, H9, H10, and H11 to the third partition list in sequence to obtain a third partition list I3 based on the intercepted partition list C2, and add H12, H13, H14, and H15 to the second partition list in sequence to obtain a fourth partition list I4 based on the intercepted partition list C4.

8. A method for transmitting information of a shipborne Internet of Things terminal according to claim 2, characterized in that: In S111, mappings of all segmented strings in the first partitioned list I1 are obtained according to the first partitioned list D1. The segmented string mapping obtaining rule is as follows: SS41: De-duplicate the first partition list D1. During the de-duplicate process, for several identical segment strings, only the segment string added first is retained according to the order in which these segment strings are added. After de-duplicate is completed, all segment strings J1, J2, J3, and J4 are extracted in order from left to right. SS42: Mark all segment strings in the first partition list I1 as K1, K2, K3, K4 in sequence according to the order in which they were added; SS43: Use segment string J1 as the mapping segment string of segment string K1, use segment string J2 as the mapping segment string of segment string K2, use segment string J3 as the mapping segment string of segment string K3, and use segment string J4 as the mapping segment string of segment string K4.

Citation Information

Cited By

  • Medical equipment data management system based on multiple platforms

    CN120511070A