Remote interaction method of ship data information based on digital twin

By dividing the information recording time segments in the ship data and calculating the degree of dispersion, and adaptively adjusting the depth of the isolated tree, the problem that the traditional isolated forest algorithm cannot effectively identify the noise of the ship data is solved, and the efficiency of data interaction is improved.

CN118277923BActive Publication Date: 2024-08-27TIANJIN XINWEI INTELLIGENT TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410704517.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-03
Publication Date
2024-08-27
Estimated Expiration
2044-06-03

AI Technical Summary

Technical Problem

The depth of each isolated tree in the traditional isolated forest algorithm is usually a preset fixed empirical parameter, which fails to effectively consider the periodic changes of ship information data, resulting in the inability to effectively identify the noise content in the data and reducing the efficiency of data information interaction. efficiency.

Method used

By collecting ship dimension standard data, dividing the information recording time period according to its periodic fluctuation distribution, calculating the dispersion degree of ship information in each time period, and adaptively adjusting the depth of the isolated tree to identify the noise content.

Benefits of technology

It improves the accuracy of identifying the noise content in the data, improves the efficiency of data information interaction, and combines the periodic change characteristics of ship information data to make the depth of the isolated tree adaptively change according to the amount of noise.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118277923B
    Figure CN118277923B
Patent Text Reader

Abstract

The present invention relates to the technical field of data transmission, and in particular to a remote interaction method of ship data information based on digital twins, including: collecting a number of ship dimensional standard data of each ship dimensional data type; dividing all recording moments into a number of information recording time segments according to the periodic fluctuation distribution of the ship dimensional standard data in each ship dimensional data type; obtaining the dispersion degree of ship information in each information recording time segment according to the time span distribution of the recording time between different information recording time segments and the periodic distribution of ship information; adaptively adjusting the isolation tree depth according to the dispersion degree of ship information in each information recording time segment, and transmitting the ship dimensional standard data. The present invention improves the accuracy of identifying the noise content contained in the data and improves the efficiency of data information interaction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data transmission, and in particular to a method for remote interaction of ship data information based on digital twins. Background Art

[0002] Digital twin technology combined with sensor networks can monitor various information parameters of the ship in real time, including mechanical equipment status, energy consumption, cargo transportation conditions and many other information parameters; but in the process of remote interaction of ship data information, for the multi-dimensional data on the ship engine, the collected data will inevitably have noise, making it impossible to clearly represent the actual data changes.

[0003] Existing methods usually use the isolation forest algorithm to denoise the collected ship information data. Since ships will sail back and forth along relatively fixed routes, the corresponding ship information data will show a strong periodic change pattern as a whole; while the depth of each isolated tree in the traditional isolation forest algorithm is usually a fixed empirical parameter preset by humans, and the periodic change pattern characteristics of the ship information data are not taken into account. It is impossible to effectively identify the noise content contained in the data, resulting in low noise removal efficiency, thereby reducing the efficiency of data information interaction. Summary of the invention

[0004] The present invention provides a remote interaction method for ship data information based on digital twins to solve the existing problem: the depth of each isolated tree in the traditional isolation forest algorithm is usually a fixed empirical parameter preset artificially, and the periodic change characteristics of ship information data are not taken into account, and the noise content contained in the data cannot be effectively identified.

[0005] The digital twin-based ship data information remote interaction method of the present invention adopts the following technical solutions:

[0006] The following steps are involved:

[0007] Collecting a plurality of ship dimensional standard data of each ship dimensional data type, wherein each ship dimensional standard data corresponds to a recording time;

[0008] According to the periodic fluctuation distribution of the ship dimension standard data in each ship dimension data type, all recording times are divided into several information recording time periods;

[0009] According to the time span distribution of the recording time between different information recording time periods and the period distribution of the ship information, the dispersion degree of the ship information in each information recording time period is obtained;

[0010] According to the dispersion degree of ship information in each information recording time period, the isolation tree depth is adaptively adjusted and the ship dimension standard data is transmitted.

[0011] Preferably, the method of dividing all recording moments into a number of information recording moment periods according to the periodic fluctuation distribution of the ship dimension standard data in each ship dimension data type includes the following specific methods:

[0012] Obtaining a comparison time data sequence for each ship dimension data type at each recording moment;

[0013] Preset a number of recording moments ; Record time ago Recorded moments and After recording time The time period composed of the recorded moments is recorded as The neighborhood time period of the recording moment; according to the The trend similarity of the time data series between adjacent recording moments in the neighborhood time period of the first recording moment is compared, and the first Reliability factor for the division of the recorded moments;

