Method and system for dynamically monitoring abnormal information of port and wharf material scheduling

By preprocessing and feature extraction of abnormal information on material dispatching in ports and terminals, and combining a variety of machine learning algorithms to construct and optimize dynamic monitoring models, the uncertainty problem in dynamic monitoring of abnormal information on material dispatching in ports and terminals is solved, and efficient and accurate monitoring is achieved. Dynamic monitoring is suitable for the standard information monitoring needs of different ports and terminals.

CN118708930AInactive Publication Date: 2024-09-27CHINA WATERBORNE TRANSPORT RES INST
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410735872.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-09-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing dynamic monitoring method of port terminal material scheduling abnormal information has the uncertainty of the standard digital knowledge base construction method, which leads to greater uncertainty in dynamic monitoring and cannot effectively solve the dynamic monitoring problem of port terminal standard information.

Method used

By obtaining standard information and dynamic data of port terminals for pre-processing, extracting standard information features, using discriminant models for anomaly identification, and building and optimizing dynamic monitoring models, including using generative adversarial networks, non-local mean filtering algorithms, bagging algorithms, Support vector machine, neural network and random forest algorithm, combined with population optimization algorithm, realize the output of dynamic monitoring results.

Benefits of technology

It improves the accuracy and precision of dynamic monitoring of port and terminal standard information, realizes intelligent monitoring, saves resource and labor costs, adapts to the dynamic monitoring needs of different port terminals and users, and has universal applicability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118708930A
    Figure CN118708930A
Patent Text Reader

Abstract

The invention discloses a port wharf material scheduling abnormal information dynamic monitoring method and system, and the method comprises the steps: obtaining the standard information and dynamic data of a port wharf, carrying out the preprocessing of the dynamic data, carrying out the standard information feature extraction of the dynamic data, carrying out the abnormal recognition of the standard information through a discrimination model, and obtaining problem data. And according to the constructed dynamic monitoring model, optimizing the dynamic monitoring model, inputting to-be-detected data into the optimized dynamic monitoring model, and outputting a monitoring result. The method not only can improve the precision of the port and wharf material scheduling abnormal information dynamic monitoring method, but also has good interpretability, and can be directly applied to a port and wharf material scheduling abnormal information dynamic monitoring system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of big data dynamic monitoring, and in particular to a method and system for dynamically monitoring abnormal information on material scheduling at a port terminal. Background Art

[0002] Dynamic monitoring technology is increasingly widely used in the field of big data. It can help dynamic monitors of port terminal standard information to obtain dynamic monitoring results of port terminal standard information in a timely and efficient manner, and realize the intelligent acquisition of port terminal standard information. At present, port terminal standard information has the characteristics of huge amount of user information, diverse data types, and high information density. There are many uncertain factors in the dynamic monitoring method, which leads to great uncertainty in the dynamic monitoring method of port terminal standard information. Although some methods and systems for dynamic monitoring of abnormal information of port terminal material scheduling have been invented, they still cannot effectively solve the uncertainty problem of the knowledge base construction method of standard digitization. Summary of the invention

[0003] The purpose of the present invention is to provide a method and system for dynamically monitoring abnormal information of port terminal material scheduling.

[0004] To achieve the above object, the present invention is implemented according to the following technical solutions:

[0005] The present invention comprises the following steps:

[0006] Acquire standard information and dynamic data of the port terminal, and pre-process the dynamic data;

[0007] Extracting standard information features from the dynamic data, using a discriminant model to identify anomalies in the standard information, and obtaining problem data;

[0008] According to the constructed dynamic monitoring model, optimizing the dynamic monitoring model;

[0009] The data to be detected is input into the optimized dynamic monitoring model, and the monitoring results are output.

[0010] Furthermore, the preprocessing method includes removing duplicate data, deleting missing values ​​and outliers, data conversion and data reduction.

[0011] Furthermore, the method for extracting standard information features from the dynamic data includes:

[0012] Initialize dynamic data and set the number of decision trees for constructing random forests;

[0013] A generative adversarial network is used to perform data enhancement on a dynamic network to obtain a first data set, and a non-local mean filtering algorithm is used to fit outliers on the first data set to obtain a second data set;

[0014] The bagging algorithm is used to sample the second data set to form a training data set. A decision tree is constructed based on the training data set, and the accuracy of the decision tree is calculated:

