A collection and processing method based on port supervision data

Through dynamic adaptive data collection and multi-dimensional verification mechanisms, combined with fault recovery and efficient data flow processing, the problem of low efficiency in port area supervision data collection and processing is solved, and efficient, accurate and real-time processing of data is achieved.

CN118377643BActive Publication Date: 2024-09-13SHANDONG PORT TECH GRP YANTAI CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410806329.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-09-13
Estimated Expiration
2044-06-21

AI Technical Summary

Technical Problem

In the process of collecting and processing port regulatory data, data collection efficiency and accuracy are low, and data processing real-time and efficiency are poor, making it difficult to meet the challenges of massive, diverse and real-time data processing.

Method used

Use dynamic adaptive data collection algorithms and multi-dimensional dynamic verification mechanisms for data collection and verification, combine fault recovery mechanisms and efficient data flow processing algorithms, dynamically adjust collection frequency, accuracy and processing paths, optimize resource allocation and processing paths, and ensure data accuracy and real-time.

Benefits of technology

It improves the efficiency and accuracy of data collection, enhances the real-time and robustness of data processing, and ensures efficient and reliable collection and processing of port supervision data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118377643B
    Figure CN118377643B
Patent Text Reader

Abstract

The present invention relates to the field of data processing technology, and in particular to a method for collecting and processing port area supervision data. The content includes: introducing a dynamic adaptive data collection algorithm for data collection, implementing a data verification mechanism based on the dynamic adaptive data collection algorithm, and implementing a data confidentiality mechanism after data verification to obtain port area supervision data; designing a real-time data processing engine including a fault recovery mechanism to process the port area supervision data; and at the same time introducing a data optimization processing algorithm to dynamically adjust the processing path and resource allocation. The technical problems of low data collection efficiency and accuracy and poor data processing real-time and efficiency in the process of collecting and processing port area supervision data are solved.
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 processing, and in particular to a method for collecting and processing port area supervision data. Background Art

[0002] In the operation and management of modern ports, data collection and processing are key links to ensure safe and efficient operation of ports. Traditional data collection and processing methods face many challenges when faced with massive, diverse and real-time data. Specifically, traditional methods are difficult to flexibly adjust the collection frequency and accuracy, and cannot dynamically optimize resource allocation according to the importance and complexity of the data, resulting in insufficient collection frequency and accuracy of key and complex data, thereby affecting the accuracy of the data. In addition, when processing large-scale data, traditional data processing methods have insufficiently optimized processing paths, low data transmission and processing efficiency, and are difficult to meet real-time requirements.

[0003] However, there are still at least the following technical problems: in the process of collecting and processing port regulatory data, there are technical problems such as low data collection efficiency and accuracy, and poor real-time and efficiency of data processing. Summary of the invention

[0004] The present invention provides a method for collecting and processing port area supervision data to solve the technical problems of low data collection efficiency and accuracy and poor data processing real-time and efficiency during the collection and processing of port area supervision data.

[0005] A method for collecting and processing port area supervision data of the present invention specifically includes the following technical solutions:

[0006] A method for collecting and processing port area supervision data includes the following steps:

[0007] S1. Introduce a dynamic adaptive data collection algorithm for data collection, implement a data verification mechanism based on the dynamic adaptive data collection algorithm, and implement a data confidentiality mechanism after data verification to obtain port supervision data;

[0008] S2. Design a real-time data processing engine with a fault recovery mechanism to process port regulatory data; at the same time, introduce a data optimization processing algorithm to dynamically adjust the processing path and resource allocation.

[0009] Preferably, the S1 specifically includes:

[0010] The specific implementation process of the dynamic adaptive data acquisition algorithm is as follows:

[0011] The first step is to calculate the importance score of each data type;

[0012] The second step is to calculate the change rate and uncertainty of each type of data, and then combine the change rate and uncertainty to calculate the comprehensive complexity;

[0013] The third step is to adjust the collection frequency and accuracy of each data type according to its importance score and comprehensive complexity;

[0014] The fourth step is to allocate resources based on the acquisition frequency and accuracy requirements of each data type.

[0015] Preferably, the S1 specifically includes:

[0016] The data verification mechanism is implemented through a multi-dimensional dynamic verification algorithm. The specific implementation process of the multi-dimensional dynamic verification algorithm is as follows:

[0017] The first step is to smooth the port supervision data;

[0018] The second step is to detect and correct outliers in the smoothed data through multi-dimensional verification;

[0019] The third step is to correct the abnormal data based on the verification results.

[0020] Preferably, the S1 specifically includes:

[0021] In the process of correcting abnormal data, the final judgment is made based on the multi-dimensional verification results to obtain the data range that finally passes the verification; at the same time, the abnormal data that is not within the verification range is corrected.

[0022] Preferably, the S2 specifically includes:

[0023] The port supervision data is processed through a real-time data processing engine; the real-time data processing engine is implemented through an efficient data stream processing algorithm.

[0024] Preferably, the S2 specifically includes:

[0025] In the process of implementing the efficient data stream processing algorithm, the collected data stream containing port supervision data is diverted according to data type and priority, and each data stream is processed using a distributed parallel processing architecture.

[0026] Preferably, the S2 specifically includes:

[0027] Introduce data optimization processing algorithms to perform real-time data processing on the diverted data.

[0028] Preferably, the S2 specifically includes:

[0029] The specific implementation of the data optimization processing algorithm is as follows:

[0030] First, dynamically adjust the data processing path according to the changes in data flow; then optimize the path by minimizing the total processing time; further, dynamically schedule resources according to the changes in real-time data flow and processing path; finally, calculate the optimal solution to obtain the optimal path and resource allocation; and dynamically adjust the data processing path and resource allocation according to the real-time data flow and processing results.

[0031] Preferably, the S2 specifically includes:

[0032] The specific implementation process of the fault recovery mechanism is as follows:

[0033] Monitor the status of each component in real time and identify faults by detecting abnormal behavior; once a fault is detected, locate and isolate the faulty component; further, dynamically plan the fault recovery path, reallocate resources and adjust the processing path; dynamically adjust resource allocation based on the fault recovery path.

[0034] The beneficial effects of the technical solution of the present invention are:

[0035] 1. Introduce dynamic adaptive data collection algorithms to analyze the importance and complexity of data, dynamically adjust the collection frequency and accuracy of port regulatory data, thereby optimizing resource allocation and improving the overall efficiency of data collection, ensuring higher frequency and higher accuracy collection of critical and complex data, and ensuring data accuracy; through multi-dimensional dynamic verification algorithms, using the historical characteristics, current status and multi-dimensional correlation of port regulatory data, dynamically adjust the verification strategy to ensure data accuracy and completeness, and ensure efficient execution of data collection tasks and achieve efficient data processing by reasonably allocating total resources;

[0036] 2. Introducing efficient data stream processing algorithms, optimizing data stream processing paths and adopting distributed parallel processing architectures significantly improves the real-time and efficiency of data processing. Using the processing path matrix and optimization objective function, dynamically adjust the processing path to ensure that data can be efficiently transmitted and processed between nodes; introduce a fault recovery mechanism to monitor the status of each component in real time and identify faults by detecting abnormal behaviors. Once a fault is detected, the faulty component can be quickly located and isolated to prevent the fault from spreading. By dynamically planning fault recovery paths and reallocating resources, ensure that the tasks of the faulty component can be taken over by other normal components, thereby improving the robustness and reliability of the port area regulatory data collection and processing system. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 This is a flow chart of a method for collecting and processing port area supervision data according to the present invention. DETAILED DESCRIPTION

[0038] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all 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.

[0039] 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.

[0040] The following is a detailed description of a method for collecting and processing port area supervision data provided by the present invention in conjunction with the accompanying drawings.

[0041] Refer to the attached Figure 1 , which shows a flow chart of a method for collecting and processing port area supervision data provided by an embodiment of the present invention, the method comprising the following steps:

[0042] S1. Introduce a dynamic adaptive data collection algorithm for data collection, implement a data verification mechanism based on the dynamic adaptive data collection algorithm, and implement a data confidentiality mechanism after data verification to obtain port supervision data;

[0043] In view of the complexity and diversity of port supervision data, a dynamic adaptive data collection algorithm is introduced for data collection; the dynamic adaptive data collection algorithm analyzes the importance and complexity of port supervision data and dynamically adjusts the collection frequency and accuracy, thereby optimizing resource allocation and improving the overall efficiency of data collection. The specific implementation process is as follows:

[0044] The first step is to assess the importance of data;