[0014] Obtain the partition reliability factors of all recorded moments, perform linear normalization on the partition reliability factors of all recorded moments, and record each normalized partition reliability factor as the partition reliability; preset a neighborhood radius And a minimum number of points , the absolute value of the difference in partition reliability between different recording moments is used as the distance metric;

[0015] According to the distance metric, neighborhood radius And the minimum number of points , perform DBSCAN clustering on all record moments to obtain several clusters; record each record moment in the cluster with the least record moments as a demarcation moment; use each demarcation moment as a division point to divide the time period consisting of all record moments into several time periods; record each time period as an information recording time period.

[0016] Preferably, the specific method of obtaining the comparison time data sequence of each ship dimension data type at each recording moment includes:

[0017] Any recording moment is recorded as the first target recording moment, and each recording moment except the first target recording moment is recorded as a reference recording moment; for any ship dimension data type, a sequence consisting of ship dimension standard data of all reference recording moments in the ship dimension data type is recorded as a reference data sequence of the first target recording moment; based on the reference data sequence of the first target recording moment, a first-order difference sequence is obtained as a comparison time data sequence of the first target recording moment in the ship dimension data type.

[0018] Preferably, the The trend similarity of the time data series between adjacent recording moments in the neighborhood time period of the first recording moment is compared, and the first The specific method of dividing the reliability factors of the recording moments is as follows:

[0019]

[0020] In the formula, Indicates Reliability factor for the division of the recorded moments; Indicates The number of all recorded moments in the neighborhood time period of a recorded moment; Indicates the number of all ship dimension data types; Indicates In the neighborhood time period of the recording moment, The recorded moment is The comparison time data series in the first ship dimension data type and the The recorded moment is The DTW distance of the comparison time data series in each ship dimension data type.

[0021] Preferably, the dispersion degree of ship information in each information recording time period is obtained according to the time span distribution of the recording time between different information recording time periods and the period distribution of the ship information, and the specific method includes:

[0022] Get the time span measurement for each demarcation moment;

[0023] For any information recording time period Recording time, except the Each recording moment other than the first recording moment is recorded as the first reference recording moment; The first recorded moment The smallest demarcation time of the first reference record time is recorded as the mark demarcation time. The first recorded moment The number of all recorded moments between the first reference recorded moment and the marked demarcation moment is recorded as The local characteristic time range value of the first reference recording moment; The local characteristic time range value of the first reference recording time and the corresponding ship dimension standard data are obtained. Recorded moments and The cyclic fluctuation distance of the first reference recording moment;

[0024] Reference Recorded moments and The method for obtaining the cyclic fluctuation distance of the first reference recording time is to The first reference recording time is used as the new recording time, and the The first recorded time is taken as the new first reference recorded time, and the cyclic fluctuation distance between the new recorded time and the new first reference recorded time is obtained and recorded as Recorded moments and The reverse cyclic fluctuation distance of the first reference recording time; according to the difference of the local characteristic time range values ​​of any two recording times in the information recording time period, the cyclic fluctuation distance and the reverse cyclic fluctuation distance, the ship information dispersion factor of the information recording time period is obtained;

[0025] The ship information dispersion factors of all information recording time periods are linearly normalized, and each ship information dispersion factor after normalization is recorded as the ship information dispersion degree.

[0026] Preferably, the specific method of obtaining the time span measurement of each demarcation moment includes:

[0027] For any recording moment, the day to which the recording moment belongs is recorded as the marking day, and the moment corresponding to the recording moment within 24 hours of the marking day is recorded as the single-day marking moment; the moment that is consistent with the single-day marking moment within the day after the marking day is recorded as the reference moment; the boundary moment with the shortest distance to the reference moment is recorded as the reference boundary moment; the number of all recording moments between the reference boundary moment and the recording moment is recorded as the time span of the recording moment.

[0028] Preferably, the The local characteristic time range value of the first reference recording time and the corresponding ship dimension standard data are obtained. Recorded moments and The cyclic fluctuation distance of the first reference recording moment includes the following specific methods:

[0029]

[0030] In the formula, Indicates Recorded moments and The cyclic fluctuation distance of the first reference recording moment; Indicates the number of all ship dimension data types; Indicates The time span of each recorded moment; Indicates The first recorded moment A time span measure of the first reference recording moment; Indicates The first recorded moment A local characteristic time range value of a first reference recording moment; Indicates The first recorded moment The first reference recording time is Ship dimension standard data in each ship dimension data type; Indicates taking the absolute value.