[0015]

[0016] The number of training data sets is H, and the number of samples whose classification of the i-th decision tree is the same as the true classification is m. i,u , the classification is the same as the true classification is u, and the number of classifications that are the same as the true classification is q;

[0017] Sort the decision trees in descending order of accuracy, remove the last two decision trees one by one, calculate the modified classification accuracy, and if the accuracy decreases, no longer remove the decision tree;

[0018] Calculate the weights of the decision tree:

[0019]

[0020] The weight of the i-th decision tree is τ i , the number of data sets whose classification of the training data set by the i-th decision tree is the same as that of the random forest decision tree is m i,k , the adjustment coefficient is υ, the number of identical classifications is a, and the importance measure of the features in the decision tree is calculated:

[0021]

[0022] The importance measure of the d-th feature in the i-th decision tree is v i,d , the average classification accuracy of adding Gaussian noise to the dth feature in the data set is γ c,d , the number of features with added Gaussian noise is e, and the importance measure of the feature is calculated:

[0023]

[0024] The number of decision trees is b, and the importance measure of the dth feature is W d , use the backward search method to remove the features with lower importance one by one, and output the remaining features as standard information features.

[0025] Furthermore, the method of using a discriminant model to identify anomalies of the standard information features includes:

[0026] Calculate the standard deviation of a feature:

[0027]

[0028] The standard deviation of the cth feature is η c2 , the dynamic data of the mth cth feature is r c (m) , the number of dynamic data is q, and the probability density is calculated:

[0029]

[0030] The probability density of dynamic data r is h(r), the exponential function with natural base e as the base is exp(·), and the abnormal threshold is given. When the probability density is less than the abnormal threshold, the dynamic data is problematic data.

[0031] Furthermore, the method for constructing a dynamic monitoring model according to the problem data includes:

[0032] The main framework of the dynamic monitoring model is constructed using support vector machine algorithm, neural network algorithm and random forest algorithm. The random forest algorithm classifies and predicts the data to be monitored by constructing multiple decision trees and obtaining the average value of the output;

[0033] The support vector machine algorithm divides the problem data into a training set and a test set, uses the training set to train the dynamic monitoring model, uses the test set to test the model, and uses the tested dynamic model to classify and predict the data to be monitored;

[0034] The neural network algorithm learns the problem data by adjusting the number of neural network layers, the number of neurons and the activation function, and uses the learned neural network algorithm to analyze the monitoring data;

[0035] Given the loss function of the dynamic monitoring model:

[0036]

[0037] The predicted value of the monitored data u is k(u), the actual value of the monitored data u is g(u), and the loss function is The minimum deviation constant is ρ, and the objective function is constructed:

[0038]

[0039] The objective function of the problem data r is Ξ(r), the feature is c, the number of features is b, and the problem data of the cth feature is r c , the weight of feature c is λ c , the standard value of the cth feature is e c ;

[0040] Dynamically monitor the port terminal standard information based on the objective function.

[0041] Furthermore, the method for optimizing the dynamic monitoring model includes:

[0042] Initialize the population and divide it into explorers and followers. Decide whether to follow the explorer based on the change in fitness value. The rule expression for updating the explorer position is:

[0043]

[0044] The number of iterations is t, and the maximum number of iterations is t max , the relationship parameter is δ, and the position information of the i-th individual in the j-dimension in the t-th iteration is The normally distributed random number is H, the all-1 matrix is ​​Y, and the safety threshold is V T , the warning value of the individual position of the population is E S , the exponential function with the natural constant e as the base is exp(·), and the position information of the i-th individual in the j-dimension in the t+1th iteration is Update the position of the follower, the expression is:

[0045]

[0046] The worst position of the t-th iteration exploration sub-global is The best position of the explorer in the t+1th iteration is The population size is m, and the matrix whose element absolute value is less than or equal to 1 is B. 13% of the individuals in the population are randomly selected as observers, and the position of the population is updated. The expression is:

[0047]

[0048] The optimal individual position of the population in the tth iteration is The random parameter is p, and the fitness value of sparrow individual i is g i , the global optimal fitness value is r g , the global worst fitness function value is r w , the constant is ρ, and the iteration stops when the fitness value reaches the minimum.