[0045] Assign a weight to each data type , the weight indicates the impact of the data on the safety and efficiency of port operations.

[0046] Importance scores are calculated by using a logarithmic function to amplify the importance of low-frequency but high-impact data types;

[0047]

[0048] in, Is the data type The importance score reflects the impact of this data type on the safety and efficiency of port operations; Is the data type The probability of occurrence; Is the data type The weights are set based on business needs and expert experience; It is A function of the influencing factors; For the The specific value of each influencing factor; the influencing factors include environmental conditions, time dependence, etc. is the total number of influencing factors;

[0049] By importance rating , understand which types of data are critical to port operations and should be collected and processed as a priority;

[0050] The second step is to measure the data complexity;

[0051] The complexity of the measured data is used to more effectively handle data with large variations and high uncertainties; the rate of change of each type of data is calculated based on the actual observed data and the expert experience method. and uncertainty .

[0052] Combine rate of change and uncertainty to calculate comprehensive complexity.

[0053]

[0054] in, It is a comprehensive complexity index matrix, reflecting the variation and uncertainty of data; is the rate of change vector, with elements Represents data type The rate of change of is the uncertainty vector, with elements Represents data type uncertainty; is a matrix describing the interdependence between data types, with elements Represents data type and The dependencies between them; represents transpose;

[0055] The third step is to adjust the acquisition frequency and accuracy;

[0056] Adjust the frequency and accuracy of acquisition according to the importance and complexity of the data to optimize resource allocation.

[0057] Dynamically adjust the acquisition frequency:

[0058]

[0059] in, Is the data type The collection frequency determines how often data of this data type is collected; Is the data type The complexity index reflects the rate of change and uncertainty of data. ; is the exponential sum of the importance and complexity indices of all data types; Indicates the total number of data types. Used to normalize the collection frequency of a single data type; It is the maximum acquisition frequency, a constant set according to hardware capabilities and network bandwidth limitations.

[0060] Precision settings:

[0061]

[0062] in, Is the data type The acquisition accuracy determines the level of detail of the data type, reflecting the resolution or sampling details of the data; It is the maximum value of the importance and complexity index of all data types, which is used to normalize the acquisition accuracy of a single data type to ensure that the accuracy is adjusted relative to the maximum importance and complexity.

[0063] By adjusting the acquisition frequency and accuracy of each data type, it is possible to ensure that the most important and complex data is processed in a targeted manner without exceeding total resource limits.

[0064] Step 4: Resource allocation;

[0065] Rationally allocate total resources to ensure efficient execution of data collection tasks.

[0066]

[0067] in, is assigned to the data type Resources to support data types collection and processing of It is the total amount of resources, including computing resources, storage resources, and network bandwidth. The final resource allocation depends on the acquisition frequency and accuracy requirements of each data type. The dynamic allocation method ensures that the most critical and complex data receive sufficient processing resources when resources are limited.

[0068] Furthermore, a data verification mechanism is implemented on the basis of the dynamic adaptive data collection algorithm to collect data in order to obtain accurate port supervision data; the data verification mechanism is implemented through a multi-dimensional dynamic verification algorithm, which dynamically adjusts the verification strategy by utilizing the historical characteristics, current status and multi-dimensional correlation of the port supervision data to ensure the accuracy and integrity of the data. The specific implementation process is as follows:

[0069] The first step is data verification preprocessing; preliminary processing of port supervision data is carried out to remove obvious anomalies and noise.

[0070] Use the sliding average method to smooth the data and achieve denoising;

[0071]

[0072] in, For the moment Smoothed data of For the Port supervision data; is the size of the sliding window, which is determined based on expert experience.

[0073] The second step is multi-dimensional dynamic verification; through multi-dimensional verification, outliers in the data are detected and corrected.

[0074] Perform a preliminary check on current data based on historical data distribution;

[0075]

[0076] in, is the historical data range; is the mean of historical data; is the standard deviation of historical data; Check threshold coefficient; It is the current moment The data value of historical data refers to the data that has been recorded and stored before the current moment. The specific dimension size is set according to the specific implementation scenario and is not limited here.

[0077] Leverage trends and volatility in current data to dynamically assess current status.

[0078]

[0079] in, is the current data status range; is the smoothed data at the current moment; is the standard deviation of the current data; is the rate of change of the current data.