[0031] Preferably, the ship information dispersion factor of the information recording time period is obtained according to the difference of the local characteristic time range values ​​of any two recording moments in the information recording time period, the cyclic fluctuation distance and the reverse cyclic fluctuation distance, including the specific method of:

[0032]

[0033] In the formula, Indicates the ship information dispersion factor during the information recording time period; Indicates the number of all recorded moments in the information recording time period; Indicates the time period of information recording. The number of all first reference recording moments of a recording moment; Indicates The time span of each recorded moment; Indicates The first recorded moment A time span measure of the first reference recording moment; Indicates Recorded moments and The cyclic fluctuation distance of the first reference recording moment; Indicates Recorded moments and The reverse cyclic fluctuation distance of the first reference recording time; represents an exponential function with a natural constant as base; Indicates taking the absolute value; Represents the maximum value function.

[0034] Preferably, the method of adaptively adjusting the isolation tree depth according to the dispersion degree of ship information in each information recording time period and transmitting ship dimension standard data includes the following specific methods:

[0035] According to the distribution of the dispersion degree of ship information in each information recording time period, several root node ship data sets are obtained;

[0036] Preset an isolated tree depth termination threshold ; For any root node ship data set of an information recording time period, take the root node ship data set of the information recording time period as the root node, take the depth of 2 as the starting point of the isolation tree depth, and the step size is 1. Continuously traverse the depth to build an isolation tree until the normalized result of the product of the standard deviation of all ship dimension standard data in each node on the deepest layer of the isolation tree and the degree of dispersion of ship information in the information recording time period is less than the first time Stop building a new isolated tree; use the last built isolated tree as the final reference isolated tree; the final reference isolated tree contains multiple ship dimension standard data, each ship dimension standard data corresponds to an abnormal score;

[0037] Preset an anomaly score threshold , the anomaly score is greater than or equal to The ship dimension standard data is eliminated, and all the ship dimension standard data after elimination are transmitted to the ship interaction database.

[0038] Preferably, the specific method of obtaining several root node ship data sets according to the distribution of the dispersion degree of ship information in each information recording time period includes:

[0039] For any information recording time period, the set of all ship dimension standard data in all ship dimension data types in the information recording time period is recorded as the ship data set of the information recording time period; the product of the standard deviation of all ship dimension standard data in the ship data set and the degree of dispersion of ship information in the information recording time period is used as the root node selection factor of the ship data set; the root node selection factors of all ship data sets are linearly normalized, and each root node selection factor after normalization is recorded as the root node selection degree; a root node selection degree threshold is preset , select the root node with a degree greater than The ship dataset is recorded as the root node ship dataset.

[0040] The beneficial effects of the technical solution of the present invention are as follows: according to the periodic fluctuation distribution of the ship dimension standard data, all recording moments are divided into several information recording time segments; according to the time span distribution of the recording time between different information recording time segments and the periodic distribution of the ship information, the dispersion degree of the ship information in each information recording time segment is obtained; according to the dispersion degree of the ship information in each information recording time segment, the depth of the isolated tree is adaptively adjusted; firstly, according to the periodic fluctuation distribution of the ship dimension standard data, several information recording time segments are obtained, wherein the information recording time segments are used to describe the time periods belonging to the same data cycle process, so as to better divide the time periods corresponding to the ship's navigation cycle process; then According to the time span distribution of recording time between different information recording time periods and the periodic distribution of ship information, the degree of dispersion of ship information in each information recording time period is obtained, wherein the degree of dispersion of ship information is used to describe the obvious degree of the cyclical characteristics of ship dimension standard data, so as to better identify the ship dimension standard data containing noise; finally, according to the degree of dispersion of ship information in each information recording time period, the depth of the isolated tree is adaptively adjusted, and the periodic change law characteristics of the ship information data are combined, so that the depth of the isolated tree can be adaptively changed according to the change of the amount of noise contained in the ship dimension standard data; the accuracy of identifying the noise content contained in the data is improved, and the efficiency of data information interaction is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0042] Figure 1 This is a flow chart of the steps of the remote interaction method of ship data information based on digital twins of the present invention. DETAILED DESCRIPTION

[0043] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the specific implementation method, structure, features and effects of the remote interaction method of ship data information based on digital twins proposed by the present invention in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0044] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0045] The specific scheme of the remote interaction method of ship data information based on digital twin provided by the present invention is described in detail below with reference to the accompanying drawings.