[0049] Secondly, the port terminal material dispatch abnormal information dynamic monitoring system includes:

[0050] Data acquisition module: used to acquire standard information and dynamic data of port terminals and pre-process the dynamic data;

[0051] Data processing module: used to extract standard information features from the dynamic data, use a discriminant model to identify anomalies from the standard information, and obtain problem data;

[0052] Model building module: used for building a dynamic monitoring model and optimizing the dynamic monitoring model;

[0053] Monitoring module: inputs the data to be detected into the optimized dynamic monitoring model and outputs the monitoring results.

[0054] In a third aspect, an embodiment of the present application further provides an electronic device, including:

[0055] A processor; and a memory arranged to store computer executable instructions, which when executed cause the processor to perform the method steps described in the first aspect.

[0056] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores one or more programs. When the one or more programs are executed by an electronic device including multiple applications, the electronic device executes the method steps described in the first aspect.

[0057] The beneficial effects of the present invention are:

[0058] The present invention is a method and system for dynamically monitoring abnormal information of port terminal material scheduling. Compared with the prior art, the present invention has the following technical effects:

[0059] The present invention can improve the accuracy of dynamic monitoring through preprocessing, feature extraction, extraction of problem data and model construction steps, thereby improving the accuracy of dynamic monitoring of port terminal standard information, and making dynamic monitoring intelligent, which can greatly save resources and manpower costs and improve work efficiency. It can realize the dynamic monitoring of port terminal standard information and dynamically monitor the standard information of port terminals in real time. It is of great significance to the dynamic monitoring of port terminal standard information, can adapt to the dynamic monitoring systems of different port terminal standard information and the dynamic monitoring needs of port terminal standard information of different users, and has a certain universality. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] Figure 1 This is a flowchart of the steps of the method and system for dynamically monitoring abnormal information of port terminal material scheduling of the present invention;

[0061] Figure 2 A schematic diagram of the structure of an electronic device in an embodiment of this specification. DETAILED DESCRIPTION

[0062] The present invention is further described below by means of specific embodiments. The illustrative embodiments and descriptions of the present invention are used to explain the present invention but are not intended to limit the present invention.

[0063] The method and system for dynamically monitoring abnormal information of port terminal material scheduling of the present invention include the following steps:

[0064] like Figure 1 As shown, in this embodiment, the following steps are included:

[0065] Acquire standard information and dynamic data of the port terminal, and pre-process the dynamic data;

[0066] Obtain standard information and dynamic data of ports and terminals, such as cargo flow, ship arrival time, loading and unloading efficiency, etc., pre-process data, including removing duplicate data, deleting missing values ​​and outliers, data conversion (such as normalization) and data reduction (such as feature selection), extract standard information features from the dynamic data, use discriminant models to identify anomalies in the standard information, and obtain problem data; standard information includes basic information such as the layout of the port terminal, material type, storage location, and scheduling rules

[0067] Initialize dynamic data, set the number of decision trees for constructing random forest to 100, use generative adversarial network (GAN) to enhance dynamic data, obtain the first data set, use non-local mean filtering algorithm to fit outliers in the first data set, obtain the second data set, use bagging algorithm to sample the second data set to form a training data set, build decision trees and calculate accuracy, then sort them in descending order according to accuracy, remove decision trees with low accuracy, calculate the weights of decision trees and importance measures of features, use backward search method to remove unimportant features, calculate the standard deviation of each feature, calculate the probability density of dynamic data, give an abnormal threshold (for example, 0.01), and when the probability density is less than the threshold, the data is considered abnormal.

[0068] According to the above, the dynamic monitoring model is constructed and optimized; the monitoring model is constructed by using support vector machine (SVM), neural network and random forest algorithm, the SVM divides the problem data into training set and test set, trains and tests the model, the neural network adjusts parameters such as the number of layers, number of neurons and activation function, and performs learning and analysis, and the random forest algorithm performs classification and prediction through the average output of multiple decision trees

[0069] In this embodiment, the preprocessing method includes removing duplicate data, deleting missing values ​​and outliers, data conversion and data reduction.

[0070] In this embodiment, the method for extracting standard information features from the dynamic data includes:

[0071] Initialize dynamic data and set the number of decision trees for constructing random forests;