[0080] Use the correlation of multi-dimensional data for comprehensive verification.

[0081]

[0082] in, It is the multi-dimensional verification range; It is a correlation matrix, which describes the correlation between the data of each dimension and is calculated by the Pearson correlation coefficient formula; For the moment A multidimensional data vector; is the fluctuation range vector of multidimensional data, that is, the change rate vector;

[0083] The third step is data verification and correction; based on the verification results, correct the abnormal data.

[0084] The final judgment is made based on the verification results from multiple dimensions.

[0085]

[0086] in, For the moment The data range that finally passes the verification; comprehensive multi-dimensional verification results to determine the final valid data range.

[0087] At the same time, abnormal correction is performed on data that is not within the verification range.

[0088]

[0089] in, is the verified data at the current moment; is the smoothed data at the current moment.

[0090] Through the multi-dimensional dynamic verification algorithm, efficient and accurate data verification and correction can be achieved during the data collection process, ensuring the acquisition of high-quality port supervision data to meet the needs of port supervision.

[0091] Furthermore, based on the verified data, the existing data confidentiality mechanism is implemented to obtain accurate port supervision data; the data confidentiality mechanism is a technical means well known to those skilled in the art and will not be elaborated here.

[0092] S2. Design a real-time data processing engine with a fault recovery mechanism to process port regulatory data; at the same time, introduce a data optimization processing algorithm to dynamically adjust the processing path and resource allocation.

[0093] The port supervision data is processed in a timely manner through the real-time data processing engine; the real-time data processing engine is implemented through the data stream efficient processing algorithm, which ensures the real-time and efficient data processing by optimizing the data stream processing path, adopting distributed parallel processing and dynamic resource scheduling. The specific implementation process is as follows:

[0094] The collected data streams containing port regulatory data are diverted according to data type and priority using expert experience. Each data stream is processed using the existing distributed parallel processing architecture to improve processing efficiency.

[0095] Furthermore, a data optimization processing algorithm is introduced to perform real-time data processing on the diverted data; the data optimization processing algorithm dynamically adjusts the processing path and resource allocation to adapt to changes in data flow. The specific implementation process is as follows:

[0096] The input data flow is recorded as ,in is the time, and the size of the data stream is .

[0097] Dynamic adjustment of processing paths: Dynamically adjust data processing paths according to changes in data flow to achieve efficient processing.

[0098] Define the processing path: The processing path is represented as a matrix , where each element Represents a slave node To Node The data transmission path Indicates the number of nodes;

[0099]

[0100] Path optimization;

[0101] set up For Node To Node The processing time function is obtained through expert experience method; then the path is optimized by minimizing the total processing time. The optimization objective function of processing time is:

[0102]

[0103] Real-time scheduling and optimization of resources;

[0104] Dynamically schedule resources based on changes in real-time data flows and processing paths; resources include computing resources and storage resources.

[0105] Resource scheduling is done by optimizing the resource allocation matrix To achieve The resource allocation matrix, where each element Indicates the assignment to the node Resources The number of Indicates the number of resource types;

[0106]

[0107] Optimize resource allocation to minimize processing delay and total cost of resource usage. The optimization objective function for resource allocation is:

[0108]

[0109] in, For Node Use Resources Costs;

[0110] The optimal solution is calculated through the existing optimization algorithm to obtain the optimal path and resource allocation. The optimization algorithm is a technical means well known to those skilled in the art and will not be described in detail here. According to the real-time data flow and processing results, the processing path and resource allocation are continuously and dynamically adjusted to further realize real-time and efficient data processing.

[0111] In order to avoid component failure during data processing, a fault recovery mechanism is introduced; the specific implementation process of the fault recovery mechanism is as follows:

[0112] Monitor the status of each component in real time and identify faults by detecting abnormal behavior. , where any element in the matrix is Representation Components In time The specific monitoring technology adopts the technical means well known to those skilled in the art, which will not be described in detail here;

[0113] Once a fault is detected, locate the faulty component and isolate it to prevent it from affecting other components. Let the fault localization function be , determine the index of the failed component ; The fault location function is obtained based on expert experience.

[0114] Furthermore, we dynamically plan the fault recovery path, reallocate resources and adjust the processing path. Let the recovery path matrix be ,in Represents a slave node To Node According to the fault recovery path, resource allocation is dynamically adjusted to ensure that the tasks of the failed component can be taken over by other normal components.