[0046] See also Figure 1 , which shows a flowchart of a method for remote interaction of ship data information based on digital twins provided by an embodiment of the present invention, the method comprising the following steps:

[0047] Step S001: Collect a number of ship dimension standard data of each ship dimension data type.

[0048] It should be noted that existing methods usually use the isolation forest algorithm to denoise the collected ship information data. Since ships will sail back and forth along relatively fixed routes, the corresponding ship information data will show a strong periodic change pattern as a whole; while the depth of each isolated tree in the traditional isolation forest algorithm is usually a fixed empirical parameter preset by humans, and the periodic change pattern characteristics of the ship information data are not taken into account. It is impossible to effectively identify the noise content contained in the data, which makes the noise removal efficiency low, thereby reducing the efficiency of data information interaction.

[0049] Specifically, it is necessary to first collect ship dimension standard data. The specific process is: in the ship information database, every 1 minute is a recording moment, and the ship data of four ship dimension data types, namely engine speed data, fuel consumption data, exhaust temperature data and cylinder pressure data, are recorded once in the ship information database. Record for a total of one week to obtain a number of ship data of each ship dimension data type.

[0050] Furthermore, taking any ship dimensional data type as an example, all ship data of the ship dimensional data type are linearly normalized, and each ship data after normalization is recorded as ship dimensional standard data; and a number of ship dimensional standard data of each ship dimensional data type are obtained.

[0051] It should be noted that the collection of recording time, the amount of ship data, and the type and amount of ship dimension data can be determined according to the specific implementation situation.

[0052] So far, several ship dimension standard data of each ship dimension data type are obtained through the above method.

[0053] Step S002: Divide all recording moments into a number of information recording moment segments according to the periodic fluctuation distribution of the ship dimension standard data in each ship dimension data type.

[0054] It should be noted that during the operation of the ship engine, the corresponding multi-dimensional data will have changes in the overall trend of the data in a longer period of time, and in a shorter period of time, it will have certain cyclical changes, specifically including the four stages of intake, compression, combustion, and exhaust; its data changes will have a certain cyclicality with the cycle of the engine, and in the subsequent data transmission process, if the data is transmitted in units of each data point, the data transmission volume cannot be effectively reduced, so it is first necessary to divide the data cycle stages according to the characteristics of the data changes.

[0055] Preferably, in one embodiment of the present invention, all recording moments are divided into several information recording moment periods according to the periodic fluctuation distribution of the ship dimension standard data in each ship dimension data type, including the specific method of:

[0056] Record any recording moment as the first target recording moment, and record each recording moment except the first target recording moment as the reference recording moment; take any ship dimension data type as an example, record the sequence of ship dimension standard data of all reference recording moments in the ship dimension data type as the reference data sequence of the first target recording moment; obtain the first-order difference sequence according to the reference data sequence of the first target recording moment as the reference time data sequence of the first target recording moment in the ship dimension data type; obtain the reference time data sequence of each recording moment in the ship dimension data type. Each recording moment corresponds to a reference time data sequence in each ship dimension data type.

[0057] Furthermore, a preset number of recording moments , wherein this embodiment is based on This example is described as an example, and this embodiment is not specifically limited. It may be determined according to the specific implementation situation; Record time ago Recorded moments and After recording time The time period composed of the recorded moments is recorded as The neighborhood time period of the recording moment. The trend similarity of the time data series between adjacent recording moments in the neighborhood time period of the first recording moment is compared, and the first As an example, the reliability factor of the division of the recording moment can be calculated by the following formula Reliability factor for the division of recorded moments:

[0058]

[0059] In the formula, Indicates Reliability factor for the division of the recorded moments; Indicates The number of all recorded moments in the neighborhood time period of a recorded moment; Indicates the number of all ship dimension data types; Indicates In the neighborhood time period of the recording moment, The recorded moment is The comparison time data series in the first ship dimension data type and the The recorded moment is The DTW distance of the comparison time data series in each ship dimension data type. Obtaining the DTW distance of two data series is a well-known content of the DTW (Dynamic Time Warping) dynamic time warping algorithm, which will not be repeated in this embodiment.

[0060] It should be noted that if The larger the reliability factor of the division of the recording moment, the The more similar the changes in the ship dimension standard data in each dimension around the recording moment are, the more similar the changes in the ship dimension standard data in each dimension are. The more likely the ship dimension standard data in each dimension around a recording moment changes along the same trend, the more likely they are to belong to the same cycle process.