[0072] A generative adversarial network is used to perform data enhancement on a dynamic network to obtain a first data set, and a non-local mean filtering algorithm is used to fit outliers on the first data set to obtain a second data set;

[0073] The bagging algorithm is used to sample the second data set to form a training data set. A decision tree is constructed based on the training data set, and the accuracy of the decision tree is calculated:

[0074]

[0075] The number of training data sets is H, and the number of samples whose classification of the i-th decision tree is the same as the true classification is m. i,u , the classification is the same as the true classification is u, and the number of classifications that are the same as the true classification is q;

[0076] Sort the decision trees in descending order of accuracy, remove the last two decision trees one by one, calculate the modified classification accuracy, and if the accuracy decreases, no longer remove the decision tree;

[0077] Calculate the weights of the decision tree:

[0078]

[0079] The weight of the i-th decision tree is τ i , the number of data sets whose classification of the training data set by the i-th decision tree is the same as that of the random forest decision tree is m i,k , the adjustment coefficient is υ, the number of identical classifications is a, and the importance measure of the features in the decision tree is calculated:

[0080]

[0081] The importance measure of the d-th feature in the i-th decision tree is v i,d , the average classification accuracy of adding Gaussian noise to the dth feature in the data set is γ c,d , the number of features with added Gaussian noise is e, and the importance measure of the feature is calculated:

[0082]

[0083] The number of decision trees is b, and the importance measure of the dth feature is W d , use the backward search method to remove the features with lower importance one by one, and output the remaining features as standard information features.

[0084] In this embodiment, the method of using a discriminant model to identify anomalies of the standard information features includes:

[0085] Calculate the standard deviation of a feature:

[0086]

[0087] The standard deviation of the cth feature is The dynamic data of the mth cth feature is The number of dynamic data is q, and the probability density is calculated:

[0088]

[0089] The probability density of dynamic data r is h(r), the exponential function with natural base e as the base is exp(·), and the abnormal threshold is given. When the probability density is less than the abnormal threshold, the dynamic data is problematic data.

[0090] In this embodiment, the method for constructing a dynamic monitoring model according to the problem data includes:

[0091] The main framework of the dynamic monitoring model is constructed using support vector machine algorithm, neural network algorithm and random forest algorithm. The random forest algorithm classifies and predicts the data to be monitored by constructing multiple decision trees and obtaining the average value of the output;

[0092] The support vector machine algorithm divides the problem data into a training set and a test set, uses the training set to train the dynamic monitoring model, uses the test set to test the model, and uses the tested dynamic model to classify and predict the data to be monitored;

[0093] The neural network algorithm learns the problem data by adjusting the number of neural network layers, the number of neurons and the activation function, and uses the learned neural network algorithm to analyze the monitoring data;

[0094] Given the loss function of the dynamic monitoring model:

[0095]

[0096] The predicted value of the monitored data u is k(u), the actual value of the monitored data u is g(u), and the loss function is The minimum deviation constant is ρ, and the objective function is constructed:

[0097]

[0098] The objective function of the problem data r is Ξ(r), the feature is c, the number of features is b, and the problem data of the cth feature is r c , the weight of feature c is λ c , the standard value of the cth feature is e c ;

[0099] Dynamically monitor the port terminal standard information based on the objective function.

[0100] In this embodiment, the method for optimizing the dynamic monitoring model includes:

[0101] Initialize the population and divide it into explorers and followers. Decide whether to follow the explorer based on the change in fitness value. The rule expression for updating the explorer position is:

[0102]

[0103] The number of iterations is t, and the maximum number of iterations is t max , the relationship parameter is δ, and the position information of the i-th population individual in the j dimension at the t-th iteration is The normally distributed random number is H, the all-1 matrix is ​​Y, and the safety threshold is V T , the warning value of the individual position of the population is E S , the exponential function with the natural constant e as the base is exp(·), and the position information of the i-th individual in the j-dimension in the t+1th iteration is Update the position of the follower, the expression is:

[0104]

[0105] The worst position of the t-th iteration exploration sub-global is The optimal position of the explorer in the t+1th iteration is The population size is m, and the matrix whose element absolute value is less than or equal to 1 is B. 13% of the individuals in the population are randomly selected as observers, and the position of the population is updated. The expression is:

[0106]