[0115] In summary, a collection and processing method based on port supervision data has been completed.

[0116] The order of the embodiments of the invention is for description only and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0117] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

[0118] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that the technical solutions described in the above embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.

Claims

1. A method for collecting and processing port supervision data, characterized in that: The following steps are involved: S1. Introduce a dynamic adaptive data collection algorithm for data collection. The specific implementation process of the dynamic adaptive data collection algorithm is as follows: The first step is to calculate the importance score of each data type; the specific implementation is: ; in, Is the data type Importance rating; Is the data type The probability of occurrence; Is the data type The weight of It is A function of the influencing factors; For the The specific value of each influencing factor; is the total number of influencing factors; The second step is to calculate the rate of change and uncertainty of each data, and combine the rate of change and uncertainty to calculate the comprehensive complexity; the specific implementation is: ; in, is the comprehensive complexity index matrix; is the rate of change vector; is the uncertainty vector; It is a matrix that describes the interdependence between data types; represents transpose; The third step is to adjust the collection frequency and accuracy of each data type according to its importance score and comprehensive complexity; Dynamically adjust the acquisition frequency: ; in, Is the data type The collection frequency; Is the data type The complexity index, Is the data type Complexity index; Is the data type Importance rating; Indicates the total number of data types; is the maximum acquisition frequency; Precision settings: ; in, Is the data type The collection accuracy; The fourth step is to allocate resources based on the acquisition frequency and accuracy requirements of each data type; the specific implementation is as follows: ; in, is assigned to the data type resources; is the total resource volume; A data verification mechanism based on a multi-dimensional dynamic verification algorithm is implemented on the basis of a dynamic adaptive data acquisition algorithm. The specific implementation process of the multi-dimensional dynamic verification algorithm is as follows: The first step is to smooth the port supervision data; The second step is to detect and correct outliers in the smoothed data through multi-dimensional verification; The third step is to correct the abnormal data according to the verification results; And implement data confidentiality mechanism after data verification to obtain port supervision data; S2. Design a real-time data processing engine with a fault recovery mechanism to process port supervision data; at the same time, introduce a data optimization processing algorithm to divert the data flow of port supervision data, obtain the diverted data, and perform real-time data processing on the diverted data; the specific implementation of the data optimization processing algorithm is as follows: First, dynamically adjust the data processing path according to the changes in data flow; then optimize the path by minimizing the total processing time; further, dynamically schedule resources according to the changes in real-time data flow and processing path; finally, calculate the optimal solution to obtain the optimal path and resource allocation; and dynamically adjust the data processing path and resource allocation according to the real-time data flow and processing results.

2. The method for collecting and processing port area supervision data according to claim 1 is characterized in that: The S1 specifically includes: In the process of correcting abnormal data, the final judgment is made based on the multi-dimensional verification results to obtain the data range that finally passes the verification; at the same time, the abnormal data that is not within the verification range is corrected.

3. The method for collecting and processing port area supervision data according to claim 1 is characterized in that: The S2 specifically includes: The port supervision data is processed through a real-time data processing engine; the real-time data processing engine is implemented through an efficient data stream processing algorithm.

4. The method for collecting and processing port area supervision data according to claim 3 is characterized in that: The S2 specifically includes: In the process of implementing the efficient data stream processing algorithm, the collected data stream containing port supervision data is diverted according to data type and priority, and each data stream is processed using a distributed parallel processing architecture.

5. The method for collecting and processing port area supervision data according to claim 1 is characterized in that: The S2 specifically includes: The specific implementation process of the fault recovery mechanism is as follows: Monitor the status of each component in real time and identify faults by detecting abnormal behavior; once a fault is detected, locate and isolate the faulty component; further, dynamically plan the fault recovery path, reallocate resources and adjust the processing path; dynamically adjust resource allocation based on the fault recovery path.

Citation Information

Patent Citations

  • Multimedia system monitoring method and system based on data analysis

    CN116955092A

  • Resource dynamic scheduling technology of distributed cloud computing system

    CN117762644A

  • Intelligent data aggregation software system based on Internet of Things

    CN117971173A

  • Data processing method and system based on cloud computing

    CN118152124A

  • Power grid dispatching-based operation and maintenance method

    WO2019233047A1