[0061] Furthermore, the partition reliability factors of all recorded moments are obtained, the partition reliability factors of all recorded moments are linearly normalized, and each normalized partition reliability factor is recorded as the partition reliability; a neighborhood radius is preset And a minimum number of points , wherein this embodiment is based on This example is described as an example, and this embodiment is not specifically limited. It can be determined according to the specific implementation situation; the absolute value of the difference in reliability between different recording moments is used as the distance metric, and the neighborhood radius is used according to the distance metric And the minimum number of points , perform DBSCAN clustering on all recorded moments to obtain several clusters; record each recorded moment in the cluster with the least recorded moments as a demarcation moment; use each demarcation moment as a split point to split the time period consisting of all recorded moments into several time periods; record each time period as an information recording time period. And the minimum number of points The process of clustering data points is well known in the DBSCAN (Density-Based Spatial Clustering of Applications with Noise) clustering algorithm, which will not be described in detail in this embodiment.

[0062] So far, all information recording time periods are obtained through the above method.

[0063] Step S003: According to the time span distribution of the recording time between different information recording time periods and the periodic distribution of the ship information, the dispersion degree of the ship information in each information recording time period is obtained.

[0064] It should be noted that when using the isolation forest algorithm to detect anomalies at each point, it does not take into account the distribution of data points in the corresponding node. Therefore, too much redundant calculation will occur in the process of isolated tree division, and the relatively concentrated data set will be divided multiple times. The division results obtained do not contribute well to the degree of abnormality of each point in the cluster. Therefore, it is necessary to measure the degree of discreteness of data points in each cluster. Considering that there are certain cyclic changes in the data during the operation of the ship engine, when measuring the degree of discreteness of data points, we cannot only consider the size difference of data points. For example, when comparing the data points in the compression stage of the previous cycle with the data points in the exhaust stage of the current cycle, even if the data sizes of the two are similar, it cannot be said that the distance between the two data points should be small. The difference between the data points of the two in the same stage should be calculated to quantify the degree of discreteness of the data points.

[0065] Preferably, in one embodiment of the present invention, according to the time span distribution of the recording time between different information recording time periods and the periodic distribution of the ship information, the dispersion degree of the ship information in each information recording time period is obtained, and the specific method includes:

[0066] Take any recording moment as an example, record the day to which the recording moment belongs as the marking day, record the moment corresponding to the recording moment within 24 hours of the marking day as the single-day marking moment; record the moment that is consistent with the single-day marking moment within one day after the marking day as the reference moment; record the demarcation moment with the shortest distance from the reference moment as the reference demarcation moment; record the number of all recording moments between the reference demarcation moment and the recording moment as the time span of the recording moment; obtain the time span of each demarcation moment; wherein each demarcation moment corresponds to a time span. It is particularly noted that for each demarcation moment in the last day, the number of all recording moments between each demarcation moment and the last recording moment in the last day is taken as the time span of each demarcation moment in the last day.

[0067] It should be noted that, for example: if the recording time is the 15th recording time, which belongs to 14:00 on the second day, then the second day is the marking day of the 15th recording time; the time corresponding to 14:00 on the second day is the single-day marking time of the 15th recording time, and the time corresponding to 14:00 on the third day is the reference time of the 15th recording time; assuming that the boundary moment closest to the reference time is the 18th boundary moment, then the 18th boundary moment is the reference boundary moment of the 15th recording time; the number of all recording moments between the 18th boundary moment and the 15th recording moment is the time span of the 15th recording moment.

[0068] Further, in any information recording time period, For example, the recorded moment will be Each recording moment other than the first recording moment is recorded as the first reference recording moment; The first recorded moment The smallest demarcation time of the first reference record time is recorded as the mark demarcation time. The first recorded moment The number of all recorded moments between the first reference recorded moment and the marked demarcation moment is recorded as The local characteristic time range value of the first reference recording moment; The local characteristic time range value of the first reference recording time and the corresponding ship dimension standard data are obtained. Recorded moments and As an example, the cyclic fluctuation distance of the first reference recording time can be calculated by the following formula Recorded moments and The cyclic fluctuation distance of the first reference recording moment:

[0069]