[0107] The optimal individual position of the population in the tth iteration is The random parameter is p, and the fitness value of sparrow individual i is g i , the global optimal fitness value is r g , the global worst fitness function value is r w , the constant is ρ, and the iteration stops when the fitness value reaches the minimum.

[0108] Secondly, the port terminal material dispatch abnormal information dynamic monitoring system includes:

[0109] Data acquisition module: used to acquire standard information and dynamic data of port terminals and pre-process the dynamic data;

[0110] Data processing module: used to extract standard information features from the dynamic data, use a discriminant model to identify anomalies from the standard information, and obtain problem data;

[0111] Model building module: used for building a dynamic monitoring model and optimizing the dynamic monitoring model;

[0112] Monitoring module: inputs the data to be detected into the optimized dynamic monitoring model and outputs the monitoring results.

[0113] Figure 2This is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. Figure 2 At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. Of course, the electronic device may also include hardware required for other services.

[0114] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 2 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0115] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor.

[0116] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a dynamic monitoring device for abnormal information of material scheduling of a port terminal at the logical level. The processor executes the program stored in the memory and is specifically used to execute any of the above-mentioned methods for dynamic monitoring of abnormal information of material scheduling of a port terminal.

[0117] The above application Figure 1The method for dynamic monitoring of abnormal information of material scheduling at a port terminal disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied as being executed by a hardware decoding processor, or may be executed by a combination of hardware and software modules in a decoding processor. The software module can be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0118] The electronic device may also perform Figure 1 Dynamic monitoring method for abnormal information of material scheduling in port terminals and realize Figure 1 The functions of the illustrated embodiment will not be described in detail in the embodiments of the present application.

[0119] An embodiment of the present application also proposes a computer-readable storage medium, which stores one or more programs, and the one or more programs include instructions. When the instructions are executed by an electronic device including multiple application programs, the instructions execute the aforementioned method for dynamically monitoring abnormal information on material scheduling at any port terminal.

[0120] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0121] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0122] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0123] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0124] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0125] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0126] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0127] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0128] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0129] 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 spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for dynamically monitoring abnormal information of material dispatching at a port terminal, characterized in that: The following steps are involved: Acquire standard information and dynamic data of the port terminal, and pre-process the dynamic data; Extracting standard information features from the dynamic data, using a discriminant model to identify anomalies in the standard information, and obtaining problem data; According to the constructed dynamic monitoring model, optimizing the dynamic monitoring model; The data to be detected is input into the optimized dynamic monitoring model, and the monitoring results are output.

2. The method for dynamic monitoring of abnormal information of port terminal material scheduling according to claim 1 is characterized in that: The preprocessing method includes removing duplicate data, deleting missing values ​​and abnormal values, data conversion and data reduction.

3. The method for dynamic monitoring of abnormal information of port terminal material scheduling according to claim 1 is characterized in that: The method for extracting standard information features from the dynamic data comprises: Initialize dynamic data and set the number of decision trees for constructing random forests; A generative adversarial network is used to perform data enhancement on a dynamic network to obtain a first data set, and a non-local mean filtering algorithm is used to fit outliers on the first data set to obtain a second data set; The bagging algorithm is used to sample the second data set to form a training data set. A decision tree is constructed based on the training data set, and the accuracy of the decision tree is calculated: The number of training data sets is H, and the number of samples whose classification of the i-th decision tree is the same as the true classification is m. i,u , the classification is the same as the true classification is u, and the number of classifications that are the same as the true classification is q; Sort the decision trees in descending order of accuracy, remove the last two decision trees one by one, calculate the modified classification accuracy, and if the accuracy decreases, no longer remove the decision tree; Calculate the weights of the decision tree: The weight of the i-th decision tree is τ i , the number of data sets whose classification of the training data set by the i-th decision tree is the same as that of the random forest decision tree is m i,k , the adjustment coefficient is υ, the number of identical classifications is a, and the importance measure of the features in the decision tree is calculated: The importance measure of the d-th feature in the i-th decision tree is v i,d , the average classification accuracy of adding Gaussian noise to the dth feature in the data set is γ c,d , the number of features with added Gaussian noise is e, and the importance measure of the feature is calculated: The number of decision trees is b, and the importance measure of the dth feature is W d , use the backward search method to remove the features with lower importance one by one, and output the remaining features as standard information features.

4. The method for dynamic monitoring of abnormal information of port terminal material scheduling according to claim 1 is characterized in that: The method of using a discriminant model to identify anomalies of the standard information features includes: Calculate the standard deviation of a feature: The standard deviation of the cth feature is The dynamic data of the mth cth feature is The number of dynamic data is q, and the probability density is calculated: The probability density of dynamic data r is h(r), the exponential function with natural base e as the base is exp(·), and the abnormal threshold is given. When the probability density is less than the abnormal threshold, the dynamic data is problematic data.

5. The method for dynamic monitoring of abnormal information of port terminal material scheduling according to claim 1 is characterized in that: The method for constructing a dynamic monitoring model according to the problem data includes: The main framework of the dynamic monitoring model is constructed using support vector machine algorithm, neural network algorithm and random forest algorithm. The random forest algorithm classifies and predicts the data to be monitored by constructing multiple decision trees and obtaining the average value of the output; The support vector machine algorithm divides the problem data into a training set and a test set, uses the training set to train the dynamic monitoring model, uses the test set to test the model, and uses the tested dynamic model to classify and predict the data to be monitored; The neural network algorithm learns the problem data by adjusting the number of neural network layers, the number of neurons and the activation function, and uses the learned neural network algorithm to analyze the monitoring data; Given the loss function of the dynamic monitoring model: The predicted value of the monitored data u is k(u), the actual value of the monitored data u is g(u), and the loss function is The minimum deviation constant is ρ, and the objective function is constructed: The objective function of the problem data r is Ξ(r), the feature is c, the number of features is b, and the problem data of the cth feature is r c , the weight of feature c is λ c , the standard value of the cth feature is e c Dynamically monitor the port terminal standard information based on the objective function.

6. The method for dynamic monitoring of abnormal information of port terminal material scheduling according to claim 1 is characterized in that: The method for optimizing the dynamic monitoring model comprises: Initialize the population and divide it into explorers and followers. Decide whether to follow the explorer based on the change in fitness value. The rule expression for updating the explorer position is: The number of iterations is t, and the maximum number of iterations is t max , the relationship parameter is δ, and the position information of the i-th individual in the j-dimension in the t-th iteration is The normally distributed random number is H, the all-1 matrix is ​​Y, and the safety threshold is V T , the warning value of the individual position of the population is E S , the exponential function with the natural constant e as the base is exp(·), and the position information of the i-th individual in the j-dimension in the t+1th iteration is Update the position of the follower, the expression is: The worst position of the t-th iteration exploration sub-global is The best position of the explorer in the t+1th iteration is The population size is m, and the matrix whose element absolute value is less than or equal to 1 is B. 13% of the individuals in the population are randomly selected as observers, and the position of the population is updated. The expression is: The optimal individual position of the population in the tth iteration is The random parameter is p, and the fitness value of sparrow individual i is g i , the global optimal fitness value is r g , the global worst fitness function value is r w , the constant is ρ, and the iteration stops when the fitness value reaches the minimum.

7. Dynamic monitoring system for abnormal information of material dispatching at port terminals, characterized by: include: Data acquisition module: used to acquire standard information and dynamic data of port terminals and pre-process the dynamic data; Data processing module: used to extract standard information features from the dynamic data, use a discriminant model to identify anomalies from the standard information, and obtain problem data; Model building module: used for building a dynamic monitoring model and optimizing the dynamic monitoring model; Monitoring module: inputs the data to be detected into the optimized dynamic monitoring model and outputs the monitoring results.

8. An electronic device comprising: processor; and a memory arranged to store computer executable instructions, which, when executed, cause the processor to perform the method of any one of claims 1 to 6.

9. A computer-readable storage medium storing one or more programs, which, when executed by an electronic device including a plurality of application programs, causes the electronic device to execute any one of the methods of claims 1 to 6.

Citation Information

Patent Citations

  • System and method for cascading decision trees for explainable reinforcement learning

    CA3128664A1

  • Predicting future occurences of targeted events using trained artificial-intelligence processes

    CA3150209A1

  • Pathology identification method for routine scan CT image of liver based on random forests

    CN105931224A

  • Abnormal data monitoring and analysis method based on data mining and neural network

    CN117421684A