[0070] In the formula, Indicates Recorded moments and The cyclic fluctuation distance of the first reference recording moment; Indicates the number of all ship dimension data types; Indicates The time span of each recorded moment; Indicates The first recorded moment A time span measure of the first reference recording moment; Indicates The first recorded moment A local characteristic time range value of a first reference recording moment; Indicates The first recorded moment The first reference recording time is Ship dimension standard data in each ship dimension data type; Indicates taking the absolute value.

[0071] It should be noted that if Recorded moments and The larger the cyclic fluctuation distance of the first reference recording time, the Recorded moments and The more dispersed the distribution of the first reference recording time is, the more The first reference recording time is The greater the reference value for each recorded moment.

[0072] For further information, see Recorded moments and The method for obtaining the cyclic fluctuation distance of the first reference recording time is to The first reference recording time is used as the new recording time, and the The first recorded time is taken as the new first reference recorded time, and the cyclic fluctuation distance between the new recorded time and the new first reference recorded time is obtained and recorded as Recorded moments and The reverse cyclic fluctuation distance of the first reference recording time. According to the difference of the local characteristic time range values ​​of any two recording moments in the information recording time segment, the cyclic fluctuation distance and the reverse cyclic fluctuation distance, the ship information dispersion factor of the information recording time segment is obtained. As an example, the ship information dispersion factor of the information recording time segment can be calculated by the following formula:

[0073]

[0074] In the formula, Indicates the dispersion factor of the ship information during the time period of information recording; Indicates the number of all recorded moments in the information recording time period; Indicates the time period of the information recording. The number of all first reference recording moments of a recording moment; Indicates The time span of each recorded moment; Indicates The first recorded moment A time span measure of the first reference recording moment; Indicates Recorded moments and The cyclic fluctuation distance of the first reference recording moment; Indicates Recorded moments and The reverse cyclic fluctuation distance of the first reference recording time; represents an exponential function with a natural constant as the base, and the embodiment adopts Model to present inverse proportional relationship and normalization, As the input of the model, the implementer can choose the inverse proportional function and normalization function according to the actual situation; Indicates taking the absolute value; Represents the maximum function. Obtain the dispersion of ship information at each information recording time period.

[0075] It should be noted that Indicates The reference time proportion weight of each recorded moment; It indicates the degree of correction of the standard data of the ship dimension within the information recording period. If the ship information dispersion factor of the information recording period is larger, it means that the distribution of the ship information within the information recording period is more dispersed, reflecting that the cyclical characteristics of the information recording period are less obvious, and it is more likely to contain noise.

[0076] Furthermore, the ship information dispersion factors of all information recording time periods are linearly normalized, and each ship information dispersion factor after normalization is recorded as the ship information dispersion degree.

[0077] So far, the dispersion degree of ship information in each information recording time period is obtained through the above method.

[0078] Step S004: According to the dispersion degree of ship information in each information recording time period, the isolation tree depth is adaptively adjusted, and the ship dimension standard data is transmitted.

[0079] Preferably, in one embodiment of the present invention, according to the dispersion degree of ship information in each information recording time period, the isolation tree depth is adaptively adjusted, and the ship dimension standard data is transmitted, including the specific method of:

[0080] Taking any information recording time period as an example, the set of all ship dimension standard data in all ship dimension data types of the information recording time period is recorded as the ship data set of the information recording time period; the product of the standard deviation of all ship dimension standard data in the ship data set and the degree of dispersion of ship information in the information recording time period is used as the root node selection factor of the ship data set; the root node selection factors of all ship data sets are linearly normalized, and each root node selection factor after normalization is recorded as the root node selection degree; a root node selection degree threshold is preset. , wherein this embodiment is based on This example is described as an example, and this embodiment is not specifically limited. It can be determined according to the specific implementation situation; the root node selection degree is greater than The ship dataset is recorded as the root node ship dataset.

[0081] Furthermore, a threshold for the depth termination of an isolated tree is preset. , wherein this embodiment is based on This example is described as an example, and this embodiment is not specifically limited. It can be determined according to the specific implementation situation; take the root node ship data set of any information recording time period as an example, take the root node ship data set of the information recording time period as the root node, take the depth of 2 as the starting point of the isolation tree depth, and the step size is 1. Continuously traverse the depth to construct an isolation tree until the normalized result of the product of the standard deviation of all ship dimension standard data in each node on the deepest layer of the isolation tree and the degree of dispersion of ship information in the information recording time period is less than the first time Stop building a new isolated tree; use the last built isolated tree as the final reference isolated tree. The final reference isolated tree contains multiple ship dimension standard data, each ship dimension standard data corresponds to an abnormality score; in addition, the process of building an isolated tree and obtaining an abnormality score are well-known contents of the isolation forest algorithm, and will not be repeated in this embodiment.

[0082] Furthermore, a threshold of abnormal score is preset. , wherein this embodiment is based on This example is described as an example, and this embodiment is not specifically limited. It can be determined according to the specific implementation situation; the anomaly score is greater than or equal to The ship dimension standard data is eliminated, and all the ship dimension standard data after elimination are transmitted to the ship interaction database.

[0083] At this point, this embodiment is completed.

[0084] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A remote interaction method of ship data information based on digital twins, characterized in that: The method comprises the following steps: Collecting a plurality of ship dimensional standard data of each ship dimensional data type, wherein each ship dimensional standard data corresponds to a recording time; According to the periodic fluctuation distribution of the ship dimension standard data in each ship dimension data type, all recording times are divided into several information recording time periods; According to the time span distribution of the recording time between different information recording time periods and the period distribution of the ship information, the dispersion degree of the ship information in each information recording time period is obtained; According to the dispersion degree of ship information in each information recording time period, the isolation tree depth is adaptively adjusted and the ship dimension standard data is transmitted; The specific method of obtaining the dispersion degree of ship information in each information recording time period according to the time span distribution of the recording time between different information recording time periods and the period distribution of the ship information is as follows: Get the time span measurement for each demarcation moment; For any information recording time period Recording time, except the Each recording moment other than the first recording moment is recorded as the first reference recording moment; The first recorded moment The smallest demarcation time of the first reference record time is recorded as the mark demarcation time. The first recorded moment The number of all recorded moments between the first reference recorded moment and the marked demarcation moment is recorded as The local characteristic time range value of the first reference recording moment; The local characteristic time range value of the first reference recording time and the corresponding ship dimension standard data are obtained. Recorded moments and The cyclic fluctuation distance of the first reference recording moment; Reference Recorded moments and The method for obtaining the cyclic fluctuation distance of the first reference recording time is to The first reference recording time is used as the new recording time, and the The first recorded time is taken as the new first reference recorded time, and the cyclic fluctuation distance between the new recorded time and the new first reference recorded time is obtained and recorded as Recorded moments and The reverse cyclic fluctuation distance of the first reference recording time; according to the difference of the local characteristic time range values ​​of any two recording times in the information recording time period, the cyclic fluctuation distance and the reverse cyclic fluctuation distance, the ship information dispersion factor of the information recording time period is obtained; The ship information dispersion factor of all information recording time periods is linearly normalized, and each ship information dispersion factor after normalization is recorded as the ship information dispersion degree; According to the The local characteristic time range value of the first reference recording time and the corresponding ship dimension standard data are obtained. Recorded moments and The cyclic fluctuation distance of the first reference recording moment includes the following specific methods: In the formula, Indicates Recorded moments and The cyclic fluctuation distance of the first reference recording moment; Indicates the number of all ship dimension data types; Indicates The time span of each recorded moment; Indicates The first recorded moment A time span measure of the first reference recording moment; Indicates The first recorded moment A local characteristic time range value of a first reference recording moment; Indicates The first recorded moment The first reference recording time is Ship dimension standard data in each ship dimension data type; Indicates taking the absolute value; The specific method of obtaining the ship information dispersion factor of the information recording time period according to the difference of the local characteristic time range values ​​of any two recording times in the information recording time period, the cyclic fluctuation distance and the reverse cyclic fluctuation distance includes: In the formula, Indicates the ship information dispersion factor during the information recording time period; Indicates the number of all recorded moments in the information recording time period; Indicates the time period of information recording. The number of all first reference recording moments of a recording moment; Indicates The time span of each recorded moment; Indicates The first recorded moment A time span measure of the first reference recording moment; Indicates Recorded moments and The cyclic fluctuation distance of the first reference recording moment; Indicates Recorded moments and The reverse cyclic fluctuation distance of the first reference recording time; represents an exponential function with a natural constant as base; Indicates taking the absolute value; Represents the maximum value function.

2. The method for remote interaction of ship data information based on digital twin according to claim 1 is characterized in that: The specific method of dividing all recording moments into several information recording moment periods according to the periodic fluctuation distribution of the ship dimension standard data in each ship dimension data type is as follows: Obtaining a comparison time data sequence for each ship dimension data type at each recording moment; Preset a number of recording moments ; Record time ago Recorded moments and After recording time The time period composed of the recorded moments is recorded as The neighborhood time period of the recording moment; according to the The trend similarity of the time data series between adjacent recording moments in the neighborhood time period of the first recording moment is compared, and the first Reliability factor for the division of the recorded moments; Obtaining the partition reliability factors of all recording moments, linearly normalizing the partition reliability factors of all recording moments, and recording each normalized partition reliability factor as partition reliability; Preset a neighborhood radius And a minimum number of points , the absolute value of the difference in partition reliability between different recording moments is used as the distance metric; According to the distance metric, neighborhood radius And the minimum number of points , perform DBSCAN clustering on all record moments to obtain several clusters; record each record moment in the cluster with the least record moments as a demarcation moment; use each demarcation moment as a division point to divide the time period consisting of all record moments into several time periods; record each time period as an information recording time period.

3. The method for remote interaction of ship data information based on digital twin according to claim 2 is characterized in that: The specific method of obtaining the comparison time data sequence of each ship dimension data type at each recording moment includes: Any recording moment is recorded as the first target recording moment, and each recording moment except the first target recording moment is recorded as a reference recording moment; for any ship dimension data type, a sequence consisting of ship dimension standard data of all reference recording moments in the ship dimension data type is recorded as a reference data sequence of the first target recording moment; based on the reference data sequence of the first target recording moment, a first-order difference sequence is obtained as a comparison time data sequence of the first target recording moment in the ship dimension data type.

4. The method for remote interaction of ship data information based on digital twin according to claim 2 is characterized in that: According to the The trend similarity of the time data series between adjacent recording moments in the neighborhood time period of the first recording moment is compared, and the first The specific method of dividing the reliability factors of the recording moments is as follows: In the formula, Indicates Reliability factor for the division of the recorded moments; Indicates The number of all recorded moments in the neighborhood time period of a recorded moment; Indicates the number of all ship dimension data types; Indicates In the neighborhood time period of the recording moment, The recorded moment is The comparison time data series in the first ship dimension data type and the The recorded moment is The DTW distance of the comparison time data series in each ship dimension data type.

5. The method for remote interaction of ship data information based on digital twin according to claim 1 is characterized in that: The specific method of obtaining the time span measurement of each demarcation moment includes: For any recording moment, the day to which the recording moment belongs is recorded as the marking day, and the moment corresponding to the recording moment within 24 hours of the marking day is recorded as the single-day marking moment; the moment that is consistent with the single-day marking moment within the day after the marking day is recorded as the reference moment; the boundary moment with the shortest distance to the reference moment is recorded as the reference boundary moment; the number of all recording moments between the reference boundary moment and the recording moment is recorded as the time span of the recording moment.

6. The method for remote interaction of ship data information based on digital twin according to claim 1 is characterized in that: The method of adaptively adjusting the isolation tree depth according to the dispersion degree of ship information in each information recording time period and transmitting ship dimension standard data includes the following specific methods: According to the distribution of the dispersion degree of ship information in each information recording time period, several root node ship data sets are obtained; Preset an isolated tree depth termination threshold ; For any root node ship data set of an information recording time period, take the root node ship data set of the information recording time period as the root node, take the depth of 2 as the starting point of the isolation tree depth, and the step size is 1. Continuously traverse the depth to build an isolation tree until the normalized result of the product of the standard deviation of all ship dimension standard data in each node on the deepest layer of the isolation tree and the degree of dispersion of ship information in the information recording time period is less than the first time Until , stop building new isolated trees; The last constructed isolation tree is used as the final reference isolation tree; the final reference isolation tree contains a plurality of ship dimension standard data, each of which corresponds to an abnormality score; Preset an anomaly score threshold , the anomaly score is greater than or equal to The ship dimension standard data is eliminated, and all the ship dimension standard data after elimination are transmitted to the ship interaction database.

7. The method for remote interaction of ship data information based on digital twin according to claim 6 is characterized in that: The specific method of obtaining several root node ship data sets according to the distribution of the dispersion degree of ship information in each information recording time period includes: For any information recording time period, the set of all ship dimension standard data in all ship dimension data types in the information recording time period is recorded as the ship data set of the information recording time period; the product of the standard deviation of all ship dimension standard data in the ship data set and the degree of dispersion of ship information in the information recording time period is used as the root node selection factor of the ship data set; The root node selection factors of all ship data sets are linearly normalized, and each root node selection factor after normalization is recorded as the root node selection degree; Preset a root node selection degree threshold , select the root node with a degree greater than The ship dataset is recorded as the root node ship dataset.